/*------------------------------------*\
    
    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;
    color: #676666;
}

.bg-white {
    background: #ffffff;
}

.bg-gray {
    background: #FAF7F7;
}

.bg-gray .bg-gray {
    background: #F0EDED;
}

.bg-blue {
    background: #262B6C;
    color: #ffffff;
}

.bg-red {
    background: #A22222;
    color: #ffffff;
}

.bg-blue h1, 
.bg-red h1, 
.bg-blue h2, 
.bg-red h2, 
.bg-blue h3, 
.bg-red h3, 
.bg-blue h4, 
.bg-red h4, 
.bg-blue h5, 
.bg-red h5, 
.bg-blue h6,
.bg-red h6 {
    color: #FFFFFF;
}

.bg-blue .sub-heading {
    color: #5FA5D1;
}

.bg-red .sub-heading {
    color: #FFFFFF;
}

.bg-blue p a:not(.btn) {
    color: #FFFFFF;
    background: linear-gradient(to bottom, rgba(95, 165, 209, 0.60) 0%, rgba(95, 165, 209, 0.60) 100%);
    background-position: 0 100%;
    background-repeat: repeat-x;
    background-size: 3px 2px;
    transition: background-size .1s;
}

.bg-blue ul li:before {
    color: #5FA5D1;
}

.bg-red p a:not(.btn) {
    color: #FFFFFF;
    background: linear-gradient(to bottom, rgba(255, 131, 131, 0.60) 0%, rgba(255, 131, 131, 0.60) 100%);
    background-position: 0 100%;
    background-repeat: repeat-x;
    background-size: 3px 2px;
    transition: background-size .1s;
}

.bg-red ul li:before {
    color: #FF8383;
}

.example-btns--padding .btn {
    margin-bottom: 15px;
}

.row-center {
    justify-content: center;
}





@media (min-width: 768px) {
    .example-btns--padding .btn {
        margin-bottom: 20px;
    }
}

@media (min-width: 1200px) {
    
    .bg-blue p a:hover:not(.btn) {
        color: #fff;
        background: linear-gradient(to bottom, rgba(95, 165, 209, 1) 0%, rgba(95, 165, 209, 1) 100%);
        background-size: 3px 22px;
        background-position: 0 100%;
        background-repeat: repeat-x;
        transition: background-size .1s;
    }

    .bg-red p a:hover:not(.btn) {
        color: #fff;
        background: linear-gradient(to bottom, rgba(103, 12, 12, 1) 0%, rgba(103, 12, 12, 1) 100%);
        background-size: 3px 22px;
        background-position: 0 100%;
        background-repeat: repeat-x;
        transition: background-size .1s;
    }

    

}


.section-top-no-padding {
    padding-top: 0;
}

.section-top-no-margin {
    margin-top: 0;
}

@media (min-width: 1200px) {

    .flex-opposite {
        flex-direction: row-reverse;
    }

    .section-top-no-padding {
        padding-top: 150px;
    }
    
    .section-top-no-margin {
        margin-top: 150px;
    }
}

/* table */

.table-wrap {
    margin: 0 0 15px
}

.table-scroll {
    background: #ffffff;
    position: relative;
    height: auto;
    width: 100%;
    overflow: visible;
}

.table-structure {
    width: 100%;
}

/* ScrollBar 1*/

.table-scroll::-webkit-scrollbar {
    width: 10px;
    height: 15px;
}

.table-scroll::-webkit-scrollbar-track {
    border-radius: 8px;
    background-color: #F2F2F2;
    border: 3px solid #F2F2F2;
    margin-right: 22px;
}

.table-scroll::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background-color: #CBCBCB;
    border: 3px solid #F2F2F2;
}


.table-structure table {
    border-collapse: collapse;
    font-family: "Outfit", sans-serif; 
    background: #F4FBFF;
    width: 100%;

}

.table-structure table thead {
    color: #FFFFFF;
    background: #262B6C; 
}

.bg-blue .table-structure table thead {
    background: rgba(95, 165, 209, 0.6);
}

.bg-red .table-structure table thead {
    background: #7E1212;
}

.bg-red .table-search-filter,
.bg-red .footable-filtering {
    background: #E04F4F;
}

.table-structure table thead tr th {
    padding: 13px 12px;
    text-align: left;
    font-size: 16px;
    line-height: 1.25em;
    font-weight: 700;
    border: none;
    color: #FFFFFF;
    vertical-align: middle;
}

.table-structure table tbody tr:nth-child(even) {
    background-color: #E2F4FF;
}

.bg-red .table-structure table tbody tr:nth-child(even) {
    background-color: #F7EEEE;
}

.table-structure table tbody tr td,
.table-structure table tbody tr th {
    padding: 13px 12px;
    text-align: left;
    font-size: 15px;
    font-weight: 400;
    color: #676666;
    line-height: 1.33em;
    vertical-align: middle;
}

.table-search-filter {
    background: #5FA5D1;
    padding: 13px 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

.table-filter {
    width: 34px;
    height: 34px;
}

.table-filter button {
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    border: none;
    display: block;
    position: relative;
}

.table-filter button::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 4px;
    background: #333333;
    clip-path: polygon(0 0, 55% 100%, 100% 0);
}

.table-search {
    width: calc(100% - 34px);
    height: 34px;
    position: relative;
    background: #FFFFFF;
}

.table-search input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    font-size: 14px;
    line-height: 1.3em;
    color: #313131;
    font-weight: 400;
    padding: 0 55px 0 13px;
    border-radius: 0;
}

.table-search input::placeholder {
    opacity: 1;
    color: #313131;
}

.table-search button {
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    font-size: 12px;
    font-weight: normal;
    line-height: 1em;
    color: #FFFFFF;
    width: 41px;
    height: 100%;
    border: none;
    background: #262B6C;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}


@media (min-width: 768px) {

    .table-structure table thead tr th {
        font-size: 24px;
        line-height: 1.3em;
    }

    .table-structure table tbody tr td,
    .table-structure table tbody tr th {
        font-size: 18px;
        line-height: 1.77em;
        padding: 9px 12px;
    }

    .table-search {
        width: 198px;
    }

}

