#blazor-error-ui {
    background: lightyellow;
    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: 3.5rem;
        top: 0.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."
    }

tbody tr {
    background-color: rgba(0,0,0,0.04);
}

tbody tr:nth-child(even) {
    background: rgba(255,255,255,0.4);
}

html {
    font-family: ui-sans-serif, system-ui;
}

table {
    min-width: 100%;
}

/* Contains the title text and sort indicator, and expands to fill as much of the col width as it can */
.col-title {
    display: flex; /* So that we can make col-title-text expand as much as possible, and still hide overflow with ellipsis */
    min-width: 0px;
    flex-grow: 1;
    padding: 0;
}

/* If the column is sortable, its title is rendered as a button element for accessibility and to support navigation by tab */
button.col-title {
    border: none;
    background: none;
    position: relative;
    cursor: pointer;
}

.col-justify-center .col-title {
    justify-content: center;
}

.col-justify-end .col-title {
    flex-direction: row-reverse; /* For end-justified cols, the sort indicator should appear before the title text */
}

/* We put the column title text in its own element primarily so that it can use text-overflow: ellipsis */
.col-title-text {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
/* _content/Microsoft.AspNetCore.Components.QuickGrid/Pagination/Paginator.razor.rz.scp.css */
.paginator {
    display: flex;
    border-top: 1px solid #ccc;
    margin-top: 0.5rem;
    padding: 0.25rem 0;
    align-items: center;
}

.pagination-text {
    margin: 0 0.5rem;
}

nav {
    display: flex;
    margin-left: auto;
    gap: 0.5rem;
    align-items: center;
}

nav button {
    border: 0;
    background: none center center / 1rem no-repeat;
    width: 2rem;
    height: 2rem;
}

nav button[disabled] {
    opacity: 0.4;
}

nav button:not([disabled]):hover {
    background-color: #eee;
}

nav button:not([disabled]):active {
    background-color: #aaa;
}

.go-first, .go-last {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g transform="rotate(90) scale(0.8)" transform-origin="12 12"><path d="m 2,1.5 l 10,17.5 l 10,-17.5 l -10,7.75 l -10,-7.75 z"/><rect height="2" width="20" y="20.5" x="2"/></g></svg>');
}

.go-previous, .go-next {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g transform="rotate(90)" transform-origin="12 12"><path d="M 2 3.25 L 12 20.75 L 22 3.25 L 12 11 z" /></g></svg>');
}

.go-next, .go-last {
    transform: scaleX(-1);
}
/* _content/Microsoft.AspNetCore.Components.QuickGrid/QuickGrid.razor.rz.scp.css */
/*
    TODO: Don't actually used scoped CSS for QuickGrid.razor, because it's so perf-critical we don't even want to
    add the extra attributes on all the tr/td elements. We can hook everything onto the table.quickgrid class,
    remembering to be specific about matching closest tr/td only, not any child tables.
*/

th {
    position: relative; /* So that col-options appears next to it */
}

.col-header-content {
    /* We want the th elements to be display:flex, but they also have to be display:table-cell to avoid breaking the layout.
       So .col-header-content is an immediate child with display:flex. */
    position: relative;
    display: flex;
    align-items: center;
}

/* Deep to make it easy for people adding a sort-indicator element in a custom HeaderTemplate */
th .sort-indicator {
    /* Preset width so the column width doen't change as the sort indicator appears/disappears */
    width: 1rem;
    height: 1rem;
    align-self: center;
    text-align: center;
}

.col-sort-asc .sort-indicator, .col-sort-desc .sort-indicator {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M 2 3.25 L 12 20.75 L 22 3.25 L 12 10 z" /></svg>');
}

.col-sort-desc .sort-indicator {
    transform: scaleY(-1);
}

/* Deep to make it easy for people adding a col-options-button element in a custom HeaderTemplate */
th .col-options-button {
    border: none;
    padding: 0; /* So that even if the text on the button is wide, it gets properly centered */
    width: 1rem;
    align-self: stretch;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="1.5 0 21 24" stroke="currentColor" stroke-width="2"><path d="M4 6h16M4 12h16M4 18h16" /></svg>') center center / 1rem no-repeat;
}

.col-options {
    position: absolute;
    background: white;
    border: 1px solid silver;
    left: 0;
    padding: 1rem;
    z-index: 1;
}

.col-justify-end .col-options {
    left: unset;
    right: 0;
}

.col-width-draghandle {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0rem;
    cursor: ew-resize;
}

    .col-width-draghandle:after {
        content: ' ';
        position: absolute;
        top: 0;
        bottom: 0;
        border-left: 1px solid black;
    }

td.col-justify-center {
    text-align: center;
}

td.col-justify-end {
    text-align: right;
}

/* _content/Microsoft.AspNetCore.Components.QuickGrid/Themes/Default.css */
.quickgrid[theme=default] {
    --col-gap: 1rem;
}

    .quickgrid[theme=default] .col-header-content {
        padding-right: var(--col-gap);
    }

    .quickgrid[theme=default] > thead > tr > th {
        font-weight: normal;
    }

    .quickgrid[theme=default].loading > tbody {
        opacity: 0.25;
        transition: opacity linear 100ms;
        transition-delay: 25ms; /* Don't want flicker if the queries are resolving almost immediately */
    }

    .quickgrid[theme=default] .col-title {
        padding: 0.1rem 0.4rem;
    }

    .quickgrid[theme=default] > tbody > tr > td {
        padding: 0.1rem calc(0.4rem + var(--col-gap)) 0.1rem 0.4rem;
    }

    .quickgrid[theme=default] .col-title {
        gap: 0.4rem; /* Separate the sort indicator from title text */
        font-weight: bold;
    }

    .quickgrid[theme=default] .sort-indicator {
        opacity: 0.5;
    }

    .quickgrid[theme=default] .col-options-button {
        width: 1.5rem;
    }

        .quickgrid[theme=default] button.col-title:hover, .quickgrid[theme=default] .col-options-button:hover {
            background-color: rgba(128, 128, 128, 0.2);
        }

        .quickgrid[theme=default] button.col-title:active, .quickgrid[theme=default] .col-options-button:active {
            background-color: rgba(128, 128, 128, 0.5);
        }

    .quickgrid[theme=default] > thead .col-width-draghandle {
        width: 1rem;
        right: calc(var(--col-gap)/2 - 0.5rem);
    }

        .quickgrid[theme=default] > thead .col-width-draghandle:hover {
            background: rgba(128, 128, 128, 0.2);
        }

        .quickgrid[theme=default] > thead .col-width-draghandle:active {
            background: rgba(128, 128, 128, 0.4);
        }

            .quickgrid[theme=default] > thead .col-width-draghandle:hover:after, .quickgrid[theme=default] > thead .col-width-draghandle:active:after {
                border-color: black;
            }

        .quickgrid[theme=default] > thead .col-width-draghandle:after {
            border-color: #ccc;
            left: 0.5rem;
            top: 5px;
            bottom: 5px;
        }

    .quickgrid[theme=default] .col-options {
        box-shadow: 0 3px 8px 1px #aaa;
        border-color: #ddd;
        border-radius: 0.3rem;
    }

    .quickgrid[theme=default] > tbody > tr > td.grid-cell-placeholder:after {
        content: '\2026';
        opacity: 0.75;
    }

.quickgrid[theme=small] {
    font-size:small;
    font-weight:normal;
}

    .quickgrid[theme=small] .col-header.content {
        padding-right: unset;
    }

    .quickgrid[theme=small].col.col-width-draghandle {
        width: 0.4rem;
    }

        .quickgrid[theme=small] .col.col-width-draghandle:after {
            left: 0.2rem;
        }
.quickgrid[theme=small] th .sort-indicator{
    width: 0.7rem;
    height: 0.7rem;
}

@media (pointer: coarse), (hover: none) {
    [title] {
        position: relative;
        display: inline-flex;
        justify-content: center;
    }

        [title]:focus::after {
            content: attr(title);
            position: absolute;
            top: 90%;
            color: #000;
            background-color: #fff;
            border: 1px solid;
            width: fit-content;
            padding: 3px;
        }
}

@media (prefers-color-scheme: dark) {
    .spinner {
        filter: invert(1) brightness(2);
    }
}

@media (prefers-color-scheme: dark) {
    .svgsetsymbol {
        filter: invert(1) brightness(2);
    }
}