﻿:root {
    --rad: .7rem;
    --dur: .5s;
    --height: 3rem;
    --btn-width: 4rem;
    --bez: cubic-bezier(0, 0, 0.43, 1.49);
    --btn-col: rgb(9,154,108);
}

html {
    height: 100% !important;
}

body {
    min-height: 100% !important;
}

.mud-main-content {
    height: 100vh;
}

.main-layout-paddings {
    margin-top: 5em;
    padding-left: 1em;
}

.dash-donut {
    max-width: 30em;
    margin: auto 0;
}

.pre-loader-container {
    position: absolute;
    left: 50%;
    top: 50%;
}

    .pre-loader-container p {
        margin-top: 2em;
        margin-left: -7em;
        font-size: 1.6em;
        color: #3498db;
    }

    .pre-loader-container .pre-loader {
        z-index: 1;
        width: 120px;
        height: 120px;
        margin: -76px 0 0 -76px;
        border: 16px solid #f3f3f3;
        border-radius: 50%;
        border-top: 16px solid #3498db;
        -webkit-animation: spin 2s linear infinite;
        animation: spin 2s linear infinite;
    }

@media only screen and (min-width: 768px) {
    .pre-loader-container p {
        margin-top: 2em;
        font-size: 3em;
    }
}

@media only screen and (max-height: 400px) {
    .pre-loader-container p {
        margin-top: 1.2em;
        font-size: 3em;
    }
}

@media only screen and (min-height: 1000px) {
    .inforce-min-height {
        bottom: 1em !important;
    }
}

@media only screen and (max-height: 999px) {
    .inforce-min-height {
        display: none !important;
    }
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.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+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.w-100 {
    width: 100%;
}

.mud-list.mud-list-padding {
    padding-bottom: 0;
    padding-top: 0;
}

.no-backround:not(:hover) {
    background-color: transparent;
}

.order-item-container {
    min-width: 10em;
}

    .order-item-container .mud-card-actions {
        padding: 0;
        background-color: rgba(0,0,0,0.058823529411764705);
    }

    .order-item-container .mud-card-header {
        background-color:rgba(0,0,0,0.058823529411764705);
    }

    .order-item-container .mud-expansion-panels {
        background-color: transparent;
        width: 100%;
    }

    .order-item-container .mud-expand-panel {
        background-color: transparent;
    }

.order-item-header-chart {
    justify-content: center;
    text-align: center;
}

    .order-item-header-chart .mud-chart-donut .mud-donut-ring {
        stroke: transparent;
    }

    .order-item-header {
        background-color: var(--mud-palette-action-default-hover);
        height: 3.5em;
        padding: 0.7em 0 0 1em;
    }

.order-item-chart-fix {
    position: relative;
    display: inline-block;
    top: -40px;
}

.order-item-detail .mud-expand-panel-header {
    justify-content: center;
    text-align: center;
    background-color: var(--mud-palette-action-default-hover);
}

.order-item-detail .mud-expand-panel-header:hover {
    background-color: var(--mud-palette-action-disabled-background);
}

.order-item-description {
    margin-top: -45px;
    padding-left: 8px;
    padding-bottom: 8px;
}

.mud-grid-spacing-xs-2 {
    margin: -16px;
    padding-left: 8px;
    padding-right: 8px;
}

.order-description {
    padding: 8px;
}

.order-confirmation-footer-buttons {
    padding: 8px;
}

.po-item-graphics {
    position: fixed;
    padding-top: 2em;
    bottom: 5em;
    width: 48%;
}

@media (min-width: 1280px) {
    .po-item-graphics {
        width: 40%;
    }
}

@media (min-width: 1920px) {
    .po-item-graphics {
        width: 32%;
    }
}

.drawer-delete-icon .mud-icon-size-medium {
    font-size: 4rem;
    color: #fff;
}

.order-confirm-editable:hover > .mud-grid-item > .hover-delete-container:not(.disabled) > .hover-delete-icon {
    display: inline-block;
}

.hover-delete-container .hover-delete-icon {
    border-radius: 50% !important;
    padding: 0;
    display: none;
    width: 42px;
    height: 42px;
}

.hover-delete-icon:not(:hover) {
    color: var(--mud-palette-error);
    background-color: transparent !important;
}

.hover-delete-icon {
    color: #fff;
    border: 2px solid var(--mud-palette-error);
}

    .hover-delete-icon:hover {
        background-color: var(--mud-palette-error) !important;
    }

.py-2 {
    padding: 8px 0;
}

.text-muted {
    font-size-adjust: .75;
    font-style: italic;
}

.w-90 {
    width: 90%;
}

.user-info-footer a, .user-info-footer-link {
    width: 100%;
    justify-content: left;
    text-align: left;
}

.search-form {
    position: relative;
    width: 20rem;
    border-radius: var(--rad);
}

    .search-form input, .search-form button {
        height: var(--height);
        border: 0;
        color: var(--mud-palette-dark);
        font-size: 1.04rem;
    }

        .search-form input[type="search"] {
            outline: 0;
            width: 100%;
            background: var(--mud-palette-white);
            padding: 0 1.6rem;
            border-radius: var(--rad);
            appearance: none;
            transition: all var(--dur) var(--bez);
            transition-property: width, border-radius;
            z-index: 1;
            position: relative;
        }

.light-mode .search-form input[type="search"] {
    background: var(--mud-palette-background);
}

    .search-form button {
        display: none;
        position: absolute;
        top: 0;
        right: 0;
        width: var(--btn-width);
        font-weight: bold;
        background: var(--btn-col);
        border-radius: 0 var(--rad) var(--rad) 0;
    }

    .search-form input:not(:placeholder-shown) {
        border-radius: var(--rad) 0 0 var(--rad);
        width: calc(100% - var(--btn-width));
    }

        .search-form input:not(:placeholder-shown) + button {
            display: block;
        }

.filter-buttons button {
    width: 100%;
    border-top: none !important;
    margin-bottom: 1em;
    justify-content: left;
}

.filter-buttons .mud-badge-root {
    transition: .5s;
    width: 100%;
    transition-property: width;
}

    .filter-buttons .mud-badge-root:has(button.active) {
        width: 130%;
    }

.filter-buttons button.active {
    box-shadow: var(--mud-elevation-4) !important;
    background-color: var(--mud-palette-action-default-hover) !important;
}

.filter-buttons {
    box-shadow: none;
}

.cut-text {
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
}

.mud-menu-list {
    padding-bottom: 0 !important;
}