/* STYLE2 CSS */
.demo {
  background: #6c6a6a;
  padding: 24px 34px;
}

.lrwp-testimonial-slider-style2 .testimonial {
  display: flex;
  align-items: center;
}
.testimonial .pic {
  width: 22%;
  padding: 20px 0;
  margin: 0 6% 0 2%;
  float: left;
  position: relative;
  z-index: 1;
}
.testimonial .pic:before,
.testimonial .pic:after {
  content: "";
  width: 130px;
  height: 150px;
  background: #e1c37d;
  position: absolute;
  z-index: -1;
}
.testimonial .pic:before {
  top: 0;
  right: -20px;
}
.testimonial .pic:after {
  bottom: 0;
  left: -20px;
}
.testimonial .pic img {
  width: 100%;
  height: auto;
  min-height: 300px;
  object-fit: cover;
  border: 3px solid #e1c37d;
}
.testimonial .testimonial-content {
  width: 70%;
  float: right;
  position: relative;
}
.lrwp-testimonial-slider-style2 .testimonial-content {
  align-self: center;
}
.testimonial .title {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
  padding-top: 0;
  padding-left: 15px;
}
.testimonial .post {
  display: block;
  font-size: 14px;
  font-weight: 400;
  line-height: 27px;
  color: #fff;
  text-transform: capitalize;
  margin-bottom: 25px;
  padding-left: 15px;
}
.testimonial .description {
  font-size: 16px;
  color: #fff;
  padding: 0 15px;
  margin: 0;
  position: relative;
}
.testimonial .description:before,
.testimonial .description:after {
  font-family: "FontAwesome";
  font-size: 17px;
  color: #e1c37d;
  position: relative;
}
.testimonial .description:before {
  content: "\f10d";
  margin-right: 5px;
  top: 0;
  left: 0;
}
.testimonial .description:after {
  content: "\f10e";
  margin-left: 5px;
  position: relative;
  bottom: 0;
  right: 0;
}
.owl-theme .owl-dots .owl-dot span {
  background: #fff;
  border: 2px solid #0c4767;
  opacity: 1;
}
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  border: 2px solid #fa7921;
}
.lrwp-testimonial-slider-style2.owl-theme .owl-dots {
  display: none !important;
}
.lrwp-testimonial-slider-style2.owl-theme .owl-nav {
  position: absolute;
  bottom: 30px;
  left: 30%;
}
.lrwp-testimonial-slider-style2.owl-theme .owl-nav button.owl-prev,
.lrwp-testimonial-slider-style2.owl-theme .owl-nav button.owl-next {
  margin: 0;
  padding: 0 8px !important;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 48px;
  line-height: 1;
  vertical-align: middle;
}
.lrwp-testimonial-slider-style2.owl-theme .owl-nav button.owl-next:before {
  content: "/";
  display: inline-block;
  margin: 0 18px 0 8px;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  vertical-align: middle;
  margin-top: 9px;
}
.lrwp-testimonial-slider-style2.owl-theme .owl-nav button.owl-prev:hover,
.lrwp-testimonial-slider-style2.owl-theme .owl-nav button.owl-next:hover {
  color: #e1c37d;
  background: transparent;
}
@media only screen and (max-width: 990px) {
  .demo {
    padding: 24px 0;
  }
  .lrwp-testimonial-slider-style2 {
    padding: 20px 20px 64px;
  }
  .lrwp-testimonial-slider-style2 .testimonial {
    display: block;
  }
  .testimonial {
    text-align: center;
  }
  .testimonial .pic {
    width: 200px;
    margin: 0 auto;
    float: none;
  }
  .testimonial .pic:before,
  .testimonial .pic:after {
    width: 80px;
    height: 100px;
  }
  .testimonial .testimonial-content {
    width: 100%;
    float: none;
  }
  .testimonial .title {
    padding: 35px 0 0 0;
  }
  .testimonial .post {
    padding: 0;
    margin-bottom: 10px;
  }
  .lrwp-testimonial-slider-style2.owl-theme .owl-nav {
    margin-top: 25px;
    margin-left: 0;
    padding-left: 0;
    text-align: center;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
  }
  .testimonial .pic img {
    min-height: 180px;
  }

  .owl-theme .owl-dots .owl-dot span {
    background: #fff;
    border: 2px solid #0c4767;
    opacity: 1;
  }
  .owl-theme .owl-dots .owl-dot.active span,
  .owl-theme .owl-dots .owl-dot:hover span {
    border: 2px solid #fa7921;
  }

  .lrwp-testimonial-slider-style2.owl-theme .owl-nav button.owl-prev,
  .lrwp-testimonial-slider-style2.owl-theme .owl-nav button.owl-next {
    font-size: 32px;
    padding: 0 !important;
  }

  .lrwp-testimonial-slider-style2.owl-theme .owl-nav button.owl-next:before {
    font-size: 25px;
    margin: 9px 8px 0 8px !important;
  }
}
