

html, body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}


h1:focus {
    outline: none;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: var(--bs-warning-bg-subtle);
    color: var(--bs-body-color);
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background:  #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }


.buttonstyle {
    display: grid;
    grid-template-columns: 1fr 10fr;
    height: 110px !important;
    border-radius: .3rem;
    text-decoration: none;
    min-width: 100px;
}

.buttonhover {
    color: white;
    width: 100%;
    /*color: #585757*/
}

    .buttonhover:hover {
        filter: brightness(95%);
        color: white;
    }

.heading1 {
    font-weight: 400 !important;
    font-size: 32px !important;
}

.cardheading {
    font-weight: 700 !important;
    font-size: 18px !important;
    text-transform: uppercase !important;
}

/* Count-up numbers (Components/General/CountUp.razor). --n runs from 0 to --to; each digit shows its own place of --n.
   Leading digits and commas stay collapsed until the count reaches them. Needs CSS round()/mod() (Chrome/Edge 125+, Firefox 118+, Safari 15.4+). */
@property --n { syntax: "<integer>"; inherits: true; initial-value: 0; }
@property --d { syntax: "<integer>"; inherits: false; initial-value: 0; }

.countup {
    animation: countup 1.1s cubic-bezier(.2, .7, .2, 1) forwards;
    font-variant-numeric: tabular-nums;
}
.countup i, .countup b {
    display: inline-block;
    overflow: clip;
    vertical-align: baseline;
    font-style: normal;
    font-weight: inherit;
    max-width: min(1ch, calc(round(down, var(--n) / var(--p), 1) * 1ch));
}
.countup i.lo { max-width: 1ch; }
.countup i { --d: mod(round(down, var(--n) / var(--p), 1), 10); counter-reset: d var(--d); }
.countup i::after { content: counter(d); }

@keyframes countup { from { --n: 0; } to { --n: var(--to); } }

@media (prefers-reduced-motion: reduce) { .countup { animation-duration: 0.01s; } }
