@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:150px;
       	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 logements */

#texte .image1 {
  width:100px;
  position:absolute; 
 display:inline-block;
 top:350px;
 left:100px;
}

#texte .image2 {
   width:100px;
  position:absolute; 
 display:inline-block;
 top:350px;
 left:100px;
}


.quote h3 {
  font-size:14px;
}

.quote {
  position: relative;
  width: 100px;
  height:120px;
  padding: 10px 20px 20px 15px;
  margin: 1rem auto;
  font-family:  Arial, serif;
  color: #fff;
  background: rgb(63,165,235);
  border-radius: 1rem;
  font-size:10px;
  left:-60px;
     -webkit-animation: mymove 1s ; /* Safari 4.0 - 8.0 */
    animation: mymove 1s ;
    
    animation-fill-mode: forwards;
    opacity:0;
    
 
}

.quote:after {
  content: "";
  position: absolute;
  top: 100%;
  right:25px;
  border-width: 30px 0 0 30px;
  border-style: solid;
  border-color: rgb(63,165,235) transparent;     
}



/* Safari 4.0 - 8.0 */
@-webkit-keyframes mymove {
     0%   {opacity:0;}    
    100% {opacity:1;}
}

/* Standard syntax */
@keyframes mymove {
       0%   {opacity:0;}    
    100% {opacity:1;}
}



.quote2 {
  position: relative;
  width: 100px;
  height:150px;
  padding: 10px 15px 25px 20px;
  margin: 1rem auto;
  font-family:  Arial, serif;
  color: #fff;
  background: rgb(110,201,25);
  border-radius: 1rem;
  font-size:10px;
  left:80px;
  top:-100px;
    -webkit-animation: mymove 1s; /* Safari 4.0 - 8.0 */
    animation: mymove 1s ;
    animation-delay:2s;
    animation-fill-mode: forwards;
    opacity:0;
   
}

.quote2:after {
  content: "";
  position: absolute;
  top:70%;
  left:-10%;
  border-width: 0 0 30px 30px;
  border-style: solid;
  border-color: rgb(110,201,25) transparent;
}







.quote3 {
  position: relative;
  width: 100px;
  height:125px;
  padding: 10px 15px 10px 20px;
  margin: 1rem auto;
  font-family:  Arial, serif;
  color: #fff;
  background: rgb(249,134,7);
  border-radius: 1rem;
  font-size:10px;
  left:80px;
  top:20px;
   -webkit-animation: mymove 1s; /* Safari 4.0 - 8.0 */
    animation: mymove 1s ;
    animation-delay:4s;
    animation-fill-mode: forwards;
    opacity:0;
}





.quote3:after {
  content: "";
  position: absolute;
  top:20%;
  left:-10%;
  border-width: 30px 0 0 30px;
  border-style: solid;
  border-color: rgb(249,134,7) transparent;
}

.quote4 {
  position: relative;
  width: 100px;
  height:125px;
  padding: 10px 15px 20px 20px;
  margin: 1rem auto;
 font-family:  Arial, serif;
  color: black;
  background: #ffc;
  border-radius: 1rem;
  font-size:10px;
  left:-60px;
  top:-60px;
  -webkit-animation: mymove 1s; /* Safari 4.0 - 8.0 */
    animation: mymove 1s ;
    animation-delay:6s;
    animation-fill-mode: forwards;
    opacity:0;
}

.quote4:after {
  content: "";
  position: absolute;
  top: -18%;
  right:25px;
  border-width: 0 0 30px 30px;
  border-style: solid;
  border-color: #ffc transparent;
}




.acces, .acces2 {
  position:relative;
  width:145px;
  height:auto;
  padding:10px 10px;
  border:1px solid black;
  top:-380px;
  left:50px;
  font-size:15px;
   -webkit-animation: mymove 1s; /* Safari 4.0 - 8.0 */
    animation: mymove 1s ;
    animation-delay:8s;
    animation-fill-mode: forwards;
    opacity:0;
    background-color:white;
    cursor:pointer;
   /* background-image:url("../images/Etablissements/RELIANCE/reliance.jpg"); */
  }


.acces:hover, .acces2:hover {
  background-color: lightgrey;

  -webkit-box-shadow: 3px 3px 3px #666666;
  -moz-box-shadow: 3px 3px 3px #666666;
  box-shadow: 3px 3px 3px #666666; 
 

}

.acces a, .acces2 a {
  text-decoration:none;
  color:black;
  font-family:"Comic sans ms", verdana, sans-serif;
}











}