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

    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: #000000;
    z-index: 1;
    overflow: hidden;
    position: relative;
}

.bg-graphics,
.bg-graphics02 {
    position: absolute;
    right: -74px;
    bottom: 0;
    max-width: 214px;
    z-index: -1;
    height: auto;
}

.wysiwyg h3,
.wysiwyg h4 {
    margin-top: 45px;
}

.bg-blue p,
.bg-blue h2,
.bg-blue h3,
.bg-blue h4,
.bg-blue h5,
.bg-blue h6,
.bg-blue .sub-heading,
.bg-blue ul,
.bg-blue ol {
    color: #FFF;
}

.bg-blue p a:not(.btn) {
    color: #FFFFFF;
    background: linear-gradient(to bottom, #FFFFFF 0%, #FFFFFF 100%);
    background-size: 2px 2px;
    background-position: 0 100%;
    background-repeat: repeat-x;
}

.bg-blue ul li:before {
    background-color: #FFFFFF;
}

.bg-blue blockquote {
    background: #E1E5F8;
    color: #000000;
}

.bg-blue blockquote p {
    color: #000000;
}

.bg-blue blockquote a:not(.btn) {
    color: #001489;
    background: linear-gradient(to bottom, #001489 0%, #001489 100%);
    background-position: 0 100%;
    background-repeat: repeat-x;
    background-size: 2px 2px;
}

.bg-gray blockquote {
    background: #BFC4E1;
}

.example-btns {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 28px;
}

.example-btns .btn + .btn {
    margin-top: 0;
    margin-left: 0;
}

@media (min-width: 768px) {
    .bg-graphics {
        right: -76px;
        bottom: 0;
        max-width: 460px;
    }

    .bg-graphics02 {
        right: -92px;
        bottom: -90px;
        max-width: 428px;
    }
}

@media (min-width: 1200px) {
    .wysiwyg__wrapper {
        max-width: 1184px;
        margin: 0 auto;
    }

    .bg-blue p a:not(.btn):hover {
        color: #001489;
        background-size: 2px 20px;
    }

    .example-btns {
        flex-direction: row;
        align-items: center;
        gap: 24px 30px;
    }

    .bg-graphics {
        right: -300px;
        bottom: -30px;
        max-width: 755px;
    }

    .example-btns--gap {
        margin-top: 50px;
    }

    .bg-graphics02 {
        right: -120px;
        bottom: 0px;
        max-width: 535px;
    }

    .bg-blue blockquote a:not(.btn):hover {
        color: #FFFFFF;
        background: linear-gradient(to bottom,#001489 0%,#001489 100%);
    }
}


/* table */

.table-wrap {
    margin: 20px 0 0;
}

.table-scroll {
    padding-bottom: 20px;
    background: transparent;
    position: relative;
    height: auto;
    width: 100%;
    overflow: auto;
    @supports not (selector(::-webkit-scrollbar-thumb)) {
        scrollbar-color: #CBCBCB #F2F2F2;
        scrollbar-width: thin;
    }
}

.table-structure {
    width: 390px;
    overflow: hidden;
}

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

.table-scroll::-webkit-scrollbar-track {
    background-color: #F2F2F2;
    border: 4px solid #F2F2F2;
}

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

.table-structure table {
    border-collapse: collapse;
    font-family: "Montserrat", serif;
    background: #FFFFFF;
    width: 100%;
}

.table-structure table thead {
    color: #000000;
    background: #EFEDEB;
}

.table-structure table thead tr th {
    padding: 12px 12px;
    text-align: left;
    font-size: 16px;
    line-height: 1.75em;
    font-weight: 400;
    border: none;
    color: #000000;
    vertical-align: middle;
    font-family: "Playfair Display", serif;
}

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

.table-structure table tbody tr td,
.table-structure table tbody tr th {
    padding: 10px 12px;
    text-align: left;
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    line-height: 1.8em;
    vertical-align: middle;
}

.table-search-filter {
    background: #001489;
    padding: 13px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    border-radius: 0;
}


.bg-blue .table-search-filter {
    background: #E1E5F8;
}

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

.table-filter button {
    width: 100%;
    height: 100%;
    background: #EFEDEB;
    border: none;
    display: block;
    position: relative;
    border-radius: 0;
    border: none;
    color: #000000;
}

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

.table-search {
    width: 100%;
    height: 34px;
    position: relative;
    background: #FFFFFF;
    border-radius: 0;
    border: 1px solid #CCCCCC;
}

.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 50px 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: 15px;
    font-weight: normal;
    line-height: 1em;
    color: #000000;
    width: 41px;
    height: 100%;
    border: none;
    background: #EFEDEB;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #CCCCCC;
}

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

@media (min-width: 768px) {
    .table-wrap {
        margin: 50px 0 0;
    }

    .table-search {
        width: 196px;
    }

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

    .table-structure {
        width: 100%;
        overflow: visible;
    }

    .table-structure table thead tr th {
        padding: 13px 12px;
        font-size: 28px;
        line-height: 1.32em;
    }

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

/* Ninja Table */

tr.footable-filtering {
    border: 0!;
}

tr.footable-filtering th {
    background: #001489!important;
    padding: 13px 20px!important;
    border-radius: 0!important;
}

.footable-filtering-search .btn::after,
.footable-filtering-search .btn::before {
    display: none!important;
}

.footable-filtering-search .btn-primary {
    background: #EFEDEB!important;
    color: #000000!important;
    border: none!important;
}

.footable-filtering-search .fooicon-search::before {
    font-family: 'york-building-products-icons' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\e91a"!important;
}

.footable-filtering-search ul.dropdown-menu li.dropdown-header {
    padding: 0 20px!important;
}

.footable-filtering-search ul.dropdown-menu li {
    padding: 0!important;
}

.footable-filtering-search ul.dropdown-menu li:before {
    display: none!important;
}

.footable-filtering-search ul.dropdown-menu li a {
    background: none!important;
}

tr.footable-header th {
    padding: 12px 12px!important;
    text-align: left!important;
    font-size: 16px!important;
    line-height: 1.75em!important;
    font-weight: 400!important;
    border: none!important;
    color: #000000!important;
    vertical-align: middle!important;
    font-family: "Playfair Display", serif!important;
    background: #EFEDEB!important;
}

table.ninja_footable tbody tr td {
    padding: 10px 12px!important;
    text-align: left!important;
    font-size: 14px!important;
    font-weight: 400!important;
    color: #000000!important;
    line-height: 1.8em!important;
    vertical-align: middle!important;
}

table.ninja_footable tbody tr:nth-child(even) {
    background-color: #EFEDEB!important;
}

@media (min-width: 768px) {
    tr.footable-header th {
        padding: 13px 12px!important;
        font-size: 28px!important;
        line-height: 1.32em!important;
    }

    table.ninja_footable tbody tr td {
        padding: 11px 12px!important;
        font-size: 18px!important;
        line-height: 1.44em!important;
    }
}

/* cta-banner */

.cta-banner {
    position: relative;
}

.cta-banner__image {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0.3;
}

.cta-banner__wrap {
    position: relative;
    z-index: 1;
}

@media(min-width: 1200px) {
    .cta-banner__wrap h2 {
        font-size: 54px;
    }
}