@use '../utils' as *;
/*----------------------------------------*/
/*  14. TESTIMONIAL CSS START
/*----------------------------------------*/

.tptestimonial {
    &__content {
        padding-bottom: 78px;
        margin-bottom: 78px;
    }

    &__img {
        margin-bottom: 68px;
        filter: drop-shadow(0px 15px 40px rgba(237, 160, 168, 0.3));
        margin-top: -100px;

        &.img-border {
            & img {
                border-bottom: 7px solid #FFFFFF;
                border-radius: 50%;
            }
        }

        & img {
            border-radius: 50%;
            width: 194px;
            height: 194px;
            object-fit: cover;
        }
    }

    &__tlitle {
        font-weight: 400;
        font-size: 42px;
        line-height: 1.2;
        text-align: center;
        color: #FFFFFF;
        margin-bottom: 35px;

        & span {
            color: #e7713a;
        }

        @media #{$xs} {
            font-size: 30px;
        }
    }

    &__authur {
        & span {
            color: #FFFFFF;
            display: block;
            font-weight: 600;
            font-size: 26px;
            line-height: 36px;
            text-align: center;
            text-transform: capitalize;
        }

        & p {
            font-weight: 400;
            font-size: 18px;
            line-height: 30px;
            text-align: center;
            color: #969AAB;
        }
    }
}

.shape1 {
    position: absolute;
    top: 84px;
    left: -70px;

    @media #{$xs} {
        left: -100px;
    }
}

.shape2 {
    position: absolute;
    right: -57px;
    bottom: 40px;

    @media #{$xs} {
        right: -100px;
    }
}

.testimonial-active .slick-list {
    overflow: visible;
}

.testimonial-active .slick-dots {
    position: absolute;
    text-align: center;
    bottom: 90px;
    left: 0;
    right: 0;
}

.testimonial-active .slick-dots li {
    display: inline-block;
    margin: 0 5px;
    line-height: 0;
}

.testimonial-active .slick-dots button {
    font-size: 0;
    height: 4px;
    width: 24px;
    background: #FFFFFF;
    padding: 0;
    border-radius: 5px;
}

.testimonial-active.dots-style .slick-dots button {
    height: 7px;
    width: 24px;
    border-radius: 2px;
}

.testimonial-active .slick-dots>li.slick-active button {
    background: #e7713a;
    border: #e7713a;
}

.testimonial-space {
    padding: 0 40px;

    @media #{$xs} {
        padding: 0;
    }
}

// home 2

.testimonial-top-white-space-2 {
    margin-top: -100px;
}

// home 3

.tptestimonial {
    &__avater {
        padding-top: 50px;
        padding-bottom: 282px;
        padding-left: 52px;
        padding-right: 52px;
        z-index: 2;
        position: relative;

        @media #{$md} {
            padding-bottom: 220px;
        }

        @media #{$sm,$xs} {
            padding-bottom: 0;
        }

        @media #{$xs} {
            padding-left: 0;
            padding-right: 0;
        }

        &-title {
            font-weight: 600;
            font-size: 19px;
            line-height: 1.3;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: #000;
            margin-top: 38px;
            color: var(--tp-common-white);
        }

        &-designation {
            font-weight: 500;
            font-size: 12px;
            line-height: 1.3;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            color: var(--tp-common-white);
            margin-bottom: 37px;
        }

        @media #{$xl} {
            padding-bottom: 242px;
        }

        &-thumb img {
            border-radius: 50%;
        }
    }

    &__content-3 {
        & p {
            font-weight: 500;
            font-size: 26px;
            line-height: 1.8;
            text-align: center;
            color: var(--tp-common-white);

            @media #{$sm,$xs} {
                font-size: 20px;
                padding-bottom: 35px;
            }
        }
    }
}

.testimonial-area-3 {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;

    @media #{$xs} {
        padding-top: 0;
    }
}

.testimonial-bg {
    content: "";
    position: absolute;
    background: #121212;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.9;
    left: 0;
    z-index: -1;
}

.testimonial-thumb {
    position: absolute;
    top: 0;
    left: 50%;
    right: auto;
    margin: auto;
    z-index: 0;
    transform: translateX(-50%);

    @media #{$md} {
        left: 43%;
    }

    &::before {
        position: absolute;
        background: #121212;
        width: 100%;
        height: 100%;
        top: 0;
        content: "";
        z-index: 1;
        opacity: 0.5;
    }
}

.testimonial-active-3 {
    & .slick-list {
        overflow: visible;
    }

    & .slick-dots {
        position: absolute;
        text-align: center;
        bottom: 150px;
        left: 0;
        right: 0;

        & li {
            display: inline-block;
            margin: 0 5px;
            line-height: 0;

            &.slick-active {
                & button {
                    background: #e7713a;
                    transform: scale(1.9);
                }
            }
        }

        & button {
            font-size: 0;
            width: 11px;
            height: 11px;
            background: #FFFFFF;
            padding: 0;
            border-radius: 50%;
        }
    }
}


.testimonial-slide-nav {
    & .slick-next {
        position: absolute;
        content: "";
        border-radius: 50%;
        border: 1px solid #D9D9D9;
        width: 55px;
        height: 55px;
        top: 365px;
        right: 307px;

        & span {
            color: #e7713a;
            position: absolute;
            top: 12px;
            right: 26px;
        }

        &:hover {
            background: #e7713a;
            border-color: #e7713a;

            & span {
                color: #FFFFFF;
            }
        }

        @media #{$xxl} {
            right: 170px;
        }

        @media #{$xl} {
            right: 90px;
        }

        @media #{$lg,$md,$sm,$xs} {
            right: 10px;
        }

        @media #{$xs} {
            top: 285px;
        }
    }

    & .slick-prev {
        position: absolute;
        content: "";
        border-radius: 50%;
        border: 1px solid #D9D9D9;
        width: 55px;
        height: 55px;
        top: 365px;
        left: 307px;

        & span {
            color: #e7713a;
            position: absolute;
            top: 12px;
        }

        &:hover {
            background: #e7713a;
            border-color: #e7713a;

            & span {
                color: #FFFFFF;
            }
        }

        @media #{$xxl} {
            left: 170px;
        }

        @media #{$xl} {
            left: 90px;
        }

        @media #{$lg,$md,$sm,$xs} {
            left: 10px;
        }

        @media #{$xs} {
            top: 285px;
        }
    }
}