/* Start of CMSMS style sheet 'Layout: SCM Médoc' */
/*****************
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: Arial, Verdana, Geneva, Helvetica, sans-serif;
   font-size: 80.01%;
   background-color: #E6EFF4;
   text-align: center;
}

/*
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: underline;
/* 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 */
   background-color: inherit; 
   color: #007AC1; 
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   background-color: #F2FAFC;
   color: #333366;
}


/* center wrapper, min max width */
div#pagewrapper {
   background: #fff url(images/scm/bgPagewrapper.gif) repeat-y top left;
   width: 1010px;
   color: #333366;
   margin: 0 auto;
   text-align: left;
}

div#pagewrapper2 {
   background: url(images/scm/bgPagewrapper2.gif) no-repeat top left;
   padding-top: 8px;
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it so that the image wont cut off
*/
#evitements {
   text-align: right;
font-size: 90%;
}
#evitements ul{
   float: right;
   margin-right: 50px;
}
#evitements li {
   float: left;
   list-style: none; 
   margin-left: 5px;
}
#evitements a {
   padding: 5px;
   background-color: #E6EFF4;
   display: block; 
   text-decoration:none; 
}
#evitements a:hover {
   background-color: #fff; 
}


div#header h1 a {
/* you can set your own image here */
   background: url(images/scm/logo.gif) no-repeat top right; 
   display: block;
   height: 332px;            
   text-indent: -999em;  
   text-decoration:none; 
}

 div#content {
   margin: 0 auto 0 0; 
   padding-bottom: 10px;
}


div#main {
   padding-top: 198px;
   margin-left: 265px;
}

div#sidebar {
   float: left;       
   width: 265px; 
   display: inline; 
   background: url(images/scm/bgSidebar.gif) no-repeat bottom right;
   padding-bottom: 7px;
}

#texte {
   width: 475px;
   padding-left: 35px;
   float: left;
}
#infos {
   margin-left: 530px;
   margin-right: 30px;
   background: #007AC1 url(images/scm/bgInfos.gif) repeat-y top left;
}
#infos2 {
   padding-top: 40px;
   background: url(images/scm/bgInfos2.gif) no-repeat top left;
}
#infos3 {
   padding: 0px 10px 30px 10px;
   background: url(images/scm/bgInfos3.gif) no-repeat bottom left;
   color: #fff;
}
#infos3 h2 {
   color: #fff;
   font-size: 1.3em;
   margin-bottom: 15px;
   padding-left: 15px;
   background: url(images/scm/puceMenu2.gif) no-repeat center left;
}

#infos3 h3 {
   color: #E6EFF4; 
   font-size: 1.1em;
   font-weight: normal;
   padding-left: 18px;
   background: url(images/scm/bg2_h3.gif) no-repeat center left;
}
#infos3 h4 {
   color: #E6EFF4; 
   font-size: 1em;
   padding: 5px 0px 5px 30px;
}

#infos3 ul,
#infos3 ol {
   margin: 0;
}

#infos3 ul li,
#infos3 ol li {
   margin: 0 0 1em 1em;
}


div#footer {
   clear: both;       /* keep footer below content and menu */
   background: url(images/scm/bgFooter.gif) no-repeat bottom left; /* same bg color as in header */
   padding: 0px 22px;
}

div#footer2 {
   background: url(images/scm/bgFooter2.gif) no-repeat top center; 
   padding: 25px 0px;
}

div#footer p {
   text-align: center;  /* centered text */
   margin: 0;
   padding: 0;
}


/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   padding: 1em;
   border-bottom: 1px dotted black;
   margin: 1em;
}

/* relational links under content */
div.left49 {
  width: 49%; /* 50% for both left and right might lead to rounding error on some browser */
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}

.bandeau {
   position: absolute;
   width: 702px;
   height: 122px;
   margin: -160px 50px 38px -6px;
}

.bandeau .image {
   width: 256px;
   height: 122px;
   margin-right: 15px;
   float: left;
   background: url(images/scm/bandeau2.jpg) no-repeat center left; 
}

.bandeau .first {
   background: url(images/scm/bandeau1.jpg) no-repeat center left; 
}

.bandeau .last {
   width: 160px;
   margin-right: 0px;
   background: url(images/scm/bandeau3.jpg) no-repeat center left; 
}


/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
div#texte h1 {
   font-size: 2em; 
   margin: 0;
}
div#texte h2 {
	color: #007AC1; 
	font-size: 1.9em; 
	padding-bottom: 15px; 
}
div#texte h2 img {
	padding-right: 5px; 
}
div#texte h3 {
   color: #00B6FF; 
   font-size: 1.3em;
   padding-left: 18px;
   background: url(images/scm/bg_h3.gif) no-repeat center left;
}
div#texte h4 {
   color: #007AC1; 
   font-size: 1.2em;
   padding: 5px 0px 5px 30px;
}
div#texte h5 {
   color: #00B6FF; 
   font-size: 1em;
}
div#texte h6 {
   color: #007AC1; 
   font-size: 1em;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 1.5em 0; /* some air around p elements */
   line-height: 1.5em;
   padding: 0;
}

blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}

/* Separating the divs on the template explanation page, with some bottom-border */
div.templatecode {
  margin: 0 0 2.5em;
}

/* END TEXT */

/* LISTS */
/* lists in content need some margins to look nice */

div#texte ul,
div#texte ol {
   margin: 0 0 1.5em 0;
}
div#texte ul {
   list-style-position: outside; 
   list-style-image: url(images/scm/bg_li.gif);
}
div#texte ul li,
div#texte ol li {
   margin: 0 0 0.25em 1.8em;
}
div#texte ul.picturelist {
	list-style-image:none; 
	list-style-type:none;
	margin: 0 auto;
	padding: 0px 5px;
	text-align:center;
}
div#texte ul.picturelist .thumb {
	margin: 0px;
	padding: 5px 10px;
	width:120px;
}


/* END LISTS */


/* BEGIN Formulaire */

input,textarea {
	font-size: 100%;
	font-family: Arial, Verdana, Geneva, Helvetica, sans-serif;
	margin:0;
	padding:0;
}
input.form , textarea.form {
   border: 1px solid #007AC1; 
   margin: 2px 0px;
}
form {
	margin:0;
	padding:0;
}
label {
	width:130px;
	float: left;
	text-align: right;
	margin: 2px 5px;
}
.formError {
	color:red;
}

/* END Formulaire */


.both {
   clear: both;
}
.center, .mutlimedia {
	text-align: center;
}

p.bloc1 {
	padding: 3px 5px;
	background: #F2FAFC; 
}
span.clr1 {
	color: #007AC1; 
}

#baseline {
	text-align : center;
}

#baseline .content {
	margin : 0 auto;
	width : 930px;
	font-size : 0.8em;
	padding : 10px 40px;
	text-center : justify;
}

/* End of 'Layout: SCM Médoc' */

