*
{
	color: black;
}
/* page */
body
{
	background-color: #f0f0f0;/*gris clair*/
}

/*bloc_page ou main depuis HTML5*/
#bloc_page, main, .bloc_page
{
    width: 1000px;
	margin: auto;
	background-color: white;/*#F5F5DC = beige (ancien)*/
	/*flexbox*/
	display: flex;
	flex-direction: column;
	/*flex-wrap: wrap;*/
}

/*media query : affichage selon la taille de l'écran*/
@media screen and (max-width: 1000px)
{
    #bloc_page, main, .bloc_page
	{
	    width: 100%;
	}

    section
	{
	    width: 90%;
		padding: 0 5%;
	}

    header, footer
	{
	    width: 100%;
	}
}
@media screen and (min-width: 1001px)
{
    #bloc_page, main, .bloc_page
	{
	    width: 1000px;
	}

    section
	{
	    width: 900px;
		padding: 0 50px;
	}

    header, footer
	{
	    width: 1000px;
	}
}


/* entete */
header
{
	/*width: 1000px;*/
	text-align: center;
}

/* menu */
nav
{
	margin-bottom: 30px;
}

ul
{
	list-style: none;
}

#menu
{
	padding: 0;
	margin: 0;
	text-align: center;
	display: flex;
	border: 1px solid black;
	flex-direction: row;
	justify-content: space-between;
}

#menu li
{
	position: relative;
	width: 200px;
	padding: 5px 0;
	background-color: white;
}

.sous_menu
{
	flex-direction: column;
	text-align: left;
	text-indent: 0;
	padding: 0;
	margin: 0;
	/*menu deroulant*/
	position: absolute;
	z-index: 1000;
	max-height: 0;
	overflow: hidden;
	transition: 0.5s all 0.3s;
}

#menu li:hover > ul/*deroule le menu*/
{
	max-height: 10em;
}

#menu a
{
	text-decoration: none;
}

/* corps de la page */
section
{
    /*width: 900px;*/
	padding: 0 50px;
}

p
{
	text-indent: 20px;
	text-align: justify;
	font-size: 1em;
}
/*formulaires*/
form p
{
	text-indent: 0;
}

/**/
h1
{
	text-align: center;
}

.souligne
{
	text-decoration: underline;
}
/* tableau */
table
{
	border-collapse: collapse;
	margin: auto;
}

th, td
{
	padding: 10px;
	border: 2px solid black;
	text-align: center;
	min-height: 20px;
}

td input
{
	max-width: 5em;
}

td p
{
    text-indent: 0;
    text-align: center;
}

/* images */
img
{
	margin: 10px;
}

.screen
{
	height: 300px;
}

/* pied de page */
footer
{
    /*width: 1000px;*/
}

footer p
{
	font-size: 0.8em;
	text-align: right;
	/*width: 1000px;*/
}
