
/*------------------------------------------------------------------------
# mod_ol_testimonials Extension
# ------------------------------------------------------------------------
# author    olwebdesign
# copyright Copyright (C) 2020 olwebdesign.com. All Rights Reserved.
# @license - http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
# Websites: http://www.olwebdesign.com
-------------------------------------------------------------------------*/
:root {
  --test26-base: #e40013;
}
.testimonials {
    position: relative;
    overflow: hidden;
}
.tm-testimonials-box .star-rating {
 float:right;
 overflow:hidden;
 position:relative;
 height:1.1em;
 line-height:1.2;
 font-size:.9em;
 width:5.6em
}

.tm-testimonials-box .star-rating span:before {
 color:var(--test26-base)
}
.tm-testimonials-box .author-text,
.tm-testimonials-box .name,
.tm-testimonials-box .job-position {
 transition:all .3s ease-in-out
}
.tm-testimonials-box .star-rating span:before {
 transition:all .3s ease-in-out
}
.tm-testimonials-box .testimonial-block-style2 .inner-box {
 position:relative;
 padding:0 32px;
 background-color:#faf8f7;
 margin-top:50px
}

@media (max-width:1199.98px) {
 .tm-testimonials-box .testimonial-block-style2 .inner-box {
  padding:0 20px
 }
}
@media (max-width:575.98px) {
 .tm-testimonials-box .testimonial-block-style2 .inner-box {
  padding:0 15px
 }
}
.tm-testimonials-box .testimonial-block-style2 .inner-box:before {
 content:"";
 position:absolute;
 left:0;
 top:0;
 height:100%;
 width:100%;
 left:30px;
 width:100px;
 height:143px;
 opacity:0;
 border-radius:100px;
 background-color:var(--test26-base);
 transition:all .3s ease
}
.tm-testimonials-box .testimonial-block-style2 .inner-box:hover:before {
 width:100%;
 height:100%;
 opacity:1;
 left:0;
 border-radius:0;
 transition-delay:.1s
}
.tm-testimonials-box .testimonial-block-style2 .inner-box:hover .author-box .image-box:before {
 height:100%
}
.tm-testimonials-box .testimonial-block-style2 .inner-box:hover .author-box .author-info .testimonial-name,
.tm-testimonials-box .testimonial-block-style2 .inner-box:hover .author-box .author-info .testimonial-position,
.tm-testimonials-box .testimonial-block-style2 .inner-box:hover .read-more span {
 color:#fff
}

.tm-testimonials-box .testimonial-block-style2 .inner-box:hover .content .author-text, .tm-testimonials-box .testimonial-block-style2 .inner-box:hover .author-box .author-info .stars .rate {
 color:#fff
}
.tm-testimonials-box .testimonial-block-style2 .inner-box:hover .content .author-text:before,
.tm-testimonials-box .testimonial-block-style2 .inner-box:hover .content .author-text:after {
 background-image:url(icon-quote-3.png)
}
.tm-testimonials-box .testimonial-block-style2 .inner-box .icon-quote {
 position:relative;
 margin-bottom:35px
}
.tm-testimonials-box .testimonial-block-style2 .inner-box .author-box {
 position:relative;
 display:flex;
 align-items:center;
 padding-top:30px;
 padding-left:127px
}
@media (max-width:575.98px) {
 .tm-testimonials-box .testimonial-block-style2 .inner-box .author-box {
  padding-left:108px
 }
}
.tm-testimonials-box .testimonial-block-style2 .inner-box .author-box .image-box {
 position:absolute;
 top:-50px;
 left:0;
 display:flex;
 align-items:center;
 flex-direction:column;
 padding:10px 10px 38px;
 overflow:hidden;
 border-radius:100px;
 background-color:var(--test26-base)
}
.tm-testimonials-box .testimonial-block-style2 .inner-box .author-box .image-box:before {
 content:"";
 position:absolute;
 left:0;
 top:0;
 height:100%;
 width:100%;
 height:0;
 border-radius:100px;
 background-color:#bf0027;
 transition:all .3s ease
}
.tm-testimonials-box .testimonial-block-style2 .inner-box .author-box .image-box .author-image {
 position:relative;
 display:block;
 margin-bottom:20px
}
.tm-testimonials-box .testimonial-block-style2 .inner-box .author-box .image-box .author-image img {
 max-width:80px;
 border-radius:50%
}
.tm-testimonials-box .testimonial-block-style2 .inner-box .author-box .image-box .icon-quotes {
 position:relative;
 z-index:3;
 width:53px;
 height:41px;
 background-image:url(icon-quotes.png)
}
.tm-testimonials-box .testimonial-block-style2 .inner-box .author-box .author-info .testimonial-name {
 position:relative;
 font-size:18px;
 font-weight:700;
 letter-spacing:-.36px;
 margin-top:0;
 margin-bottom:0;
 transition:all .3s ease
}
.tm-testimonials-box .testimonial-block-style2 .inner-box .author-box .author-info .testimonial-position {
 position:relative;
 margin-bottom:0;
 transition:all .3s ease
}
.tm-testimonials-box .testimonial-block-style2 .inner-box .author-box .author-info .stars {
 position:relative;
 display:flex;
 align-items:center;
 transition:all .3s ease
}
.tm-testimonials-box .testimonial-block-style2 .inner-box .author-box .author-info .stars .rate {
 color:var(--test26-base);
}

.tm-testimonials-box .testimonial-block-style2 .inner-box .content {
 position:relative;
 padding:60px 0 40px 10px
}
@media (max-width:1199.98px) {
 .tm-testimonials-box .testimonial-block-style2 .inner-box .content {
  padding-top:30px
 }
}
.tm-testimonials-box .testimonial-block-style2 .inner-box .author-text {
 position:relative;
 display:inline-block;
 font-size:18px;
 line-height:29px;
 transition:all .3s ease
}
.tm-testimonials-box .testimonial-block-style2 .inner-box .author-text:first-letter {
 margin-left:20px
}
@media (max-width:1199.98px) {
 .tm-testimonials-box .testimonial-block-style2 .inner-box .author-text {
  font-size:18px;
  line-height:32px
 }
}
@media (max-width:575.98px) {
 .tm-testimonials-box .testimonial-block-style2 .inner-box .author-text {
  font-size:16px;
  line-height:30px
 }
}
.tm-testimonials-box .testimonial-block-style2 .inner-box .author-text:before {
 content:"";
 position:absolute;
 top:-10px;
 left:-18px;
 width:16px;
 height:12px;
 background-image:url(icon-quote-4.png);
 transition:all .3s ease
}
.tm-testimonials-box .testimonial-block-style2 .inner-box .author-text:after {
 content:"";
 position:absolute;
 bottom:0;
 right:-8px;
 width:16px;
 height:12px;
 background-image:url(icon-quote-4.png);
 transition:all .3s ease
}


.testimonial_26 .btn-style-one {
  border: 1px solid #222;
  border-radius: 60px;
  overflow: hidden;
  padding: 4px 5.5px;
  padding-right: 27px;
  position: relative;
  color: #222;
}
.testimonial_26 .btn-style-one .icon {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: #222;
  color: #fff;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 45px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  overflow: hidden;
  width: 45px;
  z-index: 1;
  -webkit-transition: all 400ms ease;
  transition: all 400ms ease;
}
.testimonial_26 .btn-style-one .icon i {
  -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
  transition: -webkit-transform 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
  transition: transform 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
  transition: transform 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86), -webkit-transform 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
  width: 10px;
}
.testimonial_26 .btn-style-one .icon i:first-child {
  -webkit-transform: translateX(5px);
          transform: translateX(5px);
  -webkit-transition-delay: 0s;
          transition-delay: 0s;
}
.testimonial_26 .btn-style-one .icon i:last-child {
  -webkit-transform: translateX(-100px);
          transform: translateX(-100px);
  -webkit-transition-delay: 0s;
          transition-delay: 0s;
}
.testimonial_26 .btn-style-one:before {
  background-color: #222;
  bottom: 10px;
  border-radius: 50px;
  content: "";
  height: 45px;
  left: 5.5px;
  position: absolute;
  right: 5.5px;
  top: 4px;
  width: 45px;
  z-index: 0;
  -webkit-transition: all 400ms ease;
  transition: all 400ms ease;
}
.testimonial_26 .btn-style-one:hover {
  color: #fff;
}
.testimonial_26 .btn-style-one:hover i:first-child {
  -webkit-transform: translateX(200px);
          transform: translateX(200px);
  -webkit-transition-delay: 0s;
          transition-delay: 0s;
}
.testimonial_26 .btn-style-one:hover i:last-child {
  -webkit-transform: translateX(0);
          transform: translateX(0);
  -webkit-transition-delay: 0.1s;
          transition-delay: 0.1s;
}
.testimonial_26 .btn-style-one .icon i svg {
  fill: #fff;
}
.testimonial_26 .btn-style-one:hover:before {
  left: 11px;
  width: calc(100% - 16px);
}

.testimonial_26 .theme-btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  gap: 8px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  white-space: nowrap;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}
.testimonial_26 .theme-btn .btn-title {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}