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

/* Carousel base class */
.carousel {
  margin-bottom: 0px;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
}

.carousel-indicators {
   left: 70px;
   bottom: 10px;
}
.carousel-control {
   z-index: -1;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  height: 37vw;
  background-color: #c6c6c6;
}
.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
}

.carousel .item .carousel-caption {
  background: none;
  width:380px;
  right:50px;
  left:auto;
  top:140px;
}

.carousel .item .carousel-caption p {
  font-family: 'Nella Sue Reg';
  font-weight: bold;
  font-size: 30px;
  text-shadow: 1px 2px 10px #000;
  text-align: left;
}

.carousel .glyphicon-chevron-left,
.carousel .glyphicon-chevron-right {
   display: none;
}

@media (max-width: 765px) {
   .carousel .item {
      height:calc(60vw);
      width: calc(60vw * 2.67861);
      margin-left: calc( -60vw / 2);
   }
}

@media (max-width: 991px) {
   .carousel-indicators {display: none;}
   .carousel-control {z-index: 2;}
   .carousel .glyphicon-chevron-left,
   .carousel .glyphicon-chevron-right {
      display: block;
   }
}



/*
  Bootstrap Carousel Fade Transition (for Bootstrap 3.3.x)
  CSS from:       http://codepen.io/transportedman/pen/NPWRGq
  and:            http://stackoverflow.com/questions/18548731/bootstrap-3-carousel-fading-to-new-slide-instead-of-sliding-to-new-slide
  Inspired from:  http://codepen.io/Rowno/pen/Afykb
*/
.carousel-fade .carousel-inner .item {
  opacity: 0;
  transition-property: opacity;
}

.carousel-fade .carousel-inner .active {
  opacity: 1;
}

.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  opacity: 0;
  z-index: 1;
}

.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}

/*.carousel-fade .carousel-control {
  z-index: 2;
}*/

/*
  WHAT IS NEW IN 3.3: "Added transforms to improve carousel performance in modern browsers."
  Need to override the 3.3 new styles for modern browsers & apply opacity
*/
@media all and (transform-3d), (-webkit-transform-3d) {
    .carousel-fade .carousel-inner > .item.next,
    .carousel-fade .carousel-inner > .item.active.right {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.prev,
    .carousel-fade .carousel-inner > .item.active.left {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.next.left,
    .carousel-fade .carousel-inner > .item.prev.right,
    .carousel-fade .carousel-inner > .item.active {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
}
