@use '../../utils' as *;

/*----------------------------------------*/
/*  7.6 Instagram CSS
/*----------------------------------------*/

.#{$theme-prifix}-testimonial{
    &-slider-wrapper-5{
        border: 1px solid #EAEBED;
        border-radius: 30px;

        padding: 72px 115px 85px 103px;

        @media #{$md}{
            padding: 72px 35px 85px 35px;
        }

        @media #{$sm}{
            padding: 42px 50px 45px 50px;
        }

        @media #{$xs}{
            padding: 30px 25px 30px 25px;
        }
    }
   
    &-content-5{
        padding-top: 10px;
        @media #{$sm,$xs}{
            margin-top: 35px;
        }
        & p{
            font-size: 26px;
            line-height: 1.38;
            color: #010F1C;
            margin-bottom: 30px;
        }
    }
    &-rating-5{
        margin-bottom: 7px;
        & span{
            font-size: 13px;
            color: #FFB21D;
        }
    }
    &-user-5{
        &-title{
            font-weight: 600;
            font-size: 20px;
            margin-bottom: 0;
        }
        &-designation{
            font-size: 16px;
        }
    }
    &-avater-5{
        width: 240px;
        height: 267px;
        border-radius: 50%;
        @include transform(rotate(6deg));
        overflow: hidden;

        & img{
            width: 100%;
            height: 100%;
            object-fit: cover;
            background: #D9D9D9;
            @include transform(rotate(-6deg));
        }
    }
    &-avater-wrapper-5{
        position: relative;
        &::after{
            position: absolute;
            content: '';
            top: 13px;
            left: 15px;
            width: 240px;
            height: 267px;
            border-radius: 50%;
            @include transform(rotate(6deg));
            background-color: transparent;
            border: 1px solid rgba($color: #678E61, $alpha: .2);
            z-index: -1;
        }
        & .quote-icon{
            position: absolute;
            bottom: 10px;
            right: 54px;
            display: inline-block;
            width: 70px;
            height: 70px;
            text-align: center;
            line-height: 62px;
            border: 4px solid var(--tp-common-white);
            border-radius: 50%;
            background-color: var(--tp-theme-green);

            @media #{$md}{
                bottom: 95px;
            }

            @media #{$sm}{
                left: 44%;
                right: auto;
            }

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

            & img{
                @include transform(translate(1px, -1px));
            }
        }
    }
    &-arrow-5{
        position: absolute;
        bottom: 30px;
        right: 0;
        z-index: 1;
        & button{
            font-size: 30px;
            color: #B3BAC0;
            position: relative;

            &:not(:last-child){
                margin-right: 30px;
                &::after{
                    position: absolute;
                    content: '';
                    right: -17px;
                    top: 16px;
                    @extend %translateY1_2;
                    background-color: #D6D9E0;
                    width: 1px;
                    height: 30px;
                }
            }

            &:hover{
                color: var(--tp-common-black);
            }
        }
    }
}

