/* header */

#bloc_page
{
	color: black;
	background-color: white;
	min-width: 360px;
}

#header
{
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: space-between;
	box-shadow: 0px 2px 10px black;
	border-radius: 10px;
	background-image: url("./fond/header3_h200px_merge.jpg");
	background-size: auto 100%;
	background-repeat: repeat;
	min-width: 300px;
	min-height: 160px;
	margin: 0px 5px 0px 5px;
}

#menu_logo
{
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
}

#logo
{
	min-width: 150px;
	max-width: 150px;
	margin: 0px;
	padding: 0px;
	position: relative;
}

#logo img
{
	width: 70%;
	position: absolute;
	top: 0%;
	right: 0%;
}

#header_links
{
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	margin: 10px;
	z-index:1;
}

#header_links img
{
	min-width: 30px;
	max-width: 30px;
	border-radius: 5px;
	margin: 0px 10px 0px 10px;
}

#header_links img:hover
{
	filter: brightness(95%);
}

#menu
{	
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	margin-top: 10px;
	margin-left: 5px;
	padding: 5px;
}

#menu .part
{	
	display: flex;
	flex-wrap: nowrap;
	margin: 0px;
	padding: 0px;
}

#menu li
{
	display: inline-block;
	list-style-type: none;
	font-size: 0.7em;
	border: 1px #422923 solid;
	border-radius : 10px;
	box-shadow: 0px 2px 5px #422923;
	background-color: #fe9d0f;
	margin-bottom: 10px;
	margin-right: 10px;
	padding: 5px;
}

#menu a
{
	font-family: "trebuchet ms",arial,verdana,sans-serif;
	text-align: center;
	font-weight: bold;
	text-decoration: none;
	color: #422923;
	margin: 2px;
	padding: 2px;
}

#menu a:hover
{
	color: #cd1129;
}

/* Corps du texte */
section
{
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-around;
}

section aside
{	
	display: none;
	background-color: white;
	padding: 5px 20px 5px 20px;
	margin: 20px 5px 20px 5px;
}

section .asideg
{	
	width: 300px;
	min-width: 15%;
	padding: 0px;
	margin: 20px 5px 5px 5px;
}

section .asided
{	
	width: 200px;
	min-width: 10%;
	height: 10%;
	border-radius: 10px;
	box-shadow: 0px 0px 3px black;
}

section .asided_no_border
{	
	width: 200px;
	min-width: 10%;
	height: 10%;
}

#contenu
{	
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	width:100%;
	font-family: "trebuchet ms",arial,verdana,sans-serif;
	color: #422923;
}

#contenu article
{
	display: flex;
	flex-direction: column;
	background-image: url("./fond/background.png");
	box-shadow: 0px 0px 3px black;
	border-radius: 10px;
	padding: 5px 20px 5px 20px;
	margin: 20px 5px 5px 5px;
}

#contenu #wf_bas
{	
	background-color: white;
	background-image: none;
}

#contenu #social_bas
{	
	background-color: white;
	background-image: none;
}

#contenu h1
{
	font-size: 1.1em;
	text-align: center;
	text-decoration: none;
	font-style: bold;
}

#contenu h2
{
	font-size: 0.9em;
	text-align: left;
	text-decoration: underline;
	font-style: italic;
}

#contenu h3
{
	font-size: 0.9em;
	text-align: left;
	font-style: bold;
}

#contenu p
{
	font-size: 0.9em;
	text-align: justify;
}

#navigation 
{
	display: flex;
	align-items: baseline;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
}

#navigation .prev_next
{
	display: flex;
	align-items: baseline;
	flex-direction: row;
	flex-wrap: nowrap;
}

#navigation .prev_next_num
{
	display: flex;
	align-items: center;
	flex-direction: column;
	flex-wrap: nowrap;
}

#navigation .prev_next_num p
{
	margin:5px;
	font-size: 0.7em;
}

#navigation h1
{
	color: #422923;
	margin: 20px 20px 20px 20px;
}

#navigation .prev_next a
{
	font-size: 1em;
	text-align: center;
	text-decoration: none;
	font-style: bold;
	box-shadow: 0px 0px 3px #422923;
	padding: 2px 10px;
	margin:0px 5px 0px 5px;
	background-color: #f1f1f1;
	color: #422923;
	border-radius: 50%;
}

#navigation .prev_next a:hover 
{
	background-color: #ddd;
	color: #422923;
}

.résumé li
{
	font-size: 0.9em;
	text-align: left;
}

.photos , .liens
{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: auto;
}

.photos img
{
	border-radius: 10px;
	margin: 5px;
}

.photo_lien
{
	position: relative;
}

.photo_lien img
{
	border-radius: 10px;
	box-shadow: 0.1em 0.1em 0.2em #422923;
	margin: 10px;
}

.photo_lien:hover
{
	opacity:80%;
}

.titre_lien
{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-decoration: none;
	font-size: 2em;
	font-weight: bold;
	color: white;
	text-shadow: 0.1em 0.1em 0.2em #422923;
}

.valide
{
	color: green;
}

.erreur
{
	color: red;
}

#contenu figure
{
	text-align: center;
	font-size: 0.6em;
	margin: auto;
}

#contenu .trace iframe
{
	width: 360px;
	height: 360px;
	border: black solid 1px;
}

#contenu img, iframe
{
	max-width: 100%;
}

#contenu figure p
{
	text-align: center;
	font-size: 0.7em;
}

.lien_header
{
	visibility: hidden;
	font-size: 0.5em;
	text-align: right;
}

/* Formulaire */
#formulaire
{
	border: none;
}

#formulaire input,label
{
	font-size: 0.7em;
}

#formulaire label
{
	display: block;
	width: 150px;
	float: left;
}

.champ
{
	min-width: 20%;
	max-width: 50%;
}

#formulaire textarea
{
	width: 100%;
	max-width: 1200px;
	height: 200px;
	resize: none;
	font-size: 0.7em;
	font-family: "trebuchet ms",arial,verdana,sans-serif;
	padding: 5px;
}

.textarea
{
	margin-right: 20px;
}

.bouton
{
	font-size: 0.7em;
	border: 1px #422923 solid;
	border-radius : 10px;
	box-shadow: 0px 2px 5px #422923;
	font-family: "trebuchet ms",arial,verdana,sans-serif;
	text-align: center;
	font-weight: normal;
	text-decoration: none;
	color: #422923;
	margin: auto;
	padding: 10px;
	padding-right: 20px;
	padding-left: 20px;
}

.bouton:hover
{
	filter: brightness(95%);
}

/* Social plugins */
.asideg .social_plugin
{
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: center; 
	justify-content: space-around;
	border-radius: 10px;
	box-shadow: 0px 0px 3px black;
	padding: 10px 5px 10px 5px;
	margin: 0px 0px 10px 0px;
}

.asideg .social_plugin .logo
{
	display: block;
	max-width: 95%;
	margin: auto;
	margin-bottom: 0px;
}

.asideg .facebook_plugin
{
	width: 95%;
	max-width: 250px;
	height: 230px;
	border-radius: 10px;
	margin-bottom: 20px;
}

.asideg .instagram_plugin
{
	display: block;
	width: 95%;
	margin: auto;
	border-radius: 10px;
	margin-bottom: 10px;
}

#social_bas .social_plugin
{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: baseline; 
	justify-content: center;
	padding: 10px;
	margin: 0px;
}

#social_bas .facebook_plugin .logo
{
	display: block;
	max-width: 40%;
	margin: auto;
	margin-bottom: 10px;
}

#social_bas .instagram_plugin .logo
{
	display: block;
	max-width: 40%;
	margin: auto;
	margin-bottom: 10px;
}

#social_bas .facebook_plugin
{
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: center; 
	justify-content: center;
	width: 45%;
	min-width: 200px;
	margin: 0px 7px 0px 7px;
	padding: 0px 5px 0px 5px;
}

#social_bas .instagram_plugin
{
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: center; 
	justify-content: center;
	width: 45%;
	min-width: 200px;
	margin: 0px 7px 0px 7px;
	padding: 0px 5px 0px 5px;
}

#social_bas .facebook_plugin iframe
{
	height: 230px;
	width: 250px;
	max-width: 250px;
	min-width: 250px;
	border-radius: 10px;
}

#social_bas .instagram_plugin iframe
{
	width: 90%;
	border-radius: 15px;
}

#social_bas .instagram_plugin .image
{
	display: block;
	margin: auto;
	width: 90%;
	border-radius: 10px;
}

/* Ads */
.ad_vertical
{	
	display: none;
}

.ad_horizontal_main
{	
	display: block;
}

/* Share */
#share p
{
	color: black;
	font-size: 0.5em;
	font-family: "trebuchet ms",arial,verdana,sans-serif;
	text-align: center;
}

#share_icons
{
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
}

#share_icons img
{
	min-width: 20px;
	max-width: 20px;
	box-shadow: 0px 0px 2px black;
	border-radius: 5px;
	margin: 0px 10px 0px 10px;
}

#share_icons img:hover
{
	filter: brightness(95%);
}

/* Footer */
footer
{
	color: black;
	font-size: 0.5em;
	font-family: "trebuchet ms",arial,verdana,sans-serif;
	text-align: left;
}

footer nav p
{
    text-align: center;
	font-weight: bold;
	text-decoration: underline;
}

footer nav
{
    width: 95%;
	padding: 5px;
	margin: auto;
	box-shadow: 0 -3px 3px -3px black;
}

footer nav ul
{
    list-style-type: none;
	padding: 0px;
}

footer nav ul li
{
    float: left;
    width: 20%;
    text-align: center;
    position: relative;
	font-weight: bold;
	font-size: 0.9em;
}

footer nav a
{
    display: block;
    text-decoration: none;
    color: black;
    border-bottom: 2px solid transparent;
    padding: 5px 0px;
}

footer nav a:hover
{
    color: orange;
    border-bottom: 2px solid gold;
}

footer .sous
{
    position: absolute;
    width: 100%;
}

footer .sous li
{
    width: 100%;
    text-align: center;
	font-weight: normal;
	font-size: 0.9em;
}

footer .sous a
{
    padding: 3px;
    border-bottom: none;
}

footer .sous a:hover
{
    border-bottom: none;
}

/* Media queries for laptop*/
@media (min-device-width: 768px) and (min-width: 768px)
{	
	#bloc_page
	{
		min-width: 700px;
	}
	
	#header
	{
		min-height: 200px;
	}
	
	#menu li
	{
		font-size: 0.7em;
		margin: 5px;
		padding: 5px;
	}
	
	#menu a
	{
		margin: 5px;
		padding: 10px;
	}
	
	#logo img
	{
		width: 100%;
	}
	
	#contenu
	{	
		width:70%;
	}
	
	#contenu p, .résumé li
	{
		font-size: 0.8em;
	}
	
	#contenu .trace iframe
	{
		width: 640px;
		height: 480px;
	}
	
	.dl_link, .lien_header
	{
		visibility: visible;
	}
	
	section aside
	{	
		display: block;
	}
	
	#contenu #wf_bas
	{	
		display: none;
	}
	
	#contenu #social_bas
	{	
		display: none;
	}

	.ad_vertical
	{	
		display: block;
	}
	
	.ad_horizontal_main
	{	
		display: block;
	}
}
