
.italic {
    font-style: italic;
}
.bold {
    font-weight: bold;
}
.text-right {
    text-align: right;
}
.text-left {
    text-align: left;
}
.text-center {
    text-align: center;
}

tr.hide-bottom-border > td {
    border-bottom: none !important;
}

td > a {
    display: block;
    text-decoration: none;
    padding: 8px;
}

@media print {
    div.print-hide, .print-hide {
        display: none !important;
    }
}


html, body, #app {
    height: 100%;
}

:root {
    --mud-palette-appbar-background: var(--theme-primary) !important;
}

.appbar-brand-inline {
    height: 40px;
    margin-left: 4px;
    margin-right: 4px;
}

.app-loading-container {
    background-color: var(--theme-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    background-image: var(--theme-backdrop);
    background-size: cover;
    background-position: center;
}

.lds-grid {
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-text {
    height: 20px;
    font-family: Roboto;
    font-size: .8rem;
    font-weight: bold;
    margin-top: 0.5rem;
    text-transform: uppercase;
    color: #fff;
}

.lds-grid div {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    animation: lds-grid 1.2s linear infinite !important;
}

    .lds-grid div:nth-child(1) {
        top: 8px;
        left: 8px;
        animation-delay: 0s !important;
    }

    .lds-grid div:nth-child(2) {
        top: 8px;
        left: 32px;
        animation-delay: -.4s !important;
    }

    .lds-grid div:nth-child(3) {
        top: 8px;
        left: 56px;
        animation-delay: -.8s !important;
    }

    .lds-grid div:nth-child(4) {
        top: 32px;
        left: 8px;
        animation-delay: -.4s !important;
    }

    .lds-grid div:nth-child(5) {
        top: 32px;
        left: 32px;
        animation-delay: -.8s !important;
    }

    .lds-grid div:nth-child(6) {
        top: 32px;
        left: 56px;
        animation-delay: -1.2s !important;
    }

    .lds-grid div:nth-child(7) {
        top: 56px;
        left: 8px;
        animation-delay: -.8s !important;
    }

    .lds-grid div:nth-child(8) {
        top: 56px;
        left: 32px;
        animation-delay: -1.2s !important;
    }

    .lds-grid div:nth-child(9) {
        top: 56px;
        left: 56px;
        animation-delay: -1.6s !important;
    }

@keyframes lds-grid {
    0%,100% {
        opacity: 1;
    }

    50% {
        opacity: .3;
    }
}

#blazor-error-ui {
    font-family: Roboto;
    z-index: 100;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    background: rgba(255,255,255,.7);
}

.error-container {
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Roboto;
}

.error-dialog {
    background: white;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #aaa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.error-icon > * {
    fill: rgb(220, 53, 69);
    width: 5rem;
    height: 5rem;
}

.error-title {
    font-size: 1.6rem;
    margin-bottom: .6rem;
    color: black;
}

.error-home-link {
    color: var(--theme-primary);
}

.error-reload-button {
    border-color: #dc3545;
    color: #dc3545;
    border-radius: 6px;
    appearance: button;
    margin: .25rem .125rem;
    border-width: 1px;
    border-style: solid;
    padding: 6px 12px;
}

.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-ellipsis div {
        position: absolute;
        top: 33px;
        width: 13px;
        height: 13px;
        border-radius: 50%;
        background: #888;
        animation-timing-function: cubic-bezier(0, 1, 1, 0);
    }

        .lds-ellipsis div:nth-child(1) {
            left: 8px;
            animation: lds-ellipsis1 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(2) {
            left: 8px;
            animation: lds-ellipsis2 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(3) {
            left: 32px;
            animation: lds-ellipsis2 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(4) {
            left: 56px;
            animation: lds-ellipsis3 0.6s infinite;
        }

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}

.error-text {
    margin-bottom: .6rem;
    color: black;
}