/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

.logo-carousel {
    padding-bottom: 70px;
}

.js-logo-carousel {
    padding-bottom: 90px;
}

.logo-carousel__wrapper h3 {
    color: #090929;
    font-size: 20px;
    letter-spacing: 0.15em;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    padding-bottom: 50px;
}

.logo-carousel__logo__img,
.logo-carousel__logo__img img {
    margin: 0 auto;
}

.logo-carousel__logo__img a {
    display: block;
    border: none;
    background: transparent;
    margin: 0 auto;
}

.js-logo-carousel-inner {
    padding-bottom: 90px;
}

.logo-carousel--inner .logo-carousel__logo__img img {
    margin: 0 auto;
}

.logo-carousel__items{
    text-align: center;
}

.logo-carousel .sub-heading{
    margin-bottom: 22px;
}



@media (min-width: 768px) {
    .js-logo-carousel {
        padding-bottom: 80px;
        width: 70%;
        -webkit-box-flex: 1;
            -ms-flex: 1;
                flex: 1;
    }

    .logo-carousel--homepage .logo-carousel__wrapper {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        -ms-flex-line-pack: center;
            align-content: center;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }
    
    .logo-carousel--homepage .logo-carousel__wrapper h3 {
        text-align: left;
        padding-bottom: 0;
        width: 175px;
        height: 106px;        
    }

    .logo-carousel__logos .fx-slide {
        display: block;
        width: 222px;
    }

    .logo-carousel--homepage  .slick-prev{
        left: 31%;
    }


    .logo-carousel--homepage  .slick-next{
        right: 65%;
    }
}

@media (min-width: 1200px) {

    .logo-carousel {
        padding-bottom: 100px;
    }

    .js-logo-carousel {
        padding-bottom: 80px;
        width: calc(100% - 188px);
    }


    .logo-carousel--homepage .logo-carousel__wrapper {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        -ms-flex-line-pack: center;
            align-content: center;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }

    .logo-carousel--homepage .logo-carousel__wrapper h3 {
        text-align: left;
        padding-bottom: 0;
        width: 161px;
        height: 106px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }
    
    .js-logo-carousel {
        padding-bottom: 0;
    }

    .logo-carousel__logo__img {
        padding-left: 0;
        width: 188px;
    }
    
    .logo-carousel__logos {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
        padding-left: 65px;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }

    .logo-carousel--homepage  .slick-list{
        -webkit-box-flex: 1;
            -ms-flex: 1;
                flex: 1;
    }

    .logo-carousel--homepage .slick-slide {
        width: 188px !important;
    }

    .logo-carousel__logos .fx-slide {
        display: block;
        width: 188px;
    }

    .logo-carousel__logo__img img {
        -webkit-filter: grayscale(100%);
                filter: grayscale(100%);
        opacity: 0.3;
    }

    .logo-carousel__logo__img:hover img {
        opacity: 1;
        -webkit-filter: grayscale(0);
                filter: grayscale(0);
    }

    .js-logo-carousel-inner {
        padding-bottom: 0;
        padding: 0 50px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
    }

    .js-logo-carousel .slick-track{
        width: 100%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
        text-align: center;
    }

    .js-logo-carousel .slick-track .slick-slide{
        width: 200px !important;
    }

    .js-logo-carousel .slick-arrow{
        top: 115px;
    }

    .logo-carousel--inner .slick-arrow {
        bottom: auto;
        top: 50%;
        -webkit-transform: translate(0, -50%);
            -ms-transform: translate(0, -50%);
                transform: translate(0, -50%);
        margin-top: -5px;
    }

    .logo-carousel--inner .slick-next {
        right: 0;
        margin-right: 0px;
        padding-left: 0;
    }

    .logo-carousel--inner .slick-prev {
        left: 0;
        margin-left:0px;
        padding-right: 0;
    }

    .logo-carousel__top-content {
        padding-bottom: 30px;
    }
}