/*
Style.css
---------
Par JC Sambain
*/
body
{
	background: silver;
}
header, section, footer, aside, nav, article
{
	display: block;
}
#bloc-page
{
	width: 90%;
	margin:auto;
}
@media all and (max-width: 1280px)
{
	#bloc-page
	{
		width: 100%;
	}
}
header img
{
	width: 100%;
	border-radius: 10px;
	border: solid 1px blue;
	padding: 3px;
}
#banniere
{
	position: relative;
}
#mon-site
{
	position: absolute;
	left: 2%;
	top: 0px;
	color: red;
}
header strong
{
	font-size: 1.8em;
	font-weight: bold;
}
header em
{
	font-style: italic;
	font-size: 1.5em;
}
#logo
{
	position: absolute;
	right: 1%;
	bottom: 4%;
	width: 100px;
	border-color: white;
	max-height: 85%;
}
#sigle
{
	text-align: center;
	color: blue;
}
section
{
	?width: 100%;
	?margin-bottom: 5px;
}
#pub
{
	?max-height: 90px;
	?background: white;
	text-align: center;
	padding: 0px;
	margin-bottom: 8px;
	width: auto;
}
#pub
{
	margin: auto;
}
nav a
{
	font-size: 1.2em;
}	
nav
{
	width: 100%;
	background: grey;
	border-radius: 10px 10px 0px 0px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	height: auto;
	min-height: 64px;
	margin-bottom: 4px;
	margin-top: 6px;
}
.M
{
	width: 200PX;
	text-align: center;
	border-radius: 10px 10px 0px 0px;
	height: 40px;
	padding-top: 6px;
	margin-top: 3px;
	box-shadow: 3px 3px 3px black;
	align-self: flex-end;
}

.M:nth-child(1)
{
	background: rgb(255,255,185);
}
.M:nth-child(2)
{
	background: rgb(202,193,232);
}
.M:nth-child(3)
{
	background: rgb(255,204,102);
}
.M:nth-child(4)
{
	background: rgb(185,230,240);
}
.M:nth-child(5)
{
	background: rgb(255,191,170);
}
.M:nth-child(6)
{
	background: rgb(170,255,170);
}

.M:hover
{
	?height: 55px;
	background: rgba(255,255,255,1);
}
.M:active
{
	box-shadow: 5px 5px 5px black inset;
	background-color: rgb(255,100,100);
}
.M:focus
{
	min-height: 55px;
}

#fond_bessans
{
	background-color: rgb(255,204,102);
	padding: 5px;
}
#fond
{
	padding: 5px;
}

#info
{
	margin-top: 0;
	padding-top: 5px;
	?margin: auto;
	text-align: center;
	?font-size: 1.3em;
}
#info h1
{
	color: red;
}
section strong
{
	background-color: red;
	color: yellow;
}
#utile
{
	height: auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}
#utile img
{
	width: 150px;
	float: right;
}
.ut
{
	border: solid 1px blue;
	border-radius: 10px;
	width: 310px;
	background-color: rgba(215,215,215,0.6);
	margin: 5px;
	padding: 3px;
	text-align: center;
}
.ut h3
{
	color: blue;
	margin: 5px;
}
#video-new
{
	?margin-top: 4px;
	border: solid 1px blue;
	display: flex;
	border-radius: 10px 10px 10px 10px;
	flex-wrap: wrap;
	justify-content: space-around;
	height: auto;
	padding-bottom: 8px;
}
.Ph
{
	width: 206PX;
	text-align: center;
	border-radius: 10px;
	height: 144px;
	padding-top: 6px;
	margin-top: 6px;
	margin-bottom: 3px;
	margin-left: 3px;
	margin-right: 3px;
	box-shadow: 3px 3px 3px black;
	border: solid 1px black;
}
.Ph img
{
	width: 200px;
}
.Ph a
{
	text-decoration: none;
}
.Ph:nth-child(1)
{
	background: rgb(255,255,185);
}
.Ph:nth-child(2)
{
	background: rgb(255,255,185);
}
.Ph:nth-child(3)
{
	background: rgb(255,255,185);
}
.Ph:nth-child(4)
{
	background: rgb(255,255,185);
}
.Ph:nth-child(5)
{
	background: rgb(255,255,185);
}
.Ph:nth-child(6)
{
	background: rgb(255,255,185);
}
.Ph:nth-child(7)
{
	background: rgb(255,255,185);
}
.Ph:nth-child(8)
{
	background: rgb(255,255,185);
}
.Ph:nth-child(9)
{
	background: rgb(255,255,185);
}
.Ph:nth-child(10)
{
	background: rgb(255,255,185);
}

#video-groupe
{
	?border-radius: 10px 10px 0px 0px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}

#video-groupe em
{
	font-style: normal;
	font-weight: bold;
	color: blue;
}
#video-groupe span
{
	?color: blue;
	font-style: italic;
}
.Gr
{
	width: 600px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	border: solid 1px blue;
	border-radius: 10px 10px 10px 10px;
	box-shadow: 3px 3px 3px black;
	background-color: rgb(255,255,220);
	padding: 3px;
	margin: 4px;
}
.Gr img
{
	border: 0px;
	width: auto;
	max-height: 202px;
}
@media (max-width: 380px)
{
	.Gr
	{
		width: auto;
	}
	.Gr img
	{
		width: 100%;
		height: auto;
	}
}
.Gr article
{
	max-width: 560px;
	padding: 3px;
}
@media (max-width: 600px)
{
	.Gr article
	{
		width: 100%;
		padding: 3px;
	}
}
.Gr aside
{
	margin-top: 0px;
	padding-top: 0px;
	text-align: center;
	?background: silver;
	?border: solid 1px blue;
}
.Gr h2
{
	color: green;
}

.SautGr
{
	width: 600px;
	text-align: center;
	padding: 3px;
	margin: 4px;
}
@media (max-width: 600px)
{
	.SautGr
	{
		width: 100%;
		padding: 3px;
		margin: 4px;
	}
}

#video-page section
{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}
#video-page em
{
	font-style: normal;
	font-weight: bold;
	color: blue;
}
#video-page span
{
	font-style: italic;
}
#video-page h1
{
	color: red;
	text-align: center;
}
.Vp
{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	border: solid 1px blue;
	border-radius: 10px 10px 10px 10px;
	box-shadow: 3px 3px 3px black;
	background-color: rgb(255,255,220);
	padding: 3px;
	margin: 4px;
}
.Vp h2
{
	color: green;
}
.Vp article
{
	width: auto;
	padding-bottom: 4px;
}
.Vp aside
{
	width: 600px;
	text-align: left;
	margin-top: auto;
	padding: 4px;
	height: 440px;
	overflow: auto;
}
aside #plus
{
	color: red;
	text-align: center;
}

#video-page video
{
	padding: 0px;
	margin: 0px;
	width: 640px;
	height: auto;
	background-color: black;
}
.cont-youtube
{
	position: relative;
	margin: 0px;
	padding-bottom: 56.25%;
	padding-top: 0px;
	height: 0;
	overflow: hidden;
}
#fin h3
{
	text-align: center;
	color: blue;
}
#Rappel
{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	border: solid 1px blue;
	border-radius: 10px 10px 10px 10px;
	box-shadow: 3px 3px 3px black;
	background-color: rgb(255,255,220);
	margin: 4px 0px 10px 0px;
	height: auto;	
}
.R
{
	width: auto;
	height: auto;
	text-align: center;
}
.R img
{
	width: 300px;
}

#supho, #supho2, #supho3
{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	height: auto;
}

.pho
{
	width: 230px;
}

.pho img
{
	width: 200px;
	margin: auto;
}

@media (max-width: 340px)
{
	.R aside
	{
		width: 100%;
		padding: 0px;
		margin: 0px;
	}
	.R img
	{
		width: 90%;
	}
}

@media (min-width: 680px) and (max-width: 1280px)
{
	#video-page video
	{
		padding: 0px;
		margin: 0px;
		width: auto;
		height: auto;
		background-color: black;
	}
}
@media (max-width: 680px)
{
	#video-page video
	{
		padding: 0px;
		margin: 0px;
		width: 100%;
		height: auto;
		background-color: black;
	}
	.Vp article
	{
		width: 100%;
	}
	.cont-youtube iframe
	{
		width: 100%;
		height: 100%;
		position: absolute;
		top: 0;
		left: 0;
	}
	.Vp aside
	{
		width: 100%;
	}
}

/* CSS fenêtre texte */
#texte
{
	position: relative;
	background-color: rgb(255,255,255);
	max-width: 468px;
	margin: 6px auto;
	border: 1px blue solid;
	border-radius: 10px;
	box-shadow: 3px 3px 3px black;
	text-align: center;
	padding: 10px;
}
#texte p
{
	text-align: justify;
	height: auto;
	?overflow-y: auto;
}

#texte a
{
	background-color: yellow;
	border: 1px solid red;
}
#texte a:hover
{
	background-color: red;
}
#texte .droite
{
	position: absolute;
	top: 10px;
	right: 10px;
}
