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

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

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

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

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

.half-and-half-image {
    width: 100%;
    height: 265px;
}

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

.half-and-half-text {
    padding: 45px 22px 56px;
    background: #001830;
    color: #ffffff;
}

.half-and-half-text h2,
.half-and-half-text h3 {
    color: #ffffff;
    padding-bottom: 15px;
}

.half-and-half-text h6 {
    font-size: 18px;
}

.half-and-half-text ul {
    margin: 0;
    padding: 0;
}

.half-and-half-text ul li {
    margin: 0 0 18px 0;
    padding: 0 0 0 82px;
    position: relative;
    font-size: 20px;
    font-weight: 500;
    color: #FFFFFF;
}

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

.half-and-half-text ul li i {
    font-size: 62px;
    font-weight: normal;
    color: #FFFFFF;
    position: absolute;
    left: 0;
    top: -15px;
    line-height: 1em;
}

.half-and-half-text ul li.customize-boad i {
    color: rgba(255, 255, 255, 0.55);
}

.half-and-half-text ul li.build-boad i {
    color: rgba(255, 255, 255, 0.29);
}

.half-image-boat {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 9;
    width: 41%;
    height: 100%;
}

/* Animation */

.home .js-animated-two-columns-image img {
    transform-origin: right;
}

.home .js-animated-two-columns-item {
    transform: translate(50px, 0);
    opacity: 0;
}

@media (min-width: 768px) {
    .half-and-half-image {
        height: 450px;
    }

    .half-and-half-text {
        padding: 60px 108px;
    }

    .half-and-half-text ul li {
        font-size: 24px;
        margin-bottom: 9px;
    }

    .half-and-half-text ul {
        padding-bottom: 15px;
    }

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

    .half-and-half {
        background: #001830;
    }

    .half-and-half-image {
        position: relative;
        flex: 0 0 43%;
    }

    .half-and-half-text {
        position: relative;
        flex: 0 0 57%;
    }

    .half-and-half-image {
        height: auto;
    }
    
    .half-and-half-image img {
        position: absolute;
        object-position: right;
    }

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

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

    .half-and-half-text.left .half-and-half-text__wrapper {
        float: right;
    }

    .half-and-half-text {
        padding: 110px 16px 110px 100px;
    }

    .half-and-half-text ul li {
        padding-left: 90px;
    }

    .half-and-half-text ul li i {
        top: -9px;
    }

    .half-and-half-text ul {
        padding-bottom: 28px;
    }

}

@media (min-width: 1600px) {
    .half-and-half-text {
        padding-left: 0;
    }

    .half-and-half-text__wrapper {
        padding-left: 120px;
     }
}