.tm-sc-testimonials .star-rating {
  float: right;
  overflow: hidden;
  position: relative;
  height: 1.1em;
  line-height: 1.2;
  font-size: 0.9em;
  width: 5.6em;
}
.tm-sc-testimonials .star-rating::before {
  content: "\f005\f005\f005\f005\f005";
  color: #d3ced2;
  font-family: "Font Awesome 5 Free";
  font-weight: 500;
  float: left;
  top: 0;
  left: 0;
  position: absolute;
}
.tm-sc-testimonials .star-rating span {
  overflow: hidden;
  float: left;
  top: 0;
  left: 0;
  position: absolute;
  padding-top: 1.5em;
}
.tm-sc-testimonials .star-rating span::before {
  content: "\f005\f005\f005\f005\f005";
  font-family: "Font Awesome 5 Free";
  font-weight: 500;
  color: #f1c40f;
  top: 0;
  position: absolute;
  left: 0;
}
.tm-sc-testimonials .star-rating {
  float: none;
  margin-top: 5px;
  margin-bottom: 20px;
  overflow: visible;
}
.tm-sc-testimonials .star-rating span:before {
  color: var(--theme-color2);
}
.tm-sc-testimonials .author-text,
.tm-sc-testimonials .name,
.tm-sc-testimonials .job-position {
  transition: all 0.3s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .tm-sc-testimonials .author-text,
.tm-sc-testimonials .name,
.tm-sc-testimonials .job-position {
    transition: none;
  }
}
.tm-sc-testimonials .star-rating span:before {
  transition: all 0.3s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .tm-sc-testimonials .star-rating span:before {
    transition: none;
  }
}

.owl-carousel .type-testimonials {
  box-shadow: none;
}

.testimonial-block-style1 {
  position: relative;
  overflow: hidden;
  padding: 15px 15px 30px;
}
.testimonial-block-style1 .inner-box {
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  background-color: #ffffff;
}
.testimonial-block-style1 .inner-box:before {
  position: absolute;
  right: 190px;
  bottom: 30px;
  height: 80px;
  width: 80px;
  background-image: url(../../../images/current-theme/icon-quote.png);
  background-size: contain;
  z-index: 3;
  pointer-events: none;
  content: "";
}
.testimonial-block-style1 .upper-box {
  position: relative;
  background: linear-gradient(to left, var(--theme-color3), var(--theme-color1));
  padding: 15px 40px 35px;
  transition: all 0.3s ease;
}
@media (max-width: 767.98px) {
  .testimonial-block-style1 .upper-box {
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .testimonial-block-style1 .upper-box {
    transition: none;
  }
}
.testimonial-block-style1 .upper-box .name {
  position: relative;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 15px;
}
.testimonial-block-style1 .content-wrapper {
  display: flex;
  justify-content: space-between;
}
@media (max-width: 1199.98px) {
  .testimonial-block-style1 .content-wrapper {
    flex-direction: column;
  }
}
.testimonial-block-style1 .content-wrapper .text-box {
  position: relative;
  padding: 30px 0 30px 40px;
  max-width: 60%;
  min-height: 215px;
  margin-top: -35px;
  background-color: #ffffff;
}
@media (max-width: 1199.98px) {
  .testimonial-block-style1 .content-wrapper .text-box {
    max-width: 89%;
    min-height: auto;
    text-align: center;
    padding: 30px 0 30px 30px;
  }
}
@media (max-width: 767.98px) {
  .testimonial-block-style1 .content-wrapper .text-box {
    max-width: 86%;
  }
}
.testimonial-block-style1 .content-wrapper .text-box::before {
  position: absolute;
  right: -40px;
  top: 0;
  border-bottom: 40px solid #fff;
  border-right: 40px solid transparent;
  content: "";
}
.testimonial-block-style1 .content-wrapper .text-box .text {
  font-size: 16px;
  line-height: 30px;
  color: #6c6a72;
}
.testimonial-block-style1 .content-wrapper .info-box {
  text-align: center;
}
@media (min-width: 1200px) {
  .testimonial-block-style1 .content-wrapper .info-box {
    margin-right: 45px;
    margin-top: -40px;
  }
}
@media (max-width: 767.98px) {
  .testimonial-block-style1 .content-wrapper .info-box {
    position: relative;
    right: 0;
    top: 0;
    margin: 10px auto 0;
    padding-bottom: 20px;
  }
}
.testimonial-block-style1 .content-wrapper .info-box .thumb {
  position: relative;
  display: inline-block;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}
@media (prefers-reduced-motion: reduce) {
  .testimonial-block-style1 .content-wrapper .info-box .thumb {
    transition: none;
  }
}
.testimonial-block-style1 .content-wrapper .info-box .thumb::before {
  position: absolute;
  left: -11px;
  top: -11px;
  height: 137px;
  width: 137px;
  border: 2px solid var(--theme-color3);
  content: "";
  border-radius: 50%;
}
.testimonial-block-style1 .content-wrapper .info-box .thumb img {
  border: 5px solid #ffffff;
  height: 116px;
  width: 116px;
  border-radius: 50%;
}
.testimonial-block-style1 .content-wrapper .info-box .rating {
  position: relative;
  margin-bottom: 20px;
  line-height: 20px;
}
@media (max-width: 1199.98px) {
  .testimonial-block-style1 .content-wrapper .info-box .rating {
    margin-bottom: 30px;
  }
}
.testimonial-block-style1 .content-wrapper .info-box .rating .star-rating {
  font-size: 14px;
  margin: 30px auto 0;
}
.testimonial-block-style1 .content-wrapper .info-box .rating .star-rating span:before {
  color: #ffba16;
  font-weight: 600;
}
.testimonial-block-style1 .content-wrapper .info-box .rating .avg-review {
  display: block;
  font-size: 14px;
  color: #6c6a72;
  font-weight: 400;
  letter-spacing: 0;
  margin-top: 10px;
}
.testimonial-block-style1:hover .info-box .thumb {
  -webkit-transform: rotate(180degdeg);
  -moz-transform: rotate(180degdeg);
  -ms-transform: rotate(180degdeg);
  transform: rotate(180degdeg);
}