/* MES module customizations */
.mes-subscreen {
    border-radius: 0.5rem !important;
    overflow: hidden;
}

.mes-subscreen-header-color {
    color: white !important;
}

.mes-subscreen-header-bg {
    background: none;
    background-color: #29375c !important;
}

.mes-subscreen__print-label-button {
    color: #43558d !important;
    background-color: #dae3f4 !important;
}

.dxbl-popup-cell:has(.subscreen--always-on-top) {
    z-index: 2000 !important;
}

.mes-chipset .gmc-chip {
    font-weight: 600;
}

.xl-input {
    line-height: 1.5rem !important;
    font-size: 1.5rem !important;
}

.xxl-input {
    line-height: 1.75rem !important;
    font-size: 1.75rem !important;
}

.gmc-input-control--label-hidden fieldset legend,
.gmc-input-control--label-hidden label {
    display: none !important;
}

.gmc-input-control--label-hidden {
    margin: 0px !important;
}

.mes-print-subscreen ~ .dxbl-window-body .base-print__grid td,
.mes-print-subscreen ~ .dxbl-window-body .base-print__grid th,
.mes__select-print-label .base-print__grid td,
.mes__select-print-label .base-print__grid th {
    padding: 0.875rem 0.625rem !important;
}

.mes-print-subscreen ~ .dxbl-window-body .base-print__grid td:not(.dxbl-grid-empty-data-area),
.mes__select-print-label .base-print__grid td:not(.dxbl-grid-empty-data-area) {
    font-size: 0.875rem !important;
    line-height: 1 !important;
}

.mes__start-new-wo-button--flashing:not(:hover) {
    animation: flash 1s infinite;
}

@keyframes flash {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* End MES module customizations */
