.home-slider {
  width: 100%;
  height: 850px;
  position: relative;
  z-index: 1;
  background: #000;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(rgba(14, 29, 51, 0.6)),
    to(rgba(14, 29, 51, 0.2))
  );
  background: linear-gradient(
    to bottom,
    rgba(14, 29, 51, 0.4),
    rgba(14, 29, 51, 0.2)
  );
}

.hero-slider {
  width: 100%;
  height: 850px;
  overflow: hidden;
}
.hero-slider .carousel-cell {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.hero-slider .carousel-cell .slider-caption {
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  color: white;
  text-align: left;
}
.hero-slider .carousel-cell .slider-caption .subtitle {
  font-size: 1rem;
  line-height: 1.2em;
  font-weight: 500;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 5px;
}
.hero-slider .carousel-cell .slider-caption .title {
  font-size: 2.8rem;
  line-height: 1.2em;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 40px;
  color: #fff;
}
.hero-slider .carousel-cell .slider-caption .btn {
  border: 1px solid #fff;
  padding: 10px 25px;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 3px;
  color: #fff;
  text-decoration: none;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  border-radius: 0;
}
.hero-slider .carousel-cell .slider-caption .btn:hover {
  background: #fff;
  color: #000;
}
.hero-slider .flickity-prev-next-button {
  width: 80px;
  height: 80px;
  background: transparent;
}
.hero-slider .flickity-prev-next-button:hover {
  background: transparent;
}
.hero-slider .flickity-prev-next-button .arrow {
  fill: white;
}
.hero-slider .flickity-page-dots {
  bottom: 30px;
}
.hero-slider .flickity-page-dots .dot {
  width: 30px;
  height: 4px;
  opacity: 1;
  background: rgba(255, 255, 255, 0.5);
  border: 0 solid white;
  border-radius: 0;
}
.hero-slider .flickity-page-dots .dot.is-selected {
  background: #eb562e;
  border: 0 solid #eb562e;
}

@media (max-width: 1300px) {
  .hero-slider .carousel-cell .slider-caption {
    padding-left: 5%;
  }
}

@media (max-width: 1200px) {
  .hero-slider .carousel-cell .slider-caption {
    padding-left: 10%;
    padding-right: 10%;
  }
}

@media (max-width: 992px) {
  .home-slider,
  .hero-slider,
  .home-header {
    height: 768px;
  }
}

@media (max-width: 768px) {
  .hero-slider .flickity-prev-next-button {
    display: none;
  }

  .hero-slider .carousel-cell .slider-caption {
    padding-left: 5%;
    padding-right: 5%;
  }

  .hero-slider .carousel-cell .slider-caption .title {
    font-size: 2.5rem;
  }

  .home-slider,
  .hero-slider,
  .home-header {
    height: 700px;
  }
}

@media (max-width: 576px) {
  .hero-slider .carousel-cell .slider-caption {
    padding-left: 4%;
    padding-right: 4%;
  }

  .hero-slider .carousel-cell .slider-caption .title {
    font-size: 2rem;
  }
}
