/* MENU RESPONSIVE FULL CSS - Commence ici */

nav > input,
nav > label {
  display: none;
  /* hidden on large screens */
}

@media (min-width: 768px) {
header nav {float:right; clear:right;} 
header  ul {margin: 25px 25px 0 0!important; padding:0!important;}
header li {
	display:inline-block; 
	float:left;
	list-style: none; 
	padding:5px 7px; 
	margin:0 0 0 0; 
	/*background:rgba(39, 39, 39, 0.5);*/
	/*border-top: dashed 1px #6B6B6B!important; */
	border:none;
	transition: all 1s ease;
	border:none;
	outline:none;
	line-height:1.4em;
	color:#CFCAC2;
	}
header li:hover {
	/*background:#38312B;*/
	border-top: dashed 1px #6B6B6B!important;
	}/*#AB0F0F*/
header li:active, header li:focus {background:#D2CCC4;}
header li:first-child {
	/*background:#564A41;*/
	border-radius:0; 
	margin-left:10px!important;
	}
header li:last-child,header li:nth-last-of-type(2)  {
	/*background:#fff;*/
	border-radius:0;
	/*margin-right:10px!important;*/
	}
header li a { text-decoration: none; color: #fff;}
header li:first-child a {color: #A99E8F!important;}
header li:last-child a, header li:nth-last-of-type(2) a {color: #A99E8F!important;}
}

@media (max-width: 960px) {
header ul {margin: 25px 0 0 0!important;}
}

@media (max-width: 890px) {
header ul {font-size:0.8em; margin: 20px 0!important;}
}

@media (max-width: 767px) {
header ul {margin: 0!important;}
  /* Theming opened nav */
  nav ul {
    /* translate with hardware acceleration */
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
    -webkit-transition: max-height .4s, overflow .4s;
    transition: max-height .4s, overflow .4s;
    will-change: max-height, overflow;
    /* global styles */
    margin: 0;
    padding: 0;
    list-style: none;
  }
  nav a {
    display: block;
    padding: 1.2rem;
    color: #000;
    background: #ECE2D1;
    text-decoration: none;
    margin:0 0 1px 0;
	-webkit-transition: all .3s ease;
	        transition: all .3s ease;
  }
  nav a:hover,
  nav a:focus,
  nav a:active {
    color:#fff;
    background: #CCC3B1;
  }
  /* handling clic with CSS3 checked */
  /* Theming closed nav */
  nav > input:not(:checked) ~ ul {
    max-height: 0;
    overflow: hidden;
  }
  /* Theming opened nav */
  nav > input:checked ~ ul {
    max-height: 40em;
    overflow: visible;
  }
  /* Global styling nav button */
  nav > label {
    display: block;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    z-index: 1;
    height: 5.5rem;
    width: 5.5rem;
    background: #000;
    border: 0;
    border-radius: 0 ;
    text-align: center;
    font-size: 1.7rem;
    line-height: 1.3rem;
    color: #fff;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-transition: .2s -webkit-transform cubic-bezier(0, 1.8, 1, 1.2);
    transition: .2s transform cubic-bezier(0, 1.8, 1, 1.2);
  }
  nav > label:before {
    content: "";
    display: block;
    z-index: 1;
    height: 1.7rem;
    width: 2rem;
    background-color: transparent;
    background-image: -webkit-gradient(linear, left top, right top, from(#fff), to(#fff)), -webkit-gradient(linear, left top, right top, from(#fff), to(#fff)), -webkit-gradient(linear, left top, right top, from(#fff), to(#fff));
    background-image: -webkit-linear-gradient(left, #fff, #fff), -webkit-linear-gradient(left, #fff, #fff), -webkit-linear-gradient(left, #fff, #fff);
    background-image: linear-gradient(to right, #fff, #fff), linear-gradient(to right, #fff, #fff), linear-gradient(to right, #fff, #fff);
    background-position: center top, center, center bottom;
    background-repeat: no-repeat;
    background-size: 2rem .3rem;
    margin: .8rem auto .4rem;
    padding: 0;
    outline: 0;
    border: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-transition: .2s cubic-bezier(0, 1.8, 1, 1.2);
    transition: .2s cubic-bezier(0, 1.8, 1, 1.2);
    -webkit-transition-property: background;
            transition-property: background;
  }
  /* Theming opened nav button */
  nav > input:checked + label {
    -webkit-transform: scale(.8);
    -ms-transform: scale(.8);
        transform: scale(.8);
  }
  nav > input:checked + label::before {
    background-position: center, center, center;
  }
  /* Hide alternate text except from screen readers */
  .visually-hidden {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    overflow: hidden;
    height: 1px;
    width: 1px;
  }
}
/* !!! FIN Menu Responsive */

/* orientation */

@media (orientation: landscape) and (max-device-width: 767px) {
  html,
  body {
    -webkit-text-size-adjust: 100%;
  }
}

/* FIN orientation */
/* FIN MENU RESPONSIVE FULL CSS */