@media (max-height: 640px) {
	* {
		box-sizing: border-box;
	}
	
	/* passer body (et tous les éléments de largeur fixe) en largeur automatique */
	
	
html {height: 100%; min-height: 100%; }	
	
	

	body {

		width: 100%;
		height: 100%;
		height: inherit;
		padding: 0;
		background-size: cover !important;
		overflow: inherit;

	}
body.custom-background {
background-image: url("images/fond_media.jpg") !important;	
background-position: top right !important;
}
	
	
	.site-content, .page-id-57 .site-content, .page-id-59 .site-content {width: 70%; margin-top:0; height: auto; position: static;padding: 0 2% 0 2%; margin-left: 30%; margin-right: 0px !important;}
	.entry-content {padding-right: 0;}
	
	#menu_pages {display: none !important;}
	
	.site-header {width: 100%;}
	
	#headercontainer {display: none; padding: 0; width: inherit; height: 12%;}
	
	.site-title h1 a, .site-title h1 {line-height: 0.8; font-size: 30px; margin-left: 0px;margin-top: 15px; margin-bottom: 0px;}
	
.site-title {padding-left: 70px; padding-right: 70px; text-align: center; display: block;}
	
.mobmenul-container {width: 30px;}

.mob-icon-menu {line-height: normal;}





#maincontentcontainer {position: static; height: 100%; overflow: auto;}


	article {height: auto;}
	
	.colonne-media {
display: block;
margin: auto;
width: 90%;
height: auto;
overflow-y: auto;
	
	}
	
.colonne-images figure {
padding-top: 0;
margin-bottom: 5%;
width: 40%;
display: inline-block;
vertical-align: top;

}	
	
	.titre-colonne {text-align: left;}
	
	.ngg-simplelightbox {margin: 0;}
	
	.ngg-simplelightbox img {width: 100%;}
	
	
	
.menu-gauche {
display: block;
position: absolute;
width: 30%;
height: 100%;
font-size: 20px;
list-style: none !important;
list-style-type: none !important;
overflow-y: auto;
	}	
	.menu-gauche h1 {font-size: 25px; margin-bottom: 0px;}
	
	
	
.menu-gauche li {
display: block;
list-style: none !important;
list-style-type: none !important;
}


#lienspaysage {display: block; margin-left: 0px;}

.page-id-56 #maincontentcontainer {
background-image: none;
height: 100%;
width: auto;


}
	
	
	#menu-menu-principal-1 {
padding-left: 5px;		
	}
	
	/* 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;
	}
	


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