/*@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,600,700);*/
* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  z-index:-10;
  top:10%
}

body {
  /*margin: .55em;*/
  color: black;
  /*background-image:url(Photos/Fond.jpg);
  z-index:0;*/
}

/* custom scrollbar */
::-webkit-scrollbar {
  width: .95em;
}

::-webkit-scrollbar-track {
  background-color: rgba(217, 217, 217, 0.5);
}

::-webkit-scrollbar-thumb {
  background: rgba(184, 184, 184, 0.5);
  box-shadow: inset 0.05em 0.05em 0 rgba(0, 0, 0, 0.1), inset 0 -0.05em 0 rgba(0, 0, 0, 0.07);
}

/* dummy content */
.content2 {
  /*float: left;*/
  font: 1em 'Open Sans', sans-serif;
 /* margin: .75em 0 0 0;*/
  transition: margin .3s ease-in-out;
/*   position: sticky;
 */  
 }
.content2 > p {
  margin: .25em 0 .75em 0;
}

#TITRE_p  {
position:fixed;
padding-right:1em;
left:5%;
text-shadow: 1px 2px 4px #000;
z-index:101;
font-size:25px;
color: #FAFEFA;
font: 80%, Trebuchet MS,Verdana,Lucida Grande,Tahoma,Helvetica,sans-serif;
}





/* Advanced Checkbox Hack */
body {
  -webkit-animation: bugfix infinite 1s;
}

@-webkit-keyframes bugfix {
  from {
    padding: 0;
  }
  to {
    padding: 0;
  }
}
input[type=checkbox] {
  position: absolute;
  top: -9999px;
  left: -9999px;
}

label {
  position: fixed;
  z-index:99;
  right: 0;
  display: none;
  width: 2em;
  height: 2.25em;
  padding: .35em;
  font-size: 1.1em;
  color: #fff;
  transition: color .3s ease-in-out;
  cursor: pointer;
  user-select: none;
  margin: 0;
  background: rgba(0, 0, 0, 0.4);
}

/* big screens */
nav[role="off-canvas"] {
  position: fixed;
 /* width: 50em;*/
  width: 100%;
  margin: 0 auto;
  transition-duration: .3s, .5s;
  transition-timing-function: ease-in-out;
  transition-property: left, opacity, box-shadow;
  z-index: 100;
background: #FFFFFF82 none repeat scroll 0% 0%;
/*background: #59709E none repeat scroll 0% 0%;*/
text-align: center;
font-size: 1em;
  
}
nav[role="off-canvas"] a {
  color: #262222;;
  text-decoration: none;
  font: 1.3em 'Open Sans', sans-serif;
  transition: color .3s ease-in-out;
  display: table-cell;
  vertical-align: middle;
}
nav[role="off-canvas"] ul {
  padding: 0;
  margin: 0 auto;
  width: 100%;
  padding-left:45%
}
nav[role="off-canvas"] ul > li {
  float: left;
  padding: .55em .55em;
 /* width: 8em; */
  height: 4em;
  margin: .5em;
  background-opacity: .6;
  text-transform: uppercase;
  display: table;
  /*background: rgba(247, 52, 8, 0.65);*/
  /*cursor: pointer;*/
  text-align: center;
  transition-duration: .3s;
  transition-timing-function: ease-in-out;
  transition-property: box-shadow, color, opacity, padding-left;
 /* cursor: pointer;*/
}
nav[role="off-canvas"] ul > li:hover {
  color: #fff;
  opacity: 1;
  box-shadow: 0 0 0 0.5em rgba(255, 255, 255, 0.95);

}
nav[role="off-canvas"] ul > li:hover > a {
  color: #683838;
  /*EEECE1   background: rgba(238, 236, 225, 0.65);*/
}

nav[role="off-canvas"] ul > li:nth-child(1) {
  background: rgba(238, 236, 225, 0.65);
  /*#D0DCAE*/
}
nav[role="off-canvas"] ul > li:nth-child(2) {
  background: rgba(208, 220, 174, 0.65);
  /*#D0DCAE*/
}
nav[role="off-canvas"] ul > li:nth-child(3) {
  background: rgba(144, 204, 203, 0.65);

  }
nav[role="off-canvas"] ul > li:nth-child(4) {
  background: rgba(144, 204, 203, 0.65);
  
}
nav[role="off-canvas"] ul > li:nth-child(5) {
  background: rgba(8, 72, 247, 0.65);
}

/* small screens */
@media screen and (max-width: 54em) {
  html,
  body {
    margin: 0;
    overflow-x: hidden;
  }

  .content2 {
/*     margin: 2.5em .5em 0 .5em;
 */	

/*  margin-top: 2.5em;
 padding-bottom: 5px;
 */
  }


#TITRE_p  {
position:fixed;
padding-right:1em;
left:5%;
font-weight: bold !important;

text-shadow: 1px 2px 4px #000;
z-index:100;
font-size:15px;
color: #FAFEFA;
font: 80%, Trebuchet MS,Verdana,Lucida Grande,Tahoma,Helvetica,sans-serif;
z-index:2001;
}




  nav[role="off-canvas"] {
    position: fixed;
    top: 7em;
    left: -40em;
    width: 20em;
    opacity: 0;	
	padding-left:0%;
	
  }
  
nav[role="off-canvas"] ul {
  padding: 0;
  margin: 0 auto;
  width: 100%;
  padding-left:0%
}
  
  
  
  
  nav[role="off-canvas"] ul > li {
    height: 100%;
    width: 100%;
    text-align: left;
    margin: 0;
	padding-left:0%;

  }
  nav[role="off-canvas"] ul > li:hover {
    box-shadow: inset 0 0 0 0.15em rgba(255, 255, 255, 0.45);
  }

  label {
    display: block;
	position:fixed
	z-index:100;
  }

  label:after {
    position: absolute;
    right: .25em;
    top: 0;
    content: "\2261";
    font-size: 1.8em;
	color:white;
  }

  label:hover,
  input:checked ~ label {
    color: red;
  }

  input:checked ~ nav[role="off-canvas"] {
    opacity: 1;
    left: 0;
    box-shadow: -30em 0 0 30em rgba(0, 0, 0, 0.3);
	z-index:2000;
  }
  input:checked ~ nav[role="off-canvas"] ul > li {
    padding: .55em .55em .55em 1.5em;
  }
  input:checked ~ nav[role="off-canvas"] ul > li:hover {
    padding-left: 3.5em;
  }
  input:checked ~ nav[role="off-canvas"] ul > li:after {
    position: absolute;
    right: .25em;
    content: "\203A";
    font: bold 1.4em sans-serif;
    color: inherit;
  }

  input:checked ~ .content2 {
    margin-left: 20.5em;
    margin-right: -20.5em;
  }
  
  /*couleur menu*/
nav[role="off-canvas"] a {
  color: #000;
  text-decoration: none;
  font: 1.3em 'Open Sans', sans-serif;
  transition: color .3s ease-in-out;
  display: table-cell;
  vertical-align: middle;
}

#fixe-dispo:hover
{
  background-image:url(Photos/Fond.jpg);height:auto;position:fixed;bottom:0%;width:auto;left:0;z-index: 2;
}
#fixe-dispo .boxd2
{
display:none;bottom:0%;font-size:60%;z-index: 2;
}



}

#fixe-dispo
{
display:inline-block;  background-image:url(Photos/Fond.jpg);position:fixed;bottom:10%;width:70px;left:0;text-align:center;vertical-align:center;z-index: 2;
}

#fixe-dispo .boxd2
{
display:none;z-index: 2;
}

#fixe-dispo:hover
{
  background-image:url(Photos/Fond.jpg);height:auto;position:fixed;z-index: 2;width:auto;left:0;
}

#fixe-dispo:hover .boxd2
{
display:inline-block;z-index: 2;
}

/* 
.w3-bottom {
    position: absolute !important;
    bottom: 0;
    width: 50% !important;
    left: 0;
	background-color:rgba(208, 201, 184);
	z-index:200 !important; 
}

.w3-bottom2 {
    position: absolute !important;
    bottom: 0;
    width: 50% !important;
    right: 0;
	background-color:rgba(208, 201, 184);
	z-index:200 !important; 

} */
#fixe-bas {
    height: 30px;
    position: fixed ;
    bottom: 0;
    width: 50% ;
    left: 0;
	display:inline-block;
	z-index:200;
	background-color:rgba(208, 201, 184);

}

#fixe-bas2{
    height: 30px;
    position: fixed ;
    bottom: 0;
    width: 50% ;
    right: 0;
	display:inline-block;
	z-index:200;	
	background-color:rgba(208, 201, 184);

}
#fixe-bas p
{
padding-left:10px;text-align:center;color:white;font:normal 12px verdana, sans-serif;padding-top:12px;margin:0;color:#262222;
}
#fixe-bas2 p
{
padding-left:10px;text-align:center;color:white;font:normal 12px verdana, sans-serif;padding-top:12px;margin:0;color:#262222;
}
#fixe-bas .boxd2
{
display:none;z-index: 200;
}

#fixe-bas:hover .boxd2
{
display:inline-block;z-index: 200;
}
#fixe-bas2 .boxd2
{
display:none;z-index: 200;
}

#fixe-bas2:hover .boxd2
{
display:inline-block;z-index: 200;
}
/* #fixe-bas
{
display:inline-block;background: #6E655E;background-opacity:0.5;height:35px;position:fixed;bottom:0;width: 100%;left:0;z-index:200;
}

#fixe-bas:hover
{
padding-left:10px;background: #6E655E;height:auto;position:fixed;bottom:0%;width:100%;left:0;color:white;z-index:200;
}

#fixe-bas p
{
padding-left:10px;text-align:left;color:white;font:normal 12px verdana, sans-serif;padding-top:12px;margin:0;
}
 */


#fixe-bas:hover {
background-color: rgba(208, 201, 184, 0.8);
height: auto;
position: fixed;
bottom: 0;
width: 100%;
left: 0;
z-index:200;
color: #2f2222;
display:inline-block;
box-shadow: 0px 0px 15px rgba(0,0,0,0.5);
}

#fixe-bas2:hover {
background-color: rgba(208, 201, 184, 0.8);
height: auto;
position: fixed;
bottom: 0;
width: 100%;
z-index:200;
left: 0;
color: #2f2222;
display:inline-block;
box-shadow: 0px 0px 15px rgba(0,0,0,0.5);
}

/*
.fixe-bas
{
display:inline-block;background-color:rgba(52, 103, 153, 0.8);height:35px;position:fixed;bottom:0;width: 100%;left:0;z-index:200;
}

.fixe-bas:hover
{
padding-left:10px;background-color:rgba(52, 103, 153, 0.8);height:auto;position:fixed;bottom:0%;width:100%;left:0;color:white;z-index:200;
}

.fixe-bas p
{
padding-left:10px;text-align:left;color:white;font:normal 12px verdana, sans-serif;padding-top:12px;margin:0;
}
.fixe-bas a
{
text-align:left;color:white;font:normal 12px verdana, sans-serif;padding-top:12px;margin:0;
}


*/

@media (max-device-width:768px) and (orientation: landscape) {
  html {
   -webkit-text-size-adjust: 100%;
   -ms-text-size-adjust: 100%;
  }
}

@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;
	}
	
	/* Un message personnalisé */

	/*body:before {
		content: "Version mobile du site";
		display: block;
		text-align: center;
		font-style: italic;
		color: white;
		font: 0.8em 'Open Sans', sans-serif;
	}*/
}
