﻿@import url('open-iconic/css/open-iconic-bootstrap.min.css');
@import url('themes/devexpress/theme_overrides.css');
@import url('themes/syncfusion/theme_overrides.css');

html {
    min-height: 100%; /* Look, it's not fixed anymore! */
    display: flex;
    flex-direction: column;
}

body {
    flex-grow: 1;
}

.app-header {
    z-index: 2048 !important;
}

[data-nav-layout=horizontal] .app-header {
    z-index: 2049 !important;
}

[data-nav-layout=horizontal] .horizontal-logo {
    align-content: center;
}

.app-sidebar {
    z-index: 2048 !important;
}

.hover-animation {
}

.scroll-thin {
    scrollbar-width: thin;
}

.div-h-100 {
    height: 100px;
}

.div-h-200 {
    height: 200px;
}

.div-h-300 {
    height: 300px;
}

.div-h-400 {
    height: 400px;
}

.div-h-500 {
    height: 500px;
}

.div-h-510 {
    height: 510px;
}

.div-h-590 {
    height: 590px;
}

.div-h-600 {
    height: 600px;
}

.div-h-650 {
    height: 650px;
}

.div-h-700 {
    height: 700px;
}

.div-h-800 {
    height: 800px;
}

.div-w-200 {
    width: 200px;
}

.div-w-250 {
    width: 250px;
}

.div-w-300 {
    width: 300px;
}

.div-w-400 {
    width: 400px;
}

.div-width-16 {
    width: 1rem !important;
}

.div-width-18 {
    width: 1.125rem !important;
}

.div-width-20 {
    width: 1.25rem !important;
}

.div-width-22 {
    width: 1.375rem !important;
}

.div-width-24 {
    width: 1.5rem !important;
}

.div-width-26 {
    width: 1.625rem !important;
}

.div-width-28 {
    width: 1.75rem !important;
}

.div-width-30 {
    width: 1.875rem !important;
}

.div-width-32 {
    width: 2rem !important;
}

.h-80 {
    height: 80%;
}

.btn-icon-16 {
    height: 1rem !important;
    width: 1rem !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    margin-right: 8px;
    align-self: center;
}

.btn-icon-24 {
    height: 1.5rem !important;
    width: 1.5rem !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    align-self: center;
}

.btn-icon-32 {
    height: 2rem !important;
    width: 2rem !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    align-self: center;
}

.btn-size-16 {
    height: 1rem !important;
    width: 1rem !important;
    align-self: center;
}

.btn-size-24 {
    height: 1.5rem !important;
    width: 1.5rem !important;
    align-self: center;
}

.btn-size-28 {
    height: 1.75rem !important;
    width: 1.75rem !important;
    align-self: center;
}

.btn-size-32 {
    height: 2rem !important;
    width: 2rem !important;
    align-self: center;
}

.btn-h-16 {
    height: 16px;
}

.btn-h-24 {
    height: 24px;
}

.btn-h-28 {
    height: 28px;
}

.btn-h-32 {
    height: 32px;
}

.btn-h-36 {
    height: 36px;
}

.btn-h-40 {
    height: 40px;
}

.btn-h-44 {
    height: 44px;
}

.btn-h-48 {
    height:48px;
}

#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;
    }

.btn-text-link {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: rgb(41, 128, 213) !important;
    font-family: sans-serif;
    text-decoration: underline !important;
    white-space: nowrap !important;
}

    .btn-text-link:hover {
        color: rgb(253, 62, 24) !important;
    }

    .btn-text-link,
    .btn-text-link:active,
    .btn-text-link:visited {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        color: rgb(41, 128, 213) !important;
        font-family: sans-serif;
        text-decoration: underline !important;
        white-space: nowrap !important;
    }

        .btn-text-link:hover {
            color: rgb(253, 62, 24) !important;
        }



.WindowsButton {
    font-size: 11px;
    line-height: 17px;
    box-shadow: none !important;
    border-radius: 0 !important;
    border: 1px solid #b3b3b3 !important;
    background-color: #fff !important;
    background-image: linear-gradient( 0deg, rgba(0,0,0,.2), rgba(0,0,0,.1)) !important;
    color: #000 !important;
    padding: 0;
    margin: 0;
}

    .WindowsButton:hover {
        background-image: linear-gradient( 180deg, rgba(124,181,243,.3), rgba(124,181,243,.4) 100%) !important;
        border: 1px solid rgb(149, 190, 217) !important;
    }

    .WindowsButton:focus {
        border: 1px solid #1d81ca !important;
    }


.pointer {
    cursor: pointer !important;
}

.disabled, *[disabled] {
    opacity: 70%;
    pointer-events: none;
}

.hide-empty-data-msg .dxbl-grid-empty-data-area {
    opacity: 0 !important;
}

.hide-header-row .dxbl-grid-header-row {
    display: none;
}

.dxbl-grid > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content {
    background-color: rgba(var(--bs-white-rgb)) !important;
}

.dxbl-grid .dxbl-grid-table > tbody > .dxbl-grid-empty-row {
    border: none !important;
}

.dxbl-grid .dxbl-grid-table > tbody > .dxbl-grid-focused-row dxbl-progress-bar .dxbl-progress-bar-indicator {
    background-color: var(--dxbl-grid-selection-focus-color) !important;
}

.dxbl-grid .dxbl-grid-table > tbody > .dxbl-grid-focused-row svg.text-primary,
.dxbl-grid .dxbl-grid-table > tbody > .dxbl-grid-focused-row div.text-primary {
    color: var(--dxbl-grid-selection-focus-color) !important;
}

.dxbl-grid .dxbl-grid-table > tbody > .dxbl-grid-selected-row .dxbl-btn .dxbl-image.text-primary,
.dxbl-grid .dxbl-grid-table > tbody > .dxbl-grid-focused-row .dxbl-btn .dxbl-image.text-primary {
    color: var(--dxbl-grid-selection-focus-color) !important;
}

.menu-item-button-p-0 > .dxbl-menu-item > .dxbl-btn {
    padding: 0 !important;
}

    .menu-item-button-p-0 > .dxbl-menu-item > .dxbl-btn > .dxbl-menu-dropdown-toggle {
        margin-left: 0 !important;
    }

.toolbar-group-hide-separator .dxbl-toolbar-group-separator {
    background-color: transparent !important;
}

.card.card-search-result .card-header {
    background-color: rgba(var(--bs-secondary-bg-rgb), 0.25) !important;
}

.card.card-search-result .card-footer {
    background-color: rgba(var(--bs-secondary-bg-rgb), 0.25) !important;
}

.card.card-search-total {
    background-color: rgba(var(--bs-secondary-bg-rgb), 0.25) !important;
}

.drawer-dashboard .dxbl-drawer-panel .dxbl-drawer-body {
    padding: 0 !important;
}

    .drawer-dashboard .dxbl-drawer-panel .dxbl-drawer-body .dxbl-btn-caption {
        padding-left: 0.5rem !important;
    }

.accordion-search-cards-body {
    height: 500px !important;
    /*overflow-y: auto !important;*/
}

.accordion-search-cards-body-button {
    height: 450px !important;
    /*overflow-y: auto !important;*/
}

.accordion-search-cards-body-row {
    display: flex !important;
    padding-top: 4px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    padding-bottom: 4px !important;
    flex-wrap: wrap !important;
    height: 492px !important;
    overflow-y: auto !important;
}

.accordion-search-cards-body-row-button {
    display: flex !important;
    padding-top: 4px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    padding-bottom: 4px !important;
    flex-wrap: wrap !important;
    height: 442px !important;
    overflow-y: auto !important;
}

.accordion-search-cards-button {
    height: 50px !important;
    display: flex !important;
    padding-top: 4px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    padding-bottom: 8px !important;
    justify-content: end !important;
}

.custom-accordion-item .dxbl-group-header {
    background-color: var(--bs-body-bg) !important;
    color: rgb(var(--primary-rgb)) !important;
    padding: 0px !important;
}

.no-data-message-1 {
    width: 1rem !important;
    height: 1rem !important;
}

.no-data-message-2 {
    width: 2rem !important;
    height: 2rem !important;
}

.no-data-message-3 {
    width: 3rem !important;
    height: 3rem !important;
}

.no-data-message-4 {
    width: 4rem !important;
    height: 4rem !important;
}

.no-data-message-5 {
    width: 5rem !important;
    height: 5rem !important;
}

.rz-drawer-captcha {
    position: static !important;
}

    .rz-drawer-captcha > dxbl-drawer-panel.dxbl-drawer-panel {
        height: 210px !important;
        position: absolute;
        top: -130px !important;
    }

.rz-label-clear-button {
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    opacity: 0.5;
    font-weight: bold;
    font-size: small;
}

    .rz-label-clear-button:hover {
        opacity: 0.8;
        background: rgba(0, 0, 0, 0.4);
    }

.rz-label-mb-2 {
    margin-bottom: 2px;
}

[data-theme-mode=dark] .rz-label-clear-button {
    opacity: 0.8;
}

.dx-toolbar-group-left-contents .dxbl-toolbar-group:first-of-type {
    display: contents !important;
}

.dx-toolbar-item-custom-left .dxbl-toolbar-item-tmpl {
    width: 70%;
}

.dxbl-popup-cell:has(.z-index-2048) {
    z-index: 2048 !important;
}

.theme-switcher .dxbl-tabs-content-panel {
    height: 510px;
}

[dir=ltr] .progress-overview-text {
    text-align: left !important;
}

[dir=rtl] .progress-overview-text {
    text-align: right !important;
}

[dir=rtl] .dxbl-checkbox label {
    padding-left: 0;
    padding-right: var(--dxbl-checkbox-spacing);
}

.rz-main-drawer .dxbl-drawer-content {
    overflow: auto !important;
}

.rz-main-drawer > dxbl-drawer-panel.dxbl-drawer-panel {
    top: 71px;
    z-index: 1101 !important;
}

[dir=rtl] .rz-main-drawer > dxbl-drawer-panel.dxbl-drawer-panel {
    left: 0;
    right: auto;
}

.rz-button-link-decoration-none > span {
    text-decoration: none !important;
}

.toolbar-btn.active, 
.toolbar-btn.active:hover {
    color: var(--primary-color) !important;
}

/*Custom Scroll Bars*/
/* width */
:: -webkit-scrollbar {
    width: 8px;
    height: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #B9BEC4;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: radial-gradient(circle, rgba(204,211,217,1) 0%, rgba(216,227,241,1) 59%);
    border-radius: 10px;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #86BAE1;
    }
