.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;
}

.testimonial-section-five {
  position: relative;
}
.testimonial-section-five .inner-box {
  position: relative;
  padding: 45px 65px 40px;
  padding-right: 30px;
}
@media (max-width: 767.98px) {
  .testimonial-section-five .inner-box {
    padding: 15px;
  }
}
.testimonial-section-five .inner-box:hover .image-box .icon {
  background-color: #fff;
  color: var(--theme-color2);
}
.testimonial-section-five .inner-box:hover .image-box .author-thumb img {
  border-top-right-radius: 0;
}
.testimonial-section-five .inner-box:hover .content-box {
  background-color: var(--theme-color2);
}
.testimonial-section-five .inner-box:hover .content-box .name,
.testimonial-section-five .inner-box:hover .content-box .author-text {
  color: #8c8f94;
}
.testimonial-section-five .image-box {
  position: absolute;
  left: 40px;
  top: 0;
  z-index: 2;
}
@media (max-width: 767.98px) {
  .testimonial-section-five .image-box {
    position: relative;
    left: 0;
    max-width: 100%;
  }
}
.testimonial-section-five .image-box .icon {
  position: absolute;
  right: 11px;
  bottom: 11px;
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--theme-color2);
  border-radius: 50%;
  font-size: 14px;
  color: #ffffff;
  transition: all 300ms ease;
}
.testimonial-section-five .image-box .author-thumb {
  position: relative;
  display: block;
}
@media (max-width: 767.98px) {
  .testimonial-section-five .image-box .author-thumb {
    margin-bottom: 0;
  }
}
.testimonial-section-five .image-box .author-thumb:before {
  position: absolute;
  right: 10px;
  top: 10px;
  height: 100%;
  width: 100%;
  border-radius: 70px 70px 70px 0;
  background-color: var(--theme-color1);
  content: "";
  z-index: -1;
}
@media (max-width: 767.98px) {
  .testimonial-section-five .image-box .author-thumb:before {
    display: none;
  }
}
.testimonial-section-five .image-box .author-thumb img {
  border-radius: 70px 70px 70px 0;
  transition: all 300ms ease;
  width: 240px;
}
@media (max-width: 767.98px) {
  .testimonial-section-five .image-box .author-thumb img {
    border-radius: 40px 40px 0 0;
    width: 100%;
  }
}
.testimonial-section-five .content-box {
  position: relative;
  display: block;
  background-color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  padding: 35px 40px 35px 50px;
  border-radius: 0 90px 0 90px;
  transition: all 300ms ease;
}
@media (max-width: 767.98px) {
  .testimonial-section-five .content-box {
    padding: 30px 30px 40px;
    border-radius: 0 0 0 40px;
  }
}
.testimonial-section-five .content-box:before {
  position: absolute;
  right: -10px;
  top: 10px;
  height: 100%;
  width: 100%;
  border-radius: 0 90px 0 90px;
  background-image: url(../../../images/current-theme/icon-lines-4.png);
  content: "";
  z-index: -1;
}
.testimonial-section-five .content-box .info-box {
  position: relative;
  padding-left: 200px;
  margin-bottom: 60px;
}
@media (max-width: 767.98px) {
  .testimonial-section-five .content-box .info-box {
    padding-left: 0;
    text-align: center;
    margin-bottom: 20px;
  }
}
.testimonial-section-five .content-box .info-box .star-rating {
  margin-bottom: 15px;
}
@media (max-width: 767.98px) {
  .testimonial-section-five .content-box .info-box .star-rating {
    margin: 0 auto 15px;
  }
}
.testimonial-section-five .content-box .info-box .star-rating span:before {
  color: var(--theme-color1);
  margin-bottom: 12px;
}
.testimonial-section-five .content-box .name {
  margin-bottom: 2px;
  transition: all 300ms ease;
}
.testimonial-section-five .content-box .job-position {
  position: relative;
  text-transform: uppercase;
  display: block;
  font-size: 11px;
  color: #808287;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0.1em;
  transition: all 300ms ease;
}
.testimonial-section-five .content-box .author-text {
  position: relative;
  text-align: right;
  transition: all 300ms ease;
}
@media (max-width: 767.98px) {
  .testimonial-section-five .content-box .author-text {
    text-align: center;
  }
}