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

.blog-single-container .wysiwyg {
    padding-top: 0;
}

.blog-single-container .wysiwyg .row>* {
    width: 100%;
    margin: 0;
}

.masthead + .wysiwyg,
.masthead + .wysiwyg:first-of-type {
    padding-top: 11px;
}

@media (max-width: 767px) {
    .masthead + .wysiwyg,
    .masthead + .wysiwyg:first-of-type {
        padding-top: 0;
    }   
}

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

@media (min-width: 768px) {
    .wysiwyg__bg {
        height: 423px;
    }
}

@media (min-width: 1200px) {
    .wysiwyg__bg {
        height: 100%;
    }
}


/* table */

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

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

.table-structure table thead {
    background-color: #E8F0F7;
    color: #352D2B;
}

.table-structure table thead tr th {
    padding: 17px 35px 17px 25px;
    text-align: left;
    font-size: 18px;
    line-height: 1.39em;
    font-weight: 700;
    border: none;
    color: #352D2B;
}

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

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


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

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

.bg-dark-blue .table-structure table tbody tr td,
.bg-dark-blue .table-structure table tbody tr th {
    color: #FFFFFF;
}

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

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

.table-scroll::-webkit-scrollbar-track {
    background-clip: content-box;
    border: 15px solid rgba(206, 185, 122, 0.43);
    border-radius: 10px;
}

.table-scroll::-webkit-scrollbar-thumb {
    background-color: #1D51A4;
    border-radius: 10px;
    position: relative;
}

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

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

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


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

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

@media (min-width: 1200px) {
    .table-scroll {
        box-shadow: 0 3px 15px rgba(70, 113, 152, 0.15);
        margin-top: 20px;
    }

    .table-structure table thead tr th {
        padding: 28px 16px;
        font-size: 20px;
        width: 33.333%;
    }

    .table-structure table thead tr th:first-child {
        padding-left: 48px;
    }
    
    .table-structure table tbody tr td,
    .table-structure table tbody tr th {
        padding: 26px 16px;
        font-size: 17px;
    }

    .table-structure table tbody tr th {
        padding-left: 48px;
    }

    .table-structure table tbody tr td {
        width: 33.333%;
    }
    
    .table-structure::after {
        content: "";
        position: absolute;
        left: 3px;
        top: 85px;
        width: 34px;
        height: calc(100% - 85px);
        background: #ffffff;
        z-index: 1;
    }

    .table-structure::before {
        content: "";
        position: absolute;
        right: 3px;
        top: 85px;
        width: 34px;
        height: calc(100% - 85px);
        background: #ffffff;
        z-index: 1;
    }
}


