.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-style3 {
  position: relative;
  overflow: hidden;
  padding: 15px 15px;
}
.tm-sc-testimonials .testimonial-block-style3 .inner-box {
  position: relative;
}
.tm-sc-testimonials .testimonial-block-style3 .inner-box:hover .content-box .icon {
  color: var(--theme-color2);
  background-color: var(--theme-color2);
}
.tm-sc-testimonials .testimonial-block-style3 .inner-box:hover .content-box .icon:after {
  border-bottom-color: #e7a72c;
}
.tm-sc-testimonials .testimonial-block-style3 .inner-box:hover .content-box .info-box {
  background-color: var(--theme-color1);
}
.tm-sc-testimonials .testimonial-block-style3 .inner-box:hover .content-box .info-box .testimonial-position {
  color: #fff;
}
.tm-sc-testimonials .testimonial-block-style3 .content-box {
  position: relative;
  background-color: var(--theme-color-white);
  padding: 35px 40px 40px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.04);
  background-image: var(--testimonial-style3-bg-image);
  background-position: right top;
  background-repeat: no-repeat;
}
@media (max-width: 575.98px) {
  .tm-sc-testimonials .testimonial-block-style3 .content-box {
    padding: 40px 25px 45px;
    background-image: none;
  }
}
.tm-sc-testimonials .testimonial-block-style3 .content-box:before {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background: linear-gradient(to left, var(--theme-color2), var(--theme-color1));
  height: 6px;
  content: "";
}
.tm-sc-testimonials .testimonial-block-style3 .content-box:after {
  position: absolute;
  left: 30px;
  bottom: -23px;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  background-color: var(--theme-color1);
  height: 23px;
  width: 54px;
  content: "";
}
.tm-sc-testimonials .testimonial-block-style3 .content-box .author-text {
  position: relative;
  font-size: 18px;
  line-height: 30px;
}
.tm-sc-testimonials .testimonial-block-style3 .info-box {
  position: relative;
  margin-left: 10px;
  min-height: 96px;
  margin-top: 30px;
  padding-left: 115px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 575.98px) {
  .tm-sc-testimonials .testimonial-block-style3 .info-box {
    margin-left: 0px;
  }
}
.tm-sc-testimonials .testimonial-block-style3 .info-box .thumb {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 96px;
  height: 96px;
  border: 5px solid var(--theme-color-light);
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}
.tm-sc-testimonials .testimonial-block-style3 .info-box .thumb img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.tm-sc-testimonials .testimonial-block-style3 .info-box .rating {
  position: relative;
  font-size: 12px;
  z-index: 2;
  color: var(--theme-color1);
}
.tm-sc-testimonials .testimonial-block-style3 .info-box .rating .star-rating {
  margin-top: 0;
  margin-bottom: 0;
  display: inline-block;
}
.tm-sc-testimonials .testimonial-block-style3 .info-box .rating .star-rating span:before {
  color: var(--theme-color1);
  font-weight: 600;
}
.tm-sc-testimonials .testimonial-block-style3 .info-box .testimonial-name {
  margin-top: 0;
  margin-bottom: 0;
}
.tm-sc-testimonials .testimonial-block-style3 .info-box .testimonial-position {
  display: block;
  margin-bottom: 0;
}

.bg-bg .tm-sc-testimonials .testimonial-block-style3 .content-box {
  background-position: left top;
}