﻿.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-style1 {
  margin-bottom: 30px;
  position: relative;
}
.testimonial-block-style1 .inner-box {
  position: relative;
  transition: all 300ms ease;
}
.testimonial-block-style1 .inner-box:hover .text,
.testimonial-block-style1 .inner-box:hover .name {
  color: var(--theme-color2);
}
.testimonial-block-style1 .inner-box:hover .info-box .thumb {
  transform: scaleX(-1);
}
.testimonial-block-style1 .content-box {
  position: relative;
}
.testimonial-block-style1 .content-box .icon {
  background-color: var(--theme-color1);
  color: var(--theme-color-white);
  display: inline-block;
  font-size: 48px;
  line-height: 40px;
  margin-left: 30px;
  position: relative;
  height: 80px;
  line-height: 80px;
  width: 80px;
  text-align: center;
  z-index: 1;
  transition: all 300ms ease;
}
.testimonial-block-style1 .content-box .author-text {
  background-color: var(--theme-color-white);
  border: 1px solid rgba(0, 0, 0, 0.1019607843);
  color: var(--text-color);
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  margin-bottom: 0;
  margin-right: 20px;
  margin-top: -35px;
  padding: 49px 30px 41px;
  position: relative;
  transition: all 300ms ease;
}
.testimonial-block-style1 .content-box .author-text:before {
  background-color: rgba(var(--theme-color1-rgb), 0.1);
  content: "";
  position: absolute;
  left: 20px;
  top: 20px;
  height: 100%;
  width: 100%;
  z-index: -1;
}
.testimonial-block-style1 .info-box {
  align-items: center;
  display: flex;
  margin-top: 50px;
  position: relative;
}
.testimonial-block-style1 .info-box .thumb {
  border-radius: 50%;
  height: 70px;
  margin: 0 15px 0 0;
  overflow: hidden;
  transition: all 300ms ease;
  width: 70px;
}
@media (max-width: 575.98px) {
  .testimonial-block-style1 .info-box .thumb {
    display: inline-block;
    left: 0;
    margin-bottom: 0px;
    position: relative;
    top: 0;
  }
}
.testimonial-block-style1 .info-box .testimonial-name {
  color: var(--headings-color);
  margin: 0px;
  transition: all 300ms ease;
}
.testimonial-block-style1 .info-box .designation {
  color: var(--text-color);
  display: block;
  line-height: 1;
  margin-bottom: 3px;
  transition: all 300ms ease;
}