/* Home-page image slideshow */
#rs-slider.home-slideshow .slideshow-container {
  position: relative;
  width: 100%;
  max-width: none;
  margin: auto;
  overflow: hidden;
  background: #0b3d7d;
}

#rs-slider.home-slideshow .mySlides {
  display: none;
  width: 100%;
}

#rs-slider.home-slideshow .mySlides:first-child {
  display: block;
}

#rs-slider.home-slideshow .mySlides img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

#rs-slider.home-slideshow .home-slideshow__dots {
  height: 0;
  overflow: hidden;
  text-align: center;
}

#rs-slider.home-slideshow .dot {
  display: none;
  width: 15px;
  height: 15px;
  margin: 0 2px;
  border-radius: 50%;
  background-color: #fff;
  transition: background-color .6s ease;
}

#rs-slider.home-slideshow .dot.active {
  background-color: #fff;
}

#rs-slider.home-slideshow .fade {
  animation-name: homeBannerFade;
  animation-duration: 1.5s;
}

#rs-slider.home-slideshow .fade:not(.show) {
  opacity: 1;
}

/* Keep the homepage service cards completely below the slideshow. */
#rs-slider.home-slideshow + .rs-services.rs-services-style1 {
  position: relative;
  z-index: 1;
  clear: both;
  width: 100%;
  margin-top: 0 !important;
  padding-top: 70px;
  background: #fff;
}

#rs-slider.home-slideshow + .rs-services.rs-services-style1 .row,
#rs-slider.home-slideshow + .rs-services.rs-services-style1 [class*="col-"] {
  margin-top: 0 !important;
  transform: none !important;
}

#rs-slider.home-slideshow + .rs-services.rs-services-style1 .services-item {
  margin-top: 0 !important;
}

@keyframes homeBannerFade {
  from {
    opacity: .4;
  }

  to {
    opacity: 1;
  }
}

@media only screen and (max-width: 767px) {
  #rs-slider.home-slideshow + .rs-services.rs-services-style1 {
    padding-top: 70px;
  }

  #rs-slider.home-slideshow .mySlides img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .testiItem02 .quotation {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #rs-slider.home-slideshow .fade {
    animation: none;
  }
}
