/*------------------------------------*\
    
    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__text__wrap {
    padding-bottom: 32px;
}

.image-text__img__wrap {
    aspect-ratio: 16 / 9;
    position: relative;
    box-shadow: 0 0 16px rgba(10, 64, 82, 0.29);
}

.image-text__half {
    position: relative;
    z-index: 2;
}

.image-text__video-bttn {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.image-text__video-bttn svg {
    width: 89px;
    height: auto;
}

.image-text {
    position: relative;
}

.image-text__curve {
    z-index: -1;
    width: 100%;
    height: auto;
    top: -50px;
    position: absolute;
}

.image-text--pattern .image-text__curve {
    z-index: 0;
}

.image-text--pattern {
    padding-top: 100px;
}
.half-text-half-map iframe {
    width: 100%;
}

.half-text-half-map {
    background: #46998A;
    color: #fff;
    position: relative;
}
.half-text-half-map .map_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.half-text-half-map h2 ,
.half-text-half-map h3 ,
.half-text-half-map h4 ,
.half-text-half-map h5,
.half-text-half-map h6,
.half-text-half-map .subheading ,
.half-text-half-map .sub-heading,
.half-text-half-map p{
     color: #fff;
}
.half-text-half-map .container-fluid {
    position: relative;
    z-index: 1;
}
.half-text-half-map .btn-cta {
    background-color: #fff;
    color: #46998A;
    border: none;

}
.map-content{
    padding-top: 30px;
}

@media (min-width: 768px) {
    .image-text__curve {
        top: -100px;
    }

    .image-text--pattern {
        padding-top: 120px;
    }

    .image-text__img__wrap {
        aspect-ratio: 16 / 9;
        margin: 0 58px;
    }

    .image-text__text__wrap {
        padding-bottom: 64px;
        padding-left: 58px;
        padding-right: 58px;
    }

}

@media(min-width:1025px) {
    .flex-row-center {
        align-items: center;
    }

}

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

    .image-text__curve {
        top: -180px;
    }

    .image-text__img__wrap {
        aspect-ratio: 16 / 9;
        margin: 0;
    }

    .image-text__text__wrap {
        padding-bottom: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .image-text--left .image-text__text__wrap {
        padding-right: 52px;
    }

    .flex-normal .image-text__text__wrap {
        padding-right: 52px;
    }

    .image-text--right .image-text__text__wrap {
        padding-left: 52px;
    }

    .flex-opposite .image-text__text__wrap {
        padding-left: 52px;
    }

    .image-text__video-bttn svg {
        width: 98px;
        transition: all .3s ease-in-out;
    }

    .image-text__video-bttn:hover svg {
        transform: scale(1.05);
    }
    .map-content {
        padding-left: 75px;
        padding-top: 0;
    }
    .half-text-half-map .btn-cta:hover {
        color: #fff;
        box-shadow: inset 0 -100px #46998A;
    }
}

@media (min-width: 1600px) {
    .image-text__curve {
        top: -280px;
    }

    .image-text--pattern {
        padding-top: 200px;
    }
}

.js-image-text__img {
    margin: -16px;
}

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