.wrap.non-production-system #header NAV::before,
.wrap.non-production-system DIV.LoginBox::before {
    content: "Warning: non-production system";
    position: fixed;
    display: block;
    top: 0px;
    left: 50%;
    width: 200px;
    margin: 0 0 0 -100px;
    white-space: nowrap;
    font-size: 8pt;
    text-align: center;
    padding: 3px 10px 2px 10px;
    color: #00000099;
    font-weight: bold;
    background-color: red;
    border-radius: 0 0 7px 7px;
    border-top: none;
    z-index: 5000;
    pointer-events: none;
}
@media (max-width: 992px) {
    .wrap.non-production-system #header NAV::before {
        display: none;
    }
}

.wrap.non-production-system DIV.LoginBox::before {
    top: -25px;
    /* top: initial; */
}
.wrap.non-production-system.system-status-dev #header NAV::before,
.wrap.non-production-system.system-status-dev DIV.LoginBox::before {
    background-color: #00ff00;
}
.wrap.non-production-system.system-status-stage #header NAV::before,
.wrap.non-production-system.system-status-stage DIV.LoginBox::before {
    background-color: #aa6600;
}



.wrap.non-production-system DIV.LoginBox {
    box-shadow: 0 0 0 3px red;
}
.wrap.non-production-system.system-status-dev DIV.LoginBox {
    box-shadow: 0 0 0 3px #00ff00;
}
.wrap.non-production-system.system-status-stage DIV.LoginBox {
    box-shadow: 0 0 0 3px #aa6600;
}

.wrap.non-production-system::after {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    box-shadow: inset 0 0 0 5px #ff000099;
    pointer-events: none;
    content: "";
}
.wrap.non-production-system.system-status-dev::after {
    box-shadow: inset 0 0 0 5px #00ff0099;
}
.wrap.non-production-system.system-status-stage::after {
    box-shadow: inset 0 0 0 5px #FF660099;
}
