/*------------------------------------*\
    
    Full-Width Image + Text Block Customizations - Global Styling

    The styles you add to this file will be applied to the 'Full-Width 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-starter-blocks.php)

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

.full-width-image-text {
    position: relative;
    background: rgb(0,59,93);
    background: -moz-linear-gradient(-45deg,  rgba(0,59,93,1) 0%, rgba(0,29,46,1) 100%);
    background: -webkit-linear-gradient(-45deg,  rgba(0,59,93,1) 0%,rgba(0,29,46,1) 100%);
    background: linear-gradient(135deg,  rgba(0,59,93,1) 0%,rgba(0,29,46,1) 100%);
    padding: 60px 0;
}

.home-redesign .full-width-image-text {
    padding-top: 60px;
    padding-bottom: 60px;
}

.full-width-image-text--bg-light-grey {
    background: #E9ECF1;
}

.full-width-image-text--bg-light-brown {
    background: #FFF4EB;
}

.full-width-image-text__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    z-index: 1;
    opacity: 0.2;
}

.full-width-image-text__content {
    padding: 0;
    position: relative;
    z-index: 2;
}

.full-width-image-text__headline {
    margin-top: 0;
}

.full-width-image-text__description :last-child {
    margin-bottom: 0;
}

.full-width-image-text__description ul li::before { content: none; }

.full-width-image-text--direct-overlay .full-width-image-text__headline,
.full-width-image-text--direct-overlay .full-width-image-text__description p {
    color: #fff;
}

.full-width-image-text--bg-light-grey .full-width-image-text__headline {
    color: #003B5D;
}

.full-width-image-text--bg-light-grey .full-width-image-text__description p {
    color: #2E3532;
}

.full-width-image-text--bg-light-brown .full-width-image-text__headline {
    color: #003B5D;
}

.full-width-image-text--bg-light-brown .full-width-image-text__description p {
    color: #2E3532;
}

.full-width-image-text--direct-overlay .full-width-image-text__description p {
    margin: 0;
}

.cta-left,
.cta-right {
    display: none;
    position: absolute;
    height: 100%;
    bottom: 0;
}

.cta-right {
    right: 0;
}

.cta-left img,
.cta-right img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

@media (min-width: 768px) {
    .full-width-image-text {
        padding: 70px 0;
    }
}


@media (min-width: 1200px) {
    .full-width-image-text {
        padding: 100px 0;
    }
    .cta-left,
    .cta-right {
        display: block;
    }
}

.full-width-image-text__contact-form {
    background-color: #fff;
    text-align: left;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.16);
    padding: 35px 30px;
}

.full-width-image-text__contact-form h5 {
    text-align: center;
}

.full-width-image-text__contact-form h2.full-width-image-text__headline {
    text-align: center;
    color: #003B5D;
}

@media (min-width: 768px)  {
    .full-width-image-text__contact-form {
        padding: 50px;
        border-top: 6px solid #F6862A;
    }
}

@media (min-width: 1200px)  {
    .full-width-image-text__contact-form {
        padding: 60px 80px;
    }
}