/* On /contact-us/ the page template renders its own #contact-us-container.
   The popup modal (footer) creates a second one with the same ID.
   The rule .page-template-ContactUs #contact-us-container { display:block !important }
   makes BOTH visible (position:fixed, full-viewport). The second overlaps the first,
   so hide it with the general-sibling combinator. */
.page-template-ContactUs #contact-us-container ~ #contact-us-container {
  display: none !important;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 700px;
}

.slides-container {
  display: flex;
  transition: transform 0.36s ease-in-out;
  width: 100%;
}

.slide {
  flex: 0 0 100%;
  padding: 20px;
  box-sizing: border-box;
}

.slider-btn {
  position: absolute;
  background: none;
  color: white;
  background: #ffffff2e;
  font-weight: 600;
  font-size: 18px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s;
  border-radius: 50%;
  width: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 30px;
}

.slider-btn:hover {
  color: #0432C9;
  background: white;
}

.slider-btn.left {
  left: 35px;
}

.slider-btn.right {
  left: 655px;
}

@media screen and (max-width: 1370px) {
  .testimonial-slider {
    max-width: 610px;
    margin: 0 auto;
  }

  .slider-btn.left {
    left: 5px;
  }

  .slider-btn.right {
    left: calc(100% - 36px);
  }

  #contact-us-right-column-contacts {
    margin: 0px auto;
  }
}
