.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-style1 {
  position: relative;
  margin-bottom: 30px;
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box {
  position: relative;
  text-align: center;
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box:hover .content-box {
  background-color: var(--theme-color1);
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box:hover .content-box:before {
  border-top: 20px solid var(--theme-color2);
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box:hover .content-box .star-rating-wrapper {
  background-color: #fff;
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box:hover .content-box .star-rating-wrapper .star-rating span::before {
  color: #ffaa18;
  font-weight: 600;
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box:hover .content-box .author-text {
  color: var(--text-color-bg-theme-color1);
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box:hover .thumb img {
  border: 2px solid var(--theme-color1);
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box .content-box {
  position: relative;
  margin-top: 20px;
  padding: 0px 40px 30px;
  background: #fff;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  margin-bottom: 40px;
  transition: all 300ms ease;
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box .content-box .star-rating-wrapper {
  position: relative;
  transform: translateY(-20px);
  display: inline-block;
  padding: 7px 70px;
  height: 40px;
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 20px;
  color: var(--text-color-bg-theme-color1);
  background-color: var(--theme-color1);
  border-radius: 5px;
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box .content-box .star-rating-wrapper .star-rating span::before {
  color: #fff;
  font-weight: 600;
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box .content-box .star-rating-wrapper .author-text {
  position: relative;
  line-height: 30px;
  transition: all 300ms ease;
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box .thumb {
  display: block;
  height: 75px;
  width: 75px;
  margin: 0 auto 5px;
  border-radius: 50%;
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box .thumb img {
  border-radius: 50%;
  border: 2px solid transparent;
  transition: all 300ms ease;
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box .testimonial-position {
  position: relative;
  display: block;
  font-size: 12px;
  line-height: 20px;
  color: #767676;
  text-transform: uppercase;
  font-weight: 500;
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box .testimonial-name {
  position: relative;
  display: block;
  margin-top: 0;
}