/* Start of CMSMS style sheet 'Layout: Left sidebar + 1 column' */
/*****************
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;
}

/*li.separator{
   height:10px;
}*/


/*
Set initial font styles
*/
body {
   font-family: Arial, Verdana, sans-serif;
   font-size:13px;
}

/*
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 {
   background-color: inherit; 
   text-decoration: none;
   color:inherit;
}

a:visited {
   text-decoration: none;
   color:inherit;
}


/* remove underline on hover and change color */
#main a:hover {
   text-decoration: none;
   color:#fff;
   background-color:#4b8f20;
   cursor:pointer;
}
#main a:hover.temoignage{
   text-decoration: none;
   color:#4b8f20;
   background-color:#fff;
   font-size:12px;
}
#main a.temoignage{
   text-decoration: none;
   color:#4b8f20;
   background-color:#fff;
   font-size:12px;
}
/*#content a:hover h1{
   color:inherit;
   background-color:inherit;
}
#content a:hover h2{
   color:#fff;
   background-color:#4b8f20;
}
#content a:hover h3{
   color:#fff;
   background-color:#4b8f20;
}
#content a:hover h4{
   color:#fff;
   background-color:#4b8f20;
}
#content a:hover h5{
   color:#fff;
   background-color:#4b8f20;
   cursor:pointer;
}
#content a:hover h6{
   color:#fff;
   background-color:#4b8f20;
}
#content span a:hover{
   color:#fff;
   background-color:#4b8f20;
}*/




.titre1{
   font-size: 26px;
   margin: 0;
   color:#4b8f20;
   font-weight:bold;
   margin-bottom:5px;
   margin-top:0px;
}
.titre2 {
	color: #4b8f20;
	font-size: 18px;
       font-weight:bold;
	text-align: left; 
/* some air around the text */
	padding-bottom: 1px;
/* and some air under the border */
        margin-bottom: 5px;
}
.titre3 {
   color: #4b8f20;
   font-size: 16px;
   font-weight:bold;
   line-height: 16px;
        margin-bottom: 5px;
}
.titre4 {
   color: #4b8f20;
   font-size: 14px;
   font-weight:bold;
}
.titre5 {
   color:#4b8f20;
   font-size: 12px;
   font-weight:bold;
   margin-bottom:0px;
}
.titre6 {
   color:#000;
   font-size: 11px;
   font-weight:normal;
}





/* END HEADINGS */




/*****************
basic layout 
*****************/
/*div#page{
   margin: 0 auto; 
}*/

/* center wrapper, min max width */
div#pagewrapper {
   margin: 0 auto;  
   width: 1000px;
   color: black;
  background-color:#fff;
   padding:10px;
}


/*** 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
*/
div#header {
   height: 130px;    /* adjust according your image size */
   background:url("images/background-header.jpg") top center;
}

div#header div.mil {
  width:1000px;
  margin:auto;
}
div#header div.mil a {
  margin:0px;
}

img.logo{
  margin:0px;
  padding:0px;
}

#menu_top{
   height:32px;
   background-color: #6d4d2d; 
   margin:0px;
}

#content_menu_top{
   margin: 0 auto; 
   height:32px;
   line-height:32px;
   background-color: inherit; 
   width:1000px;
}

#accueil_menu_top{
   margin-left:0px;
   float:left;
   background-color: inherit; 
   color:#fff;
}

#accueil_menu_top a{
   color:#fff;
}

#search_menu_top{
   margin-right:0px;
   float:right;
   background-color: inherit; 
}

.degrade {
 background:url("images/fondvert.jpg") repeat-x top;
padding-top:20px; 
position: relative;
/height:1%; 
}

/****** menus  */
.sidebar_menu{
   margin:0px;
   width:200px;
   margin-bottom:20px;
}

div.content_sidebar_menu{
   background-color:#ffffff;
   border:none;
}

.top_sidebar_menu{
   height:24px;
}

.top_sidebar_menu#via{
   background:url("images/bouton-via.jpg");
}

.top_sidebar_menu#iti{
   background:url("images/bouton-via.jpg");
}
.top_sidebar_menu#lettre{
   background:url("images/bouton-lettre.jpg");
}
.top_sidebar_menu#rss{
   background:url("images/bouton-rss.jpg");
}
.top_sidebar_menu#rss div.title_sidebar_menu{
   text-align:left;
   margin-left:40px;
}
.top_sidebar_menu#presse{
   background:url("images/bouton-presse.jpg");
}
.top_sidebar_menu#expo{
   background:url("images/bouton-expo.jpg");
}
.top_sidebar_menu#expo div.title_sidebar_menu{
   margin-left:10px;
}

div.title_sidebar_menu{
   font-size:14px;
   text-align:center;
   color:#fff;
    padding-top:4px;
}

div .title_sidebar_menu a{
   color:#fff;
}

div.content_sidebar_menu{
   background-color:#ffffff;
  padding:0px;
  margin:0px;
  width:100%;
}

div.content_sidebar_menu div.page{
   background:url("images/menu.gif");
   height:22px;
   margin-top:2px;
   margin-bottom:2px;
   line-height:22px;
}

div.page#acces{
   background:url("images/bouton-acces.jpg");
   height:22px;
   margin-top:20px;
   margin-bottom:0px;
   line-height:22px;
}

div.content_sidebar_menu div.page a{
  color:#000;
}

div.page#acces span{
  color:#fff;
}

div.content_sidebar_menu div.currentpage{
   background:url("images/menu_gris.gif");
   height:22px;
   margin-top:2px;
   margin-bottom:2px;
   line-height:22px;
}

div.content_sidebar_menu div.currentpage span{
   font-weight:bold;
   font-size:8pt;
}

.connection {
  border:1px solid #999999;
  border-top:none;
  padding:3px;
  margin-bottom:2px;
}

input[type=text]{
   width:180px;
}

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

 div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 } 


div#content_main{  
   padding:5px;
   padding-top:0px;
   padding-bottom:0px;
}

div#main {
   width:515px;
   float:left;
   margin-bottom:0px;
   margin-left:5px;
}

div#main2 {
   width:790px;
   float:left;
   margin-bottom:0px;
   margin-left:5px;
}

div#sidebar {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 200px;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
margin-right:5px;

 }

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


div.calendrier{
  width:260px;
  float: left; 
  margin-bottom:10px;
  background:url("images/calendrier-fond.gif");
  height:260px;
}

div.calendrier div.boutons{
  height:15px;
  width:10px;
  background-color:#558e23;
  color:#fff;
  margin-top:0px;
  float:right;
  cursor:pointer;
  text-align:center;
  font-weight:bold;
}

div.calendrier a:hover{
   color:inherit;
   background:none;
}
div.calendrier div.top_calendrier{
 padding:5px;
 color:#fff;
 text-align:center; 
}

div.calendrier div.content_calendrier{
 background-color:#fff;
 width:240px;
  margin-right:0;
  margin-left:10px;
  height:210px;
  padding-top:10px;
  overflow:hidden
}

div.calendrier div.content_calendrier div.salon{
  width:220px;
  margin-right:auto;
  margin-left:auto;
  margin-top:5px;
  text-align:center;
  font-size:12px;
}

div.calendrier div.content_calendrier div.date{
 background-color:#756c5b;
  color:#fff;
  padding:3px;
}

div.calendrier div.content_calendrier div.date a{
  color:#fff;
}

div.calendrier div.content_calendrier div.lieu{
 background-color:#fff;
 width:212px;
  padding:3px;
  border:1px solid #756c5b;
  color:#999999;
  text-align:center;
  font-size:12px;
}
div.calendrier div.content_calendrier div.lieu span a{
  color:#333333;
}
div.calendrier div.content_calendrier div.lieu span a:visited{
  color:#333333;
}

div.calendrier div.content_calendrier div.lieu span{
  color:#333333;
}

div.calendrier div.content_calendrier #consult a{
  color:black;
}

div.pub{
  width:260px;
  float: left; 
  margin-top:0px;
  margin-bottom:10px;
}

div.petitepub{
  width:260px;
  float: left; 
  margin-top:0px;
  margin-bottom:10px;
  height:130px;
}

div.jeu{
  width:260px;
  float: left; 
  margin-top:0px;
  margin-bottom:10px;
}

div.carte{
  width:260px;
  float: left; 
  margin-top:0px;
  margin-bottom:10px;
  border: 1px solid #aaa
}

div#footer {
   clear: both;       /* keep footer below content and menu */
   color: #666666;
   background:url("images/footer.jpg");
   margin-top:0px;
   margin-bottom:10px;
   height:129px;
   width:1000px;
}

div#footer table{
  float:right;
  width:780px;
  margin-top:40px;
  margin-bottom:5px;
}

div#footer tr{
  height:60px;
  text-align:center;
}

div#footer td{
 border-right: 1px solid #ccc
}

div#footer td#end{
 border-right: none;
}

div#footer td a{
 color:#666666;
}

div#footer td a:hover{
 color:#666666;
 background:none;
}

div#footer_rights {
   color: #888888;
   margin-bottom:10px;
   float:right;
   text-align:right;
   font-size:8pt;
}

div#footer_rights p a {
 background:none;
}

/* 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 #aaa;
   margin-top: 1em;
   margin-bottom: 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;
}

div.liste_temoignages{
   float:left;
   border-right:1px solid #aaa;
   width:156px;
   padding-right:4px;
   /width:160px;
}


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

/* TEXT */
p {
   margin-bottom: 5px; /* some air around p elements */
   line-height: 1.4em;
   padding: 0;
}

blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

.plus{
  background:url("images/bouton-plus.jpg");
  color:#fff;
  font-size:8pt;
  border:none;
  width:100px;
  height:20px;
  line-height:20px;
}

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


}

/* Separating the divs on the template explanation page, with some bottom-border */
div.templatecode {
  margin: 0 0 2.5em;
}

/* END TEXT */

/* LISTS */
ul {
 list-style-image: url("uploads/images/0 UTILITAIRES (pictos, logos, etc)/liste.jpg");
 list-style-position: inside;
}

li {
  margin:0px;
  padding:2px;
}

li li {
  margin-left:10px;
  padding:2px;
}

ul li ul{
  list-style:none;
  margin-left:20px;
}

/* definition lists topics on bold */
div#main dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#main dl dd {
   margin: 0 0 1em 1em;
}

div#main dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}


/* END LISTS */


/*FORM*/

div.pageoverflow p.pagetext{
  margin-bottom:0px;
  width:505px;
}

div.pageoverflow p.pageinput input{
  width:505px;
}

div.pageoverflow p.pageinput textarea{
  width:507px;
}

div.ident {
 margin:0px;
 width:505px;
 border:2px solid #8dbb00;
}

div.ident div.texte{
 width:30%;
 float:left;
 margin:0px;
 margin-left:10px;
 padding:0px;
}

div.ident div.inp{
 margin:0px;
 padding:0px;
}

div.ident p#but{
 text-align:right;
 margin-top:10px;
 margin-right:10px;
}

div.bigimg{
  position:absolute; 
  margin-top:10px;
  margin-left:0px;
}

div.img{
  float:left;
  border:1px solid #8dbb00;
  padding:5px;
  margin:5px;
  width: 103px;
  height:70px;
  /width:113px;
  /height:80px;
}

#content a.lien_image:hover{
  background-color:#fff;
}

div.img img.vignette{ 
  width:82px;
  margin:auto;
  max-height:70px;
}

img.image {
  max-width:510px;
  margin:auto;
}

div.suiv {
 float : right;
 margin-right:30px;
 margin-top:5px;
}

div.prec {
 float : left;
 margin-left:30px;
 margin-top:5px;
}

p.compte{
 margin-bottom:0px;
 margin-top:15px;
}

/*END FORM*/

/*SEARCH*/
.search-button{
   font-size:8pt;
   color:#fff;
    background:url("images/recherche.jpg");
    border:none;
    margin-bottom:2px;
    margin-left:2px;
    margin-top:5px;
    text-decoration:none;
    padding-left:5px;
    padding-right:5px;
    padding-top:3px;
    padding-bottom:3px;
}

.search-input{
   font-size:8pt;
   font-family:Arial, Verdana, sans-serif;
   border:none;
    padding-left:5px;
    padding-right:5px;
    padding-top:4px;
    padding-bottom:4px;
   color:#555;
    margin:2px;
    margin-top:5px;
}

a.search{
color:#000;
}

a.search:visited{
color:#4f473c;
}



/*jeu*/

div.jeu_form {
 margin:0px;
 width:485px;
 /width:505px;
 border:2px solid #8dbb00;
 padding:10px;
}


a.valid_button{  
  display: block;
  background-color: transparent;
  background-image: url(images/bouton.jpg);
  background-repeat: no-repeat;
  width: 132px;
  height: 24px;
  margin: 5px auto;
  padding: 5px 0 0 0;
  text-align: center;
  font-weight: bold;
  color:#fff;
}

#content a.valid_button:hover{  
  background-color: #fff;
  background-image: url(images/boutonon.jpg);
  background-repeat: no-repeat;
  color:#fff;
}

a.reglement{
  text-decoration:underline;
  color:#4b8f20;
}

#content a.reglement:hover{
  text-decoration:none;
  font-style:italic;
  background-color: #fff;
  color:#4b8f20;
}

a.kbutton{
  display: block;
  background-image: url(images/bouton.jpg);
  background-repeat: no-repeat;
  width: 132px;
  height: 24px;
  padding: 5px 0 0 0;
  text-align: center;
  font-weight: bold;
  color:#fff;
}

#content a.kbutton:hover{  
  background-color:#fff;
  background-image: url(images/boutonon.jpg);
  background-repeat: no-repeat;
  color:#fff;
}

.bouton_contact{
  display:block;
  color:#fff;
  background-image: url(images/bouton_contact.jpg);
  background-repeat: no-repeat;
  width:50px;
  height:20px;
  text-align:center;
  line-height:20px;
  float:right;
}
/* End of 'Layout: Left sidebar + 1 column' */

