/* TESTIMONIALS */
.b-author {
    float: right;
    display: block;
    text-align: right;
}

.b-author img {
    width: 90px;
    height: 90px;
    margin-left: 5px;
    border-radius: 45px;
    float: right;
}

.b-author p {
    float: left;
    margin: 0;
    font-size: 17px;
    color: #393939;
    margin-top: 22px;
    margin-right: 10px;
    font-weight: 400;
}

.b-author span {
    color: #797979;
    letter-spacing: 0;
    font-size: 14px;
    font-weight: 300;
}

.testimonial-content p {
    margin: 12px;
    color: #444;
    line-height: 1.7;
    font-size: 21px;
    padding: 10px 0;
    background: #fff;
}

.testimonial-arrow {
    position: absolute;
    width: 11px;
    height: 6px;
    bottom: -6px;
    right: 110px;
}

.testimonial {
    margin-bottom: 20px;
    clear: both;
    min-width: 220px;
}

@media only screen and (min-width: 768px) {
    .testimonial {
        min-width: 1px;
    }
}

.testimonial-content {
    padding: 10px;
    position: relative;
    border: 2px solid #e3e3e3;
    border-radius: 5px;
    margin: 5px 0;
}

.container .testimonial-content p {
    margin: 6px;
}

.testimonial-content h4 {
    padding: 1px 10px;
    line-height: 1.22;
    color: #595959;
    margin-top: 5px;
}

.testimonial-content h4 q {
    font-size: 17px;
    font-weight: 300;
    color: #525252;
}

.testimonial-arrow {
    position: absolute;
    width: 127px;
    height: 14px;
    right: 0px;
    bottom: -14px;
}

.testimonial-arrow:after,
.testimonial-arrow:before {
    content: '';
    display: block;
    position: absolute;
    width: 0;
    left: 0;
    height: 0;
    border-style: solid;
    border-width: 10px;
}

.testimonial-arrow:after {
    top: 0px;
    border-color: #fdfdfd transparent transparent transparent;
}

.testimonial-arrow:before {
    top: 0px;
    border-color: #e3e3e3 transparent transparent transparent;
}

.testimonial-brand {
    position: relative;
    margin: 12px 16px 8px 0px;
    min-height: 50px;
}

.testimonial-brand img {
    width: 60px;
    height: 60px;
    border-radius: 35px;
    float: right;
    margin-left: 2px;
    margin-right: 15px;
    color: transparent;
    background: #c5c5c5 url(../../../images/avatr1.png) no-repeat center;
}

.testimonial-brand h5 {
    float: right;
    clear: left;
    margin: 15px;
    margin-right: 10px;
    font-size: 15px;
    color: #393939;
    font-weight: 400;
}

.testimonial-brand h5 strong {
    font-weight: 600;
    letter-spacing: 0.2px;
}

.testimonial-brand h5 em {
    color: #797979;
    letter-spacing: 0;
    font-size: 13px;
    font-weight: 300;
    font-style: normal;
}

.blox.dark .testimonial-content {
    background: none;
    border: none;
}

.blox.dark .testimonial-content h4 q {
    font-size: 20px;
}

.blox.dark .testimonial-brand h5 {
    font-size: 14px;
    float: none;
    margin: 10px auto;
}

.blox.dark .testimonial-brand h5 strong {
    color: #437df9;
}

.blox.dark .testimonial-brand img {
    border: none;
}

/* Testimonal Type 2 */

.testimonial2 {
    position: relative;
    margin: 20px 0;
}

.testimonial2 img {
    float: left;
    width: 130px;
    height: 130px;
    margin-right: 31px;
    border-radius: 50%;
}

.testimonial2 .testimonial-content {
    position: relative;
    background: #fff;
    display: table;
    padding: 19px;
    border: 1px solid #dbdbdb;
    border-radius: 3px;
}

.testimonial2 .testimonial-content:after {
    content: '';
    position: absolute;
    left: -15px;
    top: 36px;
    width: 0;
    height: 0;
    border-bottom: 0px solid transparent;
    border-top: 15px solid transparent;
    border-right: 15px solid #fff;
}

.testimonial2 .testimonial-content:before {
    content: '';
    position: absolute;
    left: -16px;
    top: 33px;
    width: 0;
    height: 0;
    border-bottom: 1px solid transparent;
    border-top: 19px solid transparent;
    border-right: 16px solid #dbdbdb;
}

.testimonial2 .testimonial-content h5 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #437df9;
}

.testimonial2 .testimonial-content p {
    margin-bottom: 0;
    font-size: 13px;
    font-style: italic;
}

/* Testimonial Type 3 */

#wrap .testimonial3 .testimonial-content p {
    font-size: 19px;
    line-height: 1.7;
    font-weight: 100;
    margin: 0;
    padding: 61px 69px 65px 68px;
    border: 1px solid rgba(211, 211, 211, 0.48);
    text-align: left;
    position: relative;
    border-radius: 6px;
}

.tl-social-team {
    margin-top: 10px;
}

.tl-social-team i {
    width: 30px;
    height: 30px;
    color: #000;
    margin-right: 10px;
    border: 1px solid;
    display: inline-block;
    border-radius: 50%;
    text-align: center;
    padding-top: 7px;
    transition: all .3s ease;
}

.tl-social-team i:hover {
    background: #000;
    border-color: #000;
    color: #fff;
}

.testimonial3 .testimonial-content {
    padding: 0;
    margin: 0;
    border: none;
}

.testimonial3 .testimonial-content .shape {
    width: 25px;
    height: 25px;
    position: absolute;
    left: 82px;
    bottom: -11px;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.testimonial3 .testimonial-content .t-m-footer {
    text-align: left;
    margin-top: 29px;
    margin-left: 31px;
}

.testimonial3 .testimonial-content .t-m-footer h5 {
    font-size: 16px;
    color: #353535;
}

.testimonial3 .testimonial-content .t-m-footer h6 {
    color: #aaaab1;
    font-size: 16px;
}

@media ( min-width: 768px) and ( max-width: 991px) {
    #wrap .testimonial3 .testimonial-content p {
        padding: 30px;
    }
}

@media ( max-width: 380px) {
    #wrap .testimonial3 .testimonial-content p {
        padding: 20px;
        font-size: 15px;
        padding-right: 10px;
    }
}

/* Testimonial Type 4 */

.testimonial4 {
    position: relative;
    text-align: center;
}

.testimonial4 .testimonial-content {
    border-radius: 0;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    padding: 67px 25px;
}

.testimonial4 .testimonial-image {
    position: absolute;
    top: -50px;
    left: 50%;
    margin-left: -48px;
}

.testimonial4 .testimonial-image img {
    border-radius: 55px;
    width: 100px;
    height: 100px;
    border: 1px solid #cbcbc5;
}

.testimonial4 h5 {
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.5px;
    margin-top: 10px;
}

.testimonial4 h5:after {
    content: '';
    width: 45px;
    height: 3px;
    background: #437df9;
    display: block;
    margin: 25px 50% 35px;
    transform: translateX(-24px);
}

.testimonial4 q {
    font-style: italic;
    font-size: 13px;
    font-weight: 500;
}

/* Testimonial Type 5 */

.testimonial5 .testimonial-content {
    border: 0;
    padding: 0;
    margin: 0;
}

.testimonial5 .testimonial-content q {
    display: block;
    padding: 15px 25px;
    position: relative;
    border-radius: 5px;
    font-family: 'Lora', 'serif', 'arial';
    font-size: 15px;
    font-weight: 300;
}

.testimonial5 .testimonial-image {
    padding: 25px 25px 0;
}

.testimonial5 .testimonial-image img {
    border-radius: 55px;
    width: 100px;
    height: 100px;
    border: 1px solid #cbcbc5;
}

.blox.dark .testimonial5 .testimonial-content q {
    color: #fff;
}

.testimonial5 .testimonial-content .triangle {
    position: absolute;
    display: inline-block;
    margin-left: 25px;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 10px solid transparent;
}

.testimonial5 .testimonial-content div {
    display: inline-block;
    margin: 15px 0;
}

.testimonial5 .testimonial-content div.name {
    margin-left: 25px;
    font-size: 15px;
    font-weight: 700;
    color: #31312c;
}