.tm-sc-testimonials .star-rating {
  float: left;
  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: right;
  top: 0;
  right: 0;
  position: absolute;
}
.tm-sc-testimonials .star-rating span {
  overflow: hidden;
  float: right;
  top: 0;
  right: 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;
  right: 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-style1 {
  position: relative;
}
.testimonial-block-style1 .inner-box {
  position: relative;
  padding: 50px 50px;
  background-color: var(--theme-color-white);
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  transition: all 300ms ease;
}
body.tm-dark-layout .testimonial-block-style1 .inner-box {
  border-color: #1d1d1d;
}
body.tm-dark-layout .testimonial-block-style1 .inner-box {
  color: #1d1d1d;
}
@media (max-width: 575.98px) {
  .testimonial-block-style1 .inner-box {
    padding: 40px 30px;
    text-align: center;
  }
}
.testimonial-block-style1 .inner-box:hover {
  border: 1px solid var(--theme-color1);
}
.testimonial-block-style1 .info-box {
  position: relative;
  padding-left: 100px;
  z-index: 2;
}
@media (max-width: 575.98px) {
  .testimonial-block-style1 .info-box {
    padding-left: 0;
  }
}
.testimonial-block-style1 .info-box .testimonial-name {
  margin-top: 0;
  margin-bottom: 4px;
}
.testimonial-block-style1 .info-box .testimonial-position {
  display: block;
  margin-bottom: 8px;
}
body.tm-dark-layout .testimonial-block-style1 .info-box .testimonial-position {
  color: #fff;
}
.testimonial-block-style1 .info-box .rating {
  position: relative;
  z-index: 2;
  line-height: 20px;
  color: #ffba08;
  margin-bottom: 30px;
}
.testimonial-block-style1 .info-box .rating .star-rating {
  margin-bottom: 0;
  display: inline-block;
}
.testimonial-block-style1 .info-box .rating .star-rating span:before {
  color: #ffba08;
  font-weight: 600;
}
.testimonial-block-style1 .info-box .rating i {
  margin-left: 4px;
}
.testimonial-block-style1 .info-box .quote-icon {
  position: absolute;
  left: 0px;
  top: 10px;
  height: 56px;
  width: 56px;
  border: 1px solid var(--theme-color2);
  background-color: #fff;
  border: 1px solid var(--theme-color1);
  border-radius: 50%;
  padding: 2px;
}
@media (max-width: 575.98px) {
  .testimonial-block-style1 .info-box .quote-icon {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
  }
}
.testimonial-block-style1 .info-box .quote-icon .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  width: 50px;
  color: #fff;
  background-color: var(--theme-color1);
  font-size: 24px;
  border-radius: 50%;
}
.testimonial-block-style1 .author-text {
  position: relative;
}
body.tm-dark-layout .testimonial-block-style1 .author-text {
  color: #fff;
}
.testimonial-block-style1 .content-box {
  position: relative;
  background-color: #fff;
  padding: 30px 160px 50px 50px;
  min-height: 264px;
}
.testimonial-block-style1 .content-box .reason {
  display: block;
  font-size: 18px;
  font-weight: 700;
}