.banner-carousel {
  color: white;
  overflow: hidden;
  height: 540px;
}
@media (min-width:  992px ) and (max-width:  1199px ) {
  .banner-carousel {
    height: 370px;
  }
}
@media (min-width:  768px ) and (max-width:  991px ) {
  .banner-carousel {
    height: 405px;
  }
}
@media (max-width:  767px ) {
  .banner-carousel {
    height: 320px;
  }
}
.banner-carousel .carousel-items {
  margin-bottom: 0;
}
.banner-carousel .item {
  height: 540px;
}
.banner-carousel .item .inner {
  position: relative;
  width: 100%;
  height: 100%;
}
@media (min-width:  992px ) and (max-width:  1199px ) {
  .banner-carousel .item {
    height: 370px;
  }
}
@media (min-width:  768px ) and (max-width:  991px ) {
  .banner-carousel .item {
    height: 405px;
    max-height: 400px;
  }
}
@media (max-width:  767px ) {
  .banner-carousel .item {
    height: 340px;
  }
}
.banner-carousel .layer {
  background-position: right top;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute !important;
  top: 0;
  width: 100%;
  height: 100%;
}
@media (min-width:  768px ) and (max-width:  991px ) {
  .banner-carousel .layer {
    position: relative !important;
    height: 200px;
  }
}
@media (max-width:  767px ) {
  .banner-carousel .layer {
    position: relative !important;
    height: 140px;
  }
}
.banner-carousel .container {
  height: 100%;
  position: relative;
}
@media (min-width:  768px ) and (max-width:  991px ) {
  .banner-carousel .container {
    padding: 0;
    margin: 0;
    width: 100%;
  }
}
@media (max-width:  767px ) {
  .banner-carousel .container {
    height: auto;
    position: absolute;
    bottom: 4rem;
    width: 100%;
    padding: 0;
  }
}
.banner-carousel .caption {
  opacity: 0;
  position: absolute;
  left: 10px;
  bottom: 75px;
  z-index: 10;
  background-color: rgba(0, 93, 131, 0.75);
  min-height: 100px;
  width: 678px;
}
@media (min-width:  992px ) and (max-width:  1199px ) {
  .banner-carousel .caption {
    bottom: 10px;
  }
}
@media (min-width:  768px ) and (max-width:  991px ) {
  .banner-carousel .caption {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    background-color: #005d83;
    min-height: 200px;
  }
}
@media (max-width:  767px ) {
  .banner-carousel .caption {
    position: static;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #005d83;
    text-align: center;
  }
}
.banner-carousel .caption .inner {
  padding: 10px 22px;
}
@media (min-width:  768px ) and (max-width:  991px ) {
  .banner-carousel .caption .inner {
    width: 768px;
    margin: 0 auto;
  }
}
.banner-carousel .caption .title {
  color: white;
  font-size: 21px;
  text-shadow: 2px 2px 2px black;
}
@media (min-width:  768px ) and (max-width:  991px ) {
  .banner-carousel .caption .title {
    font-size: 25px;
    margin-top: 7px;
  }
}
@media (max-width:  767px ) {
  .banner-carousel .caption .title {
    font-size: 20px;
    margin-top: 7px;
  }
}
.banner-carousel .caption .title .alternate {
  display: block;
  font-size: 62px;
  line-height: 60px;
  font-family: "Covered By Your Grace", "Comic Sans MS", "Comic Sans", "Chalkboard", "ChalkboardSE-Regular", cursive;
}
@media (min-width:  992px ) and (max-width:  1199px ) {
  .banner-carousel .caption .title .alternate {
    font-size: 40px;
    line-height: 44px;
  }
}
@media (min-width:  768px ) and (max-width:  991px ) {
  .banner-carousel .caption .title .alternate {
    font-size: 55px;
    line-height: 55px;
  }
}
@media (max-width:  767px ) {
  .banner-carousel .caption .title .alternate {
    font-size: 35px;
    line-height: 35px;
  }
}
.banner-carousel .caption .btn-primary {
  background: rgba(0, 0, 0, 0.2);
  color: white !important;
  font-weight: 400;
  min-width: 160px;
}
.banner-carousel .caption .btn-primary:focus,
.banner-carousel .caption .btn-primary:hover {
  background: #005d83;
}
.banner-carousel .caption .bottom {
  display: table;
}
@media (max-width:  767px ) {
  .banner-carousel .caption .bottom {
    display: block;
  }
}
.banner-carousel .caption .bottom .message {
  display: table-cell;
  vertical-align: middle;
  padding-right: 20px;
  font-size: 20px;
  text-shadow: 2px 2px 2px black;
}
@media (min-width:  768px ) and (max-width:  991px ) {
  .banner-carousel .caption .bottom .message {
    font-size: 18px;
  }
}
@media (max-width:  767px ) {
  .banner-carousel .caption .bottom .message {
    display: block;
    font-size: 13px;
  }
}
.banner-carousel .caption .bottom .cta {
  position: relative;
  display: table-cell;
  vertical-align: middle;
  padding-left: 15px;
}
@media (max-width:  767px ) {
  .banner-carousel .caption .bottom .cta {
    display: block;
    padding: 0;
  }
}
.banner-carousel .caption .bottom .cta:before {
  content: '';
  display: block;
  height: 45px;
  border-left: 1px solid #8db3b8;
  position: absolute;
  left: 0;
}
@media (max-width:  767px ) {
  .banner-carousel .caption .bottom .cta:before {
    display: none;
  }
}
.banner-carousel img.lazy-img {
  display: none;
}
.banner-carousel .slick-dots {
  min-width: 320px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 10px;
  padding-right: 10px;
  position: absolute;
  bottom: 10px;
  text-align: right;
  z-index: 1;
}
@media (min-width:  1200px ) {
  .banner-carousel .slick-dots {
    width: 1160px;
  }
}
@media (min-width:  992px ) and (max-width:  1199px ) {
  .banner-carousel .slick-dots {
    width: 960px;
  }
}
@media (min-width:  768px ) and (max-width:  991px ) {
  .banner-carousel .slick-dots {
    width: 768px;
    bottom: 210px;
  }
}
@media (max-width:  767px ) {
  .banner-carousel .slick-dots {
    top: 8px;
    height: 0;
  }
}
.banner-carousel .slick-dots li {
  margin: 0 5px;
  padding: 2px;
}
.banner-carousel .slick-dots li.slick-active button {
  border: 3px solid #005db9;
}
.banner-carousel .slick-dots li button {
  background: white;
  color: #000;
  /* so WAVE doesn't complain about contrast */
  border: 2px solid white;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  -webkit-box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.4);
  box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.4);
}
.banner-carousel .slick-dots li button:before {
  display: none;
}
.banner-carousel .slick-dots li button:focus {
  outline: 2px dotted white !important;
}
.banner-carousel .slick-dots li.play-pause-container {
  position: relative;
  margin: 0 5px;
  cursor: pointer;
  border: none;
  background: none;
  top: 6px;
  font-size: 16px;
  text-shadow: 0px 0px 40px #000, 0px 0px 28px #000, 0px 0px 20px #000, 0px 0px 18px #000, 0px 0px 12px #000;
}
.banner-carousel .slick-dots li.play-pause-container a {
  text-decoration: none;
  padding: 3px;
  color: #fff;
}
.banner-carousel .slick-dots .slick-prev,
.banner-carousel .slick-dots .slick-next {
  display: none;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
.banner-carousel .fadeInUp {
  animation-name: fadeInUp;
  animation-duration: 0.8s;
  /* Adjust the duration as needed */
  animation-timing-function: ease-out;
  /* Smooth easing */
  animation-fill-mode: both;
  /* Ensure it keeps its final state after animation */
}
