/* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */ 
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{
display:block
}
body{line-height:1}
ol,ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}


body {
	font: 1em Geneva, Arial, sans-serif;
	padding: 1em;
}
h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6 {
	font-family:  "Monotype Corsiva", "Palatino Linotype";
	font-style: italic ;
	color: inherit;	
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
nav {
	a {
		color: inherit;
		display: block;
		text-decoration: none;
	}
}

.align_right{ text-align: right; }
sub {
  vertical-align: sub;
  font-size: smaller;
  line-height: normal;
}

sup {
  vertical-align: super;
  font-size: smaller;
  line-height: .6em;
}
.surlignage{
	background-color: #faf8b6;
	border: 1px solid #f5f270;
	padding: 10px;
}
#container {
    max-width: 1010px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 30px;
  }
  .cadran{
  float:right;
  }
/* ------------------------------------------------------------------------ */

.main-navigation {

	.cf;
	font-size: 1.2em;
	text-shadow: 0 1px 1px #fff;
    max-width: 970px;
	margin-left: auto;
	margin-right: auto;
	
	ul, li, a {
		float: left;
	}
	ul {
		border: 1px solid #ddd;
		.border-radius();
		.linear-gradient();
	}
	li {
		position: relative;
		border-right: 1px solid #ddd;
	}
	li:hover {
		a {
			.linear-gradient(#dfdfdf, #c0bebe, 100%);
		}
		.children {
			left: 50%;
			
			a {
				background: none;
			}
			a:hover {
				background: #dff2ff;
			}
		}
	}
	li:last-child {
		border-right: none;
	}
	a {
		.border-radius(3px);
		height: 35px;
		line-height: 35px;
		margin: 3px;
		padding: 0 15px;
	}
	.children {
		background: #fff;
		.box-shadow();
		left: -999em;
		margin-left: -65px;
		position: absolute;
		top: 30px;
		width: 390px;
		z-index: 99;
		
		li, a {
			float: none;
		}
		li {
			border-right: none;
		}
		a {
			.border-radius(3px);
			height: 30px;
			line-height: 30px;
			margin: 3px;
		}
	}
}

#genelittre{
	ul {
	padding: (0 0 0 40px);
	margin: (16px 0);
	color:grey;
	}
}
#genelittre {
	padding: none;
	margin: none;
	}
.fadeMe {
	width: 800px;
	height: 600px;
	background-color: red;
	opacity: 1;
	transition: 300ms ease-in;
}
.fadeOut {
	opacity: 0;
}
#notes{
	position: absolute;
	position: fixed;
	top: 250px;
	right: 50px;
	width: 350px;
	height: 300px;
	padding: 5px;
	background-color: rgba(247, 237, 225, 0.5);
	border: 1px solid grey;
	border-radius:4px;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
}
.imgleg{
	width: auto;
	margin: 5px 5px 5px 0;
	padding:1em;
}
.imgleg p{
	margin:0 0 0 3px;
	padding:0;
	font-size:0.8em;
	color: #4D4D4D
}
/* ------------------------------------------------------------------------ */

/* Toggle */

.toggle-div {
	position: absolute;
	position: fixed;
	top: 250px;
	right: 50px;
}
.toggle-titre {
	width: 80px;
	margin-left: 300px;
	background-color: rgba(247, 237, 225, 0.5);
	border: 1px solid grey;
	border-radius:4px;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
}
#block {
    	
    height: 0;
    overflow: hidden;
    transition: height 300ms linear;
    -moz-transition: height 300ms linear;
    -o-transition: height 300ms linear;
    transition: height 300ms linear;
}
label {
    cursor: pointer;
}
#showblock {    	
	position: absolute;
	position: fixed;
	top: 250px;
	right: 50px;
    display: none;
}
#showblock:checked + #block {
	text-align: left;
    height: auto;
	padding: 5px;
	background-color: rgba(247, 237, 225, 0.5);
	border: 1px solid grey;
	border-radius:4px;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
}
/* ------------------------------------------------------------------------ */

.info-panel{
	display:none;
	cursor:pointer;
	height:auto;
	border:1px solid #900;
	border-radius:6px;
	-moz-border-radius:6px;-webkit-border-radius:6px;		margin:1em;
	text-align:justify;
	color:#003;
	padding-top: 8px;
	padding-right: 8px;
	padding-bottom: 30px;
	padding-left: 8px;
}
.toggler{}
.toggle{
	height:auto;
	background:#eee;
	border:1px solid #900;
	border-radius:6px;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	margin:1em;
	text-align:justify;
	color: #000033;
	padding: 8px;
}
.toggle p{text-align:justify;padding:0
}
.toggle-info {  cursor: pointer;  color: #FBE860;  text-decoration: underline; 
}
.btn {
	background: #f50e2d;
	background-image: -webkit-linear-gradient(top, #f50e2d, #941010);
	background-image: -moz-linear-gradient(top, #f50e2d, #941010);
	background-image: -ms-linear-gradient(top, #f50e2d, #941010);
	background-image: -o-linear-gradient(top, #f50e2d, #941010);
	background-image: linear-gradient(to bottom, #f50e2d, #941010);
	-webkit-border-radius: 8;
	-moz-border-radius: 8;
	border-radius: 8px;
	text-shadow: 2px 2px 3px #666666;
	font-family: Arial;
	color: #faf5f5;
	font-size: 16px;
	padding: 0px 6px 0px 6px;
	border: solid #ffffff 2px;
	text-decoration: none;
	text-align: right;
	float: right;
	box-shadow:
	0px 2px 2px 0px rgba(0, 0, 0, 0.5),
	0px 2px 2px 0px rgba(255, 255, 255, 0.5) inset; 
}

.border-radius (@radius: 5px) {
	-moz-border-radius: @radius;
	-webkit-border-radius: @radius;
	border-radius: @radius;
}
.box-shadow (@x: 0, @y: 5px, @blur: 5px, @spread: -5px, @color: #000) {
	box-shadow: @x @y @blur @spread @color;
	-moz-box-shadow: @x @y @blur @spread @color;
	-webkit-box-shadow: @x @y @blur @spread @color;
}
.linear-gradient (@start: #fff, @end: #ddd, @percent: 100%) {
	background: @start; /* Old */
	background: -moz-linear-gradient(top,  @start 0%, @end @percent); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,@start), color-stop(@percent,@end)); /* Chrome, Safari 4+ */
	background: -webkit-linear-gradient(top,  @start 0%,@end @percent); /* Chrome 10+, Safari 5.1+ */
	background: -o-linear-gradient(top,  @start 0%,@end @percent); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  @start 0%,@end @percent); /* IE 10+ */
	background: linear-gradient(top,  @start 0%,@end @percent); /* W3C */
}

#scrollToTop a{
	position: fixed;
	right: 10px;
	bottom: 10%;
	background-color: rgba(171,0,0, 0.5);
	padding-top: -4px;
	border: 1px dotted #F8742D;
	border-radius:4px;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	z-index: 50;
	text-decoration: none;
	font-size: 4em;
	font-weight: bold;
}
#scrollToTop a:hover{
	background-color: rgb(246,0,0);
	background-color: rgba(246,0,0, 0.7);
	border: thin dotted #FFFF00;
	box-shadow: 0px 0px 5px #222;
-moz-box-shadow: 0px 0px 5px #222;
-webkit-box-shadow: 0px 0px 5px #222;
	text-decoration: none !important;
	color: #FFFF00;
}
/* ------------------------------------------------------------------------ */

/* Explication de mots survoles */ 
span.info
{
    position:relative;
    z-index:24; background-color:#ddd;
    color:#000;
    cursor: pointer;
}
span.info:hover {z-index:25; background-color:#ff0}
span.info span{display: none}
span.info:hover span
{
    display:block;
    position:absolute;
    top:-4em; left:1em; width:10em;
    border:1px solid #0cf;
    background-color:#555; color:#fff;
}
/* ------------------------------------------------------------------------ */

/* For modern browsers */
.cf:before,
.cf:after {
    content:"";
    display:table;
}
.cf:after {
    clear:both;
}
/* For IE 6/7 (trigger hasLayout) */
.cf {
    zoom:1;
}

@media only screen and (max-width: 640px) {

	#container {
		width: 100%;
		max-width: 100%;
		margin-left: auto;
		margin-right: auto;
		margin-top: 30px;
	  }
	  #conteneur {
	  		width: 100%;	  
	  }
	.main-navigation {
		ul {
			border: none;
			background: none;
			.border-radius(0);
		}
		li {
			border-right: none;
		}
		li:hover {
			a {
				.linear-gradient(#ff8400, #e07400, 100%);
				color: #fff;
				text-shadow: 0 -1px 1px rgba(0,0,0,0.5);
			}
			.children {			
				a {
					color: #000;
					text-shadow: 0 1px 1px #fff;
				}
				a:hover {
					.linear-gradient(#ff8400, #e07400, 100%);
					color: #fff;
					text-shadow: 0 -1px 1px rgba(0,0,0,0.5);
				}
			}
		}
		a {
			border: 1px solid #ddd;
			.border-radius();
			font-size: 1.2em;
			height: auto;
			.linear-gradient();
			line-height: 1em;
			padding: 15px;
		}
		.children {
			border: 1px solid #ddd;
			.border-radius(5px);
			top: 40px;
		}
	}
	.instructions {
		.border-radius();
		color: #fff;
		font-size: 1.2em;
		.linear-gradient(#ff8400, #e07400, 100%);
		line-height: 1em;
		margin: 0 0 5px;
		padding: 5px 10px;
		text-shadow: 0 -1px 1px rgba(0,0,0,0.5);
	}
}

.main-navigation select {
	font-size: 1.5em;
}
