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

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

/* table */

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

table,
.table-structure table {
    border-collapse: collapse;
    width: 100%;
    max-width: 700px;
    overflow: scroll;
    border: none;
    display: block;
}

table thead,
.table-structure table thead {
    background-color: #005CA8;
    color: #fff;
}

table thead tr td,
table thead tr th,
.table-structure table thead tr th {
    padding: 12px 20px;
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5em;
    border: none;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

table thead h4 {
    color: #fff;
    text-transform: uppercase;
    font-size: 18px;
    padding-bottom: 0;
}

table tbody tr,
.table-structure table tbody tr {
    background-color: #EFF3F7;
}

table tbody tr:nth-child(odd),
.table-structure table tbody tr:nth-child(odd) {
    background-color: #FFFFFF;
}

table tbody tr td,
table tbody tr th
.table-structure table tbody tr td,
.table-structure table tbody tr th {
    padding: 11px 20px;
    text-align: left;
    font-size: 16px;
    font-weight: 400;
    color: #555;
    line-height: 1.5em;
    vertical-align: top;
}

table tbody tr td:first-child,
.table-structure table tbody tr td:first-child {
    width: 240px;
}

.table-scroll {
    scrollbar-width: thin;
    scrollbar-color: #D8D8D8 #D38B00;
    position: relative;
    padding-bottom: 20px;
    overflow-x: auto;
    margin-right: -22px;
}

.table-scroll::-webkit-scrollbar {
    width: 15px;
    height: 5px;
    padding-bottom: 30px;
}

.table-scroll::-webkit-scrollbar-track {
    background-clip: content-box;
    border: 15px solid #D8D8D8;
}

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

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

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

.table {
    position: relative;
    margin-top: 10px;
}

p a.btn {
    margin-top: 5px;
}

@media (min-width: 768px) {
    .table-scroll {
        margin-right: -52px;
    }
    
    table,
    .table-structure table {
        max-width: 925px;
    }

    table thead tr th,
    .table-structure table thead tr th {
        padding: 15px 25px;
        font-size: 17px;
    }

    table tbody tr td,
    table tbody tr th 
    .table-structure table tbody tr td,
    .table-structure table tbody tr th {
        padding: 15px 25px;
        font-size: 17px;
    }
    
    table tbody tr td:first-child,
    .table-structure table tbody tr td:first-child {
        width: 315px;
    }


}

@media (min-width: 1200px) {
    table,
    .table-structure table {
        width: 100%;
        max-width: unset;
    }

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

    table thead tr th,
    .table-structure table thead tr th {
        padding: 17px 25px;
        font-size: 18px;
    }

    table tbody tr td,
    table tbody tr th
    .table-structure table tbody tr td,
    .table-structure table tbody tr th {
        padding: 17px 25px;
        font-size: 18px;
    }
    
    table:not(.foo-table) tbody tr td,
    .table-structure table tbody tr td {
        width: 33.333%;
    }

    .table {
        overflow: hidden;
        border-radius: 3px;
        margin-top: 10px;
    }
 
}



.example-bttn {
    margin-bottom: 20px;
    display: inline-block;
}

.right-video .fluid-width-video-wrapper {
    float: left;
}

@media (min-width: 1200px) {
    .example-bttn {
        margin-bottom: 0;
        margin-right: 25px;
    }

    .right-video .fluid-width-video-wrapper {
        width: 50%!important;
        float: right;
        padding-top: 30.2%!important;
    }
}

.wysiwyg__content ul li {
    display: inline-block;
    width: 100%;
}

.wysiwyg__content ul li ul {
    padding-bottom: 0;
}

.wysiwyg__content ul li.page_item_has_children {
    margin-bottom: 0;
}

/*  Enable Patter */

.enable-pattern {
    position: relative;
    overflow: hidden;
}

.enable-pattern [class*=left], 
.enable-pattern [class*=right] {
    z-index: 1;
}

.enable-pattern *:not(a, .btn, h2, h3, h4, h5, h6) {
    color: #555555;
}

@media (min-width: 768px) {
    .enable-pattern .left-polygon {
        left: 2%;
    }
    
    .enable-pattern .left-polygon-small {
        left: -2%;
    }
}