/* ==============================================
   FEUILLE DE STYLES DES GABARITS HTML/CSS --- 03
   © Elephorm & Alsacreations.com
   Conditions d'utilisation:
   http://creativecommons.org/licenses/by/2.0/fr/
   ============================================== */


/* --- COULEURS --- */

/* Note: vous pouvez modifier simplement l'aspect de ce gabarit en modifiant
   uniquement les couleurs de fond (propriétés background) et les couleurs
   du texte (propriété color).
   Pour modifier la disposition des blocs, voir plus bas dans la feuille de
   styles la partie «positionnement». */

/* Général */
body {
	color: #F0E39E;
	background: url(backgnd.png) repeat;
}
a {
	color: #FF0000;
}
a:hover, a:focus {
	color: #FF0000;
}
strong {
	color: #A1B55D;
}

/* Page */
#global {
	background: #181a12;
}

/* Navigation */
#navigation {
	background: url(backgnd.png) repeat;
	
}

/* Contenu principal */
#contenu {
	color: #363B29;
	background:   #feff77;
}
#contenu a {
	color: #332510;
}
#contenu a:hover, #contenu a:focus {
	color: #6E5122;
}
#contenu strong {
	color: #181A12;
}
#nav1 {
	background: #feff77;
}

/* Pied de page */
#pied {
	
	background: url(backgnd.png) repeat;
}


/* --- POSITIONNEMENT --- */

/* Page */
html, body {
	height: 100%; /* Voir -> Note 1 ci-dessous */
}
body {
	padding: 0;
}
#global {
	min-height: 100%; /* -> 1 */
	width: 750px;
	overflow: hidden; /* -> 2 */
	margin-left: auto;
	margin-right: auto; /* -> 3 */
}
.haut {
	text-align: center;
}
/* En-tête */
#entete {
	padding: 0px 0px 0px 0px;
}
#entete h1 {
	margin: 0;
}
#entete h1 img {
	float: left;
	margin: 20px 0px 10px 0;
}
#entete .sous-titre {
	margin: 4px 0 15px 0;
}

/* Menu de navigation */

#navigation a:hover, #navigation a:focus {
	background: #000000;
}

#navigation {
	padding: 12px 15px;
}
#navigation ul {
	margin: 0;
	list-style: none;
	text-align: center;
}
#navigation li {
	display: inline;
}
#navigation a {
font-family: "Arial Black";
	padding: 6px;
	line-height: 2;
	font-size: 1em;
	text-decoration: none;
}
/* Second Menu de navigation */
#nav1 {
	padding: 12px 15px;
}
#nav1 ul {
	margin: 0;
	list-style: none;
	text-align: center;
}
#nav1 li {
	display: inline;
}
#nav1 a {
	font-family: "Arial Black";
	color: #FF0000;
	padding: 6px;
	line-height: 2;
	font-size: 1em;
	text-decoration: none;
}
#nav1 a:hover, #nav1 a:focus {
	background: #000000;
	color: red;
}

/* Contenu */
#contenu {
	padding: 10px 20px;
}
#contenu h2 {
	 text-align: center;
}
#contenu p {
	font-family: "Comic Sans MS", Verdana, Geneva, Arial, Helvetica, sans-serif;
	 font-size: 16px;  
}

#contenu p img {
	 display: block;
	  margin: 5px;
	 float: left;
}
#contenu p img.droite {
	 float: right;
}
#contenu > :first-child {
	margin-top: 10px;
}
#contenu p, #contenu li {
	line-height: 1.5;
}
#contenu table tr td {
	  width:  300px;
	  height:  30px;
	  padding: 10px;
	  border-style:  solid;
	  border-width: thin;
	  border-color:  #fb4500;
}
#pub table tr td {
	  width:  auto;
	  height:  auto;
	  padding: 10px;
	  border-style:  solid;
	  border-width:  medium;
	  border-color:  #fb4500;
}

#contenu table tr td.gauche {
	   font-size:  18px;
		font-family:   "Kristen ITC", Verdana, Geneva, Arial, Helvetica, sans-serif ; 
		font-weight: bolder;
}
#contenu table tr td.droite {
	   font-size:  16px;
		font-family:   "Kristen ITC", Geneva, Arial, Helvetica, sans-serif ; 
		font-weight:  bold;
		 color: #00008b ;
}

#contenu h4 {
	 font-family:   "DejaVu Serif", Verdana, Geneva, Arial, Helvetica, sans-serif;
	 font-size: 16px;
	 font-weight: bolder;
}

div #pommes, #hallo, #gibier, #beaujo, #nicolas, #noel, #couronne, #ornoel, #roses, #nouvelan, #hiver, #chand, 
#zen, #val, #rose, #carna, #papi, #oise, #printe, #mamy, #auto, #commun, #mariage, #punch, #poule, #lapin, #agneau, #moligne {
	 font-family:   "DejaVu Serif", Verdana, Geneva, Arial, Helvetica, sans-serif;
	 font-size: 16px;
	 font-weight: bolder;
	  border-style: solid;
	  border-width: 10px;
	  border-color: orange;
	   width: 620px;
	   margin: 10px 20px 10px 30px;	
		padding: 10px;
}

div #pommes h3, #hallo h3, #gibier h3, #beaujo h3, #nicolas h3, #noel h3, #couronne h3, #ornoel h3, #roses h3, #nouvelan h3, 
#hiver h3, #chand h3,  #zen h3, #val h3, #rose h3, #carna h3, #papi h3, #oise h3, #printe h3, #mamy h3, #auto h3, #commun h3, 
#mariage h3, #punch h3, #poule h3, #lapin h3, #agneau h3,#moligne h3  {
	 font-family:   "Kristen ITC";
	 font-size: 24px;
	 font-style: italic;
	 font-weight: bolder;
	 color: red;
}
/* Pied de page */

#copyright {
	text-align: left;
	font-size: 1em;
}


/* --- NOTES ---

1.	Pour pouvoir utiliser une hauteur (height) ou une hauteur minimale
	(min-height) sur un bloc, il faut que sont parent direct ait lui-même une
	hauteur déterminée (donc toute valeur de height sauf "auto": hauteur en
	pixels, em, autres unités...).
	Si la hauteur du parent est en pourcentage, elle se réfère alors à la
	hauteur du «grand-père», et ainsi de suite.
	Ainsi, pour pouvoir utiliser un "min-height: 100%" sur div#contenu, il nous
	faut:
	- un parent (body) en "height: 100%";
	- le parent de body également en "height: 100%".

2.	Il faut éviter que les marges des enfants de div#global ne se transmettent
	à leur parent. Notamment, le margin-top du premier enfant (ici, div#entete),
	et le margin-bottom du dernier enfant (ici, div#pied).
	On évite ce problème grâce à la propriété CSS overflow, qui bloque la
	fusion des marges. En savoir plus sur la fusion des marges:
	http://web.covertprestige.info/test
		04-blocs-imbriques-et-fusion-des-marges.html

3.	Les marges automatiques à gauche et à droite permettent de centrer notre
	bloc div#global, et donc tout le site.
	Pour aligner div#global à gauche, on fera:
		margin-left: 0;
		margin-rigth: auto;
	Pour aligner div#global à droite, on fera:
		margin-left: auto;
		margin-right: 0;
	Pour aligner div#global à droite avec un retrait (à droite) de 100px:
		margin-left: auto;
		margin-right: 100px;

*/
