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

.wysiwyg .container {
    position: relative;
}

.wysiwyg__rounded {
    position: absolute;
    left: -150px;
    top: 50%;
    -webkit-transform: translate(0, -50%);
            transform: translate(0, -50%);
    width: 260px;
    z-index: -1;
    margin-top: -70px;
}

.wysiwyg__rounded-small {
    position: absolute;
    left: -120px;
    top: 50%;
    -webkit-transform: translate(0, -50%);
            transform: translate(0, -50%);
    width: 190px;
    z-index: -1;
    margin-top: -208px;
}

.wysiwyg__graphics {
    position: absolute;
    right: 0;
    bottom: -146px;
    width: 436px;
    z-index: -1;
}

.bg-gray .wysiwyg__graphics {
    bottom: 42px;
    width: 386px;
}

.example-btns {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

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

.wysiwyg h3 { 
    padding-top: 15px;
}

.section-radius {
    border-radius: 50px 0px 0px 0px;
}

.wysiwyg__list {
    padding-top: 16px;
}

.p-big,
.wysiwyg__list li {
    font-size: 18px;
    line-height: 1.5em;
}



@media (min-width: 768px) {


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

    .section-radius {
        border-radius: 100px 0px 0px 0px;
    }

    .wysiwyg__list p {
        margin-left: 25px;
    }
}

@media (min-width: 1200px) {

    .wysiwyg h3 { 
        padding-top: 20px;
    }

    .wysiwyg__graphics {
        right: -20px;
        bottom: auto;
        top: 50%;
        -webkit-transform: translate(0, -50%);
                transform: translate(0, -50%);
        margin-top: 0;
    }

    .wysiwyg__rounded {
        left: -156px;
        width: 326px;
        margin-top: 0;
    }
    
    .wysiwyg__rounded-small {
        left: -109px;
        width: 238px;
        margin-top: -146px;
    }
}





/* table */

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

.table-wrap:not(:last-child) {
    margin-bottom: 40px;
}

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

.table-structure {
    width: 660px;
    overflow: hidden;
    border-radius: 8px;
}

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

.table-scroll::-webkit-scrollbar-track {
    background-color: #fff;
    border-radius: 10px;
}

.table-scroll::-webkit-scrollbar-thumb {
    background-color: var(--blue);
    border-radius: 10px;
}

.table-structure table {
    border-collapse: collapse;
    font-family: "DM Sans", sans-serif; 
    background: var(--bright-blue);
    width: 100%;
}

.table-structure table thead {
    color: #FFFFFF;
    background: var(--dark-blue); 
}

.bg-dark-blue .table-structure table thead {
    background: var(--darkest-blue);
}

.table-structure table thead tr th,
.table-structure table thead tr td {
    padding: 8px 12px;
    text-align: left;
    font-size: 24px;
    line-height: 1.5em;
    font-weight: 400;
    border: none;
    color: #fff;
    vertical-align: middle;
    font-family: "Petrona", serif;
}

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

.table-structure table tbody tr td,
.table-structure table tbody tr th {
    padding: 8px 12px;
    text-align: left;
    font-size: 18px;
    font-weight: 400;
    color: #4F5052;
    line-height: 1.5em;
    vertical-align: middle;
}

.table-search-filter {
    background: var(--blue);
    padding: 12px 12px 13px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    border-radius: 8px 8px 0 0;
}

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

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

.table-filter button {
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    border: none;
    display: block;
    position: relative;
    border-radius: 0 4px 4px 0;
    border: 1px solid #CCCCCC;
    color: #003A70;
}

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

.table-search {
    width: calc(100% - 34px);
    height: 37px;
    position: relative;
    background: #FFFFFF;
    border-radius: 4px 0 0 4px;
    max-width: 195px;
}

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

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

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

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

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

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

.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: var(--dark-blue);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}


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

    .table-search {
        width: 270px;
    }

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

    .table-structure {
        width: 100%;
    }

    .table-search-filter {
        justify-content: flex-end;
    }
}

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

    .table-wrap:not(:last-child) {
        margin-bottom: 50px;
    }

    .table-search {
        width: 260px;
    }
}