#blazor-error-ui {
    background: #ffffe0;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, .2);
    display: none;
    left: 0;
    padding: .6rem 1.25rem .7rem 1.25rem;
    position: fixed;
    right: 0;
    z-index: 1000
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: .75rem;
        top: .5rem
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.redacted {
    color: transparent;
    background-color: black;
    border-radius: 2px;
    padding: 0 2px;
}

.dataGridRowHeader {
    background-color: var(--mud-palette-info);
}

.dataGridCellHeader {
    color: var(--mud-palette-info-text) !important
}

body {
    background: linear-gradient(to left, #0f0f12 0%, var(--mud-palette-background) 40%);
    min-height: 100vh;
}

.elo-mudchip {
    min-width: 80px;
}

.ubuntu-mono-regular {
    font-family: "Ubuntu Mono", monospace;
    font-size: 0.975rem;
    font-style: normal;
}

.ubuntu-mono-bold {
    font-family: "Ubuntu Mono", monospace;
    font-size: 0.975rem;
    font-style: normal;
    font-weight: bold;
}

#lobbyCountDownTimer {
    font-family: "Ubuntu Mono", monospace;
    font-size: 1.500rem;
    font-style: normal;
    font-weight: 900;
}

#LiveTimingCountdown {
    font-family: "Ubuntu Mono", monospace;
    font-size: 1.500rem;
    font-style: normal;
    font-weight: 900;
}

.center-content {
    text-align: center;
}

.column-header-center .column-header {
    justify-content: center !important;
}

.lp-h1 {
    font-family: "Public Sans", "Roboto", sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.167;
    letter-spacing: -0.01562em;
}

.lp-h2 {
    font-family: "Public Sans", "Roboto", sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.167;
    letter-spacing: -0.01562em;
}

.lp-h3 {
    font-family: "Public Sans", "Roboto", sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.167;
    letter-spacing: -0.01562em;
}

.lp-subtitle1 {
    color: lightgray;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.75;
    letter-spacing: .00938em;
}

.lp-header-image-1 {
    z-index: 2000;
    transition: transform 0.3s ease, filter 0.3s ease;
}

    .lp-header-image-1:hover {
        z-index: 2000;
        transform: scale(1.05); /* Adjust scale factor as needed */
        filter: brightness(120%);
    }

@media (max-width: 959px) {
    .lp-h1 {
        font-size: 2.5rem;
    }

    .lp-subtitle1 {
        font-size: .875rem;
    }

    .lp-header-image-1 {
        display: none;
    }

    .lp-header-image-2 {
        display: none;
    }
}

.advert-paper {
    background: #EFEFEF;
}

.mud-overlay-content {
    max-width: 65%;
}

.grayscale-img {
    filter: grayscale(100%); /* Apply grayscale */
    transition: filter 0.5s ease; /* Smooth transition */
}

    .grayscale-img:hover {
        filter: grayscale(0%); /* Remove grayscale on hover */
    }

.grayscale-50-img {
    filter: grayscale(50%); /* Apply grayscale */
    transition: filter 0.5s ease; /* Smooth transition */
}

    .grayscale-50-img:hover {
        filter: grayscale(0%); /* Remove grayscale on hover */
    }

.grayscale-perm-img {
    filter: grayscale(100%); /* Apply grayscale */
}

.brightness-img {
    transition: filter 0.5s ease; /* Smooth transition */
}

    .brightness-img:hover {
        filter: brightness(120%); /* Add brightness on hover */
    }

.riderCard {
    aspect-ratio: 5 / 1;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: background-image 0.3s ease-in-out; /* Smooth transition */
}

/*.riderCard.hover-animated:hover {
        background-image: url('images/Achievements/{GUID}.gif');*/ /* Placeholder */
/*}*/


.playerRating-A {
    background-color: #64DD17;
    color: #000000;
}

.playerRating-B {
    background-color: #0091EA;
    color: #000000;
}

.playerRating-C {
    background-color: #FFD600;
    color: #000000;
}

.playerRating-D {
    background-color: #FF6D00;
    color: #000000;
}

.playerRating-E {
    background-color: #D50000;
    color: #000000;
}


/*@media (max-width: 600px) {
    .lp-section {
        --mud-typography-h1-size: 2.5rem;
        --mud-typography-subtitle1-size: .875rem;
    }
}*/


/* Font Awesome oversized font fix */
.fa,
.fa-brands,
.fa-classic,
.fa-regular,
.fa-sharp,
.fa-solid,
.fab,
.far,
.fas {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .fas::before,
    .fa-brands::before,
    .fa-classic::before,
    .fa-regular::before,
    .fa-sharp::before,
    .fa-solid::before,
    .fab::before,
    .far::before,
    .fas::before {
        font-size: 73%;
    }

/* Blazor reconnect */
#components-reconnect-modal {
    color: var(--mud-palette-black);
}



/* 
    Animated border    
    https://www.webbae.net/posts/ultimate-guide-to-animated-border-gradients
*/
:root {
    --bonusEloEventCard-color-1: #c12020;
    --bonusEloEventCard-color-2: #ff0000;
    --bonusEloEventCard-color-3: #ffd700;
    --bonusEloEventCard-color-4: #FF4500;
    --bonusEloEventCard-border-size: 8px;
    --bonusEloEventCard-border-radius: 16px;
}

@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@keyframes bonusEloEventCardSpin {
    to {
        --angle: 360deg;
    }
}

.bonusEloEventCard {
    position: relative;
    border-radius: var(--bonusEloEventCard-border-radius);
}

    .bonusEloEventCard::before,
    .bonusEloEventCard::after {
        content: "";
        position: absolute;
        inset: calc(var(--bonusEloEventCard-border-size) * -1);
        border-radius: calc(var(--bonusEloEventCard-border-radius) + var(--bonusEloEventCard-border-size));
        background-image: conic-gradient( from var(--angle), var(--bonusEloEventCard-color-1), var(--bonusEloEventCard-color-2), var(--bonusEloEventCard-color-3), var(--bonusEloEventCard-color-4), var(--bonusEloEventCard-color-3), var(--bonusEloEventCard-color-2), var(--bonusEloEventCard-color-1) );
        z-index: -1;
        animation: bonusEloEventCardSpin 5.0s linear infinite;
        transition-property: opacity;
        transition-duration: 400ms;
        transition-timing-function: ease;
    }

    .bonusEloEventCard::after {
        filter: blur(14px);
    }

.bonusEloEventCardSquare {
    position: relative;
    /*border-radius: var(--bonusEloEventCard-border-radius);*/
}

    .bonusEloEventCardSquare::before,
    .bonusEloEventCardSquare::after {
        content: "";
        position: absolute;
        inset: calc(var(--bonusEloEventCard-border-size) * -1);
        /*border-radius: calc(var(--bonusEloEventCard-border-radius) + var(--bonusEloEventCard-border-size));*/
        background-image: conic-gradient( from var(--angle), var(--bonusEloEventCard-color-1), var(--bonusEloEventCard-color-2), var(--bonusEloEventCard-color-3), var(--bonusEloEventCard-color-4), var(--bonusEloEventCard-color-3), var(--bonusEloEventCard-color-2), var(--bonusEloEventCard-color-1) );
        z-index: -1;
        animation: bonusEloEventCardSpin 5.0s linear infinite;
        transition-property: opacity;
        transition-duration: 400ms;
        transition-timing-function: ease;
    }

    .bonusEloEventCardSquare::after {
        filter: blur(14px);
    }
