/* General */

a {
 color: #74663d;
}

a:hover {
	color: #463602;
} 

img {
	border: 0px;
	margin: 0px;
}

table#broadcast_env {
	font-size: 10pt;
	font-family: Tahoma;
	width: 1000px;
	margin-top: 10px;
	margin-bottom: 10px;
	text-align: left;
}

/* END General */

/* Games panel */

#games_panel {
	width: 132px;
	vertical-align: top;
}

table#broadcast_env td#games_panel h2 {
	margin: 0;
	font-size: 13px;
	padding: 3px;
	font-weight: normal;
	background: url('../images/layout/header.png');
	text-align: center;
	

}

table#broadcast_env td#games_panel div#gameslist {
	vertical-align: top;
	background: white;
	
	overflow: auto;
	width: 135px;
}

table#broadcast_env td#games_panel div.game {
	width: 132px;
	font-size: 11px;
	height: 32px;
	padding-left: 3px;
	padding-top: 1px;
	margin-top: 1px;
	font-weight: bold;
	background: url('../images/layout/gamebg.png') no-repeat;
}

table#broadcast_env td#games_panel div.game:hover {
	background: url('../images/layout/gamebg_hover.png') no-repeat;
	cursor: pointer;
}

table#broadcast_env td#games_panel div.selected {
	background: url('../images/layout/gamebg_selected.png') no-repeat;
}

table#broadcast_env td#games_panel div.selected:hover {
	background: url('../images/layout/gamebg_selected.png') no-repeat;
	cursor: default;
}

table#broadcast_env td#games_panel div.game span.lastmoves {
	font-weight: normal;
}

table#broadcast_env td#games_panel div.game span.updated {
	color: #469aff;
}

/* END Games panel */

/* Game header & board panel */
	table#broadcast_env td#other_panels {
		vertical-align: top;
	}

	table#game_details td#board {
		width: 430px;
		vertical-align: top;
	}

	div#game_header {
		left: -1px;
		top: -1px;
		position: relative;
	}
	
	table#table_game_header {
		width: 432px;
		color: white;
		height: 30px;
	}

	table#table_game_header td {
		padding: 3px;
		background: url('../images/board/boardedge.png');
	}
	
	table#table_game_header td span.player_clock {
		font-size: 11px;
	}
	
	table#table_game_header td#header_clock {
		width: 48px;
		text-align: center;
		vertical-align: middle;
	}

	table#table_game_header td#header_white {
		text-align: right;
		width: 192px;
	}

	table#table_game_header td#header_black {
		width: 192px;
	}
	
	table#table_game_header td.tomove {
		border: 2px solid white;
	}
	
	table#table_game_header td.active {
		color: #fff8d5;
	}
	
	a#flipicon {

	}
	
	#flipicon img {
		border: 0px;
	}
	
/* END Game header panel */

/* Board */

	table#game_board {
		position: relative;
		width: 432px;
		height: 430px;
		background: #eae4b8;
		left: -1px;
		top: -1px;
		font-size: 10px;
		font-weight: bold;
		color: white;
	}
	
	table#game_board td {
		text-align: center;
		padding: 0px;
		margin: 0px;
	}
	
	table#game_board td img {
		padding: 0px;
		margin: 0px;
		border: 0px;
	}

	table#game_board td.corner {
		width: 15px;
		height: 15px;
		background: url('../images/board/boardedge.png');
	}
	
	table#game_board td.lettertop {
		width: 50px;
		height: 15px;
		vertical-align: middle;
		border-bottom: 1px solid #5d371f;
		background: url('../images/board/boardedge.png');
	}

	table#game_board td.letterbottom {
		width: 50px;
		height: 15px;
		vertical-align: middle;
		border-top: 1px solid #5d371f;
		background: url('../images/board/boardedge.png');
	}
	
	table#game_board td.numberleft {
		width: 15px;
		height: 50px;
		vertical-align: middle;
		border-right: 1px solid #5d371f;
		background: url('../images/board/boardedge.png');
	}

	table#game_board td.numberright {
		width: 15px;
		height: 50px;
		vertical-align: middle;
		border-left: 1px solid #5d371f;
		background: url('../images/board/boardedge.png');
	}
	
	table#game_board td.white {
		background: url('../images/board/white.png') no-repeat;
		width: 50px;
		height: 50px;
	}
	
	table#game_board td.black {
		background: url('../images/board/black.png') no-repeat;
	}

/* END Board */

/* Notation Panel */

table#game_details td#notation {
	width: 424px;
	vertical-align: top;
	padding-left: 8px;
	height: 100%;
}

#notation_box {
	position: relative;
	left: -1px;
	top: -1px;
	padding: 2px;
	background: #eae4b8;
	width: 416px;
	height: 429px;
	overflow: auto;
	font-size: 15px;
	border: 2px solid #5d371f;
}

.num {
	color: #124f4b;
	font-weight: bold;
}

a {
	color: #6e5638;
	text-decoration: none;
}

.commentary {
	color: #124f4b;
}

.invisible {
	color: #eae4b8;
	display: none;
}

.variation {
	padding-left: 30px;
	font-size: 14px;
}

.variation .num {
	font-weight: normal;
	color: #2e6d69;
}

.variation a {
	color: #8c7455;
}

.hidden {
	display: none;
	visibility: hidden;
}

span.selected a {
	background: #6e5638;
	color: #eae4b8;
}

span.jumpoption {
	font-size: 10px;

}

span.jumpoption input {
	border: 1px solid #5d371f;
	cursor: pointer;
	top: 3px;
	position: relative;
}

#move_buttons {
	position: relative;
	left: -1px;
	top: -1px;
	background: #eae4b8;
	width: 420px;
	height: 26px;
	font-size: 15px;
	border: 2px solid #5d371f;
	border-top: 0px;
}

div.move_button {
	float: left;
	background: #e2d6b2;
	color: black;
	padding-left: 2px;
	padding-right: 2px;
	font-size: 15px;
	padding-bottom: 2px;
	border-top: 1px solid #eae4b8;
	border-left: 1px solid #eae4b8;
	border-bottom: 1px solid black;
	border-right: 1px solid black;
	width: 18px;
	height: 18px;
	margin-left: 2px;
	margin-top: 2px;
	text-align: center;
}

div.move_button:hover {
	cursor: pointer;
	background: #d0c299;
}

div.curr_fen {
	float: left;
	margin-left: 4px;
	margin-top: 2px;
	font-size: 12px;
	font-weight: bold;
	color: #124f4b;
}

div.curr_fen input#currfen {
	background: #eae4b8;
	border: 1px solid #5d371f;
	width: 278px;
	margin-top: 1px;
	font-size: 12px;
	height: 16px;
}

div.move_button:active {
	background: #d0c299;
	border-bottom: 1px solid #eae4b8;
	border-right: 1px solid #eae4b8;
	border-top: 1px solid black;
	border-left: 1px solid black;
}

/* END Notation Panel */

/* Board SVG */
div#board_svg {
	position: absolute;
	z-index: 10;
}
/* END Board SVG */

/* Broadcast Features */

	div#cast_features {
		margin-top: 10px;
		width: 854px;
		padding: 3px;
		background: #eae4b8;
		position: relative;
		left: -1px;
		top: -1px;
		border: 2px solid #5d371f;
		border-bottom: 0px;
	}

/* END Broadcast Features */

/* Chat */

	div#chat_content {
		border: 2px solid #5d371f;
		background: #eae4b8;
		position: relative;
		left: -1px;
		top: -1px;
	}
	
	table#chat_table td {
		padding: 3px;
		vertical-align: top;
	}
	
	table#chat_table td#chat {
		border-right: 2px solid #5d371f;
		height: 250px;
	}

	p#chatwindow {
		width: 550px;
		height: 225px;
		margin: 0px;
		margin-bottom: 10px;
		background: white;
		border-bottom: 1px solid silver;
		border-right: 1px solid silver;
		border-top: 1px solid black;
		border-left: 1px solid black;
		padding: 3px;
		overflow: auto;
	}
	
	p#chatwindow span.nick {
		color: #5d371f;
		font-weight: bold;
	}
	p#chatwindow span.time {
		font-size: 10px;
		color: gray;
	}

/* END Chat */

/* Broadcast List */

	table#chat_table td#castlist {
		padding: 0px;
	}
	
	div#broadcast_list {
		padding: 3px;
		height: 250px;
		overflow: auto;
	}
	input#chatnick, input#chatmsg {
		border: 1px solid #5d371f;
	}
	
	input#submitbutton {
		background: #e2d6b2;
		color: black;
		border: 1px solid #5d371f;
		cursor: pointer;
	}
	
/* END Broadcast List */

/* Drop Shadow technics */

	div.shadow1 {
		background: #cfcfcf;
		position: relative;
		top: 3px;
		left: 3px;
	}
	
	div.shadow1table {
		margin-top: 5px;
		background: #cfcfcf;
		position: relative;
		top: 3px;
		left: 3px;
	}
	
	div.shadow2 {
		background: #707070;
		position: relative;
		top: -1px;
		left: -1px;
	}

/* END Drop Shadow technics */