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

body, div,
h1, h2, h3, h4, h5, h6,
p, blockquote, pre, dl, dt, dd, ol, ul, li, hr,
fieldset, form, label, legend, th, td,
article, aside, figure, footer, header, hgroup, menu, nav, section,
summary, hgroup {
  margin: 0;
  padding: 0;
  border: 0;
}

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

@-webkit-viewport { width: device-width; }
@-moz-viewport { width: device-width; }
@-ms-viewport { width: device-width; }
@-o-viewport { width: device-width; }
@viewport { width: device-width; }


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

.nav-collapse ul {
  margin: 0;
  padding: 0;
  width: 100%;
  display: block;
  list-style: none;
}

.nav-collapse li {
  width: 100%;
  display: block;
}

.js .nav-collapse {
	clip: rect(0 0 0 0);
	max-height: 0;
	position: absolute;
	display: block;
	overflow: hidden;
	zoom: 1;
/*
	border-top-width: 0px;
	border-top-style: solid;
	border-top-color: #000;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #000;
	border-radius: 0px 0px 0px 10px;	
	*/	
	margin-top: 0.4em;
	margin-left: 0.4em;	
	margin-right: 0.4em;

}

.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: 80em) {
  .js .nav-collapse {
    position: relative;
  }
  .js .nav-collapse.closed {
    max-height: none;
  }
  .nav-toggle {
    display: none;
  }
}


/* ------------------------------------------
changer min-width: 80em partout par une autre valeur pour régler la taille
  DEMO STYLES
--------------------------------------------- */

body {
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	text-size-adjust: 100%;
	color: #fff;
	background: #CCC;
	font: normal 100%/1.4 sans-serif;
}

section {
  border-bottom: 1px solid #999;
  text-align: center;
  padding: 100px 0 0;
  height: 800px;
  width: 100%;
}

h1 {
  margin-bottom: .5em;
}

p {
  width: 95%;
  margin: 0 auto;
}


/* ------------------------------------------
  FIXED HEADER
--------------------------------------------- */

header {
	position: fixed;
	width: 100%;
	right: 0;
	top: 0;
/*	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #336633; */
	background-color: #015774;
	
	/*	border-radius: 0px 0px 20px 20px; 015774 old : 015774
 font-size: 0.8em;
	min-height : 62px;
 
 */
	height: 65px;
	color: #FC0;
z-index:10;	
}

.logo {
	text-decoration: none;
	float: left;
	padding : 5px;
	padding-top : 0px;
	max-width : 2950px;
	font-size: 0.2em;
	-webkit-background-clip: text;
	vertical-align: middle;
	/* height : 40px;*/
	display: inline-block;
	text-align: left;
	color: #fff;
	letter-spacing: 0.05em;
}

.logo_p {
	text-decoration: none;
	float: left;
	padding-right: 2px;
	padding: 0.5em;
	max-width : 250px;
	font-size: 1em;
	color: #fff;
	-webkit-background-clip: text;
	vertical-align: middle;
	height : 30px;
	letter-spacing: 0.05em;
}
/* ------------------------------------------
  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: 80em) {
  .mask {
    display: none !important;
    opacity: 0 !important;
  }
}


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

.fixed {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
}

.nav-collapse,
.nav-collapse * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.nav-collapse,
.nav-collapse ul {
  list-style: none;
  width: 100%;
  float: right;
}

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

.nav-collapse li {
	float: left;
	width: 100%;
  margin-right:10px;

}

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

.nav-collapse a {
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	border-top: 1px solid #FFF;
	text-decoration: none;
	padding: 0.7em 1em;
	color: #fff;
	width: 100%;
	float: right;
	background-color: #015774;
}

.nav-collapse a:active,
.nav-collapse .active a {
	background-color: ##003227;
}

@media screen and (min-width: 80em) {
  .nav-collapse a {
	text-align: center;
	float: right;
	border-radius: 10px 10px 10px 10px;
    border : 1px solid #FFF;

  }
}

.nav-collapse ul ul a {
  background: #CCC;
  padding-right: 2em;
}

@media screen and (min-width: 80em) {
  .nav-collapse ul ul a {
    display: none;
  }
}


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

@font-face {
	font-family: responsivenav;
	src: url("../icons/responsivenav.eot");
	src: url("../icons/responsivenav.eot?#iefix") format("embedded-opentype"),
    url("../icons/responsivenav.ttf") format("truetype"),
    url("../icons/responsivenav.woff") format("woff"),
    url("../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: 52px;
	height: 48px;
	float: right;
	border: thin solid #FFF;
	margin-top: 0.5em;
	margin-right: 0.5em;
	border-radius: 10px 10px 10px 10px;
}

.nav-toggle:before {
	color: #FFF; /* 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%;
	right: 0;
	top: 0;
	font-family: "responsivenav";
	font-size: 24px;
	font-style: normal;
	line-height: 48px;
	font-weight: normal;
	font-variant: normal;
}

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





