/* =============================================================================
   NAV
   ========================================================================== */

#header {	
	position:fixed;
	top:22px;
	z-index: 100;
  width: 100%;
	height:70px;
  color: #fff;
	background-image:url('../img/nav/nav.png');
	background-repeat: no-repeat;
	background-position: top center;
}
#header-content {	
	position: relative;
  margin:auto;
  width: 100%;
	height:100%;   
	max-width: 1000px;
}


/* =============================================================================
   LOGO
   ========================================================================== */
#nav-logo {  
	position: absolute;
	left:10px;
	top:0px;
}

/* =============================================================================
   NAV
   ========================================================================== */
#nav {
	position: absolute;
	top:0px;
	right:0px;
}
#nav ul {
	margin: 0;
	padding: 5;
}
#nav ul:before, #nav ul:after {
  content: "";
  display: table;
}
#nav ul:after {
  clear: both;
}
#nav li {
	padding: 0;
	list-style: none;
	display: inline-block;
}
#nav li a {
	display: block;
	font-family: 'carton_sixregular', Arial, "Helvetica CY", Helvetica, sans-serif;	
	font-weight: normal;
	font-style: normal;		
	text-transform:uppercase;
	outline: none;
}
#nav li a:hover {
  color: #fff;
	/* border-top: 1px solid #fff; */
  /* background: rgba(1, 1, 1, 0.3); */
}
#nav li.current a {
  color: #fff;
}


/* =============================================================================
   ELÉMENTS VISIBLE UNIQUEMENT POUR LA VERSION MOBILE
   ========================================================================== */
#nav-btn {
  display: none;
}


/* =============================================================================
   HEADER QUI SE FIXE EN HAUT QUAND ON SCROLL
   ========================================================================== */
.header_sticked {	
	position:fixed;
	top:0px;
	z-index:200;	
}



/* =============================================================================
   NAV DESKTOP
   ========================================================================== */
@media screen and (min-width: 481px) {		
	#nav {
		width:70%;
	}
	#nav li {
    display: inline-block;
		float:left;		
		text-align:center;
		max-height:57px;
    background: transparent url(../img/nav/nav_separator.png) top right no-repeat;
		/* border-right: 1px solid rgba(255, 255, 255, 0.5);*/	
  }
	#nav li a {
		color: #ffc000;
		font-size:26px;
		padding-top:15px;
		height:70px;
  }	
	/* POUR LE EN ET LE DE */
	#nav li.nav-home {
		display:none;
  }
	#nav li.nav-news {
		width:20%;
  }
	#nav li.nav-game {
		width:22%;
  }
	#nav li.nav-community {
		width:27%;
  }
	#nav li.nav-media {
		width:16%;
		background-position: 100% -5px;
  }	
	#nav li.nav-shop {
		width:15%;
		background: transparent;
  }
	
	/* POUR LE FR */
	#nav li.nav-news.nav-fr {
		width:16%;
  }
	#nav li.nav-game.nav-fr {
		width:16%;
  }
	#nav li.nav-community.nav-fr {
		width:30%;
  }
	#nav li.nav-shop.nav-fr {
		width:20%;
  }	
	
	/* CURRENT */
	#nav li.current a {
		background-image:url('../img/nav/nav_current_small.png');
		background-repeat: no-repeat;
		background-position: top center;
	}
	#nav  li.current.nav-community a, 
	#nav  li.current.nav-game.nav-en a, 
	#nav  li.current.nav-game.nav-de a, 
	#nav  li.current.nav-game.nav-sp a, 
	#nav  li.current.nav-shop.nav-fr a {
		background-image:url('../img/nav/nav_current.png');
	}
	
}


/* =============================================================================
   NAV TABLET
   ========================================================================== */
@media screen and (min-width: 481px) and (max-width: 768px) {
	#nav-logo {
		left:5px;
		top:10px;
		width:140px;
	}
	#nav-logo img  {
		float:left;
		width:100%;
	}
	#nav {
		width:80%;
	}
	#nav li a {
		padding-top:18px;
		font-size:20px;
  }	
	#nav li.nav-home {
		display:none;
  }
}


/* =============================================================================
   NAV MOBILE
   ========================================================================== */
@media screen and (max-width: 480px) {
		
	#header {		
		position:fixed;
		top:0px;
		height:45px;
		width:100%;
	}	
	#nav {
		width:100%;
		right:0px;
	}
	#nav-btn {
		display: block;
		position:absolute;
		cursor:pointer;
		z-index:2;
		top:0px;
		right:0px;
		width:60%;
		height:45px;
	}
	#nav-btn span {		
		font-family: 'helioscondbold', Arial, "Helvetica CY", Helvetica, sans-serif;
		background-color: #325000;		
		display: inline-block;
		position: relative;
		float: right;
		width:90px;
		height:32px;
		margin: 6px;
		padding: 6px;
		font-size: 20px;
		line-height:20px;
		text-transform: uppercase;
		vertical-align: top;
		text-align:center;			
		color:#eeefef;
	}
	#nav-btn #nav-icon {
		font-size: 17px;
		line-height:20px;
	}
	
	#nav-logo {
		position:absolute;
		z-index:0;
		top:3px;
		left:2px;
		display:block;
	}
	#nav-logo img  {
		width:120px;
	}	
	
	#nav ul {
		width:100%;
		position: absolute;
		top:45px;
		left:0px;
		min-height:50px;
		padding:0;
		margin:0;
	}
	#nav li {
		display: none; /* hide all <li> items */
		width:auto;
		margin: 0;
		min-height:0px;		
	}
	
	#nav.mobile ul {
		background:url('../img/nav/nav_mobile.gif') repeat;
		padding-bottom:10px;
	}	
	#nav.mobile ul li {
		display: block;
		width:auto;
		height:40px;
	}
	#nav.mobile li a {		
		width:100%;		
		display: block;
		text-align: left;
		padding:8px 5px 5px 40px;
		font-size: 25px;
		line-height:30px;
	}
	#nav.mobile li a:focus, #nav.mobile li a:hover {
		color: #eeefef;
	}
	#nav.mobile ul li.current {
		display: block;
		background: url(../img/nav/nav_current_icone.png) no-repeat 4px 6px;
	}	
	#nav.mobile ul li.current a {
		color: #eeefef;
		background-image:url('../img/nav/nav_current_mobile.png');
		background-repeat: no-repeat;
		background-position:28px 0px;	
	}
	

}
