/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */


/* Carousel base class */

.carousel {
  height: 240px;
  margin-bottom: 15px;
}
.carousel .item {
  height: 240px;
  background-color: #777;
  border-radius: 10px;
  border-radius: 10px;
  overflow: hidden;
}
.carousel-caption {
  color: #fff;
  bottom: 0;
  font-size: 12px;
  left: 0;
  padding: 10px 10px 22px;
  right: 0;
}
.carousel-caption-inner {
  height: 79px;
  overflow: hidden;
}
.carousel-caption h1 {
  font-size: 16px;
  margin-top: 0;
}
.carousel-caption h1,
.carousel-caption p {
  margin: 0 0 5px;
}
.carousel-caption a {
  color: white;
}
.carousel-caption .overlay {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: #111;
  opacity: 0.8;
  z-index: -1;
  border-radius: 0 0 10px 10px;
}
.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  margin: auto;
  width: 100%;
  height: auto;
}
.carousel-control {
  bottom: 105px;
  width: 8%;
}
.carousel-control.right {
  border-top-right-radius: 10px;
}
.carousel-control.left {
  border-top-left-radius: 10px;
}
.carousel-indicators {
  bottom: -14px;
}

.carousel-indicators li,
.carousel-indicators li.active {
  border-color: #eee;
  border-radius: 10px;
  border-width: 2px;
  margin: 0 3px;
  height: 10px;
  text-indent: -99999px;
  width: 10px;
}
.carousel-indicators li:hover {
  background-color: #ccc;
}
.carousel-indicators li.active {
  background-color: #eee;
}

@media (min-width:500px) {
  .carousel {
    height: 300px;
  }
  .carousel .item {
    height: 300px;
  }
  .carousel .item img {
    bottom: 0;
  }
  .carousel-caption {
    padding: 10px 15px 25px;
    text-align: left;
  }
  .carousel-caption .overlay {
    opacity: 0.7;
  }
  .carousel-caption-inner {
    height: 70px;
  }
  .carousel-caption .carousel-content {
    padding-right: 130px;
  }
  .carousel-caption .carousel-more-info {
    height: 100%;
    position: absolute;
    right: 15px;
    text-align: right;
    top: 0;
    width: 120px;
    z-index: 1000;
  }
  .carousel-caption .carousel-more-info a {
    display: block;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
  }
  .carousel-control {
    bottom: 90px;
  }

  .carousel .visible-xs {
    display: none !important;
  }

  .carousel .visible-sm {
    display: block !important;
  }

  .carousel-indicators li,
  .carousel-indicators li.active {
    border-radius: 11px;
    height: 11px;
    margin: 4px;
    width: 11px;
  }
}

@media (min-width:670px) {
  .carousel {
    height: 340px;
  }
  .carousel .item {
    height: 340px;
  }
  .carousel-caption h1 {
    font-size: 18px;
  }
  .carousel-caption-inner {
    height: 55px;
  }
  .carousel-control {
    bottom: 75px;
  }
}

@media (min-width:992px) {
  .carousel {
    height: 380px;
    margin-bottom: 0;
  }
  .carousel .item {
    height: 380px;
  }
}
