﻿:root {
    /*PALETTE*/
  
    --basic-background: #ffffff;
    --loading-start: hsl(329,4%,79%);
    --loading-end: hsl(329,4%,97%);
    --basic-sidebar-max-width: 280px;
}


html, body {
    font-family: 'Roboto';
    background-color: var(--basic-background);
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100%;
    align-items: stretch;
    overflow-x: hidden;
}

#app {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

    #app .page {
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
    }

    #app > div.sidebar {
    }

article.content {
    /* border-left: solid 2px var(--pageBorder); */
   /* padding-bottom: 1rem;
    background: var(--basic-background);*/
}

.page {
}

main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
main > .sidebar+div{
        max-width: calc(100vw - var(--basic-sidebar-max-width));
} 

.main-content-container {
    max-height: calc(100vh - 55px);
    /* padding-bottom: 10px; */
    overflow-y: auto;
}

.top-row {
}

.footer {
    color: grey;
    background: grey;
}

.sidebar {
    background-color: #ffffff;
    z-index: 5;
}

.SideBarVersionWrapper {
    /* bottom: 0; */
}

.background-shaded {
    /*background-color:rgba(var(--shadowGreyRGB), 0.15);*/
    background-color: grey;
}

#page-login section {
    background-color: white;
    -webkit-box-shadow: 0px 4px 14px rgba(var(--bs-primary-rgb-com), 0.45);
    box-shadow: 0px 4px 14px rgba(var(--bs-primary-rgb-com), 0.45);
}

#page-login .form-group {
    /*padding:5px;*/
}

.btn-primary {
    color: white;
    background-color: grey;
    border-color: grey;
}

.btn-primary:focus {
        background-color: grey;
        outline: grey;
        -webkit-box-shadow: 0 0 0 0.1rem grey;
        box-shadow: 0 0 0 0.1rem grey;
        border-color: grey;
    }

.login-version {
    margin-top: -1.25rem;
    font-size: 0.875rem;
    color: black;
}

h1, h2, h3, h4, h5, h6 {
    color: black;
    font-weight: 600;
}

    h1:focus {
        outline: none;
    }

.page-title{
    color: black;
}

a, .btn-link {
    color: black;
}
.fa-solid.fa-user {
    transition: none !important;
    -webkit-animation: none !important;
    -webkit-animation-fill-mode: unset !important;
}

a:hover {
    color: black;
}

a.imageButtonIcon:hover {
    cursor: pointer;
}

.page-login.form-group {
    margin: 5px;
}

.nav-link text-dark {
    color: var(--primary);
}

#btnLogout {
    color: black;
    border: none;
    background-color: transparent;
}

    #btnLogout:hover, #btnLogout:active, #btnLogout:focus {
        border: none;
        border-color: transparent;
        color: black;
        text-decoration: none;
        outline: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    #btnLogout i {
        padding-right: 10px;
    }

    
.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: var(--active);
    bottom: 0;
    -webkit-box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    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;
    color: white;
}

#blazor-error-ui a{
    color:white;
}
    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmb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IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: var(--white);
}

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

.layout-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}


/*#region SPINNER*/
.loading-container {
    background: -o-linear-gradient(315deg, grey 0%, rgba(128,127,131,0.01), 5%, rgba(128,127,131,0.5) 50%, rgba(128,127,131,1) 150%);
    background: linear-gradient(135deg, grey 0%, rgba(128,127,131,0.01), 5%, rgba(128,127,131,0.5) 50%, rgba(128,127,131,1) 150%);
    will-change: background-position;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden
}

main article.content.px-5:has(.loading-container) {
    padding: 0 !important;
}

.spinner-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.spinner-content {
    color: white;
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.loading-container .spinner-content,
.loading-container .spinner-container h5,
.loading-container .spinner-message-container * {
    color: white !important;
}

    .loading-container .spinner-content div:after {
        background: white;
    }

.spinner-content div {
    -webkit-transform-origin: 40px 40px;
    -ms-transform-origin: 40px 40px;
    transform-origin: 40px 40px;
    -webkit-animation: fadeout 1.2s linear infinite;
    animation: fadeout 1.2s linear infinite;
}

    .spinner-content div:after {
        content: " ";
        display: block;
        position: absolute;
        top: 3px;
        left: 37px;
        width: 6px;
        height: 18px;
        border-radius: 20%;
        background: grey;
    }

    .spinner-content div:nth-child(1) {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-animation-delay: -1.1s;
        animation-delay: -1.1s;
    }

    .spinner-content div:nth-child(2) {
        -webkit-transform: rotate(30deg);
        -ms-transform: rotate(30deg);
        transform: rotate(30deg);
        -webkit-animation-delay: -1s;
        animation-delay: -1s;
    }

    .spinner-content div:nth-child(3) {
        -webkit-transform: rotate(60deg);
        -ms-transform: rotate(60deg);
        transform: rotate(60deg);
        -webkit-animation-delay: -0.9s;
        animation-delay: -0.9s;
    }

    .spinner-content div:nth-child(4) {
        -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        transform: rotate(90deg);
        -webkit-animation-delay: -0.8s;
        animation-delay: -0.8s;
    }

    .spinner-content div:nth-child(5) {
        -webkit-transform: rotate(120deg);
        -ms-transform: rotate(120deg);
        transform: rotate(120deg);
        -webkit-animation-delay: -0.7s;
        animation-delay: -0.7s;
    }

    .spinner-content div:nth-child(6) {
        -webkit-transform: rotate(150deg);
        -ms-transform: rotate(150deg);
        transform: rotate(150deg);
        -webkit-animation-delay: -0.6s;
        animation-delay: -0.6s;
    }

    .spinner-content div:nth-child(7) {
        -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        transform: rotate(180deg);
        -webkit-animation-delay: -0.5s;
        animation-delay: -0.5s;
    }

    .spinner-content div:nth-child(8) {
        -webkit-transform: rotate(210deg);
        -ms-transform: rotate(210deg);
        transform: rotate(210deg);
        -webkit-animation-delay: -0.4s;
        animation-delay: -0.4s;
    }

    .spinner-content div:nth-child(9) {
        -webkit-transform: rotate(240deg);
        -ms-transform: rotate(240deg);
        transform: rotate(240deg);
        -webkit-animation-delay: -0.3s;
        animation-delay: -0.3s;
    }

    .spinner-content div:nth-child(10) {
        -webkit-transform: rotate(270deg);
        -ms-transform: rotate(270deg);
        transform: rotate(270deg);
        -webkit-animation-delay: -0.2s;
        animation-delay: -0.2s;
    }

    .spinner-content div:nth-child(11) {
        -webkit-transform: rotate(300deg);
        -ms-transform: rotate(300deg);
        transform: rotate(300deg);
        -webkit-animation-delay: -0.1s;
        animation-delay: -0.1s;
    }

    .spinner-content div:nth-child(12) {
        -webkit-transform: rotate(330deg);
        -ms-transform: rotate(330deg);
        transform: rotate(330deg);
        -webkit-animation-delay: 0s;
        animation-delay: 0s;
    }

.spinner-message-container {
    margin-top: 10px;
}

/*#endregion*/
