.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;
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 20px;
  padding-left: 40px;
  padding-bottom: 25px;
  padding-right: 30px;
}
@media (max-width: 991.98px) {
  .tm-sc-testimonials .testimonial-block-style1 .inner-box {
    flex-direction: column;
    padding: 30px 20px;
  }
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box .image-box {
  position: relative;
  padding: 20px 30px;
}
@media (max-width: 991.98px) {
  .tm-sc-testimonials .testimonial-block-style1 .inner-box .image-box {
    margin-bottom: 20px;
  }
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box .image-box .image {
  min-width: 390px;
}
@media (max-width: 575.98px) {
  .tm-sc-testimonials .testimonial-block-style1 .inner-box .image-box .image {
    min-width: 100%;
  }
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box .image-box .image img {
  border-radius: 50%;
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box .image-box .testi-frame {
  position: absolute;
  top: -20px;
  left: -40px;
  background-repeat: no-repeat;
  width: 497px;
  height: 469px;
  background-image: url(../../../images/current-theme/testi-frame.png);
}
@media (max-width: 575.98px) {
  .tm-sc-testimonials .testimonial-block-style1 .inner-box .image-box .testi-frame {
    left: -4.5%;
    top: 0;
    height: 100%;
    width: 100%;
    background-size: cover;
  }
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box .content-box {
  position: relative;
  padding-left: 70px;
}
@media (max-width: 1199.98px) {
  .tm-sc-testimonials .testimonial-block-style1 .inner-box .content-box {
    padding-left: 40px;
  }
}
@media (max-width: 991.98px) {
  .tm-sc-testimonials .testimonial-block-style1 .inner-box .content-box {
    padding-left: 0;
    text-align: center;
    padding-bottom: 0;
  }
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box .content-box .author-text {
  position: relative;
  color: #777;
  font-size: 24px;
  line-height: 44px;
  margin-bottom: 20px;
}
@media (max-width: 991.98px) {
  .tm-sc-testimonials .testimonial-block-style1 .inner-box .content-box .author-text {
    margin-bottom: 20px;
  }
}
@media (max-width: 575.98px) {
  .tm-sc-testimonials .testimonial-block-style1 .inner-box .content-box .author-text {
    font-size: 18px;
    line-height: 1.4em;
  }
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box .content-box .testimonial-name {
  color: var(--theme-color2);
  margin-bottom: 0;
  display: inline;
}
body.tm-dark-layout .tm-sc-testimonials .testimonial-block-style1 .inner-box .content-box .testimonial-name {
  color: #fff;
}
.tm-sc-testimonials .testimonial-block-style1 .inner-box .content-box .testimonial-position {
  color: var(--theme-color2);
  font-weight: 400;
  font-size: 16px;
  margin-bottom: 0;
  margin-left: 20px;
  display: inline;
}
body.tm-dark-layout .tm-sc-testimonials .testimonial-block-style1 .inner-box .content-box .testimonial-position {
  color: #fff;
}
@media (max-width: 991.98px) {
  .tm-sc-testimonials .testimonial-block-style1 .inner-box .content-box .testimonial-position {
    display: block;
    margin-left: 0;
  }
}