@font-face {font-family: 'din'; src:url('../fonts/DINMittelschriftStd.otf') format('opentype');}

html, body {padding:0;margin:0;font-size:small;widows:2;}

body {background-color: #007e8a;}

img {max-width:600px;}


div#fancybox-wrap {z-index: 99999 !important;}
a img { border: 0 !important; }
div.fig { text-align: center; }


/* READER */
#global {width:960px; margin:0 auto;}
#main {width:960px;margin:0 auto;display:block; background: url('../img/reader/fond_nav.gif') repeat 0% 0%; position: relative; 
/*
background-image: linear-gradient(right , rgb(240,240,240) 18%, rgb(189,185,189) 58%, rgb(217,217,217) 42%);
background-image: -o-linear-gradient(right , rgb(240,240,240) 18%, rgb(189,185,189) 58%, rgb(217,217,217) 42%);
background-image: -moz-linear-gradient(right , rgb(240,240,240) 18%, rgb(189,185,189) 58%, rgb(217,217,217) 42%);
background-image: -webkit-linear-gradient(right , rgb(240,240,240) 18%, rgb(189,185,189) 58%, rgb(217,217,217) 42%);
background-image: -ms-linear-gradient(right , rgb(240,240,240) 18%, rgb(189,185,189) 58%, rgb(217,217,217) 42%);
*/
}
#livre {width:600px;padding:20px 20px 0 20px;float:left;line-height: 1.7em;background-color: white;}
#livre .titre {line-height:1.7em;}

/* NAVBAR */

#header {width:960px;text-align:center;/*position:fixed;*/margin: 0;padding:0;z-index:5;/*margin-left:-480px;*/}
#header #sub_header {max-width:960px;margin:0px auto;display:block;height: 106px;background: no-repeat center url("../img/reader/head.jpg")}
#header #sub_header ul { list-style: none; margin: 0 0 0 auto; padding: 22px 20px 0 20px; width: 120px}
#header #sub_header ul li { list-style: none; text-align: left; margin-bottom: 5px; }
#header #sub_header ul li a {font-family: "Verdana"; font-size: 10px;font-weight: bold; color: #00989D; }
#header #sub_header ul li a:hover {font-family: "Verdana";color: #979797; text-decoration: underline;}

#header #navigation {width:960px;list-style:none;z-index:5;}
#header #navigation ul {width:960px;margin: 0;padding:0;}

#header #navigation li {float:left; text-align:left; width:160px; color:#000000; font-size:12px; font-family:din;margin: 0;padding:0;border:0;position: relative;}
#header #navigation li a {display:block; text-decoration:none; margin: 0;padding:5px;-webkit-box-shadow: 1px 1px 2px #333;-moz-box-shadow: 1px 1px 2px #333;}
#header #navigation li ul {display: none;position:absolute;text-align: left;background-color: #FFF;width: 160px;height: auto;list-style: none;}
#header #navigation li:hover ul {display:block;height: auto;z-index:6999;}
#header #navigation li{z-index:7999;}
#header #navigation{z-index:8999;}
#header {z-index:9999;}

.part1 a {color:#00989D;background-color:#F1F1F1;}
.part2 a {color:#007AC0;background-color:#F1F1F1;}
.part3 a {color:#516EB2;background-color:#F1F1F1;}
.part4 a {color:#825BBE;background-color:#F1F1F1;}
.part5 a {color:#AC0049;background-color:#F1F1F1;}
.part6 a {color:#93147D;background-color:#F1F1F1;}

.part1 a:hover {color:#FFF;background-color:#00989D;}
.part2 a:hover {color:#FFF;background-color:#007AC0;}
.part3 a:hover {color:#FFF;background-color:#516EB2;}
.part4 a:hover {color:#FFF;background-color:#825BBE;}
.part5 a:hover {color:#FFF;background-color:#AC0049;}
.part6 a:hover {color:#FFF;background-color:#93147D;}

.part1 > a:hover {color:#00989D;background-color:#F1F1F1; cursor:default;}
.part2 > a:hover {color:#007AC0;background-color:#F1F1F1; cursor:default;}
.part3 > a:hover {color:#516EB2;background-color:#F1F1F1; cursor:default;}
.part4 > a:hover {color:#825BBE;background-color:#F1F1F1; cursor:default;}
.part5 > a:hover {color:#AC0049;background-color:#F1F1F1; cursor:default;}
.part6 > a:hover {color:#93147D;background-color:#F1F1F1; cursor:default;}

.nav-partie {text-transform:uppercase; font-size:10px;}
.nav-chapitre {text-transform:uppercase; font-size:10px;}


/* BACK TO TOP */
#back-top, #back-link {
	position: fixed;
	cursor:pointer;
	font-size:11px;
	color:white;
	z-index:10;
	bottom: 20px;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	-webkit-box-shadow: 1px 1px 5px #333;
	-moz-box-shadow: 1px 1px 5px #333;
	-o-box-shadow: 1px 1px 5px #333;
	-ms-box-shadow: 1px 1px 5px #333;
	background-color: #999;
	padding: 2px 10px;
}
#back-top img, #back-link img {
	position: relative; 
	border: 0;
	right: 4px;
	top: 1px;
}

#back-top span, #back-link span {
	position: relative; 
	bottom: 4px;
}

#back-top {
	margin: 0 0 0 790px;
}

#back-link {
	margin: 0 0 0 680px;
}



/* TOC */

#signets {
	padding: 10px 20px 0 20px;
	width:280px;
	float:left;}
	
#signets ul {
	list-style:none;
	padding:0;
	margin:5px 0 5px 0;
}

.niveau0-1 a {
	color:#00989D;
	font-size:16px;
	font-family:din;
	line-height:16px; }
	
.niveau0-1 a:hover {
	color:#00989D; 
	border-bottom:1px solid #00989D;}
	
.niveau0-2 a {
	color:#007AC0;
	font-size:16px;
	font-family:din;
	line-height:16px; }
	
.niveau0-2 a:hover {
	color:#007AC0; 
	border-bottom:1px solid #007AC0;}
	
.niveau0-3 a {
	color:#516EB2;
	font-size:16px;
	font-family:din;
	line-height:16px; }
	
.niveau0-3 a:hover {
	color:#516EB2; 
	border-bottom:1px solid #516EB2;}
	
.niveau0-4 a {
	color:#825BBE;
	font-size:16px;
	font-family:din;
	line-height:16px; }
	
.niveau0-4 a:hover {
	color:#825BBE; 
	border-bottom:1px solid #825BBE;}
	
.niveau0-5 a {
	color:#AC0049;
	font-size:16px;
	font-family:din;
	line-height:16px; }
	
.niveau0-5 a:hover {
	color:#AC0049; 
	border-bottom:1px solid #AC0049;}
	
.niveau0-6 a {
	color:#93147D;
	font-size:16px;
	font-family:din;
	line-height:16px; }
	
.niveau0-6 a:hover {
	color:#93147D; 
	border-bottom:1px solid #93147D;}

.niveau1 {
	text-align:left;
	font-size:14px;
	font-family:din;
	margin:0px 0 20px 0;}
	
.niveau1 ul {
	margin: 5px 0 0 15px !important;
}	

.niveau1 a {
	padding:0px 0px 0px 0px;
	color:#000;
	font-size:13px;}

.niveau1 a:hover{
	border-bottom:1px solid #666;
	color:#666;}

.niveau2 {
	margin-bottom: 5px;
	color:#000;}
	
.niveau2{
	display: block;
	border-left:2px solid white;}

.niveau2 a {
	display: block;
	padding-left: 5px;
	color:#000;border-bottom:0px;
	padding-top:3px;
	text-transform:uppercase;
	font-size:10px;
	margin-top:-5px;}

.niveau2 a:hover{
	color: #666;
	background-color:#FFF;
	border-bottom:0px;
	text-decoration:none;
	border-bottom:0px;}
	
@-moz-document url-prefix() 
	{
		#main{
		background-image:none;
		background-color:rgb(240, 240, 240);
	}
}