/*------------------------------------*\
    
    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;
}

.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-text.right {
    margin-right: auto;
}

.half-and-half-text.left {
    margin-left: auto;
}

.half-and-half-text__wrapper {
    padding: 80px 22px 62px 22px;
    color: #171717;
}


@media (max-width: 1199px) {
    .half-and-half__mobile_curve {
        position: absolute;
        width: 100%;
        z-index: 2;
        left: 0;
        top: -1px;
        height: 100%;
    }
}

.half-and-half__curve {
    position: absolute;
    width: 100%;
    z-index: 1;
    left: 0;
    top: 0;
    background-color: rgba(44, 134, 239, 0.5);
    height: 100%;
}

.half-and-half__curve svg {
    width: 100%;
    height: auto;
}

.half-and-half-image__bg {
    position: absolute;
    top: 0;
    left: 0;
}

.half-and-half__man {
    position: relative;
    height: auto;
    z-index: 3;
    width: 312px;
    margin: 0 auto;
}

.my-gradient {
    padding-bottom: 22px;
    shape-rendering: crispEdges;
}

.my-gradient img {
    display: block;
    shape-rendering: crispEdges;
}

.half-and-half-text__wrapper h5 {
    color: #081542;
    font-size: 24px;
    padding-bottom: 20px;
    text-transform: none;
}

.half-and-half-text__wrapper ul {
    padding-bottom: 25px;
    padding-left: 10px;
}

.half-and-half-text__wrapper ul li {
    padding: 0 0 0 30px;
    margin-bottom: 6px;
    position: relative;
}

.half-and-half-text__wrapper ul li:before {
    content: "\e905";
    font-family: 'icomoon';
    position: absolute;
    left: 0;
    top: 0;
    ;
    font-size: 20px;
    color: #2C86EF;
}

@media (min-width: 768px) {
    .half-and-half__man {
        width: 490px;
    }
    .half-and-half-text__wrapper {
        padding: 106px 52px 70px 52px;
        color: #171717;
        display: flex;
        flex-wrap: wrap;
        align-items: top;
    }
    .half-and-half-text__wrapper__flex {
        width: calc(100% - 75px);
        padding-left: 32px;
    }
    .my-gradient {
        width: 75px;
        padding-bottom: 0;
    }
}

@media (min-width: 1200px) {
    .half-and-half__man {
        width: 649px;
        right: 0;
        bottom: 0;
        position: absolute;
    }
    .image-right .half-and-half__man {
        right: -90px;
    }
    .half-and-half__curve svg {
        width: auto;
        height: 100%;
        position: absolute;
        display: block;
        right: -1px;
    }
    .half-and-half-text__wrapper {
        position: relative;
        padding: 108px 16px 125px 16px;
        max-width: 704px;
    }
    .half-and-half--homepage {
        flex-direction: row-reverse;
        overflow: hidden;
    }
    .half-and-half--homepage.image-right {
        flex-direction: row;
    }
    .half-and-half-image {
        width: calc(50% - 100px);
    }
    .half-and-half-text {
        width: calc(50% + 100px);
    }
    .half-and-half-text__wrapper p,
    .half-and-half-text__wrapper ul {
        font-size: 18px;
    }
    .half-and-half-text__wrapper h5 {
        font-size: 24px;
    }
}

.half-and-half-text__curve {
    position: absolute;
    width: 465px;
    height: auto;
    right: -118px;
    bottom: -180px;
}