﻿.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: #b90700;
            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-subtext {
    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");
}

.grow-wrap {
    /* easy way to plop the elements on top of each other and have them both sized based on the tallest one's height */
    display: grid;
    height: 28px;
    margin-top: 3px;
}

    .grow-wrap:after {
        /* Note the weird space! Needed to preventy jumpy behavior */
        content: attr(data-replicated-value) " ";
        /* This is how textarea text behaves */
        white-space: pre-wrap;
        /* Hidden from view, clicks, and screen readers */
        visibility: hidden;
        top: -19px;
        position: relative;
        padding-left: 4px;
        font-size: 16px;
    }

    .grow-wrap > textarea {
        /* You could leave this, but after a user resizes, then it ruins the auto sizing */
        resize: none;
        overflow: hidden;
    }

    .grow-wrap > textarea {
        font: inherit;
    }

.rek {
    width: max-content;
    padding: 15px;
}

.cblock {
    display: block;
}

.cnone {
    display: none;
}

.headerrow {
    background-color: var(--mud-palette-appbar-background);
}

tr.headerrow td.mud-table-cell {
    color: var(--mud-palette-appbar-text) !important;
}

input {
    font-size: 16px;
}

    input:enabled {
        background-color: inherit;
        color: inherit;
        height: 28px;
        border: none;
        font-weight: inherit;
        font-style: inherit;
    }

textarea:enabled {
    color: inherit;
    font-weight: inherit;
    font-style: inherit;
    background-color: inherit;
}

select {
    font-size: 16px;
}

    select:enabled {
        color: inherit;
        font-weight: inherit;
        font-style: inherit;
        text-align: inherit;
        background-color: inherit;
    }

.main {
    padding-bottom: 64px;
}

.cell {
    min-height: 1.5em;
    padding: 4px;
}

.Kop1 {
    background-color: var(--mud-palette-primary-darken);
    border: 2px solid var(--mud-palette-text-secondary);
    border-radius: 3px;
    font-weight: bold;
    color: white;
    padding: 5px 3px 5px 3px;
}

    .Kop1 select:disabled {
        background-color: var(--mud-palette-primary-darken);
    }

.Kop2 {
    border: 2px solid var(--mud-palette-text-secondary);
    border-radius: 3px;
    font-weight: bold;
    padding: 4px 3px 4px 3px;
}

.Kop3 {
    background-color: var(--mud-palette-gray-lighter);
    border: 2px solid var(--mud-palette-text-secondary);
    border-radius: 3px;
    font-weight: bold;
    padding: 4px 3px 4px 3px;
}

    .Kop3 select:disabled {
        background-color: var(--mud-palette-gray-lighter);
    }

.Kop4 {
    background-color: var(--mud-palette-primary);
    border: 2px solid var(--mud-palette-text-secondary);
    border-radius: 3px;
    font-weight: bold;
    font-style: italic;
    padding: 4px 3px 4px 3px;
}

    .Kop4 select:disabled {
        background-color: var(--mud-palette-primary);
    }

.InvulRand {
    background-color: var(--mud-palette-primary-lighten);
    border: 1px solid var(--mud-palette-text-secondary);
    border-radius: 2px;
    padding: 0 4px 0 4px;
}

.InvulRandloos {
    background-color: var(--mud-palette-primary-lighten);
    border: 0 solid var(--mud-palette-text-secondary);
    border-radius: 2px;
    padding: 0 5px 0 5px;
}

.LeesRand {
    border: 1px solid var(--mud-palette-text-secondary);
    border-radius: 2px;
    padding: 0 4px 0 4px;
}

.LeesRandloos {
    border: 0 solid var(--mud-palette-text-secondary);
    border-radius: 2px;
    padding: 0 5px 0 5px;
}

.TekstComplex {
    white-space: pre-wrap;
    padding: 6px;
    font-size: 16px;
}

.Tekst {
    padding: 6px;
    padding: 6px;
}

.TekstOverloop {
    white-space: pre-wrap;
    padding: 6px;
}

.Label {
    font-size: 16px;
}

.TekstLatex {
    padding-top: 4px;
}

.TekstComplex ol li {
    margin-left: 12px;
}

.TekstComplex ul li {
    list-style: initial;
    margin-left: 12px;
}

.TekstMarkdown {
    padding: 6px;
}

.mud-markdown-body code:not(.hljs) {
    background-color: var(--mud-palette-warning) !important;
}