h1:focus {
    outline: none;
}

#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: 0.75rem;
        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."
    }

@font-face {
    font-family: 'Balabeloo';
    src: url('/dist/fonts/balabeloo.eot');
    src: url('/dist/fonts/balabeloo.woff2') format('woff2'), 
         url('/dist/fonts/balabeloo.woff') format('woff'), 
         url('/dist/fonts/balabeloo.ttf') format('truetype'), 
         url('/dist/fonts/balabeloo.otf') format('opentype'), 
         url('/dist/fonts/balabeloo.svg') format('svg'), 
         url('/dist/fonts/balabeloo.pfb') format('pfb');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Balabeloo', sans-serif;
}

.mud-table-root .mud-table-head .mud-table-cell, 
.table thead tr th {
    font-weight: 600 !important;
}
.mud-table-root .mud-table-head .mud-table-cell, 
.table thead tr th {
    background-color: #f8f9fa !important;
}

.mud-table tbody tr:hover td {
    background-color: #f8f9fa;
}

.wide-dialog {
    max-width: 90% !important;
}

.medium-dialog {
    max-width: 50% !important;
}

.mud-chip {
    height: 28px !important;
    border-radius: 16px !important;
    padding: 0 12px !important;
    margin: 2px !important;
}

    .mud-chip > .mud-chip-content {
        font-size: 13px !important;
        margin: 0 !important;
    }

.custom-icon {
    background-color: var(--mud-palette-secondary) !important;
    color: white;
    width: 35px !important;
    height: 35px !important;
    padding: 5px;
    border-radius: 25px;
    position: absolute;
    right: 2%;
    top: 2%;
    transform: translateY(-50%);
    z-index: 2;
    box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);
}

.custom-button {
    background-color: rgba(0, 0, 0, 0.1) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    display: block;
    padding: 3px 0;
    position: relative;
    text-align: center;
    text-decoration: none;
    z-index: 10;
    width: 100%;
}

    .custom-button:hover {
        background-color: rgba(0, 0, 0, 0.15) !important;
        color: #fff;
    }


.fixed-column,
tr > td:first-child {
    position: sticky;
    background-color: #fff;
    z-index: 1;
}

.position {
    border: 1px solid var(--mud-palette-table-lines) !important;
    z-index: 2;
}

table {
    border-collapse: separate;
}

th.fixed-column {
    z-index: 3;
    border: 1px solid rgba(224,224,224,1) !important;
}

td.fixed-column {
    z-index: 1;
    border: 1px solid rgba(224,224,224,1) !important;
}

.scrollable-header {
    position: sticky !important;
    top: 0;
    background-color: #f8f9fa !important;
    z-index: 1;
    border: 1px solid rgba(224,224,224,1) !important;
}

.mud-table.fixed-columns {
    overflow-x: auto;
}

    .mud-table.fixed-columns thead th:first-child,
    .mud-table.fixed-columns tbody tr td:first-child {
        position: sticky !important;
        left: 0;
        z-index: 1;
        border: 1px solid rgba(224,224,224,1) !important;
        border-right: 2px solid rgba(224,224,224,1) !important;
    }

    .mud-table.fixed-columns thead th {
        position: sticky !important;
        top: 0;
        z-index: 1;
        background-color: #f8f9fa !important;
    }

        .mud-table.fixed-columns thead th:nth-child(2) {
            position: sticky !important;
            z-index: 2;
        }

        .mud-table.fixed-columns thead th:nth-child(n+3) {
            position: sticky !important;
            z-index: 1;
        }

.mud-input-control > .mud-input-control-input-container > .mud-input-label-inputcontrol {
    font-size: .875rem !important;
}
.mud-shrink ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined, .mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    transform: translate(14px, -6px) scale(0.85);
}

.mud-input-control > .mud-input-control-input-container > .mud-input-label-inputcontrol {
    font-size: .875rem !important;
}

.mud-shrink ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined,
.mud-input:focus-within ~ label.mud-input-label.mud-input-label-inputcontrol.mud-input-label-outlined {
    transform: translate(14px, -6px) scale(0.85);
}

.mud-input-control > .mud-input-control-input-container > .mud-input-label-outlined.mud-input-label-inputcontrol {
    line-height: 14px !important;
}

.mud-input-label-outlined {
    padding: 0px !important;
}

.mud-input.mud-input-outlined.mud-input-adorned-end {
    padding-right: 5px !important;
    padding-inline-end: 5px !important;
}

.mud-select-input .mud-icon-root.mud-svg-icon {
    z-index: 100;
}

.mud-input > input.mud-input-root,
div.mud-input-slot.mud-input-root {
    font-size: .875rem;
    height: 100%;
}

.mud-popover-open .mud-list .mud-list-item-clickable .mud-list-item-text p,
.mud-list-subheader-extended .mud-list-item-extended p,
.mud-list-item-multiselect-checkbox-extended .mud-list-item-text-extended p {
    font-size: .875rem;
    padding-right: 0px !important;
}

.mud-input > input.mud-input-root-outlined.mud-input-root-adorned-end,
div.mud-input-slot.mud-input-root-outlined.mud-input-root-adorned-end {
    padding-inline-start: 10px !important;
}
.mud-input > input.mud-input-root, div.mud-input-slot.mud-input-root {
    font-size: .875rem !important;
}

label.mud-input-label-outlined {
    padding: 0px !important;
    margin-left: -3px !important;
}
    .mud-input-label-outlined.mud-input-label-margin-dense {
        transform: translate(10px, 12px) scale(1);
    }

.mud-input > input.mud-input-root-outlined,
div.mud-input-slot.mud-input-root-outlined {
    padding: 10px !important;
}
