html, body {
	margin: 0px;
	padding: 0px;
}

img {
	margin: 0px;
	padding: 0px;
	border: 0px;
}


#displayOptions {
	float: left;
	font-family: Tahoma;
	font-weight: bold;
	color: white;
	font-size: 12px;
	background-color: #6a7497;
	background-image: url('../images/boardframe.jpg');
	padding: 2px;
	width: 440px;
	height: 22px;
	margin: 0px;
	margin-bottom: 5px;
	vertical-align: bottom;
	border-top: 2px solid #d2d5df;
	border-left: 2px solid #d2d5df;
	border-right: 2px solid #3b4054;
	border-bottom: 2px solid #3b4054;
}

html>body #displayOptions {
	width: 432px;
}

#displayOptions #theme {
	float: left;
}

#displayOptions #gamestate {
	float: right;
	border-bottom: 2px solid #d2d5df;
	border-right: 2px solid #d2d5df;
	border-left: 2px solid #3b4054;
	border-top: 2px solid #3b4054;
	height: 24px;
	padding-top: 2px;
	padding-right: 3px;
	padding-left: 3px;
	vertical-align: middle;
	width: 275px;
	text-align: center;
}

#gamestate img {
	margin: 0px;
	padding: 0px;
	vertical-align: bottom;
}

html>body #displayOptions #gamestate {
	height: 18px;
}

#gameOptions {
	font-family: Tahoma;
	font-weight: bold;
	color: white;
	font-size: 12px;
	background-color: #6a7497;
	background-image: url('../images/boardframe.jpg');
	padding: 2px;
	width: 440px;
	margin: 0px;
	margin-top: 5px;
	vertical-align: bottom;
	border-top: 2px solid #d2d5df;
	border-left: 2px solid #d2d5df;
	border-right: 2px solid #3b4054;
	border-bottom: 2px solid #3b4054;
	float: left;

}

html>body #gameOptions {
	width: 432px;
}

#gameOptions #difficulty {
	float: left;
	margin-right: 5px;
	width: 70px;
}

#gameOptions img {
	float: left;
}

.leftfloat {
	float: left;
	padding-top: 4px;
	margin-right: 5px;
}

#gameOptions A.btn {
	display: block;
	float: left;
	height: 24px;
	margin-right: 5px;
	padding-top: 2px;
	padding-right: 3px;
	padding-left: 3px;
	border-top: 2px solid #d2d5df;
	border-left: 2px solid #d2d5df;
	border-right: 2px solid #3b4054;
	border-bottom: 2px solid #3b4054;
	background-color: #6a7497;
	text-decoration: none;
	color: white;
}

html>body #gameOptions A.btn {
	height: 18px;
}

#gameOptions A.btn:hover {
	color: #e1e9ff;
}

#gameOptions A.btn:active {
	border-bottom: 2px solid #d2d5df;
	border-right: 2px solid #d2d5df;
	border-left: 2px solid #3b4054;
	border-top: 2px solid #3b4054;
}

#gameOptions #timer {
	float: right;
	border-bottom: 2px solid #d2d5df;
	border-right: 2px solid #d2d5df;
	border-left: 2px solid #3b4054;
	border-top: 2px solid #3b4054;
	height: 24px;
	padding-top: 2px;
	padding-right: 3px;
	padding-left: 3px;
	vertical-align: middle;
}

html>body #gameOptions #timer {
	height: 18px;
}

#gameOptions #timer img {
	margin: 0px;
	padding: 0px;
	vertical-align: bottom;
}

#chessBoard {
	float: left;
	background-color: #6a7497;
	border-top: 2px solid #d2d5df;
	border-left: 2px solid #d2d5df;
	border-right: 2px solid #3b4054;
	border-bottom: 2px solid #3b4054;
	background-image: url('../images/boardframe.jpg');
	padding: 0px;
	color: white;
	width: 440px;
	font-family: Tahoma;
	font-weight: bold;
	font-size: 10px;
}

#chessBoard tr {
	text-align: center;
}

#chessBoard td {
	padding: 0px;
	margin: 0px;
	text-align: center;
	vertical-align: middle;
	width: 50px;
	height: 50px;
}

#chessBoard td.numberleft {
	border-right: 2px solid #3b4054;
	width: 16px;
}

#chessBoard td.numberright {
	border-left: 2px solid #d2d5df;
	width: 16px;
}

#chessBoard td.lettertop {
	border-bottom: 2px solid #3b4054;
	height: 16px;
}

#chessBoard td.letterbottom {
	border-top: 2px solid #d2d5df;
	height: 16px;
}

#chessBoard td.corner {
	text-align: center;
	vertical-align: middle;
	height: 12px;
	width: 12px;
	padding: 1px;
}

#chessBoard td.cornerflip {
	text-align: center;
	vertical-align: middle;
	height: 12px;
	width: 12px;
	padding: 1px;
	border-top: 2px solid #d2d5df;
	border-left: 2px solid #d2d5df;
	border-right: 2px solid #3b4054;
	border-bottom: 2px solid #3b4054;
}



#chessBoard td.white {
	background-color: #ffffff;
	background-image: url('../images/white.jpg');
}

#chessBoard td.black {
	background-color: #a0b0c0;
	background-image: url('../images/black.jpg');
}

#chessBoard td.blackcontrolled {
	background-color: #b892c3;
	background-image: url('../images/black.hl.jpg');
}

#chessBoard td.whitecontrolled {
	background-color: #dac6e1;
	background-image: url('../images/white.hl.jpg');
}

#chessBoard td img {
	padding: 0px;
	margin: 0px;
	border: 0px;
}

#promotion {
	background-image: url('../images/black.jpg');
	border-top: 2px solid #d2d5df;
	border-left: 2px solid #d2d5df;
	border-right: 2px solid #3b4054;
	border-bottom: 2px solid #3b4054;
	width: 222px;
	text-align: center;
	padding: 2px;
	vertical-align: bottom;
	display: none;
	visibility: hidden;
	font-family: Tahoma;
	font-weight: bold;
	font-size: 12px;
	color: white;
}


html>body #promotion {
	width: 204px;
}

#promotion img {
	padding: 2px;
	margin: 0px;
	border: 0px;
	vertical-align: bottom;
}

#tabcontentborder {
	background-color: #6a7497;
	border-top: 2px solid #d2d5df;
	border-left: 2px solid #d2d5df;
	border-right: 2px solid #3b4054;
	border-bottom: 2px solid #3b4054;
	margin-top: 30px;
	padding: 4px;
	font-size: 0px;
}

#tabcontentholder {
	margin: 0px;
	font-size: 12px;
	border-bottom: 2px solid #d2d5df;
	border-right: 2px solid #d2d5df;
	border-left: 2px solid #3b4054;
	border-top: 2px solid #3b4054;
	overflow: auto;
	height: 200px;
}

#tabcontent {
	text-align: left;
	padding: 4px;
}

#movescontent {
	text-align: left;
	text-align: justify;
	font-weight: normal;
}

#moveslist {
	font-size: 13px;
}

#moveslist A {
	color: #d2d5df;
	text-decoration: none;
}

#moveslist A.selected {
	color: white;
	background-color: #a4b0de;
	text-decoration: none;
}

#moveslist .comment {
	color: #f8f98c;
}

.variations {
	display: block;
	padding-left: 25px;
	font-weight: normal;
}

.varhidden {
	background-color: #7e8ab4;
	visibility: hidden;
	display: none;
}

.nag {
	color: #f8f98c;
}

.movehidden {
}

#endbase {
	width: 575px;
	text-align: center;
}


#droppanel {
	float: right;
	margin-top: 37px;
	background-image: url('../images/black.jpg');
	border-top: 2px solid #d2d5df;
	border-left: 2px solid #d2d5df;
	border-right: 2px solid #3b4054;
	border-bottom: 2px solid #3b4054;
	height: 438px;
	text-align: center;
	padding: 2px;
	vertical-align: bottom;
	font-family: Tahoma;
	font-weight: bold;
	font-size: 12px;
	color: white;
	text-align: center;
}


html>body #droppanel {
	margin-top: 35px;
	height: 430px;
}

#figures {
	text-align: center;
}

#invis {

}

#fenstring {
	text-align: left;
	margin: 3px;
	padding: 1px;
	font-weight: normal;
	font-size: 10px;
}

#fenstring a {
	color: #d2d5df;
	text-decoration: none;
	font-weight: bold;
	background-color: #3b4054;
}

#pastefen {
	float: left;
	display: inline;
	width: 75px;
	background-color: #6a7497;
	margin-right: 4px;
	border-bottom: 2px solid #d2d5df;
	border-right: 2px solid #d2d5df;
	border-left: 2px solid #3b4054;
	border-top: 2px solid #3b4054;
	font-size: 10px;
	color: white;
	height: 24px;
	vertical-align: middle;
}