.carousel .carousel-caption {
  color: #fff;
  padding: 20px;
  width: max-content;
  text-align: left;
  opacity: 0.8;
}
.carousel .carousel-caption h1.caption-heading {
  text-align: left;
  margin-top: 0px;
}
.carousel .carousel-caption .carousel-text {
  text-align: left;
  margin-bottom: 5px;
  text-overflow: ellipsis;
  max-height: 120px;
  overflow: hidden;
  white-space: inherit;
}
.carousel .carousel-caption .caption-button {
  align-content: center;
  border: 1px solid #f2f2f2;
  border-radius: 0;
  bottom: 0;
  letter-spacing: 2px;
  padding-bottom: 5px;
  padding-top: 5px;
  color: #0c5ba5;
  font-size: 12px;
  font-weight: 300;
  font-style: normal;
  text-transform: uppercase;
  text-decoration: none;
}
.carousel .carousel-caption .caption-button div {
  color: #fff;
}
.carousel .caption-left {
  position: absolute;
  left: 4%;
  top: 50%;
  transform: translateY(-50%);
  height: max-content;
}
.carousel .caption-right {
  position: absolute;
  left: 96%;
  top: 50%;
  transform: translate(-100%, -50%);
  height: max-content;
}
.carousel .caption-center {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: max-content;
  text-align: center;
}
.carousel .caption-center .caption-heading,
.carousel .caption-center .carousel-text {
  text-align: center!important;
}
.carousel .caption-center.width30 {
  left: 35%;
}
.carousel .caption-center.width40 {
  left: 30%;
}
.carousel .width40 {
  width: 40%;
}
.carousel .width30 {
  width: 30%;
}
.carousel.fadeAnimate .carousel-indicators {
  opacity: 0;
  animation-duration: 3s;
}
.carousel.fadeAnimate .item {
  transition-property: opacity;
  transition-duration: 1s;
  overflow: hidden;
}
.carousel.fadeAnimate .item .caption-heading {
  animation-duration: 3s;
  opacity: 0 !important;
  word-break: break-word;
}
.carousel.fadeAnimate .item .carousel-text {
  animation-duration: 2.7s;
  opacity: 0 !important;
  word-break: break-word;
}
.carousel.fadeAnimate .item .caption-button {
  animation-duration: 3s;
  opacity: 0 !important;
}
.carousel.fadeAnimate .item.active.done .caption-heading,
.carousel.fadeAnimate .item.active.done .carousel-text,
.carousel.fadeAnimate .item.active.done .caption-button {
  opacity: 1 !important;
}
@media (min-width: 768px) {
  .carousel.fadeAnimate .item > img {
    transition: all 2s;
  }
  .carousel.fadeAnimate .item:nth-child(3n+1) > img {
    transform: scale(1.2) translateX(85px);
  }
  .carousel.fadeAnimate .item:nth-child(3n+2) > img {
    transform: scale(1.2) translateY(85px);
  }
  .carousel.fadeAnimate .item:nth-child(3n) > img {
    transform: scale(1.2) translateY(-85px);
  }
  .carousel.fadeAnimate .item.active.done > img {
    transform: scale(1) translateX(0) translateY(0);
  }
}
@media (max-width: 1199px) and (min-width: 768px) {
  .carousel.fadeAnimate .item:nth-child(3n+1) > img {
    transform: scale(1.2) translateX(30px);
  }
  .carousel.fadeAnimate .item:nth-child(3n+2) > img {
    transform: scale(1.2) translateY(30px);
  }
  .carousel.fadeAnimate .item:nth-child(3n) > img {
    transform: scale(1.2) translateY(-30px);
  }
}
@media (max-width: 767px) {
  .carousel.fadeAnimate .item .carousel-caption {
    padding-bottom: 80px;
  }
  .carousel.fadeAnimate .item > img {
    min-height: 400px;
    object-fit: cover;
  }
}
.carousel.fadeAnimate .item,
.carousel.fadeAnimate .active.left,
.carousel.fadeAnimate .active.right {
  opacity: 0;
}
.carousel.fadeAnimate .active,
.carousel.fadeAnimate .next.left,
.carousel.fadeAnimate .prev.right {
  opacity: 1;
}
.carousel.fadeAnimate .next,
.carousel.fadeAnimate .prev,
.carousel.fadeAnimate .active.left,
.carousel.fadeAnimate .active.right {
  left: 0;
  transform: translate3d(0, 0, 0);
}
.carousel-indicators {
  bottom: 0;
  left: auto;
  margin-bottom: 0;
  right: 0;
  width: auto;
}
.carousel-indicators li,
.carousel-indicators li.active {
  height: 40px;
  width: 40px;
}
.carousel-indicators li {
  background-color: transparent;
  border-radius: 0;
  border: none;
  line-height: 40px;
  margin: 0;
  text-align: center;
  text-indent: 0;
}
.carousel-indicators.no-show {
  display: none;
}
.carousel-indicators .leftcorner {
  position: absolute;
  left: -40px;
  background: transparent;
  bottom: 0;
  color: white;
  display: inline-block;
  height: 40px;
  line-height: 40px;
  margin-bottom: 0;
  text-align: center;
  text-indent: 0;
  vertical-align: bottom;
  width: 40px;
}
.carousel-indicators .rightcorner {
  background: transparent;
  bottom: 0;
  color: white;
  display: inline-block;
  height: 40px;
  line-height: 40px;
  margin-bottom: 0;
  text-align: center;
  text-indent: 0;
  vertical-align: bottom;
  width: 40px;
}
.carousel-indicators.title-row {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: stretch;
  justify-content: stretch;
  padding: 0 140px;
  border-top: 1px solid white;
}
@media (max-width: 991px) and (min-width: 768px) {
  .carousel-indicators.title-row {
    padding: 0 40px;
  }
}
@media (max-width: 767px) {
  .carousel-indicators.title-row {
    padding: 0 15px;
  }
}
.carousel-indicators.title-row li {
  min-height: 60px;
  width: 100%;
  display: block;
  padding-top: 10px;
  color: white;
  transition: all .3s;
  border-right: 1px solid white;
  word-break: break-word;
  overflow: hidden;
}
.carousel-indicators.title-row li:first-child {
  border-left: 1px solid white;
}
.carousel-indicators.title-row li.active {
  color: #35AEE5;
  background-color: transparent;
}
.carousel-indicators.title-row li .indicator-titles {
  display: inline-block;
}
@media (max-width: 767px) {
  .carousel-indicators.title-row li .indicator-titles {
    display: none;
  }
}
.carousel-indicators.title-row li .indicator-titles p {
  display: inline-block;
}
.carousel-control {
  opacity: 1;
  background: none !important;
  z-index: 99;
  width: 40px;
  top: 50%;
  transform: translate(0, -50%);
}
.carousel-control:focus,
.carousel-control:hover {
  opacity: 1;
}
@media screen and (min-width: 768px) {
  .carousel-control .glyphicon-chevron-left,
  .carousel-control .icon-prev {
    margin-left: -52px;
  }
  .carousel-control .glyphicon-chevron-right,
  .carousel-control .icon-next {
    margin-right: -52px;
  }
  .carousel-indicators {
    bottom: 20px;
  }
}
@media screen and (min-width: 1024px) {
  .carousel-control .glyphicon-chevron-left,
  .carousel-control .icon-prev {
    margin-left: -90px;
  }
  .carousel-control .glyphicon-chevron-right,
  .carousel-control .icon-next {
    margin-right: -90px;
  }
}
@media screen and (max-width: 768px) {
  .caption-left,
  .caption-right,
  .caption-center {
    position: initial !important;
    width: 100% !important;
    top: 0 !important;
    left: 0 !important;
    transform: translateY(0%) !important;
  }
  .carousel-control {
    opacity: 1;
  }
  .carousel-control .glyphicon-chevron-left,
  .carousel-control .icon-prev {
    margin-top: 10px;
    margin-left: -20px;
  }
  .carousel-control .glyphicon-chevron-right,
  .carousel-control .icon-next {
    margin-top: 10px;
    margin-right: -20px;
  }
}
@media (min-width: 480px) {
  .carousel-indicators {
    bottom: 0;
  }
}
