/*------------------------------------*\
    
    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;
}

.wysiwyg__bg {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;
    object-fit: cover;
}

.wysiwyg a:not(.btn) {
    padding: 0 2px;
}

/* table */

.wysiwyg .table-structure {
    padding: 0 0;
    position: relative;
    color: #001222;
}

.wysiwyg .table-structure table {
    border-collapse: collapse;
    width: 664px;
    overflow: hidden;
}

.wysiwyg .table-structure table thead {
    background-color: transparent;
    color: var(--color-black)
}

.wysiwyg .table-structure table thead tr {
    border-bottom: 2px solid var(--color-primary);
}

.wysiwyg .table-structure table thead tr th {
    padding: 12px 22px 12px 0;
    text-align: left;
    font-size: 16px;
    line-height: 1.2em;
    font-weight: 400;
    border: none;
    color: var(--color-black);
}

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

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

.wysiwyg .table-structure table tbody tr td,
.wysiwyg .table-structure table tbody tr th {
    padding: 15px 22px 15px 0;
    text-align: left;
    font-size: 16px;
    font-weight: 300;
    color: var(--color-black);
    line-height: 1.64em;
    vertical-align: top;
    width: 33.333%;
}

.bg-black.wysiwyg .table-structure table thead,
.bg-black.wysiwyg .table-structure table tbody tr th,
.bg-black.wysiwyg .table-structure table tbody tr td,
.bg-dark-gray.wysiwyg .table-structure table thead,
.bg-dark-gray.wysiwyg .table-structure table tbody tr th,
.bg-dark-gray.wysiwyg .table-structure table tbody tr td {
    color: var(--color-white);
}

.wysiwyg .table-structure table tbody tr th {
    font-weight: 400;
}

.wysiwyg .table-scroll {
    scrollbar-width: thin;
    scrollbar-color: #A8A8A8 #E8E8E8;
    position: relative;
    padding-bottom: 12px;
    margin-top: 10px;
    margin-bottom: 25px;
    margin-right: -22px;
}

.wysiwyg .table-scroll .table-structure {
    overflow-x: auto;
}

.wysiwyg .table-scroll .table-structure::-webkit-scrollbar {
    width: 15px;
    height: 8px;
    padding-bottom: 0;
    border-radius: 0;
}

.wysiwyg .table-scroll .table-structure::-webkit-scrollbar-track {
    background-clip: content-box;
    border: 15px solid var(--color-black);
    border-radius: 0;
}

.wysiwyg .table-scroll .table-structure::-webkit-scrollbar-thumb {
    background-color: var(--color-yellow);
    border-radius: 0;
    position: relative;
}

.wysiwyg .table-scroll .table-structure::-webkit-scrollbar-thumb:hover {
    background-color: var(--color-yellow);
}

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

.wysiwyg .table-scroll .table-structure .simplebar-scrollbar::before {
    background-color: var(--color-yellow);
}

.wysiwyg .table-structure table tbody tr td:last-child {
    padding-right: 0;
}

.wysiwyg .table-structure table tbody tr td img{
    max-height: 120px;
    min-height: 120px;
    object-fit: cover;
    object-position: top;
}
.wysiwyg .table-structure table tbody tr ,
.wysiwyg .table-structure table tbody tr td{
   height: auto !important;
}

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

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

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

    .wysiwyg .table-structure table thead tr th {
        font-size: 18px;
        padding: 13px 32px 13px 0;
    }

    .wysiwyg .table-structure table tbody tr td,
    .wysiwyg .table-structure table tbody tr th {
        padding: 15px 30px 15px 0;
    }
    .wysiwyg .table-structure table tbody tr td img{
        max-height: 220px;
        min-height: 220px;
        object-fit: cover;
    }
}

@media (min-width: 1200px) {

    .wysiwyg .table-structure table thead tr th {
        padding: 13px 45px 13px 0;
        font-size: 20px;
    }
    
    .wysiwyg .table-structure table tbody tr td,
    .wysiwyg .table-structure table tbody tr th {
        padding: 15px 20px 15px 0;
        font-size: 17px;
        width: 290px;
    }

    .wysiwyg .table-structure table tbody tr td:nth-child(2) {
        width: 330px;
    }

    .wysiwyg .table-structure table tbody tr th {
        font-weight: 400;
        width: 324px;
    }
    .wysiwyg .table-structure table tbody tr td img{
        max-height: 420px;
        min-height: 420px;
       
    }
    

}
