span.intLink, #chessClosePanel {
	cursor: pointer;
}

a.chessCtrlBtn:link, span.chessCtrlBtn {
	margin: 0 20px;
	text-decoration: none;
	-moz-user-select: none;
	color: #000000;
	cursor: default;
	height: 21px;
	padding: 0 8px;
	font: 13px / 20px "Lucida Grande", sans-serif;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	background: rgb(235, 235, 235);
	-moz-box-shadow:
		0 1px 0 rgba(0, 0, 0, 0.15),
		inset 0 1px 0 rgba(0, 0, 0, 0.2),
		inset 0 0 1px rgba(0, 0, 0, 0.8),
		inset 0 0 1px #000,
		inset 0 10px 5px -5px rgba(255, 255, 255, 1),
		inset 0 -20px 10px -10px rgba(255, 255, 255, 0.8),
		inset 0 -13px rgba(0, 0, 0, 0.1);
	-webkit-box-shadow:
		0 1px 0 rgba(0, 0, 0, 0.15),
		inset 0 1px 0 rgba(0, 0, 0, 0.2),
		inset 0 0 1px rgba(0, 0, 0, 0.8),
		inset 0 0 1px #000,
		inset 0 10px 5px -5px rgba(255, 255, 255, 1),
		inset 0 -20px 10px -10px rgba(255, 255, 255, 0.8),
		inset 0 -13px rgba(0, 0, 0, 0.1);
	box-shadow:
		0 1px 0 rgba(0, 0, 0, 0.15),
		inset 0 1px 0 rgba(0, 0, 0, 0.2),
		inset 0 0 1px rgba(0, 0, 0, 0.8),
		inset 0 0 1px #000,
		inset 0 10px 5px -5px rgba(255, 255, 255, 1),
		inset 0 -20px 10px -10px rgba(255, 255, 255, 0.8),
		inset 0 -13px rgba(0, 0, 0, 0.1);
}
a.chessCtrlBtn:active:hover, span.chessCtrlBtn:active:hover {
	background-color: #79A7D5;
	-moz-box-shadow:
		0 1px 0 rgba(0, 0, 0, 0.15),
		inset 0 1px 0 rgba(0, 0, 0, 0.2),
		inset 0 0 1px rgba(0, 0, 0, 0.8),
		inset 0 0 1px #000,
		inset 0 10px 5px -5px rgba(255, 255, 255, 0.4),
		inset 0 -20px 10px -10px #A4D6F1,
		inset 0 -13px #387CC0;
	-webkit-box-shadow:
		0 1px 0 rgba(0, 0, 0, 0.15),
		inset 0 1px 0 rgba(0, 0, 0, 0.2),
		inset 0 0 1px rgba(0, 0, 0, 0.8),
		inset 0 0 1px #000,
		inset 0 10px 5px -5px rgba(255, 255, 255, 0.4),
		inset 0 -20px 10px -10px #A4D6F1,
		inset 0 -13px #387CC0;
	box-shadow:
		0 1px 0 rgba(0, 0, 0, 0.15),
		inset 0 1px 0 rgba(0, 0, 0, 0.2),
		inset 0 0 1px rgba(0, 0, 0, 0.8),
		inset 0 0 1px #000,
		inset 0 10px 5px -5px rgba(255, 255, 255, 0.4),
		inset 0 -20px 10px -10px #A4D6F1,
		inset 0 -13px #387CC0;
}
div.chessFilmBox {
	position: absolute;
	left: 0;
	top: 0;
	border: 1px #000000 solid;
	background-color: #ffffaa;
	opacity: 0.5;
	filter: alpha(opacity=50);
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	z-index: 10000000;
}

div.gnotify {
	padding: 10px;
	z-index: 10000001;
}

/** Normal Style Positions **/
div.gnotify { position: fixed; }

div.gnotify.top-left {
	left: 0;
	top: 0;
}

div.gnotify.top-right {
	right: 0;
	top: 0;
}

div.gnotify.bottom-left {
	left: 0;
	bottom: 0;
}

div.gnotify.bottom-right {
	right: 0;
	bottom: 0;
}

div.gnotify.center {
	top: 0;
	width: 50%;
	left: 25%;
}

div.gnotify-message span.intLink, div.gnotify-message a, div.gnotify-message a:link, div.gnotify-message a:visited, div.gnotify-message a:hover {
	font-weight: bold;
	text-decoration: inherit;
	color: inherit;
}

/** Cross Browser Styling **/
div.center div.gnotify-notification, div.center div.gnotify-closer {
	margin-left: auto;
	margin-right: auto;
}

div.gnotify div.gnotify-notification, div.gnotify div.gnotify-closer {
	background-color: #000000;
	color: #ffffff;
	opacity: 0.85;
	filter: alpha(opacity=85);
	width: 235px;
	padding: 10px;
	margin-top: 5px;
	margin-bottom: 5px;
	font-size: 12px;
	text-align: left;
	display: none;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

div.gnotify div.gnotify-notification { min-height: 40px; }

div.gnotify div.gnotify-notification div.header {
	font-weight: bold;
	font-size: 10px;
}

div.gnotify div.gnotify-notification div.close {
	float: right;
	font-weight: bold;
	font-size: 12px;
	cursor: pointer;
}

div.gnotify div.gnotify-closer {
	height: 15px;
	padding-top: 4px;
	padding-bottom: 4px;
	cursor: pointer;
	font-size: 11px;
	font-weight: bold;
	text-align: center;
}

#chessboardsBox {
	position: relative;
	margin-left: auto;
	margin-right: auto;
	left: 0;
	top: 0;
	clear: both;
	overflow: visible;
	background-color: #781d25;
}
#chessSizeHandle {
	background-color: transparent;
	color: #333333;
	font-size: 24px;
	line-height: 24px;
	width: auto;
	height: auto;
	position: absolute;
	right: -12px;
	bottom: -12px;
	float: right;
	margin-top: auto;
	cursor: se-resize;
}

#chess3DBox {
	/**
	* width: [DYNAMIC VALUE];
	* height: [DYNAMIC VALUE];
	*/
	float: left;
}

#chess2DBox {
	/**
	* width: [DYNAMIC VALUE];
	* height: [DYNAMIC VALUE];
	*/
	float: right;
}
#chessCtrlPanel, #chessCtrlPanel select, #chessCtrlPanel input[type=text] {
   background-color:#fcfcfc;
   background-image:url('/csr/images/textures/paper_white.jpg');
   border:1px solid #dddddd;
   padding:10px;
   border-radius:6px;
   -moz-border-radius:6px;
   -webkit-border-radius:6px;color:#333333;
   text-shadow:0px 1px 0px rgb(240,240,240); /* IE7 */
   text-shadow:0px 1px 0px rgba(255,255,255,0.75);
   box-shadow:0 0 5px #dddddd;
   -moz-box-shadow:0 0 5px #dddddd;
   -webkit-box-shadow:0 0 5px #dddddd;
   border:1px solid #cccccc;
   box-shadow:inset 0 0 5px #cccccc;
   -moz-box-shadow:inset 0 0 5px #cccccc;
   -webkit-box-shadow:inset 0 0 5px #cccccc;
}

#chessCtrlPanel input[type=text] {
   width:158px;
   margin-top:10px;
}

#chessCtrlPanel {
	position: absolute;
	top: 5px;
	right: 5px;
	width: 180px;
	height: auto;
	overflow: hidden;
   background-color:#f6f6f6;
   background-image:url('/csr/images/textures/fabric_white_light.jpg');
   border:1px solid #d6d6d6;padding:10px;border-radius:6px;
   -moz-border-radius:6px;
   -webkit-border-radius:6px;
   color:#666666;
   text-shadow:0px 1px 0px rgb(240,240,240); /* IE7 */
   text-shadow:0px 1px 0px rgba(255,255,255,0.75);
   box-shadow:0 0 5px #dddddd;
   -moz-box-shadow:0 0 5px #dddddd;
   -webkit-box-shadow:0 0 5px #dddddd
}

#chessCtrlPanel form {
	clear: both;
}

#chessClosePanel {
	width: auto;
	height: auto;
	margin: 0 12px 1px auto;
	float: right;
}

#chessCtrlPanel p {
	margin-top: 6px;
	text-align: center;
}

#chessInfo span.intLink {
	color: #ffffff;
	text-decoration: underline;
}

span.infoKey, span.infoVal {
	color: #ffffff;
	cursor: pointer;
}

span.infoKey {
	font-weight: bold;
}

#chessMoves {
	width: 180px;
	height: 180px;
	padding: 4px;
	font-family: Courier New, Courier;
	font-size: 12px;
}

#chessMoves, #chessAlgebraic {
	border: 1px solid #778284;
	background-color: transparent;
	color: #ffffff;
}

#chessAlgebraic {
	width: 90%;
	margin-top: 3px;
	font-size: 11px;
}

#chessInfo p {
	text-align: center;
	margin: 6px 4px 6px 4px;
}

#chessCurtain {
	display:table;
	width: 100%;
	height: 100%;
	position: fixed;
	left: 0;
	top: 0;
	background-color: #000000;
	opacity: 0.5;
	filter: alpha(opacity=50);
	z-index: 10000002;
}

#chessLoading {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	border: 1px #000000 solid;
	color: #ffff00;
}
