/* Start of CMSMS style sheet '1-CSS RD-Mise en page (principal)' */
/* CSS Réseau Diabète 35 : feuillle principale */


/*#########################
GLOBAL DEFAUT 
#########################*/
* {
	margin:0;
	padding:0;
	border: 0; 
	border-style: solid; 
	border-color: #999;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.2em;
}


/*#########################
BALISES HTML (base)
#########################*/
html {
	font-size: 100%; /* Set initial font styles */
}
body {
	position: relative;
	padding: 20px;
	/*background-color: #9C0;*/
	background-color: #AC0;
	text-align: left;
	font-size: .8em;
	color: #333;
}
img {
	border: 0;
}

/* Titres */
/*-----------------------------------*/
h1, h2, h3, h4, h5, h6 {
	padding-bottom: .25em;
	font-weight: bold;
	/* line-height: 1em; */
	color: #36C;
}
h1 {
	font-size: 2em;
}
h2 {
	font-size: 1.5em; 
}
h3 {
	font-size: 1.4em;
}
h4 {
	font-size: 1.2em;
}
h5 {
	font-size: 1.1em;
}
h6 {
	font-size: 1em;
}

/* Texte */
/*-----------------------------------*/
p {
	padding-bottom: .5em;
	font-size: 1em;
}
blockquote {
	border-left: 10px solid #ddd;
	margin-left: 10px;
}
pre {
	font-family: monospace;
	font-size: 1.0em;
}
strong, b {
	font-weight: bold;
}
em, i {
	font-style:italic;
}
/* Wrapping text in <code> tags. Makes CSS not validate */
pre {
	border: 1px solid #000;  /* black border for pre blocks */
	background-color: #ddd;
	margin: 0 1em 1em 1em;
	padding: 0.5em;
	line-height: 1.5em;
	font-size: 90%;	/* smaller font size, as these are usually not so important data */
}

/* Listes */
/*-----------------------------------*/
ul, ol, dl {
	font-size: 1em;
	margin: .5em 0 1.5em 0;
}
ul li, ol li {
	margin: 0 0 0.75em 3em;
}
dl dt {
	font-weight: bold;
	margin: 0 0 .25em 3em;
}
dl dd {
	margin: 0 0 0 3em;
}

/* Liens */
/*-----------------------------------*/
a, a:link, a:active {
	text-decoration: underline;
	background-color: inherit; /* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
	color: #36C;
}
a:visited {
	text-decoration: underline;
	background-color: inherit;
	color: #7A66CC; 
}
a:hover {
	background-color: #C3D4DF;
	text-decoration: none;
	color: #36C;
}

/* Formulaires */
/*-----------------------------------*/
form {
	margin: 0;
}
input, textarea {
	padding: .25em; 
	border-width: 1px; 
	font-size: 1em;
	font-family: Arial, Helvetica, sans-serif;
}


/*#########################
MISE EN PAGE BASIQUE 
#########################*/

/* Conteneurs globaux */
/*-----------------------------------*/
div#pagewrapper, 
div#mention_cmsms {
	width: 850px;
	/* max-width: 80em; */ /* IE wont understand these, so we will use javascript magick */
	/* min-width: 60em; */
	margin: 0 auto;	  /* this centers wrapper */
	border-width: 1px;
	background-color: white;
}
div#mention_cmsms {
	border: none;
	background: none;
}
div#content {
	margin: 1em auto 4em 0; /* some air above and under menu and content */
}

/* Main (contenu principal) */
/*-----------------------------------*/
div#main {
	width: 570px;
	margin-left: 220px;
	padding-left: 30px; 
	border-left-width: 1px; 
	/* background-color: #CCC; */
}

/* Sidebar (colonne) */
/*-----------------------------------*/
div#sidebar {
	float: left;  
	display: inline;  /* FIX ie doublemargin bug */
	width: 180px;
	margin: 40px 0 2em 20px;
	/* border-width: 1px; */
}
/* if sidebar doesnt include menu but content add class="hascontent" */
div#sidebar.hascontent {
	/* padding: 0 1%; */
	/* width: 22%; */ /* make width smaller if there's padding, or it will get too wide for the floated divs in IE */

}

/* Tête de page */
/*-----------------------------------*/
/* we will hide text and replace it with a image we need to assign a height for it */
div#header {
	height: 180px; /* adjust according your image size */
	background: #3366CC; 
}
div#header h1 a {
/* you can set your own image here */
	background: #3366CC url(uploads/images/bandeau_tete.jpg) no-repeat 0 0; 
	display: block; 
	height: 180px;				 /* adjust according your image size */
	text-indent: -999em;  /* this hides the text */
	text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}

/* Moteur recherche */
/*-----------------------------------*/
div#search {
	float: right;
	width: 23em;
	text-align: right;
	padding: 0.6em 0 0.2em 0;
	margin: 0 1em;
}
div#search input#cntnt01searchinput {
	font-size: 1em;
	font-style: italic;
	color: #666;
}

/* Fil d'Arianne */
/*-----------------------------------*/
div.breadcrumbs {
	padding: 1em 0 1.2em 0; 
	font-size: 90%; 
	margin: 0 1em; 
	border-bottom: 1px dotted #000;
}
div.breadcrumbs span.lastitem { 
	font-weight:bold; 
} 

/* Pied de page */
/*-----------------------------------*/
div#footer {
	clear:both; 
	display: inline-block;
	width: 100%;
	padding: 2.5em 0;
	background: #36C;
	color: white;
	text-align: center; 
}
div#footer p {
	line-height: 2em;
}
div#footer a {color:white;}
div#footer a:hover {background-color: transparent;text-decoration:underline;font-weight:bold;}
div#mention_cmsms {
	position: relative;
	padding: .5em 0;
	text-align: center;
	font-size: 85%;
	color: #666;
}
div#mention_cmsms a {
	color: #666;
}
div#compteur {
	position: absolute;
	top: 0;
	right: 0;
	background-color: white;
	padding: .25em 1em;
	font-weight: bold;
	color: #36C;
}

/* Divers */
/*-----------------------------------*/
/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
	height: 1px;
	margin: 1em 0;
	border-bottom: 1px dotted black;
}
/* relational links under content */
div.left49 {
	float: left;
	width: 78%;
	/* width: 49%; */  /* 50% for both left and right might lead to rounding error on some browser */
	font-size: 85%; 
}
div.right49 {
	float: right;
	width: 20%;
	/* width: 49%; */
	font-size: 85%; 
	text-align: right;
}


/*#########################
MISE EN PAGE CONTENU 
#########################*/

/* Commun */
/*-----------------------------------*/
.texte_bleu {
	color: #36C;
}
.texte_rouge {
	color: red;
}
.texte_exergue_bleu {
	font-size: 120%;
	font-weight: bold;
	color: #36C;
}

/* Main (contenu principal) */
/*-----------------------------------*/
div#main h1 {
	/* height: 50px; */
	margin-bottom: .5em;
	padding: .25em 0 .25em 0;
	border-bottom-width: 1px;
	/* border-left: 1.1em solid #9C0; */ 
	/* background: url(uploads/images/fd_titrerub.jpg) left top no-repeat; */
	/* border-width: 1px; */
}
div#main h2 {
	width: 75%;
	margin: 1.5em 0 .75em 0;
	padding: .15em .5em;
	/*background-color: #9C0;*/
	background-color: #AC0;
	font-size: 1.3em; 
	color: white;
}
h4 {
	font-style: italic;
}
div#main .titre_orange {
	margin: 1em 0 .75em 0;
	color: #F90;
	font-weight: normal;
	font-size: 1.6em;
	font-style: italic;
	text-align: center;
	line-height: 1.4em;
}

/* Sidebar (colonne) */
/*-----------------------------------*/
div#sidebar h6 {
	padding: .5em;
	/* background-color: #ECECEC; */
	background-color: #36C;
	border-width: 1px;
	Color: white;
}
div#sidebar img.contours_dbg {
	border: 1px solid #999;
	border-top: none;
}
div#sidebar ul {
	margin: 0;
	list-style: none;
	font-size: 90%;
}
div#sidebar ul li {
	margin: 0;
	border-width: 1px;
	border-top-width: 0;
}
div#sidebar a {
	display: block;
	padding: .5em .5em .5em 15px;
	background: url(uploads/images/fleche_menu_d_up.gif) .5em .75em no-repeat; 
	text-decoration: none;
}
div#sidebar a:visited {
	color: #36C;
}
div#sidebar a:hover {
	/* background-color: #F90; */
	/* color: white; */ 
 	background-color: #FC0; 
	background-image: url(uploads/images/fleche_menu_d_over.gif);
}

/* Sidebar Actualite (colonne) */
/*-----------------------------------*/
div#sidebar div.BlocNews {
	margin: 2em 0;
	border-width: 1px;
	background-color: #ECECEC;
}
div#sidebar div.BlocNews a {
	display: inline;
	padding: 0;
	text-decoration: underline;
	background :none;
	color: #36C;
}
div#sidebar div.BlocNews a:visited {
	color: #7A66CC; 
}
div#sidebar div.BlocNews a:hover {
	background-color: #C3D4DF;
	text-decoration: none;
	color: #36C;
}
div#sidebar div.BlocNews h6.titre_actu {
	border: 0;
	background-color: #FC0;
	color: #36C; 
}
div#sidebar div.NewsSummary {
	padding: .75em .5em;
	border-top-width: 1px;
	font-size: 85%;
}
div#sidebar div.NewsSummaryPostdate {
	font-size: 90%;
	font-style: italic;
}
div#sidebar div.NewsSummaryLink {
	font-size: 115%;
	font-weight: bold;
}
div#sidebar div.NewsSummaryLink a {
	background: none;
	text-decoration: none;
}
div#sidebar div.NewsSummaryLink a:visited {
	color: #36C; 
}

/* Formulaires e-mail */
/*-----------------------------------*/
.formbuilderform div {
	margin-bottom: .5em;
}
.formbuilderform label {
	float: left;
}
.formbuilderform input, 
.formbuilderform textarea {
	display: block;
	width: 336px;
	margin-left: 100px;
}
.formbuilderform .code_postal input {
	width: 5em;
}
.formbuilderform .tel input {
	width: 10em;
}
.formbuilderform .message textarea {
	height: 15em;
}
.formbuilderform .fbsubmit {
	width: auto;
}
.error_message {
	margin-left: 100px;
	font-size: 85%;
	color: red;
}
.error_message ul {
	margin-left: 1em;
	padding: 0;
}
.error_message ul li {
	margin: 0;
	padding: 0;
}
.error_message_champ {
	margin-left: 100px;
	font-style: italic;
	color: red;
}

/* End of '1-CSS RD-Mise en page (principal)' */

/* Start of CMSMS style sheet '1-CSS RD-Navigation (base CSSMenu - Horizontal)' */
/* CSS Réseau Diabète 35 : feuillle menu principal */
/* Horizontal menu for the CMS CSS Menu Module */
/* by Alexander Endresen */


#menu_vert {
	/* margin-left: 1px;
	margin-right: 1px; */
	margin-bottom: 1em;
}
#menu_vert * {
	/* border-color: #CCC; */
}

/* The wrapper clears the floating elements of the menu */

/* Fix for Opera 8 */
.clearb { clear: both; }
#menuwrapper { 
	/* Fix for Opera 8 */ 
	/* overflow: hidden; */ 
	width: 100%;
	background-color: #ECECEC;
	background: #ECECEC url(uploads/images/fd_menu.jpg) bottom left repeat-x; 
	/*border-bottom: 1px solid #C0C0C0;*/
}

#menu_vert ul, 
#menu_vert ul li {
	margin: 0;
}

/* Set the width of the menu elements at second level. Leaving first level flexible. */
#primary-nav li li { 
	width: 200px; 
}

/* Unless you know what you do, do not touch this */ 
#primary-nav, 
#primary-nav ul { 
	list-style: none; 
	margin: 0; 
	padding: 0; 
}
#primary-nav ul { 
	position: absolute; 
	top: auto; 
	display: none; 
}
#primary-nav ul ul { 
	margin-top: 1px;
	/* margin-left: -1px; */
	left: 100%; 
	top: 0px; 
}
#primary-nav li { 
	/* margin-left: -1px; */
	float: left; 
	border-right-width: 1px;
}
#primary-nav li li { 
	margin-left: -1px;
	margin-top: -1px;
	float: none; 
	position: relative; 
	border-width: 1px;
}

/* Styling the basic apperance of the menu elements */
#primary-nav a { 
	display: block; 
	margin: 0; 
	padding: 5px 10px; 
	text-decoration: none; 
	color: #36C;
}
#primary-nav li a { 
	/* border-width: 0 1px 0 0; */
}
#primary-nav li li a { 
	/* border-width: 1px; */
}	
#primary-nav li, 
#primary-nav li.menuparent { 
	/* background-color: #ECECEC; */
}
#primary-nav li a.menuparent { 
	padding-right: 1.5em;
	background: url(uploads/images/fleche_menu_b.gif) 95% center no-repeat; 
}
#primary-nav li li a.menuparent { 
	background: none; 
}

#primary-nav li.menuparent li, 
#primary-nav li.menuparenth li { 
	background-color: white; 
}

/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */
#primary-nav li.menuactive { 
	background-color: white; 
}

/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */
#primary-nav ul li.menuparent, 
#primary-nav ul li.menuparent:hover, 
#primary-nav ul li.menuparenth { 
/* arrow for menuparents */
	/*padding-right: 1.5em;
	background: url(uploads/images/fleche_menu_b.gif) 95% center no-repeat;*/ 
}

/* Styling the apperance of menu items on hover */
#primary-nav li:hover, 
#primary-nav li.menuh, 
#primary-nav li.menuparenth, 
#primary-nav li.menuactiveh { 
	background-color: #C3D4DF;
}
#primary-nav li.menuparent li a:hover, 
#primary-nav li.menuparenth li a:hover, 
#primary-nav li.menuactiveh li a:hover {
	/* background-color: #F90; */
	/* color: white; */ 
	background-color: #FC0;  
} 


/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */

/* 
just add 
#primary-nav li:hover ul ul, 
#primary-nav li.menuparenth ul ul ul,
for fourth level 
*/
#primary-nav ul, 
#primary-nav li:hover ul, 
#primary-nav li:hover ul ul, 
#primary-nav li.menuparenth ul, 
#primary-nav li.menuparenth ul ul { 
	display: none; 
}

/* add 
#primary-nav ul ul ul li:hover ul, 
#primary-nav ul ul ul li.menuparenth ul,
for fourth level
*/
#primary-nav li:hover ul, 
#primary-nav ul li:hover ul, 
#primary-nav ul ul li:hover ul, 
#primary-nav li.menuparenth ul, 
#primary-nav ul li.menuparenth ul, 
#primary-nav ul ul li.menuparenth ul { 
	display: block; 
}


/* IE Hacks */
#primary-nav li li { 
	float: left; 
	clear: both; 
}
#primary-nav li li a { 
	height: 1%; 
}
/* End of '1-CSS RD-Navigation (base CSSMenu - Horizontal)' */

