.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;
}
@media (prefers-reduced-motion: reduce) {
  .tm-sc-testimonials .author-text,
.tm-sc-testimonials .name,
.tm-sc-testimonials .job-position {
    transition: none;
  }
}
.tm-sc-testimonials .star-rating span:before {
  transition: all 0.3s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .tm-sc-testimonials .star-rating span:before {
    transition: none;
  }
}

.owl-carousel .type-testimonials {
  box-shadow: none;
}

.tm-sc-testimonials .testimonial-block-one {
  position: relative;
  padding: 30px;
}
.tm-sc-testimonials .testimonial-block-one .inner-box {
  position: relative;
  background: #ffffff;
  padding: 45px 50px;
  padding-right: 40px;
  border: 4px solid transparent;
  transition: all 300ms ease;
}
@media (prefers-reduced-motion: reduce) {
  .tm-sc-testimonials .testimonial-block-one .inner-box {
    transition: none;
  }
}
@media (max-width: 991.98px) {
  .tm-sc-testimonials .testimonial-block-one .inner-box {
    padding: 35px 30px;
  }
}
@media (max-width: 767.98px) {
  .tm-sc-testimonials .testimonial-block-one .inner-box {
    text-align: center;
  }
}
.tm-sc-testimonials .testimonial-block-one .inner-box .info-box {
  position: relative;
}
.tm-sc-testimonials .testimonial-block-one .inner-box .info-box .author-thumb {
  position: absolute;
  right: -70px;
  top: -84px;
  height: 120px;
  width: 120px;
  border: 4px solid var(--theme-color1);
}
@media (max-width: 991.98px) {
  .tm-sc-testimonials .testimonial-block-one .inner-box .info-box .author-thumb {
    right: -60px;
    top: -74px;
  }
}
@media (max-width: 767.98px) {
  .tm-sc-testimonials .testimonial-block-one .inner-box .info-box .author-thumb {
    position: inherit;
    top: inherit;
    margin: auto;
    right: inherit;
    margin-bottom: 20px;
  }
}
.tm-sc-testimonials .testimonial-block-one .inner-box .info-box .author-thumb::before {
  position: absolute;
  right: -4px;
  bottom: -30px;
  border-top: 26px solid var(--theme-color1);
  border-right: 26px solid transparent;
  content: "";
}
@media (max-width: 767.98px) {
  .tm-sc-testimonials .testimonial-block-one .inner-box .info-box .author-thumb::before {
    display: none;
  }
}
.tm-sc-testimonials .testimonial-block-one .inner-box .info-box .author-thumb img {
  display: block;
  width: 100%;
}
.tm-sc-testimonials .testimonial-block-one .inner-box .info-box .name {
  position: relative;
  display: block;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2em;
  margin-bottom: 5px;
}
.tm-sc-testimonials .testimonial-block-one .inner-box .info-box .job-position {
  position: relative;
  display: block;
  font-size: 16px;
  line-height: 24px;
  color: var(--theme-color1);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.tm-sc-testimonials .testimonial-block-one .inner-box .info-box .star-rating {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 14px;
  line-height: 1.2em;
  margin-bottom: 8px;
}
@media (max-width: 767.98px) {
  .tm-sc-testimonials .testimonial-block-one .inner-box .info-box .star-rating {
    display: inline-block;
    margin-bottom: 0;
  }
}
.tm-sc-testimonials .testimonial-block-one .inner-box .info-box .star-rating span:before {
  color: var(--theme-color3);
}
.tm-sc-testimonials .testimonial-block-one .inner-box .author-text {
  position: relative;
  font-size: 18px;
  line-height: 36px;
  color: #898e83;
  font-weight: 400;
  font-style: italic;
  margin-top: 30px;
  z-index: 1;
}
.tm-sc-testimonials .testimonial-block-one .inner-box:after, .tm-sc-testimonials .testimonial-block-one .inner-box:before {
  position: absolute;
  left: -30px;
  top: -30px;
  height: 90px;
  width: 90px;
  background-image: url(../../../../assets/images/current-theme/testi-before.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 110px;
  content: "";
  opacity: 0;
  visibility: hidden;
  transform: scale(0);
  transition: all 300ms ease;
}
@media (prefers-reduced-motion: reduce) {
  .tm-sc-testimonials .testimonial-block-one .inner-box:after, .tm-sc-testimonials .testimonial-block-one .inner-box:before {
    transition: none;
  }
}
.tm-sc-testimonials .testimonial-block-one .inner-box:after {
  left: auto;
  right: -30px;
  top: auto;
  background-image: url(../../../../assets/images/current-theme/testi-before.png);
  bottom: -30px;
}
.tm-sc-testimonials .testimonial-block-one .inner-box:hover {
  box-shadow: 0 0px 15px rgba(0, 0, 0, 0.1);
  border: 4px solid var(--theme-color1);
}
.tm-sc-testimonials .testimonial-block-one .inner-box:hover:before, .tm-sc-testimonials .testimonial-block-one .inner-box:hover:after {
  transform: scale(1);
  opacity: 1;
  visibility: visible;
}