:root {    
    --e-global-color-primary: #EAA638;
    --e-global-color-text: #7A8986;
}

.e-e-testimonial .grid-wrap {
    display: flex;
    flex-wrap: wrap;
}
.e-e-testimonial .grid-item {
    padding: 10px;
    box-sizing: border-box;
}
.grid-layout .ee--testimonial {
    text-align: center;
}
.e-e-testimonial .e-e-grid-img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}
.eel-rating {
    color: #FFAF02;
    font-size: 25px;
    line-height: 100%;
}
.eel-rating .star {
    margin-right: 0px;
}
.eel-rating .star.filled {
    color: #FFAF02;
}

.eel-title-icon{
    svg{
        height: 1em;
        width: 1em;
        position: relative;
        top: 4px;
        left: 2px;
    }
}
.grid-layout .ee--tstml-inner-wrap{
    background: #EFEFF9;
    display: inline-flex;
    gap: 80px;
    padding: 80px;
    border-radius: 16px;
    align-items: self-start;
    .eel-author-wrap{
        display: inline-flex;
        text-align: left;
        justify-content: space-between;
    }
    .eel-author{
        min-width: auto;
    }
    .eel-designation{
        font-size: 14px;
        line-height: 150%;
        color: #12121280;
        font-style: normal;
        margin-bottom: 8px;
        display: inline-block;
    }
    .eel-picture{
        min-width: max-content;
        margin-right: 24px;
    }
    .eel-picture img{
        width: 100px;
        height: 100px;
        border-radius: 100%;
        object-fit: cover;
    }
    .eel-name{
        font-size: 20px;
        line-height: 100%;
    }
    .eel-description{
        font-size: 24px;
        text-align: left;
        color: var(--e-global-color-text);
        line-height: 150%;
        letter-spacing: -0.02em;
    }
    .eel-quote{
        text-align: left;
        svg{
            height: 120px;
            fill: var(--e-global-color-primary);
        }
    }    
    &.skin1{
        display: block;
        .eel-picture img {
            width: 50px;
            height: 50px;
        }
        .eel-picture {
            min-width: 50px;
            margin-right: 15px;
        }
        .eel-author-wrap {
            justify-content: flex-start;
            width: 100%;
            margin-top: 25px;
            align-items: center;
        }
        .eel-designation{
            margin-bottom: 0;
        }
        .eel-company-logo{
            text-align: left;
            margin-bottom: 12px;
        }
    }
    &.skin2{
        display: block;
        .eel-picture-des-wrap{
            display: flex;
            justify-content: space-between;
        }
        .eel-picture img {
            width: 50px;
            height: 50px;
        }
        .eel-picture {
            min-width: 50px;
            margin-right: 15px;
        }
        .eel-author-wrap {
            justify-content: flex-start;
            width: 100%;
            margin-top: 25px;
            align-items: center;
        }
        .eel-designation{
            margin-bottom: 0;
        }
        .eel-company-logo{
            text-align: left;
            margin-bottom: 12px;
        }
        &.eel-avatar-image-top{
            .eel-company-logo{
                text-align: center;
            }
            .eel-picture-des-wrap{
                display: block;
            }
            .eel-picture{
                margin-bottom: 24px;
                margin-right: 0;
            }
            .eel-description{
                text-align: center;
            }
            .eel-author-wrap{
                justify-content: center;
                text-align: center;
            }
        }
    }
    &.skin3{
        display: block;
        .eel-picture-des-wrap{
            display: flex;
            justify-content: space-between;
        }
        .eel-picture img {
            width: 50px;
            height: 50px;
            display: block;
        }
        .eel-picture {
            min-width: max-content;
            margin-right: 15px;
        }
        .eel-author-wrap {
            justify-content: flex-start;
            width: 100%;
            margin-top: 25px;
            align-items: center;
        }
        .eel-designation{
            margin-bottom: 0;
        }
        .eel-company-logo{
            text-align: left;
            margin-bottom: 12px;
        }
        .eel-rating{
            display: flex;
            justify-content: end;
            flex: 1;
        }
    }
    &.skin4{
        display: block;
        .eel-picture-des-wrap{
            display: flex;
            justify-content: space-between;
        }
        .eel-picture img {
            width: 100%;
            height: 400px;
            border-radius: 8px;
        }
        .eel-picture {
            min-width: 320px;
            margin-right: 80px;
        }
        .eel-author-wrap {
            justify-content: flex-start;
            width: 100%;
            margin-top: 25px;
            align-items: flex-end;
        }
        .eel-designation{
            margin-bottom: 0;
        }
        .eel-company-logo{
            text-align: left;
            margin-bottom: 12px;
        }
        .eel--description-wrap{
            display: grid;
        }
    }
    &.skin5{
        display: block;
        .eel-picture-des-wrap{
            display: flex;
            justify-content: space-between;
        }
        .eel-picture img {
            width: 50px;
            height: 50px;
            display: block;
        }
        .eel-picture {
            min-width: 50px;
            margin-right: 15px;
        }
        .eel-author {
            min-width: 100px;
        }
        .eel-author-wrap {
            justify-content: flex-start;
            width: 100%;
            margin-top: 25px;
            align-items: center;
        }
        .eel-designation{
            margin-bottom: 0;
        }
        .eel-company-logo{
            text-align: left;
            margin-bottom: 12px;
        }
        .eel-rating{
            display: flex;
            flex: 1;
            text-align: right;
            margin-left: 15px;
            justify-content: end;
        }
    }
    &.skin6{
        display: block;
        .eel-picture-des-wrap{
            display: flex;
            justify-content: space-between;
        }
        .eel-picture img {
            width: 50px;
            height: 50px;
            display: block;
        }
        .eel-picture {
            min-width: 50px;
            margin-right: 15px;
        }
        .eel-description{
            text-align: center;
        }
        .eel-author-wrap {
            justify-content: center;
            width: 100%;
            margin-top: 25px;
            align-items: center;
        }
        .eel-designation{
            margin-bottom: 0;
        }
        .eel-company-logo{
            text-align: center;
            margin-bottom: 12px;
        }
        .eel-rating{
            display: flex;
            justify-content: center;
            margin-bottom: 10px;
        }        
    }
}

.eel-hidden-testimonial{
    display: none;
}

.testifull-overlay{
    position: relative;
    &::after{
        background: linear-gradient(180deg, rgba(246, 244, 240, 0) 57.03%, #F6F4F0 94.05%);
        position: absolute;
        content: '';
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
    }
}

.eel-testimonial-more-btn{
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0px 4px 10px -5px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    font-size: 18px;
    line-height: 110%;
    color: #121212;
    padding: 12px 24px;
    cursor: pointer;
    text-align: center;
    max-width: max-content;
    margin: 30px auto 0;
    position: relative;
    z-index: 1;
    transition: all .5s ease;
    &:hover{
        background:#1F2937;
        color: #fff;
        border-color: #1F2937;
    }
}

@media (max-width: 1024px) {
    .ee--tstml-inner-wrap {
        display: grid;
        gap: 20px;
        padding: 30px;        
    }
    .ee--tstml-inner-wrap .eel-author-wrap{
        justify-content: flex-start;
    }
    .ee--tstml-inner-wrap .eel-author {
        display: inline-grid;
        align-content: center;
    }
    .ee--tstml-inner-wrap.skin3 .eel-author-wrap{
        flex-wrap: wrap;
        display: flex;
    }   
    .ee--tstml-inner-wrap.skin4 .eel-picture {
        margin-right: 30px;
    } 
}

@media (max-width: 768px) {
    .eel-author-wrap{
        flex-direction: column;
        gap: 10px;
    }
    .ee--tstml-wrap-skin-style-two .eel-content-wrap,
    .ee--tstml-wrap-skin-style-two .eel-picture {
        margin-right: 0;
        margin-left: 0;
        width: 100%;
    }
    .ee--tstml-wrap-skin-style-two .eel-picture img{
        height: auto;
    }
    .swiper-navigation-top{
        display: none;
    }
    .ee--tstml-inner-wrap{
        display: block;
    }
    .ee--tstml-inner-wrap .eel-author{
        text-align: center;
        margin-bottom: 24px;
    }
    .ee--tstml-inner-wrap .eel-picture {
        min-width: 100px;
        margin: 0 auto;
        padding-top: 10px;
    }
    .ee--tstml-inner-wrap .eel-description{
        text-align: center;
        margin-bottom: 30px;
    }
    .ee--tstml-inner-wrap .eel-quote{
        text-align: center;
    }
    .ee--tstml-inner-wrap .eel-quote svg {
        height: 60px;
    }
    .e-e-testimonial .grid-wrap{
        display: block;
    }
    .ee--tstml-inner-wrap.skin3 .eel-company-logo{
        text-align: center;
    }
    .ee--tstml-inner-wrap.skin3 .eel-picture{
        margin: 0 auto;
        margin-bottom: 10px;
    }
    .ee--tstml-inner-wrap.skin3 .eel-author{
        margin-bottom: 0;
    }
    .ee--tstml-inner-wrap.skin2 .eel-picture-des-wrap{
        display: inline-grid;
    }
    .ee--tstml-inner-wrap.skin2 .eel-company-logo{
        text-align: center;
    }
    .ee--tstml-inner-wrap.skin2 .eel-picture {
        margin-right: auto;
        padding-bottom: 10px;
    }
    .ee--tstml-inner-wrap.skin1 .eel-picture{
        margin-right: auto;
    }
    .ee--tstml-inner-wrap.skin1 .eel-company-logo {
        text-align: center;
        margin-top: 15px;
    }
    .ee--tstml-inner-wrap.skin4 .eel-picture-des-wrap {
        display: block;
    }
    .ee--tstml-inner-wrap.skin4 .eel-picture {
        margin-right: 0;
        margin-bottom: 25px;
    }
    .grid-item.testimonials--default .grid-layout .ee--tstml-inner-wrap .eel-quote,
    .grid-layout .grid-item.testimonials--default .ee--tstml-inner-wrap .eel-description{
        text-align: center;
    }
    .grid-layout .grid-item.testimonials--default .ee--tstml-inner-wrap{
        display: block;
    }
    .ee--tstml-inner-wrap .eel-author-wrap {
        display: block;
        text-align: center;
    }
    .ee--tstml-inner-wrap.skin5 .eel-rating {
        justify-content: center;
    }
    .ee--tstml-inner-wrap.skin5 .eel-picture img {
        margin: auto;
        margin-bottom: 20px;
    }
    .ee--tstml-inner-wrap.skin5 .eel-rating {
        justify-content: center;
        text-align: center;
    }
    .ee--tstml-inner-wrap .eel-author {
        margin-bottom: 10px;
    }
    .ee--tstml-inner-wrap.skin5 .eel-company-logo{
        text-align: center;
    }
    .ee--tstml-inner-wrap.skin6 .eel-picture img{
        margin: auto;
        margin-bottom: 10px;
    }
}


@media (max-width: 600px) {
    .ee--tstml-inner-wrap .eel-description{
        font-size: 18px;
    }
}