.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-style3 {
  position: relative;
  padding: 15px 15px;
  margin-bottom: 15px;
}
.testimonial-block-style3 .inner-box {
  position: relative;
  margin-left: 75px;
  background-color: #fff;
  padding: 35px 70px;
  padding-left: 120px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
@media (max-width: 767.98px) {
  .testimonial-block-style3 .inner-box {
    margin-left: 0;
    padding-left: 0;
    padding: 35px 40px;
  }
}
.testimonial-block-style3 .inner-box:before {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 7px;
  background: linear-gradient(var(--theme-color1), var(--theme-color2));
  content: "";
}
.testimonial-block-style3 .inner-box:hover .author-thumb .thumb img {
  transform: scale(1.1);
}
.testimonial-block-style3 .author-thumb {
  position: absolute;
  top: 50px;
  left: -75px;
  height: 160px;
  width: 160px;
  background: linear-gradient(var(--theme-color1), var(--theme-color2));
  transition: all 300ms ease;
  padding: 8px;
  border-radius: 50%;
}
@media (max-width: 767.98px) {
  .testimonial-block-style3 .author-thumb {
    position: inherit;
    top: inherit;
    left: 0;
    right: 0;
    margin: auto;
  }
}
.testimonial-block-style3 .author-thumb .thumb {
  position: relative;
  display: inline-block;
  height: 144px;
  width: 144px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 0;
  border: 7px solid #fff;
}
.testimonial-block-style3 .author-thumb .thumb img {
  height: 100%;
  width: 100%;
  transition: all 300ms ease;
}
.testimonial-block-style3 .content-box {
  position: relative;
  transition: all 300ms ease;
}
@media (max-width: 767.98px) {
  .testimonial-block-style3 .content-box {
    text-align: center;
  }
}
@media (max-width: 767.98px) {
  .testimonial-block-style3 .content-box .star-rating {
    margin: 20px auto;
  }
}
.testimonial-block-style3 .content-box .star-rating span:before {
  color: var(--theme-color1);
  font-weight: 600;
}
.testimonial-block-style3 .content-box .star-rating i {
  margin: 0 1px;
}
.testimonial-block-style3 .content-box .author-text {
  position: relative;
  font-size: 18px;
  line-height: 30px;
  color: #73787d;
  margin-bottom: 15px;
  margin-top: 20px;
}
.testimonial-block-style3 .content-box .name {
  margin-bottom: 2px;
}
.testimonial-block-style3 .content-box .job-position {
  position: relative;
  display: block;
  font-size: 16px;
  line-height: 26px;
  color: var(--theme-color1);
  font-weight: 400;
}
.testimonial-block-style3 .content-box span.icon {
  position: absolute;
  font-size: 35px;
  right: -30px;
  bottom: -5px;
  color: var(--theme-color1);
  opacity: 0.4;
}

.bg-bg .tm-sc-testimonials .testimonial-block-style3 .content-box {
  background-position: left top;
}