@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    /*background: url(../images/white-gradient-background.jpg) no-repeat center center fixed;*/
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

    height: 100%;
    font-family: Calibri, sans-serif;
}

.col-form-label {
    display: none;
}

.xaf-alert-message {
    white-space: pre-line !important;
}

.dxbl-tabs {
    min-height: 30px !important;
}

/*.xaf-nav-link {*/
/*    color: black;*/
/*    font-weight: bold;*/
/*}*/

/*.modal-content {*/
/*    background: url(../images/white-gradient-background.jpg) no-repeat center center fixed;*/
/*    !* Add the blur effect *!*/
/*    !*filter: blur(8px);*!*/
/*    !*-webkit-filter: blur(8px);*!*/

/*    opacity: 1.0;*/
/*    !*-webkit-transition: background 1.5s linear;*!*/
/*    !*-moz-transition: background 1.5s linear;*!*/
/*    !*-o-transition: background 1.5s linear;*!*/
/*    !*transition: background 1.5s linear;*!*/
/*}*/

/*.card {*/
/*    background-color: rgba(255, 255, 255, .9) !important;*/
/*}*/

app {
    display: block;
    height: 100%;
}

.header-logo {
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask: url('../images/gepha.svg');
    mask: url('../images/gepha.svg');
    -webkit-mask-position: left;
    mask-position: left;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    width: 180px;
    height: 50px;
}

#blazor-error-ui {
    background: inherit;
    bottom: 0;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100001;
}

.dxbl-grid-header-content {
    text-wrap: wrap;
    max-height: 50px;
    line-height: 1.2;
}

.root-table {
    height: calc(100vh - 130px) !important;
}

.dxbs-popup.modal-dialog {
    /*max-width: 90% !important*/
}

/*.border {*/
/*    white-space: pre-line !important;*/
/*}*/

/*button {*/
/*    background-color: #4353FF !important;*/
/*}*/

/*.form-control[readonly]:not([disabled]).dx-reset-readonly-style {*/
/*    background-color: rgb(255, 255, 255);*/
/*}*/

.btn-secondary {
    border-color: #fe7109;
}

.loading-image {
    width: 112px !important;
    height: 112px !important;
    padding: 0px !important;
    object-fit: contain;
    margin: auto;
    display: block;
    background-color: transparent !important;
    position: relative;
    top: -0px;
    left: 0px;
}


.loading-image-wrapper {
    background-color: transparent !important;
}

#loadingBackground {
    background-color: transparent !important;
}

.bg-primary {
    --bs-bg-opacity: 0 !important;
}

.border-primary {
    border-color: lightgray !important;
}

/*.form-check-input:checked {*/
/*    background-color: #D97800;*/
/*    border-color: #D97800;*/
/*}*/

/* DevExpress popup customizations - responsive popup dialogs */
.dx-overlay-content.dx-popup-normal.dx-popup-draggable.dx-resizable {
    width: 60vw !important;
    height: 60vh !important;
}

/* Query Editor customization */
.dxrd-create-query-page-editor.dxrd-create-query-page-editor-border.dxd-border-secondary.dx-editquery-editor {
    height: 450px !important;
    /*max-height: 70%;*/
}

/* Master-Detail Splitter - Override bottom pane minimum height constraint */
.xaf-masterdetail-detailview {
    min-height: 50px !important;
    transition: height 0.3s ease-in-out, min-height 0.3s ease-in-out;
}

/* Collapsible Master-Detail Splitter - Collapse button styling */
.xaf-masterdetail-splitter {
    position: relative;
}

.xaf-collapse-button {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    z-index: 10;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.xaf-collapse-button:hover {
    background-color: #e0e0e0;
    border-color: #999;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
}

.xaf-collapse-button:active {
    background-color: #d0d0d0;
}

.xaf-masterdetail-collapsed {
    transition: flex 0.3s ease-in-out;
}