/*------------------------------------*\
    
    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 .flex-row {
    align-items: center
}

.image-text__img {
    position: relative;
    z-index: 1;
}

.image-text__img__full {
    position: relative;
    height: 220px;
    z-index: 1;
}

.image-text__img img {
    border-radius: 5px;
}

.image-text__log-img {
    position: absolute;
    width: 117px;
    top: -20px;
    z-index: -1;
}


.image-text__log-img-front{
    position: absolute;
    bottom: -20px;
    z-index: 3;
    width: 123px;
}

.image-text__log-img img,
.image-text__log-img-front img{
    height: auto;
}



.image-text--left .image-text__log-img {
    left: -55px;
}

.image-text--right .image-text__log-img {
    right: -55px;
}


.image-text--left .image-text__log-img-front {
    right: -55px;
}

.image-text--right .image-text__log-img-front {
    left: -55px;
}



.image-text__text {
    margin-top: 25px;
}


.bg-blue .image-text__text li a{
    color: var(--white);
}

.bg-blue .image-text__text li a:hover{
    color: var(--blue);
}

.image-text__slider {
    margin: 0 -16px;
    padding-bottom: 75px;
}

.image-text__item {
    padding: 0 16px;
}


.image-text__slider div {
    font-size: 0;
}


.image-text__slider  .slick-track{
    display: flex;
    align-items: stretch;
}


.image-text__slider .slick-slide{    
    max-height: 250px;   
    height: inherit !important;
}


.image-text__slider .slick-slide > div{
    height: 100%;
}


.image-text__slider .slick-slide img{    
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 300ms ease-in-out;
}


.image-text__slider .image-text__item.fx-slide{
    height: 100%;
}


.image-text__slider .image-text__item.fx-slide .image-text__img__full{
    height: 100%;
}

@media (min-width: 768px) {
    .image-text__img {
       
        max-width: 545px;
        margin: 0 auto;
    }

    .image-text__img__full {
        height: 363px;
    }

    .image-text__log-img {
        width: 269px;
        top: -25px;
    }

    .image-text--left .image-text__log-img {
        left: -130px;
    }

    .image-text--right .image-text__log-img {
        right: -130px;
    }

    .image-text__text {
        margin-top: 32px;
    }

    .image-text__slider {
        padding-bottom: 82px;
    }


    .image-text__slider .slick-slide{    
        max-height: 350px;   
        height: inherit !important;
    }

}


@media (min-width: 1200px) {
    .flex-opposite {
        flex-direction: row-reverse;
    }

    .image-text__img {
        max-width: 598px;
        margin: 0;
    }

    .image-text__img__full {
        height: auto;
    }
    

    .image-text--right .image-text__img {
        margin-left: auto;
    }

    .image-text__log-img {
        width: 286px;
    }

    .image-text--left .image-text__log-img {
        left: -160px;
    }

    .image-text--right .image-text__log-img {
        right: -160px;
    }


    .image-text__text {
        margin-top: 0;
    }


    .image-text__slider .slick-slide{    
        max-height: 537px;
        min-height: 250px;
        height: inherit !important;
    }
}