/* =============================================
----------------  13.Testimonilas  -------------
==============================================*/
.testimonial-slider .testimonial,
.testimonial-carousel .testimonial,
.testimonial-carousel2 .testimonial { margin-bottom: 0; }
.testimonial-slider.dots-inside .owl-dots { margin:0; position: absolute; left:0; right:0; bottom:25px; }
.testimonial-slider,
.testimonial { position: relative; margin-bottom: 50px; }
.testimonial figure { width:80px; height:80px; float:left; margin-top:10px; }
.testimonial figure  img { border-radius: 50%; transition: all 0.55s ease; -webkit-transition: all 0.55s ease; display: block; width:100%; height:auto; }
.testimonial-content { margin-left: 110px; padding-left:25px; border-left:1px solid #e1e1e1; position: relative; padding-top:10px; padding-bottom: 10px; }
.testimonial-content:after,
.testimonial-content:before { content:''; position: absolute; right:100%; top:35px; width: 0; height: 0; border-style: solid; border-width: 15px 15px 15px 0; border-color: transparent #e1e1e1 transparent transparent; }
.testimonial-content:after { margin-right: -1px; border-color: transparent #fff transparent transparent; }
.testimonial-content h4,
.testimonial-content h5 { font-size:14px; font-weight: 600; margin-bottom: 10px; }
.testimonial-content h4 a,
.testimonial-content h5 a { font-size: 13px; font-weight: 500; }
.testimonial:hover figure img { transform:scale(1.15); -webkit-transform:scale(1.15); -ms-transform:scale(1.15); }
.testimonial-slider .testimonial:hover figure img { transform:scale(1); -webkit-transform:scale(1); -ms-transform:scale(1); }
.testimonial.reverse figure { float:right; }
.testimonial.reverse .testimonial-content { margin-left: 0; padding-left:0; margin-right: 110px; padding-right:25px; border-left:none; border-right: 1px solid #e1e1e1; text-align: right; }
.testimonial.reverse .testimonial-content:after,
.testimonial.reverse .testimonial-content:before { left:100%; top:35px; border-width: 15px 0 15px 15px; border-color: transparent transparent transparent #e1e1e1; }
.testimonial.reverse .testimonial-content:after { margin-right: 0; margin-left: -1px; border-color: transparent transparent transparent #fff; }
/* Vertical Align */
.testimonial.testimonial-vertical figure { float:none; margin:0 0 0 10px; }
.testimonial.testimonial-vertical.reverse figure { float:right; margin:0 10px 0 0; }
.testimonial.testimonial-vertical .testimonial-content,
.testimonial.testimonial-vertical.reverse .testimonial-content  { border-left:none; border-right:none; padding:25px; margin:0 0 30px; border:1px solid #e1e1e1; }
.testimonial.testimonial-vertical .testimonial-content:after,
.testimonial.testimonial-vertical .testimonial-content:before,
.testimonial.testimonial-vertical.reverse .testimonial-content:after,
.testimonial.testimonial-vertical.reverse .testimonial-content:before { top:100%; left:35px; right:auto; border-width: 15px 15px 0 15px; border-color: #e1e1e1 transparent transparent transparent; }
.testimonial.testimonial-vertical.reverse .testimonial-content:after,
.testimonial.testimonial-vertical.reverse .testimonial-content:before { left:auto; right:35px; }
.testimonial.testimonial-vertical .testimonial-content:after,
.testimonial.testimonial-vertical.reverse .testimonial-content:after { margin-top:-1px; border-top-color:#fff; }
.border-dark .testimonial-content { border-color:#2a2a2a; }
.border-dark .testimonial-content:after,
.bg-dark .testimonial-content:after { border-right-color: #2a2a2a; }
.border-dark .testimonial-content:after { margin-right: 0; }
.border-dark .testimonial.reverse .testimonial-content:after,
.bg-dark .testimonial.reverse .testimonial-content:after { border-left-color:#2a2a2a; }
.bg-lightgray .testimonial-content:after { border-right-color: #f2f2f2; }
.bg-lightgray .testimonial.reverse .testimonial-content:after { border-left-color:#f2f2f2; }
.bg-lightergray .testimonial-content:after { border-right-color: #fafafa; }
.bg-lightergray .testimonial.reverse .testimonial-content:after { border-left-color:#fafafa; }
.bg-darkgray .testimonial-content:after { border-right-color: #b7b7b7; }
.bg-darkgray .testimonial.reverse .testimonial-content:after { border-left-color:#b7b7b7; }
/* vertical */
.bg-dark .testimonial-vertical .testimonial-content:after,
.bg-dark .testimonial-vertical.reverse .testimonial-content:after { border-top-color: #2a2a2a; }
.bg-lightgray .testimonial-vertical .testimonial-content:after,
.bg-lightgray .testimonial-vertical.reverse .testimonial-content:after  { border-top-color: #f2f2f2; }
.bg-lightergray .testimonial-vertical .testimonial-content:after,
.bg-lightergray .testimonial-vertical.reverse .testimonial-content:after { border-top-color: #fafafa; }
.bg-darkgray .testimonial-vertical .testimonial-content:after,
.bg-darkgray .testimonial-vertical.reverse .testimonial-content:after { border-top-color: #b7b7b7; }
@media (max-width: 520px) { .testimonial figure { width:50px; height:50px; }
    .testimonial-content { margin-left: 70px; padding-left: 20px; }
    .testimonial-content:after,
    .testimonial-content:before { top:25px; border-width: 10px 10px 10px 0; }
    .testimonial.reverse .testimonial-content { margin-right: 70px; padding-right: 20px; }
    .testimonial.reverse .testimonial-content:after,
    .testimonial.reverse .testimonial-content:before { top:25px; border-width: 10px 0 10px 10px; }
    .testimonial.testimonial-vertical .testimonial-content,
    .testimonial.testimonial-vertical.reverse .testimonial-content  { padding:20px; margin:0 0 25px; }
    .testimonial.testimonial-vertical .testimonial-content:after,
    .testimonial.testimonial-vertical .testimonial-content:before,
    .testimonial.testimonial-vertical.reverse .testimonial-content:after,
    .testimonial.testimonial-vertical.reverse .testimonial-content:before { left:25px; border-width: 10px 10px 0 10px; }
    .testimonial.testimonial-vertical.reverse .testimonial-content:after,
    .testimonial.testimonial-vertical.reverse .testimonial-content:before { left:auto; right:25px; }
}
