.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;
  padding: 20px 15px 30px;
}
.testimonial-block-two .inner-box {
  position: relative;
  padding: 50px 70px 55px;
  padding-right: 60px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
}
@media (max-width: 575.98px) {
  .testimonial-block-two .inner-box {
    padding: 30px;
  }
}
.testimonial-block-two .upper-box {
  position: relative;
  display: flex;
  justify-content: space-between;
}
.testimonial-block-two .upper-box .icon-quote {
  display: block;
  width: 66px;
  height: 50px;
  background-image: url(../../../images/current-theme/icon-quote.png);
  margin-bottom: 20px;
}
.testimonial-block-two .upper-box .rating-box {
  position: relative;
  margin-right: -10px;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 20px;
  color: #ff8a00;
}
.testimonial-block-two .upper-box .rating-box .rating .star-rating span:before {
  color: #ff8a00;
  font-weight: 600;
}
.testimonial-block-two .upper-box .rating-box .reason {
  display: block;
  font-size: 16px;
  color: #2e2d2d;
  font-weight: 700;
  margin-bottom: 7px;
}
.testimonial-block-two .upper-box .rating-box i {
  margin-right: 5px;
}
.testimonial-block-two .author-text {
  position: relative;
  font-size: 22px;
  line-height: 35px;
  color: #67687a;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(129, 129, 129, 0.2);
  margin-bottom: 40px;
}
.testimonial-block-two .info-box {
  position: relative;
}
.testimonial-block-two .info-box .icon-chat {
  position: absolute;
  right: 0;
  top: 0;
  width: 101px;
  height: 60px;
  background-image: url(../../../images/current-theme/icon-chat.png);
  overflow: hidden;
}
.testimonial-block-two .info-box .name {
  margin-bottom: 7px;
}
.testimonial-block-two .info-box .job-position {
  display: block;
  font-size: 16px;
  line-height: 20px;
  color: #67687a;
  font-weight: 400;
}