/*------------------------------------*\
    
    Contained Image + Text Block Customizations - Global Styling

    The styles you add to this file will be applied to the 'Contained Image + Text' block. 
    If there is any reasons why you would need to style them separately,
    please create a block-specific stylesheet for it (don't forget to register that block-specific stylesheet in acf-start-blocks.php)

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

.image-text {
    position: relative;
}

.image-text-pattern {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.image-text__wrap {
    position: relative;
    padding: 80px 0;
}

.image-text--bottom-overlay .image-text__wrap {
    padding-bottom: 100px;
    margin-bottom: -50px;
}

.image-text__text {
    background: #fff;
    box-shadow: 10px 10px 20px rgba(154, 154, 154, 0.10);
    padding: 50px 28px 50px;
    color: #9A9A9A;
}

.image-text-heading h2 {
    color: #000000;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    padding: 0;
}

.image-text--testimonials .image-text-heading h2 {
    margin-bottom: 15px;
}

.image-text-heading h2 i {
    font-size: 63px;
    color: #BDA76C;
    font-weight: 400;
    position: relative;
    top: 6px;
    right: 5px;
    z-index: 1;
}

.process-col {
    padding: 0 0 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.process-icon {
    width: 24px;
    padding-top: 6px;
}

.process-info {
    width: calc(100% - 24px);
    padding-left: 20px;
}

.process-info h4 {
    font-size: 25px;
    color: #222222;
    padding-bottom: 9px;
}

.process-info p {
    font-weight: 1.5em;
}

.image-text__img {
    width: 100%;
    height: 253px;
    position: relative;
}

.image-text__img::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    /* background: rgba(255, 255, 255, 0.40); */
    z-index: 1;
    width: 100%;
    height: 100%;
}

.testimonials-icon-top {
    margin-bottom: 20px;
}

.testimonials-icon-bottom {
    margin-top: 20px;
}

.testimonials__content p {
    font-size: 25px;
    line-height: 1.6em;
    color: #000000;
    padding: 0;
    font-family: 'Forum', cursive;
}

.testimonials__author {
    font-size: 20px;
    line-height: 1.6em;
    color: #9A9A9A;
    padding: 40px 0 0;
    text-align: right;
}

.testimonials__author span {
    position: relative;
    display: inline-block;
    padding-left: 70px;
}

.testimonials__author span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 60px;
    height: 1px;
    background: #9A9A9A;
}

.testimonials-btn {
    padding-top: 144px;
}

.js-testimonials-slider__main .slick-prev,
.js-testimonials-slider__main .slick-next {
    bottom: -400px;
    background-color: #1A254E;
}

.js-testimonials-slider__main .slick-prev:focus,
.js-testimonials-slider__main .slick-next:focus,
.js-testimonials-slider__main .slick-prev:hover,
.js-testimonials-slider__main .slick-next:hover {
    background-color: #BDA76C;
}

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

.image-text--inner .image-text__text h3 {
    font-size: 35px;
}

.image-text__text--beige,
.bg-white-beige-textbox,
.bg-white-beige-textbox.image-text__text__overlay {
    background: #FBFAF7;
}

.js-testimonials-slider__nav .slick-list {
    height: 100%;
}

.js-testimonials-slider__nav .slick-track {
    height: 100%;
}

.js-testimonials-slider__nav .slick-slide > div {
    height: 100%;
}

.js-testimonials-slider__nav .fx-slide {
    height: 100%;
}

@media (min-width: 768px) {
    .image-text__wrap {
        padding: 100px 0;
    }

    .image-text--bottom-overlay .image-text__wrap {
        padding-bottom: 185px;
        margin-bottom: -80px;
    }

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

    .image-text__text {
        padding: 50px 41px 50px;
    }

    .process-col {
        padding-bottom: 50px;
    }
    
    .image-text__img {
        height: 424px;
    }

    .testimonials__author {
        padding: 0 0 0;
        margin-top: -34px;
    }
    
    .testimonials__author span {
        position: relative;
        display: inline-block;
        padding-left: 70px;
    }

    .view-btns {
        padding-top: 60px;
    }

    .js-testimonials-slider__main .slick-prev,
    .js-testimonials-slider__main .slick-next {
        bottom: -107px;
    }

    .js-testimonials-slider__main .slick-next {
        right: 5px;
        margin-right: 0;
    }

    .js-testimonials-slider__main .slick-prev {
        left: auto;
        right: 60px;
        margin-left: 0;
    }

    .image-text--inner .image-text__text h3 {
        font-size: 40px;
    }

}

@media (min-width: 1200px) {
    .image-text__wrap {
        padding: 160px 0;
    }

    .image-text--bottom-overlay .image-text__wrap {
        margin-bottom: -80px;
    }

    .image-text--inner .image-text__wrap {
        margin-bottom: 0;
        padding-bottom: 160px;
    }

    .image-text__text {
        padding: 70px 80px 75px;
    }

    .process-col {
        padding-bottom: 40px;
    }

    .flex-row {
        display: flex;
        align-items: flex-start;
    }

    .row-reverse {
        flex-direction: row-reverse;
    }
    
    .image-text__img {
        height: 740px;
        width: 57%;
    }

    .image-text__text {
        width: 43%;
        background: transparent;
        box-shadow: none;
        padding: 88px 0 0;
        z-index: 2;
    }

    .image-text__text__overlay {
        width: 744px;
        background: #fff;
        box-shadow: 10px 10px 20px rgba(154, 154, 154, 0.10);
        padding: 70px 80px 75px;
        color: #9A9A9A;
        position: relative;
        z-index: 3;
    }

    .row-reverse .image-text__text__overlay {
        margin-left: -81px;
    }

    .image-text-heading h2 {
        font-size: 50px;
    }

    .process-info h4 {
        font-size: 30px;
    }
    
    .process-icon {
        padding-top: 12px;
    }

    .view-btn {
        margin-top: 20px;
    }

    .flex-rows {
        display: flex;
    }

    .image-text--testimonials .testimonials__column {
        height: 500px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }

    .image-text--testimonials .image-text-heading h2 {
        padding: 0;
        margin: 0 0 30px;
    }

    .testimonials__author {
        padding: 0 30px 0 0;
        margin-top: -118px;
        width: 100%;
    }

    .testimonials__content p {
        font-size: 30px;
        line-height: 1.5em;
    }

    .testimonials-icon-top,
    .testimonials__content,
    .testimonials-icon-bottom {
        width: 100%;
    }

    .view-btns {
        padding-top: 15px;
    }

    .js-testimonials-slider__main .slick-prev,
    .js-testimonials-slider__main .slick-next {
        bottom: -62px;
    }

    .image-text--testimonials .image-text__text__overlay {
        padding: 70px 65px 75px;
    }

    .testimonials__author {
        font-size: 22px;
    }

    .testimonials-icon-top {
        margin-bottom: 0;
    }

    .testimonials-icon-bottom {
        margin-top: 0;
    }

    .image-text--inner .image-text__text__overlay {
        padding: 85px 80px 90px;
    }

}
