.testimonial-image {
    overflow: hidden;
}

.testimonial-image img {
    width: 100%;
    max-width: 215px;
    height: auto;
    transition: transform 0.5s ease;
    transform: scale(1);
}

.testimonial-wrapper:hover .testimonial-image img {
    transform: scale(1.3);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

.testimonial-header-wrapper {
    position: relative;
    background: rgb(225, 39, 27, 0.55);
}

@media (max-width: 768px) {

    .testimonial-header-wrapper {
        min-height: 400px;
    }

}

.testimonial-gradient {
    display: block;
    position: absolute;
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0)), color-stop(40%, rgba(0,0,0,0.5)), to(rgba(0,0,0,0.6)));
    background-image: linear-gradient(to bottom, rgba(255,255,255,0) 10%, rgba(0,0,0,0.5) 100%, rgba(0,0,0,0.6) 50%);
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 2;
}

.testimonial-header-image img {
    max-height: 475px;
}

@media (max-width: 768px) {

    .testimonial-header-image img {
        min-height: 900px;
    }

}

.testimonial-header-image::after {
    content:'\A';
    width:100%; height:100%;
    top:0; left:0;
    background:rgba(0,0,0,0.6);
}

.testimonial-header {
    position: absolute;
    top: 0;
    margin: auto;
    z-index: 3;
}


@media (max-width: 767px) {

    .testimonial-header h1 {
        font-size: 28px;
        line-height: 35px;
    }

    .testimonial-header ol.breadcrumb {
        justify-content: center;
    }

    .testimonial-header .social-channels {
        justify-content: center;
    }

}

@media (min-width: 768px) {

    .testimonial-header {
        margin-top: 30px;
    }

    .testimonial-header h1 {
        font-size: 50px;
        line-height: 65px;
    }

    .testimonial-header ol.breadcrumb {
        justify-content: start;
    }

    .testimonial-header .social-channels {
        justify-content: start;
    }

}

.testimonial-header .breadcrumb-item+.breadcrumb-item::before {
    color: white;
}

.testimonial-header img {
    border: 3px solid #fff;
}

@media (min-width: 767px) {
    .background-testimonials {
        background: url("../img/bg-testimonials-desktop.jpg") center center;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }
    .background-real-stories {
        background: url("../img/alfamino-bg-real-stories-desktop.jpeg?v=1.0") center center;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }

}

@media (max-width: 767px) {

    .background-testimonials {
        background: url("../img/bg-testimonials-mobile.jpg") center center;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }

    .background-real-stories {
        background: url("../img/alfamino-bg-real-stories-desktop.jpeg?v=1.0") center center;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }
}

.testimonial-thumbnail {
    position: relative;
    cursor: pointer;
}

.testimonial-thumbnail:not(.active)::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.4);
}

.testimonial-thumbnail img {
    width: 100%;
}

.btn-sm {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    font-size: 14px;
    line-height: 1.5;
}

.btn-template-1.btn-sm,
.btn-template-2.btn-sm,
.btn-template-4.btn-sm,
.btn-template-6.btn-sm,
.btn-template-7.btn-sm,
.btn-template-8.btn-sm {
    padding-left: 15px !important;
    padding-right: 15px !important;
}


.btn-xs {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    font-size: 12px;
}

.btn-template-1.btn-xs,
.btn-template-2.btn-xs,
.btn-template-4.btn-xs,
.btn-template-6.btn-xs,
.btn-template-7.btn-xs,
.btn-template-8.btn-xs {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.btn-file {
    position: relative;
    overflow: hidden;
    margin-right: 10px;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

#img-upload{
    width: 100%;
}
.radio-toggle input{
    width: 100%;
    height: 100%;
    position: absolute;
    top:0px;
    left:0px;
    opacity: 0;
}
small.error{
    color:red;
}
.testimonialWrap h1{
    font-size: 36px;
}
.testimonialWrap .text-medium{
    font-size: 18px;
}
.views-infinite-scroll-content-wrapper{
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}
.js-pager__items{
    list-style: none;
    border:none !important;
}
.pager__item a{
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    font-size: 28px !important;
    line-height: 1.5;
    font-weight: 700;
}
/*.stay-in-touch{
    display: none !important;
}*/
.blog-article-content blockquote{
    font-size: 26px;
    line-height: 35px;
    padding-left: 50px;
    position: relative;
}

.blog-article-content p{
    margin-bottom: 35px;
}
.blog-article-content a{
   color: #595959 !important;
   font-weight: bold;
}
.blog-article-content blockquote:before{
    content: "\f10d";
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    position: absolute;
    left: 0px;
    top:0px;
}
