body {
    background-color: #eeee22;
    font-family: arial;
    font-size: small;
}

#gameArea {
    position: absolute;
    left: 50%;
    top: 50%;
    background-color: white;
}

#topMenu {
    padding: 0px;   
    background-color: darkgray;
    color: white;
    
    height: 30px;
    margin: 0px;
}

#topMenu li {
    float: left;
    list-style: none;  
    position: relative;
    line-height: 30px;
    padding-left: 10px;
    min-width: 140px;
    cursor: pointer;
}

#topMenu li img {
    height: 20px;
    vertical-align: middle;
    margin-right: 5px;
}

#topMenu li:hover {
    background-color: lightgray;
}

#topMenu ul {
    display: none;
    position: absolute;
    left: 5px;
    
    padding: 0px;  
    background-color: darkgray;
      
    border-top: 1px solid white;
}

#topMenu li:hover > ul {
    display: block;
}

#topMenu ul li {
    float: none;   
    
    width: 140px;
    cursor: pointer;
}

.menuSeparator {
    height: 1px;
    background-color: white;
}

#topMenu .arrow-down {
    position: absolute;
    top: 12px;
    margin-left: 20px;
    width: 0; 
    height: 0; 
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid white;
}

#board {
    width: 100%;
    /*height: 100%;*/
}

#statsPanel {
    background-color: darkgray;    
    position: absolute;
    width: 100%;
/*    height: 30px;*/
    bottom: 0;
/*    opacity: 0.8;*/
    color: white;  
    line-height: 24px;    
}

#statsPanel .PanelInfo {
    min-width: 120px;
    font-weight: bold;
}

#selectMenu {
    position: absolute;
    border-radius: 3px;
    border: solid 1px darkgray;
    background-color: lightgray;
    display: none;
}

#selectMenu li {
    height: 22px;
    padding: 6px 0px 0px 6px;
    min-width: 100px;
    list-style-type: none;
    cursor: pointer;
}

#selectMenu li.objectHidden {
    text-decoration: line-through;
}

#selectMenu li:hover {
    background-color: darkgray;
}

#objectDescription {
    position: absolute;
    display: none;
    z-index: 9;
    border-radius: 3px;
    border: solid 1px darkgray;
    background-color: lightgray;    
}

.draggableDialog {
    position: absolute;
    z-index: 5;
    padding: 5px;
    width: 130px;
    top: 40px;
    right: 10px;
    /*border: solid 2px blue;*/
    border-radius: 5px;
    background-color: darkgray; 
    display: none;
    text-align: center;
}

#optionsDialog {
    width: 220px;
    right: 160px;
}

.draggableDialog .title {
    padding: 5px;
    background-color: red;
    border-radius: 3px;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.draggableDialog table {
    margin-top: 8px;
}

.draggableDialog table th {
    text-align: left;
    padding-bottom: 2px;
    font-weight: bolder;
}

#strokeColorTable td, #strokeSizeTable td, #strokeTypeTable td {
    border: solid 2px gray; 
    border-radius: 1px;
    cursor: pointer;    
    height: 24px;
    width: 24px;
}

#strokeColorTable td img, #strokeSizeTable td img, #strokeTypeTable td img {
    display: block;
}

#fontSizeTable td {
    text-align: left;
}

#fontSizeTable tr td:first-of-type {
    width: 50%;
}

#strokeColorTable td.selected, #strokeSizeTable td.selected, #strokeTypeTable td.selected {
    border: solid 2px white;  
}

#optionsDialog tr td:first-of-type {
    width: 100px;
}

#optionsDialog tr td {
    text-align: left;
}

#optionsDialog input [type=xxxxx] {
    text-align: left;
}

#printArea {
    display: none;
}

.DataInput {
    position: absolute;
    margin: 0 auto 0 auto;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.75;
    background-color: white;
    z-index: 5;
    display: none;
}

.DataInput table {
    position: relative;
    margin: auto;
    top: 100px;    
    width: 50%;    
    background-color: lightgray;
    border: darkgray 3px solid;
    border-radius: 6px;
    padding: 10px;
}

.DataInput table th {
    background-color: darkgray;
    padding: 10px 0 10px 0;
}

.DataInput table tfoot button {
    width: 140px;
    height: 30px;
    background-color: darkgray;
}

.DataInput table tfoot button:last-of-type {
    float: right;
}

.DataInput table.list thead,
.DataInput table.list thead tr,
.DataInput table.list thead th,
.DataInput table.list tbody, 
.DataInput table.list tbody tr {
    display: block; 
}

.DataInput table.list tr:after {
    content: ' ';
    display: block;
    visibility: hidden;
    clear: both;
}

.DataInput table.list thead tr:last-of-type { 
    background-color: gray;   
}

.DataInput table.list thead tr:last-of-type th {   
    background-color: gray;
    text-align: left;
}

.DataInput table.list tbody {
    height: 180px;
    overflow-y: auto;
    margin-top: 5px;
}

.DataInput table.list tbody tr {
    background-color: white;
}

.DataInput table.list tbody tr:hover {
    cursor: pointer;
}

.DataInput table.list tbody tr.selected {
    background-color: lightgreen !important;
}

.DataInput table.list tr:nth-of-type(2) th,
.DataInput table.list td {
    float: left;
}

.DataInput table.list thead tr:nth-of-type(2) th:nth-of-type(1),
.DataInput table.list tbody tr td:nth-of-type(1) {
    width: 8%;
}

.DataInput table.list thead tr:nth-of-type(2) th:nth-of-type(2),
.DataInput table.list tbody tr td:nth-of-type(2) {
    width: 50%;
}

.DataInput table.list thead tr:nth-of-type(2) th:nth-of-type(3),
.DataInput table.list tbody tr td:nth-of-type(3),
.DataInput table.list thead tr:nth-of-type(2) th:nth-of-type(4),
.DataInput table.list tbody tr td:nth-of-type(4) {
    width: 20%;
}

.DataInput table.list tfoot td {
    float: none;
}

.DataInput table.content tr:first-of-type td {
    padding-top: 20px;   
}

.DataInput table.content tr td:first-of-type {
    width: 10%;
}

        
#errorMessageSaveBoard, #errorMessageOpenBoard {
    color: red;
    font-weight: bold;
    height: 30px;
}        
        
#Measurement {
    width: 1cm;
    height: 1cm;
    display: none;
    position: absolute;
    background-color: yellow;
    border: 1px solid green;
    top: 0px;
    left: 0px;
}

.checkedMarker {
    margin-right: 10px;
    float: right;
}

#menuFiller {
    width: auto;
}

#lemonLogo {
    position: absolute;
    right: 0px;
    top: 0px;
    height: 28px;
}
