/*
 * Z-index Quick Reference:
 * Remember, an element with a larger z-index generally covers an element with a lower one.
 * 10 = carousel caption
 */

/* Global styles for the entire document body */
body {

  /* Add some padding to the bottom of the document body. */
  padding-bottom: 40px;
  
  /* By default, the text color should be light gray. */
  color: #5a5a5a;

}

/* Header */
.header {

  /* Add some top and bottom padding. */
  padding-top: 10px;
  padding-bottom: 10px;
  
}

/* Carousel */
.carousel {

  /* Set an explicit height. */
  height: 500px;
  
}

/* Carousel caption */
.carousel-caption {

  /* Set the appropriate z-index. */
  z-index: 10;

}

/* Carousel item */
.carousel-inner > .item {

  /* Set an explicit height (same as outer element). This is needed for positioning the image. */
  height: 500px;
  
  /* The background should be a dark gray. */
  background-color: #777;
  
}

/* Carousel item image */
.carousel-inner > .item > img {

  /* Set an explicit height (same as outer element). */
  height: 500px;

  /* Place at the top, far left of the outer element. */
  position: absolute;
  top: 0;
  left: 0;
  
  /* Set width to fill the outer element including borders, margins, and padding. */
  width: 100%;

}

/* Rockhounder logo */
.rockhounder-logo {

  /* Set background color to brown. */
  background-color: #996533;
  
  /* Round the corners. */
  border-radius: 10px;
  
  /* Add padding in all directions. */
  padding: 10px;

}

/* Auction pictures */
.auction-img {

  /* Add padding in all directions. */
  padding: 10px;

}

/*
 * If the viewport is 768 pixels or wider, make the following modifications. This is the boundary width for Bootstrap
 * "xs" (i.e. phones).
 */
@media (min-width: 768px) {

  /* Carousel caption paragraph */
  .carousel-caption > p {
  
    /* The viewport is wide enough to increase the bottom margin. */
    margin-bottom: 20px;
    
    /* The viewport is wide enough to increase the font size and decrease the line height. */
    font-size: 21px;
    line-height: 1.4;

  }

}
