/** small triangle arrow on top of box **/
.testim-slide__textbox{

    &:before{
        content:'';
        width:66px;
        height:42px;
        display: block;
        position: absolute;
        left:50%;
        transform:translateX(-50%);
        top:-35px;
        background: url("/wp-content/themes/iconeus/assets/media/images/svg/testim-arrow.svg") 0 0 no-repeat;
        background-size: contain;
        z-index: 1;
    }

    @media (max-width: 768px) {
        max-width: 90vw !important;
        padding: 1.5rem !important;
    }

}





/** Adjacent slides opacity filters & animation **/
.swiper-slide {
    --testim-slide-height:40px;
    position: relative;
    /* so that no clip */
    margin-bottom: 40px;
}

.testim-slide__textbox{
    position: relative;
    transform: translateY(0);
    transition: all 0.5s ease-in-out;
    border-color: rgba(240,139,47,0);
    opacity: 0.8;
}
/* quote symbol */
.testim-slide__textbox:after{
    content: '”';
    font-size: 22rem;
    opacity:0.2;
    display: block;
    position: absolute;
    font-family: var(--font-display);
    right:1rem;
    bottom:0rem;
    line-height: 0;
    z-index: 1;
}
.swiper-slide-active .testim-slide__textbox  {
    transform: translateY(var(--testim-slide-height));
    border-color: rgba(240,139,47,1);
    opacity: 1;
}


.testim-slide__wrapper img{
    transition: all 0.5s ease-in-out;
    transform: translateY(20px);
    opacity: 0;
}
.swiper-slide-active .testim-slide__wrapper img  {
    transform: translateY(30px);
    opacity: 1;
}



.testim-slider-container .swiper-wrapper{
    align-items:start!important;
}