/*------------------------------------*\
    
    Contained Image + Text Block Customizations - Global Styling

    The styles you add to this file will be applied to the 'Contained Image + Text' block. 
    If there is any reasons why you would need to style them separately,
    please create a block-specific stylesheet for it (don't forget to register that block-specific stylesheet in acf-start-blocks.php)

\*------------------------------------*/

.flex-row {
    display: flex;
    flex-wrap: wrap;
}


.image-text__wrap {
    padding-bottom: 50px;    
}

.image-text__wrap h2{
    padding-top: 10px;
}

.image-slide {
    height: 242px;
}

.js-image-for {
    padding-bottom: 15px;
}

.js-image-nav {
    margin: 0 -6px;
    padding-bottom: 90px;
}

.image-thumb-item {
    padding: 0 6px;
}

.image-thumb {
    height: 63px;
}

.js-image-nav .slick-arrow {
    background-color: var(--secondary-color);
}

.bg-gray {
    background: #F5F5F5;
}

.inner-page h2::before {
    content: '\e919' !important;
    font-family: 'fluid-conservation-icomoon' !important;
    position: absolute;
    display: block;
    top: -20px;
    color: #0093B2;
    font-size: 70%;
}

.cta-button-text-left-gallery {
    margin-top: 0px;
    margin-bottom: 50px;
}

.datasheet-links-area {
    margin-top: 0px;
    margin-bottom: 50px;
}

.datasheet-links-area img {
    width: 80px;
    height: auto;
    margin-right: 15px;
}

.case-studies-template-default .image-text__wrap {
    padding-bottom: 0px;
}

.case-studies-template-default .datasheet-links-area {
    margin-top: 0px;
}

@media (min-width: 768px) {
    .image-text__wrap {
        padding-bottom: 60px;
    }

    .image-slide {
        height: auto;
    }

    .image-text-item {
        /*background-color: #fff;
        padding: 24px;*/
    }

    .js-image-nav {
        margin: 0 -13px;
    }
    
    .image-thumb-item {
        padding: 0 13px;
    }
    

    .image-thumb {
        height: 128px;
    }

    .js-image-nav .slick-arrow {
        top: auto;
        bottom: 0;
    }

    .js-image-nav .slick-prev {
        left: 50%;
        margin-left: -61px;
    }

    .js-image-nav .slick-next {
        right: 50%;
        margin-right: -61px;
    }
    
}


@media (min-width: 1200px) {
    .image-text__wrap {
        padding-bottom: 0;
        padding-right: 110px;
    }

    .image-thumb {
        height: 100px;
    }

    .image-text__wrap .btn {
        margin-top: 30px;
    }

    .js-image-nav {
        margin: 0 -10px;
        padding: 0 60px;
    }

    .image-thumb-item {
        padding: 0 10px;
    }

    .js-image-nav .slick-arrow {
        top: 50%;
        margin-top: 0;
        transform: translate(0,-50%)
    }

    .js-image-nav .slick-prev {
        left: 0;
        margin-left: 0;
    }

    .js-image-nav .slick-next {
        right: 0;
        margin-right: 0;
    }

    .image-text__left {
        width: 564px;
        padding: 0 16px;
    }

    .image-text__right {
        width: calc(100% - 564px);
        padding: 0 16px;
    }

    .align-flex {
        align-items: center;
    }

    .image-text__left .btn {
        margin-top: 30px;
    }

    .image-text__left h3 {
        padding-right: 37px;
    }


    .js-image-nav .slick-arrow:hover {
        color: var(--secondary-color-hover);
        background-color: #FFFFFF;
        border: 1px solid var(--secondary-color-hover);
    }

    .cta-button-text-left-gallery {
        margin-top: 50px;
    }

    .datasheet-links-area {
        margin-top: 50px;
    }

}

.image-text__right {
    position: relative;
}

.image-text__right .cards-category {
    top: 25px;
    left: 46px;
    height: 42px;
}

.image-text__right img {
    border-radius: 20px;
}

.image-text__left h5 {
    color: #0093B2;
    position: relative;
    font-weight: 500;
    padding-left: 30px;
    padding-bottom: 40px;
    font-size: 25px;
}

.image-text__left h5::before {
    content: '\e913';
    font-family: 'fluid-conservation-icomoon';
    position: absolute;
    font-weight: normal;
    left: 0;
    top: 2px;
    font-size: 18px;
}