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

    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: #222222;
}

.bg-white {
    background: #ffffff;
}

.bg-gray {
    background: #F4F4F5;
}

.bg-blue {
    /*
    background: linear-gradient(135deg, #19225b 10%, #29447e 30%, #19225b 50%, #29447e 70%, #19225b 90%);
    */
    background: linear-gradient(to bottom, #19225b 10%, rgba(25, 34, 91, 0.7) 20%), linear-gradient(to top, #19225b 20%, rgba(25, 34, 91, 0.4) 35%), linear-gradient(135deg, #29447e 0%, #29447e 25%, #19225b 50%, #29447e 75%, #19225b 100%);
    color: #ffffff;
}

.bg-light-blue {
    background: #f5f8fc;
}

.image-cards--gradient+.bg-white,
.image-cards--gradient+.bg-white-gradient,
.bg-white-gradient+.bg-white,
.bg-white+.bg-white,
.testimonial-form+.bg-white-gradient {
    padding-top: 0;
}

.bg-blue h2,
.bg-blue h3,
.bg-blue h4,
.bg-blue .sub-heading {
    color: #FFFFFF;
}

.bg-blue p a {
    color: #FFFFFF;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);
    background-position: 0 100%;
    background-repeat: repeat-x;
    background-size: 3px 1px;
    transition: background-size .0s;
}

.bg-blue p a.btn-tertiary {
    background: none;
}

.bg-blue blockquote a {
    color: #2960BB;
    font-weight: 400;
    background: linear-gradient(to bottom, rgba(41, 96, 187, 1) 0%, rgba(41, 96, 187, 1) 100%);
    background-position: 0 100%;
    background-repeat: repeat-x;
    background-size: 3px 1px;
    transition: background-size .0s;
    border-radius: 0;
    word-break: break-word;
    text-decoration: none;
}

.bg-blue blockquote {
    background: #F5F8FC;
    border: 1px solid #F5F8FC;
}

.bg-blue ul li:before {
    background: #FFFFFF;
}

.bg-white-gradient {
    background: linear-gradient(to bottom, #f5f8fc 10%, #ffffff 60%);
}

.wysiwyg-wave-top {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: auto;
}

.wysiwyg--wave-padding {
    padding-top: 70px !important;
}

.content-quote {
    background: #EFF8E9;
    border-radius: 115px 50px 90px 50px;
    padding: 31px 26px;
    text-align: center;
    color: #222222;
}

.content-quote i {
    margin: 0 0 10px;
    font-size: 38px;
    line-height: 1.em;
    color: #6BB92E;
    font-weight: 400;
    display: block;
}

.content-quote p {
    margin: 0 0 15px;
    padding: 0 0 0;
    font-size: 18px;
    line-height: 1.55em;
    color: #222222;
    font-weight: 400;
    font-family: "Barlow", serif;
}

.content-quote h5 {
    margin: 0 0 8px;
    padding: 0 0 0;
    font-size: 22px;
    line-height: 1.2em;
    color: #6BB92E;
    font-weight: 400;
    font-family: "Kalam", serif;
    text-transform: none;
}

.content-quote span {
    margin: 0 0 3px;
    padding: 0 0 0;
    font-size: 16px;
    line-height: 1.3em;
    color: #222222;
    font-weight: 400;
    font-family: "Barlow", serif;
    display: block;
}

.example-block {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px 0;
}

.example-block .btn+.btn {
    margin: 0 0 0 15px;
}

@media (min-width: 768px) {
    ul.list-column {
        column-count: 2;
        column-gap: 50px;
    }
    .wysiwyg--wave-padding {
        padding-top: 110px !important;
    }
    .content-quote {
        padding: 42px 26px;
    }
    .content-quote i {
        margin: 0 0 12px;
    }
    .content-quote p {
        margin: 0 0 16px;
        font-size: 20px;
        line-height: 1.6em;
    }
    .content-quote h5 {
        margin: 0 0 8px;
        font-size: 22px;
    }
    .example-block {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 0 32px;
    }
    .example-block .btn+.btn {
        margin: 0;
    }
}

@media (min-width: 1200px) {
    .bg-white-gradient {
        background: linear-gradient(to bottom, #f5f8fc 10%, #ffffff 60%);
    }
    .wysiwyg--wave-padding {
        padding-top: 175px !important;
    }
    ul.list-column {
        column-count: 2;
        column-gap: 70px;
    }
    .bg-blue p a:hover {
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.25) 100%);
        background-repeat: repeat-x;
        background-size: 2px 20px;
        background-position: 0 100%;
        color: #FFFFFF;
        transition: background-size .3s;
    }
    .content-quote {
        padding: 42px 42px;
    }
    .content-quote i {
        margin: 0 0 12px;
    }
    .content-quote p {
        margin: 0 0 16px;
        font-size: 20px;
        line-height: 1.6em;
    }
    .content-quote h5 {
        margin: 0 0 8px;
        font-size: 22px;
    }
    .bg-blue blockquote a:hover {
        background: linear-gradient(to bottom, rgba(41, 96, 187, 0.15) 0%, rgba(41, 96, 187, 0.15) 100%);
        background-repeat: repeat-x;
        background-size: 2px 20px;
        background-position: 0 100%;
        color: #2960BB;
        transition: background-size .3s;
    }
}


/* table */

.table-structure {
    overflow: hidden;
    border-radius: 15px;
    border: 1px solid #2960BB;
    margin-bottom: 25px;
}

.table-heading {
    background: #29447E;
    padding: 7px 15px 11px;
    font-size: 20px;
    line-height: 1.2em;
    border: none;
    color: #FFFFFF;
    font-weight: 600;
    font-family: "Barlow Condensed", serif;
    text-align: center;
}

.table-structure table {
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: "Barlow", serif;
    background: #F5F8FC;
}

.table-structure table thead tr th {
    padding: 10px 22px;
    font-size: 18px;
    line-height: 1.2em;
    font-weight: 700;
    border: none;
    color: #222222;
    font-weight: 700;
    border-bottom: 1px solid #A0B9E4;
    border-right: 1px solid #A0B9E4;
}

.table-structure table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.table-structure table td {
    border-bottom: 1px solid #A0B9E4;
    width: 100%;
    text-align: left;
    font-size: 15px;
    font-weight: 500;
    color: #222222;
    line-height: 1.33em;
    display: table;
    vertical-align: middle;
    padding: 0 15px;
    clear: both;
}

.table-structure table td::before {
    content: attr(data-label);
    float: left;
    font-weight: 700;
    width: 50%;
    padding: 10px 15px;
    border-right: 1px solid #A0B9E4;
    margin: 0 15px 0 0;
}

.table-structure table tbody tr:nth-child(even) {
    background: #ffffff;
}

.table-structure table td:last-child {
    border-bottom: none;
}

@media (min-width: 768px) {
    .table-heading {
        padding: 9px 15px 10px;
        font-size: 25px;
    }
    .table-structure table td {
        font-size: 18px;
    }
    .table-structure table td::before {
        padding: 9px 30px;
        margin: 0 30px 0 0;
    }
}

@media (min-width: 1200px) {
    .table-structure table thead {
        border: none;
        clip: inherit;
        height: auto;
        margin: 0;
        overflow: visible;
        padding: 0;
        position: relative;
        width: auto;
        background-color: #fff;
    }
    .table-structure table td::before {
        display: none;
    }
    .table-structure table tbody tr {
        border-bottom: 1px solid #A0B9E4;
    }
    .table-structure table tbody tr:last-child {
        border-bottom: none;
    }
    .table-structure table tbody tr td {
        display: table-cell;
        font-size: 18px;
        font-weight: 400;
        padding: 9px 24px;
        border-right: 1px solid #A0B9E4;
        border-bottom: none;
        width: 225px;
    }
    .table-structure table td:last-child,
    .table-structure table thead tr th:last-child {
        border-right: none;
    }
    .table-structure table td:last-child {
        width: 390px;
    }
}

.read-more-btn {
    margin: 20px 0;
}