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

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

html, body, #app {
    height: 100%;
    overflow: hidden;
}

#app {
    background-color: inherit;
}

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

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

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

/* Custom Global CSS */
.global-form-layout-item-right-aligned {
    text-align: right;
}

.global-grid {
    width: 100%;
    height: 100%;
    caret-color: auto;
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.global-form {
    height: 100%;
    overflow-y: scroll;
}

.global-form-button {
    min-width: 90px;
    max-width: 140px;
}

.global-button {
    background-color: white !important;
    border-color: lightgray !important;
    color: black !important;
    --dxbl-btn-border-color: lightgray !important;
    justify-content: space-evenly !important;
    align-items: baseline !important;
}

.global-form-title {
    display: flex;
}

.global-icon {
    color: black;
    font-size: 12px;
}

    .global-icon:hover {
        color: black;
    }

.global-icon-button {
    background-color: transparent !important;
    border: none !important;
    color: black !important;
    font-size: 12px !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

    .global-icon-button:hover {
        /*border: 1px solid lightgray !important;*/
        background-color: lightgray !important;
        color: black;
    }

.global-button {
    background-color: white !important;
    border-color: lightgray !important;
    color: black !important;
    --dxbl-btn-border-color: lightgray !important;
    justify-content: space-evenly !important;
    align-items: baseline !important;
}

.global-list-box-with-min-height .dxbl-list-box {
    height: 500px !important;
}

.global-custom-toast {
    user-select: none;
}

    .global-custom-toast .dxbl-toast-portal {
        padding: 0 10px;
    }


.combobox-item-template {
    display: flex;
    align-items: center;
}

.combobox-item-template-text {
    display: flex;
    flex-flow: column;
}

.form-control[readonly] {
    background-color: white !important;
}

/* scrollbar */
/* width */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

/* Menu Separator on Page & User Menus */
.menu-item-separator {
    border-bottom: 1px solid #ccc;
    margin-bottom: 5px;
}

/* General Button for Grids */
.grid-icon-button {
    width: 100%;
    height: 100%;
    padding: 6px;
    user-select: none;
    text-decoration: none;
}

    .grid-icon-button.grouped {
        width: 30%;
    }

    .grid-icon-button:hover {
        text-decoration: none;
    }

    .grid-icon-button:before {
        top: 50%;
        left: 50%;
        position: absolute;
        transform: translate(-50%, -50%);
    }

/* DevExpress Blazor Grid */
.dxbs-grid-selected-row {
    background-color: rgba(0, 0, 0, 0.1);
}

/* DevExpress button*/
.dxbl-btn-standalone.dxbl-btn-primary {
    --dxbl-btn-color: #FFFFFF !important;
    --dxbl-btn-hover-color: #FFFFFF !important;
    --dxbl-btn-bg: var(--primary);
    --dxbl-btn-hover-bg: var(--primary);
}

.dxbs-grid-group-panel-content-container {
    color: gray;
}

/* DevExpress textbox */
.dxbl-grid-search-box-container > .dxbl-text-edit {
    --dxbl-text-edit-focus-border-color: gray !important;
}

/* DevExpress checkbox */
.dxbl-checkbox {
    --dxbl-checkbox-check-element-checked-bg: #003e73 !important;
    --dxbl-checkbox-check-checked-hover-bg: transparent !important;
    --dxbl-checkbox-check-element-checked-hover-bg: transparent !important;
    --dxbl-checlbox-checked-focus-shadow-color: transparent !important;
    --dxbl-checlbox-unchecked-focus-shadow-color: transparent !important;
}

/* DevExpress tab */
.dxbl-tabs {
    margin-bottom: 4px !important;
}

/* Login/Signup/2FA Container */
.sign-in-box {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    max-width: 440px;
    padding: 40px 30px;
    background-color: #fff;
    -webkit-box-shadow: 0 2px 6px rgb(0 0 0 / 20%);
    -moz-box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    box-shadow: 0 2px 6px rgb(0 0 0 / 20%);
    min-width: 320px;
    min-height: 338px;
    word-break: break-word;
}

/* DevExpress Dropdown */
.dxbl-menu.dxbl-menu-horizontal {
    background-color: #003e73;
}

.dxbl-dropdown[placement-target="#global-hidden-dropdown"] {
    display: none !important;
}


/* DevExpress Tab Page Selected Tab Color */
.dxbl-tabs > .dxbl-tabs-tablist > .dxbl-scroll-viewer > .dxbl-scroll-viewer-content > ul > li > .dxbl-tabs-item:not(.dxbl-tabs-tmpl):not(.dxbl-disabled):not(:disabled).dxbl-active::after, .dxbl-tabs > .dxbl-tabs-tablist > ul > li > .dxbl-tabs-item:not(.dxbl-tabs-tmpl):not(.dxbl-disabled):not(:disabled).dxbl-active::after {
    background-color: var(--TLV);
}

/* DevExpress Loading Panel */
.modified-devexpress-loading-panel {
    top: 0 !important;
    left: 0 !important;
    width: 100%;
    z-index: 500;
    height: 100%;
    user-select: none;
    position: absolute !important;
}

/* DevExpress Loading Panel Text Message */
.dxbl-loading-panel .dxbl-loading-panel-message {
    font-weight: bold;
    --dxbl-loading-panel-message-color: black;
}

/* DevExpress Loading Panel Background Color */
.dxbl-loading-panel .dxbl-loading-panel-container.dxbl-loading-panel-shading {
    background-color: rgba(175, 184, 193, 0.2) !important;
}

/* DevExpress Input Validation Icon */
.dxbl-edit-validation-status {
    display: none !important;
}

/*.leaflet-control,
.leaflet-control-attribution {
    display: none !important;
}



.global-date-dropdown .dxbl-calendar-week-number,
.global-date-dropdown .dxbl-calendar-days-of-week th:first-child {
    display: none;
}

.global-grid-with-tab {
    height: 100%;
    margin-bottom: 0 !important;
}

    .global-grid-with-tab .dxbl-tabs-content-panel {
        height: calc(100% - 40px) !important;
    }

.global-check-box {
    width: 20px;
    min-width: 20px;
    height: 20px;
    min-height: 20px;
    outline-color: #ffffff;
    accent-color: var(--primary);
    margin: 0.25rem 0.5rem 0.25rem 0;
}*/
