/* CSS Document */

/* Eléments principaux de la page */

body
{
	background-color: #D4BF8A;
    font-family: 'Trebuchet MS', Arial, sans-serif;
    color: #181818;
	margin: 0;
	}

#bloc_page
{
	max-width: 989px ;
    margin: auto;
    min-width: 320px;
}


section h1, footer h1, article2 h1
{
    font-family: Dayrom, serif;
    font-weight: normal;
}



/* Navigation */

/*Strip the ul of padding and list styling*/
ul {
	list-style-type:none;
	margin:0;
	padding:0;
	position: absolute;
	vertical-align: middle;
	z-index: 2;
}

/*Create a horizontal list with spacing*/
li {
	display:inline-block;
	float: left;
	margin-right: 4px;
}

/*Style for menu links*/
li a {
	display:block;
	max-width:1000px;
	height: 50px;
	text-align: center;
	line-height: 50px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-decoration: none;
	border-radius: 5px;
	padding-left: 10px;
    padding-right: 12px;
}
li:first-child a{
background-color: #65537A;
background-image:-webkit-linear-gradient(top, #65537A 0%, #2A2333 100%);
background-image:linear-gradient(to bottom, #65537A 0%, #2A2333 100%);
color: #fff;
}
li:nth-child(2) a{
background-color: #729EBF;
background-image: -webkit-linear-gradient(top, #729EBF 0%, #333A40 100%);
background-image:linear-gradient(to bottom, #729EBF 0%, #333A40 100%);
color: #fff;
}
li:nth-child(3) a{
background-color: #F6AD1A;
background-image:-webkit-linear-gradient(top, #F6AD1A 0%, #9F391A 100%);
background-image:linear-gradient(to bottom, #F6AD1A 0%, #9F391A 100%);
color: #fff;
}
li:nth-child(4) a{
background-color: #CFFF6A;
background-image:-webkit-linear-gradient(top, #CFFF6A 0%, #677F35 100%);
background-image:linear-gradient(to bottom, #CFFF6A 0%, #677F35 100%);
color: #fff;
}
li:nth-child(5) a{
background-color: #65537A;
background-image:-webkit-linear-gradient(top, #65537A 0%, #2A2333 100%);
background-image:linear-gradient(to bottom, #65537A 0%, #2A2333 100%);
color: #fff;
}
li:nth-child(6) a{
background-color: #729EBF;
background-image: -webkit-linear-gradient(top, #729EBF 0%, #333A40 100%);
background-image:linear-gradient(to bottom, #729EBF 0%, #333A40 100%);
color: #fff;
}
li:nth-child(7) a{
background-color: #F6AD1A;
background-image:-webkit-linear-gradient(top, #F6AD1A 0%, #9F391A 100%);
background-image:linear-gradient(to bottom, #F6AD1A 0%, #9F391A 100%);
color: #fff;
}
li:last-child a{
background-color: #CFFF6A;
background-image:-webkit-linear-gradient(top, #CFFF6A 0%, #677F35 100%);
background-image:linear-gradient(to bottom, #CFFF6A 0%, #677F35 100%);
color: #fff;
}

/*Hover state for top level links*/
li:hover a{
color:#000;
}


li:first-child li:hover a{
	background:#65537A;
}
li:nth-child(2) li:hover a {
	background:#729EBF;
}
li:nth-child(3) li:hover a {
	background:#F6AD1A;
}
li:nth-child(4) li:hover a {
	background:#CFFF6A;
}
li:nth-child(5) li:hover a {
	background:#65537A;
}
li:nth-child(6) li:hover a {
	background:#729EBF;
}
li:nth-child(7) li:hover a {
	background:#F6AD1A;
}
li:last-child li:hover a {
	background:#CFFF6A;
}


/*Style for dropdown links*/
li:hover ul a {
	height: 40px;
	line-height: 40px; 
	color: #fff;
}

/*Hover state for dropdown links*/
li:first-child li a{
	background:#2A2333;
}
li:nth-child(2) li a {
	background:#333A40;
}
li:nth-child(3) li a {
	background:#9F391A;
}
li:nth-child(4) li a {
	background:#677F35;
}
li:nth-child(5) li a {
	background:#2A2333;
}
li:nth-child(6) li a {
	background:#333A40;
}
li:nth-child(7) li a {
	background:#9F391A;
}
li:last-child li a {
	background:#677F35;
}


/*Hide dropdown links until they are needed*/
li ul {
	display: none;
	width:100%;
	left:0;
}

/*Make dropdown links vertical*/
li ul li {
	display: block;
	float: none; 
}

/*Prevent text wrapping*/
li ul li a {
	width: auto;
	min-width: 100px;
	padding: 0 20px;
}

/*Display the dropdown on hover*/
ul li a:hover + .hidden, .hidden:hover {
	display: block;
}

/*Style 'show menu' label button and hide it by default*/
.show-menu {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-decoration: none;
	color: #fff;
	background: #9F391A;
	text-align: center;
	padding: 10px 0;
	display: none;
}

/*Hide checkbox*/
input[type=checkbox]{
    display: none;
}

/*Show menu when invisible checkbox is checked*/
input[type=checkbox]:checked ~ #menu{
    display: block;
}


/* Corps */

article, aside
{
    /*display: inline-block;
    vertical-align: top;*/
    text-align: justify;
	background-color: #ffffff;
}

article
{
    /*width: 625px;*/
    margin-right: 275px;
	}
.video-container {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px; height: 0; overflow: hidden;
}
.video-container iframe,
.video-container object,
.video-container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}

article2
{
    margin: 0;
	text-align: justify;
	background-color: #ffffff;
}

article p
{
    font-size: 0.8em;
}

section
{
    position: relative;
}

table
{
	position: relative;
	text-align: center;
	font-size: 0.8em;
	display: flex;
	box-shadow: 0px 2px 5px #1c1a19;
	overflow: visible;
	img : 100%
}

aside
{
    position: absolute;
	top: 1px;
	right: -4px;
    width: 300px;
    background-color: #BC7758;
    box-shadow: 0px 2px 5px #1c1a19;
    border-radius: 5px;
    padding: 10px;
    color: #35527D;
    font-size: 0.9em;
}


@media (max-width: 768px){
    aside
    {
        top: 100%;
		left: 50%; /* On place la gauche de notre élément au mileu de la <section> */
        margin-left: -155.5px; /* Et on décale notre élément de la moitié de sa largeur vers la gauche */
		flex: 1.2;
  		position: absolute;
  		background-color: #955B47;
  		box-shadow: 0px 2px 5px #1c1a19;
 	  	border-radius: 5px;
    	padding: 10px;
    	font-size: 0.9em;
    	right: 0;
		/* ... */
    }
    
    article
    {
     margin-right: 0;
     margin-bottom: 700px; 
	padding-bottom: 10px;
    }
	
	article2
	{
	margin-right: 0;
    margin-bottom: 470px; 
	padding-bottom: 10px;
    }
	
	article2 img
	{
    margin-right: 50px;
	}

	table
	{
	margin-right: 2px;
	margin-left: 3px;
    margin-bottom: 10px; 
	padding-bottom: 10px;
	background-color: #FFFFFF;
	width:99%;
    }
}



/* Afin de positionner le <aside> par rapport à la <section> : */
section
{
	position: relative;
	background-color: #FFFFFF;
}


/*Responsive Styles*/

@media screen and (max-width : 768px){
	/*Make dropdown links appear inline*/
	ul {
		position: static;
		display: none;
	}
	/*Create vertical spacing*/
	li {
		margin-bottom: 1px;
	}
	/*Make all menu links full width*/
	ul li, li a {
		width: 99%;
	}
	/*Display 'show menu' link*/
	.show-menu {
		display:block;
	}
}

/* Footer */

footer
{
	display: flex; 
    padding-top: 35px;
	padding-left: 10px;
    padding-right: 10px;
}

footer p, footer ul
{
    font-size: 0.9em;
}

footer h1
{
    font-size: 1.1em;
	background-color: #C4A48F;
}


#informations
{
	width: 100%;
	background: #C4A48F;
	color: #fff;
	display: inline-block;
	vertical-align: top;
	height: auto;
}


/* Correctifs pour les vieilles versions d'Internet Explorer */

/* Pour activer un positionnement type inline-block sur les vieilles versions d'IE */

.old_ie #bloc_page, .old_ie header h1, .old_ie nav, .old_ie nav li, .old_ie article, .old_ie aside, .old_ie #informations
{
    display: inline;
    zoom: 1;
}

/* Quelques ajustements pour les vieilles versions d'IE */

.old_ie section h1, .ie8 section h1
{
    font-size: 1.1em;
}

.old_ie footer div, .ie8 footer div
{
    margin-top: 30px;
}



}
@media (max-width: 480px){

    #informations
    {
        width: 100%;
    }    

}

@media screen and (max-width : 768px){
img {
max-width:100%;
height:auto;
}
}
