.layout-sidebar-large .main-header .logo img{
    width:auto;
    height:auto;
}
.ui-datepicker {
    display: none;
    padding: .2em .2em 0;
    width: 17em;
}

.ui-datepicker .ui-datepicker-header {
    padding: .2em 0;
    position: relative;
}

.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
    height: 1.8em;
    position: absolute;
    top: 2px;
    width: 3.8em;
    cursor: pointer;
}

.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }

.ui-datepicker .ui-datepicker-prev { left: 2px; }

.ui-datepicker .ui-datepicker-next { right: 2px; }

.ui-datepicker .ui-datepicker-prev-hover { left: 1px; }

.ui-datepicker .ui-datepicker-next-hover { right: 1px; }

.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span {
    display: block;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    position: absolute;
    top: 50%;
}

.ui-datepicker .ui-datepicker-title {
    line-height: 1.8em;
    margin: 0 2.3em;
    text-align: center;
}

.ui-datepicker .ui-datepicker-title select {
    font-size: 1em;
    margin: 1px 0;
}

.ui-datepicker select.ui-datepicker-month-year { width: 100%; }

.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year { width: 49%; }

.ui-datepicker table {
    border-collapse: collapse;
    font-size: .9em;
    margin: 0 0 .4em;
    width: 100%;
}

.ui-datepicker th {
    border: 0;
    font-weight: bold;
    padding: .7em .3em;
    text-align: center;
}

.ui-datepicker td {
    border: 0;
    padding: 1px;
}

.ui-datepicker td span, .ui-datepicker td a {
    display: block;
    padding: .2em;
    text-align: right;
    text-decoration: none;
}

.ui-datepicker .ui-datepicker-buttonpane {
    background-image: none;
    border-bottom: 0;
    border-left: 0;
    border-right: 0;
    margin: .7em 0 0 0;
    padding: 0 .2em;
}

.ui-datepicker .ui-datepicker-buttonpane button {
    cursor: pointer;
    float: right;
    margin: .5em .2em .4em;
    overflow: visible;
    padding: .2em .6em .3em .6em;
    width: auto;
}

.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float: left; }

/* with multiple calendars */

.ui-datepicker.ui-datepicker-multi { width: auto; }

.ui-datepicker-multi .ui-datepicker-group { float: left; }

.ui-datepicker-multi .ui-datepicker-group table {
    margin: 0 auto .4em;
    width: 95%;
}

.ui-datepicker-multi-2 .ui-datepicker-group { width: 50%; }

.ui-datepicker-multi-3 .ui-datepicker-group { width: 33.3%; }

.ui-datepicker-multi-4 .ui-datepicker-group { width: 25%; }

.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width: 0; }

.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width: 0; }

.ui-datepicker-multi .ui-datepicker-buttonpane { clear: left; }

.ui-datepicker-row-break {
    clear: both;
    font-size: 0em;
    width: 100%;
}

/* RTL support */

.ui-datepicker-rtl { direction: rtl; }

.ui-datepicker-rtl .ui-datepicker-prev {
    left: auto;
    right: 2px;
}

.ui-datepicker-rtl .ui-datepicker-next {
    left: 2px;
    right: auto;
}

.ui-datepicker-rtl .ui-datepicker-prev:hover {
    left: auto;
    right: 1px;
}

.ui-datepicker-rtl .ui-datepicker-next:hover {
    left: 1px;
    right: auto;
}

.ui-datepicker-rtl .ui-datepicker-buttonpane { clear: right; }

.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }

.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float: right; }

.ui-datepicker-rtl .ui-datepicker-group { float: right; }

.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header {
    border-left-width: 1px;
    border-right-width: 0;
}

.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
    border-left-width: 1px;
    border-right-width: 0;
}

/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */

.ui-datepicker-cover {
    filter: mask(); /*must have*/
    height: 200px; /*must have*/
    left: -4px; /*must have*/
    position: absolute; /*must have*/
    top: -4px; /*must have*/
    width: 200px; /*must have*/
    z-index: -1; /*must have*/
}
.ui-datepicker{
    background: #fff;
    border: 1px solid #663399;
}
.ui-datepicker-header{
    background: #663399;
    color: #fff;
}
caption {
    caption-side: top;
}
.input-group-addon{
    padding-right: 25px;
}


.pie {
    --p:20;      /* the percentage */
    --b:7px;    /* the thickness */
    --c:darkred; /* the color */
    --w:50px;   /* the size*/

    width:var(--w);
    aspect-ratio:1/1;
    position:relative;
    display:inline-grid;
    margin:5px;
    place-content:center;
    font-size:12px;
    font-weight:bold;
    font-family:sans-serif;
}
.pie:before,
.pie:after {
    content:"";
    position:absolute;
    border-radius:50%;
}
.pie:before {
    inset:0;
    background:
        radial-gradient(farthest-side,var(--c) 98%,#0000) top/var(--b) var(--b) no-repeat,
        conic-gradient(var(--c) calc(var(--p)*1%),#0000 0);
    -webkit-mask:radial-gradient(farthest-side,#0000 calc(99% - var(--b)),#000 calc(100% - var(--b)));
    mask:radial-gradient(farthest-side,#0000 calc(99% - var(--b)),#000 calc(100% - var(--b)));
}
.pie:after {
    inset:calc(50% - var(--b)/2);
    background:var(--c);
    transform:rotate(calc(var(--p)*3.6deg - 90deg)) translate(calc(var(--w)/2 - 50%));
}
.animate {
    animation:p 1s .5s both;
}
.no-round:before {
    background-size:0 0,auto;
}
.no-round:after {
    content:none;
}
@keyframes p{
    from{--p:0;}
}

.loading {
    position: fixed;
    left: auto;
    top: 50vh;
    z-index: 9999;
    opacity: 0.9;

}
label .required {
    color:#ff0000;
}
.sidebar-left-secondary .childNav li.nav-item a {    
    padding: 8px 12px !important;
}


@media (min-width: 576px) {
    .layout-sidebar-large .sidebar-left-secondary.open {
        width: 300px;
    }
}
@media (min-width: 720px) {
    .list-inline > li {
        padding-right: 30px;
    }
}
.modal-open .modal {
    opacity: 1;
}
.checkbox, .radio {
    display: inline;
    margin-right: 20px;
}
#btnDiv{
    margin-top: 10px;
}
.error-summary{
    color:red;
}
.panel {
    margin-bottom: 2px;
}
.separator-breadcrumb {
    margin-bottom: 0.5rem;
}
.modal-header {
    justify-content: start;
}
.glyphicon{
    font-size:14px;
    font-weight: 500;
}
hr {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}
.searchDiv{
    display: flex;
    align-items: center;
    justify-content: left;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 20px;
    position: relative;
    width: 230px;
    height: 35px;
}
.searchText{
    background: transparent;
    border: 0;
    color: #212121;
    font-size: .8rem;
    line-height: 2;
    height: 100%;
    outline: initial !important;
    padding: 0.5rem 1rem;
    width: calc(100% - 32px);
}
.table > caption + thead > tr:first-child > th, .table > colgroup + thead > tr:first-child > th, .table > thead:first-child > tr:first-child > th, .table > caption + thead > tr:first-child > td, .table > colgroup + thead > tr:first-child > td, .table > thead:first-child > tr:first-child > td {
    border: 1px solid #ddd;
}
.dark-theme .table > caption + thead > tr:first-child > th,.dark-theme .table > colgroup + thead > tr:first-child > th,.dark-theme .table > thead:first-child > tr:first-child > th,.dark-theme .table > caption + thead > tr:first-child > td,.dark-theme .table > colgroup + thead > tr:first-child > td,.dark-theme .table > thead:first-child > tr:first-child > td {
    border: 1px solid #262c49;
}
.kv-table-header {
    background: unset;
}
.fade:not(.show) {
    opacity: 90; 
}
.modal-backdrop.fade {
    opacity: 0.5 !important;
}
td .select2-container--krajee-bs3 .select2-selection--single .select2-selection__clear
{
    color:red;
    right: unset;
    left:3px;
}
.datepicker-dropdown
{
    z-index:1051 !important;
}

@media (max-width: 576px) {
    .main-header{        
        flex-direction: column;
        margin-bottom: 2px;
        margin-top: 2px;
    }
}
.login-eye {
    background-image: url(/imgs/icon-preview.svg);
    background-repeat: no-repeat;
    height: 20px;
    width: 20px;
    right: 5px;
    position: absolute;
    margin-top: 33px;
    z-index: 10;
    cursor: pointer;
}
text {
    direction: ltr;
}
.mainlogo {
    -webkit-filter: drop-shadow(1px 1px 2px rgba(255, 255, 255, 1));
     filter: drop-shadow(1px 1px 1px rgba(255, 255, 255, 1));
}
.dark-theme p, .dark-theme .ul-widget-card__info-v2{
    color:#f2f1f4;
}
.dark-theme .bg-grey {
     background: #262c49;
}
.dark-theme .select2-container--krajee-bs3 .select2-search--dropdown .select2-search__field {
    color:#f2f1f4;
}
.dark-theme .form-control:focus{
    color:#f2f1f4;
}