﻿#game {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    margin-right: auto;
    margin-left: auto;
    min-height: 500px;
    width: 1350px;
    /*width: 98%;*/
    /* Fixed design height so Scaling.js can treat #game as a stable 1350x1015
       canvas. Was height:98% (viewport-relative), which double-counted the
       viewport height once the body was also scaled, causing clipping. */
    height: 1015px;
    /*max-height: 750px;
    max-width: 1350px;*/
    overflow: hidden;
    display: none;
}

#gameCardsLeft {
    position: absolute;
    top: 0px;
    left: 0px;
    /*height: 475px;*/
    width: 265px;
    min-height: 237.5px;
    height: 70%;
    overflow-x: hidden;
    overflow-y: auto;
    /*background-color: azure;*/
}

#gameCardsRight {
    position: absolute;
    top: 0px;
    left: 270px;
    /*height: 475px;*/
    width: 265px;
    min-height: 237.5px;
    height: 70%;
    overflow-x: hidden;
    overflow-y: auto;
    /*background-color: aquamarine;*/
}

.cardContainer {
    width: 250px;
    height: 35px;
    overflow: hidden;
    float: left;
    display: none;
}

    .cardContainer:hover {
        width: 250px;
        height: 210px;
        float: left;
    }

#gameControlPanel {
    position: absolute;
    top: 45.5%;
    left: 540px;
    min-height: 100px;
    height: 24%;
    width: 510px;
    overflow: hidden;
    /*background-color: blueviolet;*/
}

.gameStatsButtonsDiv {
    position: absolute;
    top: 75%;
    left: 0px;
    width: 510px;
    height: 24%;
    overflow: hidden;
    text-align: center;
}

.gameStatsGeneralDiv {
    position: absolute;
    top: 20%;
    left: 0px;
    width: 510px;
    height: 24%;
    overflow: hidden;
}

.gameStatsSpecialDiv {
    position: absolute;
    top: 45%;
    left: 0px;
    width: 510px;
    height: 24%;
    overflow: hidden;
}

.gameStatsSepcialButtonDiv {
    position: absolute;
    top: 60%;
    left: 0px;
    width: 510px;
    height: 40px;
    overflow: hidden;
    display: none;
}

.gameStatsActivePlayers {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 510px;
    height: 19%;
    overflow: hidden;
}

/*#gameMinorControlPanel {
    position: absolute;
    width: 295px;
    height: 200px;
    top: 275px;
    left: 1055px;
    overflow: hidden;
    background-color: coral;
}*/

#gameHand {
    position: absolute;
    /*top: 480px;*/
    top: 70%;
    left: 0px;
    /*height: 220px;*/
    min-height: 100px;
    height: 25%;
    width: 1350px;
    overflow-y: auto;
    overflow-x: hidden;
    /*background-color: chocolate;*/
}

.gameHandContainer {
    width: 250px;
    float: left;
}

#gameExtraStats {
    width: 1350px;
    min-height: 25px;
    height: 5%;
    /*height: 50px;
    top: 700px;*/
    top: 95%;
    /*background-color: black;*/
    position: absolute;
}

#gameMessages {
    position: absolute;
    top: 0px;
    left: 540px;
    /*height: 294px;*/
    min-height: 100px;
    width: 510px;
    height: 45%;
    overflow-x: hidden;
    overflow-y: auto;
    font-size: 18px;
    /*background-color: darkblue;*/
}

#gameChat {
    position: absolute;
    top: 0px;
    left: 1055px;
    /*height: 250px;*/
    min-height: 125px;
    height: 30%;
    width: 295px;
    overflow: hidden;
    /*background-color: darkslateblue;*/
}

#gameChatInput {
    margin-top: 5px;
    width: 220px;
    display: inline-block;
}

#gameChatSend {
    width: 50px;
    margin-left: 5px;
}

#gameChatMessages {
    overflow-x: hidden;
    overflow-y: auto;
    width: 295px;
    min-height: 110px;
    height: 86%;
    font-size: 18px;
}

#gameOptions {
    position: absolute;
    top: 31%;
    left: 1055px;
    height: 38%;
    min-height: 110px;
    width: 295px;
    overflow-x: hidden;
    overflow-y: auto;
    /*background-color: burlywood;*/
    text-align: center;
}

#tempGameMessage {
    font-weight: bolder;
    font-size: 22px;
}

.gameStatsDivContainer {
    float: left;
    width: 150px;
    height: 130px;
    overflow: hidden;
}

.gameStatDiv {
    height: 40px;
    line-height: 40px;
    width: 115px;
    overflow: hidden;
    float: left;
    margin-left: 5px;
}

.gameSpecialStatDiv {
    height: 40px;
    line-height: 40px;
    width: 90px;
    overflow: hidden;
    float: left;
    margin-left: 10px;
}

.gameStatTreasureDiv {
    height: 40px;
    line-height: 40px;
    width: 140px;
    overflow: hidden;
    float: left;
    margin-left: 5px;
}

.statIcon {
    width: 30px;
    display: inline-block;
    vertical-align: middle;
}

.gameStat {
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
    font-size: 25px;
}

.gameStatsPlayers {
    float: left;
    width: 410px;
    height: 90px;
    font-size: 20px;
    text-align: center;
}

.gameStatsButtons {
    width: 430px;
    height: 40px;
    float: left;
    overflow: hidden;
}

.gameButton {
    font-size: 18px;
    width: 110px;
    height: 40px;
    margin-left: 5px;
    margin-right: 5px;
}

.gameStatsData {
    display: inline-block;
    float: left;
    height: 40px;
    line-height: 35px;
    vertical-align: middle;
    font-size: 20px;
    width: 350px;
    overflow: hidden;
}

.endOfGameStats {
    height: 340px;
    float: left;
    overflow-x: hidden;
    overflow-y: auto;
}

.gameActivePlayersTitle {
    display: inline-block;
    height: 40px;
    width: 160px;
    float: left;
    line-height: 35px;
    vertical-align: middle;
    font-size: 25px;
}

.optionButton {
    width: 290px;
    height: 40px;
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 20px;
}

.gameExtraStatDiv {
    display: inline-block;
    float: left;
    width: 165px;
    height: 45px;
    margin-right: 20px;
    margin-left: 5px;
    margin-top: 5px;
    /*background-color: limegreen;*/
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    font-size: 25px;
    line-height: 35px;
}

#moreStatsButton{
    visibility: hidden;
}

#moreStatsCloseButton{
    visibility: hidden;
}
