/* Start of CMSMS style sheet 'MCG _ Layout' */
/*****************
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: 11px;
   line-height: 1.35em;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 1em;
}


img {
   border: 0;
}


a,
a:link 
a:active {
   text-decoration: underline;
   background-color: inherit; 
   color: #950025; 
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
  color: #950025;             
}

a:hover {
   text-decoration: none;
   color: #950025;
}

/*****************
basic layout 
*****************/
body {
   background-color: #000;
   color: #000;
   margin:1em; /* gives some air for the pagewrapper */
}


div#pagewrapper {
   border: 1px solid black;
   margin: 0 auto;    
   width: 770px; 
   background-color: #fff;
   color: black;
}


/*** header ****/

div#header {
   height: 150px; /* adjust according your image size */
   background: #000 url(images/css/entete.jpg);           
}

div#header h1 a {
   display: block; 
   height:110px; width:300px;        
   text-indent: -999em;  
   text-decoration:none; 
}



div.breadcrumbs {
   padding: 1em 0 1.2em 0; 
   font-size: 85%;             
   margin: 0 1em;              
}

 div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 }


div#content {
   padding: 30px 1em 0px 1em;
background:#fff url(images/css/bg_center.jpg) top center no-repeat;
}

div#main {
   margin-left: 29%; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 2%; /* and some air on the right */
}


div#sidebar {
   float: left; 
   width: 26%;  
   display: inline; 
   margin-left: 0;
}


div#sidebar.hascontent {
   padding: 0 1%;
   width: 24%; 
}

div#footer {
   clear:both; 
   background-color:#AE5449;
   color:#88b6b6;
}

div#footer p {
   font-size: 0.8em;
   padding: 1.5em;     
   text-align: center; 
   margin:0;
}

div#footer p a {
   color: #fff; /* needed becouse footer link would be same color as background otherwise */
}

/* 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;
}

/* relational links under content */
div.left49 {
  float: left;
  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;
}




/********************
CONTENT STYLING
*********************/

div#content {

}

/* HEADINGS */
div#content h1 {
   font-size: 2em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
   font-family: "Times New Roman",Times,serif;
font-size: 2em;
font-weight: bold;
font-variant: small-caps;
color: #950025;
text-indent: 2em;
font-style: italic;
padding-bottom:1.5em;
}
div#content h3 {
   color: #950025; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
font-weight:normal;
}
div#content h4 {
   color: #000; 
   font-size: 1.2em;
   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;
}
/* 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: 2px dotted #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;
}

/* 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 3em;
}

div#dl dt {
   font-weight: bold;
   margin: 0 0 0.25em 3em;
}
div#dl dd {
   margin: 0 0 0 3em;
}
/* END LISTS */

.courbes {width:100%; height:75px; background:transparent url(images/css/courbes.gif) bottom center no-repeat;}

.rose {color: #ff3366;}
.turquoise {color: #436d6a;}

img.left {float:left; padding-right:1.5em;}
img.right {float:right; padding-left:1.5em;}

table, tr,td {vertical-align:top;}

/*********** NEWSLETTER + Contact */

#newsletter_Subscribe, div.contactform {padding:1em; border:1px dotted #436d6a;}
#newsletter_Subscribe input, div.contactform input, .contactform textarea  {border: 1px solid #436d6a;}
#newsletter_Subscribe input[type="button"], #newsletter_Subscribe input[type="submit"],
div.contactform input[type="button"], div.contactform input[type="submit"]

{ cursor: pointer;
background-color: #436d6a;
color: #ffffff;
padding:0.25em;
border:2px solid #fff;
font-size:0.9em;}

#newsletter_Subscribe input[type="button"]:hover, #newsletter_Subscribe input[type="submit"]:hover,
div.contactform input[type="button"]:hover, div.contactform input[type="submit"]:hover

{ cursor: pointer;
background-color: #fff;
color: #436d6a;
border:2px solid #436d6a;}

.contactform legend {font-size:1.5; font-weight:bold;}
.contactform fieldset {border:none;}
.contactform label {color:#436d6a; display:block; float:left; width:7em; font-weight:bold;}
.contactform input, .contactform textarea {margin:0.15em;color:#000; font-size:1.1em; padding:.2em;}
 .contactform textarea {width:24em;}
div.contactform input[type="button"], div.contactform input[type="submit"]{margin-left:7.8em;}

input:focus, textarea:focus{
background-color: lightyellow;
}


/****************** CATALOGER **/

.category_items{border:1px solid # 436d6a;}
.category_item {float:left; width:120px; padding:1em;}
.picture img{border:1px solid #000; padding:0.25em;background-color:#fff;}
.cat_title {font-size:0.8ems;}
.courbes, .hr{clear:both;}


/* End of 'MCG _ Layout' */

