.W_chat {
  background: #fff;
  color:#000;
}
.B_chat {
  background: #000;
  color:#fff;
}
.movelist {
  font-size: 10px;
  font-weight: bold;
}

#div_table {
  width:574px;
  height:488px;
  border:1px solid #000;
  float:left;
  z-index:1;
}

#div_squares {
  width:366px;
  height:358px;
  z-index:2;
}

#div_squares img {
  border:0px;
}

#div_squares p {
  padding: 5px 0px 0px 0px;
}



#pieces_bsu {
  width:300px;
}

#pieces_bsu th, #pieces_bsu td {
  font-weight:900;
  text-align:center;
  vertical-align:middle;
  width:100px;
  border-bottom:1px solid #000;
  border-left:1px solid #000;
}

#pieces_bsu td img {
  width:42px;
  height:41px;
}

#div_cust_setup_container {
  position:relative;
  height:480px;
}

#div_pieces_bsu {
  position:absolute;
  right:0px;
  top:0px;
  border:1px solid #000;
}

#div_puzzle_submission_info {
  position:absolute;
  right:0px;
  top:0px;
  width:250px;
  height:125px;
  border:1px solid #000;
  padding:5px;
}

#puzzle_slider_text {
  position:absolute;
  top:150px;
  right:0px;
  width:260px;
  text-align:center;
}

#puzzle_slider {
  position:absolute;
  top:165px;
  right:0px;
  width:260px;
  border:2px solid #63380b;
  background:#FF6633;
}

#next_puzzle_msg {
  position:absolute;
  display:none;
  right:0px;
  top:185px;
  width:250px;
  height:20px;
  border:2px solid #1d3464;
  background-color:#00adef;
  padding:5px;
  text-align:center;
}

#next_puzzle_msg a {
  font-size:16pt;
  color:#ffffff;
}


#puzzle_slider .ui-slider-handle {
  border-color:#63380b;
}


#cust_board_empty {
  position:relative;
  top:0px;
  left:0px;
  height:480px;
  width:400px;
  border:1px solid #000;
}

#puzzle_board_empty {
  position:relative;
  top:0px;
  left:0px;
  height:480px;
  width:400px;
}

#cust_board_empty label {
  padding-right:5px;
}

#tbl_custom_setup {
  width:400px;
  border:1px solid #000;
}

#tbl_custom_setup td {
  height:40px;
}

#tbl_chess_squares {
  border:1px solid #000;
  width:366px;
  height:358px;
  vertical-align:top;
}

#tbl_chess_squares td {
  text-align:center;
  width:42px;
  height:41px;
}

#tbl_chess_squares td img {
  width:42px;
  height:41px;
}

#tbl_chess_squares td.numbers {
  height:41px;
  width:20px;
  background-color:#ccc;
  text-align:center;
  vertical-align:middle;
}

#tbl_chess_squares td.letters {
  height:20px;
  background-color:#ccc;
  text-align:center;
  vertical-align:middle;
}

#tbl_chess_squares_thumbnail {
  border:1px solid #000;
  width:160px;
  height:160px;
}

#tbl_chess_squares_thumbnail td {
  width:19px;
}

#tbl_chess_squares_thumbnail td img {
  width:19px;
  height:19px;
}

#tbl_chess_squares_thumbnail td.numbers {
  background-color:#ccc;
  text-align:center;
  width:8px;
}

#tbl_chess_squares_thumbnail td.letters {
  background-color:#ccc;
}

#div_ddclock, #div_clock, #div_clock_host {
  display:inline;
}

#div_startgame {
  display:inline;
  height:25px;
  width:127px;
}

#div_ddclock_backup {
  display:none;
}

#btnstart, #btnresign, #btn_offer_draw {
  font-size:10px;
}

#div_resign, #div_offer_draw {
  display:none;
}

#div_speaker {
  position:absolute;
  top:10px;
  left:539px;
  width:20px;
  height:20px;
  padding:5px;
  z-index:1;
}

#div_watchers_player2 {
  height:25px;
  display:inline;
  position:relative;
  bottom:25px;
  left:-15px;
}

table#chess_move_list {
  width:190px;
}

#game_info {
  position:absolute;
  top:9px;
  left:380px;
  border:1px solid #000;
  width:194px;
}

table#chess_move_list td {
  font-size: 10px;
  font-weight: bold;
  text-align:center;
}
table#chess_move_list td.move_num {
  border:1px solid #000;
}

table#chess_move_list td.player_moves {
  border-bottom:1px solid #000;
  border-right:1px solid #000;
  border-top:1px solid #000;
  width:85px;
}
#div_list_white_name, #div_list_black_name {
  overflow:hidden;
}
#contain_movelist {
  height:230px;
  width:190px;
  overflow:auto;
  border:1px solid #000;
}
#div_chat {
  position:absolute;
  top:385px;
  left:0px;
  overflow:auto;
  width:364px;
  height:80px;
  border:1px solid #000;
}
#coresp_board_status {
  position:relative;
  top:4px;
  overflow:auto;
  width:364px;
  height:233px;
  border:1px solid #000;
  padding:0px 3px 0px 3px;
}
#chat_widgets_container {
  position:relative;
  top:85px;
  z-index:1;
}

#div_backto_wait {
  display:none;
  position:absolute;
  top:325px;
  right:200px;
}

#div_watchers_player1 {
  position: relative;
  top:20px;
  right:40px;
}

#div_peekers {
  margin-left:-50px;
  display:none;
  background-color:#00adef;
  border:4px solid #1d3464;
  position:absolute;
  top:400px;
  left:50%;
}
#div_general {
  display:none;
  margin-left:-50px;
  width:250px;
  background-color:#00adef;
  border:4px solid #1d3464;
  position:absolute;
  top:400px;
  left:50%;
}
#div_playerbooted {
  width:300px;
  display:none;
  background-color:#00adef;
  border:4px solid #1d3464;
  top:100px;
  left:100px;
  position:absolute;
}

#tbl_playerbooted {
  width:300px;
  border:0px;

}

#tbl_playerbooted td.center {
  text-align:center;
}

#div_show_playerinfo {
  width:200px;
  display:none;
  background-color:#00adef;
  border:4px solid #1d3464;
  top:100px;
  left:100px;
  position:absolute;
}
#div_takeback_move {
  position:absolute;
  display:none;
  top:50px;
  left:50px;
  background-color:#00adef;
  border:6px solid #1d3464;
  width:200px;
  height:100px;
  z-index:1;  
}

#div_takeback_move p {
  padding:10px 5px 5px 5px;
  text-align:center;
}

#takeback_move_accept, #takeback_move_reject {
  position:absolute;
  display:none;
  top:50px;
  left:50px;
  width:250px;
  height:100px;
  background-color:#00adef;
  border:4px solid #1d3464;
}

#div_draw_request {
  position:absolute;
  display:none;
  top:50px;
  left:50px;
  background-color:#00adef;
  border:6px solid #1d3464;
  width:200px;
  height:100px;
  z-index:1;
}

#div_draw_request p {
  padding:10px 5px 5px 5px;
  text-align:center;
}

#draw_response_accept, #draw_response_reject {
  position:absolute;
  display:none;
  top:50px;
  left:50px;
  width:250px;
  height:100px;
  background-color:#00adef;
  border:4px solid #1d3464;
}

#draw_response_accept p,#draw_response_reject p {
  text-align:center;
}

#div_pawnpromotion {
  display:none;
  position:absolute;
  top:50px;
  left:50px;
  background-color:#00adef;
  border:6px solid #1d3464;
  width:300px;
  height:200px;
  z-index:1;
}

#tbl_promote_pawn {
  width:300px;
  height:200px;
  border:0px;
  padding:0px;
}

#tbl_promote_pawn td {
  text-align:center;
}

#div_youlose, #div_youwin {
  display:none;
  position:absolute;
  top:50px;
  left:100px;
  background-color:#00adef;
  border:6px solid #1d3464;
  width:200px;
  height:150px;
  z-index:1;
}

#div_youlose p, #div_youwin p {
  text-align:center;
}

#div_move_busy {
  display:none;
}

#div_blackplayerinfo, #div_whiteplayerinfo {
  font-family:eurostile,'Lucida Sans Unicode', 'Lucida Grande',arial,helvetica,sans-serif;
  font-weight:bold;
  font-size:12px;
  width:75px;
}

#div_ddclock,#div_clock, #div_clock_host {
  font-family:eurostile,'Lucida Sans Unicode', 'Lucida Grande',arial,helvetica,sans-serif;
  font-weight:bold;
  font-size:12px;
  display: inline;
}

#div_tablelist {
  overflow:auto;
  height:200px;
  width:373px;
  border:1px solid #000;
}

#div_online_players {
  position:absolute;
  left:592px;
  top:0px;
  overflow:auto;
  width:227px;
  height:457px;
  border:1px solid #000;
}

table#tbl_online_players {
  width:227px;
}

table#tbl_online_players th {
  font-weight:bold;
  text-align:center;
}

table#tbl_online_players th.player {
  width:141px;
}

table#tbl_online_players th.rating {
  width:58px;
}

table#tbl_online_players th.table_number {
  width:36px;
}

table#tbl_online_players td {
  text-align:center;
}

.peeps_watching {
  overflow:auto;
  display:block;
  width:208px;
  height:30px;
}

.div_start_game, .watch_button, .cancel_button {
  display:none;
}

.join_button {
  display:block;
}

#div_chat_wait {
  overflow:auto;
  width:373px;
  height:200px;
  border:1px solid #000;
}

#div_player_at_table {
  display:none;
}

#room_list_contents {
  background-color:#FF3300;
  border:2px solid #990000;
  width:660px;
  height:458px;
  margin-left:auto;
  margin-right:auto;
}

/**
* Wait area
*/
table#table_list {
  width:353px;
}

table#table_list th {
  text-align:center;
  font-weight:900;
}

table#table_list th.table_number {
  width:32px;
}

table#table_list th.player {
  width:64px;
}

table#table_list th.watching {
  width:208px;
}

table#table_list td {
  text-align:center;
}

#tbl_game_info {
  width:302px;
  margin-left:auto;
  margin-right:auto;
}

#tbl_game_info td {
  height:25px;
}

#tbl_game_info td.avatar_w {
  border-top:1px solid #c60;
  border-left:1px solid #c60;
}

#tbl_game_info td.avatar_b {
  border-top:1px solid #c60;
  border-left:1px solid #c60;
  border-bottom:1px solid #c60;
}

#tbl_game_info td.username_w {
  background: url(/images/rc_bg_username.gif) no-repeat top left;
  border-top:1px solid #c60;
  border-left:1px solid #c60;
  border-right:1px solid #c60;
  width:137px;
  text-align:center;
  vertical-align:middle;
}

#tbl_game_info td.username_b {
  background: url(/images/rc_bg_username.gif) no-repeat top left;
  border:1px solid #c60;
  width:137px;
  text-align:center;
  vertical-align:middle;
}

#tbl_game_info td.rating_w {
  background: url(/images/rc_bg_ratings.gif) no-repeat top left;
  border-top:1px solid #c60;
  width:61px;
  text-align:center;
  vertical-align:middle;
}

#tbl_game_info td.rating_b {
  background: url(/images/rc_bg_ratings.gif) no-repeat top left;
  border-top:1px solid #c60;
  border-bottom:1px solid #c60;
  width:61px;
  text-align:center;
  vertical-align:middle;
}

.viewgame {
	background-image: url(/images/rc_btn_view_game.gif);
	background-repeat: no-repeat;
	color: #FFF;
	font-size: 10px;
	font-weight:900;
	height: 53px;
	width: 52px;
	border: 0px;
	cursor: pointer;
	background-color: #000;
}

#tbl_game_info td.player_color_white {
  background-color:#fff;
  width:25px;
  border-top:1px solid #c60;
  border-left:1px solid #c60;
  border-right:1px solid #c60;
}

#tbl_game_info td.player_color_black  {
  background-color:#000;
  width:25px;
  border:1px solid #c60;
}

#game_ad_rightside {
  position:relative;
  width:120px;
  height:600px;
  border:1px solid #000;
  float:right;
}

#oldgames_ad_rightside {
  position:absolute;
  top:258px;
  left:439px;
  width:250px;
  height:250px;
  border:1px solid #000;
  float:right;
}

/**
* Navigation when viewing previous games
*/
#oldgames_controls {
  position:absolute;
  top:0px;
  left:439px;
}
#oldgames_controls img {
  border:0px;
}
#og_begin {
  position:absolute;
  top:0px;
  left:0px;
}
#og_back {
  position:absolute;
  top:0px;
  left:50px;
}
#og_forward {
  position:absolute;
  top:0px;
  left:100px;
}
#og_end {
  position:absolute;
  top:0px;
  left:150px;
}
#oldgames_movelist {
  position:absolute;
  top:39px;
  left:439px;
  width:200px;
  height:167px;
  overflow:auto;
  border:1px solid #000;
}
#tbl_oldgames_movelist {
  width:200px;
}

#captured_pieces {
  position:absolute;
  top:296px;
  left:380px;
  width:190px;
  border:1px solid #fff;
}
#captured_white {
  position:relative;
  top:1px;
  left:0px;
  width:190px;
  height:91px;
  border:1px solid #000;
}
#captured_black {
  position:relative;
  top:3px;
  left:0px;
  width:190px;
  height:91px;
  border:1px solid #000;
}

#resign_draw_coresp {
  position:relative;
  top:3px;
  left:0px;
  width:190px;
  height:110px;
  border:1px solid #000;
}

#resign_draw_coresp p {
  padding-bottom:9px;
}

#resign_draw_coresp input {
  margin-right:5px;
  margin-bottom:10px;
}

.captured_piece {
  padding-right:3px;
  width:20px;
  height:20px;
}

/**
* Correspondence games invite list
*/
#coresp_invites {
  position:relative;
  top:4px;
  left:0px;
  width:718px;
  background-color:#eeeee2;
  /*margin-left:auto;
  margin-right:auto;*/
  margin-bottom:5px;
  padding-bottom:5px;
  float:left;
}

.coresp_invites_top {
  background: url(/images/profile_top.png) no-repeat top left;
  background-color:#FF6633;
  height:26px;
}

#coresp_invites_body {
  position:relative;
  top:5px;
  padding-left:10px;
  margin-right:5px;
}

/**
* Correspondence games list
*/
#coresp_mygames {
  position:relative;
  top:4px;
  left:0px;
  width:718px;
  /*width:618px;*/
  background-color:#eeeee2;
  /*margin-left:auto;
  margin-right:auto;*/
  margin-bottom:5px;
  padding-bottom:5px;
  float:left;
}

.coresp_mygames_top {
  background: url(/images/profile_top.png) no-repeat top left;
  background-color:#FF6633;
  height:26px;
}

#coresp_mygames_body {
  position:relative;
  top:5px;
  padding-left:10px;
  margin-right:5px;
  z-index:2;
}
#tbl_coresp_mygames, #tbl_invites {
  width:700px;
  padding-left:3px;
}

#tbl_coresp_mygames th, #tbl_invites th {
  padding:5px;
  font-weight:900;
}

#tbl_invites th.invite_op_color {
	width:75px;
}

#tbl_coresp_mygames th.tpm, #tbl_invites th.opponent, #tbl_invites th.tpm, #tbl_invites th.submiton, #tbl_invites th.notes {
  width:100px;
}

#tbl_coresp_mygames td, #tbl_invites td {
  height:40px;
  padding:5px;
}

.tr_mygames_light {
  background-color:#FFFFFF;
  height:90px;
}
.tr_mygames_dark {
  background-color:#ccc;
  height:90px;
}

/**
* New correspondence game
*/
#start_new_game {
  position:relative;
  top:4px;
  left:0px;
  width:718px;
  background-color:#eeeee2;
  /*margin-left:auto;
  margin-right:auto;*/
  margin-bottom:5px;
  padding-bottom:5px;
  float:left;
}

.start_new_game_top {
  background: url(/images/profile_top.png) no-repeat top left;
  background-color:#FF6633;
  height:26px;
}

#start_new_game_body {
  position:relative;
  top:5px;
  padding-left:10px;
  margin-right:5px;
}
#tbl_new_coresp_game {
  width:650px;
  border:1px solid #000;
}
#tbl_new_coresp_game td {
  height:40px;
}

#start_new_game_body label {
  padding:0px 10px 0px 5px;
}

#game_chat {
  border:1px solid #000;
  width:325px;
  height:50px;
}

.game_chat_instr {
  font-size:10px;
  font-weight:900;
}

.your_turn {
  color:#02a202;
}

.hoversquare {
  background-color:green;
}

.tf_wa_chat {
  width:315px;	
}

.wa_chat_me {
  color:#fff;
  background-color:#000;
}

#txtchat {
  width:305px;
}

#div_next_game {
  background-color:#fff;
  border:1px solid #000;
  text-align:center;
  padding:5px 2px 10px 3px;
}

#move_history_link {
  position:absolute;
  right:200px;
  top:250px;
  background-color:#fff;
  border:1px solid #000;
  text-align:center;
  padding:5px;
}

#back_to_cores_game {
  position:absolute;
  right:100px;
  top:220px;
  background-color:#fff;
  border:1px solid #000;
  text-align:center;
  padding:5px;
}

.next_game {
  color:#00ff00;
  font-weight:bold;
  font-size:12pt;
  vertical-align:middle;
}

