table:nth-of-type(2) {
    background-color: #fff;
    width: 100vw;
    max-width: 1200px;
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    line-height: 50px;
    height: 50px;
    z-index: 10;
    border: none;
    border-collapse: separate;
    border-spacing: 0;
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    background-color: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    box-shadow: inset 0 -1px 0 0 lightgray !important;
}

table:nth-of-type(2) tr {
    background-color: transparent;
}

table:nth-of-type(2) tr th {
    width: 50%;
    padding: 0;
    margin: 0;
    white-space: nowrap;
    font-size: clamp(.8em, 2vw, 1em);
    font-weight: normal;
    border: none;
    vertical-align: baseline;
}

table:nth-of-type(2) tr th:first-of-type {
    padding-left: 30px;
    padding-right: 20px;
}

table:nth-of-type(2) tr th:first-of-type::before {
    content: "";
    color: black;
    position: absolute;
    left: 0;
    top: 0;
    height: 50px;
    padding-left: 20px;
    margin-left: 10px;
    background: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%221rem%22%20height%3D%221rem%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%0A%20%20%20%20%3Cpath%20stroke%3D%22none%22%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%20/%3E%0A%20%20%20%20%3Cpath%20d%3D%22M5%2012l-2%200l9%20-9l9%209l-2%200%22%20/%3E%0A%20%20%20%20%3Cpath%20d%3D%22M5%2012v7a2%202%200%200%200%202%202h10a2%202%200%200%200%202%20-2v-7%22%20/%3E%0A%20%20%20%20%3Cpath%20d%3D%22M9%2021v-6a2%202%200%200%201%202%20-2h2a2%202%200%200%201%202%202v6%22%20/%3E%0A%3C/svg%3E")no-repeat center center;
}

table:nth-of-type(2) tr th:first-of-type a {
    text-decoration: none;
    color: #00598f;
}


table:nth-of-type(2) tr th:first-of-type a:hover {
    text-decoration: underline;
    text-shadow: 0 0 1px currentColor;
}

table:nth-of-type(2) tr th:first-of-type::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /* right: .5rem; */
    width: 1rem;
    height: 2rem;
    background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='1'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20stroke='none'%20d='M0%200h24v24H0z'%20fill='none'/%3E%3Cpath%20d='M9%206l6%206l-6%206'/%3E%3C/svg%3E") no-repeat center left;
    background-size: contain;
    pointer-events: none;
}

table:nth-of-type(2) tr th {
    text-align: start;
    padding: 0;
    display: inline-block;
    width: auto;
}

table:nth-of-type(2) tr th:nth-of-type(2) {
    display: none;
}

table:nth-of-type(2) tr th:nth-of-type(3) {
    position: relative;
    width: auto;
}

table:nth-of-type(3) {
    padding: 10px 0;
    margin-top: -4rem;
    width: 100%;
    max-width: 1200px;
    border: none;
    border-collapse: separate;
    border-spacing: 10px;
}

table:nth-of-type(3),
table:nth-of-type(3) th,
table:nth-of-type(3) td {
    border: none;
    border-spacing: 10px;
}

table:nth-of-type(3) th {
    background-image: repeating-linear-gradient(-45deg,
            #f5f5f5 0,
            #f5f5f5 2px,
            #F0F0F8 2px,
            #F0F0F8 4px);
    color: #5c5c5c;
    border: 1px solid rgb(50, 100, 201);
    border-radius: .6rem;
    height: calc(100% - 1em);
    word-wrap: break-word;
    word-break: break-all;
    white-space: normal;
    min-height: 76px;
    position: relative;
}

@media (max-width:767px) {
    table:nth-of-type(3) {
        width: 100vw;
    }

    table:nth-of-type(3) tr th {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    table:nth-of-type(3) th {
        margin-top: 10px;
        width: 100%;
    }

    table:nth-of-type(3) th:nth-of-type(3n-2) {
        margin-top: 0;
    }

    table:nth-of-type(3) tr {
        width: 100vw;
        margin: 0;
        padding: 0;
    }
}

table:nth-of-type(3) th>a {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 76px;
    text-align: center;
    color: #5c5c5c;
    text-decoration: none;
    position: relative;
    font-size: clamp(12px, 1vw, 15px);
    padding: .5rem 0;
    line-height: 20px;
    font-weight: normal;
}

table:nth-of-type(3) th>a:active {
    background-color: #f2f5f9;
}

table:nth-of-type(3) th>a:hover {
    background-color: #f4f7f9;
    border-radius: .6rem;
}

table:nth-of-type(3) th.disabled {
    background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
        repeating-linear-gradient(-45deg,
            #f5f5f5 0,
            #f5f5f5 2px,
            #F0F0F8 2px,
            #F0F0F8 4px);
    border: 1px solid gray;
    opacity: 50%;
    pointer-events: none;
}

table:nth-of-type(3) th.disabled>a,
table:nth-of-type(3) th.disabled>a:active,
table:nth-of-type(3) th.disabled>a:hover {
    background-color: transparent;
    cursor: not-allowed !important;
}

table:nth-of-type(3) th>a::first-line {
    font-size: clamp(16px, 5vw, 18px);
    font-weight: bold;
}

table:nth-of-type(3) th::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: .1rem;
    width: 1.5rem;
    height: 2rem;
    background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='currentColor'%20stroke-width='1'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20stroke='none'%20d='M0%200h24v24H0z'%20fill='none'/%3E%3Cpath%20d='M9%206l6%206l-6%206'/%3E%3C/svg%3E") no-repeat center right;
    background-size: contain;
    pointer-events: none;
}

h3 {
    display: none;
}

table:nth-of-type(3) th>br:last-of-type {
    display: none;
}