/* Base
----------------------------------------------------------------------------------------------------*/

body {
	background: url(../images/pattern-stone.png);
	color: #403131;
	}
	

.wrapper {
	background: transparent;
	-webkit-box-shadow: none;
	box-shadow: none;
}


#main{
	background-color: #FFFFFF;
	margin-left: 4%;
	margin-right: 4%;
    height:90%;
}
 /* valeurs appliquées à #main ne semblent pas marcher 
   min-height:6000px;
  max-height:600010px; */

#top-a, #top-b, #bottom-a, #bottom-b, #header, #footer {
	margin-left: 4%;
	margin-right: 4%;
} 

#header {
	position:relative;
	padding-left: 15px;
	padding-right: 15px;
	background-color: #ffffff;
	}
	

#footer {
	padding-left: 15px;
	padding-right: 15px;
}



/* Menus
----------------------------------------------------------------------------------------------------*/

	/* Top Menu */

	#header #menubar {
		position: relative;
		width: 1060px; 
		height: 50px;
		margin-left:-15px;
		/* bordure aux contours flous retirés border: 1px solid #dadada;
		-moz-border-radius: 5px;
		border-radius: 5px;
        box-shadow: 0 0 3px #e2e2e2, inset 1px -1px 2px #FFFFFF; */		
		background: #f5f5f5; /* Old browsers */  
		background: -moz-linear-gradient(top,  #e30c1a 0%, #e30c1a 100%); /* à changer pour chaque navigateur ! */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e30c1a), color-stop(100%,#e30c1a)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  #e30c1a 0%,#e30c1a 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  #e30c1a 0%,#e30c1a 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  #e30c1a 0%,#e30c1a 100%); /* IE10+ */
		background: linear-gradient(top,  #e30c1a 0%,#e30c1a 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e30c1a', endColorstr='#e30c1a',GradientType=0 ); /* IE6-9 */
	}

	/* taille de menubar seulement pour opera jusqu'à 9*/
	html:first-child  #header #menubar   { 
	width: 1100px;}
	
	/* taille de menubar seulement pour opera 10 et +*/
	 @media not all and (-webkit-min-device-pixel-ratio:10000), (-webkit-min-device-pixel-ratio:0) {  
      #header #menubar		{  
      width: 1200px;  
        }  
    }  
	
	/* taille de menubar seulement pour chrome et safari*/
	@media screen and (-webkit-min-device-pixel-ratio:0) {
	#header  #menubar{ width: 1073px; } 
}
	
	/* taille de menubar seulement pour IE8+9*/
    #header #menubar { width/*\**/: 1072px\9;} 
	
	*+html #header #menubar { /* taille de menubar A CONFIGURER seulement pour IE7*/
	width:1100px;
	} 
	
	*html #header #menubar { /* taille de menu bar A CONFIGURER seulement pour IE5+6*/
	width:1100px;
	} 
	
	.menu-dropdown {
		margin-bottom: 0;
	}

	.menu-dropdown a.level1, .menu-dropdown span.level1 {
		border-right: none; /* possibilité de remettre des barres de part et d'autres du texte avec 1px solid #dadada */
		border-left: none; 
		border-top: none;
		border-bottom: none;
	}
	
	
	.menu-dropdown li:first-child a.level1, .menu-dropdown li:first-child span.level1 a:hover {
		border-left: none;
	}

	.menu-dropdown li.level1 {
		margin: 3;
		padding: 3; /* valeur initiale = padding-bottom: 0; */
		padding-left: 2px;  /*deux nouvelles valeurs pour réduire l'espacement entre les catégories dans le menu */
		margin-right: -10px;
		
 }
	

	
	.menu-dropdown a.level1 > span, .menu-dropdown span.level1 > span {
		padding: 10px 22px 8px 22px;
	}

	/* Dropdown */

	.menu-dropdown .dropdown {
		top: 50px;
		left: -8px;
		border-top: none;
	}

	.menu-dropdown .dropdown-bg {
		margin: 8px;
	} 
	
	.menu-dropdown .dropdown-bg > div {
		padding: 8px;
		border: 0px solid white; /* border blanc flouté mis à 0 pour qu'il soit invisible */
		border-top: 0px solid white; /* border blanc flouté mis à 0 pour qu'il soit invisible */
		background: #e30c1a; 
		border-radius: 5px;
		-webkit-box-shadow: 0 0 8px rgba(0,0,0,.2);
		box-shadow: 0 0 8px rgba(0,0,0,.2);
	} 

/* valeurs initiales pour faire apparaitre des petites barres
dans les sous-catégories de la barre de menu

	.menu-dropdown li.level2 {
		border-top: 1px solid white;	
		border-bottom: 1px solid #dddddd;
	} 
	
	.menu-dropdown li.level2:first-child {
		border-bottom: 1px solid #dddddd;
	}
*/

	.menu-dropdown li.level2 {
		border-top: none;	
		border-bottom: none;
	} 
	.menu-dropdown li.level2:first-child {
		border-bottom: none;
	}
	.menu-dropdown li.level2:last-child {
		border-bottom: none;
	}


	/* Sidebar Menu */

	.menu-sidebar a.level2 {
		color: #666;
	}
	

	.menu-sidebar li.level1 {
		border-top: 1px dotted #ddd;
		padding-left: 5px;
		-webkit-transition:background-color linear 0.3s;
		-moz-transition:background-color linear 0.3s;
		-o-transition:background-color linear 0.3s;
		-ms-transition:background-color linear 0.3s;
		transition:background-color linear 0.3s;
	}

	.menu-sidebar li.level1:hover {
		background: #fafafa;
		-webkit-transition:background-color linear 0.3s;
		-moz-transition:background-color linear 0.3s;
		-o-transition:background-color linear 0.3s;
		-ms-transition:background-color linear 0.3s;
		transition:background-color linear 0.3s;
	}

	.menu-sidebar a:hover, .menu-sidebar li > span:hover {
		-webkit-transition:color linear 0.2s;
		-moz-transition:color linear 0.2s;
		-o-transition:color linear 0.2s;
		-ms-transition:color linear 0.2s;
		transition:color linear 0.2s;
	}


/* Tools
----------------------------------------------------------------------------------------------------*/

#menubar .searchbox {
	margin: 10px 10px 0 0;
}

.searchbox {
	width: 100px;
	height: 25px;
	padding: 0 25px 0 30px;
	border: 1px solid #dadada;
	border-radius: 20px;
	background-position: 5px 50%;
	background-color: #fdfdfd;
	-webkit-box-shadow: inset 0 1px 2px #dddddd;
	box-shadow: inset 0 1px 2px #dddddd;
}

* .searchbox input {
	height: 25px;
	-webkit-box-shadow: none;
}

.searchbox.filled button {
	box-shadow: none;
	-webkit-box-shadow: none;
}

.button-default {
	padding: 3px 10px;
	border: 1px solid #e2e2e2;
	-moz-border-radius: 6px;
	border-radius: 6px;
	box-shadow: 0px 1px 1px #e2e2e2, inset 1px -1px 1px #ffffff;
	-webkit-box-shadow: 0px 1px 1px #e2e2e2, inset 1px -1px 1px #ffffff;
	background: #f5f5f5; /* Old browsers */
	background: -moz-linear-gradient(top,  #ffffff 0%, #f5f5f5 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f5f5f5)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ffffff 0%,#f5f5f5 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ffffff 0%,#f5f5f5 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ffffff 0%,#f5f5f5 100%); /* IE10+ */
	background: linear-gradient(top,  #ffffff 0%,#f5f5f5 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f5f5f5',GradientType=0 ); /* IE6-9 */
}

.button-primary {
	padding: 3px 10px !important;
	font-size: inherit !important;
}


/* Modules
----------------------------------------------------------------------------------------------------*/

.mod-box {
	padding: 10px; /*valeur initiale 15px*/
	border-radius: 6px; /*en réduisant la valeur => possibilité d'avoir les bords moins arrondis */
	background: #white; /*background de tous les modules de la sidebar*/
	border: 0px solid #ffffff; /* d7d7d7 couleur initiale*/
	-webkit-box-shadow: none; /*valeur initiale 0px 2px 3px rgba(0,0,0,.1);*/
	box-shadow: none; /* valeur initiale 0px 2px 3px rgba(0,0,0,.1); */
}


.mod-box.border-right {
	border-radius: 0;
	border-right: 1px solid #ffffff; /* e5e5e5 couleur initiale*/
	border-left: none;
	border-top: none;
	border-bottom: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	margin-right: 0;
	margin-left:60px;
	padding-right: 30px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.mod-box.border-left {
	border-radius: 0;
	border-left: 1px solid #ffffff; /* e5e5e5 couleur initiale*/
	border-right: none;
	border-top: none;
	border-bottom: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	margin-left: 0;
	padding-left: 30px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.mod-box.clean {
	border-radius: 0;
	border-left: none;
	border-right: none;
	border-top: none;
	border-bottom: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	padding-top: 5px;
	padding-bottom: 5px;
	background: transparent;
}


.mod-box.border-left.clean {
	border-left: 1px solid #ffffff; /* e5e5e5 couleur initiale*/
}

.mod-box.border-right.clean {
	border-right: 1px solid #ffffff; /* e5e5e5 couleur initiale*/
}

.mod-box.underline h3.module-title {
	border-bottom: 1px solid #DDD;
	padding-bottom: 5px;
}

.mod-box.underline h3.module-title span.color {
	padding-bottom: 5px;
}

.mod-box.center {
	text-align: center;
}

#bottom-b .mod-box, .mod-box.transparent {
	background: transparent;
}

#sidebar-a .mod-box.border-right {
	padding-right: 25px;
	margin-right: 10px;
}

#sidebar-b .mod-box.border-left {
	padding-left: 25px;
	margin-left: 10px;
}

#sidebar-b { height: 90%; min-height: 600; max-height: 5000; }

.mod-box.striped {
	background: url(../images/pattern-diagonal-grey.png) white;
	padding: 15px;
	border-radius: 4px;
	border: 1px solid #d7d7d7;
	-webkit-box-shadow: inset 0 2px 3px rgba(0,0,0,.1);
	box-shadow: inset 0 2px 3px rgba(0,0,0,.1);
}

#footer {
	font-size: 80%;
	border-top: 0px solid #E5E5E5; /* valeur changée de 1px à 0px pour rendre le trait transparent*/
	padding: 20px 40px 20px 30px;
	
	color: #8C8C8C;

	text-align: right;
}

#footer .module {
	float: left;
	margin-right: 30px;
	text-align: left;
}

.callout h3 {
	font-size: 20px;
}

.callout a.button-more {
	font-size: 100%;
	padding: 8px 18px;
	margin: 0 20px;
}

.mod-box.callout {
	padding: 20px 18px;
}

.social p {
	padding-top: 20px;
}

.social a {
	padding: 0 3px;
}

/* Style police module des photos 
-----------------------------------------------------------------------*/

.wk-slideshow .caption {font-family: arial, helvetica, sans serif;}

/* System
----------------------------------------------------------------------------------------------------*/

button {
	border: 1px solid #c6c6c6;
	-moz-border-radius: 6px;
	border-radius: 6px;
	box-shadow: 0px 1px 1px #c8c8c8, inset 0 1px 0 #f6f6f6;
	box-shadow: 0px 1px 1px #c8c8c8, inset 0 1px 0 #f6f6f6;
	background: #dbdbdb;
	padding: 5px 8px;
	color: #666;
}

input[type="button"] {
	border: 1px solid #000000;
	-moz-border-radius: 3px;
	border-radius: 3px;
	color: white;
	background: #262626;
	padding: 5px 8px;
	box-shadow: 0px 1px 1px #bfbfbf, inset 0 1px 0 #676767;
}

input, textarea {
	border: 1px solid #dadada;
	border-radius: 5px;
	-webkit-box-shadow: inset 1px 1px 2px rgba(0,0,0,.15);
	box-shadow: inset 1px 1px 2px rgba(0,0,0,.15);
	padding: 5px;
}

label {
	line-height: 2em;
}

fieldset {
	border-radius: 8px;
}

h1, h2, h3, h4, h5, h6 {
	color: #222;
}

h1 { line-height: 25px;} /*espacement entre les lignes de titres de niveau h1 : titres de films dans les articles par exemple*/

.icon.email, .icon.print {
	font-size: 11px;
}

#system .title a {
	color: #222;
}

#system .title a:hover {
	color: #666;
}

#system .pagination {
	margin-top: 30px;
	text-align: center;
}

#system .pagination a, #system .pagination strong {
	border-radius: 15px;
	-webkit-box-shadow: 0 2px 2px rgba(0,0,0,.1);
	box-shadow: 0 2px 2px rgba(0,0,0,.1);
	border: 1px solid #d7d7d7;
	font-size: 13px;
}

#totop-scroller {
	top: 18px;
}

a.button-more, p.links a, .button-primary {
	display: inline-block;
	margin: 0 5px;
	font-size: 12px;
	border-radius: 6px;
	padding: 0 15px;
	color: white;
	/*font-family: MavenProRegular;*/
	font-weight: bold;
	letter-spacing: -1px;
	box-shadow: 0px 1px 2px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.4);
	text-shadow: 0 -1px 2px rgba(0,0,0,.4);
	border: 1px solid #0099c3;
	-webkit-transition:box-shadow linear 0.2s;
	-moz-transition:box-shadow linear 0.2s;
	-o-transition:box-shadow linear 0.2s;
	-ms-transition:box-shadow linear 0.2s;
	transition:box-shadow linear 0.2s;

}

a.button-more:hover, p.links a:hover, .button-primary:hover {
	-webkit-transition:box-shadow linear 0.2s;
	-moz-transition:box-shadow linear 0.2s;
	-o-transition:box-shadow linear 0.2s;
	-ms-transition:box-shadow linear 0.2s;
	transition:box-shadow linear 0.2s;
}
