* {
	border:0;
	padding:0;
	margin:0;
	font-family:helvetica, arial, sans-serif;
}

body {
	background:url(../images/bg.png);
}

#stage {
	position:relative;
	width:800px;
	padding:20px;
	margin:20px auto;
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	background:rgba(255,255,255,0.3);
	border-top:1px solid rgba(0,0,0,0.2);
	border-left:1px solid rgba(0,0,0,0.2);
	border-bottom:1px solid rgba(255,255,255,0.5);
	border-right:1px solid rgba(255,255,255,0.5);
}

h1 {
	font-size:30px;
	line-height:32px;
	text-align:center;
	color:#fff;
	text-shadow:-1px -1px 0 rgba(0,0,0,0.2);
	padding-bottom:20px;
}

#form {
	width:340px;
	margin:0 auto;
}

.size, .difficulty, .design {
	position:relative;
	padding-bottom:10px;
}

.design {
	padding-bottom:20px;
}

.size-label, .difficulty-label, .design-label {
	font-size:13px;
	line-height:14px;
}

.size-label, .difficulty-label, .design-label {
	position:absolute;
	top:24px;
	left:0;
}

.size, .difficulty, .design {
	height:62px;
}

#size-input {
	position:absolute;
	top:0;
	right:0;
	width:30px;
	height:30px;
	padding:15px;
	color:#fff;
	font-size:16px;
	line-height:20px;
	text-align:center;
	font-weight:bold;
	text-shadow: #000 1px 1px 0;
	border: 1px solid rgba(0,0,0,0.6);
	background:url(../images/size-icon.png);
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

#difficulty-input {
	position:absolute;
	top:0;
	right:0;
	width:30px;
	height:30px;
	padding:15px;
	color:#CC8A8A;
	font-size:16px;
	line-height:20px;
	text-align:center;
	text-shadow: #fff 1px 1px 0;
	border: 1px solid rgba(0,0,0,0.6);
	background:url(../images/difficulty-icon.png);
	font-weight:bold;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}


.design input[type=radio] {
	float:right;
	display:none;
	opacity:0;
	width:1px;
	height:1px;
}

.design label {
	float:right;
	width:60px;
	height:60px;
	margin-left:10px;
	background:rgba(0,0,0,0.6);
	border: 1px solid rgba(0,0,0,0.6);
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

input[type=radio]:checked + label {
    border:1px solid #fff;
	-moz-box-shadow: 0 0 10px #fff;
	-webkit-box-shadow: 0 0 10px #fff;
	box-shadow: 0 0 10px #fff;
}

#terrain3 + label {
    background:url("../images/poker-icon.png") 0 0;
}

#terrain2 + label {
    background:url("../images/blackboard-icon.png") 0 0;
}

#terrain1 + label {
    background:url("../images/bit-icon.png") 0 0;
}



#win-text {
	font-size:14px;
	color:#fff;
	text-shadow:0 0 10px rgba(0,0,0,0.7);
	padding-bottom:20px;
	text-align:center;
}

#submit-button {
	width:150px;
	padding:8px 12px;
	font-size:14px;
	line-heigt:14px;
	text-align:center;
	margin:0 auto;
	background:#fff;
	border: 1px solid rgba(0,0,0,0.6);
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	cursor:pointer;
}

#reload {
	position:absolute;
	top:10px;
	left:10px;
	padding:8px 12px;
	font-size:14px;
	line-heigt:14px;
	text-align:center;
	margin:0 auto;
	background:#fff;
	border: 1px solid rgba(0,0,0,0.6);
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	opacity:0.3;
}

#reload:hover {
	opacity:1;
	cursor:pointer;
}

table{
	margin:0 auto;
	border-collapse: collapse;
}
td{
	border:0;
	width: 40px;
	height:40px;
}



.stage3 {
	background:url("../images/poker.png") 0 0 !important;
}
.stage3 table {
	background:url("../images/poker-table.png") 0 0 ;
}
.stage3 .pile {
	background:url("../images/jeton-bleu.png");
}
.stage3 .face {
	background:url("../images/jeton-rouge.png");
}

.stage2 {
	background:url("../images/blackboard.jpg") 0 0 !important;
	-khtml-background-size: 100%;
	-o-background-size: 100%;
	-webkit-background-size: 100%;
	background-size: 100%;
}
.stage2 table {
	background:url("../images/background-table.png") 0 0 ;
}
.stage2 .pile {
	background:url("../images/croix.png");
}
.stage2 .face {
	background:url("../images/rond.png");
}


.stage1 {
	background:url("../images/bit.png") 0 0 !important;
}
.stage1 table {
	background:none ;
}
.stage1 .pile {
	background:url("../images/bit1.png");
}
.stage1 .face {
	background:url("../images/bit0.png");
}