/*------------------------------------*\
    
    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)

\*------------------------------------*/

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

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

.our-focus {
    padding: 63px 0 0;
    position: relative;
    display: block;
    width: 100%;
    background-color: #f7f7f7;
}

.our-focus p {
    line-height: 1.75em;
    font-size: 16px;
    margin-bottom: 30px;
    margin-top: 30px;
}

.our-focus-image {
    display: block;
    width: 40%;
    float: left;
}

.our-focus-image img {
    -o-object-fit: cover;
       object-fit: cover;
}

.our-focus-image-mobile {
    display: none;
}

.our-focus-text-holder {
    display: block;
    width: 60%;
    float: left;
    padding: 90px 0;
}

.our-focus-text-holder-mobile,
.our-focus-btn-holder {
    display: none;
}

.our-focus-text {
    display: block;
    float: left;
    padding: 40px 0px 40px;
    max-width: 900px;
}

.our-focus-mobile {
    display: none;
}

@media ( max-width: 920px ) {
    .our-focus {
        padding: 20px 0;
        position: relative;
        overflow: hidden;
    }

    .our-focus-mobile {
        display: none;
    }

    .our-focus-image {
        display: block;
        margin-right: 0;
        float: none;
        width: 100%;
        position: absolute;
        top: 0;
    }

    .our-focus-image:before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0.5;
        background-color: white;
    }

    .our-focus-image-mobile {
        display: none;
    }

    .our-focus-text-holder {
        display: block;
        width: 100%;
        float: none;
        top: 0;
        position: relative;
        z-index: 900;
        padding: 20px 30px;
    }

    .our-focus-text-holder-mobile,
    .our-focus-btn-holder {
        display: none;
    }

    .our-focus p {
        line-height: 2em;
        font-size: 16px;
        margin-bottom: 30px;
        margin-top: 30px;
    }

    .our-focus-text .title-blue {
        font-weight: 800;
    }

    .title-blue {
        font-size: 40px;
    }
}

@media ( max-width: 600px ) {
    .our-focus-mobile {
        padding: 20px 0 0;
        position: relative;
        display: block;
        width: 100%;
        /*         height: 420px; */
    }

    .our-focus {
        display: none;
    }

    .our-focus-text .title-blue {
        font-weight: 800;
        font-size: 30px;
    }

    .our-focus-image {
        display: none;
    }

    .our-focus-image-mobile {
        display: block;
        margin-right: 0;
        float: none;
        width: 100%;
        position: absolute;
    }

    .our-focus-image-mobile:before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0.5;
        /*         background-color: white; */
    }

    .our-focus-btn-holder-btn {
        margin-top: 20px;
    }

    .focus_read_more {
        border: none;
        color: #0081c6;
        font-size: 18px;
        font-weight: 800;
        margin-top: 0;
        margin-bottom: 0;
        background: transparent;
    }

    .our-focus-text-holder {
        display: none;
        width: 100%;
        float: none;
        top: 0;
        position: absolute;
        padding: 20px 30px;
    }

    .our-focus-mobile-view {
        display: block;
        position: relative;
    }

    .our-focus-text-holder-mobile {
        display: block;
        width: 100%;
        float: none;
        top: 0;
        position: relative;
        padding: 20px 30px;
        height: auto;
        z-index: 1;
    }

    .our-focus-btn-holder {
        display: block;
        width: 100%;
        bottom: 0;
        text-align: center;
        padding: 0 20px 60px 20px;
        background-color: #f7f7f7;
        position: relative;
        z-index: 1;
    }

    .our-focus-btn-holder:before {
        content: '';
        display: block;
        width: 100%;
        background: linear-gradient(
            to bottom,
            rgba( 247, 247, 247, 0 ) 0%,
            rgba( 247, 247, 247, 1 ) 100%
        );
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00f7f7f7', endColorstr='#f7f7f7',GradientType=0 );
        height: 40px;
        position: absolute;
        top: -40px;
        left: 0;
    }

    .our-focus-btn-holder .read-more {
        margin-bottom: 10px;
    }

    .our-focus-text,
    .read-more__content p {
        display: block;
        float: none;
        padding: 20px 0;
        max-width: 100%;
        height: auto;
        line-height: 1.8em;
        /*clear: both;*/
    }




}
