/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin:0;
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  top:28px; /*80(navbar)-52px(indicators)*/
  margin:0;
  padding:0;
  height:100%;
}

.carousel-caption img {
  max-width:1000px;
  width:100%;
  height:auto;
  text-align:center;
}

.carousel-caption p {
  font-size: 1.1rem;
  color:#f5f5f5;
  text-align: center;
  line-height: 1.1rem;
  text-shadow: 0 0 1px rgba(0,0,0,0.8); 
  }
  
.carousel-caption h1 {
  color: rgba(255, 255, 255, 0.8);
  font-size: 2rem;
  text-align: center;
  line-height: 2rem;
  text-shadow: 0 0 1px rgba(0,0,0,0.8); 
  }

/* Declare heights because of positioning of img element */
.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
}

.carousel-item {
  height: 300px;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  width: 100%; 
  padding-top: 42%; /* 21:9 ratio */
}

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (max-width: 768px) /* Navbar Collapse */ {
  .carousel-item {
    height:300px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    width: 100%;
    padding-top: 67%; /* 2:3 ratio */
  }
}