
/** testimonial-section **/

.testimonial-section{
  position: relative;
}

.testimonial-section .inner-container{
  position: relative;
  display: block;
  background: #fff;
  margin: 0px -60px;
  padding: 50px 60px 0px 60px;
}

.testimonial-section .owl-stage-outer{
  overflow: visible;
}

.testimonial-section .owl-item {
  opacity: 0;
  transition: all 500ms ease;
}

.testimonial-section .owl-item.active {
  opacity: 1;
}

.testimonial-block-one .inner-box{
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid #ecebe3;
  padding-bottom: 30px;
  transition: all 500ms ease;
}

.testimonial-block-one .inner-box:hover{
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

.testimonial-block-one .inner-box h4{
  position: relative;
  display: block;
  font-size: 20px;
  line-height: 30px;
  color: #fff;
  font-weight: 500;
  margin-bottom: 38px;
  padding: 17.5px 15px;
  z-index: 1;
  transition: all 500ms ease;
}

.testimonial-block-one .inner-box:hover h4{
  color: #22272b;
}

.testimonial-block-one .inner-box h4:before{
  position: absolute;
  content: '';
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  left: -1px;
  top: -1px;
  z-index: -1;
  transition: all 500ms ease;
}

.testimonial-block-one .inner-box h4:after{
  position: absolute;
  content: '';
  width: 20px;
  height: 20px;
  left: 50%;
  bottom: -7px;
  transform: translateX(-50%) rotate(45deg);
  z-index: -1;
  transition: all 500ms ease;
}

.testimonial-block-one .inner-box p{
  font-size: 16px;
  line-height: 28px;
  margin: 0 auto 31px auto;
  padding: 0 20px;
  font-style: italic;
}

.testimonial-block-one .inner-box .image-box{
  position: relative;
  display: inline-block;
  width: 92px;
  height: 92px;
  border: 1px solid #edece5;
  border-radius: 50%;
  background: #fff;
  padding: 10px;
  z-index: 1;
  transition: all 500ms ease;
}

.testimonial-block-one .inner-box .image-box img{
  width: 100%;
  border-radius: 50%;
}

.testimonial-block-one .inner-box .quote-box{
  position: absolute;
  left: 50%;
  bottom: 0px;
  transform: translateX(-50%);
}

/** testimonial-style-two **/

.testimonial-style-two{
  position: relative;
  padding: 120px 0px;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}

.testimonial-style-two:before{
  position: absolute;
  content: '';
  background: #1f2327;
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;
  opacity: 0.9;
}

.testimonial-style-two .testimonial-content .inner-box{
  position: relative;
  padding: 6px 0px 14px 300px;
  min-height: 237px;
}

.testimonial-style-two .testimonial-content .inner-box .image-box{
  position: absolute;
  left: 0px;
  top: 0px;
  width: 237px;
  height: 237px;
}

.testimonial-style-two .testimonial-content .inner-box .text h2{
  position: relative;
  display: block;
  font-size: 36px;
  line-height: 50px;
  color: #fff;
  font-weight: 300;
  margin-bottom: 37px;
}

.testimonial-style-two .testimonial-content .inner-box .text h3{
  font-size: 22px;
  line-height: 30px;
  font-weight: 700;
}