@import "../../../../assets/scss/mixin";
.g5plus-testimonials{
    .testimonial-item{
        padding: 32px 20px 27px;
        text-align: center;
        margin: 0 15px;
    }
    .quote p{
        font-size: 14px;
        color: #848484;
        line-height: 30px;
        max-width: 770px;
        margin: auto;
    }
    .quote i{
        margin-top: 15px;
        margin-bottom: 5px;
        height: 40px;
        width: 40px;
        line-height: 40px;
        text-align: center;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        border-radius: 50%;
        background-color: var(--g5-color-accent);
        color: #fff;
    }
    .info{
        margin-top: 38px;
        .info-content h4{
            font-size: 16px;
            color: #010101;
            text-transform: uppercase;
            position: relative;
            margin: 0;
            font-weight: bold;
            &:after{
                position: absolute;
                left: 0;
                right: 0;
                margin: auto;
                width: 60px;
                height: 2px;
                background: var(--g5-color-accent);
                content: '';
                top: -22px;
            }
        }
        .info-content span{
            color: #acacac;
            margin: 0;
            font-size: 14px;
            line-height: 30px;
        }
    }
    .slick-arrow{
        box-shadow: 1px 3px 10px #fff;
        background-color: rgba(0,0,0,0.8);
        width: 30px;
        height: 40px;
        line-height: 40px;
        -webkit-transition: all .3s;
        -moz-transition: all .3s;
        -ms-transition: all .3s;
        -o-transition: all .3s;
        transition: all .3s;
        &:hover{
            background-color: var(--g5-color-accent);
        }
    }
    .slick-prev{
        left: -15px;
        opacity: 0;
    }
    .slick-next{
        right: -15px;
        opacity: 0;
    }
    .slick-dots{
        margin-top: 55px;
    }

    &.add-icon{
        .info{
            margin-top: 15px;
            .info-content h4{
                &:after{
                    display: none;
                }
            }
        }
    }
    &.tes-layout-style2{
        img.fotorama__img{
            -webkit-border-radius: 50%!important;
            -moz-border-radius: 50%!important;
            border-radius: 50%!important;
        }
        .fotorama__thumb{
            background-color: rgba(0,0,0,.8);
            -webkit-border-radius: 50%;
            -moz-border-radius: 50%;
            border-radius: 50%;
        }
        .fotorama__wrap--css3 .fotorama__thumb-border{
            -webkit-border-radius: 50%;
            -moz-border-radius: 50%;
            border-radius: 50%;
            border-width: 2px !important;
            height: 80px;
            margin: 0;
            top: 3px;
            left: -6.5px;
            width: 80px !important;
            border-color: var(--g5-color-accent);
        }
        .fotorama__nav-wrap{
            margin-top: 20px;
        }
        .fotorama__nav__frame--thumb{
            opacity: 0.5;
            &.fotorama__active{
                opacity: 1;
            }
        }
        .content-middle{
            display: table;
            width: 100%;
            height: 100%;
        }
        .content-middle-inner{
            display: table-cell;
            vertical-align: middle;
            width: 100%;
        }
    }
    &:hover{
        .slick-prev{
                left: 0;
                opacity: 1;
            }
        .slick-next{
                right: 0;
                opacity: 1;
            }
    }
    .no-slick .testimonial-item{
        margin: 0;
        margin-bottom: 30px;
    }
}
.g5plus-testimonials.color-light{
    .quote p{
        color: #fff;
    }
    .info{
        .info-content h4{
            color: #fff;
        }
    }
    .slick-arrow{
        border: none;
        box-shadow: 1px 3px 10px #000;
        background-color: #fff;
        i{
            color: #000;
        }
    }
}
@media (max-width: 800px){
    .g5plus-testimonials{
        .slick-prev{
                left: 0;
            }
        .slick-next{
                right: 0;
            }
        &:hover{
            .slick-prev{
                    left: 20px;
                }
            .slick-next{
                    right: 20px;
                }
        }
    }
}