.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-skin-style2 {
  padding-bottom: 28px;
}
@media (max-width: 1399px) {
  .testimonial-skin-style2 {
    padding-bottom: 35px;
  }
}
.testimonial-skin-style2 .text-holder {
  background-color: #f9f9f9;
  padding: 40px 52px;
  position: relative;
  margin-bottom: 0;
  z-index: 1;
  transition: all 0.5s;
}
@media (prefers-reduced-motion: reduce) {
  .testimonial-skin-style2 .text-holder {
    transition: none;
  }
}
@media (max-width: 767.98px) {
  .testimonial-skin-style2 .text-holder {
    padding: 30px 30px;
  }
}
.testimonial-skin-style2 .text-holder:before {
  content: "";
  position: absolute;
  border-style: solid;
  border-color: #f9f9f9 transparent transparent transparent;
  border-width: 120px 120px 0 0;
  bottom: -117px;
  left: 0;
  transition: all 0.5s;
}
@media (prefers-reduced-motion: reduce) {
  .testimonial-skin-style2 .text-holder:before {
    transition: none;
  }
}
.testimonial-skin-style2 .text-holder:after {
  content: "";
  position: absolute;
  border-style: solid;
  border-width: 120px 120px 0 0;
  bottom: -120px;
  left: 0;
  z-index: -1;
  transition: all 0.5s;
  border-color: var(--theme-color1) transparent transparent transparent;
}
@media (prefers-reduced-motion: reduce) {
  .testimonial-skin-style2 .text-holder:after {
    transition: none;
  }
}
.testimonial-skin-style2 .text-holder .author-text {
  transition: all 0.5s;
  position: relative;
  font-style: normal;
}
@media (prefers-reduced-motion: reduce) {
  .testimonial-skin-style2 .text-holder .author-text {
    transition: none;
  }
}
.testimonial-skin-style2 .text-holder .author-text:before {
  content: "";
  opacity: 0.4;
  background-image: url(../../../images/current-theme/testimonial-quote-icon.png);
  background-repeat: no-repeat;
  width: 120px;
  height: 120px;
  position: absolute;
  right: 0;
  bottom: -30px;
  z-index: -1;
}
.testimonial-skin-style2 .text-holder .icon {
  position: absolute;
  bottom: 52px;
  right: 74px;
  z-index: -1;
}
.testimonial-skin-style2 .text-holder .icon .icon-img {
  opacity: 0.8;
  transition: all 0.5s;
}
@media (prefers-reduced-motion: reduce) {
  .testimonial-skin-style2 .text-holder .icon .icon-img {
    transition: none;
  }
}
.testimonial-skin-style2 .author-details {
  padding-left: 30px;
  padding-top: 24px;
  position: relative;
  z-index: 1;
}
.testimonial-skin-style2 .author-details .image-holder {
  width: 90px;
  display: table-cell;
  vertical-align: middle;
  margin: 0;
  padding-right: 15px;
}
.testimonial-skin-style2 .author-details .author-info-holder {
  padding-top: 12px;
  display: table-cell;
  vertical-align: middle;
}
.testimonial-skin-style2 .author-details .author-info-holder .name {
  line-height: 1;
  margin-top: 0;
  margin-bottom: 5px;
}
.testimonial-skin-style2 .author-details .author-info-holder .job-position {
  color: #616870;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.testimonial-skin-style2:hover .text-holder {
  background: var(--theme-color1);
}
.testimonial-skin-style2:hover .text-holder:before {
  border-color: var(--theme-color1) transparent transparent transparent;
}
.testimonial-skin-style2:hover .text-holder:after {
  border-color: var(--theme-color2) transparent transparent transparent;
}
.testimonial-skin-style2:hover .text-holder .author-text {
  color: var(--text-color-bg-theme-color1);
}
.testimonial-skin-style2:hover .text-holder .author-text:before {
  opacity: 0.2;
  transition: all 0.5s;
}
@media (prefers-reduced-motion: reduce) {
  .testimonial-skin-style2:hover .text-holder .author-text:before {
    transition: none;
  }
}
.testimonial-skin-style2:hover .text-holder .icon .icon-img {
  opacity: 0.2;
}

@media (max-width: 1699px) {
  .tm-testimonials-carousel .owl-stage {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}