@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html {
    font-size: 14px;
    height: -webkit-fill-available;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

#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."
    }

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    height: -webkit-fill-available;
}

body {
    min-height: 100vh;
    min-height: -webkit-fill-available;
}

main {
    height: 100vh;
    height: -webkit-fill-available;
    max-height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
}

.dropdown-toggle {
    outline: 0;
}

.btn-toggle, .btn-nontoggle {
    padding: .25rem .5rem;
    font-weight: 600;
    color: var(--bs-emphasis-color);
    background-color: transparent;
}

    .btn-toggle:hover,
    .btn-toggle:focus {
        color: rgba(var(--bs-emphasis-color-rgb), .85);
        background-color: var(--bs-tertiary-bg);
    }

    .btn-toggle::after {
        width: 1.25em;
        line-height: 0;
        content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
        transition: transform .35s ease;
        transform-origin: .5em 50%;
        float: right;
    }

[data-bs-theme="dark"] .btn-toggle::after {
    content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%28255,255,255,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
}

.btn-toggle[aria-expanded="true"] {
    color: rgba(var(--bs-emphasis-color-rgb), .85);
}

    .btn-toggle[aria-expanded="true"]::after {
        transform: rotate(90deg);
    }

.btn-toggle-nav a {
    padding: .1875rem .5rem;
    margin-top: .125rem;
    margin-left: 1.25rem;
}

    .btn-toggle-nav a:hover,
    .btn-toggle-nav a:focus {
        background-color: var(--bs-tertiary-bg);
    }

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.bi {
    vertical-align: -.125em;
    /*fill: currentColor;*/
}

.btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;
    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #5a23c8;
    --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
    z-index: 1500;
}

div.dt-row {
    margin-top: 12px !important;
    margin-bottom: 12px !important;
}

div.dataTables_filter input {
    width: 30vw !important;
}

.col-width-5 {
    width: 5% !important
}

.col-width-10 {
    width: 10% !important
}

.col-width-15 {
    width: 15% !important
}

.col-width-20 {
    width: 20% !important
}

.col-width-25 {
    width: 25% !important
}

.col-width-30 {
    width: 30% !important
}

.col-width-35 {
    width: 35% !important
}

.col-width-40 {
    width: 40% !important
}

.col-width-45 {
    width: 45% !important
}

.col-width-50 {
    width: 50% !important
}

.col-width-55 {
    width: 55% !important
}

.col-width-60 {
    width: 60% !important
}

.col-width-65 {
    width: 65% !important
}

.col-width-70 {
    width: 70% !important
}

.col-width-75 {
    width: 75% !important
}

.col-width-80 {
    width: 80% !important
}

.col-width-85 {
    width: 85% !important
}

.col-width-90 {
    width: 90% !important
}

.col-width-95 {
    width: 95% !important
}

.col-width-100 {
    width: 100% !important
}

.bg-10-opacity {
    --bs-bg-opacity: 0.1 !important;
}

.bg-20-opacity {
    --bs-bg-opacity: 0.2 !important;
}

.bg-30-opacity {
    --bs-bg-opacity: 0.3 !important;
}

.bg-40-opacity {
    --bs-bg-opacity: 0.4 !important;
}

.bg-50-opacity {
    --bs-bg-opacity: 0.5 !important;
}

.bg-60-opacity {
    --bs-bg-opacity: 0.6 !important;
}

.bg-70-opacity {
    --bs-bg-opacity: 0.7 !important;
}

.bg-80-opacity {
    --bs-bg-opacity: 0.8 !important;
}

.bg-90-opacity {
    --bs-bg-opacity: 0.9 !important;
}

.v-tab[aria-selected="true"] {
    border-right: none !important;
    border-left: none !important;
    color: #2e2e2e !important;
    background: transparent !important;
}

.v-tab[aria-selected="false"] {
    border-left: none !important;
    border-bottom: none !important;
    border-top: none !important;
}

.active-list-btn {
    border-left: 7px solid #0d6efd !important;
}

.inactive-list-btn {
    border-left: 7px solid #ffffff !important;
}

/*Loading bar*/
@keyframes loader-animation {
    0% {
        width: 0%;
    }

    49% {
        width: 100%;
        left: 0%
    }

    50% {
        left: 100%;
        width: 0%
    }

    100% {
        left: 0%;
        width: 100%
    }
}

.bar_loader {
    height: 5px;
    width: 100%;
}

    .bar_loader .bar {
        position: relative;
        height: 3px;
        background-color: #0dcaf0;
        animation-name: loader-animation;
        animation-duration: 2s;
        animation-iteration-count: infinite;
        animation-timing-function: ease-in-out;
    }

.input-field1 {
    border: none;
    outline: none;
    padding: 5px;
    background-color: transparent;
    border-bottom: 1px solid #2d8020;
    width: 100%;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.SubmitBtn {
    background-color: #14a328;
    width: 100%;
    height: 45px;
}

.bg-january {
    background-color: #f5b7b1
}

.bg-february {
    background-color: #d2b4de
}

.bg-march {
    background-color: #aed6f1
}

.bg-april {
    background-color: #a2d9ce
}

.bg-may {
    background-color: #aeb6bf
}

.bg-june {
    background-color: #f9e79f
}

.bg-july {
    background-color: #edbb99
}

.bg-august {
    background-color: #f1948a
}

.bg-september {
    background-color: #bb8fce
}

.bg-october {
    background-color: #85c1e9
}

.bg-november {
    background-color: #52be80
}

.bg-december {
    background-color: #808b96
}

.clickable-text {
    cursor: pointer;
}

#itemsListContainer, #itemDetailSection {
    max-height: calc(100vh - 130px) !important;
    min-height: calc(100vh - 130px) !important;
}

.active-list-btn {
    border-left: 7px solid #0dcaf0 !important;
}

.inactive-list-btn {
    border-left: 7px solid #ffffff !important;
}
.inactive-list-btn:hover{
    border-left: 7px solid #f8f9fa !important;
}

.input-dialog{
    background-color: rgba(0,0,0,.5);
}

.day-1 {
    background: rgba(205, 97, 85, .5) !important;
}

.day-2 {
    background: rgba(175, 122, 197, .5) !important;
}

.day-3 {
    background: rgba(84, 153, 199, .5) !important;
}

.day-4 {
    background: rgba(72, 201, 176, .5) !important;
}

.day-5 {
    background: rgba(244, 208, 63, .5) !important;
}

.day-6 {
    background: rgba(220, 118, 51, .5) !important;
}

.day-7 {
    background: rgba(86, 101, 115, .5) !important;
}

.day-1-sibbling {
    background: rgba(205, 97, 85, .1) !important;
}

.day-2-sibbling {
    background: rgba(175, 122, 197, .1) !important;
}

.day-3-sibbling {
    background: rgba(84, 153, 199, .1) !important;
}

.day-4-sibbling {
    background: rgba(72, 201, 176, .1) !important;
}

.day-5-sibbling {
    background: rgba(244, 208, 63, .1) !important;
}

.day-6-sibbling {
    background: rgba(220, 118, 51, .1) !important;
}

.day-7-sibbling {
    background: rgba(86, 101, 115, .1) !important;
}

td[aria-expanded="false"]::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-plus' viewBox='0 0 16 16'%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3E%3C/svg%3E");
    cursor: pointer;
}

td[aria-expanded="true"]::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-dash' viewBox='0 0 16 16'%3E%3Cpath d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/%3E%3C/svg%3E");
    cursor: pointer;
}

.authentication-dialog {
    position: fixed;
    margin: auto;
    width: 80vw;
    min-width: 80vw;
    min-height: calc(100% - 55px);
    max-height: calc(100% - 55px);
    right: 0px;
    top: 55px
}

@media (min-width=1920px) {
    .authentication-dialog {
        width: 1400px;
        min-width: 1400px;
    }
}

@media (min-width=1400px){
    .parent-dailog {
        width: 1400px !important;
        min-width: 1400px !important;
        height: 80vh;
    }
}

button.form-select {
    max-height: 38px !important;
}