/*Reset CSS */
* {
	margin: 0px;
	padding: 0px;
	font-family: Avenir, sans-serif;
}
/* anciennes déclarations */
h1, h2, h3, h4 {
	text-align: center;
}
h1 {
	color: black;
}
h2 {
	color: red;
}
h3 {
	color: green;
}
h4 {
	color: black;
}
table {
	border-collapse: collapse;
}
th {
	border: 2px solid black;
	padding: 10px;
	text-align: center;
}
td {
	border: 1px solid black;
	padding: 5px;
}
.cadrep01 {
	padding: 10px;
	text-indent: 0.5cm;
	border: 3px black double;
	border-radius: 10px;
	box-shadow: 6px 6px 6px black;
}
.tableau
{
	display: flex;
	justify-content: center;
}
.tablecellvide
{
	display: flex;
	justify-content: center;
	border-collapse: separate;
	border-spacing: 10px;
	empty-cells: hide;
}
.codePC {
	display: none;
}
.codeMobile {
	display: block;
}
/* type affichage */
#avertissement {
	display: none;
}
 @media only screen and (orientation:portrait) {
	#wrapper {
		display: none;
	}
	#avertissement {
		display: block;
	}
}
 @media only screen and (orientation:landscape) {
	#avertissement {
		display: none;
	}
}

/* déclarations spécifiques */
nav ul {
	display: none;
	list-style: none;
	background-color: silver;
}
nav input[type=checkbox]:checked + ul {
	display: flex;
	flex-flow: column wrap;
}
nav {
	width: 100%;
	margin: 0 auto;
	background-color: white;
	position: sticky;
	top: 0px;
}
nav input[type=checkbox] {
	display: none;
}
nav label {
	display: inline-block;
	width: 100%;
	padding: 5px 0px;
	text-align: center;
	background-color: gold;
}
.conteneur-nav {
	position: absolute;
	width: 100%;
}
.sous {
	display: flex;
	flex-flow: column wrap;
	z-index: 1000;
}
.sous li {
	flex: 1 1 auto;
	text-align: left;
}
.sous a {
	padding: 5px;
	border-bottom: none;
	background-color: aqua;
}
nav ul li {
	flex: 1 1 auto;
	text-align: center;
	position: relative;
}
nav a {
	display: block;
	text-decoration: none;
	color: black;
	border-bottom: 2px solid transparent;
	padding: 5px 0px;
}
.deroulant > a::after {
	content: "▼";
	font-size: 12px;
}
.conteneur {
	margin: 20px 10px;
	height: 400px;
	/* margin: 50px 20px;
	height: 1500px; */
}

/* ---------------------------------------- largeur supérieure à 980 pixels ------------------------------------------ */
@media screen and (min-width: 980px) {
	h1, h2, h3 {
		text-align: center;
		color: black;
	}
	body {
	/*	Image en arrière-plan, transparence 10 %, texte "noir"*/
		background-image: url("New_mairie.jpg");
		opacity: 0.90;
		color: black;
	}	
	.cadre01 {
		background-color: aqua;
		border: 3px black double;
		border-radius: 10px;
		box-shadow: 6px 6px 6px black;
		padding: 10px;
	}
	.cadre02 {
		background: lime;
		border: 3px black double;
		border-radius: 10px;
		box-shadow: 6px 6px 6px black;
		padding: 5px;
	}
	.cadrep01 {
		padding: 10px;
		text-indent: 1.0cm;
		border: 3px black double;
		border-radius: 10px;
		box-shadow: 6px 6px 6px black;
	}
	.cadrep02 {
		padding: 10px;
		text-indent: 1.0cm;
		border: 3px black double;
		border-radius: 10px;
		box-shadow: 6px 6px 6px black;
		background-color: aquamarine;
	}
	.image {
		text-align: center;
	}
	.centre {
		text-align: center;
	}
	.fond-jaune {
		font-weight: bold;
		color: red;
		background: yellow;
		padding: 0 5px;
		border: 2px solid black;
	}
	.conteneur-nav {
		position: static;
	}
	.conteneur {
		font-size: 22px;
		text-align: justify;
		background-color: cornsilk;
		margin-top: 5px;
		margin-bottom: 7px;
		overflow: auto;
		border: 2px solid black;
		padding: 10px;
		height: 850px;
	}
	.codePC {
		display: block;
	}
	.codeMobile {
		display: none;
	}
	nav label, nav input {
		display: none;
	}
	nav input[type=checkbox]:checked + ul, nav ul {
		display: flex;
		flex-flow: row wrap;
		background-color: white;
	}
	nav ul li {
		position: relative;
	}
	nav > div > ul > li > a {
		color: black;
	}
	nav a {
		border-bottom: 2px solid transparent;
	}
	nav a:hover {
		color: orange;
		border-bottom: 2px solid gold;
	}
	.sous {
		display: none;
		box-shadow: 0px 1px 2px #CCC;
		background-color: white;
		position: absolute;
		width: 100%;
	}
	nav > div > ul > li:hover .sous {
		display: flex;
		flex-flow: column wrap;
	}
	.sous a {
		border-bottom: none;
		background-color: white;
	}
	.sous a:hover {
		border-bottom: none;
		background-color: rgba(200,200,200,0.1);
	}
	.deroulant > a::after {
		content: "▼";
		font-size: 12px;
	}
	nav {
		width: 99%;
		margin: 0 auto;
		border: 2px solid black;
		font-size: 22px;
		background-color: aquamarine;
		position: sticky;
		top: 0px;
	}
	footer {
		font-size: 15px;
		background-color: silver;
		text-align: center;
		border: 2px solid black;
		position: fixed;
		bottom: 0px;
		left: 2px;
		right: 2px;
	}
}

/*	nav ul {
		list-style-type: none;
		display: flex;
	}	
	nav ul::after {
		content: "";
		display: table;
		clear: both;
	}	
	nav > ul li:hover .sous {
		display: flex;
		flex-flow: column wrap;
	}
	.sous li {
		flex: 1 1 auto;
		text-align: left;
	}
	*/
