.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-style3 {
  margin-bottom: 30px;
  position: relative;
}
.testimonial-block-style3 .inner-content {
  padding: 40px 35px 80px;
  -ms-box-shadow: 0 1px 20px 0px rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 20px 0px rgba(0, 0, 0, 0.08);
  position: relative;
  border: 2px solid #fff;
  background-color: var(--theme-color-white);
  transition: all 300ms ease;
}
body.tm-dark-layout .testimonial-block-style3 .inner-content {
  border-color: #1b1b1b;
}
.testimonial-block-style3 .inner-content:before {
  position: absolute;
  content: "";
  width: 40px;
  height: 20px;
  clip-path: polygon(51% 100%, 0 0, 100% 0);
  background-color: var(--theme-color-white);
  -ms-box-shadow: 0 1px 20px 0px rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 20px 0px rgba(0, 0, 0, 0.08);
  left: 68%;
  bottom: -18px;
  z-index: 2;
  transition: all 300ms ease;
}
.testimonial-block-style3 .inner-content:after {
  position: absolute;
  content: "";
  width: 40px;
  height: 20px;
  clip-path: polygon(51% 100%, 0 0, 100% 0);
  background-color: var(--theme-color-light);
  -ms-box-shadow: 0 1px 20px 0px rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 20px 0px rgba(0, 0, 0, 0.08);
  left: 68%;
  bottom: -20px;
  z-index: 1;
  transition: all 300ms ease;
}
.testimonial-block-style3 .inner-content .rating {
  background-color: var(--theme-color1);
  padding: 10px 0px 10px 40px;
  position: absolute;
  left: 0;
  bottom: -1px;
  clip-path: polygon(0 0, 80% 0%, 100% 100%, 0% 100%);
  width: 69%;
  transition: all 300ms ease;
  font-size: 12px;
  color: #fff;
  margin-bottom: 0;
}
.testimonial-block-style3 .inner-content .rating .star-rating {
  font-size: 14px;
  width: 7.6em;
  letter-spacing: 6px;
  margin-bottom: 5px;
}
.testimonial-block-style3 .inner-content .rating .star-rating:before {
  color: #fff;
}
.testimonial-block-style3 .inner-content .rating .star-rating span:before {
  color: #fff;
  font-weight: 600;
}
.testimonial-block-style3 .inner-content .rating i {
  margin-right: 5px;
}
.testimonial-block-style3 .inner-content .testi-quote {
  bottom: 40px;
  position: absolute;
  right: 40px;
}
.testimonial-block-style3 .inner-content .testi-quote i {
  color: #f1f1f1;
  font-size: 50px;
}
body.tm-dark-layout .testimonial-block-style3 .inner-content .testi-quote i {
  color: #1b1b1b;
}
.testimonial-block-style3 .img-content .testi-holder {
  margin-left: 15px;
}
.testimonial-block-style3 .img-content .testi-holder .testimonial-name {
  margin-top: 0;
  margin-bottom: 0;
}
.testimonial-block-style3:hover .inner-content {
  border: 2px solid var(--theme-color1);
}
.testimonial-block-style3:hover .inner-content:after {
  background-color: var(--theme-color1);
}
.testimonial-block-style3:hover .inner-content .rating {
  background-color: var(--theme-color1);
}
.testimonial-block-style3 .img-content {
  padding: 30px 40px;
}
.testimonial-block-style3 .img-content img {
  border-radius: 5px;
}
.testimonial-block-style3 .img-content .testi-holder h5 {
  color: var(--theme-color2);
  font-weight: 700;
}