
/*------------------------------------------------------------------------
# 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 {
  --test29-gray: #878c8f;
  --test29-gray-rgb: 135, 140, 143;
  --test29-white: #ffffff;
  --test29-white-rgb: 255, 255, 255;
  --test29-base: #d82221;
  --test29-base-rgb: 216, 34, 33;
  --test29-black: #212226;
  --test29-black-rgb: 33, 34, 38;
  --test29-primary: #082060;
  --test29-primary-rgb: 8, 32, 96;
  --test29-extra: #f6f6f6;
  --test29-extra-rgb: 246, 246, 246;
}

.testimonial-two__single {
  position: relative;
  display: block;
  text-align: center;
  background-color: var(--test29-white);
  padding: 35px 30px 40px;
  border: 1px solid #f1f1f1;
  border-top-left-radius: 160px;
  transition: all 0.4s linear;
  z-index: 1;
}

.testimonial-two__single:hover {
  border-top-left-radius: 0px;
}

.testimonial-two__bottom .swiper-container .swiper-slide-active.swiper-slide .testimonial-two__single {
  border-top-left-radius: 0px;
}

.testimonial-two__single::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--test29-base);
  border-top-left-radius: 160px;
  transform: scaleX(0.7) rotateX(20deg);
  opacity: 0;
  transition: all 0.4s linear;
  z-index: -1;
}

.testimonial-two__single:hover::before {
  border-top-left-radius: 0px;
  transform: scaleX(1.0) rotateX(0deg);
  transition: all 0.4s linear;
  opacity: 1;
}

.testimonial-two__bottom .swiper-container .swiper-slide-active.swiper-slide .testimonial-two__single:before {
  border-top-left-radius: 0px;
  transform: scaleX(1.0) rotateX(0deg);
  transition: all 0.4s linear;
  opacity: 1;
}

.testimonial-two__quote {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 65px;
  border: 1px solid rgba(var(--test29-black-rgb), .15);
  margin: 0 auto;
  border-radius: 50%;
  border-top-right-radius: 0;
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
}

.testimonial-two__single:hover .testimonial-two__quote {
  border: 1px solid transparent;
  background-color: rgba(var(--test29-white-rgb), .10);
  border-radius: 0;
  border-top-right-radius: 32.5px;
  border-bottom-left-radius: 32.5px;
}

.testimonial-two__bottom .swiper-container .swiper-slide-active.swiper-slide .testimonial-two__quote {
  border: 1px solid transparent;
  background-color: rgba(var(--test29-white-rgb), .10);
  border-radius: 0;
  border-top-right-radius: 32.5px;
  border-bottom-left-radius: 32.5px;
}

.testimonial-two__quote span {
  position: relative;
  display: inline-block;
  font-size: 30px;
  color: var(--test29-base);
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
}

.testimonial-two__single:hover .testimonial-two__quote span {
  color: var(--test29-white);
}

.testimonial-two__bottom .swiper-container .swiper-slide-active.swiper-slide .testimonial-two__quote span {
  color: var(--test29-white);
}

.testimonial-two__text {
  margin-top: 27px;
  margin-bottom: 23px;
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
}

.testimonial-two__single:hover .testimonial-two__text {
  color: #fff;
}

.testimonial-two__bottom .swiper-container .swiper-slide-active.swiper-slide .testimonial-two__text {
  color: #d0caca;
}

.testimonial-two__ratting {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(var(--test29-black-rgb), .15);
  padding: 10px 23px 10px;
  gap: 9px;
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
}

.testimonial-two__single:hover .testimonial-two__ratting {
  border: 2px solid rgba(var(--test29-white-rgb), .20);
}

.testimonial-two__bottom .swiper-container .swiper-slide-active.swiper-slide .testimonial-two__ratting {
  border: 2px solid rgba(var(--test29-white-rgb), .20);
}

.testimonial-two__ratting i {
  position: relative;
  display: inline-block;
  font-size: 16px;
  color: var(--test29-base);
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
}

.testimonial-two__single:hover .testimonial-two__ratting i {
  color: var(--test29-white);
}

.testimonial-two__bottom .swiper-container .swiper-slide-active.swiper-slide .testimonial-two__ratting i {
  color: var(--test29-white);
}

.testimonial-two__client-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: end;
  margin-top: 35px;
}

.testimonial-two__client-content {
  position: relative;
  display: block;
  text-align: right;
  margin-right: 35px;
}

.testimonial-two__client-content p {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--test29-base);
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
}

.testimonial-two__single:hover .testimonial-two__client-content p {
  color: var(--test29-white);
}

.testimonial-two__bottom .swiper-container .swiper-slide-active.swiper-slide .testimonial-two__client-content p {
  color: var(--test29-white);
}

.testimonial-two__client-content h3 {
  font-size: 24px;
  font-weight: 400;
  line-height: 24px;
  margin-top: 2px;
}

.testimonial-two__client-content h3 {
  color: var(--test29-black);
}

.testimonial-two__single:hover .testimonial-two__client-content h3 {
  color: var(--test29-white);
}

.testimonial-two__bottom .swiper-container .swiper-slide-active.swiper-slide .testimonial-two__client-content h3 {
  color: var(--test29-white);
}

.testimonial-two__client-img {
  position: relative;
  display: block;
  width: 90px;
  z-index: 1;
}

.testimonial-two__client-img::before {
  content: "";
  position: absolute;
  bottom: -5px;
  right: -5px;
  top: 25px;
  left: 15px;
  background-color: var(--test29-base);
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
  z-index: -1;
}

.testimonial-two__single:hover .testimonial-two__client-img::before {
  background-color: rgba(var(--test29-white-rgb), .20);
}

.testimonial-two__bottom .swiper-container .swiper-slide-active.swiper-slide .testimonial-two__client-img::before {
  background-color: rgba(var(--test29-white-rgb), .20);
}

.testimonial-two__client-img img {
  width: 100%;
  border-top-left-radius: 40px;
}

.testimonial_29 .btn-style-one {
  border: 1px solid #222;
  border-radius: 60px;
  overflow: hidden;
  padding: 4px 5.5px;
  padding-right: 27px;
  position: relative;
  color: #222;
}
.testimonial_29 .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_29 .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_29 .btn-style-one .icon i:first-child {
  -webkit-transform: translateX(5px);
          transform: translateX(5px);
  -webkit-transition-delay: 0s;
          transition-delay: 0s;
}
.testimonial_29 .btn-style-one .icon i:last-child {
  -webkit-transform: translateX(-100px);
          transform: translateX(-100px);
  -webkit-transition-delay: 0s;
          transition-delay: 0s;
}
.testimonial_29 .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_29 .btn-style-one:hover {
  color: #fff;
}
.testimonial_29 .btn-style-one:hover i:first-child {
  -webkit-transform: translateX(200px);
          transform: translateX(200px);
  -webkit-transition-delay: 0s;
          transition-delay: 0s;
}
.testimonial_29 .btn-style-one:hover i:last-child {
  -webkit-transform: translateX(0);
          transform: translateX(0);
  -webkit-transition-delay: 0.1s;
          transition-delay: 0.1s;
}
.testimonial_29 .btn-style-one .icon i svg {
  fill: #fff;
}
.testimonial_29 .btn-style-one:hover:before {
  left: 11px;
  width: calc(100% - 16px);
}

.testimonial_29 .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;
  margin-top: 14px;
}
.testimonial_29 .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;
}