/* ==========================================================================
# Testimonial style - begin
========================================================================== */
.qodef-testimonials {

    .qodef-testimonial-content {
        text-align: center;
    }
    
    .qodef-testimonial-text {
        margin: 0;
    }

    .qodef-testimonial-image-holder{
        text-align: center;
        display: inline-block;
        line-height: 0;
        margin-bottom: 19px;
        img{
            display: inline-block;
            max-width: 100%;
        }
    }

    .qodef-testimonial-title{
        font-size: 17px;
        line-height: 1em;
        font-weight: 900;
        color: $default-heading-color;
        margin:20px 0;
    }
    
    .qodef-testimonial-author-text {
        display: block;
        font-size: 20px;
        line-height: 1em;
        font-weight: 900;
        color: $default-heading-color;
        margin-bottom: 5px;
    }

    .qodef-testimonial-job {
        display: block;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 0.5px;
        color: $default-heading-color;
    }


    &.standard {
        .qodef-testimonial-content-inner {
            padding: 0 17%;
        }

        .qodef-testimonial-subtitle {
            font-size: 21px;
            font-style: italic;
            font-weight: 700;
            color: $default-heading-color;
            line-height: 32px;
            font-family: 'PT Serif', serif;
        }

        .qodef-testimonial-text {
            font-size: 20px;
            font-style: italic;
            line-height: 32px;
            margin: 6px 0 17px;
            font-family: 'PT Serif', serif;
        }

        .qodef-testimonial-separator {
            display: inline-block;
        }

        .qodef-testimonial-title {
            margin: 10px 0 11px;
            font-size: 50px;
        }


        &.light {

            .qodef-testimonial-title,
            .qodef-testimonial-subtitle,
            .qodef-testimonial-text,
            .qodef-testimonial-author-text,
            .qodef-testimonial-job {
              color:#fff;
            }
        }
    }

    &.cards {
        .qodef-testimonial-content {
            background-color: #fbfbfb;
            padding: 58px 45px 51px;
        }

        .qodef-testimonial-text {
            margin-bottom: 12px;
        }

        .qodef-testimonial-separator {
            display: inline-block;
            width: 12px;
            border-bottom: 2px solid $first-main-color;
        }

        .qodef-testimonial-author {
            margin-top: 20px;
        }

        .qodef-testimonial-author-text {
            margin-bottom: 0;
        }

        .qodef-testimonial-job {
            color: #272727;
        }

        &.light {
            .qodef-testimonial-text {
                color: #797979;
            }
            .qodef-testimonial-separator {
                border-bottom: 2px solid $first-main-color;
            }
            .qodef-testimonial-author-text {
                color: #272727;
            }
        }
    }

    &.list {
        .qodef-testimonial-content {
            text-align: left;
            width: 33.33%;
            float: left;
            @include qodefBoxSizing(border-box);
            display: table;
            table-layout: fixed;
            height: 100%;
            margin-bottom: 56px;

            &:nth-child(3n+1) {
                clear: both;
            }
        }
        .qodef-testimonial-image-holder {
            width: 60px;
            height: 100%;
            display: table-cell;
        }
        .qodef-testimonial-content-inner {
            display: table-cell;
            height: 100%;
            padding: 10px 0 0 18px;
            vertical-align: top;
        }
        .qodef-testimonial-author-text {
            margin-bottom: 10px;
        }
        .qodef-testimonial-author {
            margin-bottom: 15px;
        }
        .qodef-testimonial-job {
            line-height: 20px;
        }

        &.light {
            .qodef-testimonial-text,
            .qodef-testimonial-title,
            .qodef-testimonial-job,
            .qodef-testimonial-author-text {
                color: #fff;
            }
        }
    }
}

.qodef-testimonials.owl-carousel {

    .owl-nav {

        width: 100%;

        .owl-prev {
            position: absolute;
            top: 50%;
            @include qodefTransform(translateY(-50%));
            left: 2%;
        }

        .owl-next {
            position: absolute;
            top: 50%;
            @include qodefTransform(translateY(-50%));
            right: 2%;
        }

        .qodef-prev-icon,
        .qodef-next-icon {
            display: inline-block;
            width: 60px;
            height: 60px;
            border: 2px solid #c8c7c7;
            @include qodefBorderRadius(50%);
            @include qodefBoxSizing(border-box);
            text-align: center;

            i,
            span {
                font-size: 30px;
                line-height: 60px;
                color: #c8c7c7;
            }

        }

    }

    .owl-dots {
        text-align: center;
        margin: 40px 0 0;

        .owl-dot {
            display: inline-block;
        }

        .owl-dot span {
            display: inline-block;
            width: 10px;
            height: 10px;
            margin: 0 6px;
            -webkit-border-radius: 20px;
            -moz-border-radius: 20px;
            border-radius: 20px;
            background: $default-border-color;
            @include qodefTransition(background 0.15s ease-out);
        }

        .owl-dot.active span {
            background: $first-main-color;
        }

    }

    &.light {
        .owl-dots {
            .owl-dot span {
                background: #fff;
            }
            .owl-dot.active span {
                background: $first-main-color;
            }
        }
        .qodef-prev-icon,
        .qodef-next-icon {
            i,
            span {
              color: #ffffff;
            }

        }
    }

    &.cards {
        .owl-dots {
            margin: 47px 0 0;
        }
        &.dark {
            .owl-dot span {
                background: $default-border-color;
            }
            .owl-dot.active span {
                background: $first-main-color;
            }
        }
    }

}

.qodef-testimonials-holder {

    .owl-buttons {
        width: 100%;

        .owl-prev {
            position: absolute;
            top: 50%;
            @include qodefTransform(translateY(-50%));
            left: 3.3%;
            cursor: pointer;
        }

        .owl-next {
            position: absolute;
            top: 50%;
            @include qodefTransform(translateY(-50%));
            right: 3.3%;
            cursor: pointer;
        }

        .qodef-prev-icon,
        .qodef-next-icon {
            display: inline-block;
            text-align: center;

            i {
                font-size: 26px;
                color: $default-border-color;
                line-height: 26px;
                position: relative;
                left: 0;
                @include qodefTransition(all 0.2s cubic-bezier(.1,0,.3,1));
            }
        }

        .qodef-prev-icon:hover i {
            left: -5px;
        }

        .qodef-next-icon:hover i {
            left: 5px;
        }

        &.light {
            .qodef-prev-icon,
            .qodef-next-icon {

                i {
                    color: #ffffff;
                }
            }
        }
    }

}

/* ==========================================================================
# Testimonial style - end
========================================================================== */

