/*------------------------------------*\
    
    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__text {
    position: relative;
    color: #28303C;
    padding-bottom: 22px;
}

.image-text__img__wrap {
    position: relative;
    padding: 0 20px 20px 0;
    z-index: 1;
}

.flex-opposite .image-text__img__wrap {
    padding: 0 0 20px 20px;
}

.image-text__img__wrap img {
    width: 100%;
    height: 205px;
    border-radius: 7px;
    border: 1px solid #E5E5E5;
}

.image-text__img__wrap::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 207px;
    height: 204px;
    border-radius: 20px 10px 10px 100px;
    background: linear-gradient(135deg,  #e4f8fa 0%,#7bdce6 100%);
    z-index: -1;
}

.flex-opposite .image-text__img__wrap::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 207px;
    height: 204px;
    border-radius: 10px 20px 100px 10px;
    background: linear-gradient(45deg,  #a4c2ed 0%,#dde8f8 100%);
    z-index: -1;
}

.image-text__example-btns .btn-tertiary {
    margin-top: 20px;
}

@media (min-width: 768px) {
    .image-text__text {
        padding-bottom: 45px;
    }
    
    .image-text__img__wrap {
        position: relative;
        padding: 0 42px 40px 0;
        z-index: 1;
    }
    
    .flex-opposite .image-text__img__wrap {
        padding: 0 0 40px 48px;
    }
    
    .image-text__img__wrap img {
        width: 100%;
        height: 378px;
        border-radius: 7px;
    }
    
    .image-text__img__wrap::before,
    .flex-opposite .image-text__img__wrap::before {
        width: 414px;
        height: 407px;
    }

    .image-text__example-btns br {
        display: none;
    }

    .image-text__example-btns .btn-tertiary {
        margin-top: 0;
        margin-left: 30px;
    }
}



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

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

    .image-text__text {
        padding-bottom: 40px;
        padding-right: 40px;
    }

    .flex-opposite .image-text__text {
        padding-right: 21px;
        padding-left: 35px;
    }
    
    .image-text__img__wrap {
        padding: 0 0 40px 0;
    }
    
    .flex-opposite .image-text__img__wrap {
        padding: 0 0 40px 0;
    }

    .image-text__img__wrap::before {
        right: -42px;
    }

    .flex-opposite .image-text__img__wrap::before {
        left: -42px;
    }

    .image-text__example-btns br {
        display: none;
    }

    .image-text__example-btns .btn-tertiary {
        margin-top: 0;
        margin-left: 30px;
    }
}













