.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;
}

.testimonial-block-style2 {
  position: relative;
  z-index: 3;
}
.testimonial-block-style2 .inner-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 767.98px) {
  .testimonial-block-style2 .inner-box {
    flex-direction: column;
    align-items: flex-start;
  }
}
.testimonial-block-style2 .inner-box .image-box {
  position: relative;
  display: flex;
}
@media (max-width: 1199.98px) {
  .testimonial-block-style2 .inner-box .image-box {
    display: block;
    flex-shrink: 0;
    margin-right: 30px;
  }
}
@media (max-width: 767.98px) {
  .testimonial-block-style2 .inner-box .image-box {
    margin-right: 0;
  }
}
.testimonial-block-style2 .inner-box .image-box .image {
  position: relative;
  flex-shrink: 0;
  clip-path: polygon(31% 0, 100% 0, 69% 100%, 0% 100%);
}
@media (max-width: 1199.98px) {
  .testimonial-block-style2 .inner-box .image-box .image {
    clip-path: none;
  }
}
.testimonial-block-style2 .inner-box .image-box .image img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 300ms ease;
}
.testimonial-block-style2 .inner-box .image-box .image.two {
  margin-left: -80px;
}
@media (max-width: 1199.98px) {
  .testimonial-block-style2 .inner-box .image-box .image.two {
    display: none;
  }
}
.testimonial-block-style2 .inner-box .image-box .icon-quote {
  position: absolute;
  top: 70px;
  right: 0;
  width: 73px;
  height: 73px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  border-radius: 50%;
  color: var(--headings-color);
  background-color: var(--theme-color1);
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(../../../images/current-theme/icon-quote3.png);
}
@media (max-width: 1199.98px) {
  .testimonial-block-style2 .inner-box .image-box .icon-quote {
    top: 10px;
    right: 10px;
  }
}
.testimonial-block-style2 .inner-box .content {
  position: relative;
  max-width: 540px;
  padding-right: 30px;
}
@media (max-width: 1399.98px) {
  .testimonial-block-style2 .inner-box .content {
    max-width: 550px;
  }
}
@media (max-width: 1199.98px) {
  .testimonial-block-style2 .inner-box .content {
    max-width: 100%;
    padding-right: 0;
  }
}
.testimonial-block-style2 .inner-box .content .author-text {
  position: relative;
  color: var(--headings-color);
  font-size: 20px;
  line-height: 36px;
  margin-bottom: 12px;
}
@media (max-width: 575.98px) {
  .testimonial-block-style2 .inner-box .content .author-text {
    font-size: 16px;
    line-height: 30px;
    margin-top: 20px;
    margin-bottom: 0;
  }
}
.testimonial-block-style2 .inner-box .content .author-box {
  position: relative;
  display: flex;
}
.testimonial-block-style2 .inner-box .content .author-box .author-info {
  position: relative;
  padding-top: 19px;
}
.testimonial-block-style2 .inner-box .content .author-box .author-info .testimonial-name {
  position: relative;
  margin-top: 0;
  margin-bottom: 1px;
}
.testimonial-block-style2 .inner-box .content .author-box .author-info .rating-box {
  position: relative;
  display: flex;
  align-items: center;
}
.testimonial-block-style2 .inner-box .content .author-box .author-info .rating-box .testimonial-position {
  position: relative;
  display: block;
  color: #161616;
  margin-bottom: 0;
}
.testimonial-block-style2 .inner-box .content .author-box .author-info .rating-box .rating {
  position: relative;
  padding-left: 15px;
}
.testimonial-block-style2 .inner-box .content .author-box .author-info .rating-box .rating .star-rating {
  font-size: 12px;
  width: 7.6em;
  letter-spacing: 6px;
}
.testimonial-block-style2 .inner-box .content .author-box .author-info .rating-box .rating .star-rating span:before {
  color: #101010;
  font-weight: 600;
}