/*------------------------------------*\
    
    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;
    align-items: center;

    @media( max-width : 1199px ) {
        flex-direction: column-reverse;
    }
}

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

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

.half-and-half-image__wrap {
    padding-right: 12px;
}

.half-and-half-text {
    padding: 43px 22px 0 22px;
    order: -1;
}


.half-and-half-text__wrapper ul {
    padding: 0;
    margin: 0 0 30px;
}

.half-and-half-text__wrapper ul li {
    padding: 0 0 0 62px;
    margin: 0 0 15px;
    line-height: 1.35em;
    font-size: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    min-height: 47px;
}

.half-and-half-text__wrapper ul li:before {
    display: none;
}

.half-and-half-text__wrapper ul li i {
    position: absolute;
    width: 47px;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0;
    top: 50%;
    background-color: #1A79B1;
    border-radius: 50px;
    font-size: 27px;
    transform: translate(0, -50%);
}

.half-and-half-text__wrapper h2 {
    margin-bottom: 30px;
    padding: 0;
}

.half-and-half-text__wrapper .btn-tertiary {
    font-size: 18px;
    margin-top: 18px;
}

@media (min-width: 768px) { 
    .half-and-half-image__wrap {
        padding-right: 56px;
    }

    .half-and-half-text {
        padding: 55px 52px 0;
    }


    .half-and-half-text__wrapper .btn-tertiary {
        margin-top: 0;
        margin-left: 20px;
    }

}   



@media (min-width: 1200px) {
    
    .half-and-half-image, 
    .half-and-half-text {
        position: relative;
        width: 50%;
    }

    .half-and-half-image__wrap {
        padding-right: 47px;
    }

    .half-and-half-text {
        padding: 0 16px;
        order: 1;
    }


    .half-and-half-text__wrapper .btn-tertiary {
        margin-top: 0;
        margin-left: 20px;
    }

    .half-and-half-text__wrapper {
        max-width: 616px;
    }

}


.half-and-half-text__testimonial {
    position: relative;
}

.half-and-half-text__testimonial h2 {
    margin-bottom: 20px;
    padding-top: 32px;
}

.half-and-half-text__testimonial h4 {
    opacity: 0.36;
    font-size: 22px;
    font-family: "PT Sans Caption", sans-serif;
}

@media (min-width: 768px) {
    .half-and-half-text__testimonial h4 {
        font-size: 27px;
    }
}