/* FIXED LAYOUT CSS */

body {
    margin: 0;
    padding: 0;
}

#headerDiv {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10;
    width: 100%;
    height: 60px;
    cursor: default;
}

#headerTopDivs {
    padding: 5px 10px;
    height: 50px;
    vertical-align: top;
}

#leftHeaderDiv {
    float: left;
    height: 45px;
    text-align: left;
}

#rightHeaderDiv {
    float: right;
    text-align: right;
    height: 30px;
    padding-top: 0.3em;
}

#clockDisplay {
    text-align: right;
    padding-top: 3.2em;
}

#serverTime {
    font-weight: bold;
}

#headerMenuDiv {
    position: fixed;
    left: 0;
    top: 60px;
    z-index: 10;
    width: 100%;
    height: 30px;
    padding: 0 10px;
}

.headerHide {
    background: url("../images/up.png") no-repeat center center;
    width: 100%;
    height: 10px;
    cursor: pointer;
}

.headerShow {
    background: url("../images/down.png") no-repeat center center;
    width: 100%;
    height: 10px;
    cursor: pointer;
}

#pageTitleDiv {
    position: fixed;
    left: 0;
    top: 90px;
    z-index: 5;
    width: 100%;
    height: 40px;
    padding-top: 15px;
    cursor: default;
}

#contentDiv {
    margin-top: 150px;
    margin-bottom: 30px;
    z-index: 0;
    padding: 0 15px 15px 15px;
}

#footerDiv {
    width: 100%;
    height: 24px;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 10;
    padding: 2px 0;
}

#leftFooterDiv {
    float: left;
    margin-left: 10px;
    text-align: left;
    vertical-align: middle;
}

#rightFooterDiv {
    float: right;
    margin-right: 10px;
    text-align: left;
    vertical-align: middle;
}

/* VARIABLE LAYOUT CSS */

#pageTitle {
    margin: 0 15px 0 15px;
    padding: 0 0 0 10px;
}

#wrmiAppHeader {
    font-size: 20px;
    font-weight: bold;
    padding: 10px 0 0 10px;
}

/* TYPOGRAPHY CSS */

body {
    font-size: 12px;
    font-family: Arial, Lucida, sans-serif;
}

h1 {
    border: 1px solid black;
    font-size: 16px;
    line-height: 24px;
    font-weight: bold;
}

h2 {
    font-size: 13px;
    line-height: 24px;
    font-weight: bold;
}

.messagePanel {
    padding: 6px;
    margin: 2px 0px;
}

.lastLoginIp {
    font-size: 0.8em;
}

/* COLORS CSS */

#headerDiv {
    background-color: #aaaaaa;
}

#headerMenuDiv {
    background-color: #36363b;
}

#pageTitleDiv {
    background-color: white;
    color: black;
}

#footerDiv {
    background-color: #888888;
}


/* LINKS CSS */

a {
    font-weight: bold;
    text-decoration: none;
}

a:link {
    color: #111111;
}

a:visited {
    color: #111111;
}

a:hover {
    color: #444444;
    text-decoration: underline;
}

a:active {
    color: #111111;
}


a.slimLink {
    font-weight: normal;
    text-decoration: none;
}

a.slimLink:link {
    color: #111111;
}

a.slimLink:visited {
    color: #111111;
}

a.slimLink:hover {
    color: #444444;
    text-decoration: underline;
}

a.slimLink:active {
    color: #111111;
}

/* FORMS CSS */

.form-section {
    width: auto;
    padding: 8px 14px 8px 14px;
}

.borderedForm {
    border: 1px solid lightgray;
}

fieldset {
    border: 1px solid #aaaaaa;
}

fieldset.none {
    border: 1px solid #f0f0f0;
}

legend {
    margin-left: 15px;
    padding: 0 4px;
    font-weight: bold;
    font-size: 0.9em;
    color: #36363b;
}

label {
    display: block;
    float: left;
    padding: 0;
    margin-top: 5px;
}

input[type="text"], input[type="number"], input[type="radio"], input[type="password"], input[type="hidden"], input[type="checkbox"], input[type="time"], textarea, select {
    width: 100%;
    border: 2px inset;
    border-color: black;
    color: #333333;
    padding: 0 0 0 2px;
    box-sizing: border-box;
    vertical-align: middle;
}

input[type="text"], input[type="number"], input[type="password"], select {
    min-height: 20px;
}

input[type="text"], input[type="password"] {
    padding-right: 2px;
}

input[readonly], textarea[readonly], select[disabled] {
    background-color: #e0e0e0;
    cursor: default;
}

div.form-buttons {
    text-align: right;
}

div.form-buttons:hover {
    background: transparent;
}

input[type="button"], input[type="submit"], input[type="reset"] {
    width: auto;
    padding: 2px 6px;
    margin: 0 -6px 0 12px;
}

button.iconButton, input[type="button"].iconButton {
    padding: 1px 4px;
}

/* width, margin  */

.w40 {
    width: 40px;
}

.w50 {
    width: 50px;
}

.w60 {
    width: 60px;
}

.w70 {
    width: 70px;
}

.w80 {
    width: 80px;
}

.w90 {
    width: 90px;
}

.w100 {
    width: 100px;
}

.w110 {
    width: 110px;
}

.w120 {
    width: 120px;
}

.ml40 {
    margin-left: 40px;
}

.ml50 {
    margin-left: 50px;
}

.ml60 {
    margin-left: 60px;
}

.ml70 {
    margin-left: 70px;
}

.ml80 {
    margin-left: 80px;
}

.ml90 {
    margin-left: 90px;
}

.ml100 {
    margin-left: 100px;
}

.ml110 {
    margin-left: 110px;
}

.ml120 {
    margin-left: 120px;
}


/* FLUID GRID RELATED CSS */
.section {
    margin-bottom: 25px;
}

.column {
    background-color: #f0f0f0;
}


/* --- --- --- */

.tooltip {
    position: absolute;
    top: 0;
    left: 0;
    padding: 6px 14px;
    background-color: #dfe7ff;
    border: 1px solid #235485;
    display: none;
}

.tooltip-mark {
    display: inline-block;
    border-radius: 5px;
    width: 15px;
    text-align: center;
    color: white;
    background: black;
}

.tooltip-mark .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px 10px;
    border-radius: 6px;
    margin-left: 10px;
    position: fixed;
    z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip-mark:hover .tooltiptext {
    visibility: visible;
    overflow: visible;
    width: auto;
    position: fixed;
}

.tooltip-mark .tooltiptext-scrollable {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px 10px;
    border-radius: 6px;
    margin-left: 10px;
    position: absolute;
    z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip-mark:hover .tooltiptext-scrollable {
    visibility: visible;
    overflow: visible;
    width: max-content;
    position: absolute;
}

.bold {
    font-weight: bold;
}

.center {
    text-align: center;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}

.backgroundGreen {
    background-color: lightgreen;
}

.backgroundYellow {
    background-color: #fff567;
}

.backgroundRed {
    background-color: #ffa0a3;
}

.no-selection {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

textarea {
    resize: none;
}


.error {
    color: red;
}

.info {
    color: green;
}

.warning {
    color: orange;
}

/* Scope selection wizard */

.wizardPanel .grid-footer {
    font-size: 0.9em;
    background-color: #dadada;
    border: 1px solid gray;
    border-top: 0;
    vertical-align: middle;
    padding: 0;
    width: 100%;
}

.grid-footer .statusLine {
    color: #BA5C28;
}

div#egmGrid-actions button {
    margin-left: 1px;
    margin-right: 1px;
}

.addButton {
    background-image: url("../images/add.png");
    width: 16px;
    height: 16px;
}

.addButtonDisabled {
    background-image: url("../images/add_d.png");
    width: 16px;
    height: 16px;
}

.deleteButton {
    background-image: url("../images/delete.png");
    width: 16px;
    height: 16px;
}

.deleteButtonDisabled {
    background-image: url("../images/delete_d.png");
    width: 16px;
    height: 16px;
}

.recycleButton {
    background-image: url("../images/recycle.png");
    width: 16px;
    height: 16px;
}

.recycleButtonDisabled {
    background-image: url("../images/recycle_d.png");
    width: 16px;
    height: 16px;
}

.scopeSelectionButton {
    background-image: url("../images/scope_selection.png");
    width: 16px;
    height: 16px;
}

.scopeSelectionButtonWarning {
    background-image: url("../images/scope_selection_w.png");
    width: 16px;
    height: 16px;
}

.scopeSelectionButtonDisabled {
    background-image: url("../images/scope_selection_d.png");
    width: 16px;
    height: 16px;
}


.thresholdButton {
    background-image: url("../images/threshold.png");
    width: 16px;
    height: 16px;
}

.thresholdButtonWarning {
    background-image: url("../images/threshold_w.png");
    width: 16px;
    height: 16px;
}

.thresholdButtonDisabled {
    background-image: url("../images/threshold_d.png");
    width: 16px;
    height: 16px;
}

.qrCodeButton {
    background-image: url("../images/qr_code.png");
    width: 16px;
    height: 16px;

}

.qrCodeButtonDisabled {
    background-image: url("../images/qr_code_d.png");
    width: 16px;
    height: 16px;
}

.playerButton {
    background-image: url("../images/player.png");
    width: 16px;
    height: 16px;
}

.playerButtonWarning {
    background-image: url("../images/player_w.png");
    width: 16px;
    height: 16px;
}

.playerButtonDisabled {
    background-image: url("../images/player_d.png");
    width: 16px;
    height: 16px;
}

.filterButton {
    background-image: url("../images/filter.png");
    width: 16px;
    height: 16px;
}

.filterButtonWarning {
    background-image: url("../images/filter_w.png");
    width: 16px;
    height: 16px;
}

.filterButtonDisabled {
    background-image: url("../images/filter_d.png");
    width: 16px;
    height: 16px;
}

.downloadButton {
    background-image: url("../images/download.png");
    width: 16px;
    height: 16px;
}

.downloadButtonDisabled {
    background-image: url("../images/download_d.png");
    width: 16px;
    height: 16px;
}

.uploadButton {
    background-image: url("../images/upload.png");
    width: 16px;
    height: 16px;
}

.uploadButtonDisabled {
    background-image: url("../images/upload_d.png");
    width: 16px;
    height: 16px;
}

.exclamationButton {
    background-image: url("../images/exclamation.png");
    width: 16px;
    height: 16px;
}

.exclamationButtonDisabled {
    background-image: url("../images/exclamation_d.png");
    width: 16px;
    height: 16px;
}

.backLink {
    margin-bottom: 10px;
    text-decoration: underline;
}

.viewButton {
    background-image: url("../images/view.png");
    width: 16px;
    height: 16px;
}

.viewButtonDisabled {
    background-image: url("../images/viewDisabled.png");
    width: 16px;
    height: 16px;
}

.applyButton {
    background-image: url("../images/apply.png");
    width: 16px;
    height: 16px;
}

.applyButtonDisabled {
    background-image: url("../images/applyDisabled.png");
    width: 16px;
    height: 16px;
}

.stopButton {
    background-image: url("../images/stop.png");
    width: 16px;
    height: 16px;
}

.stopButtonDisabled {
    background-image: url("../images/stopDisabled.png");
    width: 16px;
    height: 16px;
}

.editNumberButton {
    background-image: url("../images/edit_number.png");
    width: 16px;
    height: 16px;
}

.editNumberButtonDisabled {
    background-image: url("../images/edit_number_d.png");
    width: 16px;
    height: 16px;
}

.moveButton {
    background-image: url("../images/move.png");
    width: 16px;
    height: 16px;
}

.moveButtonDisabled {
    background-image: url("../images/move_d.png");
    width: 16px;
    height: 16px;
}

.switchActiveButton {
    background-image: url("../images/switch_active.png");
    width: 16px;
    height: 16px;
}

.switchInactiveButton {
    background-image: url("../images/switch_inactive.png");
    width: 16px;
    height: 16px;
}

.switchButtonDisabled {
    background-image: url("../images/switch_d.png");
    width: 16px;
    height: 16px;
}

.checkButton {
    background-image: url("../images/check.png");
    width: 16px;
    height: 16px;
}

.checkButtonDisabled {
    background-image: url("../images/check_d.png");
    width: 16px;
    height: 16px;
}

.lockButton {
    background-image: url("../images/lock.png");
    width: 16px;
    height: 16px;
}

.lockButtonDisabled {
    background-image: url("../images/lock_d.png");
    width: 16px;
    height: 16px;
}

.unlockButton {
    background-image: url("../images/unlock.png");
    width: 16px;
    height: 16px;
}

.unlockButtonDisabled {
    background-image: url("../images/unlock_d.png");
    width: 16px;
    height: 16px;
}

.helpButton {
    background-image: url("../images/help.png");
    width: 16px;
    height: 16px;
}


button.iconButton > div.lockButtonDisabled {
    cursor: default;
}

button.iconButton > div.unlockButtonDisabled {
    cursor: default;
}

button.iconButton:has(div.lockButtonDisabled) {
    cursor: default;
}

button.iconButton:has(div.unlockButtonDisabled) {
    cursor: default;
}

.assignedSasAddress {
    background-color: #FFCCCC;
}

.unassignedSasAddress {
    background-color: #FFFFFF;
}

.refreshButton {
    background-image: url("../images/controls/refreshEnabled.png");
    width: 16px;
    height: 16px;
}

.refreshButtonDisabled {
    background-image: url("../images/controls/refreshDisabled.png");
    width: 16px;
    height: 16px;
}

.warning-dialog .ui-dialog-titlebar {
    background-image: url(../images/exclamation.png);
    background-repeat: no-repeat;
    background-position-x: 3px;
    padding-left: 23px;
}

.info-dialog .ui-dialog-titlebar {
    background-repeat: no-repeat;
    background-position-x: 3px;
    padding-left: 23px;
}

.tableHeaderActions {
    height: 24px !important;
    margin-left: 1px !important;
    padding-top: 1px !important;
    padding-bottom: 0 !important;
}

.blinking {
    animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 20%;
    }
}

.input-error {
    outline: 1px solid red;
}

.hidden {
    display: none;
}
