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

    WebFX WYSIWYG Customizations - Global styling for all ACF WYSIWYG's

    Add custom WYSIWYG styling to this file if it should be applied to all ACF WYSIWYG's on the site
    Otherwise, put your block-specific styles in individual block stylesheets

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

.wysiwyg {
    position: relative;
    color: #1C314D;
}

.wysiwyg-img {
    height: 204px;
}

.wysiwyg-img img {
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(28,43,74,0.2);
}

.wp-caption-text {
    text-align: center;
    font-size: 16px;
    padding: 12px 0 17px;
}

.wp-caption-text span {
    color: #B12D27;
    font-weight: 600;
}

.sidebar__cta {
    background-color: #fff;
}

.wysiwyg.bg-blue .team {
    background-color: #fff;
}

.wysiwyg-image-buttons .teams {
    padding-top: 0;
}

.wysiwyg-image-buttons .team-item {
    margin-top: 0;
    margin-bottom: 32px;
}

.wysiwyg__content + .fx-accordion {
    margin-top: 30px;
}

.wysiwyg__content ul,
.wysiwyg__content ol {
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .wysiwyg-img-wrap {
        width: 371px;
        height: inherit;
    }

    .wysiwyg-img {
        height: 229px;
    }

    .sidebar {
        padding-top: 54px;
    }

    .sidebar__cta {
        box-shadow: 0 0 20px rgba(28,43,74,0.18);
        border-radius: 12px;
        position: relative;
        z-index: 1;
        margin-bottom: 33px;
        padding: 101px 57px 54px;
    }

    .sidebar__img {
        position: absolute;
        top: 0;
        left: 0;
    }

    .sidebar__cta h3 {
        font-size: 26px;
        padding-bottom: 8px;
    }

    .sidebar__text h3 {
        font-size: 26px;
        color: #B12D27;
        padding-bottom: 10px;
        margin-bottom: 10px;
        border-bottom: 1px solid rgba(28,43,74,0.12);
    }

    .sidebar__text h5 {
        font-size: 20px;
        font-weight: 600;
        padding-bottom: 32px;
        line-height: 30px;
    }

    .sidebar__text ul {
        margin: 0 0 20px 0;
        column-count: 2;
    }

    .sidebar__text ul li {
        font-size: 18px;
    }
}


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

    .wysiwyg-img-wrap {
        width: 508px;
        margin-left: 30px;
    }

    .wysiwyg-img {
        height: 313px;
    }

    .wp-caption {
        padding-bottom: 0;
    }

    .sidebar {
        padding-top: 0;
        padding-right: 30px;
    }

    .sidebar__cta {
        margin-bottom: 32px;
        padding: 101px 32px 54px;
    }

    .sidebar__cta h3 {
        max-width: 203px;
        margin: 0 auto;
    }

    .sidebar__text ul {
        column-count: 1;
    }

    .sidebar__text ul li {
        margin: 0 0 5px 0;
    }
}

.steps ul {
    margin: 0;
    padding: 0 0 20px 0;
}

.steps ul li::before {
    display: none;
}

.steps ul li {
    margin: 0;
    padding: 0 0 8px 0;
    text-align: center;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(28,43,74,0.4);
    border-bottom: 1px solid rgba(112,112,112,0.12);
}

.steps ul li.active {
    color: rgba(28,43,74,1);
}

.steps ul li.active::after {
    content: '';
    width: 100%;
    height: 5px;
    position: absolute;
    left: 0;
    bottom: -3px;
    background: #B12D27;
}

@media (min-width: 768px) {
    .steps ul {
        display: flex;
        padding-bottom: 32px;
    }


    .steps ul li {
        width: 50%;
    }
}