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


	#conteneur {
		max-width:320px;
		margin:0 auto;
		margin-top:10px;
		margin-bottom:10px;		

	}

	#bloc_page {
		width:320px;
	}

	nav {
		max-width:300px;
	}


	header {
		max-width:164px;
		
	}
	 
	#banniere img {
		display:none;
	}




	nav li,nav .orange ,nav .enfant,nav .green,nav .soutien,nav .blue
	{  

 	margin:10px 18px; 

 
  
	}

	nav .offre, nav #syntax {
	  margin:10px 90px;
	}

	

	#boxorange {
	width:290px;	
	height: 40px;
	top:-10px;	
	left:15px;
	
	}

	#boxorange h2 {
	transform:none;
	margin-top:10px;
	font-size:20px;	
	letter-spacing: 8px;
	margin:auto;
	left:10px;
	width:290px;	
}

  	#orangevertleft{
		width:10px;	
		height: 100%;		
		top:40px;
		left:10px; 
	}

	#orangevertright {	
		width:10px;
		height:100%;		
		top:40px;
		left:300px;
	}

	#greenhortop {
		
	width:280px;	
	top:60px;
	left:20px;
	height:10px;
	}


	#greenhorbottom {
		
	width:280px;	
	top:100%;
	left:20px;
	height:10px;
	}


        .maintheme {
         margin-left:10px;

}



	#texte {
	width: 285px;
	height:200%;	/* 596px */
 	margin:auto;
	margin-left:-275px;
	margin-top:60px;		
	background-color: rgb(183,235,255); /* couleur de base (183,221,255)*/
	letter-spacing: none;
	


	}

	#texte p {
		
		padding-top:10px;
		font-size:8px;
                
                margin-left:-30px;
                max-width:150px;
               
                padding-bottom:10px; 



	}
	#texte .pindex {
	padding-left:10px;
	}


	#texte #top {
		top:72px;
		left:270px;
		width:30px;
		height:30px;
		display:none;
	}


	#texte #bottom {
		width:30px;
		height:30px;
		top:980px;
		left:30px;
		display:none;
	}


	footer {
	

	width:290px;
	margin-top:1600px;
       	padding: 4px 5px;
	font-size:10px;

	
	
	}

	footer p {
		font-size:10px;
		width:290px;
	}


	#fil {
		width:290px;

	
	}




	/* page asso */

	

	#orangevertmiddle,#orangevertmiddle2, #greenhortop1, #greenhormiddle, #greenhormiddle1 {
		display:none;
	}

	#container ,#subcontainer1,#subcontainer2,#subcontainer3{
	display:flex;
	flex-direction:column;	
	margin-left:0;
	margin-top:0;



	}


	
	.presentation, .cadremilieu ,.plan{
	
	height:175px;
	width:290px;
	}

	.cadredroit {
	height:175px;
	width:290px;
	}

	.cadremilieu {
		margin-top:-100px;
		width:290px;
	}

	.cadretelechargement {
		margin-top:0px;
		width:290px;
		
	}


	.ressources {
		max-width:350px;
		margin-top:-10px;
	}

	.plan {
		width:290px;
		height:95px;
		margin-top:10px;
	}

	.plan h3 {
		margin-top:5px;
	}

	.cadredroit h3{
		margin-top:30px;
	}



	.image {
	background: none;
	width:290px;
	height:430px;
	margin-top:0px;
	
	}

	.image img {
	width:100%;
	height:80%;
	}


	.videgauche {
		display:none;
	} 



	.dropbtn ,.mainnav ,.dropdown-content {
		display:none;
	}
	

/*---------------------------*/

/* Page central 9 elements */




#flex {
 
  
  border:5px solid white;
  width:200px;
  height:1200px;


}


.container {
  position: relative;
display:column;
  width: 200px;
  height:160px;
  border:5px solid white;

}



#textscroll p {   
   background: rgba(255, 255,255, 1);  
    color: black;
    width: 290px;
    position:absolute;
     text-align:center;
     top:122px;
    height:44px;  
     font-size:12px;
     font-weight:bold; 
     padding-bottom:10px;
 
   
}





.overlay {
  position: absolute;
  top: 0px;
  bottom: 0;
  left: 0px;
  right: 0px;
  height: 194px;
  width: 290px;
  opacity: 0;
  transition: .5s ease;
  background-color: rgb(63,165,235); /* blue */
}


.overlay2 {
  position: absolute;
  top: 0px;
  bottom: 0;
  left: 0px;
  right: 0px;
  height: 193px;
  width: 290px;
  opacity: 0;
  transition: .5s ease;
  background-color: rgb(163,201,25); /* green */
}

.overlay3 {
  position: absolute;
  top: 0px;
  bottom: 0;
  left: 0px;
  right: 0px;
  height: 194px;
  width: 290px;
  opacity: 0;
  transition: .5s ease;
  background-color: rgb(249,134,7); /* orange */
}


/* ---------------------------------------*/

/* page santé medecine */



#textscroll {

position:absolute;
width:300px;
height:1500px;
left:10px;

}





.notes {

margin-left:-50px;
font-size: 5px;
width:250px;


}






.notes li a{
  text-decoration:none;
  color:#000;
  background:#ffc;
  display:block;
  height:200px;
  width:230px;
  padding:10px 0px;
  -moz-box-shadow:5px 5px 7px rgba(33,33,33,1);
  -webkit-box-shadow: 5px 5px 7px rgba(33,33,33,.7);
  box-shadow: 5px 5px 7px rgba(33,33,33,.7);
  -moz-transition:-moz-transform .15s linear;
  -o-transition:-o-transform .15s linear;
  -webkit-transition:-webkit-transform .15s linear;
  border-radius:10px; 
  text-align:center;
  


}


.notes li p{
  font-family:"Reenie Beanie",arial,sans-serif;
  font-size:15px;
  max-width:150px;
  padding:0;
}

.notes li p  {

width:100px;

}




}