body 
{
  background-image:url('chessbg.png');
  background-position:left top;
  background-repeat:no-repeat;
  background-color:black;
  color:white;
  width:741px;
  margin-left:auto;
  margin-right:auto;
  font-family: Verdana, Arial;
  font-size: 12px;
}

a
{
  color:white;
  text-decoration:none;
}

table
{
  font-family: Verdana, Arial;
  font-size: 12px;
  margin-top:10px;
  color:black;
  background-color:#cccccc;
}	

th
{
  font-weight:bold;
  border-bottom:thin solid #CDAD00;
  background-color:#CDAD00;
  color:black;
  text-align:left;
  padding-left:2px;
  padding-top:1px;
  padding-bottom:1px;
  white-space:nowrap;
}

td
{
  border: thin solid #cccccc;;
  padding:5px;
  vertical-align:top;
  text-align:left;
}

td a
{
  color:navy;
  font-weight:bold;
}

li
{
  font-size:16px;
  margin-top:10px;
  list-style:none;
  font-weight:bold;
}

li table
{
  font-weight:normal;
}

form
{
  display:inline;
  margin:0px;
  padding:0px;
  border:0px;
}

input, select
{
  border:thin solid #555555;
}

select
{
  padding:1px;
}

.button
{
  margin-bottom:2px;
}

/* main menu */
#mainmenu 
{
  margin-left:auto;
  margin-right:auto;
}

#mainmenu table, #newuser table
{
  width:600px;
}

#newuser table table
{
  width:auto;
}


#mainmenu table th
{
  padding-left:5px;
  padding-right:5px;
  padding-top:3px;
  padding-bottom:3px;
}

#mainmenu table tr td table
{
  width:auto;
}

#mainmenu li
{
  margin-bottom:20px;
}


/* chess / gui */
#deadWrapper table, #historyWrapper table, #messagesWrapper table
{
  margin-top:0px;
}

#deadWrapper td, #historyWrapper td, #messagesWrapper td
{
  padding:0px 5px 0px 5px;
}

#boardTable
{
  margin-top:0px;
}

#boardTable th
{
  text-align:center;
  padding-left:4px;
  padding-right:4px;
  background-color:#aaaaaa;
  color:black;
  border-bottom:none;
  border-top:none;
  border-left:none;
  border-right:none;
  
}

#boardTable td
{
  border: 0px;
  width:52px ! important;
  height:52px ! important;
  overflow:hidden;
}

#statusTD
{
  text-align:center;
}

#statusTD table
{
  width:100%;
}

#statusTD table td, #statusTD table th
{
  text-align:center;
}

.logoutForm
{
}


.gameInfo
{
  overflow-y:scroll;
  overflow-x:hidden;
  padding-right:2px;
  height:175px;
}

.gameInfo table, #statusTD table
{
  margin-top:0px;
  width:100%;
}

#historyWrapper
{
  margin-top:3px ! important;
}

#messagesWrapper
{
  
}

.nobr
{
  white-space:nowrap;
}

#login
{
  color:white;
}

#login table
{
  background-color:inherit;
  border:none;
  margin-left:75px;
  margin-top:75px;
}

#login table td
{
  background-color:inherit;
  border:none;
  color:white;
}

.message
{
  color:red;
  margin-top:3px;
  margin-bottom:3px;
  font-weight:bold;
}

#taunt
{
  border: thin solid #555555;
  padding:4px;
  font-family: Verdana, Arial;
  font-size: 12px;
  width:250px;
  height:75px;
  margin-top:10px;
  margin-bottom:10px;
}

th a
{
  color:black;
}

th a.disabled
{
  color:#555555;
}

.boardButton
{
  margin: 2px;
  margin-bottom: 10px;
  margin-top: 10px;
}
input[type="checkbox"]
{
  margin: 4px;
  margin-bottom: 5px;
}
