.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;
}

.testimonial-block-style2 {
  position: relative;
}
.testimonial-block-style2 .inner {
  position: relative;
  padding-left: 260px;
}
@media (max-width: 767.98px) {
  .testimonial-block-style2 .inner {
    padding-left: 0px;
  }
}
.testimonial-block-style2 .info {
  position: absolute;
  left: 0px;
  top: 0px;
  text-align: center;
}
.testimonial-block-style2 .info .image {
  position: relative;
  width: 150px;
  height: 150px;
  overflow: hidden;
  border-radius: 150px;
}
.testimonial-block-style2 .info .testimonial-name {
  margin-top: 25px;
  margin-bottom: 0;
  color: var(--theme-color1);
}
.testimonial-block-style2 .info .testimonial-position {
  margin-top: 10px;
  color: #666666;
}
@media (max-width: 767.98px) {
  .testimonial-block-style2 .info {
    position: relative;
    margin-bottom: 30px;
  }
}
.testimonial-block-style2 .title {
  display: flex;
}
.testimonial-block-style2 .title i,
.testimonial-block-style2 .title svg {
  position: relative;
  width: 54px;
  height: 54px;
  font-size: 28px;
  line-height: 54px;
  border-radius: 80px;
  text-align: center;
  margin-right: 20px;
  display: inline-block;
  background-color: var(--theme-color1);
  color: var(--theme-color1-text-color);
}
.testimonial-block-style2 .title svg {
  width: 28px;
}
.testimonial-block-style2 .title .testimonial-title {
  position: relative;
  font-size: 24px;
  font-weight: 500;
  color: var(--theme-color1);
}
@media (max-width: 575.98px) {
  .testimonial-block-style2 .title .testimonial-title {
    font-size: 16px;
  }
}
.testimonial-block-style2 .author-text {
  position: relative;
  font-size: 48px;
  margin-top: 30px;
  line-height: 55px;
  color: #0a192f;
}
@media (max-width: 1199.98px) {
  .testimonial-block-style2 .author-text {
    font-size: 40px;
    line-height: 50px;
  }
}
@media (max-width: 575.98px) {
  .testimonial-block-style2 .author-text {
    font-size: 30px;
    line-height: 50px;
  }
}