.shly-testimonials-slider {
  position: relative;
}


.shly-testimonials .shly-testimonials-slider .slick-arrow {
  position: absolute;
  top: auto;
  bottom: -60px;
  height: 45px;
  width: 45px;
  font-size: 0;
  border: 0;
  background-color: #444;
  transition: 0.7s;
  border-radius: 10px;
}

.shly-testimonials .testimonials {
  position: relative;
}

.shly-testimonials {
  position: relative;
  background-repeat: repeat;
  background-size: contain;
  background-color: #676767;
}

.shly-testimonials::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2), rgba(39, 81, 157, 0.8)); */

}

.shly-testimonials .shly-testimonials-slider .slick-arrow:hover {
  opacity: 0.6;
}

.shly-testimonials .shly-testimonials-slider .slick-arrow:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 45px;
  height: 45px;
  transition: 0.7s;
  cursor: pointer;
}

.shly-testimonials .shly-testimonials-slider .slick-arrow.testimonial-slider-left:after {
  font-family: "Font Awesome 6 Pro";
  content: "\f060";
  color: #ffffff;
  font-size: 20px;
  bottom: 0;
  line-height: 45px;
}



.shly-testimonials .slick-slide {
  transition: 0.7s;
  margin-top: 60px;
}

.shly-testimonials .slick-center {
  margin-top: 0;
}

.shly-testimonials .shly-testimonials-slider .slick-arrow.testimonial-slider-right:after {
  font-family: "Font Awesome 6 Pro";
  content: "\f061";
  color: #ffffff;
  font-size: 20px;
  bottom: 0;
  line-height: 45px;
}

.shly-testimonials .shly-testimonials-slider .slick-arrow.testimonial-slider-left {
  left: 28% !important;
}

.shly-testimonials .shly-testimonials-slider .slick-arrow.testimonial-slider-right {
  left: 60% !important;
}

.shly-testimonials .shly-testimonials-slider .testimonials-item-holder {
  position: relative;
}

.img-content {
  max-width: 80px;
  display: inline-block;
}

.shly-testimonials .shly-testimonials-slider .testimonials-item {
  border: 4px solid #444;
  color: #0000;
  background-color: #fff;
  padding: 20px;
  border-radius: 20px;
}

.shly-testimonials .shly-testimonials-slider .testimonials-item .rating {
  display: block;
}

.shly-testimonials .shly-testimonials-slider .testimonials-item h4 {
  font-size: 18px;
  display: inline-block;
  line-height: 28px;
}

.shly-testimonials .shly-testimonials-slider .testimonials-item .quote-icon {
  max-width: 52px;
  padding: 8px;
  max-height: 52px;
  border: 3px solid #fff;
  background-color: #444;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -40px !important;
  border-radius: 8px;
}

.shly-testimonials .shly-testimonials-slider .testimonials-item .quote-icon i {
  font-size: 36px;
  vertical-align: middle;
  color: #fff;
}

@media (min-width: 768px) {
  .shly-testimonials .shly-testimonials-slider .slick-arrow.testimonial-slider-right {
    left: 54% !important;
  }

  .shly-testimonials .shly-testimonials-slider .slick-arrow.testimonial-slider-left {
    left: 40% !important;
  }

  .shly-testimonials .shly-testimonials-slider .testimonials-item-holder {
    padding: 0 8px;
    margin: 20px 0px;
  }

  .shly-testimonials .shly-testimonials-slider .testimonials-item .quote-icon {
    bottom: -7%;
  }
}

@media (min-width: 992px) {

  .shly-testimonials .shly-testimonials-slider .slick-arrow.testimonial-slider-left {
    left: 40%
  }

  .shly-testimonials .shly-testimonials-slider .slick-arrow.testimonial-slider-right {
    left: 56%;
  }

  .shly-testimonials .shly-testimonials-slider .testimonials-item .quote-icon {
    bottom: -9%;
  }

}

@media (min-width: 1200px) {
  .shly-testimonials .shly-testimonials-slider .testimonials-item .rating {
    float: right;
  }

  .shly-testimonials .shly-testimonials-slider .testimonials-item-holder {
    padding: 0 20px;
    margin: 40px 0px;
  }

  .shly-testimonials .shly-testimonials-slider .testimonials-item {
    padding: 40px;
  }

  .shly-testimonials .shly-testimonials-slider .testimonials-item .quote-icon {
    bottom: -16%;
  }

  .shly-testimonials .shly-testimonials-slider .slick-arrow.testimonial-slider-left {
    left: 44%
  }

  .shly-testimonials .shly-testimonials-slider .slick-arrow.testimonial-slider-right {
    left: 52%;

  }
}


@media (min-width: 1600px) {
  .shly-testimonials .shly-testimonials-slider .slick-arrow.testimonial-slider-left {
    left: 47%
  }

  .shly-testimonials .shly-testimonials-slider .slick-arrow.testimonial-slider-right {
    left: 51%;
  }
}


body > main > section.shly-testimonials.ptb-lg > div > div > div.shly-testimonials-slider.slick-initialized.slick-slider > button.slick-arrow {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
}

body > main > section.shly-testimonials.ptb-lg > div > div > div.shly-testimonials-slider.slick-initialized.slick-slider > button.slick-next.slick-arrow {
  transform: translateX(calc(-50% + 50px)) !important;
}

body > main > section.shly-testimonials.ptb-lg > div > div > div.shly-testimonials-slider.slick-initialized.slick-slider > button.slick-prev.slick-arrow {
  transform: translateX(calc(-50% - 50px)) !important;
}



/* === HARD OVERRIDE: Slick arrows using SVG === */

:root {
  --chevron-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='white' d='M342.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L274.7 256 105.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z'/%3E%3C/svg%3E");

  --chevron-left: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='white' d='M41.4 278.6c-12.5-12.5-12.5-32.8 0-45.3l192-192c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L109.3 256l169.3 169.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-192-192z'/%3E%3C/svg%3E");
}


/* === HARD OVERRIDE: Slick arrows using SVG === */

body > main > section.shly-testimonials.ptb-lg
div.shly-testimonials-slider
button.slick-arrow {
  position: absolute;
  bottom: -60px;
  left: 50% !important;
  right: auto !important;

  width: 45px;
  height: 45px;

  background-color: #444;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px auto;

  border: 0;
  padding: 0;
  font-size: 0;

  z-index: 50;
}



/* RIGHT */
body > main > section.shly-testimonials.ptb-lg
div.shly-testimonials-slider
button.slick-next {
  background-image: var(--chevron-right);
  transform: translateX(50px);
}

/* LEFT */
body > main > section.shly-testimonials.ptb-lg
div.shly-testimonials-slider
button.slick-prev {
  background-image: var(--chevron-left);
  transform: translateX(-50px);
}



.testimonials-item-holder, .testimonials-item {
    min-height: 400px;
}


/* Fix arrow height on mobile here */
@media (max-width: 767px) {
    body > main > section.shly-testimonials.ptb-lg
div.shly-testimonials-slider
button.slick-arrow { 
  bottom: -100px; 
}
.testimonials-item-holder, .testimonials-item {
    min-height: 470px !important;
    overflow: visible;
}
 body > main > section.shly-testimonials.ptb-lg .slick-list {
    overflow: visible !important;
  }

}

/* to fix the pop */
.shly-testimonials-slider.is-wrapping .slick-track {
  transition: none !important;
}
