/*------------------------------------*\
    
    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 seperately,
    please create a block-specific stylesheet for it (don't forget to resiger that block-specific stylesheet in acf-start-blocks.php)

\*------------------------------------*/
.image-text {
    position: relative;
}

.image-text__img  {
    width: 100%;
    height: 240px;
}

.image-text__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 20px solid #fff;
    box-shadow: 0 0 15px rgba(0, 0, 15, .16);
    border-radius: 5px;
}

.image-text__text {
    padding-top: 30px;
    color: #585858;
}

@media (min-width: 600px) {
    .image-text__img  {
        width: 100%;
        height: 450px;
    }
}

@media (min-width: 768px) {
    .image-text__text {
        padding-top: 50px;
    }
}

@media (max-width: 1199px) {
    section#half-text-half-image-382:first-child { padding-bottom: 0; }

    #half-text-half-image-378 .image-text__img.disable-cropped-img {
        height: auto;
        max-width: 700px;
        margin: auto;
    }
}

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

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

    .image-text__img  {
        width: 50%;
        height: 100%;
    }

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