@charset "iso-8859-1";

@import url(gallery.css);
@import url(boxes.css);
@import url(publicationMethods.css);

/* ---------------------
INITIALISATION DES STYLES
------------------------*/

@font-face {
	font-family: 'locom';
	src:url('/images/fonts/locom.eot');
	src:url('/images/fonts/locom.eot?#iefix') format('embedded-opentype'),
		url('/images/fonts/locom.woff') format('woff'),
		url('/images/fonts/locom.ttf') format('truetype'),
		url('/images/fonts/locom.svg#locom') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'locomobile';
	src:url('/images/mobile/fonts/locomobile.eot');
	src:url('/images/mobile/fonts/locomobile.eot?#iefix') format('embedded-opentype'),
		url('/images/mobile/fonts/locomobile.ttf') format('truetype'),
		url('/images/mobile/fonts/locomobile.woff') format('woff'),
		url('/images/mobile/fonts/locomobile.svg#locomobile') format('svg');
	font-weight: normal;
	font-style: normal;
}

* {
	border: 0;
	font-style: normal;
	margin: 0;
	padding: 0;
	text-decoration: none;
}
html{
  min-height:100%;
}

/* --------------
ZONE EXTERIEURE
-----------------*/
body {
	background: #303030;
	font-family: "Oxygen", Arial, sans-serif;
	font-size: 14px;
	line-height: 1.4;
	color: #fff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

#page {
	position: absolute;
	top: 0; left: 0;
	margin-left: 0;
	height: auto;
	min-height: 100%;
	width: 100%;
	z-index: 10;
	background: #404052;
	-webkit-box-shadow: 0 0 8px #1a1a1a;
	-moz-box-shadow: 0 0 8px #1a1a1a;
	box-shadow: 0 0 8px #1a1a1a;
	transition: margin 400ms ease-in-out;
	-o-transition: margin 400ms ease-in-out;
	-ms-transition: margin 400ms ease-in-out;
	-moz-transition: margin 400ms ease-in-out;
	-webkit-transition: margin 400ms ease-in-out;
}

body.menu-visible {
	overflow: hidden;
	width: 100%;
	height: 100%;
}

#page.extended {
	margin-left: 85%;
}

#menu-left {
	position: relative;
	z-index: 9;
	height: 100%;
	overflow: auto;
} 

#header{
	height: 140px;
	margin-bottom: 25px;
}

#header h1{
	font-size:1em;
	margin:0;
}

#header h1 a{
	border: 0;
	color: #ffffff;
	font-size: 1.8em;
	font-weight: bold;
	left: 110px;
	position: absolute;
	top: 65px;
}

#header #logo{
	position:relative;
	margin: 0 auto;
	width: 180px;
	z-index: 10;
}

#header #logo a{
	display: block;
    height: 50px;
    width: 180px;
    background: #fff url(/images/cmc-logo.svg) no-repeat top center / 90% auto;
    padding: 10px;
}

#header #logo a span{
	display: none;
}

#header .barre {
	height: 45px;
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	background: #303030;
	z-index: 1;
} 


/* ---------------
APPARENCE DES IMAGES
-----------------*/
img {
	border:0;
	vertical-align: bottom;
	max-width:100%;
}

/* --------------
CALAGE DES BLOCS
-----------------*/
.clear {
	border:0;
	clear: both;
	height:0;
	line-height:0;
	visibility: hidden;
}


/* Accueil mobile */
.barre .menu {
	position: absolute;
	cursor: pointer;
}

.barre .menu:before {
	position: absolute;
	font-family: 'locomobile';
	content: "\e600";
	top: 0; left: 0;
	padding-left: 15px;
	padding-right: 15px;
	padding-top: 5px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	font-size: 1.5em;
	background: #009f94;
	height: 45px;
}

h2 {
	font-weight: 400;
}



/* Menu */
#nested {
  position: relative;
  width: 85%;
}

#nested .smart-menu {
	display: none;
}

#nested ul {
	height:auto;
	z-index: 5000;
	margin:0;
	padding:0;
}

#nested .firstLevel li{
	float: none;
	list-style: none;
	padding: 0;
	width: 100%;
	background: none;
}

#nested .firstLevel > li {
	border-bottom: 1px solid #53535d;
	padding: 5px 0;
}

#nested .currentChap {
	display: none;
}


#nested .firstLevel > li > a {
	background: url("/images/mobile/arrow-down2.png") 95% center no-repeat;
}

#nested .firstLevel li a{
	display:block;
	color: #fff;
	font-family: "Oxygen";
	font-size: 16px;
	line-height: 100%;
	text-decoration: none;
	padding: 10px;
	position: relative;
}

/*
#nested .firstLevel li a:hover {
	background-color: #009f94;
	color: #fff;
}
*/

#nested .firstLevel li ul, 
/*#nested .firstLevel li:hover ul ul, */
#nested .firstLevel li.sfhover ul ul, 
#nested .firstLevel ul li:hover ul ul, 
#nested .firstLevel ul li.sfhover ul ul{
	height:auto;
	display: none;
	position:static;
	-webkit-border-radius: 0 0 3px 3px;
	-moz-border-radius: 0 0 3px 3px;
	border-radius: 0 0 3px 3px;
	width:100%;
}

/*#nested .firstLevel li:hover ul,*/
#nested .firstLevel li.sfhover ul{
  	border:none;
	right:0;
	/*display: block;*/
	z-index:999;
	padding: 0 10px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

#nested .firstLevel li ul li a {
	color: #aaabb9;
}

#nested .firstLevel li ul li a:hover {
	background-color: #53535d;
}

#nested .firstLevel > li.sfhover > a {
	background: #009f94 url("/images/mobile/arrow-up2.png") 95% 10px no-repeat;
}

/* Nested widgets */
#nested .widget h4 {
	color: #a3a9b8;
	text-transform: uppercase;
	padding-bottom: 5px;
	border-bottom: 2px solid #a3a9b8;
	font-size: 16px;
	font-weight: 700;
	margin-top: 15px;
	margin-bottom: 10px;
}

#nested .widget {
	padding: 0 10px;
}

#nested .widget li {
	list-style-type: none;
}

#nested .widget a {
	list-style-type: none;
	border-bottom: 1px solid #53535d;
	padding: 5px 10px;
	color: #fff;
	display: block;
}


#nested .widget li a:hover {
	background-color: #53535d;
}

#nested .widget .widgetLoginUsername {
	padding: 10px;
	color: #009f94;
	font-weight: 700;
}





