html, body {
    font-family: 'Mukta', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 15px;
    color: rgb(89, 92, 151);
    scrollbar-gutter: stable;
}

    html, body * {
        scrollbar-width: thin;
    }

:root {
    --primary-color: #0000d3;
}

strong, b {
    letter-spacing: 0;
}

th {
    user-select: none;
}

.no-shadow {
    box-shadow: none;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#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+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1ID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ZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

/*.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");
    }*/


.loader {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    border: 3px solid;
    border-color: var(--primary-color) var(--primary-color) transparent transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

    .loader::after,
    .loader::before {
        content: '';
        box-sizing: border-box;
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        margin: auto;
        border: 3px solid;
        border-color: transparent transparent var(--primary-color) var(--primary-color);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        box-sizing: border-box;
        animation: rotationBack 0.5s linear infinite;
        transform-origin: center center;
    }

    .loader::before {
        width: 32px;
        height: 32px;
        border-color: var(--primary-color) var(--primary-color) transparent transparent;
        animation: rotation 1.5s linear infinite;
    }

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotationBack {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

.test {
    background-color: #a1d9ff;
}

#notification-badge.mud-badge {
    inset: auto auto calc(100% - 20px) calc(100% - 20px) !important;
}

.mud-table-loading {
    display: none !important;
}

.mud-chip {
    border-radius: 0 !important;
}

/* Backup - Dalibor's solution 
.mud-chip-text, .mud-alert-text-info {
     box-shadow: inset 0px 0px 2px 0px;
    border-radius: 1px !important;
}
*/

.mud-chip-text::before {
    content: '';
    position: absolute;
    inset: 0px;
    border: 1px solid;
    opacity: 0.5;
    pointer-events: none;
}

.mud-alert {
    border: 1px solid;
}

.smart-responsive-right-label {
    text-align: right;
    word-break: break-word;
}

.smart-responsive-right-center-label {
    text-align: right;
    word-break: break-word;
    display: flex;
    justify-content: end;
    align-items: center;
    height: 100%;
    font-weight: bold !important;
}

.smart-responsive-left-text {
    text-align: left;
    word-break: break-word;
}

.smart-responsive-left-input {
    text-align: left;
}

.smart-responsive-divider {
    display: none;
}

@media(max-width: 599px) {
    .smart-responsive-right-label, .smart-responsive-left-text {
        text-align: center;
        word-break: break-word;
        padding-top: .1rem !important;
    }

    .smart-responsive-right-center-label {
        text-align: center;
        font-weight: bold !important;
        word-break: break-word;
        padding-top: .1rem !important;
        display: inherit;
    }

    .smart-responsive-left-input {
        align-items: center;
        padding: 0 !important;
    }

    .smart-responsive-divider {
        width: 98%;
        display: unset;
        margin-bottom: 1rem !important;
        margin-top: 0.5rem !important;
    }
}

.mud-breadcrumbs {
    padding: 0 !important;
    margin-bottom: .5rem !important;
    font-size: .8rem !important;
}

.form-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.form-container-col-1 {
    width: 50%;
}

.form-container-col-2 {
    width: 50%;
}

@media(max-width: 599px) {
    .form-container {
        flex-direction: column;
    }

    .form-container-col-1 {
        width: 100%;
    }

    .form-container-col-2 {
        width: 100%;
    }
}

.mud-dialog {
    box-shadow: none !important;
}

.mud-table-cell {
    font-size: 1rem !important;
}


/*.mud-table-cell {
    text-align: center !important;
}

.column-header {
    justify-content: center !important;
}*/

/* Zabrauje tabulce vypadat jinak pi natn - pestane pidvat margin */
th.mud-table-empty-row > div {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.mud-picker-datepicker-toolbar button {
    font-size: 1.2rem !important;
}

.mud-table-toolbar {
    height: auto !important;
    padding: 0 1rem !important;
}

.mud-icon-button:hover {
    border-radius: 30% !important;
}

.animate {
    animation-duration: 0.5s;
    animation-name: animate-fade;
    animation-fill-mode: backwards;
}

@keyframes animate-fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


.animate.pop {
    animation-name: animate-pop;
    animation-timing-function: cubic-bezier(.26,.53,.74,1.48);
}

@keyframes animate-pop {
    0% {
        opacity: 0;
        transform: scale(0.5, 0.5);
    }

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

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.mud-dialog-actions {
    padding: 8px 12px 8px 12px !important;
}

.mud-collapse-wrapper {
    overflow-y: hidden !important;
}

.mud-list-subheader {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}


.mud-list-item-level2 {
    margin-left: -10px;
}

.icon-open-in-new {
    margin-bottom: -5px;
    margin-left: 5px;
}

.mud-breadcrumbs {
    font-size: 1rem !important;
}


/* !! ToDo - nejak lepe ?? */
.h5-agenda-name {
    font-variant-caps: small-caps !important;
    margin-top: 5px !important;
}

.mud-tab.mud-tab-active {
    color: var(--mud-palette-info-darken) !important;
}

.mud-tab.mud-tab-active {
    color: var(--mud-palette-info-darken) !important;
}

.mud-tab-slider.mud-primary.mud-tab-slider-horizontal {
    background: var(--mud-palette-info-darken) !important;
}

.custom-list li::marker {
    font-size: 0.7em;
}

.mud-table-sticky-header * .mud-table-root .mud-table-head * .mud-table-cell {
    background-color: var(--mud-palette-background-gray) !important;
    border-left: 1px solid var(--mud-palette-lines-default);
}

    .mud-table-sticky-header * .mud-table-root .mud-table-head * .mud-table-cell:first-child {
        border-left: none;
    }

.mud-dialog .mud-dialog-title {
    border-bottom: 1px solid #DADADA;
    margin-bottom: 20px !important;
}

.mud-pagination {
    font-size: 1rem !important;
}

.mud-input > textarea.mud-input-root-outlined {
    padding: 1rem !important;
    margin: 1px !important;
}
