/* =============================================
 *
 *   FIXED RESPONSIVE NAV
 *
 *   (c) 2014 @adtileHQ
 *   http://www.adtile.me
 *   http://twitter.com/adtilehq
 *
 *   Free to use under the MIT License.
 *
 * ============================================= */


a:active,
a:hover {
  outline: 0;
}


/* ------------------------------------------
  RESPONSIVE NAV STYLES
--------------------------------------------- */




.js .nav-collapse {
  clip: rect(0 0 0 0);
  max-height: 0;
  position: absolute;
  display: block;
  overflow: hidden;
  zoom: 1;
}

.nav-collapse.opened {
  max-height: 9999px;
}

.disable-pointer-events {
  pointer-events: none !important;
}

.nav-toggle {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

@media screen and (min-width: 768px) {
  .js .nav-collapse {
    position: relative;
  }
  .js .nav-collapse.closed {
    max-height: none;
  }
  .nav-toggle {
    display: none;
  }
}



/* ------------------------------------------
  MASK
--------------------------------------------- */

.mask {
  -webkit-transition: opacity 300ms;
  -moz-transition: opacity 300ms;
  transition: opacity 300ms;
  background: rgba(0,0,0, .5);
  visibility: hidden;
  position: fixed;
  opacity: 0;
  z-index: 2;
  bottom: 0;
  right: 0;
  left: 0;
  top: 0;
}

.android .mask {
  -webkit-transition: none;
  transition: none;
}

.js-nav-active .mask {
  visibility: visible;
  opacity: 1;
}

@media screen and (min-width: 40em) {
  .mask {
    display: none !important;
    opacity: 0 !important;
  }
}





/* ------------------------------------------
  NAVIGATION STYLES
--------------------------------------------- */




@media screen and (min-width: 768px) {
  .nav-collapse {
    float: right;
    width: auto;
  }
}


@media screen and (min-width: 768px) {
  .nav-collapse li {
    width: auto;
  }
}

/* A CHANGER POUR LE STYLE DES BOUTONS */
@media screen and (max-width: 768px) {
  .nav-collapse li, .nav-collapse ul {
   width:100%;
  }
  
  .nav-collapse li a{
   width:100%;
   border-left:0px transparent;
   border-bottom:2px solid #E3B31F;
  }
  
  .nav-collapse.nav_up{
 
	margin-top:20px;
	display:inline-block;
  }
  
}



@media screen and (max-width: 768px) {
  .nav-collapse ul ul a {
    display: none;
  }
}


/* ------------------------------------------
  NAV TOGGLE STYLES
--------------------------------------------- */

@font-face {
  font-family: 'responsivenav';
  src:url("fonts/icons/responsivenav.eot");
  src:url("fonts/icons/responsivenav.eot?#iefix") format("embedded-opentype"),
    url("fonts/icons/responsivenav.ttf") format("truetype"),
    url("fonts/icons/responsivenav.woff") format("woff"),
    url("fonts/icons/responsivenav.svg#responsivenav") format("svg");
  font-weight: normal;
  font-style: normal;
}

.nav-toggle {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-decoration: none;
  text-indent: -300px;
  position: relative;
  overflow: hidden;
  width: 60px;
  height: 55px;
  float: right;
}

.nav-toggle:before {
  color: #E3B31F; /* Edit this to change the icon color */
  font: normal 28px/55px 'responsivenav'; /* Edit font-size (28px) to change the icon size */
  text-transform: none;
  text-align: center;
  position: absolute;
  content: "\2261"; /* Hamburger icon */
  text-indent: 0;
  speak: none;
  width: 100%;
  left: 0;
  top: 0;
}

.nav-toggle.active:before {
  font-size: 24px;
  content: "\78"; /* Close icon */
}

@media screen and (max-width: 768px) {
  .nav-toggle:before {
	text-align:center;
	line-height:80px;
	display:inline-block;
	z-index:150;
}

.before-nav-toggle{
	-moz-box-shadow: 0px 5px 10px 0px #656565; /* Old Mozilla */
	-webkit-box-shadow: 0px 5px 10px 0px #656565; /* Chrome Safari */
	-o-box-shadow: 0px 5px 10px 0px #656565; /* OPER MOBILE */
	box-shadow: 0px 5px 10px 0px #656565;
	filter:progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=180, Strength=10); /* IE */
	background-color:white;
	margin-top:20px;
	padding-right:15px;
	width:100%;
	display:inline-block;
	position:fixed;
	height:80px;
}
.nav-toggle {margin-top:20px;display:inline-block;}
}



