/* Start of CMSMS style sheet 'Layout: Top menu + 2 columns' */
/*****************
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: 75.01%;
   line-height: 1em;
   width: 970px;
  margin-left:auto;
 margin-right:auto;
 color: #333;

}

/*
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: #4a5d11; 
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
              /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
/*a:hover {
   
   background-color: #C3D4DF;
   color: #385C72;
}*/

/*****************
basic layout 
*****************/
#bandeau_droite
{
width:210px;
float:right;}


div#menuhaut{
}

div#courbe_sous_bandeau
{
background-image:url(images/cms/courbe_sous_bandeau.png);
background-repeat:no-repeat;
height:98px;
width:970px;
}



/* center wrapper, min max width */
div#pagewrapper {
   border: 0px;
   margin: 0 auto;     /* this centers wrapper */
    width:970px;
   align: center;
   /*max-width: 80em;*/ /* IE wont understand these, so we will use javascript magick */
   */min-width: 60em;*/
   background-color: #fff;;
   color: black;
   
  
}

div#defilant{
height:200px;
}

marquee{
height:140px;
margin-left:2px;}


div#float_gauche
{
display: block;width: 760px; float: left;
}

div#search {
     width: 207px;     /* enough width for the search input box */
   text-align: right;
   padding: 0.6em 0 0.2em 0; 
   background: url(uploads/images/Louey/loueyrecherche.gif) no-repeat 0 ;
   position:relative;
float:right

}
div#search form label{
visibility:hidden;
width:0px;}

div#search form{

height:30px;
margin-top:6px;
 margin-right:10px;
}

div#search form text{
margin-right:3px;
}
/* div#content ul li a{
color:#585235;
font-weight:bold;
font-size:15px;}

div#contentul li a:active{
color:#585235;
font-weight:bold;
font-size:15px;
}

div#contentul li a:visited{
color:#585235;
font-weight:bold;
font-size:15px;
}*/
fieldset{border:none;}

div#search form img{
margin-top:-2px;
}
div#search form cntnt01searchinput{
align:left;

}

div#search input{
visibility:visible;
margin-top:-15px;
padding-top:0px;
margin-bottom:-4px;
}




div.breadcrumbs {
   padding: 1em 0 1.2em 0; /* CSS short hand rule first value is top then right, bottom and left */
   font-size: 100%;             /* its good to set fontsizes to be relative, this way viewer can change his/her fontsize */
           /* css shorthand rule will be opened to be "0 1em 0 1em" */
   
   margin-left:50px;
   font-family:Arial;
   color:#663333;
font-weight:normal;
margin-top:10px;
}

div.breadcumbs span{
font-weight:normal;
}

div.breadcrumbs a{
color:#663333;
text-decoration:none;
font-weight:normal;
}

 div.breadcrumbs span.lastitem { 
   font-weight:normal;
   color:#663333;
 }
  div.breadcrumbs img{
margin-bottom:-2px;
}

div#content {
   /* some air above and under menu and content */
margin: 0; 
   background: url(uploads/images/Louey/mairielouey_corps.gif) repeat-y ;
  min-height:457px;

   margin-left:80px;
padding-bottom:40px;
}

div#main {
   margin-left: 50px; /* 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 */
   width:690px;
}

div#contenu table td a:hover{

background-color:#fff;
}

div#sidebar {
   float: left;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 26%;    /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX ie doublemargin bug */
   margin-left: 0;
}

/* if sidebar doesnt include menu but content add class="hascontent" */
div#sidebar.hascontent {
   padding: 0 1%;
   width: 24%;  /* make width smaller if there's padding, or it will get too wide for the floated divs in IE */
}

div#piedpage{
 background: url(uploads/images/Louey/mairielouey_footer.gif) no-repeat  0 100%;
height:56px;
}

div#footer {
  height:56px;
   color: #585235;
   width:980px;
   margin-left:0px;

}

div#footer p {
float:left;
display:inline;
   font-size: 12px;
   padding: 0px;      /* some air for footer */
  width:620px;
   font-weight:bold;
padding-top:32px;
}

div#footer span
{
float:right;
font-size:12px;
font-weight:bold;
margin-right:40px;
display:inline;
padding-top:32px;
}
div#footer span a
{
text-decoration:none;
color: #585235;
}

div#footer p a {
  padding-right:10px;
  padding-left:10px; 
text-decoration:none;
color: #585235;

}



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

/* relational links under content */
div.left49 {
margin-left: 0px;
  float: left;
  width: 49%;  /* 50% for both left and right might lead to rounding error on some browser */
}

div.right49 {
  margin-right:12px;
  /* paddin-top:10px; */
  float: right;
  width: 150px;
  text-align: right;
 /* margin-top:21px;*/
}
div.right49 img{
text-align:left;
margin-right:1px;}

div.right49 a {
text-decoration:none;
margin-top:10px;
color:#FFFFFF;
font-weight:normal;
}
div.right49 p{
padding-top:18px;}


/********************
CONTENT STYLING
*********************/
div#content {
margin-left: 0px;

}
div#news
{
border:none;
color:#4a5d11;
font-weight:bold;
clear:both;
}

div#news pollcontent_4 h3{
color:#4a5d11;
font-weight:bold;
}


legend{border:none;}

/* HEADINGS */
div#content h1 {
   font-size: 2em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
   color:#968168;
}
div#content h2 {
 
   color:#6b8029;
   font-size: 18px; 
   text-align: left; 
/* some air around the text */
   padding-left: 0em;
   padding-bottom: 1px;
/* set borders around header */
   border-bottom: 1px solid #6b8029;
   
   line-height: 1.5em;
/* and some air under the border */
   margin: 0 0 0.5em 0;
}
h3{

font-size:18px;
}

h4{
   color:#968168;
   font-size: 18px;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}

div#content h3 {
   color: #4a5d11;
   font-size: 14px;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color:#968168;
   font-size: 16px;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
  border-bottom: 1px solid #968168;
}
h5 {
   font-size: 16px;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
   color:#a6c055;
}

div#content h5 {
   font-size: 16px;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
   color:#a6c055;
}
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: 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;
}

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

#conteneur{
margin-left:10px;}

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

/* accessibility */

/* 
menu links accesskeys 
*/
html{
background-color:#BBB699;}
span.accesskey {
   text-decoration:none;
}

/* 
accessibility divs are hidden by default 
text, screenreaders and such will show these 
*/
.accessibility, hr {
 /*  position: absolute;*/
   top: -999em;
   left: -999em;
}

/* 
definition tags are also hidden 
these are also used for menu links    
*/
dfn {
   position: absolute;
   left: -1000px;
   top: -1000px;
   width: 0;
   height: 0;
   overflow: hidden;
   display: inline;
}
/* end accessibility */


/* wiki style external links */
/* external links will have "(external link)" text added, lets hide it */
a.external span {
  position: absolute;
  left: -5000px;
  width: 4000px;
}

/* make some room for the image */
a.external {
/* css shorthand rules, read: first top padding 0 then right padding 12px then bottom then right
  padding: 0 12px 0 0; */
}
/* colors for external links */
a.external:link {
  color: #18507C;
/* background image for the link to show wiki style arrow */
  background: url(images/cms/external.gif) no-repeat 100% 0;
}
a.external:visited {
  color: #18507C; /* a different color can be used for visited external links */

/* 
Set the last 0 to -100px to use that part of the external.gif image for different color for active links 
external.gif is actually 300px tall, we can use different positions of the image to simulate rollover image changes.
*/
  background: url(images/cms/external.gif) no-repeat 100% 0; 
}

a.external:hover {
  color: #18507C;
/* Set the last 0 to -200px to use that part of the external.gif image for different color on hover */
  background: url(images/cms/external.gif) no-repeat 100% 0; 
  background-color: #C3D4DF;
}
/* end wiki style external links */


/* clearing */
/* 
clearfix is a hack for divs that hold floated elements. it will force the holding div to span all the way down to last floated item.
We strongly recommend against using this as it is a hack and might not render correctly but it is included here for convenience.
Do not edit if you dont know what you are doing
*/
	.clearfix:after {
		content: "."; 
		display: block; 
		height: 0; 
		clear: both; 
		visibility: hidden;
	}
	* html>body .clearfix {
		display: inline-block; 
		width: 100%;
	}
	
	* html .clearfix {
		/* Hides from IE-mac \*/
		height: 1%;
		/* End hide from IE-mac */
	}

/* end clearing */

* Horizontal menu for the CMS CSS Menu Module */
/* by Alexander Endresen */


/* The wrapper clears the floating elements of the menu */

/* Fix for Opera 8 */
.clearb { clear: both; }

#menuwrapper { 
height:25px;
margin-left:15px;
padding-top:7px;
}


/**
* formulaire contact
**/

span.form_obligatoire {
 color: red; 
}
td.nom_champs {
 padding-top: 6px;
 width: 80px; display: block;
}

table.formulaire textarea {
 width: 500px;
}
table tr {
 height: 25px;
}

table tr td input, table tr td textarea {
 border: 1px solid #000;
}

.form_valide {
 border: 1px solid #7d9630;
 text-align: right;
}

#encadre {
 border: 1px solid #7d9630;
 background-color: #a6c055;
 padding-left: 5px;
}

#content #encadre h5 {
 color: #7d9630;
}


/* End of 'Layout: Top menu + 2 columns' */

