
/*====================
29. Testimonial css 
======================*/

.taxio-testimonial {
  position: relative;
  padding: 120px 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  z-index: 1;
}

.taxio-testimonial::before{
  content: "";
  position: absolute;
  background: rgba(0, 0, 0, .85);
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: -1;
}

.taxio-testimonial .site-heading {
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.taxio-testimonial .site-title-tagline {
  position: relative;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--title-font-family);
}

.taxio-testimonial .site-title-tagline::before{
  content: "";
  position: absolute;
  height: 10px;
  width: 100%;
  background: var(--color-primary);
  opacity: .2;
  left: -2px;
  bottom: 0;
}

.taxio-testimonial .site-title {
  text-transform: capitalize;
  color: white;
  margin-bottom: 0;
}

.taxio-testimonial .site-title span{
  color: var(--color-primary);
}

.taxio-testimonial .owl-stage {
  display: flex;
}

.taxio-testimonial .testimonial-single {
  height: calc(100% - 20px);
  margin-bottom: 20px;
  background: white;
  border-radius: 20px;
  padding: 25px 25px;
  z-index: 1;
}

.taxio-testimonial .testimonial-single::before{
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: 10px;
  top: 10px;
  border: 3px solid var(--color-primary);
  border-left: none;
  border-bottom: none;
  border-radius: 0 20px 0 0;
  transition: all .5s ease-in-out;
}

.taxio-testimonial .testimonial-single:hover::before{
  width: 80%;
  height: 80%;
}

.taxio-testimonial .testimonial-content{
  display: flex;
  align-items: center;
}

.taxio-testimonial .testimonial-quote {
  position: relative;
}

.taxio-testimonial .testimonial-quote p {
  color: var(--text-color-dark);
}

.taxio-testimonial .testimonial-author-info{
  flex: 1;
  margin: 15px 0 10px 0;
}

.taxio-testimonial .testimonial-author-img {
  margin-right: 10px;
  width: 70px;
  padding: 5px;
  border-radius: var(--button-radius);
  border: 3px solid var(--color-primary);
  border-top-color: transparent;
  border-bottom-color: transparent;
}

.taxio-testimonial .testimonial-author-img img {
  border-radius: 50%;
}

.taxio-testimonial .testimonial-author-info h4 {
  font-size: 18px;
}

.taxio-testimonial .testimonial-author-info p {
  color: var(--color-primary);
  font-weight: 500;
}

.taxio-testimonial .testimonial-quote-icon {
  position: absolute;
  right: 10px;
  bottom: -30px;
  line-height: 1;
  color: var(--color-primary);
  opacity: .2;
}
.taxio-testimonial .testimonial-quote-icon i {
  font-size: 120px;
}

.taxio-testimonial .owl-dots {
  text-align: center;
  margin-top: 30px;
}

.taxio-testimonial .owl-dots .owl-dot {
  display: inline-block;
}

.taxio-testimonial .owl-dots .owl-dot span {
  background: var(--color-primary);
  margin: 5px;
  border-radius: var(--button-radius);
  width: 8px;
  height: 8px;
  display: inline-block;
  transition: all .5s ease-in-out;
}

.taxio-testimonial .owl-dots .owl-dot.active span {
  background-color: var(--color-primary);
  width: 20px;
}

.taxio-testimonial .testimonial-rate {
  color: var(--color-primary);
  margin-top: 12px;
}

.taxio-testimonial .heading-divider {
  display: inline-block;
  position: relative;
  border: 3px solid var(--color-primary);
  width: 90px;
  height: 10px;
  border-radius: var(--button-radius);
}

.taxio-testimonial .heading-divider:after {
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  height: 7px;
  width: 15px;
  border-radius: var(--button-radius);
  background: var(--color-primary);
  -webkit-animation: heading-move 5s infinite linear;
  animation: heading-move 5s infinite linear;
}

@-webkit-keyframes heading-move {
  0% {
    transform: translateX(-1px);
  }
  50% {
    transform: translateX(72px);
  }
  100% {
    transform: translateX(-1px);
  }
}

@keyframes heading-move {
  0% {
    transform: translateX(-1px);
  }
  50% {
    transform: translateX(72px);
  }
  100% {
    transform: translateX(-1px);
  }
}