/* 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: 1000px ;
    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: 1px;
}

/*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;
	color: #fff;
	background: #35527D;
	text-decoration: none;
	border-radius: 5px;
	padding-left: 10px;
    padding-right: 12px;
}

/*Hover state for top level links*/
li:hover a {
	background: #0B87CF;
}

/*Style for dropdown links*/
li:hover ul a {
	background: #97CBD6;
	color: #2f3036;
	height: 40px;
	line-height: 40px; 
}

/*Hover state for dropdown links*/
li:hover ul a:hover {
	background: #0B87CF;
	color: #fff;
}

/*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: #35527D;
	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;
}

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;
	background-color: #FFFFFF;
}

aside
{
    position: absolute;
	top: 0;
	right: 0;
    width: 235px;
    background-color: #FFDA48;
    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: -127.5px; /* Et on décale notre élément de la moitié de sa largeur vers la gauche */
		flex: 1.2;
  		position: absolute;
  		background-color: #FFDA48;
  		box-shadow: 0px 2px 5px #1c1a19;
 	  	border-radius: 5px;
    	padding: 10px;
    	color: #35527D;
    	font-size: 0.9em;
    	right: 0;
		/* ... */
    }
    
    article
    {
        margin-right: 0;
        margin-bottom: 470px; 
		padding-bottom: 10px;
    }
	
	article2
	{
		margin-right: 0;
        margin-bottom: 470px; 
		padding-bottom: 10px;
    }
	
	article2 img
	{
    margin-right: 0;
	}

	table
	{
	margin-right: 0;
	margin-left: 2px;
    margin-bottom: 10px; 
	padding-bottom: 10px;
	width:100%;
    }
}



/* 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: 100%;
	}
	/*Display 'show menu' link*/
	.show-menu {
		display:block;
	}
}

/* Footer */

footer
{
	display: flex; 
    padding-top: 35px;
	padding-left: 20px;
    padding-right: 20px;
}

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;
}


/* 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;
}
}
