/**
 * Layout properties (main blocks)
 */

body
{
	font-family: arial, "trebuchet ms", tahoma, verdana, arial, sans, sans-serif;
	font-size: 10pt;
	margin: 0;
	padding: 0;
	background-image: url("../images/layout/stripes_dark.png");
	background-repeat: repeat-x;
}
a
{
	color: #a00;
	text-decoration: none;
}
a:hover
{
	text-decoration: underline;
}
#logo
{
	position: absolute;
	top: 5px;
	left: 5px;
	z-index: 5;
	display: none;
}
#top
{
	height: 70px;
	color: white;
	background-image: url("../images/layout/logo_uno.png");
	background-repeat: no-repeat;
	background-position: 0 5px;
}
#top h1
{
	position: absolute;
	top: 10px;
	left: 140px;
	font-size: 1em;
	margin: 0;
	color: #444;
}
#top #welcometo
{
	position: absolute;
	top: 25px;
	left: 140px;
	font-size: 1em;
	color: #666;
}
#login_box
{
	float: right;
	/*height: 87px;*/
	padding: 8px 8px 0 8px;
	font-size: 0.9em;
	/*
	overflow: hidden;
	background-image: url("../images/layout/title_dark.png");
	background-color: #000;
	background-repeat: repeat-x;
	border-left: 1px solid #000;
	*/
}
#login_box input
{
	margin-bottom: 5px;
}
#login_box input[type="text"], #login_box input[type="password"]
{
}
form
{
	padding: 0;
	margin: 0;
}
#login_box #lostpasswd
{
	display: block;
	float: left;
	width: 65px;
	color: #fff;
	font-size: 0.9em;
	text-decoration: none;
	margin-left: 5px;
	line-height: 1em;
}
#login_box #lostpasswd:hover
{
	text-decoration: underline;
}
#login_box .button
{
	float: left;
}
#login_box #connectedas
{
	color: #fff;
	text-decoration: none;
}
#login_box #scores
{
	padding: 5px 0 5px 55px;
	margin: 0;
	line-height: 1em;
	color: #aaa;
	background-image: url("../images/icons/scores.png");
	background-repeat: no-repeat;
	list-style-type: none;
}
#login_box #disconnect a
{
	display: block;
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	background-image: url("../images/icons/disconnect.png");
	background-repeat: no-repeat;
	background-position: right 1px;
	padding-right: 20px;
	text-align: right;
}
#login_box #disconnect a:hover, #login_box #connectedas:hover
{
	text-decoration: underline;
}
#tabs
{
	height: 25px;
	overflow: hidden;
	padding-left: 75px;
	z-index: 6;
	background-image: url("../images/layout/logo_uno.png");
	background-repeat: no-repeat;
	background-position: 0 -65px;
	margin-right: 150px;
}
#tabs a
{
	display: block;
	height: 20px;
	color: #ccc;
	float: left;
	text-transform: uppercase;
	text-decoration: none;
	padding: 5px 10px 0 10px;
	letter-spacing: -1px;
	border-right: 1px solid #444;
}
#tabs a:hover, #tabs a.selected
{
	background-color: #444;
	color: #fff;
}
#content
{
	padding: 15px 10px 10px 10px;
}
#languages
{
}
#index_layout td
{
	vertical-align: top;
}
#index_layout_left
{
	padding-right: 5px;
	width: 35%;
}
#index_layout_middle
{
	padding: 0 5px;
}
#index_layout_right
{
	padding-left: 5px;
	width: 20%;
}
.block
{
	background-image: url("../images/layout/shadow.gif");
	background-repeat: repeat-x;
	background-color: #f6f6f6;
	border: 1px solid #ccc;
	padding: 10px;
	text-align: justify;
	margin-bottom: 10px;
	-moz-border-radius: 0 0 15px 15px;
	border-radius: 0 0 15px 15px;
}
#footer
{
	padding: 20px 10px 10px 10px;
	clear: both;
	font-size: 0.7em;
	color: #888;
}
#footer #footer_left, #footer #footer_right
{
	padding-bottom: 10px;
}
#footer #footer_left
{
	float: left;
	text-align: left;
}
#footer #footer_right
{
	float: right;
	text-align: right;
}

/**
 * Fade screen when the game is finished
 * Contains various classes to display cards and scores
 */

#fade
{
	display: none;
	background-color: #000;
	position: absolute;
	/*height: 100%;*/
	width: 100%;
	top: 0;
	left: 0;
	z-index: 10;
	text-align: center;
}
#fade_content
{
	display: none;
	position: absolute;
	width: 75%;
	top: 50;
	left: 12.5%;
	z-index: 11;
	text-align: center;
	margin: 50px auto;
}
#fade_content .block
{
	margin: 0 auto;
}
#fade_content table
{
	width: 100%;
	border: 0 none;
	border-collapse: collapse;
}
#fade_block .scoreBlock
{
	font-size: 1.2em;
	letter-spacing: -1px;
	padding-right: 10px;
	text-align: center;
	-moz-border-radius: 9px;
	border-radius: 9px;
}
#fade_block .scoreInfos
{
	background-color: #444;
	color: #fff;
	border: 1px solid #000;
	padding: 5px;
	-moz-border-radius: 9px;
	border-radius: 9px;
}
#fade_block img
{
	margin-right: 5px;
}
#youwonthisgame, #youlosthisgame, #notloggedin
{
	display: none;
	padding: 5px;
	text-align: center;
	font-size: 1.25em;
}
#notloggedin
{
	color: #ff6;
}
#gobacktoindex
{
	display: none;
	text-decoration: none;
	font-style: italic;
	color: #a00;
}
#howtoregister
{
	text-decoration: blink;
	color: #fff;
}
#gobacktoindex:hover, #howtoregister:hover
{
	text-decoration: underline;
}
#winneris, #winnerscore1, #winnerscore2, #loserscore
{
	font-weight: bold;
}

/**
 * Board properties
 * #board is the main container
 * #players is the players'container
 * #playable_cards is the player's cards container
 */

#board
{
	border-collapse: collapse;
	width: 100%;
}
#players_box
{
	vertical-align: top;
	padding-right: 5px;
}
#players
{
	width: 100%;
	border: 0 none;
	border-collapse: collapse;
	min-height: 500px;
}
#playable_cards_box
{
	vertical-align: top;
	padding-left: 5px;
}
.playable_card_mini
{
	height: 75px;
	width: 49px;
}
.playable_card_disabled
{
	padding: 2px;
}
.playable_card
{
	cursor: pointer;
	padding: 2px;
	background-image: url("../images/cards/loading.gif");
	background-repeat: no-repeat;
	background-position: 2px 2px;
}
.playable_card:hover, .playable_card_double
{
	background-image: url("../images/layout/card_border.gif");
	background-repeat: no-repeat;
	background-position: 0 0;
}
.title, h2
{
	text-align: center;
	background-color: #444;
	background-image: url("../images/layout/title_dark.png");
	background-repeat: repeat-x;
	color: #fff;
	padding: 5px 10px;
	font-size: 1.5em;
	letter-spacing: -1px;
	margin-bottom: 0;
	margin-top: 0;
	-moz-border-radius: 9px 9px 0 0;
	border-radius: 9px 9px 0 0;
}
#history_last
{
	text-align: left;
	margin-bottom: 5px;
	font-size: 1.4em;
	-moz-border-radius: 9px;
	border-radius: 9px;
}
#history_scrollbox
{
	height: 300px;
	overflow: auto;
	text-align: left;
}
#joker_cards_box
{
	display: none;
	padding-bottom: 10px;
}
#joker_cards
{
}
#joker_cards img
{
	float: left;
	margin: 0 5px 5px 0;
}
#joker_cards #joker_choice
{
	clear: both;
}
#joker_cards #joker_choice label
{
	cursor: pointer;
}
#joker_cards .joker_button, .config_button
{
	float: right;
	position: relative;
	top: -20px;
	margin-left: 5px;
}
#configuration_box
{
	display: none;
	padding-bottom: 5px;
}
#configuration_label, #players_label, #joker_cards_label, #playable_cards_label
{
	margin-top: 0;
}

/**
 * Players's container properties (cards and players)
 * #deckstock represents the middle of the board
 * .player represents a player
 */

#deckstock_box
{
	text-align: center;
}
#deckstock
{
	margin: auto;
	background-image: url("../images/layout/deckstock.jpg");
	background-repeat: repeat-x;
	background-color: #960000;
	border: 1px solid #922;
	color: #fff;
}
#deck, #stock
{
	text-align: center;
	padding: 5px;
	margin: 0 20px;
}
.player_box
{
}
.player
{
	text-align: center;
	padding: 3px 10px;
	margin: 0 5px;
	-moz-border-radius: 9px;
	border-radius: 9px;
	/*border: 1px solid #fff;
	border-color: #888 #eee #eee #888;*/
}
.player_name
{
	font-weight: bold;
	letter-spacing: -1px;
	font-size: 1.1em;
}
.human_name
{
	color: #a00;
	color: #a00;
}
.player_cards
{
	height: 100px;
	background-image: url("../images/layout/card_loop.png");
	background-repeat: repeat-x;
	margin: 3px auto;
	width: 56px;
	text-align: left;
}
.player_cards_end
{
	background-image: url("../images/layout/card_end.gif");
	background-repeat: no-repeat;
	background-position: right top;
	position: relative;
	top: 0;
	right: -4px;
}
.player_card
{
	position: relative;
	top: 0;
	left: -9px;
	height: 100px;
	width: 65px;
	background-image: url("../images/cards/black/uno.gif");
	background-repeat: no-repeat;
	margin: 0;
}
.player_num
{
	font-size: 0.9em;
	letter-spacing: -1px;
	color: #666;
}

/**
 * Various elements
 */

.button
{
	background-image: url("../images/layout/shadow.gif");
	background-repeat: repeat-x;
	background-color: #f6f6f6;
	border: 1px solid #888;
	cursor: pointer;
	padding: 2px 5px;
}
.yourturn, .highlight
{
	background: #fa8;
}
.white
{
	color: #fff;
}
.red
{
	color: #c00;
}
.green
{
	color: #080;
}
.blue
{
	color: #00a;
}
.yellow
{
	color: #880;
}
.black
{
	color: #000;
}
.grey
{
	color: #555;
}
.important
{
	color: #a00;
	font-weight: bold;
}
.register, .login, .config
{
	color: #ff8;
}
#movable_card
{
	background-image: url("../images/cards/loading.gif");
	background-repeat: no-repeat;
	position: absolute;
	visibility: hidden;
}
#usethedeck
{
	position: absolute;
	display: none;
	font-size: 1.5em;
	font-weight: bold;
	letter-spacing: -1px;
	text-align: center;
	color: #000;
}
.gD_normal_top_left, .gD_normal_btm_right, .gD_reverse_top_left, .gD_reverse_btm_right
{
	background-repeat: no-repeat;
	background-position: center center;
}
.gD_normal_top_left
{
	background-image: url("../images/icons/gD_normal_top_left.png");
}
.gD_normal_btm_right
{
	background-image: url("../images/icons/gD_normal_btm_right.png");
}
.gD_reverse_top_left
{
	background-image: url("../images/icons/gD_reverse_top_left.png");
}
.gD_reverse_btm_right
{
	background-image: url("../images/icons/gD_reverse_btm_right.png");
}
#board_btm_left, #board_btm_right, #board_top_left, #board_top_right
{
	text-align: center;
}
#pause
{
	cursor: pointer;
}
.wait
{
	cursor: wait;
}
.blink
{
	text-decoration: blink;
}
.usable_deck
{
	cursor: pointer;
}
.block p, .block ul
{
	margin: 5px 0;
}
em
{
	color: #666;
}
h3
{
	margin: 0;
	font-weight: bold;
	letter-spacing: -1px;
	font-size: 1.25em;
}
a img
{
	border: 0 none;
}
.disabled
{
	background-color: #ddd;
	color: #888;
}

/**
 * Gestion des messages utilisateur
 * Erreurs, avertissements, informations, neutres
 */
 
#messages .message
{
	margin-bottom: 10px;
}
.message
{
	padding: 10px;
	margin-top: 10px;
}
.message ul
{
	margin: 0;
	padding: 0 0 0 20px;
}
.error
{
	background-image: url("../images/layout/error.jpg");
	background-repeat: repeat-x;
	background-color: #970103;
	color: #fff;
}
.warning
{
	background-image: url("../images/layout/warning.jpg");
	background-repeat: repeat-x;
	background-color: #959500;
	color: #000;
}
.info
{
	background-image: url("../images/layout/info.jpg");
	background-repeat: repeat-x;
	background-color: #037401;
	color: #fff;
}
.neutral
{
	background-image: url("../images/layout/neutral.jpg");
	background-repeat: repeat-x;
	background-color: #959595;
	color: #000;
}
.message_count
{
	font-size: 1.5em;
	letter-spacing: -1px;
}

/**
 * Index page and all its blocks
 * Plus various blocks of other pages
 */

#top_scores table, #flop_scores table
{
	border-collapse: collapse;
	margin-bottom: 0;
	width: 100%;
}
#top_scores a, #flop_scores a
{
	color: #800;
}
#top_scores h3, #flop_scores h3
{
	text-align: center;
}
#top_score_total, #top_score_best, #flop_score_total, #flop_score_worst
{
	width: auto;
	border-collapse: collapse;
	margin: 10px 0;
	text-align: center;
	border: 1px solid #aaa;
}
#top_score_total td, #top_score_best td, #flop_score_total td, #flop_score_worst td
{
	padding: 3px 7px;
}
.pair
{
	background-color: #fff;
}
.impair
{
	background-color: #ddd;
}
#top_score_total tr, #top_score_best tr, #flop_score_total tr, #flop_score_worst tr
{
	cursor: pointer;
}
#top_score_total tr:hover, #top_score_best tr:hover, #flop_score_total tr:hover, #flop_score_worst tr:hover
{
	color: #c00;
}
.statistics
{
	margin-top: 10px;
	width: 100%;
	text-align: left;
}
.statistics .score_score
{
	padding-left: 20px;
}
.score_score
{
	text-align: right;
	font-family: monospace;
}

#register, #newgame, #account table, #contact
{
	border-collapse: collapse;
}
#register td, #newgame td, #contact td
{
	vertical-align: top;
}
#register td.legend, #newgame td.legend, #account table td.legend, #contact td.legend
{
	color: #800;
	font-size: 1.2em;
	padding-right: 20px;
	vertical-align: top;
}
#account fieldset
{
	margin-top: 10px;
}
#account fieldset legend
{
	font-style: italic;
	font-size: 1.2em;
}
#unreadable
{
	cursor: pointer;
}
#register #antispam
{
	vertical-align: top;
}
#register #register_antispam
{
	font-size: 1.65em;
	text-align: center;
	font-family: monospace;
}
#register input, #newgame input, #account input,
#register select, #newgame select, #account select
{
	font-size: 1.2em;
}
#newgame select
{
	width: 200px;
}
#profile td
{
	vertical-align: top;
	padding-right: 20px;
}
.score_classement
{
	font-size: 1.25em;
}
.score_table
{
	width: 100%;
	border-collapse: collapse;
	border: 0 none;
}
.score_table td
{
	text-align: center;
	border: 1px solid #888;
	background-color: #ddd;
}
.score_table td a
{
	display: block;
	padding: 5px;
}
.score_table td a:hover
{
	text-decoration: none;
	background-color: #a55;
	color: #fff;
}
.score_outer_table
{
	width: 100%;
	border-collapse: collapse;
	margin: 0 1px;
	background-image: url("../images/layout/shadow.gif");
	background-repeat: repeat-x;
	background-color: #f6f6f6;
}
.score_outer_table td
{
	border: 1px solid #888;
	vertical-align: top;
}
.score_inner_table
{
	padding: 0;
	width: 100%;
	border-collapse: collapse;
}
.score_inner_table td
{
	text-align: center;
	padding: 2px;
	border: 0 none;
}
.score_inner_table .statistics_row:hover
{
	background-color: #ddd;
}
.score_inner_table .score_score
{
	text-align: right;
	padding-right: 10px;
}
.score_inner_table .score_num
{
	font-weight: bold;
	text-align: left;
	padding-left: 10px;
}
.score_toolbar
{
	background-color: #666;
	padding: 5px;
	color: #fff;
	font-size: 0.8em;
}
.pageSystem_page
{
	margin: 0 1px;
	padding: 0 6px;
	font-size: 0.8em;
}
a.pageSystem_page
{
	background-color: #888;
	color: #000;
}
a.pageSystem_page:hover
{
	background-color: #aaa;
	text-decoration: none;
}
b.pageSystem_page
{
	color: #000;
	background-color: #ddd;
}
input#lostpasswd
{
	margin-top: 10px;
}
#loading_1, #loading_2
{
	background-repeat: no-repeat;
	background-position: center center;
	position: absolute;
	visibility: hidden;
}
#loading_1
{
	background-image: url("../images/icons/ajax-loader4.gif");
	width: 39px;
	height: 16px;
}
#loading_2
{
	background-image: url("../images/icons/ajax-loader.gif");
	width: 32px;
	height: 32px;
}
.news
{
	padding: 0;
	margin: 0;
}