/* testimonial section design */
.testimonial_section {
  position: relative;
  padding: 100px 0 0 0;
  background: transparent linear-gradient(112deg, #fedfec 0%, #dcfcec 50%, #ddfefe 100%) 0% 0% no-repeat padding-box;
}

.testimonial_slider_wrapper .heading-40 {
  margin-bottom: 0;
  text-align: center;
  font-weight: 900;
}

.testimonial_slider_wrapper>p {
  text-align: center;
  margin-bottom: 23px;
}

.testimonial_card_wrapper {
  justify-content: center;
  align-items: center;
}

.client_box {
  position: relative;
  max-width: 450px;
  height: 314px;
  background: transparent linear-gradient(133deg, #dbe3ff 0%, #fff 70%) 0% 0% no-repeat padding-box;
  display: flex;
  padding: 35px;
  flex-direction: column;
  border-radius: 20px;
  box-shadow: 0px 0px 10px #d9dffac9;
}

.testimonials_left {
  position: relative;
  width: 598px;
  opacity: 1;
  text-align: center;
}

.testimonial_slider_wrapper {
  width: calc(100% - 705px);
  padding-left: 72px;
  margin: auto 0;
}

.client-content {
  background: #ffffff 0% 0% no-repeat padding-box;
  padding: 52px 85px;
  border-radius: 18px;
  border: 1px solid #efe8e8;
  text-align: left;
}

.client-content p a,
.client-content p a:hover {
  color: var(--theme-color);
  text-decoration: underline;
}

.client-content p {
  margin: 32px 0 24px 0;
  font-size: 16px;
  overflow: hidden;
  line-height: 24px;
  text-overflow: ellipsis;
  font-weight: normal;
}

.client-content .client-name,
.testipopup_div .client-name {
  position: relative;
  color: #292a2d;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-size: 16px;
  font-weight: 800;
}

.fancybox-content {
  border-radius: 10px !important;
}

.client-head {
  position: relative;
  font-size: 18px;
  font-weight: 800;
  line-height: 23px;
  padding-bottom: 6px;
}

.client-content .client-head:after {
  position: absolute;
  content: "";
  width: 22px;
  height: 3px;
  bottom: -10px;
  left: 0;
  background-color: #363636;
}

.testimonial-bottom-content {
  display: flex;
  justify-content: space-between;
}

.cl-quote {
  margin-bottom: 17px;
}

.customer_list {
  padding-bottom: 32px;
}

.customer_list .slick-dots li.slick-active button {
  background: var(--theme-color);
  width: 30px;
}

.customer_list .slick-dots li button {
  width: 10px;
  height: 7px;
  background: #fff;
  border: 1px solid #41bb88;
  border-radius: 100%;
  border-style: solid;
  outline-offset: 0px;
  padding: 2px;
  border-radius: 50px;
}

.customer_list .slick-dots li {
  margin: 0;
  width: auto;
  float: none;
  padding: 0 5px;
  display: inline-block !important;
}

.customer_list .slick-prev {
  left: -40px;
}

.customer_list .slick-next {
  right: -40px;
}

.testi-bg-square {
  position: absolute;
  left: 12%;
  bottom: 14%;
}

.testi-bg-round {
  position: absolute;
  left: 37%;
  top: 26%;
}

.customer_list .slick-dots li button:before {
  display: none;
}

.customer_list .slick-next,
.customer_list .slick-prev {
  width: 14px;
  height: 24px;
  background-color: transparent;
  border: 0;
  border-radius: 0;
}

ul.customer_list li:not(:nth-child(-n + 1)) {
  display: none;
}

ul.customer_list.slick-initialized {
  display: block;
}

ul.customer_list.slick-initialized .slick-track {
  display: flex;
}

/* testimonial page style  */
body.page-template-page-templatestestimonials-php ul.testi_pg_list {
  list-style-type: none;
}

body.page-template-page-templatestestimonials-php ul.testi_pg_list .client-content {
  padding: 40px;
}

body.page-template-page-templatestestimonials-php .key-feature-grid-list {
  margin: 0;
}

/* responsive area */
@media (max-width: 1400px) {
  .testimonial_slider_wrapper {
    padding-left: 40px;
  }

  .testi-bg-square {
    left: 0;
  }

  .customer_list .slick-prev {
    left: 5px;
  }

  .customer_list .slick-next {
    right: 5px;
  }
}

@media (max-width: 1199px) {
  .testimonial_slider_wrapper {
    width: calc(100% - 400px);
  }

  .testimonials_left {
    width: 400px;
  }

  .client-content {
    padding: 35px 65px;
  }

  .testi-bg-square {
    left: 100px;
  }

  .testi-bg-round {
    left: 34%;
    top: 15%;
  }
}

@media (max-width: 991px) {
  .testimonials_left {
    width: 40%;
  }

  .testimonial_slider_wrapper {
    width: 100%;
    padding-left: 0;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .testimonial_section {
    padding: 40px 0 0 0;
  }

  .client-content {
    padding: 45px;
  }
}

@media (max-width: 991px) {
  .customer_list .slick-next {
    right: 44%;
    top: 94%;
  }

  .customer_list .slick-prev {
    left: 44%;
    top: 94%;
  }

  .customer_list {
    padding-bottom: 60px;
  }

  .testi-bg-square {
    left: 18%;
    top: 50%;
  }

  .testi-bg-round {
    left: 70%;
    top: 20%;
  }

  body.page-template-page-templatestestimonials-php ul.testi_pg_list .client-content {
    padding: 30px;
  }

  body.page-template-page-templatestestimonials-php ul.testi_pg_list .client-content p {
    margin: 10px 0 15px 0;
  }

  .page-template-testimonials .blog_detail_description li {
    margin-bottom: 10px;
  }

  body.page-template-page-templatestestimonials-php ul.testi_pg_list .cl-quote {
    margin-bottom: 0;
  }

  body.page-template-page-templatestestimonials-php .key-feature-grid-list .key-box-item {
    padding: 20px;
    width: 49%;
  }

  body.page-template-page-templatestestimonials-php .key-feature-grid-list .key-box-item p {
    margin-bottom: 0;
  }

  body.page-template-page-templatestestimonials-php .key-feature-grid-list {
    display: flex;
    grid-template-columns: inherit;
    gap: 12px !important;
    column-count: 2;
    flex-wrap: wrap;
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  body.page-template-page-templatestestimonials-php .key-feature-grid-list .key-box-item {
    width: 48%;
  }

  .client-content {
    padding: 30px;
  }

  .client-content p {
    margin-top: 0;
  }
}

@media (max-width: 576px) {
  .client-content {
    padding: 20px;
  }

  .testimonials_left {
    width: 80%;
  }

  .testimonial_slider_wrapper {
    padding-bottom: 20px;
  }

  .testimonial-bottom-content {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .rating-star {
    margin: 15px 0;
  }

  .testi-bg-square,
  .testi-bg-round {
    display: none;
  }

  body.page-template-page-templatestestimonials-php .key-feature-grid-list .key-box-item {
    width: 100%;
  }

  .customer_list .slick-prev {
    left: 30%;
  }

  .customer_list .slick-next {
    right: 30%;
  }
}