.hall-of-heroes-table thead tr th {
    color: white;
    background-color: black;
    padding: 8px;
    vertical-align: middle;
}

.hoh-table .hoh-title {
    text-align: center;
    color: #74bae6;
    -webkit-text-shadow: 0px 0px 15px #74bae6;
    text-shadow: 0px 0px 15px #74bae6;
}

.hall-of-heroes-table tbody tr td {
    background-color: white;
    color: black;
    padding: 6px 8px;
    vertical-align: middle;
}

.hall-of-heroes-table,
.hall-of-heroes-table tr,
.hall-of-heroes-table td {
    border: none;
}

.hall-of-heroes-table {
    overflow-x: scroll;
}

.hall-of-heroes-table tr {
    border-bottom: 2px solid #74bae6;
}

.hall-of-heroes-table:not(.hall-of-heroes-segment) tbody tr:nth-child(1) td,
.hall-of-heroes-table:not(.hall-of-heroes-segment) tbody tr:nth-child(2) td,
.hall-of-heroes-table:not(.hall-of-heroes-segment) tbody tr:nth-child(3) td,
.hall-of-heroes-table:not(.hall-of-heroes-segment) tbody tr:nth-child(5) td,
.hall-of-heroes-table:not(.hall-of-heroes-segment) tbody tr:nth-child(4) td {
    background-color: #1e63a6;
    color: white;
}

.hall-of-heroes-table:not(.hall-of-heroes-segment) tbody tr:nth-child(6) td,
.hall-of-heroes-table:not(.hall-of-heroes-segment) tbody tr:nth-child(7) td,
.hall-of-heroes-table:not(.hall-of-heroes-segment) tbody tr:nth-child(8) td,
.hall-of-heroes-table:not(.hall-of-heroes-segment) tbody tr:nth-child(9) td,
.hall-of-heroes-table:not(.hall-of-heroes-segment) tbody tr:nth-child(10) td,
.hall-of-heroes-table:not(.hall-of-heroes-segment) tbody tr:nth-child(11) td,
.hall-of-heroes-table:not(.hall-of-heroes-segment) tbody tr:nth-child(12) td {
    background-color: #74bae6;
    color: black;
}

.hall-of-heroes-table:not(.hall-of-heroes-segment) tbody tr:nth-child(6),
.hall-of-heroes-table:not(.hall-of-heroes-segment) tbody tr:nth-child(7),
.hall-of-heroes-table:not(.hall-of-heroes-segment) tbody tr:nth-child(8),
.hall-of-heroes-table:not(.hall-of-heroes-segment) tbody tr:nth-child(9),
.hall-of-heroes-table:not(.hall-of-heroes-segment) tbody tr:nth-child(10),
.hall-of-heroes-table:not(.hall-of-heroes-segment) tbody tr:nth-child(11),
.hall-of-heroes-table:not(.hall-of-heroes-segment) tbody tr:nth-child(12) {
    border-bottom: 2px solid #1e63a6;
}

.hall-of-heroes-table tbody tr:last-child {
    border-bottom: none;
}

.hoh-button {
    color: #ffffffff;
    background-color: #1e63a6;
    border: 4px solid #1e63a6;
    display: inline-block;
    font-size: clamp(0.75rem, 0.6471rem + 0.3919vw, 1.1125rem);
    padding: 4px 10px;
    text-decoration: none;
    border-radius: 4px;
    /* -webkit-box-shadow: 0px 0px 15px 5px #ffff33;
    box-shadow: 0px 0px 15px 5px #ffff33; */
    box-shadow: 0px 0px 0px 2px #fce83a;
    font-weight: normal;
}

a.hoh-button,
a.hoh-button:link,
a.hoh-button:visited {
    color: #ffffffff !important;
    border: 2px solid #1e63a6 !important;
}

a.hoh-button:active,
a.hoh-button:focus,
a.hoh-button:hover {
    border: 2px solid #fce83a !important;
    box-shadow: 0px 0px 5px 2px #a4671d;
}

.hall-of-heroes-table tbody tr td.team-header {
    font-size: 1rem !important;
    text-align: left;
    background-color: transparent !important;
    vertical-align: bottom;
    padding-bottom: 0px;
    padding-top: 30px;
    border-bottom: none;
    text-transform: uppercase;
    -webkit-text-shadow: 0px 0px 15px white;
    text-shadow: 0px 0px 15px white;
    color: white !important;
}

.hall-of-heroes-table .team-header span {
    font-weight: normal !important;
}

.hall-of-heroes-table .team-header.legends-header span {
    font-size: 1.5rem !important;
    color: #74bae6 !important;
    -webkit-text-shadow: 0px 0px 15px #1e63a6;
    text-shadow: 0px 0px 15px #1e63a6;
}

.hall-of-heroes-table .team-header.champions-header span {
    font-size: 1.5rem !important;
    color: #74bae6 !important;
    -webkit-text-shadow: 0px 0px 15px #74bae6;
    text-shadow: 0px 0px 15px #74bae6;
}

.hall-of-heroes-table .team-header.ascenders-header span {
    font-size: 1.5rem !important;
    color: white !important;
    -webkit-text-shadow: 0px 0px 15px white;
    text-shadow: 0px 0px 15px white;
}

.hoh-star {
    max-width: 16px;
    max-height: 16px;
    filter: drop-shadow(0px 0px 5px #a4671d);
}

.hoh-star path,
.hoh-star g {
    fill: #fce83a;
}

.hall-of-heroes-table tbody tr td a.team-link {
    color: black !important;
    max-width: calc(100% - 32px);
    border-bottom: none !important;
}

.hall-of-heroes-table tbody tr:nth-child(1) td a.team-link,
.hall-of-heroes-table tbody tr:nth-child(2) td a.team-link,
.hall-of-heroes-table tbody tr:nth-child(3) td a.team-link,
.hall-of-heroes-table tbody tr:nth-child(4) td a.team-link,
.hall-of-heroes-table tbody tr:nth-child(5) td a.team-link {
    color: white !important;
}

.hall-of-heroes-table:not(.hall-of-heroes-segment) tr td:not(.team-header) {
    background-image: var(--wpr-bg-a87ff69d-7f47-45c6-b674-4cd6d13f43b8);
    background-repeat: repeat;
}

.hall-of-heroes-table tbody tr td .team-name-wrapper {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
}

.hall-of-heroes-table tbody tr td a:not(.hoh-button) {
    padding-bottom: 0px;
}

.hall-of-heroes-table tbody tr.hidden-row {
    display: none;
}

.hall-of-heroes-table tbody tr td.hoh-team-name,
.hall-of-heroes-table tbody tr td.hoh-company-name {
    text-align: left;
}

.hall-of-heroes-table tbody tr td.hoh-total-donations {
    text-align: right;
}

.hall-of-heroes-table tbody tr td.hoh-team-name,
.hall-of-heroes-table tbody tr td.hoh-company-name,
.hall-of-heroes-table tbody tr td.hoh-total-donations,
.hall-of-heroes-table tbody tr td.hoh-button-wrapper {
    text-transform: uppercase;
    font-size: clamp(0.75rem, 0.6471rem + 0.3919vw, 1.1125rem) !important;
    line-height: 1.2 !important;
}

@media only screen and (max-width: 768px) {
    .hall-of-heroes-table thead tr th,
    .hall-of-heroes-table thead tr td,
    .hall-of-heroes-table tbody tr td {
        font-size: 0.75rem !important;
        padding: 4px 12px;

    }

    .hall-of-heroes-table.hall-of-heroes-table:not(.hall-of-heroes-segment) tbody tr td {
        white-space: nowrap;
    }

    .hall-of-heroes-table:not(.hall-of-heroes-segment) tbody tr td .team-name-wrapper {
        display: initial;
    }

    .hall-of-heroes-table:not(.hall-of-heroes-segment) tbody tr td a.team-link {
        white-space: nowrap;
    }

    .hide-tablet {
        display: none;
    }

    .hoh-star {
        max-width: 20px;
        max-height: 20px;
    }

    .hoh_wrapper .wpb_wrapper .wpb_text_column .wpb_wrapper  {
        width: 100%;
        overflow: scroll;
    }

    .hall-of-heroes-table:not(.hall-of-heroes-segment) {
        width: calc(100% - 40px);
        margin-left: 20px;
        margin-right: 20px;
        overflow-x: scroll;
    }

    .hoh-table {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .hall-of-heroes-table tbody tr td.hoh-team-name {
        min-width: 150px;
        white-space: initial !important;
    }

    .hall-of-heroes-table:not(.hall-of-heroes-segment) tbody tr td.hoh-company-name {
        min-width: 150px;
        white-space: initial !important;
    }

    .hall-of-heroes-table:not(.hall-of-heroes-segment) tbody tr td.hoh-team-name a.team-link {
        white-space: initial;
    }
}

.hall-of-heroes-table:not(.hall-of-heroes-segment) tr:not(.team-header-row) {
    transition: all 0.5s;
}

.hall-of-heroes-table:not(.hall-of-heroes-segment) tr:not(.team-header-row):hover {
    filter: brightness(1.1);
    box-shadow: 0px 0px 5px 5px rgba(164, 103, 29, 0.25);
}

@media only screen and (max-width: 425px) {
    .hide-mobile {
        display: none;
    }
}

.view-more-btn-expander {
    display: block;
    margin: 0 auto;
}

.table-bg-grid {
    inset: calc(var(0.25rem) * 0);
    background-image:
        linear-gradient(
            0deg,
            transparent 24%,
            rgba(116, 186, 230, 0.15) 25%,
            rgba(116, 186, 230, 0.15) 26%,
            transparent 27%,
            transparent 74%,
            rgba(116, 186, 230, 0.15) 75%,
            rgba(116, 186, 230, 0.15) 76%,
            transparent 77%,
            transparent
        ),
        linear-gradient(
            90deg,
            transparent 24%,
            rgba(116, 186, 230, 0.15) 25%,
            rgba(116, 186, 230, 0.15) 26%,
            transparent 27%,
            transparent 74%,
            rgba(116, 186, 230, 0.15) 75%,
            rgba(116, 186, 230, 0.15) 76%,
            transparent 77%,
            transparent
        );
    background-size: 40px 40px;
    position: relative;
}

.table-bg.crt:before {
    background:
        linear-gradient(hsla(0, 6%, 7%, 0) 50%, rgba(0, 0, 0, 0.35) 0),
        linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size:
        100% 2px,
        3px 100%;
    content: " ";
    display: block;
    height: 100%;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 30;
}

.scan-sweep {
    pointer-events: none;
    left: 0px;
    right: 0px;
    z-index: 20;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(116, 186, 230, 0.5), transparent);
    box-shadow:
        0 0 10px rgba(116, 186, 230, 0.3),
        0 0 20px rgba(116, 186, 230, 0.2);
    position: absolute;
    animation: scan-sweep 8s ease-in-out infinite;
}

@keyframes scan-sweep {
    0% {
        top: -2px;
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

.table-bg .border {
    display: none;
}

@media only screen and (min-width: 1024px) {
    .table-bg-grid {
        padding: 40px;
        padding-top: 10px;
    }

    .table-bg .border {
        position: absolute;
        width: 40px;
        height: 40px;
        display: block;
    }

    .table-bg .border.border-top-left {
        border-top: 3px solid #74bae6;
        border-left: 3px solid #74bae6;
        top: 0px;
        left: 0px;
    }

    .table-bg .border.border-top-right {
        border-top: 3px solid #74bae6;
        border-right: 3px solid #74bae6;
        top: 0px;
        right: 0px;
    }

    .table-bg .border.border-bottom-left {
        border-bottom: 3px solid #74bae6;
        border-left: 3px solid #74bae6;
        bottom: 0px;
        left: 0px;
    }

    .table-bg .border.border-bottom-right {
        border-bottom: 3px solid #74bae6;
        border-right: 3px solid #74bae6;
        bottom: 0px;
        right: 0px;
    }
}

.hall-of-heroes-segment.hall-of-heroes-table tr {
    border-bottom: transparent;
}

.hall-of-heroes-segment.hall-of-heroes-table tbody tr td,
.hall-of-heroes-segment.hall-of-heroes-table tbody tr.highlighted-row td {
    font-size: 1rem !important;
    font-weight: normal;
    background-color: #000;
    color: #fff;
    text-transform: initial;
}

.hall-of-heroes-segment.hall-of-heroes-table tbody tr td.pos {
    color: #74bae6;
    font-size: 2.5rem !important;
}

.hall-of-heroes-table.hall-of-heroes-segment {
    border: 1px solid #74bae6;
}

@media only screen and (max-width: 1023px) {
    .hall-of-heroes-segment.hall-of-heroes-table tbody tr td.pos {
        color: #74bae6;
        font-size: 2rem !important;
    }

    .hall-of-heroes-segment.hall-of-heroes-table tbody tr td:first-child {
        padding-left: 0.5rem;
    }

    .hall-of-heroes-segment.hall-of-heroes-table tbody tr td {
        padding-right: 0.5rem;
    }
}
