/*****************
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;
}

/* Modif pour voir les puces en impression */
ul, ol, dl {
   margin: 0 0 1.5em 0;
}
ul li, ol li {
   margin: 0 0 0 3em;
}


/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Palatino Linotype, Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 100%;
   line-height: 0.89em;
}

/*
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: #249F00;
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
   color: #249F00; /* a different color can be used for visited links */
}

/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   color: #DF8424;
}

/*****************
basic layout 
*****************/
body {
   background-color: #FBE09B; /* Couleur de fonds du site */
   color: #333;
   margin:1em; /* gives some air for the pagewrapper */
}

body.popup {
   background-color: #FFFFCC; /* Couleur de fonds du site (version pop-up) */
}

iframe {
   border: 0;
}

/* controles de formulaires - generaux */
input, textarea, select {
   background-color: #F9ECA2;
   border: 1px solid #759D39;
}

/* controles de formulaires - boutons et champ recherche */
input.bouton, div#search input {
   background-color: #97C258; 
   color: #FFFFFF;
   font-weight: bold;
   cursor: pointer;
}

input.bouton:hover, div#search input:hover {
   background-color: #F0BA3E;
}

/* controles de formulaires - correction champ recherche */
div#search input#cntnt01searchinput, div#search input#cntnt01searchinput:hover {
   background-color: #F9ECA2;
   color: #000000;
   font-weight: normal;
   cursor: text;
}

/* center wrapper, min max width */
div#pagewrapper {
   border: 2px solid #f0ba3e;
   margin: 0 auto;     /* this centers wrapper */
   max-width: 80em; /* IE wont understand these, so we will use javascript magick */
   min-width: 60em;
   background-color: #FFFFCC; /* couleur de fonds de la partie centrale des pages */
   color: #333300;
   width: 960px; /* pour forcer largeur de menu = largeur du logo sous IE */
}

/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/

div#header {
  height: 126px;
  width: 960px;
  background: #97C258 url(http://biblio.chambres-hotes-beaujolais.com/images/charte/bandeau_en.jpg) no-repeat 0px 0px;
}
div#header span.gdf_home a, div#header span.gdf_home a:hover {
   background-color: transparent;
   float: left;
   height: 121px;
   width: 180px;
   text-indent: -999em;
   text-decoration:none;
}
div#header span.site_home a, div#header span.site_home a:hover {
   background-color: transparent; /* pour éviter le roll-over avec couleur uniforme sur le lien */
   float: left;
   height: 121px;/*79px;*/ /* On laisse 7px en plus pour éviter la bande entre le logo et le menu dans IE  */
   width: 585px;
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}
div#header_flag {
   float: right;
   height: 21px;
   width: 185px;
   padding-right: 10px;
   padding-top: 100px;
   text-decoration:none;
   text-align: right;
}

div#search {
   float: right;
   width: 13em;     /* enough width for the search input box */
   text-align: right;
   padding: 0.1em 0 0.1em 0;
   margin: 0 1em;
   vertical-align: middle;
}

div.breadcrumbs {
   padding: 0.1em 0 1em 0; /*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" */
}

div#content {
   /* margin: 1.5em auto 0 0; */ /* some air above and under menu and content */
   margin: 0 auto 0 0;
   /* Retrait de l'espace en dessus et en dessous du contenu pour obtenir le même rendu IE / Firefox */
}

div#main {
   margin-left: 2%; /* and some air on the left */
   margin-right: 2%; /* and some air on the right */
}

div#footer {
   clear:both;       /* keep footer below content and menu */
   color: #ffffff;
   background-color: #97C258; /* same bg color as in header */
   background:  url(http://biblio.chambres-hotes-beaujolais.com/images/charte/bandeau_bas.jpg) repeat-x 0px 0px;
   height: 72px;
}

div#footer p {
   font-size: 1em;
   text-align: center;
   margin: 0;
   padding: 0;
}

div#footer p a {
   color: #ffffff; /* needed because 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: 0.5em;
   /* border-bottom: 1px dotted black; */ /* Retrait des lignes en pointillés */
}

/* relational links under content */
div.right49 {
  width: 100%;
  height: 30px;
  padding-top: 3px;
  text-align: center;
  border-top: 2px solid #DF8424;
}


/********************
CONTENT STYLING
*********************/
div#content {
   line-height: 1.4em;
}

/* HEADINGS */
div#content h1 {
   font-size: 2em; /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
   background:  url(http://biblio.chambres-hotes-beaujolais.com/images/charte/vignes.gif) no-repeat 0px 0px;
   color: #DF8424; 
   font-size: 1.4em; 
   text-align: center; 
/* some air around the text */
   padding-left: 0.5em;
   padding-top: 3px;
   padding-bottom: 3px;
/* set borders around header */
   border-bottom: 2px solid #DF8424; 
   /*border-left: 1.1em solid #DF8424; */
   line-height: 1.2em;
/* and some air under the border */
   margin: 0 0 0.5em 0;
}
div#content h3 {
   color: #DF8424; 
   font-size: 1.2em;
   line-height: 1.2em;
   margin: 0 0 0.2em 0;
}
div#content h4 {
   color: #DF8424; 
   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 */
.oblig {
  color: #FE830A;
  font-weight: bold;
}
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 */
}

/* 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;
}

div#main li {
  /* Remplacement des puces par des flèches vertes */
  list-style-image: url(http://biblio.chambres-hotes-beaujolais.com/images/charte/puce_verte.gif);
}

/* END LISTS */

/* TABLE */

.tableCharte {
  border: 2px solid #DF8424;
  border-collapse: collapse;
}

.tableCharte th {
  border: 1px solid #DF8424;
  background-color: #DBEAC6;
  border-collapse: collapse;
}

.tableCharte td {
  border: 1px solid #DF8424;
  background-color: #F9ECA2;
  border-collapse: collapse;
}

/* END TABLE*/

/********************
ALBUM POPUP
*********************/
.popupPicTable {
  background-color: #FBE09B;
}

.popupPicNav {
  text-align:center !important;
  background-color:#FFFFCC;
  padding-top:6px;
}

.popupPicNav a, .popupPicNav a:link, .popupPicNav a:active, .popupPicNav a:visited {
   text-decoration: none;
   font-weight:bold;
   color: #249F00;
}

.popupPicNav a:hover {
   text-decoration: none;
   font-weight:bold;
   color: #DF8424;
}

