:root {
    font-size: 14px;
    line-height: 1.08;
}


body {
    background: url(../symbol.png) no-repeat right bottom, radial-gradient(circle at 72% 46%, #fffbfa 0%, #f7fbff 57%, #fffaf9 100%);
    background-size: min(75%, 300px), 100%;
    max-width: 100vw;
}

.logo {
    background-color: var(--bs-primary);
    color: white;
    border-radius: 5%;
    height: 4.9rem;
    width: 5.2rem;
    font-size: 3.5rem;
}

#components-reconnect-modal {
    display: block;
    position: fixed;
    padding: 0;
    display: flex;
    top: 0px;
    right: 0rem;
    left: 0rem;
    bottom: auto;
    z-index: 5000;
    overflow: hidden;
    background-color: #1f6db3dd;
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0px 0px 37px 0px rgba(34, 60, 80, 0.2);
}

@keyframes components-reconnect-animation {
    0% {
        height: 3rem;
    }

    95% {
        height: 3rem;
    }

    100% {
        height: 100vh;
    }
}


#components-reconnect-modal.components-reconnect-show div.reconnecting {
    display: block;
    margin: auto;
}

#components-reconnect-modal.components-reconnect-show div.failedToConnect {
    display: none;
}

#components-reconnect-modal.components-reconnect-show div.connectionRejected {
    display: none;
}


#components-reconnect-modal.components-reconnect-failed div.reconnecting {
    display: none;
}

#components-reconnect-modal.components-reconnect-failed div.failedToConnect {
    display: block;
    margin: auto;
}

#components-reconnect-modal.components-reconnect-failed div.connectionRejected {
    display: none;
}




#components-reconnect-modal.components-reconnect-rejected div.connectionRejected {
    display: block;
    margin: auto;
}

#components-reconnect-modal.components-reconnect-rejected div.reconnecting {
    display: none;
}

#components-reconnect-modal.components-reconnect-rejected div.failedToConnect {
    display: none;
}

#components-reconnect-modal * {
    display: none;
}


#components-reconnect-modal.components-reconnect-show {
    animation-name: components-reconnect-animation;
    animation-duration: 5s;
    height: 100vh;
}

#components-reconnect-modal.components-reconnect-failed {
    animation-name: components-reconnect-animation;
    animation-duration: 5s;
    height: 100vh;
}


#components-reconnect-modal.components-reconnect-rejected {
    animation-name: components-reconnect-animation;
    animation-duration: 5s;
    height: 100vh;
}



#components-reconnect-modal.components-reconnect-hide {
    height: 0;
}


.snackbar {
    box-shadow: 4px 14px 37px 2px rgba(0, 0, 0, 0.10);
    border-color: transparent;
    border-radius: 0.25rem !important;
}

.modal-content {
    box-shadow: 4px 4px 56px 2px rgba(0, 0, 0, 0.25);
}

td .form-label, th .form-label {
    margin-bottom: 0;
}

.table {
    --bs-table-hover-bg: #1f6db320;
    --bs-table-striped-bg: #f1f2f480;
}



@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


@keyframes append-animate {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.hide-block {
    transition: opacity 1s ease-out;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

* {
    scroll-behavior: smooth;
}

.animate {
    animation: append-animate .4s linear;
}

body {
    overflow: overlay;
}

    body.modal-open {
        overflow-y: hidden;
    }

::-webkit-scrollbar {
    width: 7px;
    height: 7px;
    overflow: scroll;
    overflow-x: hidden;
    overflow-y: overlay;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0);
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.4);
    border-radius: 1rem;
}


::-webkit-scrollbar-track-piece:start {
    background: transparent;
}

::-webkit-scrollbar-track-piece:end {
    background: transparent;
}

a {
    cursor: pointer;
}


.underline {
    text-decoration: underline;
    text-decoration-color: #ced4da;
}


table > thead > tr > th input.form-control {
    padding: 0.25rem 0.5rem !important;
    margin-top: -0.5rem;
    background-color: #ffffffda;
}

table > thead > tr > th .b-numeric-handler-wrap {
    display: none !important;
}


table > thead > tr > th select.form-select {
    padding: 0.25rem 2.25rem 0.25rem 0.5rem !important;
    margin-top: -0.5rem;
    background-color: #ffffffda;
}


.dropdown-menu {
    display: block;
    position: relative;
    margin-top: 0.1rem;
    height: 0;
    overflow: auto;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    width: 100%;
    padding: 0;
    margin: 0;
    pointer-events: none;
}

    .dropdown-menu.show {
        display: block;
        position: relative;
        margin-top: 0.1rem;
        max-height: 10rem;
        height: 13rem;
        overflow: auto;
        opacity: 1;
        transition: opacity 0.3s ease-in-out, height 0.3s ease-in-out, opacity 0.3s ease-in-out;
        width: 100%;
        animation: dropdown-menu-show-events 0.3s;
        pointer-events: all;
    }

@keyframes dropdown-menu-show-events {
    0% {
        pointer-events: none;
    }

    99% {
        pointer-events: none;
    }

    100% {
        pointer-events: all;
    }
}

.dropdown-item {
    width: 100%;
    word-wrap: break-word;
    white-space: normal;
}



.selector-grid * {
    margin: 0 !important;
    padding: 0.1rem !important;
    padding-bottom: 0;
    text-align: left !important;
    vertical-align: top !important;
}

.selector-grid .table thead th {
    background-color: white;
    color: #212529;
    font-weight: 400;
}

.selector-grid {
    border-radius: 0.3rem !important;
    border-color: #ced4da !important;
    border-width: 1px !important;
    overflow: hidden;
    background: white;
}

.selector-grid {
    border-radius: 0.3rem !important;
    border-color: #ced4da !important;
    border-width: 1px !important;
    overflow: hidden;
    background: white;
}


.form-group {
    margin-bottom: 1.7rem;
}

.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

.text-multiline {
    white-space: pre-wrap;
}


main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content-container {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding-left: 1rem;
    padding-right: 1rem;
}

.sidebar {
    background: white;
}

.nav-top {
    padding-left: 1rem;
    padding-right: 1rem;
}


@media (max-width: 799px) {

    .sidebar {
        background-color: var(--bs-primary);
    }
}



@media (min-width: 800px) {
    .page {
        flex-direction: row;
    }

    .sidebar {
        width: 13rem;
        height: 100vh;
        position: sticky;
        margin: 0;
        top: 0;
    }

    main {
        max-width: calc(100% - 13rem)
    }

    .top-row {
        position: sticky;
        top: 0;
        z-index: 1;
        background: var(--bs-primary);
    }

    .top-row {
        padding-right: 1rem !important;
    }
}

@media (min-width: 1650px) {

    .content-container {
        margin-left: auto;
        margin-right: auto;
        width: 1400px;
    }
}

/*@media (max-width: 1500px) {


    .content-container {
        margin-left: auto;
        margin-right: auto;
        width: none;
    }
}*/


.header {
    background: white;
    /* position: sticky;*/
    top: 0;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

table th, .table td {
    padding: 0.3rem;
    vertical-align: middle;
    /*text-align: center;*/
    border-bottom-width: 1px;
}

.table thead th {
    vertical-align: middle;
    border-bottom: none;
    background-color: var(--bs-primary);
    border-width: 0;
    color: white;
    font-weight: 500;
}



tr td:first-child {
    padding-left: 1.3rem;
}

tr th:first-child {
    padding-left: 1.3rem;
}

tr td:last-child {
    padding-right: 1.3rem;
}

tr th:last-child {
    padding-right: 1.3rem;
}

table.table-bordered td {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}


.page-content {
    flex: 1;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
}

#outer {
    overflow: hidden;
}

#inner {
    -moz-border-radius: 10px 10px 0 0;
}

th {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 2;
}

p {
    margin-bottom: 0.2rem;
}


.modal-backdrop {
    background-color: #787878;
}



.btn-no-border {
    border-color: transparent;
}

.table th {
    vertical-align: center !important;
    /*text-align: center;*/
    padding-right: 0.15rem;
    padding-left: 0.15rem;
}

.tr-red {
    background-color: #f8d7da;
}




.modal-padding {
    padding-right: 2.5rem;
    padding-left: 2.5rem;
    scroll-behavior: smooth;
}



@media (max-width: 699px) {
    .modal-padding {
        padding-right: 1rem;
        padding-left: 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."
    }



.tree-recursive ol {
    margin-left: 0;
    position: relative;
    list-style-type: none;
    counter-reset: item;
}

    .tree-recursive li, .tree-recursive ol > li {
        margin: 0;
        padding: 0;
        border-width: 0;
        display: inline;
    }

    .tree-recursive ol > li {
        counter-increment: item;
        display: inline;
    }

        .tree-recursive ol > li > .tree-recursive-itemheader:before {
            content: counters(item, '.');
            font-weight: 500;
            color: #00000085;
            display: inline-flex;
            margin-right: 1rem;
        }

.tree-recursive-itemheader {
    padding: 0.3rem 1rem;
    border-radius: 0.25rem;
    display: flex;
    width: 100%;
    min-height: 2rem;
}

    .tree-recursive-itemheader:hover {
        background-color: #1f6db320;
    }

    .tree-recursive-itemheader button {
        border-width: 0;
    }

.accordion-button:not(.collapsed) {
    color: var(--bs-primary);
}

.accordion-button {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

.ql-toolbar.ql-snow {
    border-radius: 0.25rem !important;
    font-family: inherit !important;
    padding: 0 0.5rem !important;
    margin-bottom: -1px;
}

.ql-container {
    font-size: 1rem !important;
    line-height: 1.08;
    font-family: 'Open Sans', sans-serif;
}

    .ql-container.ql-snow {
        border-radius: 0.25rem;
    }

td .ql-bubble .ql-editor {
    padding: 0 0 !important;
}

.ql-editor {
    padding: 0.375rem 0.75rem !important;
}


.ql-bubble .ql-toolbar .ql-formats {
    margin: 0.05rem !important;
    width: 116px;
}


@keyframes blinking-wrong {
    50% {
        background: #ff000070;
        color: red !important;
    }
}

.wrong-input {
    animation: blinking-wrong 0.3s infinite;
}

.cut-text {
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
}

.shadow-primary {
    box-shadow: 0 0.2rem 1rem rgba(56, 134, 202, 0.90) !important;
}


#cookie-note {
    display: none;
    position: fixed;
    width: 100%;
    bottom: 2rem;
    padding: 1.5rem;
    margin: 0 auto;
    z-index: 5000;
}

    #cookie-note .cookie-msg {
        margin: 0 auto;
        max-width: 46rem;
        border: 1px solid var(--bs-border-color);
        background: white;
        padding: 1rem 1.5rem;
        box-shadow: var(--bs-box-shadow-lg);
    }

    .fs-7 {
        font-size: 0.875rem;
    }