/*
#standingsFinals .tipster_row td:nth-of-type(4) span:nth-of-type(2) {
    animation: blinker 2s linear infinite;
}
*/

body {
    background: white;
    margin-bottom: 0px;
}

footer {
    color: white;
    position: relative;
    text-align: center;
}

.tipster_row td span:nth-of-type(1) {
    text-align: right;
    margin-left: 5%;
    white-space: nowrap;
}

.points {
    padding: 0.5px 6px 0.5px 6px;
    background: #3ddbc4;
    border-color: #3ddbc4;
    background-image: -webkit-linear-gradient(top, #3ddbc4, #3ddbc4);
    background-image: -moz-linear-gradient(top, #3ddbc4, #3ddbc4);
    background-image: -o-linear-gradient(top, #3ddbc4, #3ddbc4);
    background-image: linear-gradient(to bottom, #3ddbc4, #3ddbc4);
    color: black;
    text-shadow: 0 1px rgba(0, 0, 0, 0.25);
    border: 0px solid;
    border-radius: 0px;
    font-family: Virgil;
    -webkit-clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
}

#round_winner {
    background: #ffbf00;
    border-color: #ffbf00;
}

.points span {
    color: black;
    font-family: Virgil;
    font-weight: bold;
}

.tipster_row td span:nth-of-type(2) {
    padding: 0.5px 4px 0.5px 4px;
    white-space: nowrap;
    background: #3ddbc4;
    border-color: #3ddbc4;
    background-image: -webkit-linear-gradient(top, #3ddbc4, #3ddbc4);
    background-image: -moz-linear-gradient(top, #3ddbc4, #3ddbc4);
    background-image: -o-linear-gradient(top, #3ddbc4, #3ddbc4);
    background-image: linear-gradient(to bottom, #3ddbc4, #3ddbc4);
    margin-left: 2px;
    margin-right: 2px;
    font-size: 20px;
    color: black;
    text-align: left;
    text-shadow: 0 1px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    font-family: Virgil;
}

.blink_me {
    animation: blinker 2s linear infinite;
}


@keyframes blinker {
    50% {
        opacity: 0.0;
    }
}

.vertical-text {
    transform: rotate(-45deg);
    font-size: medium;
}

#standingsExtra1 .vertical-text,
#standingsExtra2 .vertical-text {
    font-size: small;
}

.tipster_row td {
    height: 30px;
    width: fit-content;
}

.tipster_row img {
    position: relative;
    margin-top: 2px;
    margin-bottom: 2px;
}

table {
    position: relative;
    width: 100%;
    vertical-align: middle;
    border: 1px white;
    text-align: center;
    background-color: #07164b;
}

.column {
    float: left;
    padding: 5px;
}

.bookie {
    font-size: small;
    font-family: UEFAEuro;
}

table th {
    padding: 1.5px;
    vertical-align: middle;
    color: white;
    font-family: WC2026, UEFAEuro-HeavyNarrow;
}

table th:has(.box) {
    background-color: #2f3c6c;
}

table td {
    vertical-align: middle;
}

tr:nth-child(even) td {
    background-color: white;
    color: #07164b;
}

tr:nth-child(odd) td {
    background-color: white;
    color: #07164b;
}

#standings1 .tipster_row td:last-child,
#standings2 .tipster_row td:last-child {
    background-color: #07164b;
    padding: 0;
    padding-left: 5px;
    text-align: center;
}

.tipster_row td:first-child {
    color: white;
    background-color: #07164b;
    background-image: linear-gradient(#2f3c6c, #2f3c6c);
    background-size: calc(100% - 8px) 100%;
    background-repeat: no-repeat;
    padding-left: 20px;
    padding-right: 20px;
    white-space: nowrap;
}

tr:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
}

.main {
    margin: auto;
    bottom: 0;
    margin-bottom: 0px;
    width: 95%;
    max-width: 1200px;
    border: 1px white;
    opacity: 0.9;
}

body,
p,
ul,
ol,
textarea {
    font-family: WC2026, UEFAEuro-HeavyNarrow;
}

input,
th,
td,
table,
h1,
h2,
h3,
h4,
span {
    font-family: WC2026, UEFAEuro-HeavyNarrow;
}



th span {
    color: white;
}

#standings1 thead tr:nth-child(3) th span,
#standings2 thead tr:nth-child(3) th span {
    color: #07164b;
}

#standings1 thead tr:nth-child(3) th.live-score-cell,
#standings2 thead tr:nth-child(3) th.live-score-cell {
    background-color: #3ddbc4;
}

#standings1 thead tr:nth-child(3) th.live-score-cell span,
#standings2 thead tr:nth-child(3) th.live-score-cell span {
    color: black;
    font-weight: bold;
}

.rules {
    background-color: #07164b;
    border-radius: 25px;
    position: relative;
    color: white;
    margin: auto;
    margin-top: 40px;
    padding: 15px;
    width: 70%;
}

.standings {
    width: 85%;
    position: relative;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 15px;
    padding: 10px;
    background-color: #07164b;
}

#standings5, #standings1of16 {
    width: 100%;
}

#standings1,
#standings2,
#standings3,
#standings4,
#standingsExtra1,
#standingsExtra2 {
    width: 95%;
}

#standings1 {
    width: 97%;
}

#standingsExtra2 table {
    table-layout: fixed;
}

#standingsExtra2 .tipster_row td:first-child {
    padding-left: 8px;
    padding-right: 8px;
    white-space: normal;
}


#standingsQuarterfinals {
    width: 60%;
}

#standingsFinals {
    width: 50%;
}

.standings img {
    height: 22px;
    width: 33px;
}

.tipster_row img.tip-pending {
    height: 28px;
    width: 28px;
}

#badge {
    position: relative;
    height: 24px;
    width: 24px;
    margin-right: 2px;
    font-size: small;
}

#badge span {
    font-size: small;
}

#totals {
    width: 45%;
}

@media (max-width: 768px) {
    #totals {
        width: 95%;
    }
}

#totals table {
    border-collapse: collapse;
}

#totals td, #totals th {
    border-left: 5px solid #07164b;
    border-right: 5px solid #07164b;
}

#totals thead tr:last-child th {
    border-bottom: 2px solid #07164b;
}

#totals .tipster_row td {
    color: black;
}

#totals td:first-of-type {
    background-color: #2f3c6c;
    color: white;
}

#totals .tipster_row + .tipster_row td {
    border-top: 2px solid #07164b;
}

#totals .tipster_row.tied-upper + .tipster_row td {
    border-top: none;
}

#totals .tipster_row td:first-child:not(.name-col) {
    background-image: none;
    background-color: #07164b;
    padding-left: 8px;
    padding-right: 8px;
}

#totals .tipster_row td.name-col {
    color: white;
    background-color: #07164b;
    background-image: linear-gradient(#2f3c6c, #2f3c6c);
    background-size: calc(100% - 8px) 100%;
    background-repeat: no-repeat;
    padding-left: 10px;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
}

#totals td:last-of-type {
    width: 25px;
    background-color: #07164b;
}

.box {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 4px;
}

#totals #extraTip span {
    font-size: medium;
    text-align: left;
}

#extraTip {
    display: flex;
    align-items: center;
    font-size: small;
    text-align: center;
    padding-left: 25%;
}

#extraTip span {
    font-size: small;
}

#extraTip img {
    height: 16px;
    width: 24px;
}

#extraTip img.tip-pending {
    height: 24px;
    width: 24px;
}

@font-face {
    font-family: "UEFAEuro";
    src: url('../font/germany2024/UEFAEuro-Medium.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Virgil";
    src: url('../font/Virgil.woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "UEFAEuro-Bold";
    src: url('../font/germany2024/UEFAEuro-Bold.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "WC2026";
    src: url('../font/worldcup2026/FWC2026-NormalRegular.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "UEFAEuro-HeavyNarrow";
    src: url('../font/germany2024/UEFAEuro-HeavyNarrow.ttf');
    font-weight: normal;
    font-style: normal;
}