/*------------------------------------*\
    
    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;
    z-index: 1;
    overflow: hidden;
}

.bg-white {
    background: #ffffff;
}

.bg-gradient {
    background: linear-gradient(to bottom,  rgba(0,99,216,1) 0%,rgba(0,57,125,1) 100%);
    color: #fff;
}

.bg-blue {
    background-color: var(--primary-color);
    color: #fff;
}

.bg-light_blue {
    background-color: #dbf1fc;
}

.bg-dark-blue {
    background-color: #00397D;
    color: #fff;
}

.bg-gray {
    background: #F5F5F5;
}

.bg-gradient h2,
.bg-blue h2,
.bg-dark-blue h2,
.bg-gradient h3,
.bg-blue h3,
.bg-dark-blue h3,
.bg-gradient h4,
.bg-blue h4,
.bg-dark-blue h4 {
    color: #fff;
}

.bg-gradient blockquote {
    background-color: #fff;
}

.wave-top {
    position: absolute;
    top: -1px;
    left: 0;
}

.wave-bottom {
    position: absolute;
    bottom:  -1px;
    left: 0;
}


.wysiwyg__pattern-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1; 
    object-position: left;
    height: 50% !important;
}

.wysiwyg--both-svg {
    padding: 145px 0;
}


.bg-white + .bg-white .wysiwyg__content{
    padding-top: 80px;
}


.bg-gradient .wysiwyg__content{
    padding: 20px 0 30px;
}

@media (min-width: 768px) {
    
    .bg-gradient .wysiwyg__content{
        padding: 20px 0 30px;
    }

    .wysiwyg.bg-gradient .container{
        padding-bottom: 40px;
    } 
    

    .wysiwyg--both-svg {
        padding: 105px 0;
    }
    
}


@media (min-width: 1200px) {
    
    .wysiwyg--both-svg {
        padding: 180px 0;
    }

    .wysiwyg h4{
        padding-top: 25px;
    }

    .bg-white + .bg-white .wysiwyg__content{
        padding-top: 110px;
    }
    
}


.table-block__top-content {
    padding-bottom: 45px;
}


table {
    border-collapse: collapse;
    width: 100%;
    border: 1px solid #CECECE;
}

table tbody tr {
    background-color: #ffffff;
}

table tbody tr:nth-child(odd) {
    background-color: #F5F5F5;
}

table tbody tr th,
table tbody tr td {
    display: block;
}

table tbody tr th {
    padding: 35px 26px 30px 26px;
    text-align: left;
    font-size: 15px;
    font-weight: 700;
    color: #636466;
    line-height: 1.2em;
    vertical-align: top;
    letter-spacing: 0.03em;
}

table tbody tr td {
    padding: 0 26px 10px;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    color: #636466;
    line-height: 1.7em;
    letter-spacing: 0.03em;
}

table tbody tr td span {
    display: block;
    padding-bottom: 22px;
}

.table-block__top-content h2 {
    padding-bottom: 0;
}

.table-block__top-content h2::before{
    content: '' !important;
    display: none;
}

@media (min-width: 768px) {
    table tbody tr th,
    table tbody tr td {
        display: table-cell;
        padding: 40px 17px 40px;
        vertical-align: middle;
    }

    table tbody tr th {
        padding-left: 26px;
        width: 155px;
    }

    table tbody tr td span {
        padding-bottom: 20px;
    }

    table tbody tr td span:last-child {
        padding-bottom: 0;
    }

    .table-block__top-content {
        padding-bottom: 60px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }
    
    .table-block__top-content h2 {
        padding-bottom: 0;
    }

}

@media (min-width: 1200px) {
    table tbody tr th,
    table tbody tr td {
        padding: 38px 39px;
        font-size: 16px;
    }

    table tbody tr th {
        padding-left: 39px;
        width: 270px;
    }

    table tbody tr td span {
        padding-bottom: 20px;
    }

    table tbody tr td span:last-child {
        padding-bottom: 0;
    }

}
.wysiwyg:has(+ .fx-accordion) .wave-bottom path {
    fill: #F5F5F5;
}

.wysiwyg:has(+ .bg-gradient) .wave-bottom path {
    fill: #0063D8;
}
 
.bg-gradient .wysiwyg__content a,
.bg-blue .wysiwyg__content a,
.bg-dark-blue .wysiwyg__content a {
    color:#fff;
    text-decoration: underline;
}


