html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:text-top;}sub{vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;}
.clearfix:after, .columns:after {content:".";visibility:hidden;display:block;height:0;clear:both;}
* html .clearfix, * html .columns {height: 1%;}
html, body {
	background:#FEF0C0;
}
#page {
	text-align:left;
}
#gamewrapper {
	position:relative;
}
#game, #boardstamps, #boardpawns, #chooseplayers, #options {
	width:760px;
	height:550px;
}

#gamearea {
	width:780px;
	height:600px;
	z-index: 50;
	position:relative;
}

#game {
	float:left;
	margin:0;
	width:550px;
	overflow-x:hidden;
	position:absolute;
	left:105px;
	top:25px;
}
#boardstamps, #boardpawns, #chooseplayers, #options {
	position:absolute;
	left:0;
	top:0;
}
#game.game_ludo.players_4 {
	background:url(img/ludo_board_4p_top.png) no-repeat;
}
#game .pawn {
	position:absolute;
	/*-webkit-transform: translateZ(0); //Buggy on Chrome, breaks 'onclick' on the elements */
}
#game .pawn .pawnshadow, #game .pawn .pawnimage, #game .pawn .pawnshadow div, #game .pawn .pawnimage div {
	position:absolute;
	left:0;
	top:0;
}
#game .bigpawns .pawnimage div {
	left: -15px;
	top: -28px;
	width: 32px;
	height: 43px;
	background-repeat: no-repeat;
	cursor: pointer;
	line-height: 43px;
	font-size: 43px;
	overflow: hidden;
}
#game .bigpawns .pawnshadow div {
	left:-20px;
	top:-15px;
	width:55px;
	height:50px;
	background:url(/img/ludo_pawn_shadow.png) no-repeat;
}
#game .bigpawns .red .pawnimage div{background-image:url(/img/ludo_pawn_red.png);}
#game .bigpawns .blue .pawnimage div{background-image:url(/img/ludo_pawn_blue.png); }
#game .bigpawns .green .pawnimage div{background-image:url(/img/ludo_pawn_green.png); }
#game .bigpawns .yellow .pawnimage div{background-image:url(/img/ludo_pawn_yellow.png); }

#game #boardpawns {
	
}



/*
 * Debug
 */
#debug {
	color:gray;
	font-family:Sans-serif;
	width:500px;
	padding:10px 0 0 0;
	text-align:left;
	float:left;
	display:block;
	position:relative;
	margin-top:550px;
}
#debug a {
	text-decoration:none;
}
#debug a:hover {
	color:red;
}
#lastdice {
	color:green;
	width:20px;
	margin-right:10px;
	display:inline-block;
}
#dicequeue {
	color:red;
}
#dicefill {
	width:360px;
	height:50px;
	background:url(img/debug_dicefaces.png) no-repeat;
}
#dicefill a {
	display:inline-block;
	float:left;
	width:50px;
	line-height:50px;
	overflow:hidden;
}
#dicefill a span {
	padding-left:60px;
}

#commands a {
	display:block;
	padding:2px;
	font-size:14px;
	text-align:left;
}
#debugconsole {
	background:white;
	font-size:10px;
	color:gray;
	margin-bottom:10px;
}
#debugconsole h1 {
	color:red;
}
#debugconsole div{
	border-top:1px solid silver;
	padding:1px 2px;
}

#facebookdebug {
	margin-top:200px;
	clear: both;
	font-size:10px;
}

/*
 * GAME LOBBY
 */

#gamelobby {
	width:780px;
	height:590px;
	position:absolute;
	left:0;
	top:0;
	z-index: 100;
	padding:5px;
	background:#FEF0C0;
/*
	border:1px dashed green;
*/
}


#gamelobbyheader {
	text-align:center;
	padding:20px;
	font-weight:bold;
	font-family:georgia,garamond,serif;
}
#gamelobbyheader h1{
	font-size: 400%;
}
#gamelobbyheader h2{
	font-size: 170%;
}

#gamelobby .gameroom {
	position:relative;
	width:150px;
	height:150px;
	display:inline-block;
	margin:0 20px 20px 20px;
	border:2px;
}
#gamelobby .gameroom.mygame {
	border:2px dashed #CC0000;
}

#gamelobby .playerspot {
	width:64px;
	height:64px;
	display:inline-block;
	position:absolute;
	background:white;
	border:1px solid #443333;
}
#gamelobby .playerphoto {
	width:50px;
	height:50px;
	margin:6px;
	border:1px solid #665533;
	display:inline-block;
	background:silver;
}
#gamelobby .playerphoto a {
	display:inline-block;
	width:50px;
	height:50px;
	text-decoration:none;
	text-indent:-999em;
	overflow:hidden;
}
#gamelobby .playerphoto a span {
}
#gamelobby .playerspot1 {
	background-color:#FF3333;
	bottom:5px;
	left:5px;
}
#gamelobby .playerspot2 {
	background-color:#3366FF;
	top:5px;
	left:5px;
}
#gamelobby .playerspot3 {
	background-color:#FFCC33;
	top:5px;
	right:5px;
}
#gamelobby .playerspot4 {
	background-color:#33CC33;
	bottom:5px;
	right:5px;
}

#gamelobby .playerphoto1 {
}
#gamelobby .playerphoto2 {
}
#gamelobby .playerphoto3 {
}
#gamelobby .playerphoto4 {
}


/*
 * IN-Game Avatars
 */



#avatars .gameroom {
	position:relative;
	width:140px;
	height:140px;
	display:inline-block;
	margin-bottom:20px;
}

#avatars .playerspot {
	width:64px;
	height:64px;
	display:inline-block;
	position:absolute;
	background:white;
	border:1px solid #443333;
}
#avatars .playerphoto {
	width:50px;
	height:50px;
	margin:6px;
	border:1px solid #665533;
	display:inline-block;
	background:silver;
}
#avatars .playerphoto a {
	display:inline-block;
	width:50px;
	height:50px;
	text-decoration:none;
	text-indent:-999em;
	overflow:hidden;
}
#avatars .playerphoto a span {
}
#avatars .playerspot1 {
	background-color:#FF3333;
	bottom:0px;
	left:0px;
}
#avatars .playerspot2 {
	background-color:#3366FF;
	top:0px;
	left:0px;
}
#avatars .playerspot3 {
	background-color:#FFCC33;
	top:0px;
	right:0px;
}
#avatars .playerspot4 {
	background-color:#33CC33;
	bottom:0px;
	right:0px;
}
#avatars .name {
	width:220px;
	display:inline-block;
	position:absolute;
	padding:5px;
	border:1px solid #443333;
	color:white;
	font-size:18px;
	overflow-x:hidden;
}

#avatars .name1 {
	background-color:#FF3333;
	bottom:-1px;
	left:64px;
	border-left:none; 
	text-align:left;
/*
	-moz-border-radius-bottomright: 10px;
	border-bottom-right-radius: 10px;
	-moz-border-radius-topright: 10px;
	border-top-right-radius: 10px;
*/
}
#avatars .name2 {
	background-color:#3366FF;
	top:-1px;
	left:64px;
	border-left:none; 
	text-align:left;
/*
	-moz-border-radius-bottomright: 10px;
	border-bottom-right-radius: 10px;
	-moz-border-radius-topright: 10px;
	border-top-right-radius: 10px;
*/
}
#avatars .name3 {
	background-color:#FFCC33;
	top:-1px;
	right:64px;
	border-right:none; 
	text-align:right;
/*
	-moz-border-radius-bottomleft: 10px;
	border-bottom-left-radius: 10px;
	-moz-border-radius-topleft: 10px;
	border-top-left-radius: 10px;
*/
}
#avatars .name4 {
	background-color:#33CC33;
	bottom:-1px;
	right:64px;
	border-right:none; 
	text-align:right;
/*
	-moz-border-radius-bottomleft: 10px;
	border-bottom-left-radius: 10px;
	-moz-border-radius-topleft: 10px;
	border-top-left-radius: 10px;
*/
}

