.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-one {
  position: relative;
  overflow: hidden;
  margin-bottom: 50px;
}
.testimonial-block-one .inner-box {
  position: relative;
  padding-bottom: 28px;
  padding-top: 25px;
}
.testimonial-block-one .inner-box:hover .content-box .icon {
  color: var(--headings-color);
  background-color: var(--theme-color2);
}
.testimonial-block-one .inner-box:hover .content-box .icon:after {
  border-bottom-color: #e7a72c;
}
.testimonial-block-one .inner-box:hover .content-box .info-box {
  background-color: var(--theme-color1);
}
.testimonial-block-one .inner-box:hover .content-box .info-box .name,
.testimonial-block-one .inner-box:hover .content-box .info-box .job-position {
  color: #fff;
}
.testimonial-block-one .content-box {
  position: relative;
  background-color: #fff;
  padding: 45px 40px 10px;
  border: 1px solid #eee;
}
.testimonial-block-one .content-box .icon {
  position: absolute;
  right: 40px;
  top: -25px;
  width: 95px;
  height: 95px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--theme-color1);
  font-size: 54px;
  color: #fff;
  transition: all 300ms ease;
}
@media (prefers-reduced-motion: reduce) {
  .testimonial-block-one .content-box .icon {
    transition: none;
  }
}
@media (max-width: 575.98px) {
  .testimonial-block-one .content-box .icon {
    right: 20px;
    top: -10px;
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
}
.testimonial-block-one .content-box .icon:after {
  position: absolute;
  left: 100%;
  top: 0;
  border-right: 20px solid transparent;
  border-bottom: 25px solid #a81017;
  content: "";
  transition: all 300ms ease;
}
@media (prefers-reduced-motion: reduce) {
  .testimonial-block-one .content-box .icon:after {
    transition: none;
  }
}
@media (max-width: 575.98px) {
  .testimonial-block-one .content-box .icon:after {
    border-right: 10px solid transparent;
    border-bottom: 10px solid #a81017;
  }
}
.testimonial-block-one .content-box .reason {
  display: block;
  font-size: 18px;
  line-height: 30px;
  font-weight: 700;
  color: var(--headings-color);
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.testimonial-block-one .content-box .rating {
  font-size: 14px;
  color: #f9b524;
}
.testimonial-block-one .content-box .rating i {
  margin-right: 7px;
}
.testimonial-block-one .content-box .author-text {
  position: relative;
  font-size: 18px;
  line-height: 36px;
  color: #393939;
  margin-top: 20px;
  margin-bottom: 30px;
}
@media (max-width: 991.98px) {
  .testimonial-block-one .content-box .author-text {
    font-size: 18px;
    line-height: 28px;
  }
}
.testimonial-block-one .info-box {
  position: relative;
  padding-left: 90px;
  background-color: var(--theme-color2);
  min-height: 74px;
  border-radius: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: -37px;
  transition: all 300ms ease;
}
@media (prefers-reduced-motion: reduce) {
  .testimonial-block-one .info-box {
    transition: none;
  }
}
.testimonial-block-one .info-box .thumb {
  position: absolute;
  left: 3px;
  top: 3px;
  height: 68px;
  width: 68px;
  border-radius: 50%;
  border: 4px solid #fff;
  overflow: hidden;
}
.testimonial-block-one .info-box .name {
  margin-top: -4px;
  margin-bottom: 5px;
}
.testimonial-block-one .info-box .job-position {
  display: block;
  font-size: 14px;
  line-height: 1em;
  font-weight: 500;
  color: var(--theme-color1);
  margin-bottom: 0px;
  transition: all 300ms ease;
}
@media (prefers-reduced-motion: reduce) {
  .testimonial-block-one .info-box .job-position {
    transition: none;
  }
}