
.lii-block-testimonials {
    padding-top: 6.125rem;
    padding-bottom: 5rem;
    background: #F2F6F9;
}

/* ----- STYLE GRID CONTAINER ----- */

/* Style Testimony Icon */
.testimonials .quotation-icon {
    display:block;
    margin:0 auto;
    width:auto;
    height:3.125rem;
}

/* Style Testimony Container */
.testimonials .testimony-container {
    position:relative;
    display: grid;
    margin:1.5rem auto;

}

/* Style Testimony Elements */
.testimonials .testimony {
    display: flex;
    flex-direction: column;
    justify-content: center;
    grid-area: 1/-1;
    text-align: center;
    color: #3A4B5C;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1.5;
    opacity:0;
    will-change: transform;
    /*transition:opacity 800ms 500ms;*/
}

.testimonials .testimony.fade-show {
    opacity:1;
    transition:opacity 450ms ease 200ms, transform 450ms ease 200ms;
}
.testimonials .testimony.fade-show.autoplay {
    transition:opacity 700ms 300ms, transform 700ms 300ms;
}

.testimonials .testimony.fade-hide {
    opacity:0;
    transition:opacity 400ms, transform 400ms;
}
.testimonials .testimony.fade-hide.autoplay {
    transition:opacity 600ms, transform 600ms;
}

@keyframes show-from-left {
    from { transform: translate3d(-10rem, 0, 0) scale(0.95); }
    to { transform: translate3d(0) scale(1); }
}
@keyframes show-from-right {
    from { transform: translate3d(10rem, 0, 0) scale(0.95); }
    to { transform: translate3d(0) scale(1); }
}
@keyframes show-from-center {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(0) scale(1); }
}

.testimonials .testimony .message {
    font-size: 1.25rem;
    margin: 0 auto 2rem auto;
    user-select: none;
}
.testimonials .testimony .message.large {
    font-size: 1.8rem;
    line-height:140%;
}

.testimonials .testimony .author{
    font-weight:700;
    font-size: 1rem;
    margin-bottom: 0;
    user-select: none;
}

.testimonials .testimony .author:before {
    content:"\2015";
    margin-right:0.5rem;
}


@media print, screen and (max-width: 39.99875em) {
    .lii-block-testimonials {
        padding: 4.375rem 0 5.625rem;
    }

    .testimonials .testimony{
        font-weight: 400;
        font-size: 1rem;
        line-height: 1.5;   
    }

    .testimonials .testimony .message {
        font-size: 1rem;
        margin: 0 auto 1.5rem auto;
    }
    .testimonials .testimony .message.large {
        font-size: 1.125rem;
    }

    .testimonials .testimony .author{
        font-size: 0.937rem;
    }

}

