.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-two {
  position: relative;
  overflow: hidden;
}
.testimonial-block-two .inner-box {
  position: relative;
}
.testimonial-block-two .inner-box:hover .content-box .icon {
  color: var(--headings-color);
  background-color: var(--theme-color2);
}
.testimonial-block-two .inner-box:hover .content-box .icon:after {
  border-bottom-color: var(--theme-color2);
}
.testimonial-block-two .content-box {
  position: relative;
}
.testimonial-block-two .content-box .reason {
  display: block;
  font-size: 18px;
  line-height: 30px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.testimonial-block-two .content-box .rating {
  font-size: 15px;
  color: #f9b524;
}
.testimonial-block-two .content-box .rating .star-rating span:before {
  font-weight: 600;
}
.testimonial-block-two .content-box .rating i {
  margin-right: 7px;
}
.testimonial-block-two .content-box .author-text {
  position: relative;
  font-size: 24px;
  line-height: 42px;
  color: #ffffff;
  margin-top: 20px;
  margin-bottom: 40px;
}
@media (max-width: 575.98px) {
  .testimonial-block-two .content-box .author-text {
    font-size: 20px;
    line-height: 30px;
  }
}
.testimonial-block-two .info-box {
  position: relative;
  transition: all 300ms ease;
}
@media (prefers-reduced-motion: reduce) {
  .testimonial-block-two .info-box {
    transition: none;
  }
}
.testimonial-block-two .info-box .name {
  font-size: 24px;
  color: #fff;
  margin-bottom: 10px;
}
.testimonial-block-two .info-box .job-position {
  display: block;
  font-size: 14px;
  line-height: 1em;
  font-weight: 400;
  color: #fff;
  margin-bottom: 0px;
  transition: all 300ms ease;
}
@media (prefers-reduced-motion: reduce) {
  .testimonial-block-two .info-box .job-position {
    transition: none;
  }
}