
/*------------------------------------------------------------------------
# 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 {
 --oltes21-base:#d82221;
}

.ol-testim-21 {
    position: relative;
    display: block;
    background: #ffffff;
    padding-left: 200px;
    min-height: 250px;
    width: 100%;
    margin: 0 auto;
}

.ol-testim-21 .img-holder {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    max-height: 250px;
    background: #f6f6f6;
    padding-top: 30px;
    z-index: 1;
    height: 100%;
}

.ol-testim-21 .img-holder .top-pattern-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background-color: #f5f5f5;
    background-image: url(thm-pattern-4.png);
    z-index: -1;
}

.ol-testim-21 .img-holder .bottom-pattern-bg {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    height: 60%;
    background-color:  var(--oltes21-base);
    background-image: url(thm-pattern-5.png);
    z-index: -1;
}

.ol-testim-21 .img-holder .img-box {
    position: relative;
    display: block;
    width: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 4px solid #ffffff;
    z-index: 1;
}

.ol-testim-21 .img-holder .img-box img {
    width: 100%;
}


.ol-testim-21 .img-holder .review-box {
    position: relative;
    display: block;
    text-align: center;
    margin-top: 20px;
}

.ol-testim-21 .img-holder .review-box ul {
    position: relative;
    display: block;
    overflow: hidden;
    padding: 0px;
}

.ol-testim-21 .img-holder .review-box ul li {
    display: inline-block;
    float: none;
    margin-right: 2px;
    text-align: center;
}

.ol-testim-21 .img-holder .review-box ul li:last-child {
    margin-right: 0;
}

.ol-testim-21 .img-holder .review-box ul li i {
    color: #ffffff;
    cursor: pointer;
}



.ol-testim-21 .text-holder {
    position: relative;
    display: block;
    min-height: 250px;
    padding-top: 38px;
    padding-left: 40px;
    padding-right: 40px;
    box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.1);
}

.ol-testim-21 .text-holder .top {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ol-testim-21 .text-holder .top .icon {
    position: relative;
    display: block;
}

.ol-testim-21 .text-holder .top .icon span {
    position: relative;
    display: block;
    line-height: 0px;
}

.ol-testim-21 .text-holder .top .icon span::before {
    position: relative;
    display: inline-block;
    color: #e0e0e0;
    font-size: 60px;
    line-height: 50px;
}

.ol-testim-21 .text-holder .top .name {
    position: relative;
    display: block;
    padding-left: 30px;
}

.ol-testim-21 .text-holder .top .name h3 {
    font-size: 20px;
    line-height: 26px;
    font-weight: 600;
}

.ol-testim-21 .text-holder .top .name span {
    color:  var(--oltes21-base);
    font-size: 16px;
    line-height: 26px;
}

.ol-testim-21 .text-holder .text {
    position: relative;
    display: block;
    padding-top: 13px;
}

.ol-testim-21 .text-holder .text p {
    margin: 0;
}
@media only screen and (max-width: 767px) {
 

    /*** Testimonials Style1 Area Css ***/
    .ol-testim-21 {
        padding-left: 0px;
        min-height: 250px;
        max-width: 570px;
        width: 100%;
        margin: 0 auto;
    }

    .ol-testim-21 .img-holder {
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        width: 200px;
        min-height: 250px;
        padding-top: 30px;
        margin: 0 auto;
    }

    .ol-testim-21 .img-holder .img-box {
        position: relative;
        display: block;
        width: 150px;
        border-radius: 50%;
        overflow: hidden;
        margin: 0 auto;
    }

    .ol-testim-21 .text-holder {
        min-height: 250px;
        padding-top: 38px;
        padding-left: 40px;
        padding-right: 40px;
        padding-bottom: 40px;
        text-align: center;
    }

    .ol-testim-21 .text-holder .top {
        align-items: center;
        flex-direction: column;
    }

    .ol-testim-21 .text-holder .top .name {
        margin-top: 15px;
        padding-left: 0px;
    }
 }


.ol-testim-21 .btn-style-one {
  border: 1px solid var(--oltes21-base);
  border-radius: 60px;
  overflow: hidden;
  padding: 4px 5.5px;
  padding-right: 27px;
  position: relative;
  color: var(--oltes21-base);
}
.ol-testim-21 .btn-style-one .icon {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: var(--oltes21-base);
  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;
}
.ol-testim-21 .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;
}
.ol-testim-21 .btn-style-one .icon i:first-child {
  -webkit-transform: translateX(5px);
          transform: translateX(5px);
  -webkit-transition-delay: 0s;
          transition-delay: 0s;
}
.ol-testim-21 .btn-style-one .icon i:last-child {
  -webkit-transform: translateX(-100px);
          transform: translateX(-100px);
  -webkit-transition-delay: 0s;
          transition-delay: 0s;
}
.ol-testim-21 .btn-style-one:before {
  background-color: var(--oltes21-base);
  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;
}
.ol-testim-21 .btn-style-one:hover {
  color: #fff;
}
.ol-testim-21 .btn-style-one:hover i:first-child {
  -webkit-transform: translateX(200px);
          transform: translateX(200px);
  -webkit-transition-delay: 0s;
          transition-delay: 0s;
}
.ol-testim-21 .btn-style-one:hover i:last-child {
  -webkit-transform: translateX(0);
          transform: translateX(0);
  -webkit-transition-delay: 0.1s;
          transition-delay: 0.1s;
}
.ol-testim-21 .btn-style-one .icon i svg {
  fill: #fff;
}
.ol-testim-21 .btn-style-one:hover:before {
  left: 11px;
  width: calc(100% - 16px);
}

.ol-testim-21 .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;
}
.ol-testim-21 .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;
}