.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 {
  position: relative;
  margin-bottom: 30px;
}
.testimonial-block .inner-box {
  position: relative;
  padding: 70px 15px 15px;
}
.testimonial-block .content-box {
  position: relative;
  display: block;
  background-color: var(--theme-color-light);
  padding: 55px 60px 60px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
}
.testimonial-block .content-box:before {
  position: absolute;
  width: 334px;
  height: 265px;
  right: 0;
  top: 0;
  background-image: url(../../../../assets/images/current-theme/border-dashed.png);
  background-repeat: no-repeat;
  content: "";
}
.testimonial-block .content-box .thumb {
  position: absolute;
  right: 40px;
  top: -70px;
  height: 140px;
  width: 140px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  border-radius: 50%;
}
.testimonial-block .content-box .thumb img {
  border-radius: 50%;
}
.testimonial-block .content-box .rating {
  font-size: 20px;
  color: #f89321;
  margin-bottom: 15px;
}
.testimonial-block .content-box .rating .star-rating {
  float: none;
  margin-top: 5px;
  margin-bottom: 20px;
  float: none;
  margin-top: 5px;
  margin-bottom: 20px;
  overflow: visible;
}
.testimonial-block .content-box .rating .star-rating span:before {
  color: var(--theme-color2);
  font-weight: 600;
}
.testimonial-block .content-box .rating i {
  margin-right: 5px;
}
.testimonial-block .content-box .author-text {
  position: relative;
  font-size: 18px;
  line-height: 36px;
  color: #7d8185;
  margin-bottom: 30px;
}
.testimonial-block .info-box {
  position: relative;
  padding-left: 90px;
  min-height: 70px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.testimonial-block .info-box .icon-quote {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  width: 70px;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--theme-color3);
  background-image: url(../../../../assets/images/current-theme/icon-quote.png);
  background-repeat: no-repeat;
  background-position: center;
}
.testimonial-block .info-box .testimonial-name {
  margin-top: 0;
  margin-bottom: 5px;
}
.testimonial-block .info-box .testimonial-position {
  position: relative;
  text-transform: uppercase;
  display: block;
  font-size: 13px;
  color: #808287;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: 0.1em;
}