/* Styles par défaut, pour toutes les pages */
body {
	color:black;
	font-family: "Times New Roman",serif;
	background-image:url('images/texture-sable-blanc.jpg');
	background-repeat:repeat;
	background-color:grey;
	margin:0;
}
p {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

.nettoyeur { clear: both; margin: 0; padding: 0; border: none; height: 0; line-height: 1px; font-size: 1px; }

/* Styles globaux du tag body, accueil */
body.accueil {
	background-image:url('images/texture-sable-noir.jpg');
	background-repeat:repeat;
	color:white;
}
body.accueil a {
	color:white;
	text-decoration:none;
}
body.accueil a:hover {
	color: navy;
}

/* Styles globaux du tag body, chapitres et textes */
body.chapitre, body.texte {
	background-image:url('images/texture-sable-blanc.jpg');
	background-repeat:repeat;
	color:black;
}
body.chapitre a, body.texte a {
	color:navy;
	text-decoration:none;
}
body.chapitre a:hover, body.texte a:hover {
	color: darkblue;
}

/* Surcharge globale pour les tableaux de positionnement */
.tablemap {
	overflow: hidden;
	margin: 0;
	padding: 0;
	border: 0;
}
.tablemap > tbody {
	border: 0;
}
.tablemap > tbody > tr {
	margin: 0;
	padding: 0;
	border: 0;
}
.tablemap > tbody > tr > td {
	margin: 0;
	padding: 0;
	border: 0;
	line-height: 0;
}
.tablemap img {
	margin: 0;
	padding: 0;
	border: 0;
}

/* Bloc contenu centré, de 800 pixels de large (accueil) */
#main-content-wrapper {
	text-align: center;
}
#main-content {
	position: relative;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0px;
	margin-bottom: 0px;
	text-align: center;
	width: 800px;
}

/* Bloc avec bordure (chapitres et textes) */
#main-content-with-border {
	position: relative;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0px;
	margin-bottom: 0px;
	text-align: center;
	width: 810px;
	overflow: hidden;
}
#border-table {
	position: relative;
	margin: 0px;
	border: none;
	width: 810px;
	overflow: hidden;
}
#border-table td.content-cell {
	position: relative;
	width: 800px;
	overflow: hidden;
}
#border-table td.right-border {
	width: 10px;
	background-image: url("images/ombre-vert.png");
	background-repeat: repeat-y;
	background-position: left;
}
#border-table td.bottom-border {
	background-image: url("images/ombre-horz.png");
	background-repeat: repeat-x;
	background-position: top;
}
#border-table td.bottom-border-left {
	background-image: url("images/ombre-gauche.png");
	background-repeat: no-repeat;
	background-position: right top;
}
#border-table td.angle-border {
	background-image: url("images/ombre-angle.png");
	background-repeat: no-repeat;
	background-position: left top;
}
#border-table td.right-border-empty {
}

/* Texte commun de bas de page (liens et copyright) */
.footnote-panel {
	margin-left:20px;
	margin-right:20px;
	margin-top:20px;
	margin-bottom:20px;
	padding: 10px;
}
.footnote-panel p {
	margin:0;
	font-size:1.0em;
	text-align:justify;
}
.footnote-panel .text-links {
	font-size:0.9em;
	text-align:center;
	margin-bottom:0;
}
.footnote-panel .copyright {
	font-size:0.8em;
	font-style:italic;
	text-align:center;
	margin-top:0;
}

/* Styles pour les pages de texte (commun aux trois styles) */
#texte-bloc {
	margin: 10px;
	padding: 50px;
	padding-top: 10px;
	padding-bottom: 20px;
	background-image: url("images/fond-translucide.png");
	border:2px solid white;
}
p.texte-titre-chapitre {
	margin: 10px;
	text-align: left;
	font-size: 1.7em;
}

.texte-image {

}

.texte-image-legende {
	text-align: justify;
	width: 400px;
	font-style: italic;
	font-size: 12pt;
}

.texte-image-legende-paysage {
	text-align: justify;
	width: 600px;
	font-style: italic;
	font-size: 12pt;

}
