body{
    background-color: bisque;
    background-image: url(img/background-image.jpg);
}

#content{
    display:flex;
    justify-content:center;
    align-items:center;
}

#timer{
    width:125px;
    height:55px;
    border-width: 2px;
    border-style: solid;
    font-size: 300%;
    background-color: white;
    vertical-align: top;
    display: inline-block;
    text-align:center;
}

#lobby{
    padding-top:0px;
    height:500px;
    width:700px;
}

#chatDiv{
    margin-left:auto;
    margin-right:auto;
    width:700px;
    height:100px;
}

#chatText,#chatTextIngame{
    width:450px;
    height:100px;
    overflow-y:auto; 
    border: 2px; 
    border-style:solid; 
    display: inline-block; 
    text-align: left;
    
    padding: 10px 10px 10px 10px;
    background-color: lightgray ;
}

#chatUser{
    width:150px;
    height:100px;
    overflow-y:auto;
    border: 2px; 
    border-style:solid; 
    display: inline-block; 
    text-align: left;
    padding: 10px 10px 10px 10px;
    background-color: lightgray ;
}

#roomList{
    width:450px;
    height:300px;
    overflow-y:auto; 
    border: 2px; 
    border-style:solid ; 
    display: inline-block; 
    text-align: left;
    padding: 10px 10px 10px 10px;
    
    background-color: lightgray ;
}

#startGameButton{
    display: none;
}
#leaveRoomButton{
    display: none;
}

/*//////////////////////////////////////////////////////////
//Create Room Overlay*/
/* The Overlay (background) */
.overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */   
    height: 100%;
    width: 0;
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgb(0,0,0); /* Black fallback color */
    background-color: rgba(0,0,0, 0.9); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content {
    color: white;
    position: relative;
    top: 25%; /* 25% from the top */
    width: 100%; /* 100% width */
    text-align: center; /* Centered text/links */
    margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

/* The navigation links inside the overlay */
.overlay a, .overlayy a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block; /* Display block instead of inline */
    transition: 0.3s; /* Transition effects on hover (color) */
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover, .overlay a:focus, .overlayy a:hover, .overlayy a:focus {
    color: #f1f1f1;
}

/* Position the close button (top right corner) */
.closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px !important; /* Override the font-size specified earlier (36px) for all navigation links */
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
    .overlay a {font-size: 20px}
    .closebtn {
        font-size: 40px !important;
        top: 15px;
        right: 35px;
    }
}

/*/////////////////////////////////////////////////////////////////////
//Game w1060*/
#instructions{
    width: 1069px;
    height: 50px;
    border: 2px; 
    border-style:solid; 
    text-align: center;
    margin-bottom: 10px;
    overflow-y: auto;
    background-color: lightgray ;
    line-height: 50px;
    font-size: 150%;
}
.playerBox{
    width:205px;
    height:50px;
    border:2px;
    border-style: solid;
    border-color: black;
    display: inline-block;
    text-align: left;
    padding: 1px 1px 1px 1px;
    position: relative;
    overflow-y: auto;
    background-color: lightgray ;
}
#topPlayers{
    
}

#board_img{
    width: 702px;
    height: 500px;
}

.boardPolicyCards{
    position: absolute; 
    top: 68px; 
    left: 70px; 
    width: 83px; 
    height:120px;
    display: none;
}

#discardPileImg{
    height: 250px;
    width : 179px;
}
#drawPileImg{
    height: 250px;
    width: 179px;
}
#board{
    display: inline-block;
}

.electionTracker {
    top: 438px; 
    position: absolute; 
    width:30px;
    height: 30px;
    display : none;
}
.jaNeinCardsClass{
    display:inline-block;
    height: 124px;
}
.choosePolicyClass{
    display: none;
    height: 124px;
}
.playerImgs{
    height:47px;
    display: inline-block;
    float: left;
}
.playerText{
    display: inline-block;
    padding: 2px 2px 2px 2px;
    font-size: 110%;
}
#drawPile{
    display: inline-block;
}
#discardPile{
    display: inline-block;
}

.pileAmount{
    display: inline-block;
    position: absolute; 
    top: 115px; 
    left: 70px; 
    width: 40px;
    text-align: center;
    color: white;
    text-shadow: -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;
    
}

#overlayImage{
    margin: auto;
    
    position:fixed; /*You may also use fixed depending on your needs.*/
    z-index: 999;
    width: 1100px;
    height: 650px;
    
    display:none;
}


/* Sortable tables */
table.sortable thead {
    background-color:#eee;
    color:#666666;
    font-weight: bold;
    cursor: default;
}

table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

th, td {
    border-bottom: 1px solid #000;
    
    text-align: center;
    padding: 8px;
}
tr:hover {
    background-color: #f5f5f5
}
tr{
    background-color: lightgrey;
}

th {
    background-color: #4CAF50;
    border-right: 1px solid #000;
    color: white;
}

#login{
    height: 35px;
    margin-left: 90px;
}

#freshGameOverlay{
    height: 100%;
    width: 100%;
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgb(0,0,0); /* Black fallback color */
    background-color: rgba(0,0,0, 0.9); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
    
    color:white;
    
    display:none;
    justify-content:center;
    align-items:center;
    flex-direction:column;
}

#freshGameOverlayImg{
    width:128px;
    height:128px;
}

#freshGameOverlayText{
    margin-top: 20px;
    text-align: center;
}

#freshGameOverlayButton{
    width:200px;
    height:50px;
    font-size: 120%;
    margin-top: 20px
}

.customPresidentPowersOptions{
    display: none;
}

input[type=checkbox]:checked ~ .customPresidentPowersOptions {
    display : inline;
}    