﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('awesome/css/all.min.css');

select option.addnew {
    color: green;
    font-weight: bold;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.cls-link {
    color: #0071c1;
    cursor: pointer;
}

.cls-link:hover {
    color: #0a58ca;
}

.btn-tiny {
    padding: 0 .25rem;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.form-control:focus, .form-check-input:focus, .form-select:focus,
.form-control:hover, .form-check-input:hover, .form-select:hover {
    box-shadow: 0 0 0 0.05rem #258cfb;
    border-color: #258cfb;
}

.form-control.disabled {
    background-color: #e9ecef;
}

.form-control-tiny {
    min-height: calc(0.1rem + .5rem + 2px);
    padding: 0.1rem .5rem;
    font-size: .875rem;
    border-radius: .2rem;
}

.btn-group .btn:focus, .accordion-button:focus, .btn-tiny:focus {
    box-shadow: none;
}

.btn-top-list {
    margin-top: 27px;
}

.lbl-top-list {
    margin-top: 47px;
    margin-bottom: -5px;
}

.content {
    padding-top: 0.5rem;
}

.comment {
    color: #90949c;
    font-size: .875rem;
    font-style: italic;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
    margin-top: 0.5rem;
}

#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: 100;
}

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

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

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

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*#region aria */

.aria-login {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    min-height: 687px;
    height: 100vh;
    background: url(../images/bg_login.jpg) no-repeat center !important;
    background-size: cover !important;
}

.aria-register {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    min-height: 687px;
    height: 100vh;
    /*background: url(../images/bg_register.jpg) no-repeat center !important;
    background-size: 100% 100% !important;*/
    background-color: darkslategrey;
}

.aria-popup {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: -10%;
    height: 100vh;
}

.content-aria {
    max-height: calc(100vh - 225px);
    overflow-y: auto;
    margin-left: 0;
    margin-right: 0;
}

.view-aria {
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    margin-left: 0;
    margin-right: 0;
}

.view-aria-large {
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    margin-left: 0;
    margin-right: 0;
}

.tree-aria {
    width: 100%;
    height: calc(100vh - 160px);
    overflow: auto;
    margin: 0;
    /*padding: 10px 5px;*/
}

.tree-aria-large {
    width: 100%;
    height: calc(100vh - 118px);
    overflow: auto;
    margin: 0;
    /*padding: 10px 5px;*/
}

.tree-aria-2 {
    width: 100%;
    height: calc(100vh - 192px);
    overflow: auto;
    margin: 0;
    /*padding: 10px 5px;*/
}

.tree-aria-large-2 {
    width: 100%;
    height: calc(100vh - 140px);
    overflow: auto;
    margin: 0;
    /*padding: 10px 5px;*/
}

.tree-aria-card {
    width: 100%;
    height: calc(100vh - 247px);
    overflow: auto;
    margin: 0;
    /*padding: 10px 5px;*/
}

.tree-aria-card-large {
    width: 100%;
    height: calc(100vh - 195px);
    overflow: auto;
    margin: 0;
    /*padding: 10px 5px;*/
}

.tree-aria-card-2 {
    width: 100%;
    height: calc(100vh - 215px);
    overflow: auto;
    margin: 0;
    /*padding: 10px 5px;*/
}

.tree-aria-card-large-2 {
    width: 100%;
    height: calc(100vh - 163px);
    overflow: auto;
    margin: 0;
    /*padding: 10px 5px;*/
}

.tree-aria-card-noheader {
    width: 100%;
    height: calc(100vh - 178px);
    overflow: auto;
    margin: 0;
    /*padding: 10px 5px;*/
}

.tree-aria-card-noheader-large {
    width: 100%;
    height: calc(100vh - 126px);
    overflow: auto;
    margin: 0;
    /*padding: 10px 5px;*/
}

.tree-aria-modal {
    width: 100%;
    height: calc(100vh - 180px);
    overflow: auto;
    margin: 0;
    /*padding: 10px 5px;*/
}

.tree-aria-modal-2 {
    width: 100%;
    height: calc(100vh - 250px);
    overflow: auto;
    margin: 0;
    /*padding: 10px 5px;*/
}

.tree-aria-bill {
    width: 100%;
    height: calc(100vh - 179px);
    overflow: auto;
    margin: 0;
    /*padding: 10px 5px;*/
}

.recent-area {
    overflow-y: auto;
    height: calc(100vh - 178px);
}

    /* Chrome, Edge, Safari */
    .recent-area::-webkit-scrollbar {
        width: auto;
    }

    .recent-area::-webkit-scrollbar-track {
        background-color: gray;
    }

    .recent-area::-webkit-scrollbar-thumb {
        background-color: dimgray;
        border-radius: 2px;
        /*border: 2px solid #f1f1f1;*/
    }

/*#endregion */

/*#region table */

thead {
    background: white;
    position: sticky;
    top: 0;
    z-index: 0;
}

.table-header {
    border-bottom: 1px solid;
    padding: 0.5rem 0.5rem;
}

.table-aria {
    max-height: calc(100vh - 277px);
    padding: 0;
}

.table-aria-large {
    max-height: calc(100vh - 227px);
    padding: 0;
}

.table-aria-card {
    max-height: calc(100vh - 305px);
    padding: 0;
}

.table-aria-card-large {
    max-height: calc(100vh - 255px);
    padding: 0;
}

.table-aria-card-noheader {
    max-height: calc(100vh - 268px);
    padding: 0;
}

.table-aria-card-noheader-large {
    max-height: calc(100vh - 218px);
    padding: 0;
}

.table-aria2 {
    max-height: calc(100vh - 364px);
    padding: 0;
}

.table-aria2-large {
    max-height: calc(100vh - 320px);
    padding: 0;
}

.table-aria-his {
    max-height: calc(100vh - 253px);
    padding: 0;
}

.table-aria-modal {
    max-height: calc(100vh - 312px);
    padding: 0;
}

.table-aria-bill {
    height: calc(100vh - 455px);
}

.table-aria-bill2 {
    height: calc(100vh - 375px);
}

.table-aria thead tr th, .table-aria-large thead tr th,
.table-aria-card thead tr th, .table-aria-card-large thead tr th,
.table-aria2 thead tr th, .table-aria2-large thead tr th,
.table-aria-card-noheader thead tr th, .table-aria-card-noheader-large thead tr th,
.table-aria-his thead tr th, .table-aria-modal thead tr th {
    padding: 0 !important;
}

.table-main {
    margin: 0 -0.8rem;
}

.table-aria .table > :not(caption) > tr,
.table-aria-large .table > :not(caption) > tr,
.table-aria-card .table > :not(caption) > tr,
.table-aria-card-large .table > :not(caption) > tr,
.table-aria2 .table > :not(caption) > tr,
.table-aria2-large .table > :not(caption) > tr,
.table-aria-card-noheader .table > :not(caption) > tr,
.table-aria-card-noheader-large .table > :not(caption) > tr,
.table-aria-his .table > :not(caption) > tr,
.table-aria-modal .table > :not(caption) > tr,
.table-aria-bill .table > :not(caption) > tr,
.table-aria-bill2 .table > :not(caption) > tr {
    height: 40px;
}

.table > :not(caption) > * > td {
    padding: .2rem .5rem;
    align-content: center !important;
}

.table-small > :not(caption) > * > * {
    padding-top: 0;
    padding-bottom: 0;
}

.table-input tr {
    height: 40px;
}
/*#endregion */

/*#region cursor */

.cursor-auto {
    cursor: auto !important;
}

.cursor-pointer {
    cursor: pointer !important;
}

.cursor-default {
    cursor: default !important;
}

.cursor-context-menu {
    cursor: context-menu !important;
}

.cursor-copy {
    cursor: copy !important;
}

.cursor-move {
    cursor: move !important;
}

.cursor-help {
    cursor: help !important;
}

.cursor-none {
    cursor: none !important;
}

.cursor-no-drop {
    cursor: no-drop !important;
}

.cursor-not-allowed {
    cursor: not-allowed !important;
}

.cursor-progress {
    cursor: progress !important;
}

.cursor-text {
    cursor: text !important;
}

.cursor-url {
    cursor: url(myBall.cur),auto !important;
}

.cursor-wait {
    cursor: wait !important;
}

.cursor-zoom-in {
    cursor: zoom-in !important;
}

.cursor-zoom-out {
    cursor: zoom-out !important;
}

/*#endregion */

/*#region media */

@media (min-width: 1281px) {
    .popup-register {
        width: 70%;
    }
}

@media only screen and (min-width: 641px) and (max-width: 1280px) {
    .popup-register {
        width: 85%;
    }
}

@media (max-width: 640px) {
    .popup-register {
        width: 100%;
    }
}

/*#endregion */

/*#region size */

.w-30 {
    width: 30% !important;
}

.w-35 {
    width: 35% !important;
}

.w-150 {
    width: 150% !important;
}

.w-40px {
    width: 40px !important;
}

.w-50px {
    width: 50px !important;
}

.w-100px {
    width: 100px !important;
}

.w-120px {
    width: 120px !important;
}

.w-150px {
    width: 150px !important;
}

.w-200px {
    width: 200px !important;
}

.w-260px {
    width: 260px !important;
}

.w-300px {
    width: 300px !important;
}

.w-400px {
    width: 400px !important;
}

.w-500px {
    width: 500px !important;
}

.w-600px {
    width: 600px !important;
}

.miw-0 {
    min-width: 0 !important;
}

.miw-90px {
    min-width: 90px !important;
}

.miw-100px {
    min-width: 100px !important;
}

.maw-200px {
    max-width: 200px !important;
}

.maw-300px {
    max-width: 300px !important;
}

.maw-500px {
    max-width: 500px !important;
}

.h-50px {
    height: 50px !important;
}

.h-100px {
    height: 100px !important;
}

/*#endregion */

/*#region image */

.avatar {
    vertical-align: middle;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #D3D8DE;
}

.avatar-large {
    vertical-align: middle;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 1px solid #D3D8DE;
}

.img-avatar {
    vertical-align: middle;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #D3D8DE;
    --bs-gutter-x: 0;
}

.image-24-24 {
    vertical-align: middle;
    max-width: 24px;
    max-height: 24px;
}

.image-32-24 {
    vertical-align: middle;
    max-width: 32px;
    max-height: 24px;
}

.image-32-32 {
    vertical-align: middle;
    max-width: 32px;
    max-height: 32px;
}

.image-40-48 {
    vertical-align: middle;
    width: 40px;
    height: 48px;
}

.image-250-300 {
    vertical-align: middle;
    width: 250px;
    height: 300px;
}

.image-512-512 {
    vertical-align: middle;
    width: 512px;
    height: 512px;
}

/*#endregion */

/*#region page view */

.accordion-body-0 {
    padding: 0;
    margin: 0;
}

.column-title {
    width: 200px;
    background-color: ghostwhite;
    padding: .35rem .75rem;
    vertical-align: top;
    border-bottom: 1px solid #D3D8DE;
    border-right: 1px solid #D3D8DE;
}

.column-content {
    width: 30%;
    padding: .35rem .75rem;
    border-bottom: 1px solid #D3D8DE;
    border-right: 1px solid #D3D8DE;
}

.column-content-end {
    padding: .35rem .75rem;
    border-bottom: 1px solid #D3D8DE;
}

.row-end .column-title,
.row-end .column-content,
.row-end .column-content-end {
    border-bottom: none;
}

/*#endregion */

/*#region modal */

.modal {
    z-index: 98;
}

.modal-high {
    z-index: 99;
}

.modal-header {
    padding: 0.5rem 0.75rem;
}

.modal-footer {
    padding: 0.5rem 0.75rem;
}

.modal-footer .btn {
    min-width: 70px;
}

.modal-content-75 {
    width: 75%;
    transform: translateX(15%)
}

.modal-content-150 {
    width: 150%;
    transform: translateX(-17%)
}

.modal-content-200 {
    width: 200%;
    transform: translateX(-25%)
}

.modal-content-250 {
    width: 250%;
    transform: translateX(-30.3%)
}

.modal-content-300 {
    width: 300%;
    transform: translateX(-33.4%)
}

.modal-maxheight {
    height: calc(100vh - 57px);
}

/*#endregion */

/*#region breadcrumb */

.breadcrumb {
    margin-bottom: 0.5rem;
}

    .breadcrumb a {
        text-decoration: none;
    }

/*#endregion */

/*#region format */

.col-0dot8 {
    flex: 0 0 auto;
    width: 6.67%
}

.col-1dot2 {
    flex: 0 0 auto;
    width: 10%
}

.col-1dot5 {
    flex: 0 0 auto;
    width: 12.5%
}

.col-2dot5 {
    flex: 0 0 auto;
    width: 20.83%
}

.col-3dot5 {
    flex: 0 0 auto;
    width: 29.15%
}

.col-3dot8 {
    flex: 0 0 auto;
    width: 31.7%
}

.col-9dot5 {
    flex: 0 0 auto;
    width: 79.16%
}

.required-field {
    color: rgba(220,53,69);
    font-weight: 900;
}

.bg_yellow {
    background-color: yellow !important;
}

.bg_grey {
    background-color: grey !important;
}

/*#endregion */

/*#region tab */

.underline-tab {
    background-color: transparent;
}

    .underline-tab .nav.nav-tabs {
        border-bottom: transparent;
    }

        .underline-tab .nav.nav-tabs .nav-item {
        }

        .underline-tab .nav.nav-tabs .nav-link {
            display: block;
            color: #1B3553;
            background-color: #fff;
            border-top-left-radius: 0;
            border-top-right-radius: 0;
        }

    .underline-tab .nav-tabs .nav-link:focus,
    .nav-tabs .nav-link:hover {
    }

    .underline-tab .nav-tabs .nav-link.active {
        background-color: #fff;
        border: none;
        border-bottom: 2px solid #0c5ab6 !important;
        color: #1B3553;
    }

    .underline-tab .tab-content {
        background-color: #fff;
        border-top: 1px solid #D3D8DE;
        margin-top: 1px;
    }

    .underline-tab ul li {
        height: 34px;
        text-align: center;
    }

/*#endregion */

/*#region radzen */

.rz-inputtext:focus,
.rz-inputtext:hover {
    box-shadow: 0 0 0 0.1rem #258cfb !important;
}

.rz-inputtext {
    border: none !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    height: auto !important;
}

.rz-calendar-header .rz-calendar-title .rz-dropdown {
    height: 40px !important;
    margin-top: 0 !important;
}

    .rz-calendar-header .rz-calendar-title .rz-dropdown .rz-inputtext {
        padding-top: 8px !important;
    }

.form-control-sm .rz-inputtext {
    padding: 0.1rem 0.5rem !important
}

.rz-dropdown {
    padding-block: 0 !important;
}

    .rz-dropdown:focus,
    .rz-dropdown:hover {
        border-color: #258cfb !important;
        box-shadow: 0 0 0 1px #258cfb !important;
    }

    .rz-dropdown .rz-inputtext:focus,
    .rz-dropdown .rz-inputtext:hover {
        box-shadow: none !important;
    }

    .rz-dropdown.form-select-sm {
        height: 31px;
    }

        .rz-dropdown.form-select-sm .rz-inputtext {
            padding-top: 4px !important;
            padding-bottom: 4px !important;
        }

.rz-dropdown-filter-container {
    padding: 0 !important;
}

    .rz-dropdown-filter-container .rz-inputtext:focus,
    .rz-dropdown-filter-container .rz-inputtext:hover {
        box-shadow: none !important;
    }

.rz-dropdown-item {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.rz-dropdown-trigger .rzi-chevron-down:before {
    content: none !important;
}

.rz-button {
    box-shadow: none !important;
}

.rz-card.rz-variant-outlined {
    border: none !important;
    padding: 0;
}

.rz-fieldset-legend {
    margin-bottom: 0 !important;
}
/*#endregion */

/*#region other */

.blazored-toast-message {
    white-space: pre-line;
}

.ellipsis {
    text-overflow: ellipsis; /* enables ellipsis */
    white-space: nowrap; /* keeps the text in a single line */
    overflow: hidden; /* keeps the element from overflowing its parent */
}

.block-ellipsis {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* start showing ellipsis when 3rd line is reached */
    white-space: pre-wrap; /* let the text wrap preserving spaces */
}

.form-check-label {
    cursor: pointer;
}

.column-check-all {
    width: 41px;
}

.dropdown-menu {
    min-width: 8rem;
}

.dropdown-menu2 {
    margin-top: 26px;
    margin-left: -10px;
}

.dropdown-menu-action {
    margin-top: 5px;
    margin-left: -50px;
}

.dropup-menu-2item {
    margin-top: -85px;
    margin-right: 89px;
}

.dropdown-item {
    cursor: pointer !important;
}

.show-password {
    position: absolute;
    margin: 9px 10px 0 0;
    z-index: 3;
}

.accordion-button {
    padding: 0.5rem 0.75rem;
    font-weight: 700;
}

    .accordion-button:not(.collapsed) {
        color: #212529;
        background-color: #f8f9fa;
    }

.nav-link {
    padding: .5rem .7rem;
}

.popup-register {
    min-height: 650px;
}

.badge {
    padding: 0.5em 0.65em;
}

.space-between {
    justify-content: space-between;
}

.right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.icon-arrow {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}

/*#endregion */