/*------------------------------------*\
    
    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 { 
    color: #3E3831;
    position: relative;
    z-index: 1;
}

.bg-white {
    background: var(--color-white);
}

.bg-green {
    background: rgba(64, 139, 90, 0.1);
}

.bg-tan {
    background: var(--color-tan);
}

.wysiwyg-pattern {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
}




/* table */

.table-structure {
    padding: 0 0;
    position: relative;
    color: #3E3831;
}

.table-structure table {
    border-collapse: collapse;
    width: 700px;
    overflow: hidden;
    font-family: 'DM Sans', sans-serif;
}

.table-structure table thead {
    background-color: transparent;
    color: #3E3831;
}

.table-structure table thead tr {
    border-bottom: 1px solid #707070;
}

.table-structure table thead tr th {
    padding: 0 30px 10px 0;
    text-align: left;
    font-size: 17px;
    line-height: 1.2em;
    font-weight: 700;
    border: none;
    color: #3E3831;
    vertical-align: top;
}

.table-structure table tbody tr {
    background-color: transparent;
    border-bottom: 1px solid #E2D4C3;
}

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

.table-structure table tbody tr td,
.table-structure table tbody tr th {
    padding: 10px 30px 10px 0;
    text-align: left;
    font-size: 15px;
    font-weight: 400;
    color: #3E3831;
    line-height: 1.6em;
    vertical-align: top;
    width: 33.333%;
}

.table-scroll {
    scrollbar-width: thin;
    scrollbar-color: #E2D4C3 #000;
    position: relative;
    padding-bottom: 12px;
    overflow-x: auto;
    margin-top: 0;
    margin-bottom: 25px;
    margin-right: -22px;
}

.table-scroll::-webkit-scrollbar {
    width: 10px;
    height: 20px;
    padding-bottom: 0;
    border-radius: 0;
}

.table-scroll::-webkit-scrollbar-track {
    background-clip: content-box;
    border: 20px solid #E2D4C3;
    border-radius: 0;
}

.table-scroll::-webkit-scrollbar-thumb {
    background-color: #BEA486;
    border-radius: 0;
    position: relative;
    height: 10px;
    border: 4px solid #E2D4C3;
    
}

.table-scroll::-webkit-scrollbar-thumb::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
}

.table-scroll::-webkit-scrollbar-thumb:hover {
    background-color: #FFDC00;
}

.table-scroll::-webkit-scrollbar-corner, 
.table-scroll::-webkit-scrollbar-track {
    background-color: #000;
}


.table-info {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-green);
    line-height: 1.2em;
    text-transform: uppercase;
    padding-top: 0px;
    letter-spacing: 0.2em;
}

.table-info span {
    position: relative;
    display: inline-block;
    padding: 0 25px;
}

.table-info span::before {
    content: "\e90d";
    font-family: 'icomoon';
    left: 0;
    top: -1px;
    position: absolute;
    z-index: 3;
    color: var(--color-green);
    font-size: 13px;
    font-weight: normal;
    transform: rotate(-180deg);
}

.table-info span::after {
    content: "\e90d";
    font-family: 'icomoon';
    right: 0;
    top: 0;
    position: absolute;
    z-index: 3;
    color: var(--color-green);
    font-size: 13px;
    font-weight: normal;
}

@media (min-width: 768px) {
    .table-structure table {
        width: 100%;
    }

    .table-scroll {
        padding-bottom: 0;
        margin-bottom: 0;
        margin-right: 0px;
        overflow: visible;
    }

    .table-scroll::after {
        display: none;
    }

    .table-structure table thead tr th {
        font-size: 18px;
        padding: 5px 35px 18px 0;
    }

    .table-structure table tbody tr td,
    .table-structure table tbody tr th {
        padding: 18px 32px 18px 0;
        font-size: 16px;
        line-height: 1.5em;
    }
}

@media (min-width: 1200px) {
    .table-structure table thead tr th {
        font-size: 18px;
        padding: 12px 32px 20px 0;
    }
}
