.slider-container {
  position: relative;
  display: inline-block;
  width: 100%;
  margin-top: 0px;
  height: auto;
  z-index: 5;
}
.slider-container .slick-dots {
  z-index: 9999;
}

.slider {
  width: 100%;
  height: auto;
  overflow: hidden;
}
.slider .item {
  position: relative;
  display: inline-block;
  width: 100%;
  max-height: 900px;
  overflow: hidden;
  z-index: 6;
}
.slider .item img {
  width: 100%;
}
.slider .item .caption {
  position: absolute;
  left: 0;
  right: 0;
  top: 20%;
  opacity: 0;
  text-align: right;
  z-index: 999;
  color: #fff;
  transition: all 2s ease-in-out;
  -webkit-transition: all 2s ease-in-out;
  -moz-transition: all 2s ease-in-out;
  -ms-transition: all 2s ease-in-out;
  -o-transition: all 2s ease-in-out;
}
.slider .item .caption h1 {
  width: auto !important;
  font-family: "Pacifico";
  font-size: 65px;
  font-weight: 100;
  color: #232422;
  display: inline-block;
  margin-bottom: 20px;
  line-height: 60px;
}
.slider .item .caption h1 span, .slider .item .caption h1 strong {
  color: #e21784;
}
.slider .item .caption p {
  font-family: "Source Sans Pro";
  font-size: 17px;
  margin-top: 20px;
  color: #232422;
}
.slider .item .caption .button {
  margin-top: 20px;
}
.slider .item .visible {
  opacity: 1;
}

.overlay-boxes {
  position: absolute;
  width: 100%;
  z-index: 999;
  bottom: -120px;
}
.overlay-boxes .box {
  margin-bottom: 10px;
}

.cta-section {
  margin-top: 250px;
}

@media all and (max-width: 1500px) {
  .caption {
    top: 10% !important;
  }

  .overlay-boxes {
    bottom: -200px;
  }

  .cta-section {
    margin-top: 300px;
  }
}
@media all and (max-width: 1200px) {
  .overlay-boxes {
    bottom: -250px;
  }

  .cta-section {
    margin-top: 380px;
  }
}
@media all and (max-width: 991px) {
  .slider .slick-prev, .slider .slick-next {
    display: none !important;
  }

  .caption {
    position: relative !important;
    padding: 30px 20px;
    text-align: center !important;
    background: #efefef;
  }
  .caption h1 {
    font-size: 40px !important;
    padding: 0px !important;
  }

  .overlay-boxes {
    position: relative;
    padding-top: 20px;
    padding-bottom: 20px;
    bottom: 0px;
  }
  .overlay-boxes .white-box {
    background-color: #efefef;
  }
}
@media all and (max-width: 768px) {
  .overlay-boxes .box {
    background-image: none;
  }
  .overlay-boxes .box .button {
    margin-top: 20px;
  }
}
@media all and (max-width: 600px) {
  .caption h1 {
    font-size: 25px !important;
  }
  .caption p {
    font-size: 15px !important;
  }
  .caption .button {
    width: 100%;
  }
}
