 
/*------------------------------------*\
    
    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 {
    position: relative;
}

.top-seperator {
    width: 100%;
    height: auto;
    top: -1px;
    left: 0;
    z-index: -1;
    position: absolute;
}

.flex-row {
    display: flex;
    flex-wrap: wrap;
}

.image-text .flex-row {
    align-items: center
}

.image-text__img,
.image-text__text {
    width: 100%;
    position: relative;
}

.image-text__img__full {
    height: 181px;
}

.image-text__img__full img {
    border-radius: 8px;
}

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

.image-text--curve {
    padding-top: 64px;
}

.video-bttn {
    position: absolute;
    width: 71.5px;
    height: 71.5px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 4px solid #002D70;
    font-size: 24px;
    transition: -webkit-transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
    
    i {
        margin-left: 4px;
    }
}

.image-text__img__full-big {
    height: 165px;
}

.image-text__img__full-sml {
    height: 90px;
    width: 143px;
    margin-top: -75px;
}

.image-text__img__full-big img,
.image-text__img__full-sml img {
    border-radius: 8px;
}

.image-text__img__full-sml img {
    box-shadow: 0 0 8px 0 rgba(26, 36, 43, 0.25);
}

.image-text--right .image-text__img__full-big {
    margin-left: 13px;
}

.image-text--left .image-text__img__full-big {
    margin-right: 13px;
}

.image-text--left .image-text__img__full-sml {
    margin-left: auto;
}

.image-text--full-height-mobile .image-text__img__full,
.image-text--full-height-mobile .image-text__img__full-big,
.image-text--full-height-mobile .image-text__img__full-sml {
    height: auto;
}

.image-text--full-height-mobile .image-text__img__full-sml {
    margin-top: 0;
    width: 100%;
}

@media (min-width: 768px) {
    
    .image-text__img__full {
        height: 288px;
    }

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

    .image-text--curve {
        padding-top: 80px;
    }

    .video-bttn {
        width: 110px;
        height: 110px;
        font-size: 41px;
    }

    
    .image-text__img__full-big {
        height: 263px;
    }

    .image-text__img__full-sml {
        height: 144px;
        width: 227px;
        margin-top: -119px;
    }

    .image-text--right .image-text__img__full-big {
        margin-left: 21px;
    }

    .image-text--left .image-text__img__full-big {
        margin-right: 21px;
    }

    .image-text--full-height-mobile .image-text__img__full,
    .image-text--full-height-mobile .image-text__img__full-big,
    .image-text--full-height-mobile .image-text__img__full-sml {
        height: auto;
    }

    .image-text--full-height-mobile .image-text__img__full-sml {
        margin-top: 0;
        width: 100%;
    }

}

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

    .image-text__img {
        width: calc(50% + 15px);
    }

    .image-text__text {
        width: calc(50% - 15px);
    }

    .image-text__img__full {
        height: auto;
    }

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

    .image-text--right .image-text__text {
        padding-right: 78px;
    }

    .image-text--left .image-text__text {
        padding-left: 78px;
    }

    .image-text--curve {
        padding-top: 137px;
    }

    .video-bttn:hover {
        -webkit-transform: translate(-50%, -50%) scale(1.1);
                transform: translate(-50%, -50%) scale(1.1);
    }

    .image-text__img__full-big {
        height: auto;
    }

    .image-text__img__full-sml {
        height: 210px;
        width: 323px;
        margin-top: -174px;
    }

    .image-text--right .image-text__img__full-big {
        margin-left: 33px;
    }

    .image-text--left .image-text__img__full-big {
        margin-right: 33px;
    }
}