@font-face {
    font-family: 'open_sanscondensed_light';
    src: url('../divers/OpenSans-CondLight-webfont.eot');
    src: url('../divers/OpenSans-CondLight-webfont.eot?#iefix') format('embedded-opentype'),
         url('../divers/OpenSans-CondLight-webfont.woff') format('woff'),
         url('../divers/OpenSans-CondLight-webfont.ttf') format('truetype'),
         url('../divers/OpenSans-CondLight-webfont.svg#open_sanscondensed_light') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'open_sanscondensed_bold';
    src: url('../divers/OpenSans-Bold-webfont.eot');
    src: url('../divers/OpenSans-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../divers/OpenSans-Bold-webfont.woff') format('woff'),
         url('../divers/OpenSans-Bold-webfont.ttf') format('truetype'),
         url('../divers/OpenSans-Bold-webfont.svg#open_sanscondensed_light') format('svg');
    font-weight: normal;
    font-style: normal;
}
* {
	margin: 0;
	padding: 0;
}
p {
	font-size: 0.8em;
	line-height: 1.2em;
	margin-top: 10px;
}

h1 {
	font-family: "open_sanscondensed_light", arial, helvetica, sans serif;
	font-size: 1.4em;
	font-style: normal;
	text-align: center;
	line-height: 2em;
	color: #533;
	margin-top: 20px;
	margin-bottom: 20px;
	font-weight: normal;
}
h2 {
	font-family: "open_sanscondensed_light", arial, helvetica, sans serif;
	font-size: 1.2em;
	line-height: 1.5em;
	text-align: center;
	font-weight: normal;
	color: rgb(247,238,223);
	margin-top: 20px;
	background-color:rgb(175, 166, 162);
}
h3 {
	font-family: "open_sanscondensed_bold", arial, helvetica, sans serif;
	font-size: 1.1em;
	line-height: 1.2em;
	text-align: left;
	margin: 30px 15px 0 30px;
	font-weight: normal;
	color: rgb(145, 125, 120);
	padding: 0 0 10px 0;
}
h5 {
	font-family: "open_sanscondensed_light", arial, helvetica, sans serif;
	width: 200px;
	margin: 1em 2em;
	float:left;
	font-size: 1.2em;
	line-height: 1.5em;
	text-align: center;
	font-weight: bold;
	background-color: rgb(175, 166, 162);
}
.gauche {
	float: left;
	margin: 10px 5px 0 5px;
}
.droit {
	float: right;
	margin: 10px 5px 0 5px;
}
.centre {
	float: none;
	text-align:center;
	clear: both;
	margin: 10px auto;
}
.clearthefloats {
	clear: both;
}
.clearfix:after,
.line:after,
.mod:after {
	content: "";
	display: table;
	clear: both;
}

/* table layout */
.row {
	display: table;
	table-layout: fixed;
	width: 100%;
}
.row > *,
.col {
	display: table-cell;
	vertical-align: top;
}
body {
	font-family: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif;
	font-size: 110%;
	margin: 0; 
	padding: 0;
}
ul, li {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
figure {
	float: none;
	text-align:center;
	clear: both;
	margin: 10px auto;
	width: 100%
	text-align:center; 
}
figcaption {
	font-size: 80%;
	text-align:center; 
	font-weight:bold;
	margin-bottom: 1em;
}

#nomdelapage {
	margin: 0;
	padding: 0;
	width: 100%;
}
#nomdelapage img{
	clear:both;
	display:block;
	text-align:center;
	margin:0 auto;
	width: 595px;
}
#nomdelapage p{
	clear:both;
	display:block;
	font-family: "open_sanscondensed_light", arial, helvetica, sans serif;
	font-size:1.2em;
	text-align:center;
	margin:0 auto;
	width: 595px;
	background-color: rgb(207,177,130);
	color: rgb(146, 45, 45);
}
#navhoriz {
	border-top: 2px solid #FFF;
	border-bottom: 2px solid #FFF;
	width: 100%; /* precision for Opera */
}
#navhoriz ul {
	display: inline-table;
	table-layout:auto;
	width:100%;
	text-align: center;
	margin:0;
	height: 3em;
	background-color: rgb(207,177,130);
}
#navhoriz li {
	display: table-cell;
	list-style:none;
	vertical-align:middle;
	margin-top:5px;
	border-right: 3px solid rgb(146, 45, 45);	
	padding:5px 1em;
}
#navhoriz li:last-child {
	border-right: none	
	}
#navhoriz a {
	font-family: "open_sanscondensed_light", arial, helvetica, sans serif;
	list-style:none;
	text-decoration:none;
	height: 2.5em;
	color:#fff;
	font-size:1.2em;
	text-transform:uppercase;
	padding:5px;
}
#navhoriz a:hover {
	color:#555;
	background-color: rgba(168, 93, 76, .5)
}
#navhoriz ul li ul {
	margin: 2px;
	position: absolute;
	width: 17em;
	left:-999em;
	border-top: 1px solid #FFF;
	border-left: 1px;
}
#navhoriz ul li:hover ul, #navhoriz ul li ul:hover {left: -5px;}
#navhoriz ul li ul li{
	width: 100%;
	border-left: 1px solid #FFF;
	border-right: 1px solid #FFF;
	border-bottom: 1px solid #FFF;}
#navhoriz ul li ul li:first-child {
	border-left: 1px solid #FFF;
}
*html #navhoriz ul{
	float: left;
	border-left: 1px solid #68513A;}

/* Commented Backslash Hack
     Cache des r�gles � IE5-Mac \*/
  #navhoriz a {float:none;}
  /* Fin du hack IE5-Mac */

#content {
	display:table;
	table-layout: fixed;
	width:100%;
	}
#navvertic {
	display: table-cell;
	width:25%;
	padding: 0 8px 8px;
	border-top: 2px solid #FFF;
	background-color: #fff;
	font-size: 0.8em;
}
#navvertic h1 {
	margin: 0 0 10px;
	display:block;
	font-size:1.7em;
	background-color:rgb(197, 108, 122);
	color:rgb(255, 255, 255);
	font-weight: normal;
}
#navvertic ul {
	padding: 0 0 4px 0;
	line-height: 1.1em;
	list-style-type: disc;
	margin-bottom: 10px;
}
#navvertic li {
	/*list-style-type: disc;*/
	color: #57402D;
	padding: 4px;
	border-bottom: 1px solid rgb(146, 45, 45);
}
#navvertic li:hover {
	color: rgb(72, 75, 75);
	background-color: rgb(207, 177, 130);
}
#navvertic a {
	font-family: "open_sanscondensed_light", arial, helvetica, sans serif;
	font-size:1.1em;
	text-decoration: none;
	color: #57402D;
}
#navvertic a:hover {
	color:rgb(255, 255, 255);
}
#navvertic img {
			margin:10px auto;
			width:100%;
			max-width: 350px;
			display:block;
			text-align:center;
}

#textecourant {
	display: table-cell;
	width:75%;
	border-top: 2px solid #FFF;
	background-color: rgb(247,236,218);
	color: rgb(77, 75, 75);
	padding: 10px 20px 10px 30px;
}
#textecourant h1 {
	color: rgb(146, 45, 45);
	font-size: 2.5em;
	line-height: 1.2em;
}
#textecourant h4 {
	margin-top: 5px;
	font-weight: normal;
	font-size: .7em;
}
#textecourant p  {
	font-size: .8em;
	margin-left: 30px;
	margin-right: 30px;
	line-height: 1.2em;
}

#textecourant ol  {
	margin: 0 1.5em .5em;
	font-size: .9em;
}
#textecourant ul {
	margin: .5em 3.2em;
	font-size: .8em;
	line-height: 1.2em;
	}
#textecourant li {
	list-style-type:disc;
	
}
#textecourant ol li {
	margin-top: 20px;
	text-indent: 0em;
	font-weight: bold;
	font-size: 1em;
}
#textecourant ol p {
	margin-top: 15px;
	margin-bottom: 15px;
	font-weight: normal;
	text-indent: 0em;
	font-size: 1em;
}
#textecourant a {
	text-decoration: none;
	color: #039;
	padding: 0 2px;
}
#textecourant a:hover {
	color: #FFF;
}
#textecourant a:visited {
	color: #FOF;
}
#textecourant img {
			box-shadow: 4px 4px 4px rgb(173, 150, 113);
			-moz-box-shadow: 4px 4px 4px rgb(173, 150, 113);
			-webkit-box-shadow: 4px 4px 4px rgb(173, 150, 113);								
			behavior: url(PIE.htc);
			margin-bottom:10px;
			margin-right: 10px;
			max-width: 100%;
			min-width: 150px;
}
#textecourant img.noshadow {
			box-shadow: none;
			-moz-box-shadow: none;
			-webkit-box-shadow: none;								
}
#textecourant table { 
	margin-left: 30px;
	
}
#textecourant td { 
	padding-right: 30px;
	font-size: 0.85em;
	color: #57402D;
	text-align:center;
}
.legende {
	font-size: 80%;
	font-weight: bold;
	color:#555;
}

#footer {
	margin-top: 10px;
	font-size: 1em;
	display:block;
	background-color: rgb(207, 177, 130);
}
#footer li:hover {
	background-color: #999;
	color: #000;
}
#footer a {
	color: #FFF;
}
#footer a:hover {
	color: #000;
}

#current {
	color: #999;
	background-color: #CCC;
}

/* --- Bouton hamburger : caché par défaut sur desktop --- */
.hamburger-btn {
	display: none;
}

/* ========================================
   RESPONSIVE MOBILE (max-width: 768px)
   ======================================== */
@media screen and (max-width: 768px) {

	/* --- Bandeau d'avertissement --- */
	body::before {
		content: "Ce site est conçu pour être consulté sur ordinateur. L'affichage sur mobile peut être altéré.";
		display: block;
		background-color: #d32f2f;
		color: #fff;
		text-align: center;
		padding: 10px 15px;
		font-size: 13px;
		font-weight: bold;
		font-family: Arial, sans-serif;
		line-height: 1.3;
		position: relative;
		z-index: 9999;
	}

	/* --- Bouton hamburger --- */
	.hamburger-btn {
		display: block;
		width: 100%;
		padding: 12px 15px;
		background-color: rgb(207,177,130);
		color: rgb(146, 45, 45);
		border: none;
		font-family: "open_sanscondensed_light", Arial, sans-serif;
		font-size: 18px;
		font-weight: bold;
		text-transform: uppercase;
		cursor: pointer;
		text-align: left;
		position: sticky;
		top: 0;
		z-index: 9998;
		box-shadow: 0 2px 4px rgba(0,0,0,0.2);
	}
	.hamburger-icon {
		display: inline-block;
		width: 20px;
		height: 3px;
		background-color: rgb(146, 45, 45);
		position: relative;
		vertical-align: middle;
		margin-right: 8px;
	}
	.hamburger-icon::before,
	.hamburger-icon::after {
		content: "";
		display: block;
		width: 20px;
		height: 3px;
		background-color: rgb(146, 45, 45);
		position: absolute;
		left: 0;
	}
	.hamburger-icon::before { top: -7px; }
	.hamburger-icon::after { top: 7px; }
	.hamburger-icon.open {
		background-color: transparent;
	}
	.hamburger-icon.open::before {
		top: 0;
		transform: rotate(45deg);
	}
	.hamburger-icon.open::after {
		top: 0;
		transform: rotate(-45deg);
	}

	/* --- Box-sizing global pour éviter les débordements --- */
	*, *::before, *::after {
		box-sizing: border-box;
	}
	html, body {
		max-width: 100%;
		overflow-x: hidden;
	}

	/* --- Images : forcer max-width --- */
	img {
		max-width: 100%;
		height: auto;
	}
	#nomdelapage img {
		width: 100%;
		max-width: 595px;
	}
	#nomdelapage p {
		width: 100%;
		max-width: 595px;
		font-size: 1em;
	}

	/* --- Navigation horizontale : masquée par défaut --- */
	#navhoriz {
		display: none;
	}
	body.menu-open #navhoriz {
		display: block;
	}
	body.menu-open #navhoriz ul {
		display: flex;
		flex-direction: column;
		width: 100%;
		height: auto;
	}
	body.menu-open #navhoriz li {
		display: block;
		border-right: none;
		border-bottom: 1px solid rgb(146, 45, 45);
		padding: 0;
	}
	body.menu-open #navhoriz a {
		display: block;
		padding: 12px 15px;
		font-size: 1em;
	}

	/* --- Layout principal : passage en colonne unique --- */
	#content {
		display: block;
	}
	#navvertic {
		display: none;
		width: 100%;
	}
	body.menu-open #navvertic {
		display: block;
		padding: 10px;
		border-top: 2px solid rgb(207,177,130);
	}
	body.menu-open #navvertic h1 {
		font-size: 1.3em;
		margin: 10px 0 5px;
	}
	body.menu-open #navvertic ul {
		margin-bottom: 10px;
	}
	body.menu-open #navvertic li {
		padding: 8px 10px;
	}
	body.menu-open #navvertic a {
		font-size: 1em;
	}
	body.menu-open #navvertic img {
		display: none;
	}

	/* --- Contenu principal : pleine largeur --- */
	#textecourant {
		display: block;
		width: 100%;
		padding: 10px 15px;
	}
	#textecourant h1 {
		font-size: 1.4em;
		line-height: 1.3em;
		margin-top: 10px;
		margin-bottom: 10px;
	}
	#textecourant h2 {
		font-size: 1.1em;
		margin-top: 15px;
	}
	#textecourant h3 {
		font-size: 1em;
		margin: 15px 10px 0;
	}
	#textecourant p {
		font-size: 0.95em;
		margin-left: 10px;
		margin-right: 10px;
		line-height: 1.4em;
	}
	#textecourant ul {
		margin: 0.5em 15px;
	}
	#textecourant img {
		max-width: none;
		width: calc(100% + 20px);
		min-width: 0;
		height: auto;
		float: none;
		display: block;
		margin: 10px -10px;
		box-shadow: none;
	}
	.gauche, .droit {
		float: none;
		display: block;
		margin: 10px auto;
		text-align: center;
	}

	/* --- Footer --- */
	#footer {
		display: block;
		width: 100%;
		margin-top: 10px;
		font-size: 0.9em;
	}
	#footer ul {
		display: flex;
		flex-direction: column;
		width: 100%;
		height: auto;
	}
	#footer li {
		display: block;
		border-bottom: 1px solid rgba(146, 45, 45, 0.3);
		padding: 8px 15px;
	}
	#footer a {
		font-size: 1em;
	}
}

/* ========================================
   RESPONSIVE TABLETTE (max-width: 1024px)
   ======================================== */
@media screen and (min-width: 769px) and (max-width: 1024px) {
	#nomdelapage img {
		max-width: 100%;
		height: auto;
	}
	#nomdelapage p {
		max-width: 100%;
	}
	#navvertic {
		width: 22%;
	}
	#textecourant {
		width: 78%;
	}
	#textecourant img {
		max-width: 100%;
		height: auto;
	}
}
