/* Start of CMSMS style sheet 'BM : Top menu + 2 columns' */
/*=====================================================================
 *
 * Filename: BM : Top menu + 2 columns
 * Website: www.brunomuzzatti.com
 * Author:  Rainbow  www.rainbow-studio.net
 * Date Created: 17/10/2008
 * Media: Screen
 *
 * Couleurs
 * -----------
* Mango Tango (orange) :  h1, liens #E17100 
* Tundora (gris) : texte main #494949
* Mine Shaft (gris) : bg menu #333333
* Dove gray (gris) : texte sidebar #666666
* Boulder (gris) : texte pied de page #787878
*
* Dimensions
* -----------
* div#pagewrapper: 960px width
* div#header : 160px height;
* div#menu : 29px height; 
* div#main : 600px width;
* div#sidebar : 290px width;
* div#footer-menu : 33px height;
*
* Police
* -----------
* Verdana, sans-serif : menu, texte main
* Georgia, serif : h1, h2, h3
* Arial, sans-serif : texte sidebar, footer-menu
* 
 *====================================================================*/
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 75.01%;
   line-height: 1.4em;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 1em;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active {
   text-decoration: none;
/* 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: #E17100; 
}

/* remove underline on hover and change color */
a:hover {
   text-decoration: underline;
   color: #E17100;
}

/*****************
basic layout 
*****************/
html {
	background: #fff url(images/bg-html.jpg) repeat-x;
}
body {
   color: #494949;
   background: url(images/bg-body.jpg) no-repeat top center;
}

/* center wrapper, min max width */
div#pagewrapper {
   margin: 0 auto;     /* this centers wrapper */
   width: 960px; /* IE wont understand these, so we will use javascript magick */
}

/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/

div#header {
   height: 171px; /* adjust according your image size */
   background: url(images/bg-header.jpg) no-repeat right top;           
}
	div#header h1 { 
		margin: 0; 
		padding: 0;
		background: url(images/logo.jpg) no-repeat;
	height: 168px;		
	}
		div#header h1 a {
		/* you can set your own image here */
		   
		   display: block; 
		   height: 130px;             /* adjust according your image size */
		   width: 350px;
		   text-indent: -999em;  /* this hides the text */
		   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
		}


div#content {
   background: url(images/bg-content.jpg) repeat-y;
   padding: 35px 20px;
   overflow: hidden;
   height: 100%;
}

	div#main {
	   margin-right: 335px; 
	}
		div#main a#linkRecommand {
			background: url(images/picto-recommand.png) no-repeat top;
			height: 11px;
			width: 17px;
			text-indent: -5000em;
			float: left;
			margin: 2px 5px 0 0;
		}
		div#main a#linkPrint {
			background: url(images/picto-print.png) no-repeat top;
			height: 13px;
			width: 14px;
			text-indent: -5000em;
			float: left;
		}
		div#main a#linkRecommand:hover,div#main a#linkPrint:hover  {
			background-position: bottom;
		}
		div#main img {
			border: 7px solid #333;
			margin: 0 -15px 20px 0;
		}
	div#sidebar {
	   float: right;  /* set sidebar on the left side. Change to right to float it right instead. */
	   width: 290px;    /* sidebar width, if you change this please also change #main margins */
	   display: inline;  /* FIX ie doublemargin bug */
	   margin-left: 0;
           height: 100%;
	}

		/* if sidebar doesnt include menu but content add class="hascontent" */
		div#sidebar.hascontent {
		   padding: 0 ;
		   width: 250px;  /* make width smaller if there's padding, or it will get too wide for the floated divs in IE */
		   font-size: 0.9em;
		   font-family: Arial, Trebuchet MS, sans-serif;
                   height: 100%;
		   
		}
		div#sidebar  p#infoSidebar {
			text-align: center;
			margin-bottom: 60px;
		}
			div#sidebar  p#infoSidebar a {
				color: #666;
			}
			div#sidebar  p#infoSidebar a:hover{
				text-decoration: none;
			}

	div#footer {
	   clear:both;       /* keep footer below content and menu */
	   color: #787878;
	   background: #333333; /* same bg color as in header */
	   border-top: 1px solid #202020;
	   font-family: Arial, sans-serif;
	   font-size: 0.8em;
	   overflow: hidden;
	   margin-bottom: 10px;
	}
		div#footer ul li {
		   float: left;
		   padding: 10px 20px 0 20px;      /* some air for footer */
		   margin:0;
		   list-style-type: none;
		   font-size: 1.15em;
		}
			div#footer ul li a {
			   color: #787878; /* needed becouse footer link would be same color as background otherwise */
			   text-decoration: none;
			}
			div#footer ul li a:hover {
				color: #fff;
			}
			div#footer ul li h3 {
				color: #fff;
				font-family: Arial, sans-serif;
				font-size: 1em;
				font-weight: normal;
			}
		#footer-bottom {
			background: white;
			width: 100%;
			clear: both;
			overflow: hidden;
		}
			p#menu-footer-right {
				float: right;
				padding: 10px 20px 0 0;
				
			}
				p#menu-footer-right a {
					color: #787878;
					text-decoration: none;
				}
				p#menu-footer-right a:hover {
					color: #fff;
				}
			#footer-left {
				float: left;
				margin: 5px 0;
			}
				div#footer-left p {
					text-align: left;
					padding: 0;
					margin: 0;
					text-indent: 2px;
				}
				div#footer p#baseline {
					color: #E17100;
				}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   margin: 1em;
   border-bottom: 1px dotted black;
}


/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
h1, h2, h3, h4 {
	font-family: Georgia, Times, Serif;
	color: #494949;
}
div#content h1 {
   font-size: 2em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
   color: #E17100; 
   font-size: 1.7em; 
   text-align: left; 
/* some air around the text */
   padding-left: 0.5em;
   padding-bottom: 1px;
/* set borders around header */
   border-bottom: 1px solid #FFD2A6; 
   line-height: 1.5em;
/* and some air under the border */
   margin: 0 0 0.5em 0;
}
div#content h3 {
   font-size: 1.5em;
   line-height: 1.3em;
   margin: 1em 0 0.5em 0;
}
div#content h4 {
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#sidebar h2 {
	color: #666;
	border: 0;
	font-size: 1.5em;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 1.5em 0;  /* some air around p elements */
   line-height:1.4em;
   padding: 0;
}
blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
pre {
   font-family: monospace;
   font-size: 1.0em;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}
#content span.sousTitre {
	color: #999;
	text-indent: 35px;
	display: block;
	margin: -5px 0 10px 0;
}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

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 */
}

/* END TEXT */

/* LISTS */
div#main ul,
div#main ol,
div#main dl {
  font-size: 1.0em;
   line-height:1.4em;
   margin: 0 0 1.5em 0;
}
div#main ul li,
div#main ol li {
   margin: 0 0 0.25em 2em;
}

div#dl dt {
   font-weight: bold;
   margin: 0 0 0.25em 3em;
}
div#dl dd {
   margin: 0 0 0 3em;
}


/* END LISTS */

/************************************
---------------- FORUMULAIRE --------------------
***********************************/
.contactform {margin-bottom: 20px;}
.contactform fieldset {padding: 1em; background-color: #F7F7F7; border: 1px solid #CCC}
.contactform fieldset legend {font-family: Georgia,Times New Roman,serif; font-weight: bold; letter-spacing: 0.3em;}
.contactform div {width: 100%; padding: 1% 0; color: #666}
.contactform div label {display: block; width: 40%; margin-bottom: 2px;}
.contactform div.required {font-weight: bold;}
.contactform  input , .contactform textarea{padding: 3px; border: 1px solid #CCC; font-family: Arial, sans-serif;}
.contactform  input  {width: 40%;}
.contactform textarea {font-size: 97%; width: 98%}
.contactform  .note {font-size: 0.8em; font-style: italic;}
.contactform  .fbsubmit {cursor: pointer;}
.error_message {background: #930000; padding: 5px; color: white; margin-bottom: 15px;}
#content .error {color: #930000; display: block; margin: 8px 0 0 0; text-indent: 0;}
/* End of 'BM : Top menu + 2 columns' */

