
body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1em;
	color:#6F6F6F;
	background: url(fond.png) center center fixed #EDF0F2 no-repeat; background-size:cover; border-top: 0;
}
.contenu {
	width: 750px;
	margin:auto;
}
img {
	border:0;
}
h2 {
	margin:0 0 10px 0;
	padding:0;
	font-size:1.5em;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.30);
	color: #B9AA9F;
}
}
.header {
	margin:0 0 10px 0;
	padding:0;
}
#header_nav {
	float:left;
	width:120px;
}
#header_nav img {
	margin-right:5px
}
#header_info {
	float:right;
	width:120px;
}
#header_info img {
	float:right;
}
#header_intro {
	width:500px;
	margin:0 auto 10px auto;
	text-align:center;
}
#si_ie {
	border:2px dashed red;
	margin:20px auto;
	padding:10px;
	width:90%;
	background:#ECD2C0;
}
.question {
	font-weight: bold;
}
.pave_activite {
	margin-top:10px;
	background-color: #FFFFFF;
	border: 1px solid #66CC99;
	padding:10px;
	-webkit-box-shadow: 0 0 0.5em rgba(0,0,0,0.2);
	box-shadow: 0 0 0.5em rgba(0,0,0,0.2)
}

/* Boutons ombrés */
.boutoncool {
	//background:#D1C7C0;
	background:#FFF;
	width:120px;
	height:130px;
	float:left;
	margin:10px;
	text-align:center;
	position:relative;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	opacity: 0.8;
    filter: alpha(opacity=80); /* For IE8 and earlier */
	-moz-box-shadow: 3px 3px 5px 0px #A0B8B8;
	-webkit-box-shadow: 3px 3px 5px 0px #A0B8B8;
	-o-box-shadow: 3px 3px 5px 0px #A0B8B8;
	box-shadow: 3px 3px 5px 0px #A0B8B8;
	filter:progid:DXImageTransform.Microsoft.Shadow(color=#A0B8B8, Direction=135, Strength=5);
}

.boutoncool:hover {
	opacity: 1;
    filter: alpha(opacity=100); /* For IE8 and earlier */
	box-shadow: 0px 0px 10px 2px rgba(119, 119, 119, 0.75);
	-moz-box-shadow: 0px 0px 10px 2px rgba(119, 119, 119, 0.75);
	-webkit-box-shadow: 0px 0px 10px 2px rgba(119, 119, 119, 0.75);
}
.boutoncool div {
	position: absolute;
    left: 5px;
    top: 96px;
	width:110px;
	height:30px;
	color:#000;
	font-size:70%;
	overflow:hidden;
}
.boutoncool div a {
	display:block;
	text-decoration:none;
	color:#000;
}
.boutoncool img {
	width:90px;
	height:90px;
	margin:2px auto;
	padding:0 15px;
}
.boutoncool a img {
	border:none;
}

table.association {
	margin:auto;
	width:100%;
	font-size:80%;
}
table td.trait {border-bottom-width: 1px;border-bottom-style: dashed;border-bottom-color: #000000;}
table td.trait2 {border-bottom-width: 1px;border-bottom-style: dashed;border-bottom-color: #000000;border-top-width: 1px;border-top-style: dashed;border-top-color: #000000;}


/* Look tableau des activtés défis */
table.tablo_defi {height:40px; margin:auto; border-collapse:collapse; border-spacing:0;}
table.tablo_defi th {padding:0; width:40px;}
table.tablo_defi th#p0 {background-color:#DDE1FF;}
table.tablo_defi th#p1 {background-color:#C6CDFF;}
table.tablo_defi th#p2 {background-color:#B7C0FF;}
table.tablo_defi th#p3 {background-color:#A6B1FF;}
table.tablo_defi th#p4 {background-color:#8C9BFF;}
table.tablo_defi th#p5 {background-color:#8494FF;}
table.tablo_defi th#p6 {background-color:#798AFF;}
table.tablo_defi th#p7 {background-color:#6F81FF;}
table.tablo_defi th#p8 {background-color:#6276FF;}
table.tablo_defi th#p9 {background-color:#5368FF;}
table.tablo_defi th#p10 {background-color:#4259FF;}

/* Adaptation pour le puzzle */

.lepuzzle #results{
	font-size: 22px;
	text-align: center;
	border-top: 3px solid #000;
	border-bottom: 3px solid #000;
	background-color: rgba(255,255,255,0.7);
	padding: 5px;
	font-weight: bold;
	position: absolute;
	width: 100%;
	top: 38%;
}

.lepuzzle {
	text-align: center;
}

/* Adaptation pour sweetalert 2 */
.sweet-alert p {
	margin-bottom:1em;
}

/* ----------------------------------------------------------------------------------------------------------- */
/* Styles inspirés de :                                                                                        */
/* http://www.onextrapixel.com/2012/10/26/custom-style-all-your-form-elements-with-pure-css-and-no-javascript/ */
/* ----------------------------------------------------------------------------------------------------------- */

/*  Reset form elements */
	
	input, select, textarea {
		margin:0; padding:0; font-size:1em; outline:none;
		font-family:inherit;	
		-moz-box-sizing:border-box; /* Firefox */
		-webkit-box-sizing:border-box; /* Safari */
		box-sizing:border-box;}

/* Inputs, textareas and selects */

	input[type="text"], textarea, select, div.styled, input[type="file"] {  
		border-radius:2px; border: solid 1px #ccc; padding:0.2em;}
	
	div.styled, select, input[type="submit"], input[type="button"], 
	input[type="file"]:after {
		background: white url(formelements-select.png) no-repeat center right;
		-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.2); 
		box-shadow: 0 1px 3px rgba(0,0,0,0.2);}	
	
	input[type="text"], textarea, input[type="file"] { 
		background-color: #f5f5f5;
		-webkit-box-shadow: inset 0 2px 3px rgba(0,0,0,0.2);
		box-shadow: inset 0 2px 3px rgba(0,0,0,0.2);}
	
		.ie9 input[type="text"] { line-height:normal; } /* Get the stuff to line up right */
	
	textarea { width:100%; height:10em; }
	
/*  Select menu */
	
	/* For IE and Firefox */

	div.styled { overflow:hidden; padding:0; margin:0; }
		
		.ie7 div.styled {border:none;}

	div.styled select {	
		width:115%; background-color:transparent; background-image:none;
		-webkit-appearance: none; border:none; box-shadow:none;}
		
		.ie7 div.styled select {
			width:100%; background-color:#fff; border: solid 1px #ccc; 
			padding:0.3em 0.5em;}	
	
/*  File field  */

	/* Webkit Only */
	
	input[type="file"] { 
		position: relative; 
		-webkit-appearance: none;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;	width: 40%;	padding:0;}
		
	input[type=file]::-webkit-file-upload-button {
		width: 0; padding: 0; margin: 0;-webkit-appearance: none; border: none;}	
		
	input[type="file"]:after {
		content: 'Upload File';
		margin:0 0 0 0.5em;
		display: inline-block; left: 100%; position: relative;
		background:white url(formelements-select.png) no-repeat center left;
		padding:0.3em 0.5em; border: solid 1px #ccc !important;
		-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.2); 
		box-shadow: 0 1px 3px rgba(0,0,0,0.2);
		border-radius:4px;}	
			
		input[type="file"]:active:after {box-shadow:none;}
	
/*  Checkboxes and Radio inputs */	
		
	input[type="radio"], 
	input[type="checkbox"] { position: absolute; left: -999em; }
		
	label:before { 
		display: inline-block; position: relative; top:0.25em; left:-2px; 
		content:''; width:25px; height:25px;
		background-image:url(formelements.png); }
	
	input[type="checkbox"] + label:before { background-position: 0 -25px;}
	input[type="checkbox"]:checked + label:before {background-position: 0 0 ; }
		 
	input[type="radio"] + label:before { background-position: -25px -25px;}	 	
	input[type="radio"]:checked + label:before { background-position: -25px 0;}
	
		/* Remove the custom styling for IE 7-8 */
		
		.ie8 label:before { display:none; content:none; }
		
		.ie8 input[type="checkbox"],
		.ie8 input[type="radio"],
		.ie7 input[type="checkbox"],
		.ie7 input[type="radio"]{ 
			position: static; left:0; }
		
		.ie8 input[type="checkbox"],
		.ie8 input[type="radio"] { 
			position:relative; top:5px; margin-right:0.5em;}	
			
	input[type="text"]:focus, textarea:focus {
		border-color:#000;
		}

/* Form Submit and Next buttons */	

	input[type="submit"], 
	input[type="button"] { 
		padding:0.5em 1em; line-height:1em; cursor:pointer;
		border-radius:4px; color:#000; font-weight:bold; font-size:inherit;
		border:solid 1px #ccc;	box-shadow:0 1px 5px rgba(0,0,0,0.2);
		background-position: center bottom;}
		
		/* Gradient Generator by : http://www.colorzilla.com/gradient-editor/ */
		
	input[type="submit"]:active, 
	input[type="button"]:active {-webkit-box-shadow: none; box-shadow:none;}
		
		/* IE7 needs you to change the background to transparent when using image background for submit buttons */	

/* ------------------------------------------------------------------------------------------------------ */
/* Fenêtre popup (intégrer aussi le JS)                                                                   */
/* http://sohtanaka.developpez.com/tutoriels/javascript/creez-fenetre-modale-avec-css-et-jquery/fichiers/ */
/* ------------------------------------------------------------------------------------------------------ */

#fade {
	display: none;
	background: #000; 
	position: fixed; left: 0; top: 0; 
	z-index: 10;
	width: 100%; height: 100%;
	opacity: .80;
	z-index: 9999;
}
.popup_block{
	display: none;
	background: #fff;
	padding: 20px; 	
	border: 20px solid #ddd;
	float: left;
	font-size: 1.2em;
	position: fixed;
	top: 50%; left: 50%;
	z-index: 99999;
	-webkit-box-shadow: 0px 0px 20px #000;
	-moz-box-shadow: 0px 0px 20px #000;
	box-shadow: 0px 0px 20px #000;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}
img.btn_close {
	float: right; 
	margin: -55px -55px 0 0;
}
.popup p {
	padding: 5px 10px;
	margin: 5px 0;
}
/*--Making IE6 Understand Fixed Positioning--*/
*html #fade {
	position: absolute;
}
*html .popup_block {
	position: absolute;
}

