
@media (max-width: 640px) {
	
	* {
		box-sizing: border-box;
	}
	

	
	/* passer body (et tous les éléments de largeur fixe) en largeur automatique */

	body {
		width: auto;
		margin: 0;
		padding: 0;
	}
	
	/* fixer une largeur maximale de 100% aux éléments potentiellement problématiques */

	img,
	table,
	td,
	blockquote,
	code,
	pre,
	textarea,
	input,
	iframe,
	object,
	embed,
	video {
		max-width: 100%;
	}
	
	/* conserver le ratio des images */

	img {
		height: auto;
	}
	
	/* gestion des mots longs */

	textarea,
	table,
	td,
	th,
	code,
	pre,
	samp {
		-webkit-hyphens: auto; /* césure propre */
		-moz-hyphens: auto;
		hyphens: auto;
		word-wrap: break-word; /* passage à la ligne forcé */
	}
	
	code,
	pre,
	samp {
		white-space: pre-wrap; /* passage à la ligne spécifique pour les éléments à châsse fixe */
	}
	
	/* Passer à une seule colonne (à appliquer aux éléments multi-colonnes) */

	.element1,
	.element2 {
		float: none;
		width: auto;
	}
	
	/* masquer les éléments superflus */

	.hide_mobile {
		display: none !important;
	}
	

	
}

	/* pad et tablettes */
@media (max-device-width:768px) and (orientation: landscape) {
  html {
   -webkit-text-size-adjust: 100%;
   -ms-text-size-adjust: 100%;
  }
}

@media only screen and (max-device-width:470px) {
nav,aside,mobile_eff {
	 display:none;
	 }
	 

right {
	float:none;	
	
	margin:10px 0px 10px 30px;
	display:block;
	border:5px;
	border:#0F6;
	}
 nav_bas {
	 float: right;
	display:inline-block;
		width:300px;
		vertical-align: top;
		margin-right:10px;
}
nav_bas ul {


	list-style-type:none;
     float:none;clear:both

}
nav_bas ul li {
	padding:2;	 
	float: right;
	font-weight: bold;
	color: #black;
	margin:3;
	height: 30px;
	line-height: 25px;
	text-align: center;
	border-top-width: 5px;
	border-bottom-width: 5px;
	border-top-color: #FFF;
	border-bottom-color: white;
	border-right-width: 2px;
	border-right-style: solid;
	border-right-color: white;
	vertical-align: middle;
}
nav_bas ul li a{
	border-radius: 25px 10px 10px 25px;
	display:block;
	padding:0;
	height: 30px;
	background-color:#ccffcc;
	border:none;
	border-left:15px solid #522c1d;
	border-bottom-width: 5px;
	text-decoration:none;
	color: black;
	width:200px;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 10px;
	text-align: center;
	box-shadow: 0 0 6px black;
	letter-spacing: -1pt;
	padding: 1px;
   margin: 4px; /* Marge extérieure de 50px */
}
nav_bas ul li a:hover {
	background-color:#DEDEDE;
 } 
 
nav_bas div{
	color:#000;
	text-shadow:#804000;
	font-size: small;
	font-family: Verdana, Geneva, sans-serif;
	font-weight: bold;
	 }
nav_bas div a{
	font-size: small;
	text-decoration: none;
	 }	 
nav_bas div a:hover {
	font-size: small;
	text-decoration: none;
	font-family: Verdana, Geneva, sans-serif;
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
	text-transform: none;
	color: #000;
	 }
pubentete {display:none; }
pub {display:none; }
}


@media only screen and (min-device-width:470px)  {
nav_bas {display:none;}
mobile_not{display:none;}
}