/*------------------------------------*\
    
    Half & Half Image + Text Block Customizations - Global Styling

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

\*------------------------------------*/
/*------------------------------------*\
    
    Half & Half Image + Text Block Customizations - Global Styling

    The styles you add to this file will be applied to the 'Half & Half Image + Text' block. 
    If there is any reasons why you would need to style this 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;
}

.half-and-half-image,
.half-and-half-text {
    position: relative;
    flex: 0 0 100%;
}

.half-and-half-image img {
    height: 100%;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    -o-object-fit: cover;
}

.half-and-half-text {
    padding: 32px 21px 48px 21px;
}

.half-and-half-text.right {
    margin-right: auto;
}

.half-and-half-text.left {
    margin-left: auto;
}


.half-and-half-image {
    height: 161px;
}

.half-and-half-text__wrapper .sub-heading {
    margin-right: -21px;
}

@media (min-width: 768px) {
    .half-and-half-text {
        padding: 32px 52px 64px 52px;
    }

    .half-and-half-image {
        height: 330px;
    }

    .half-and-half-text__wrapper .sub-heading {
        margin-right: 0;
    }
}

@media (min-width: 1200px) {

    .half-and-half-image,
    .half-and-half-text {
        position: relative;
        flex: 0 0 50%;
    }

    .half-and-half-image img {
        position: absolute;
    }

    .image-block-left .half-and-half-image img {

        object-position: right top;
    }

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


    .half-and-half-text.left .half-and-half-text__wrapper {
        margin-left: auto;
    }

    .half-and-half-image {
        height: auto;
    }

    .half-and-half-text {
        padding: 64px 63px 96px 63px;
    }
}


.image-text__img.animated-image__item>span:nth-child(2) {
    background: transparent !important;
}

.image_pattern {
    position: absolute !important;
    top: -45px !important;
    width: 244px !important;
    height: 64px !important;
    background: transparent !important;
    transform: scale(1.0) !important;
    z-index: -1 !important;
    opacity: 1 !important;
}

.image_pattern.img-left-pattern {
    left: -100px !important;
}

.image_pattern.img-right-pattern {
    right: -100px !important;
}

.image_pattern svg {
    width: 100%;
}

@media(min-width: 768px) {
    .image_pattern {
        top: -45px !important;
        width: 377px !important;
        height: 71px !important;
    }

    .image_pattern.img-left-pattern {
        left: -100px !important;
    }

    .image_pattern.img-right-pattern {
        right: -100px !important;
    }
}

@media(min-width: 992px) {

    .image_pattern.img-left-pattern {
        left: -150px !important;
    }

    .image_pattern.img-right-pattern {
        right: -150px !important;
    }
}

.section-blue a:not(.btn) {
    color: var(--white);
}

@media(min-width: 1200px) {
    .image_pattern {
        top: -45px !important;
        width: 497px !important;
        height: 89px !important;
    }

    .image_pattern.img-left-pattern {
        left: -194px !important;
    }

    .image_pattern.img-right-pattern {
        right: -194px !important;
    }

    .section-blue a:not(.btn):hover {
        background: var(--teal);
        border-radius: 0;
    }
}

@media (min-width: 1920px) {
    .half-and-half-text.right {
        padding: 32px 52px 64px 150px;
    }

    .half-and-half-text.left {
        padding: 32px 150px 64px 52px;
    }
}