.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;
}
.tm-sc-testimonials .star-rating span:before {
  transition: all 0.3s ease-in-out;
}

.tm-sc-testimonials .testimonial-block-style2 {
  position: relative;
  margin-bottom: 30px;
}
.tm-sc-testimonials .testimonial-block-style2 .testimonial-content {
  position: relative;
  padding: 38px 30px 30px;
  background-color: var(--theme-color-white);
  border-radius: 10px;
}
.tm-sc-testimonials .testimonial-block-style2 .info-box {
  position: relative;
  text-align: left;
  padding-left: 95px;
  z-index: 2;
  margin-bottom: 20px;
}
.tm-sc-testimonials .testimonial-block-style2 .info-box .thumb {
  position: absolute;
  left: 0;
  top: 2px;
  height: 80px;
  width: 80px;
}
.tm-sc-testimonials .testimonial-block-style2 .info-box .thumb img {
  border-radius: 10px;
}
.tm-sc-testimonials .testimonial-block-style2 .info-box .testimonial-name {
  margin-top: 0;
  margin-bottom: 0px;
}
.tm-sc-testimonials .testimonial-block-style2 .info-box .testimonial-position {
  display: block;
  margin-bottom: 8px;
}
.tm-sc-testimonials .testimonial-block-style2 .info-box .quote-icon {
  position: absolute;
  top: -10px;
  right: -2px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 21px;
  width: 21px;
  color: #fff;
  background-color: var(--theme-color1);
  font-size: 10px;
  border-radius: 50%;
}
.tm-sc-testimonials .testimonial-block-style2 .info-box .quote-icon::after {
  position: absolute;
  left: -3px;
  top: -3px;
  right: -3px;
  bottom: -3px;
  border: 1px solid var(--theme-color1);
  content: "";
  border-radius: 50%;
}
.tm-sc-testimonials .testimonial-block-style2 .info-box .rating {
  position: relative;
  font-size: 16px;
  z-index: 2;
  line-height: 15px;
  color: #ffba08;
  margin-bottom: 10px;
}
.tm-sc-testimonials .testimonial-block-style2 .info-box .rating .star-rating {
  margin-top: 0;
  margin-bottom: 0;
  display: inline-block;
}
.tm-sc-testimonials .testimonial-block-style2 .info-box .rating .star-rating span:before {
  color: #ffba08;
  font-weight: 600;
}
.tm-sc-testimonials .testimonial-block-style2 .info-box .rating i {
  margin-right: 4px;
}