html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.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;
}



h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.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."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}
/*----------------------------------------------------------------------------*/
.dir-left {
    direction: ltr !important; 
}
.dir-left-unicode {
    direction: ltr !important;
    unicode-bidi: bidi-override;
}
.modal-content-center {
    left: 25% !important;
    right: 25% !important;
    width: 50% !important; 
}
.required:after {
    content: "\002A";
    margin-right: .3rem;
    --bs-text-opacity: 1;
    color: rgba(var(--bs-danger-rgb),var(--bs-text-opacity)) !important
}

.w-30 {
    width: 30% !important
}

@media (min-width: 641px) {
    .modal-dialog {
        max-width: 100%;
        margin: 1.75rem 2rem auto;
    }
}
/*----------------*/

.my-reconnect-modal > div {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    overflow: hidden;
    background-color: #fff;
    opacity: 0.8;
    text-align: center;
    font-weight: bold;
}

.components-reconnect-hide > div {
    display: none;
}

.components-reconnect-show > div {
    display: none;
}

.components-reconnect-show > .show {
    display: block;
}

.components-reconnect-failed > div {
    display: none;
}

.components-reconnect-failed > .failed {
    display: block;
}

.components-reconnect-rejected > div {
    display: none;
}

.components-reconnect-rejected > .rejected {
    display: block;
}

/*----------------*/
.lbl-loading {
    position: absolute;
    z-index: 2000;
    top: 40%;
    right: 40%;
    color: #fff;
    background-color: #1b6ec2;
    padding: 1rem;
    border-radius: .5rem;
    border: .1rem solid #1b6ec2;
}

.min-h-3 {
    min-height: 3rem !important;
}

.min-h-2 {
    min-height: 2rem !important;
}

.max-h-1 {
    min-height: 1rem !important;
}
.max-h-2 {
    min-height: 2rem !important;
}

.max-h-3 {
    min-height: 3rem !important;
}

.cursor-pointer {
    cursor: pointer;
}

.min-w-10-rem {
    min-width: 10rem;
}

.min-w-5-rem {
    min-width: 5rem;
}

.img-35 {
    height: 40rem;
    width: 100%;
    padding: 1rem 1rem 1rem 1rem;
    border-radius: 2rem;
}

.img-preview {
    margin: 1rem;
    max-width: 90%;
    max-height: 30rem;
    overflow: hidden;
    overflow-y: scroll;
    text-align: center;
}

    .img-preview img {
        border-radius: 1rem;
        border: solid .1rem #ced4da;
        max-width: 80%;
        max-height: 60rem;
    }

    .img-preview i { 
        float: inline-end;
        padding : 1rem;
        cursor: pointer;
    }
    

.username-box {
    border: solid .1rem #ced4da;
    margin: 1rem 1rem 1rem 1rem;
    padding: .5rem .5rem .5rem .5rem;
    width: 90%;
    border-radius: .5rem;
    bottom: -1rem !important;
    background-color: #fff;
    position: fixed !important;
}
/*----------------*/
.float-menu {
    position: absolute;
    top: .3rem;
    left: .5rem;
    cursor: pointer;
    z-index: 2000;
}
    .float-menu:focus-within .float-menu-sub {
        display: block;
    }
.float-menu-sub {
    position: absolute;
    top: .3rem;
    left: .5rem;
    z-index: 2000;
    background-color: #fff;
    border: solid .1rem #ced4da;
    border-radius: .3rem; 
    display: none;
    min-height: 2rem;
    min-width: 15rem;
}
/*----------------*/

.autocomplete-inputhide {
    width: 0rem;
    height: 0rem;
    border: none;
    position: absolute;
    z-index: -1;
}

.autocomplete-box:focus-within .autocomplete-panel {
    display: block;
}

.autocomplete-icon {
    position: absolute;
}

.autocomplete-panel {
    position: absolute;
    z-index: 2000;
    display:list-item;
    background-color: #fff;
    border: solid .1rem #ced4da;
    border-radius: .3rem;
    width: inherit;
    display: none;
    min-height: 2rem;
    min-width: 15rem;
}

    .autocomplete-panel .autocomplete-search {
        padding: .5rem .5rem 0 1.5rem;
        width: inherit;
        z-index: 0;
        display: flex;
    }


    .autocomplete-panel .autocomplete-list {
        padding: .2rem .5rem 0 0;
        cursor: pointer;
        max-height: 10rem;
        overflow: hidden;
        overflow-y: scroll;
    }

.autocomplete-lbl {
    background-color: #fff !important;
}

.autocomplete-item {
    padding: .2rem .5rem 0 0;
    border: none;
    width: 100%;
    cursor: pointer;
    outline: none;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    height: 2.5rem;
    border-radius: .3rem;
}

    .autocomplete-item:hover {
        background-color: #ced4da;
    }

/*----------------*/

/* when focus to input visible lable by read color*/
.alert-lbl {
    display: none;
}

.text-bold {
    font-weight: bold;
}

.alert-box:focus-within .alert-lbl {
    color: red;
    display: block;
    transition: all .3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.box-danger {
    background-color: #f2ccd0;
    border-radius: .5rem;
    border: .1rem solid red;
    padding: 1rem 2rem 1rem 0;
    max-height: 10rem;
    overflow: auto;
}

.box-success {
    background-color: #c0ecd3;
    border-radius: .5rem;
    padding: 1rem 2rem 1rem 0;
    border: .1rem solid green;
}
/*----------------*/
.float-panel {
    position: absolute;
    z-index: 1000;
    top: 20%;
    right: 20%;
    width: 50%;
}

.float-panel-close {
    position: absolute;
    top: .3rem;
    left: .5rem;
    cursor: pointer;
}
/*----------------*/
.shake {
    animation: shake 0.82s cubic-bezier(.36, .07, .19, .97) both infinite;
    transform: translate3d(0, 0, 0);
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    backface-visibility: hidden;
    perspective: 1000px;
    display: inline-block;
}

@keyframes shake {
    10%, 90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%, 80% {
        transform: translate3d(2px, 0, 0);
    }

    30%, 50%, 70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%, 60% {
        transform: translate3d(4px, 0, 0);
    }
}

.slideRight {
    animation-name: slideRight;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    visibility: visible !important;
    /* New code here: */
    animation-delay: 1s;
    display: inline-block;
}

@keyframes slideRight {
    0% {
        transform: translateX(-30%);
    }

    100% {
        transform: translateX(0%);
    }
}
/*----------------*/

/*----------------*/
