/*------------------------------------*\
    
    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)

\*------------------------------------*/
.image-text__img img {
    width: 100%;
}

.image-text {
    color: #3E3E3E;
}

.image-text__half {
    position: relative;
}

.content-bg--top {
    position: absolute;
    left: -34px;
    top: -40px;
    z-index: -1;
}

.content-bg--bottom {
    position: absolute;
    right: -34px;
    bottom: 53px;
}

@media (min-width: 768px) {
    .image-text__half--wrapper {
        background: #fff;
        padding: 28px 33px 0;
        position: relative;
    }

    .image-text__text .btn {
        margin-top: 20px;
    }

    .image-text__text {
        padding: 40px 34px 0 34px;
    }
}


@media (min-width: 1200px) {
    .flex-row {
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    
    .image-text .flex-row {
        align-items: center
    }

    .flex-opposite {
        flex-direction: row-reverse;
    }

    .image-text__text {
        padding: 40px 45px 0 45px;
    }

    .content-bg--top {
        left: -45px;
        top: -40px;
    }
    
    .content-bg--bottom {
        right: -45px;
        bottom: 10px;
    }

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

    .image-text__img {
        width: 350px;
    }

    .image-text__text {
        width: calc(100% - 290px);
        margin-left: -62px;
    }

    .image-text__img img {
        max-width: inherit;
        position: relative;
        z-index: 1;
    }

    .image-text__half--wrapper {
        padding: 28px 20px 0 40px;
    }
}

@media (min-width: 1366px) {


}













