/* type affichage */
#pcnotok {
	display: none;
}
h2 {
	text-align: center;
	color: red;
}
@media only screen and (max-width: 1080px) {
	#pcok {
		display: none;
	}
	#pcnotok {
		display: block;
	}
	nav {
		display: none;
	}
	footer {
		display: none;
	}
}
 
/* ---------------------------------------- largeur supérieure à 1080 pixels ------------------------------------------ */
@media only screen and (min-width: 1081px) {
	/*Formats des cellules d'un tableau*/
	table {
		border-collapse: collapse;
	}
	.tableau {
		display: flex;
		justify-content: center;
	}
	th {
		border: 2px solid black;
		padding-top: 10px;
		padding-bottom: 10px;
		padding-right: 10px;
		padding-left: 10px;
		text-align: center;
	}
	td {
		border: 1px solid black;
		padding-top: 5px;
		padding-bottom: 5px;
		padding-right: 5px;
		padding-left: 5px;
	}
	.centre {
		text-align: center;
	}
	.fond-jaune {
		font-weight: bold;
		color: red;
		background: yellow;
		padding: 0 5px;
		border: 2px solid black;
	}
	.fond-noir {
		background-color: black;
	}
	.tablecellvide {
		display: flex;
		justify-content: center;
		border-collapse: separate;
		border-spacing: 10px;
		empty-cells: hide;
	}

	h1, h3 {
		color: black;
	}
	h2 {
		text-align: center;
		color: red;
	}
	header {
		background-color: silver; 
		max-width: 900px;
		margin: auto;
		border: 2px solid black;
	}
	body {
		/*	Image en arrière-plan, transparence 10 %, texte "noir"*/
		background-image: url("petunia.jpg");
		opacity: 0.90;
		color: black;
	}
	section {
		margin: 50px 20px;
		height: 1500px;
	}
	.conteneur {
		font-size: 22px;
		text-align: justify;
		background-color: cornsilk;
		margin-top: 5px;
		margin-bottom: 70px;
		overflow: auto;
		border: 2px solid black;
		padding: 10px;
	}
	footer {
		font-size: 18px;
		background-color: silver;
		text-align: center;
		border: 2px solid black;
		position: fixed;
		bottom: 0px;
		left: 2px;
		right: 2px;
	}
	.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-top: 10px;
		padding-bottom: 10px;
		padding-right: 10px;
		padding-left: 10px;
		text-indent: 1.0cm;
		border: 3px black double;
		border-radius: 10px;
		box-shadow: 6px 6px 6px black;
	}
	.cadrep02 {
		padding-top: 10px;
		padding-bottom: 10px;
		padding-right: 10px;
		padding-left: 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;
	}
	.avertissement {
		color: red;
		background: yellow;
		border: 3px red double;
		border-radius: 10px;
		box-shadow: 6px 6px 6px red;
		padding: 10px;
		text-indent: 1.0cm;
	}

	nav {
		width: 100%;
		margin: 0 auto;
		border: 2px solid black;
		font-size: 22px;
		background-color: aquamarine;
		position: sticky;
		top: 0px;
	}
	nav ul {
		list-style-type: none;
		display: flex;
	}
	nav ul li {
		flex: 1 1 auto;
		text-align: center;
		position: relative;
	}
	nav ul::after {
		content: "";
		display: table;
		clear: both;
	}
	nav a {
		display: block;
		text-decoration: none;
		color: black;
		border-bottom: 2px solid transparent;
		padding: 10px 0px;
	}
	nav a:hover {
		color: red;
		border-bottom: 2px solid gold;
	}
	.sous {
		display: none;
		box-shadow: 0px 1px 2px #CCC;
		background-color: white;
		position: absolute;
		width: 100%;
		z-index: 1000;
	}
	nav > ul li:hover .sous {
		display: flex;
		flex-flow: column wrap;
	}
	.sous li {
		flex: 1 1 auto;
		text-align: left;
	}
	.sous a {
		padding: 10px;
		border-bottom: none;
	}
	.sous a:hover {
		border-bottom: none;
		background-color: rgba(200,200,200,0.1);
	}
	.deroulant > a::after {
		content: "▼";
		font-size: 22px;
	}
}
