/* 
    EDV-Pertl
    2016-10
*/

* {
    padding: 0px;
    margin: 0px;
}

#gameContainer {
    background-color: white;
}

#gameTitle {
    width: 100%;
    background-color: lightgray;
    padding: 5px 10px 5px 10px;
    font-size: x-large;
    background-position: right;
    background-repeat: no-repeat;
    background-position-x: 95%;    
}

.gameInfo {
    width: 100%;
    margin-left: 5px;
    margin-right: 5px;
    padding-left: 5px;  
    border: gray outset 2px;
}

.gameInfo td {
    text-align: left;
}

.gameInfo span {
    padding-left: 10px;
    font-weight: bold;    
}

.gameInfo span img {
    vertical-align: middle;
}

#options {
    cursor: pointer;
}

#optionsDialog {
    position: absolute;
    right: 50px;
    bottom: 50px;
    height: 60px;
    width: 200px;
    display: none;
    border: 5px solid black;
    padding: 10px;
    background-color: white;
}

/* GRID */

#Grid {
    float: left;  
    clear: right;
    padding: 5px;    
}

#Grid td {
    height: 30px;
    width: 30px;    
}

.gridCell {
    background-repeat: no-repeat;
    background-position: center;
    
    background-color: gray;
}

.gridCellHiddenItem {

}

.gridCellHiddenItemVisible {
    background-color: white;    
}

.gridCellFlag {
    background-image: url('flag.png');      
}

.gridCellOpen {
    background-color: white;
    text-align: center;    
}


/* Messagebox Dialog */

#MessageBackground {
    position: absolute;
    margin: 0 auto 0 auto;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.75;
    background-color: lightgray;
    z-index: 5;
    display: none;
}

#MessageBackground .MessageBox {
    background-color: gray;
    position: relative;
    top: 40%;
    margin: auto;
    width: 240px;
    height: 80px;
    border: solid 4px white;
    padding: 10px;
}

#Message {
    font-size: xx-large;
    width: 100%;
    text-align: center;
    padding-bottom: 10px;
}

#Message .lost {
    color: red;
}

#messageDialogOK, #optionsDialogOK {
    float: right;
    width: 50px;
    text-align: center;
    background-color: darkgreen;
    color: white;
    border: 2px solid white;
    border-radius: 10px;
    padding: 5px;
    margin-bottom: 20px;   
    cursor: pointer;
}