body {
    margin: 0;
    cursor: default;
    overflow-y: hidden;
    /* The kiosk is a touch screen: a long press must not start a text selection */
    -webkit-user-select: none;
    user-select: none;
}

/* EC-34703: iOS WebKit inherits user-select: none into inputs, which can block HID scanner keystrokes.
   Scoped to the scan input so dialog inputs such as the login password keep their keypad-only behaviour. */
#ScanCode {
    -webkit-user-select: text;
    user-select: text;
}

body, td, th {
    font-family: Open Sans, Segoe UI, SF Pro Text, Helvetica, Helvetica Neue, Arial, Tahoma, sans-serif;
}

#PageLayout {
    width: 100%;
    background: var(--bg);
}

#MastHead {
    width: 100%;
    height: 88px;
    background: url('../Images/Header.png') repeat-x center;
}

#TitleBar {
    width: 100%;
    height: 48px;
    background: var(--bg) url('../Images/TitleBG.png') top;
}

#TitleBar table {
    width: 100%;
    height: 48px;
}

#TitleBar td {
    width: 400px;
}

#InfoBar {
    width: 100%;
    height: 48px;
    background: var(--bg) url('../Images/TitleBG.png') top;
}

#InfoBar table {
    width: 100%;
    height: 48px;
}

#InfoBar td {
    width: 400px;
}

#StatusBar {
    width: 100%;
    height: 42px;
    position: absolute;
    background: var(--bg) url('../Images/StatusBG.png') top;
}

#StatusBar table {
    width: 100%;
    height: 42px;
}

#StatusBar td {
    width: 400px;
}

.TimeDisplay {
    font-size: 15px;
    font-weight: bold;
    color: var(--primary-90);
    padding-right: 10px;
}

.DateDisplay {
    font-size: 12px;
    color: var(--text-secondary);
    padding-right: 10px;
}

.TimeDisplayStatus {
    font-size: 13px;
    font-weight: bold;
    color: var(--primary-90);
    padding-right: 10px;
}

.DateDisplayStatus {
    font-size: 11px;
    color: var(--text-secondary);
    padding-right: 10px;
}

.AutoCloseTitleStatus {
    font-size: 11px;
    color: var(--text-secondary);
    padding-left: 10px;
}

.AutoCloseSecondsStatus {
    font-size: 12px;
    color: var(--primary-80);
    padding-left: 10px;
}

.UserNameDisplay {
    font-size: 15px;
    font-weight: bold;
    color: var(--primary-80);
    padding-right: 10px;
}

.InfoDisplay {
    font-size: 13px;
    font-weight: bold;
    color: var(--primary-80);
    padding-right: 10px;
}

.ScreenTitleDisplay {
    font-size: 12px;
    color: var(--text-secondary);
    padding-right: 10px;
}

.InfoDescriptionDisplay {
    font-size: 12px;
    padding-right: 10px;
}

#DataPanel {
    height: 100%;
    background: var(--bg);
    display: inline;
    float: left;
    z-index: 9999;
}

#DialogPanel {
    width: 315px;
    background: var(--bg);
    display: inline;
    float: left;
}

.ActionButtonTable {
    margin: 3px 6px 6px;
}

#ActionButtonBG {
    width: 25%;
    max-width: 110px;
    background: var(--bg);
    display: inline;
    border-left: 1px var(--neutral-30) solid;
    float: left;
}

.ActionButtonCell {
    padding-top: 3px;
}

.ActionButton {
    width: 99px;
    height: 68px;
    background: var(--bg) url('../Images/ActionButtonBG.png') center;
    border: 1px var(--neutral-50) solid;
    text-align: center;
    color: var(--text-onbg-action);
    font-weight: bold;
    font-size: 13px;
}

.ActionButtonTop {
    width: 99px;
    height: 70px;
    background: var(--bg) url('../Images/ActionButtonBG.png') center;
    border: 1px var(--neutral-50) solid;
    text-align: center;
    color: var(--text-onbg-action);
    font-weight: bold;
    font-size: 13px;
}

.ActionButtonOff {
    opacity: 0.5;
    color: var(--primary-10);
}

.ActionButtonPress {
    background: var(--bg) url('../Images/ActionButtonBGPress.png') center;
}

.ScreenTab {
    padding-left: 36px;
    padding-right: 12px;
    background-position: 1px center;
    background-repeat: no-repeat !important;
    font-size: 13px;
    font-weight: bold;
    color: var(--primary-80);
    line-height: 42px;
    text-align: center;
    width: auto;
    height: 42px;
    display: inline;
    float: left;
    margin-top: 6px;
}

.ScreenTabOn {
    padding-left: 35px;
    padding-right: 11px;
    font-size: 13px;
    font-weight: bold;
    color: var(--primary-80);
    line-height: 42px;
    text-align: center;
    width: auto;
    height: 43px;
    margin-top: 5px;
    background: var(--bg) 0 center no-repeat !important;
    border-top: 1px var(--neutral-30) solid;
    border-right: 1px var(--neutral-30) solid;
    border-left: 1px var(--neutral-30) solid;
}

table.NoPadding {
    border-collapse: collapse;
}

table.NoPadding td {
    padding: 0;
    margin: 0;
}