html, body {
    height: 100%;
}

[role=main] {
    border-radius: 16px;
    max-height: 95.6vh;
    max-width: 99.5%;
}

app {
    display: block;
    height: 100%;
}

.header-logo {
    flex-shrink: 0;
    background-image: url('../images/logo-sm.png');
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
}

#blazor-error-ui {
    background: inherit;
    bottom: 0;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100001;
}

.loading-image {
    width: 130px !important;
    height: 130px !important;
}

.pac-container:after {
    background-image: none !important;
    height: 0px;
}

.hideDetailButton .dxbl-grid-expand-button-cell .dxbl-grid-expand-button {
    visibility: hidden;
}

.ProductionLargeGroupStyle .dxbl-text,
.ProductionLargeGroupStyle .dxbl-text-edit {
    font-size: x-large;
}


.ProductionLargeEditorStyle .dxbl-text {
    font-size: x-large;
}

/* Change an editor's text and color settings */
.ProductionLargeEditorStyle .dxbl-text-edit {
    font-size: x-large;
}

.ProductionExtraLargeEditorStyle .dxbl-text {
    font-size: xx-large;
}

/* Change an editor's text and color settings */
.ProductionExtraLargeEditorStyle .dxbl-text-edit {
    font-size: xx-large;
}

.ProductionActionButtonStyle {
    font-size: large;
    height: 80px;
    width: 180px;
}

.ProductionActionButtonStyle .xaf-toolbar-item-icon {
    max-height: 32px !important;
    max-width: 32px !important;
    height: 32px !important;
    width: 32px !important;
}

.dxbl-grid{
    overflow: hidden;
}

.xaf-tabbed-mdi .dxbl-tabs-content-panel.dxbl-loaded
{
    height: calc(100% - var(--dxbl-tabs-tab-padding-y) * 2 - var(--tab-title-text-height) - 19px) !important;
}

.sidebar.collapsed .sidebar-top .dxbl-scroll-viewer
{
    overflow: visible;
}

.sidebar.collapsing nav
{
    overflow: hidden;
    scrollbar-width: none;
}

.sidebar.collapsed nav
{
    scrollbar-width: none;
}

nav * {
    user-select: none;
}

/* Ginetex font registreren */
@font-face {
    font-family: 'Ginetex';
    src: url('/fonts/ginetex/ginetex-symbols.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.dxbl-text-edit .ginetex-text {
    font-family: 'Ginetex', 'Segoe UI', sans-serif;
    font-size: 20px;
    line-height: normal;
    vertical-align: bottom;
    letter-spacing: 4px;
}

.xaf-action .ginetex-text {
    font-family: 'Ginetex', 'Segoe UI', sans-serif;
    font-size: 20px;
    line-height: normal;
    vertical-align: bottom;
    letter-spacing: 4px;
}

.material-symbols-rounded {
    font-family: "Material Symbols Rounded";
    font-style: normal;
    font-weight: 300;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    user-select: none;
    vertical-align: middle;
    font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 200, "opsz" 20;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.dv-fabriclength button[data-action-id] img {
    width: 24px;
    height: 24px;
}


.dv-fabriclength .dxbl-grid-command-cell .xaf-inline-action-template img.dxbl-image {
    width: 24px;
    height: 24px;
}

button[data-action-id="NextObject"],
button[data-action-id="PreviousObject"] {
    --dxbl-btn-bg: transparent;
    --dxbl-btn-border-color: transparent;
    --dxbl-btn-color: var(--bs-body-color);
    --dxbl-btn-hover-bg: color-mix(in srgb, var(--bs-body-color) 6%, transparent);
    --dxbl-btn-hover-border-color: transparent;
    --dxbl-btn-hover-color: var(--bs-body-color);
    --dxbl-btn-active-bg: color-mix(in srgb, var(--bs-primary) 10%, transparent);
    --dxbl-btn-active-border-color: transparent;
    --dxbl-btn-active-color: var(--bs-body-color);
    --dxbl-btn-box-shadow: none;
}


.dgp-height {
    min-height: 100%;
}


.dgp-height .nested-content > .grid-content.grid-virtual-scrolling-mode dxbl-grid {
    max-height: 700px!important;
}