/* ==============================================
   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: #999;
	background: url(../images/fond_site.jpg) repeat-x top #999;
}
 
ul {
	margin: 0;
	list-style: inside disc;
	text-align: left;
}
a {outline:0;
	  
}
 
strong {
	color: #000 ;
}
.puce {vertical-align:middle;padding-right:5px }

/* Page */


/* Navigation */
#presentation{ 
background-color:#fff;
padding:0 ;
height:110px;
margin:0}
#presentation h1, h2,h3{ color:#666}
h1#catalogue a {font-size: 12px; color: #2e5b82}
h1#catalogue{text-align:right }

#navigation {
	background: url(../images/bg_nav.gif) repeat-x;
}

#navigation a { 
font-weight:bold;
color:#444;
}
#navigation a:hover, #navigation a:focus {
	background: #a0141f;color:#fff
}

/* Contenu principal */
.border-imgpad{
	border:solid 1px #666; 
	margin:10px
	}
	.first{
	/*background:url(../images/fond-contenub.jpg) no-repeat top;
	padding-top:95px;*/
	height:850px;
}
	.second{
	background:url(../images/fond-contenu_bas.jpg) no-repeat bottom;
	padding-bottom:10px;
	height:840px;
	border:0
}
	.top{margin-top:30px}
	.left{border-right: dashed 1px #999;margin-top:60px; 
	padding-right: 10px;
	padding-bottom: 0;
	padding-left: 10px;}
		.right{ margin-top:60px; 
	padding-right: 10px;
	padding-bottom: 0;
	padding-left: 10px;}

.block-left{
	height:450px;
	width:400px;
	display:block;
	border-right: dashed 1px #999;
	float:left;
	margin-top:30px;
	margin-right: 0;
	margin-bottom: 10px;
	margin-left: 0;
	padding-top: 10px;
	padding-right: 30px;
	padding-bottom: 0;
	padding-left: 10px;
	}
.block-right{
	height:auto;
	width:400px;
	display:block;
 
	float:left;
	margin-top:30px;
	margin-right: 0;
	margin-bottom: 10px;
	margin-left: 10px;
	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 0;
	padding-left: 10px;
}

#contenu a {
	color: #444;
}
#contenu a:hover, #contenu a:focus {
	color: #a0001c;
}
#contenu strong {color: #a50724
	  
}
#contenu h2 {
	color:#036;
	background: url(../images/reflet1.png) no-repeat left top #fff;
	width:61%;
	padding-top: 5px;
	padding-right: 0px;
	padding-bottom: 5px;
	padding-left: 5px;
}
#contenu .noback { width:auto;padding:0;
background:none;}
#contenu h2 a { color:#036}
address{background:url(../images/back_pied.jpg) repeat-x top #FFF; margin-top:2px; padding:10px; font-size:0.95em;} 

#pied {
	background:url(../images/fond_pied.jpg) repeat-x top #999; 
	color:#eee;text-align:center;
	
}

#pied a {margin-right:2px;padding-right:10px;color:#555; text-decoration:none; background: url(../images/bg_menu_pied_01.gif) right no-repeat;
}
#pied a:hover, #copyright a:focus {
	text-decoration: underline;
}



#pied li {display:inline;}
#pied ul {text-align:center}
/* --- POSITIONNEMENT --- */

/* Page */
html, body {
	height: 100%; /* Voir -> Note 1 ci-dessous */
}
body { 
	padding: 0;
}
#global { font-size:1em;
background:#FFF;
	/* height: 100%;  -> 1 */
	width: 900px;
	overflow: visible; /* -> 2 */
	margin-left: auto;
	margin-right: auto;padding:0
	/* -> 3 */
}
#centre{ background:#FFF}
/*DRAPEAU*/
#drapeau {margin-left:90%;padding:2px }
#drapeau li{ display:inline;list-style-type:none }

/* En-tête */
#entete {background:url(../images/route.jpg) no-repeat #FFF; height:110px;
	  padding :0; color:#000; font-size:0.85em;  
}
#entete p { float:right; 
	margin:10px 10px; color:#000; font-size:0.85em; 
}
#entete h1 {
	margin: 0;
}
#entete h1 img {
	float: left;
	margin: 7px 20px 10px 0;
}
#entete .sous-titre {
	margin: 4px 0 15px 0;
}

/* Menu de navigation principal */
#navigation {
	padding-top: 11px;
	padding-right: 9px;
	padding-bottom: 11px;
	padding-left: 9px;
}
#navigation ul {
	margin: 0;
	list-style: none;
	text-align: left;
}
#navigation li { 
	display: inline;
}
#navigation a {margin:9px;
	padding:4px;
	line-height: 1.1;
	font-size: 0.9em;
	text-decoration: none;
}
/* Menu de navigation gauche */
#navigationgauche {
	width:160px;
	float:left;
	background: url(../images/bg_navg.jpg) repeat-y right #FFF;
	height:auto;
	padding:10px;
	border-bottom:1px dotted
}

#navigationgauche h3 {
	background:url(../images/bg_prod.png) repeat-x top #2e5f85;
	padding:12px 5px 5px 5px ;
	margin :0; 
	color:#FFF}
	
#navigationgauche h4 {line-height:20px;background:url(../images/reflet3.png) repeat-x top;
border-top:dotted 1px #aaa;
padding:2px 5px 0px 5px; 
margin-top:2px}

#navigationgauche h4 a {font-size:1em;
	margin: 0;
	list-style:none;
	text-align:left;
	text-decoration:none;
	color:#2e5f85
}
#navigationgauche ul {
	margin: 0;
	list-style: none;
	text-align: left;
}
 
#navigationgauche li a {
	margin:10px;
	padding: 0px;
	line-height: 1.5;
	font-size:0.9em;
	text-decoration: none;
	color:#999
}
#navigationgauche li a:hover { 
	text-decoration: none;
	color: #9f0823
}

/* Contenu */
#contenu.general{ color:#444;
	margin:0;
	padding: 20px;
}
#contenu.general ul,h3{ padding-left:10px
}

#contenu.contact{ color:#444;
	margin:0;
	padding: 20px;height:700px}



p{ font-size:.9em }

.map {
	margin-left:15px;
	padding: 0;
}

#contenu {color: #666;
	background: #fff;
	min-height: 680px;
	margin-left: 20%; /* -> 4 */
	margin-bottom: 0px;
	text-align:justify;
	padding-top: 20px;
	padding-right: 20px;
	padding-bottom: 10px;
	padding-left: 20px;
}
#contenu > :first-child {
	margin-top: 0px;
}
#contenu p, #contenu li {
	line-height: 1.5;
}
 .inline li {display:inline; }
 .inline {text-align: left; }
#contenu li{font-size:0.9em}
 
/* Pied de page */
#pied {  
	padding:10px 10px;
	font-size: .85em;
}
#pied p {
	margin: .5em 0;
}
#copyright { 
	text-align: left;
	font-size: 1em;
}

.compactage{
background:url(../images/compactage4.jpg) no-repeat ;
height:60px;
padding-top:20px}
.surfacage{
background:url(../images/surfacage.jpg) no-repeat ;
height:60px;
padding-top:20px}
.pompage{
background:url(../images/pompage.jpg) no-repeat ;
height:60px;
padding-top:20px}

.coupe_broyage{
background:url(../images/coupe_broyage.jpg) no-repeat ;
height:60px;padding-top:20px}

.beton{
background:url(../images/beton.jpg) no-repeat ;
height:60px;
padding-top:20px}
.transport{
background:url(../images/transport.jpg) no-repeat ;
height:60px;
padding-top:20px}
/*xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx  english  xxxxxxxxxxxxxxx*/
.compactage_en{
background:url(../images/compactage4_en.jpg) no-repeat ;
height:60px;
padding-top:20px}
.surfacage_en{
background:url(../images/surfacage_en.jpg) no-repeat ;
height:60px;
padding-top:20px}
.pompage_en{
background:url(../images/pompage_en.jpg) no-repeat ;
height:60px;
padding-top:20px}

.coupe_broyage_en{
background:url(../images/coupe_broyage_en.jpg) no-repeat ;
height:60px;padding-top:20px}

.beton_en{
background:url(../images/beton_en.jpg) no-repeat ;
height:60px;
padding-top:20px}
.transport_en{
background:url(../images/transport_en.jpg) no-repeat ;
height:60px;
padding-top:20px}

/*xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx   PRODUITS   xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/

.CollapsiblePanel table th { width:38%;border-right:1px #444 solid;color:#555; text-align:right; padding:5px 5px 5px 5px;}
.CollapsiblePanel table td {width:22%;color:#555;border:1px #444 dotted;text-align:left; padding-left:10px;  }
.CollapsiblePanel .tabmiddle{ text-align:center;border:1px #444 solid; color:#555;}
.CollapsiblePanel .tabmiddle2{border:1px #444 solid;color:#555;}
.CollapsiblePanel table#equal td {width:auto}
.CollapsiblePanel .equal td {width:auto}

.imgprod {float:right;margin:0px 0px 10px 10px}
.titre {margin-bottom:40px}

/*xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    TELECHARGEMENTS   xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
.telechargement { float:left;width:100%; margin-top:10px;   }
.telechargement table{width:100%}

/*xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx    VIDEOS   xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
.video { float:left;width:auto; margin-top:20px; }
.video table{width:100%}
/*xxxxxxxxxxxxxxxxxxxxxxxxx  SAV  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
.sav{width:550px; }	
ul.pieces {margin:15px}
.pieces li {list-style-type: circle}
.tarifright{ float:right; width:250px; margin-left:50px; margin-bottom:15px ;border :#95A7C8 medium solid; padding:4px }

/*xxxxxxxxxxxxxxxxxxxxxxxxx  ENTREPRISE  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/
body#entreprise .block-right, .block-left{
	height:auto;
	padding :0px;
	margin-left:20px;
	border-top-width: thin;
	border-right-width: thin;
	border-bottom-width: thin;
	border-left-width: thin;
	border-top-style: none;
	border-right-style: dotted;
	border-bottom-style: none;
	border-left-style: none;
	border-top-color: #aaa;
	border-right-color: #aaa;
	border-bottom-color: #aaa;
	border-left-color: #aaa;
}
/*xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx CONTACT xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*/

body#contact #contenu{height:700px}
#contacts{float:right; width:380px; text-align:center;}
#contacts address {background:none; border-bottom:#C00 dotted 0.1em; font-size:0.95em; padding: 0 0 8px 0; margin:0 }
#contacts h3{color:#036;}
#contenu form  { height:auto;background: url(../images/fond-contenu1.jpg) repeat-y #fcfbf9;display: block;  text-align:right;  width:450px;border:1px dotted;padding:0.5em }
#contenu form p {padding:0.2em;margin-left: auto; margin-right:auto; margin-top:3px; margin-bottom:3px;display: block; text-align:right;  width:400px ; color:#366388; font-weight: bold}
input, textarea{ width:300px;color:#366388; background-color: #eee:; }



#sitemap td{border-left:#036 1px solid; padding-left:5px }
/* --- 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;

*/

