/*------------------------------------*\
    
    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--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 img {
    height: 100%;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    -o-object-fit: cover;
}

.half-and-half {
    padding: 22px;
}

.half-and-half-text {
    padding: 0 0 35px 0;
    width: 100%;
}

.half-and-half-text .expand {
	margin-bottom: 0;
}

.half-and-half .read-more__content {
	-webkit-line-clamp: 6 !important;
}

.half-and-half .read-more__content.is-expanded {
	-webkit-line-clamp: inherit !important;
}

.half-and-half-text h2 br {
    display: none;
}

.logo-icon {
    width: 227px;
    height: 227px;
    position: absolute;
    left: -92px;
    top: -94px;
    opacity: 0.16;
}

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

.video-btns {
    background-color: rgba(78,68,68,0.30);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.play-btn i {
    font-size: 15px;
    color: #FFFFFF;
    display: block;
}

.play-btn h4 {
    font-size: 12px;
    font-weight: 500;
    color: #FFFFFF;
    padding: 12px 0 0;
}

a.video-image {
    border: none;
    position: relative;
    display: block;
    z-index: 9;
}

.half-and-half--padding {
    padding-top: 10px;
    padding-bottom: 44px;
}

.half-and-half-image__info {
    padding-top: 16px;
}

.half-and-half-image__info h4 {
    font-size: 14px;
    color: #80561B;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding-bottom: 9px;
}

.half-and-half-image {
    position: relative;
    height: 100%;
}

.half-and-half-image--text {
    margin-bottom: 95px;
}

.image-logo-icon {
    width: 176px;
    height: 176px;
    position: absolute;
    right: -69px;
    bottom: -61px;
    z-index: 1;
    opacity: 0.16;
}

.half-and-half--inner .half-and-half-image--text {
    margin-bottom: 0;
}

.half-and-half--inner .half-and-half-image img {
    height: 225px;
}

.image-block-right--inner {
    padding-top: 50px;
}

.half-and-half--inner .half-and-half-image__info h4 {
    padding-bottom: 0;
}

.half-and-half--inner .half-and-half-image__info .btn {
    font-weight: 500;
    font-size: 14px;
}



@media (min-width: 768px) {
    .half-and-half {
        padding: 0 52px;
    }

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

    .half-and-half__text-overlay {
        background: #FFFFFF;
        position: relative;
        z-index: 2;
        padding: 36px 75px 40px 40px;
    }

    .half-and-half .read-more__content {
        -webkit-line-clamp: 4 !important;
    }

    .half-and-half-image {
        padding: 0 40px;
    }

    .play-btn {
        width: 122px;
        height: 122px;
    }
    
    .play-btn i {
        font-size: 15px;
    }
    
    .play-btn h4 {
        font-size: 14px;
        padding: 12px 0 0;
    }

    .half-and-half--padding {
        padding-top: 50px;
        padding-bottom: 70px;
    }

    .image-logo-icon {
        width: 227px;
        height: 227px;
        right: -52px;
        bottom: -100px;
    }

    .half-and-half-image__info h4 {
        font-size: 16px;
        padding-bottom: 9px;
    }
    
    .half-and-half-image--text {
        margin-bottom: 100px;
    }

    .image-block-right--inner {
        padding-top: 130px;
        padding-bottom: 50px;
    }

    .half-and-half--inner .half-and-half-image img {
        height: 360px;
    }

    .half-and-half--inner .image-logo-icon {
        bottom: -42px;
    }

    .js-tab-image-slider__nav {
        padding: 0 32px 32px;
        background: #FFFFFF;
        z-index: 2;
    }

    .team-image {
        max-height: 360px;
    }

    .half-and-half--inner .half-and-half-image__info .btn {
        font-size: 14px;
    }
}


.tab-accordion__panel__content .half-and-half-image img {
    width: 100%;
}

.tab-accordion__panel__content .half-and-half-image {
    padding: 0;
    float: left;
    width: 100%;
}

.js-tab-image-slider__nav img {
    position: relative;
}

.half-and-half--inner .half-and-half-image .image-logo-icon img {
    height: 100%;
}

.half-and-half-image__info .btn {
    font-weight: 500;
}
    
@media (min-width: 1200px) {

    .team-image {
        max-height: 100%;
    }

    .js-tab-image-slider__nav {
        padding: 0 0 0;
        z-index: 2;
    }

    .half-and-half {
        padding: 0 0;
    }

    .half-and-half-image, 
    .half-and-half-text {
        position: relative;
        height: auto;
    }

    .half-and-half-image {
        flex: 0 0 55%;
    }

    .half-and-half-text {
        flex: 0 0 45%;
    }
    
    .half-and-half-image img {
        position: absolute;
    }

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

    .half-and-half-text__wrapper {
       padding: 110px 16px;
       max-width: 582px;
    }

    .half-and-half__text-overlay {
        margin-left: -96px;
        padding: 60px 65px 70px 45px;
     }

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

    .half-and-half-text.right .half-and-half__text-overlay {
        margin-left: 0px;
        margin-right: -96px;
        padding: 64px 47px 75px 65px;
     }

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

    .half-and-half-text h2 {
        line-height: 1.12em;
        padding-bottom: 35px;
    }

    .half-and-half-text h2 br {
        display: block;
    }

    .logo-icon {
        width: 290px;
        height: 290px;
        left: -102px;
        top: 0px;
    }

    .half-and-half-image {
        padding: 0 0;
        max-height: 716px;
    }

    .play-btn {
        transition: all ease-in-out 0.3s;
    }

    .half-and-half-image:hover .play-btn,
    .play-btn:hover {
        width: 150px;
        height: 150px;
        color: #FFFFFF;
    }

    .home .half-and-half--padding {
        padding-top: 140px;
        padding-bottom: 100px;
    }

    .half-and-half--padding {
        padding-top: 60px;
        padding-bottom: 60px;
        
    }

    .half-and-half-image__info h4 {
        font-size: 16px;
        padding-bottom: 2px;
        padding-top: 2px;
        padding-right: 18px;
        border-right: 1px solid #D1C392;
    }

    .half-and-half-image__info .btn {
        margin-left: 18px;
        margin-top: 0;
    }
    
    .half-and-half-image--text {
        margin-bottom: 0;
    }

    .half-and-half-image__info {
        display: flex;
        position: absolute;
        bottom: -42px;
        align-items: center;
        padding-left: 30px;
    }

    a.video-image {
        position: initial;
    }

    .tab-accordion__panel__content .half-and-half-image {
        padding: 0;
        float: left;
        width: 55%;
    }
    
    .js-tab-image-slider__nav img {
        position: relative;
    }

    .image-block-right--inner {
        padding-top: 140px;
        padding-bottom: 20px;
    }

    .half-and-half--inner .half-and-half-image img {
        height: 100%;
    }

    .image-block-right .logo-icon {
        right: -102px;
        top: 0px;
        left: auto;
    }

    .js-tab-image-slider__nav--item {
        height: 618px;
    }

}


.half-and-half-text__wrapper--nopadding {
    padding: 0;
}

