﻿*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    font-size:18px;
    margin:0;
}

.mask{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: none;
    z-index: 10000;
}

.popup{
    width: 200px;
    height: 200px;
    border: 1px solid #333;
    background-color: #ffffdd;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 10001;
    display: none;
}

.headerLine{
    font:  16px arial;
    background-color:#b01d2d;
    font-weight:bold;
    color: #fff;
    padding:2px;
}

.pageHeaderLine{
    font:  18px arial;
    background-image: -webkit-gradient(linear, center top, center bottom, from(#fc0000), to(#770000));
    /*background-color:#972e2e;*/
    font-weight:bold;
    color: #fff;
    padding:2px;
    text-align:center;
}
.sectionHeaderLine{
    font:  16px arial;
    background-color:#972e2e;
    font-weight:bold;
    color: #fff;
    padding:2px;
    text-align:center;
}

.deviceTable{
    overflow: scroll;
   height : 370px;
   width : 350px;
}
.shiftTable{
    overflow: scroll;
   height : 140px;
   width : 355px;
}
.loadTable{
    overflow: scroll;
   height : 140px;
   width : 355px;
}
.verticalSpace {height:30px;}


.fourDigitText{
    display: block;
    width: 100%;
    margin: 5px 0;
    padding: 5px;
    border: 1px solid #111;
    transition: .3s background-color;
}

.shortText{
    display: block;
    width: 100%;
    margin: 5px 0;
    padding: 5px;
    border: 1px solid #111;
    transition: .3s background-color;
}
.mediumText{
    display: block;
    width: 100%;
    margin: 5px 0;
    padding: 5px;
    border: 1px solid #111;
    transition: .3s background-color;
}
.longText{
    display: block;
    width: 100%;
    margin: 5px 0;
    padding: 5px;
    border: 1px solid #111;
    transition: .3s background-color;
}

.longText:hover{
    background-color: #fafafa;
}

.mediumText:hover{
    background-color: #fafafa;
}

.shortText:hover{
    background-color: #fafafa;
}

.fourDigitText:hover{
    background-color: #fafafa;
}

.selectLine{
    padding:4px; 
}

.smallIconButton {
    width:24px;
    height:24px;
    margin:0px;
    padding:0px;
}

.smallIconButton2 {
    width:24px;
    height:28px;
    padding:4px;
}

.spanLeft{  
    display: block;
    float:left;

}

.spanBuffer{
    display:block;
    width:3px;

}

.spanRight{    
    display: block;
    background-color:aliceblue;
    margin-left: 5px;

}


.spanRightInline {    
    display: inline;
    float:right;

}

.wrapperTable {
    padding:5px;

}

.unsizedButton 
{ 
    margin-right:6px;
    margin-bottom:6px;
    padding:2px;
    font:  16px arial;
}

.stdButton {
    width: 100px;
    margin-right: 6px;
    margin-bottom: 6px;
    box-shadow: inset 0px 0px 0px 0px #54a3f7;
    background: linear-gradient(to bottom, #ff0000 5%, #d44444 100%);
    background-color: #ff0000;
    border-radius: 2px;
    border: 1px solid #124d77;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Verdana;
    font-size: 12px;
    font-weight: bold;
    padding: 10px 4px;
    text-decoration: none;
    text-shadow: 0px 0px 0px #154682;
}
    .stdButton:disabled {
        color: dimgrey;
        /*background: linear-gradient(to bottom, #ff0000 5%, #d44444 100%);*/
        background-color: #550000;
    }
.stdButton-special {
    width: 76px;
    margin-right: 6px;
    margin-bottom: 6px;
    box-shadow: inset 0px 0px 0px 0px #54a3f7;
    background: linear-gradient(to bottom, #ff0000 5%, #d44444 100%);
    background-color: #ff0000;
    border-radius: 2px;
    border: 1px solid #124d77;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Verdana;
    font-size: 12px;
    font-weight: bold;
    padding: 5px;
    text-decoration: none;
    text-shadow: 0px 0px 0px #154682;
}

.largeButton 
{
    width: 110px;
    margin-right: 6px;
    margin-bottom: 6px;
    box-shadow: inset 0px 0px 0px 0px #54a3f7;
    background: linear-gradient(to bottom, #ff0000 5%, #d44444 100%);
    background-color: #ff0000;
    border-radius: 2px;
    border: 1px solid #124d77;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Verdana;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 4px;
    text-decoration: none;
    text-shadow: 0px 0px 0px #154682;
    /*width:170px; margin-right:6px;margin-bottom:6px; padding:2px; font:  16px arial;*/

}

.smallButton {
    width: 60px;
    margin-right: 4px;
    margin-bottom: 4px;
    box-shadow: inset 0px 0px 0px 0px #54a3f7;
    background: linear-gradient(to bottom, #ff0000 5%, #d44444 100%);
    background-color: #ff0000;
    border-radius: 2px;
    border: 1px solid #124d77;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Verdana;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 2px;
    text-decoration: none;
    text-shadow: 0px 0px 0px #154682;
}


.stdButton:active {
    position: relative;
    top: 1px;
}

.smallButton:active {
    position: relative;
    top: 1px;
}

.largeButton:active {
    position: relative;
    top: 1px;
}

.dropDown {
    font:  16px arial;
    width:200px;
}

.dropDownNarrow {
    font:  16px arial;
    width:70px;
}

.largeLabel {
    font:  18px arial;
    margin-bottom:6px;
}

.label {
    font:  16px arial; 
    margin-bottom:6px;
}

.smallLabel {
    font: 12px arial;
}

.labelWithBorder {
    font:  16px arial;
    margin-bottom:6px;
    border:solid 1px black;
}

.label2 {
    border:1px solid black;
    margin-bottom:6px;
}

.labelData {
    font:  16px arial;
    margin-bottom:6px;
    background-color:aliceblue;
    min-width:40px;
}

.labelUnderline {
    font:  16px arial;
    margin-bottom:6px;
    text-decoration:underline;
}

.navButtonGroup {
    width:340px;
}

.centerDiv {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;
}

/* start */
#menuWrapper {
    position: fixed;
    bottom: 0;
    z-index: 999;
}

#menu * {
    padding: 0;
    margin: 0;
    font: 16px arial;
    list-style-type: none;
}

#menu { 
    margin-top: 10px;
    float: left;
    line-height: 10px; 
    left: 200px;
}

#menu a { 
    display: block; 
    text-decoration: none; 
    color: #fff;
}

#menu a:hover { 
    background: #cedfef;
    color:#000;
}

#menu ul li ul li a:hover { 
    background: #5b5b5b; /*cedfef*/
    color:#000;
    padding-left:9px;
    border-left: solid 1px #000;
}

#menu ul li ul li {
    width: 100%; 
    border: none; 
    color: #B0BD97;  
    padding-top: 3px; 
    padding-bottom:3px; 
    padding-left: 3px; 
    padding-right: 3px; 
    background: #5b5b5b; /*0c4d8f*/
    z-index:1;
}

#menu ul li ul li a { 
    font: 15px arial; 
    font-weight:normal; 
    font-variant: small-caps; 
    padding-top:3px; 
    padding-bottom:3px;
}

#menu ul li {
    float: left; 
    width: 120px; 
    font-weight: bold; 
    border-top: solid 1px #283923; 
    border-bottom: solid 1px #283923; 
    background: #5b5b5b;
} /*0c4d8f*/

#menu ul li a { 
    font-weight: bold;
    padding: 16px 10px;
}

#menu li{ 
    position:relative; 
    float:left;
}

#menu ul li ul, #menu:hover ul li ul, #menu:hover ul li:hover ul li ul{ 
    display:none;
    list-style-type:none; 
    width: 120px;
}

#menu:hover ul, #menu:hover ul li:hover ul, #menu:hover ul li:hover ul li:hover ul { 
    display:block;
}

#menu:hover ul li:hover ul li:hover ul { 
    position: absolute;
    margin-left: 145px;
    margin-top: -22px;
    font: 15px;
}

#menu:hover ul li:hover ul { 
    position: absolute;
    margin-top: 1px;
    font: 15px;
}
    #menu > ul > li:hover > ul {
        bottom: 100%;
    }

/* end*/

.positionfixed nav {
    position: fixed;
    bottom: 0;
    z-index: 999;
  }

nav {
    background-color: #333;
    margin: 0;
    overflow: hidden;    
}

nav ul{
    margin: 0;
    padding: 0;
}

nav ul li {
    /* This allow us to arrange list items in a row, without using float */
    display: inline-block;
    list-style-type: none;
}

/* Create a style for the first level items */
nav > ul > li > a {
    color: #aaa;
    display: block;
    line-height: 2em;
    padding: 0.5em 0.5em;
    text-decoration: none;
}

.spacingMed {
    min-width:20px;
    display: inline-block;
}

.spacingSmall {
    min-width:5px;
    display: inline-block;
}

.ghost {
    max-height: inherit;
}

    /* New Device form*/
.newDeviceFormGrid {
    display:grid;
    grid-template-columns:50% 50%;
    margin:.9em;
    gap:.4em;

}
.formElement {
    font: 16px arial;
}
.formElementRequired{
    color:rgba(255,0,0,.8);
}