﻿html
{
	height: 100%;
	background: url('../images/fond.png') repeat-x top #d8d8d8;
}
body
{
	/* border: 2px solid red; */
	margin: 0;
	padding: 0;
	margin: auto;
	width: 800px;
	height: 100%;
	min-height: 100%;
	overflow: hidden;
}
#body
{
	position: relative;
	margin: 0;
	padding: 0;
	margin: auto;
	width: 800px;
	height: 100%;
	min-height: 100%;
}
section
{
	/* border: 2px solid blue; */
	margin: 0;
	padding: 0;
}
#gauche
{
	position: relative;
	z-index: 10;
	min-width: 550px;
	min-height: 100%;
	float: left;
	background: url('../images/bibliotheque.png') no-repeat center 20px;
}
	#gauche table
	{
		margin: auto;
		position: relative;
		top: 95px;
		width: 425px;
		height: 600px;
	}
	#gauche tr
	{
		/* border: 2px solid red; */
		min-width: 100%;
	}
	#gauche td
	{
		/* border: 2px solid green; */
		width: 93px;
		height: 93px;
		margin: 0;
		padding: 0;
		text-align: center;
	}
	#gauche img
	{
		max-height: 70px;
		margin: auto;
		padding: 0;
		margin-bottom: -40px;
		-webkit-transition: min-height 0.5s;
		-moz-transition: min-height 0.5s;
		-o-transition: min-height 0.5s;
		-ms-transition: min-height 0.5s;
		transition: min-height 0.5s;
		cursor: pointer;
	}
	#gauche img:hover
	{
		min-height: 80px;
		-webkit-transition: min-height 0.5s;
		-moz-transition: min-height 0.5s;
		-o-transition: min-height 0.5s;
		-ms-transition: min-height 0.5s;
		transition: min-height 0.5s;
	}
#droite
{
	position: absolute;
	right: -24px;
	z-index: 1;
	width: 320px;
	min-height: 100%;
	float: right;
	background: no-repeat center 30px;
}
	#droite article
	{
		max-height: 150px;
		max-width: 150px;
		margin-top: 50px;
		margin-left: 70px;
		padding: 10px;
		cursor: pointer;
	}
	#droite img
	{
		width: 100px;
		display: none;
		margin: 25px 0 0 25px;
	}
	#droite .indice1
	{
		-webkit-transform:rotate(8deg);
		-moz-transform:rotate(8deg);
		-o-transform:rotate(8deg);
		-ms-transform:rotate(8deg);
		transform:rotate(8deg);
	}
	#droite .indice2
	{
		-webkit-transform:rotate(-6deg);
		-moz-transform:rotate(-6deg);
		-o-transform:rotate(-6deg);
		-ms-transform:rotate(-6deg);
		transform:rotate(-6deg);
	}
	#droite .indice3
	{
		-webkit-transform:rotate(5deg);
		-moz-transform:rotate(5deg);
		-o-transform:rotate(5deg);
		-ms-transform:rotate(5deg);
		transform:rotate(5deg);
	}
	#droite article h2
	{
		font-family: arial;
		text-align: center;
		font-size: 2em;
	}
	#droite article .indice
	{
		font-family: arial;
		text-align: center;
		font-size: 1.5em;
		display: none;
	}
	#droite .devoile
	{
		-webkit-transition: all 1s;
		-moz-transition: all 1s;
		-o-transition: all 1s;
		-ms-transition: all 1s;
		transition: all 1s;
	}
	#droite .vocabulaire
	{
		color: blue;
	}
	#droite .objet
	{
		color: red;
	}

#statistique_game{
	min-height: 100%;
	min-width: 200px;
	background: rgba(0,0,0,0.8);
	box-shadow: 0 0 10px 10px #444;
	position: absolute;
	top: 0;
	right: -200px;
	text-align: center;
}
	#statistique_game .bouton{
		position: absolute;
		cursor: pointer;
		top: 20px;
		right: 200px;
		background: rgba(0,0,0,0.8);
		color: #FFF;
		font-weight: bold;
		padding: 10px;
		border-radius: 10px 0 0 10px;
	}

#gagner, #perdu
{
	position: absolute;
	z-index: 20;
	top: 0;
	left: 0;
	min-width: 100%;
	min-height: 100%;
	background: rgba(0,0,0,0.5);
	display: none;
	font-family: arial;
	font-weight: bold;
}
	#gagner article, #perdu article
	{
		background: url('../images/gagner_fond.png') no-repeat center center;
		width: 0px;
		height: 0px;
		margin: auto;
		margin-top: 50px;
		text-align: center;
	}
	#perdu article
	{
		background: url('../images/perdu_fond.png') no-repeat center center;
	}
	#gagner h2:first-child, #perdu h2:first-child
	{
		padding-top: 100px;
		color: white;
		text-shadow: 0px 0px 5px #00deff;
		font-size: 2.5em;
		-webkit-transform:rotate(2deg);
		-moz-transform:rotate(2deg);
		-o-transform:rotate(2deg);
		-ms-transform:rotate(2deg);
		transform:rotate(2deg); 
	}
	#gagner .nom_objet, #perdu .nom_objet
	{
		color: #00deff;
		text-shadow: 0px 0px 5px #00deff;
		padding-top: 50px;
		padding-left: 100px;
		font-size: 2.5em;
		-webkit-transform:rotate(-10deg);
		-moz-transform:rotate(-10deg);
		-o-transform:rotate(-10deg);
		-ms-transform:rotate(-10deg);
		transform:rotate(-10deg);
	}
	#gagner .img_objet, #perdu .img_objet
	{
		width: 200px;
		float: left;
		margin-left: 200px;
	}
	#gagner a, #perdu a, #perdu p
	{
		float: right;
		text-align: right;
		background: red;
		color: white;
	}
	
	#gagner button, #perdu button {
		position: absolute;
		height: 82px;
		padding: 0.5em 1.5em 0.5em 1.5em;
		float: right;
		text-align: center;
		color: white;
		background: url('../images/perdu_fond.png') no-repeat center center;
		font-size: 30px;
		font-style: bold;
	}

select{
	width: 250px;
	border-radius: 0.35em;
	color: #000 !important;
	background-color: #8ebebc;
	background-image: -moz-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.15));
	background-image: -webkit-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.15));
	background-image: -o-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.15));
	background-image: -ms-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.15));
	background-image: linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.15));
}
	
input, button{
	/*position: relative;
	display: inline-block;*/
	border-radius: 0.35em;
	color: #000;
	text-decoration: none;
	padding: 0.75em 2.5em 0.75em 2.5em;
	background-color: #8ebebc;
	border: 0;
	cursor: pointer;
	background-image: -moz-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.15));
	background-image: -webkit-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.15));
	background-image: -o-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.15));
	background-image: -ms-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.15));
	background-image: linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.15));			
}

button{
	height: 41px;
}

#nomEnfant, #nbParties {
	color: #fff;
}