/*
Testimonials
============

Contents / Flow
===============
1) Headings
2) Testimonials
3) Media queries
*/

/*
1) Headings
===========
*/

    .headingDiv {
		width: 100%;
	}
    


/*
1) Testimonials
===============
*/

    .testimonial-row {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
        margin-left: -15px;
        margin-right: -15px;
        padding-top: 15px;
    }

    .testimonial-row > .col-sm-6 {
        display: block!important;
        float: none!important;
        margin-bottom: 30px;
    }

    .testimonial-row .testimonial {
        border-radius: 16px;
        border: solid 1px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        padding: 16px;
        height: 100%;
        -webkit-transition: all 0.3s ease;
        -o-transition: all 0.3s ease;
        transition: all 0.3s ease;
    }

    .testimonial-row .testimonial .content {
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        padding: 16px 0px 16px 16px;
    }

    .testimonial-row .testimonial .inner {
        width: 100%;
    }

    .testimonial-row .testimonial .content h3 {
        display: block;
        margin-top: 0px;
        padding-top: 0px;
        text-align: left;
        width: 100%;
    }

    .testimonial-row .testimonial .image-wrapper {
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-flex: 0;
            -ms-flex: 0 0 35%;
                flex: 0 0 35%;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        overflow: hidden;
        width: 35%;
    }

    .testimonial-wrapper {
        height: 100%;
    }

    .testimonial-wrapper .testimonial-image {
        border-bottom-left-radius: 16px;
        border-top-left-radius: 16px;
        height: 100%;
        max-height: 100%;
        -o-object-fit: cover;
           object-fit: cover;
        width: 100%;
    }

    .testimonial-row .testimonial:hover {
        cursor: pointer;
        -webkit-transform: translateY(-4px);
            -ms-transform: translateY(-4px);
                transform: translateY(-4px);
    }

    .testimonial .testimonial-info {
        margin-top: auto;
        text-align: left;
        width: 100%;
    }

    .testimonial .testimonial-info h4 {
        font-size: 1em;
        margin-bottom: 0px;
    }

    .testimonial .testimonial-info .text-company {
        font-size: 0.9em;
        font-weight: 400;
        margin-bottom: 0px;
        opacity: 0.85;
    }


/*
2) Media queries
================
*/


    @media screen and (max-width: 1092px) {

        .testimonial-row .testimonial {
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
                -ms-flex-direction: column;
                    flex-direction: column;
            padding: 0;
            width: 100%;
        }

        .testimonial-row .testimonial .image-wrapper {
            -webkit-box-flex: 0;
                -ms-flex: 0 0 auto;
                    flex: 0 0 auto;
            width: 100%;
            max-height: 250px;
        }

        .testimonial-wrapper .testimonial-image {
            border-bottom-left-radius: 0;
            border-top-left-radius: 16px;
            border-top-right-radius: 16px;
        }
    
    }

    @media screen and (max-width: 792px) {

        .testimonial-row .testimonial {
            -webkit-box-orient: vertical;
            -webkit-box-direction: normal;
                -ms-flex-direction: column;
                    flex-direction: column;
            padding: 0;
            width: 100%;
        }

        .testimonial-row > .col-sm-6 {
            width: 100%;
        }
    
        .testimonial-row .testimonial .image-wrapper {
            -webkit-box-flex: 0;
                -ms-flex: 0 0 auto;
                    flex: 0 0 auto;
            width: 100%;
            max-height: 250px;
        }
    
        .testimonial-row .testimonial .content {
            padding: 16px;
        }
        
        .testimonial-row .testimonial .inner {
            -webkit-box-align: start;
                -ms-flex-align: start;
                    align-items: flex-start;
            width: 100%;
        }
    }