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

#header {	
  z-index: 100;
	margin:auto;
  width: 100%;
	height:83px;
  color: #fff;
	background-image:url('../img/nav/back.jpg');
	background-repeat: no-repeat;
	background-position: top center;
}
#header-content {	
	position: relative;
  margin:auto;
  width: 100%;
	height:100%;
	max-width: 1000px;
	-moz-box-shadow: 0px 1px 12px #000; 
	-webkit-box-shadow: 0px 1px 12px #000; 
	box-shadow: 0px 1px 12px #000;
}


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

/* =============================================================================
   NAV
   ========================================================================== */
#nav {
	position: absolute;
	bottom:0;
	right:10px;
}
#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: 'helioscondbold', Arial, "Helvetica CY", Helvetica, sans-serif;	
	font-weight: normal;
  font-style: normal;		
	text-transform:uppercase;
  outline: none;
}
#nav li a:focus, #nav li a:hover {
  color: #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:201;	
}



/* =============================================================================
   NAV DESKTOP
   ========================================================================== */
@media screen and (min-width: 481px) {	
	#nav {
		width:68%;
	}
	#nav li {
    display: inline-block;
		float:left;		
		text-align:center;
		max-height:83px;
    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: #ea8f00;
		font-size:22px;
		padding-top:45px;
		padding-bottom:15px;
  }	
	/* POUR LE EN ET LE DE */
	#nav li.nav-home {
		display:none;
  }
	#nav li.nav-news {
		width:15%;
  }
	#nav li.nav-media, #nav li.nav-forum {
		width:14%;
  }
	#nav li.nav-game {
		width:20%;
  }
	#nav li.nav-shop {
		width:14%;
  }
	#nav li.nav-community {
		width:23%;
  }
	/* POUR LE FR */
	#nav li.nav-game.nav-fr {
		width:14%;
  }
	#nav li.nav-shop.nav-fr {
		width:20%;
  } 
	/* POUR LE SP */
	#nav li.nav-news.nav-sp {
		width:17%;
  }
	#nav li.nav-community.nav-sp {
		width:21%;
  }
}

@media screen and (min-width: 481px) and (max-width: 1000px) {
	#nav {
		right:0px;
	}
	#nav-logo { 
		left:3px;
	}
	#nav li.nav-shop {
    background:none;	
  }
	
}

/* =============================================================================
   NAV TABLET
   ========================================================================== */
@media screen and (min-width: 481px) and (max-width: 768px) {
	#header {	
		height:70px;
	}
	#nav-logo {
		left:5px;
		top:10px;
		width:100px;
	}
	#nav-logo img#nav-logo-mars  {
		float:left;
		width:100px;
	}
	#nav-logo img#nav-logo-warlogs {
		float:left;
		width:80px;
		margin-left:25px;
		margin-top:-5px;
	}
	#nav {
		width:88%;
	}
	#nav li a {
		font-size:18px;
  }	
	#nav li.nav-home {
		display:none;
  }
}


/* =============================================================================
   NAV MOBILE
   ========================================================================== */
@media screen and (max-width: 480px) {
	
	#logo {
		display:none;
	}	
	#nav {
		bottom:0;
		right:0;
	}
	#header {		
		position:fixed;
		height:45px;
		width:100%;
		background:url('../img/pattern/pattern_nav_mobile.gif') repeat;
	}
	#container {	
		margin-top:45px;	
	}
	#nav {
		width:100%;
	}
	#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: #5f1f0f;		
		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:6px;
		left:8px;
		display:block;
	}
	#nav-logo img#nav-logo-mars  {
		width:80px;
	}
	#nav-logo img#nav-logo-warlogs {
		width:80px;
	}	
	
	
	#nav ul {
		width:100%;
		position: absolute;
		top:0px;
		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/pattern/pattern_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;
		background: rgba(1, 1, 1, 0.3);
	}
	#nav.mobile ul li.current {
		display: block;
		background: url(../img/nav/nav-current.png) no-repeat 4px 6px;
	}	
	#nav.mobile ul li.current a {
		color: #eeefef;
	}
	

}
