
/*------------------------------------------------------------------------
# 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 {
  --test33-gray: #878c8f;
  --test33-gray-rgb: 135, 140, 143;
  --test33-white: #ffffff;
  --test33-white-rgb: 255, 255, 255;
  --test33-base: #d82221;
  --test33-base-rgb: 216, 34, 33;
  --test33-black: #212226;
  --test33-black-rgb: 33, 34, 38;
  --test33-primary: #082060;
  --test33-primary-rgb: 8, 32, 96;
  --test33-extra: #f6f6f6;
  --test33-extra-rgb: 246, 246, 246;
}

.testimonial-two__single {
  position: relative;
  display: block;
  text-align: center;
  background-color: var(--test33-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(--test33-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(--test33-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(--test33-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(--test33-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(--test33-base);
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
}

.testimonial-two__single:hover .testimonial-two__quote span {
  color: var(--test33-white);
}

.testimonial-two__bottom .swiper-container .swiper-slide-active.swiper-slide .testimonial-two__quote span {
  color: var(--test33-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: #d0caca;
}

.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(--test33-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(--test33-white-rgb), .20);
}

.testimonial-two__bottom .swiper-container .swiper-slide-active.swiper-slide .testimonial-two__ratting {
  border: 2px solid rgba(var(--test33-white-rgb), .20);
}

.testimonial-two__ratting i {
  position: relative;
  display: inline-block;
  font-size: 16px;
  color: var(--test33-base);
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
}

.testimonial-two__single:hover .testimonial-two__ratting i {
  color: var(--test33-white);
}

.testimonial-two__bottom .swiper-container .swiper-slide-active.swiper-slide .testimonial-two__ratting i {
  color: var(--test33-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(--test33-base);
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
}

.testimonial-two__single:hover .testimonial-two__client-content p {
  color: var(--test33-white);
}

.testimonial-two__bottom .swiper-container .swiper-slide-active.swiper-slide .testimonial-two__client-content p {
  color: var(--test33-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(--test33-black);
}

.testimonial-two__single:hover .testimonial-two__client-content h3 {
  color: var(--test33-white);
}

.testimonial-two__bottom .swiper-container .swiper-slide-active.swiper-slide .testimonial-two__client-content h3 {
  color: var(--test33-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(--test33-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(--test33-white-rgb), .20);
}

.testimonial-two__bottom .swiper-container .swiper-slide-active.swiper-slide .testimonial-two__client-img::before {
  background-color: rgba(var(--test33-white-rgb), .20);
}

.testimonial-two__client-img img {
  width: 100%;
  border-top-left-radius: 40px;
}
