body
{
	color: #181818;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
}


a
{
	color: blue;
	text-decoration: none;
}

a:hover
{
	text-decoration: underline;
}


/* <header> */

header
{
	color: white;
	background-color: #333;
	border-bottom: 2px solid fuchsia;
	margin: -8px -8px 0 -8px;
	box-shadow: 0 0 20px fuchsia;
	text-align: center;
	padding: 10px;
	
	display: flex;
	justify-content: space-around;
	align-items: center;
}

header img
{
	width: 80px;
}

header a
{
	color: unset;
}

header a:hover
{
	text-decoration: none;
}



/* <nav> */


nav ul
{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	list-style-type: none;
	padding: 0;
	margin: 0;
}

nav ul li
{
	margin: 10px 20px;
}

nav ul li a
{
	color: unset;
	padding: 5px;
}

nav ul li a:hover
{
	color: black;
	background-color: white;
	text-decoration: none;
}



/* <section> */

section
{
	width: 900px;
	margin: 50px auto;
}


section p
{
	text-align: justify;
}



/* <table> */

.box_table
{
	overflow: auto;
}

table
{
	border-collapse: collapse;
	margin: auto;
	width: 100%;
}

tr:hover td
{
	background-color: pink;
	color: black;
}

td, th
{
	border: 1px solid black;
	padding: 5px 9px;
}

th
{
	color: white;
	background-color: purple;
}




/* <form> */

form p
{
	text-align: left; /* Evite d'avoir ":" au bout du <form> */
}

form label
{
	display: inline-block;
	width: 180px;
	text-align: right;
	vertical-align: top;
}

form textarea
{
	width: 90%;
}

.p_textarea
{
	text-align: center;
}

form input[readonly]
{
	cursor: not-allowed;
}

table input
{
	width: 98%;
}

.msg_form_yes, .msg_form_no
{
	color: white;
	padding: 5px;
	width: 100%;
}

.msg_form_yes
{
	background-color: green;
}

.msg_form_no
{
	background-color: red;
}


.p_button
{
	text-align: right;
	padding-right: 70px;
}



/* <footer> */

footer
{
	text-align: center;
	color: white;
	background-color: #555;
	margin: 52px -8px -8px -8px;
	padding: 15px 10px;
	border-top: 2px solid cyan;
	box-shadow: 0 0 20px cyan;
	height: 150px;
}

footer ul
{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	list-style-type: none;
	padding: 0;
	margin: 0;
}

footer ul li
{
	margin: 5px 10px;
}

footer ul li a
{
	color: white;
	padding: 5px;
}

footer ul li a:hover
{
	color: black;
	background-color: cyan;
	text-decoration: none;
}

#nb_visites
{
	margin-top: 100px;
}


/* index.php */


.entreprise_membre_bureau
{
	color: purple;
}


/* activites.php */

.flex_pdf
{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	text-align: center;
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.flex_pdf li
{
	margin: 10px 20px;
}

.mini_pdf
{
	width: 200px;
	transition: 600ms;
	border: 1px solid transparent;
}

.flex_pdf li a:hover .mini_pdf
{
	border: 1px solid black;
	box-shadow: 0 0 5px black;
	transform : rotate(5deg);
}

.date_pdf
{
	color: green;
}




/* admin.php */



.ajout_impossible
{
	text-align: center;
}


a[href*="suppr"]
{
	color: red;
}

/* phpMyAdmin */
a.phpmyadmin
{
	text-decoration: none;
}
a.phpmyadmin span:first-child /* php */
{
	color: #6C78AF;
	border-radius: 4px 0 0 4px;
	padding: 1px 0 1px 1px;
}
a.phpmyadmin:hover span:first-child
{
	color: #FFFFFF;
	background-color: #6C78AF;
}
a.phpmyadmin span:last-child /* MyAdmin */
{
	color: #F89C0E;
	border-radius: 0 4px 4px 0;
	padding: 1px 1px 1px 0;
}
a.phpmyadmin:hover span:last-child
{
	color: #FFFFFF;
	background-color: #F89C0E;
}





/* MEDIA QUERIES */

@media all and (max-width: 1024px)
{
	section
	{
		width: auto;
	}
	
	header
	{
		flex-direction: column;
	}
	
	header div:last-child /* Blason 06 */
	{
		display: none;
	}
}

