h1:focus {
    outline: none;
}

html, body {
    font-family: sans-serif;
}


/* 
    Special styles for small screens (below 'md').
    Breakpoints: https://mudblazor.com/features/breakpoints#components  &  https://github.com/MudBlazor/MudBlazor/blob/dev/src/MudBlazor/Services/Browser/BreakpointGlobalOptions.cs
    Used global definition to be also applicable to Razor Components. Otherwise CSS Isolation wouldn't allow that, see https://github.com/dotnet/aspnetcore/issues/29409
*/
.show-only-mobile {
    display: none;
}

@media (max-width: 960px) {
    .hide-on-mobile {
        display: none !important;
    }

    .show-only-mobile {
        display: block;
    }
}


.truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

.loading-progress circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: #1b6ec2;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Loading");
}