@font-face{font-family:'BRLNSR'; src:url('charte/BRLNSR.TTF');}
@font-face{font-family:'trebuc'; src:url('charte/GOTHIC.TTF');}

*{margin:0px; padding:0px; font-family:BRLNSR;}
h1, h2, header p, aside p, #tel{font-family:trebuc;}

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

header{background:url('charte/bg2.png'); color:black; padding:10px 0px 0px 0px; overflow:hidden;}
	
#headercontent{max-width:1200px; margin:auto;}

#headerleft{display:inline-block; vertical-align:top; background:white; border:2px solid black; border-radius:10px; padding:4px;}
#headerleft h2{display:inline-block; font-size:1.3em;}
header p{font-size:1.4em;} 
header a{color:black;}
	header a:hover{text-decoration:none;}
	#voyantetop{width:90px; display:inline-block; padding-right:20px;}
	
	
	
	#voyantetop:hover {
  /* Start the shake animation and make the animation last for 0.5 seconds */
  animation: shake 0.4s;

  /* When the animation is finished, start again */
  animation-iteration-count: infinite;
}

@keyframes shake {
  0% { transform: translate(0px, 0px) rotate(0deg); }
  30% { transform: translate(0px, 3px) rotate(0deg); }
  50% { transform: translate(0px, 5px) rotate(-1deg); }
  70% { transform: translate(0px, 3px) rotate(-1deg); }
  100% { transform: translate(0px, 0px) rotate(-1deg); }
}
	
	mark{text-decoration:underline; background:none;}
	
	#fleche{width:60px; position:relative; left:129px; top:-15px;}
	
nav{display:inline-block; float:right; margin-top:25px;}
	nav label, nav input{display:none;}
	nav li{list-style-type:none; display:inline-block;}
	nav li a{padding:46px 10px; margin:0px 0.75px; background:darkmagenta; border-radius:0px; font-size:1.2em; color:white;}
		nav li a:hover{background:darkorchid;}

#bg{background:url('charte/bg1.jpg') center; background-size:cover; height:300px;  }
	
section{padding:0px 10% 0px 5%; border-top:4px double black; display:flex; flex-wrap:non-wrap;}
	section p{text-align:justify;}

aside, article, #rightmenu{display:inline-block; vertical-align:top;}

aside{background:white; max-width:22%; margin:-50px 20px 0px 0px; padding:30px; box-shadow:1px 1px 5px black;}
	aside h2 a{color:black; font-size:1.2em;}
	aside p, aside h2{text-align:center; font-size:1.25em;}
	aside img{width:95%; display:block; margin:auto;}
	#tel{color:magenta;}
	
article{width:65%; margin:0px 0px 30px 0px; padding:0px 35px;}
	article h1{font-size:1.45em; margin:40px 0px 20px 0px;}
	article h2{font-size:1.35em; padding-top:10px;}
	article p{padding:15px 0px; font-size:1.03em; max-width:80%;}
		article p img{max-width:100%;}
	article a{color:hotpink;}
	
	article li{margin-left:1em; max-width:80%;}

#flyers{max-height:500px; overflow:auto; margin-top:25px;}
	#flyers p{color:rgb(45,45,45);}

	.ia img{border-radius:20px; border:solid 8px rgb(190,150,250); box-shadow:0px 10px 10px rgb(30,30,30); margin-bottom:1em;}

	#floatright{float:right;}
	#floatright img{border-radius:50%; border:solid 8px rgb(220,220,220); margin:0px 0px 20px 20px; max-width:400px; float:right;}
	
	#rightmenu{max-width:300px; display:block;}
		#rightmenu p{padding:0px 0px 10px 0px; max-width:100%; font-size:1em; text-align:right;}
			#rightmenu a{padding:15px 0px; font-size:1.03em; color:hotpink;}

	.imgc{display:block; max-width:100%; margin:auto;}
	.imgd{float:right; margin-left:15px; border-radius:5px;}
	.imgg{float:left; margin-right:15px; border-radius:5px;}

#numerosdevie p{display:inline-block; width:30%; text-align:center; margin-left:2px;}
	#numerodevie p a{;}
	#numerosdevie a:hover{text-decoration:none; border-bottom:1.5px solid hotpink; border-left:2px solid hotpink; margin-left:-2px;}

	#numerosdevie span{font-size:3em; position:relative; top:5px; left:3px; background:linear-gradient(to bottom,yellow,gold); border-radius:15px; border:solid 2px orange; transition:0.25s}

footer{display:flex; flex-wrap:wrap; justify-content:space-around; margin-top:30px; padding:20px; background:rgb(70,40,70);}
	#footercontent{padding:15px;}
		footer p{color:papayawhip; line-height:1.6em;}
		footer a{color:hotpink;}
	
#esoblocks{display:flex; flex-wrap:wrap; margin:35px 0px;}
		#esoblocks a{text-align:center;}
		#esoblocks img{max-width:100%;}
	
	@media screen and (max-width:1024px)
	{
	
	section{flex-wrap:wrap; justify-content:center;}
	
	aside{display:block; padding:0px; margin:0px; max-width:100%; box-shadow:none; order:2;}
		
	article{width:100%; margin:0px; padding:0px;}
		article p{max-width:100%;}
		
	}

	@media screen and (max-width:860px)
	{

		#fleche, #bg{display:none;}
		
		nav{float:none;}
			nav li a{padding:25px 15px;}
			nav li{margin-bottom:25px;}
			
		section{padding:25px; max-width:100%;}
		
		article{width:100%; margin:0px; padding:0px;}
			article h1{margin-top:40px;}
			article p, article li{max-width:100%;}
			
		.ia img{max-width:100%;}
				
		#floatright{float:none; max-width:100%; overflow:hidden;}
			#floatright img{float:none; max-width:95%; margin:25px auto;}
			
		footer img{max-width:100%;}


	}


	@media screen and (max-width:640px)
	{



		
		nav{display:block; float:none; margin-top:30px; margin-left:0px;}
			nav ul{text-align:center;}
			nav li {display:block; margin-bottom:2px;}
			nav li a{display:block; padding:10px 0px; min-width:100%; margin-left:0px;}
			
		/*nav span input:not(:checked) ~ ul { max-height:0; overflow:hidden; transition:0.2s;}
		nav span input:checked ~ ul {max-height:25em; transition:0.2s;}
			
		nav input:not(:checked) ~ p { max-height:0; overflow:hidden; transition:0.2s;}
		nav input:checked ~ p {max-height:25em; transition:0.2s;}

		nav label {display:block; position:static; padding:10px 0px; margin:auto; font-size:1.5em; text-align:center; color:white; transition:0.2s;}
			nav label:before {display:block; background-color:transparent; cursor:hand; }
			nav input:checked + label {-webkit-transform: scale(.8); transform: scale(.8); transition:0.1s;}*/
	
	}
