
/*------------------------------------------------------------------------
# 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
}
.tm-testimonials-box .testimonial-block-style2 .inner-box .read-more {
 position:relative;
 color:var(--test26-base);
 font-size:16px;
 font-weight:700;
 display:flex;
 transition:all .3s ease
}
.tm-testimonials-box .testimonial-block-style2 .inner-box .read-more:hover span {
 text-decoration:underline
}
.tm-testimonials-box .testimonial-block-style2 .inner-box .read-more i:before {
 transition:all .3s ease
}
.tm-testimonials-box .testimonial-block-style2 .inner-box .read-more span {
 position:relative;
 display:block;
 overflow:hidden;
 white-space:nowrap;
 transition:all .3s ease
}