/* =============================================================================
   HEADER
   ========================================================================== */
#header {	
	position:fixed;
	top:0px;
	z-index: 100;
	width: 100%;
	color: #fff;
	/* transition: all 0.2s ease; */
}
#header-content {	
	position: relative;
	margin:auto;  
	width: 100%;
	display:none;
}

/* =============================================================================
   NAV
   ========================================================================== */
#nav {
	position: absolute;
	font-family: 'aeroregular', Arial, "Helvetica CY", Helvetica, sans-serif;
	text-transform: uppercase;
	font-size: 16px;
	background: #36508a; /* Old browsers */
	background: -moz-linear-gradient(top,  #36508a 0%, #5374bf 16%, #345193 46%, #173067 93%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#36508a), color-stop(16%,#5374bf), color-stop(46%,#345193), color-stop(93%,#173067)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #36508a 0%,#5374bf 16%,#345193 46%,#173067 93%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #36508a 0%,#5374bf 16%,#345193 46%,#173067 93%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #36508a 0%,#5374bf 16%,#345193 46%,#173067 93%); /* IE10+ */
	background: linear-gradient(to bottom,  #36508a 0%,#5374bf 16%,#345193 46%,#173067 93%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#36508a', endColorstr='#173067',GradientType=0 ); /* IE6-9 */
}
#nav ul {
	position: relative;
	float:left;
	display:inline-block;
}
#nav ul {	
	margin:0;
	padding:0;
}
#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 {
	position:relative;
	display: block;
	color: #fff;
	text-shadow: 1px 2px 2px rgba(0,0,0,.8);
}

/* =============================================================================
   NAV LOGO
   ========================================================================== */
#nav-logo {  
	display:none;
	position: absolute;
	z-index:22;
	left:10px;
	bottom:-2px;
	width:375px;
	transition: all 0.2s ease;
}
#nav-logo img { 
	width:100%;
}

/* =============================================================================
   OVERLAY ELEMENTS
   ========================================================================== */
#overlay-open {	
	position:absolute;
	cursor:pointer;
	z-index:2;
	top:0px;
	right:0px;
	width:100%;
	height:45px;
	width:100%;
	background: #36508a; /* Old browsers */
	background: -moz-linear-gradient(top,  #36508a 0%, #5374bf 16%, #345193 46%, #173067 93%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#36508a), color-stop(16%,#5374bf), color-stop(46%,#345193), color-stop(93%,#173067)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #36508a 0%,#5374bf 16%,#345193 46%,#173067 93%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #36508a 0%,#5374bf 16%,#345193 46%,#173067 93%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #36508a 0%,#5374bf 16%,#345193 46%,#173067 93%); /* IE10+ */
	background: linear-gradient(to bottom,  #36508a 0%,#5374bf 16%,#345193 46%,#173067 93%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#36508a', endColorstr='#173067',GradientType=0 ); /* IE6-9 */
}
#overlay-open span {				
	background: rgba(255,255,255,0.5);
	display: inline-block;
	position: relative;
	float: right;
	width:90px;
	height:32px;
	margin: 6px;
	padding: 6px;
	font-family: 'aeroregular', Arial, "Helvetica CY", Helvetica, sans-serif;
	font-size:16px;
	line-height:20px;
	text-align:center;		
	text-transform: uppercase;
	text-shadow: 1px 2px 2px rgba(0,0,0,.9);
	color:#fff;
}
#overlay-open #nav-icon {
	font-size: 16px;
	line-height:18px;
}	
#overlay-logo { 
	position: relative;
	float:left;
	width:150px;
	margin-left:8px;
}
#overlay-logo img { 
	width:100%;
}
#overlay-close {
	display:none;
	width: 40px;
	height: 40px;
	position: absolute;
	right: 20px;
	top: 20px;
	overflow: hidden;
	border: none;
	background: url(../img/nav/overlay-close.png) no-repeat center center;
	text-indent: 200%;
	color: transparent;
	outline: none;
	z-index: 100;
	cursor:pointer;
}

/* =============================================================================
   NAV SOCIAL MOBILE
   ========================================================================== */
#nav li#nav-social {			
	position:relative;	
	width:auto;	
	margin:auto;
}
#nav li#nav-social a {			
	position:relative;
	float:left;
	display:inline-block;	
	width:50px;	
}	
#nav-facebook i, 
#nav-twitter i, 
#nav-youtube i, 
#nav-twitch i {	
	width:38px;
	height:38px;	
	border-radius:3px;
	color:#fff;
}
#nav-facebook i {
	padding:9px 0px 0px 0px;
	color: #FFF;
	font-size:22px;	
	background: #4a78b5; /* Old browsers */
	background: -moz-linear-gradient(top,  #4a78b5 0%, #265b9e 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4a78b5), color-stop(100%,#265b9e)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #4a78b5 0%,#265b9e 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #4a78b5 0%,#265b9e 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #4a78b5 0%,#265b9e 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #4a78b5 0%,#265b9e 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4a78b5', endColorstr='#265b9e',GradientType=0 ); /* IE6-9 */
}
#nav-twitter i {
	padding:8px 0px 0px 1px;
	color: #FFF;
	font-size:22px;	
	background-color: #49afcd;
	background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4);
	background-image: -ms-linear-gradient(top, #5bc0de, #2f96b4);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4));
	background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4);
	background-image: -o-linear-gradient(top, #5bc0de, #2f96b4);
	background-image: linear-gradient(top, #5bc0de, #2f96b4);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#2f96b4', GradientType=0);
	border-color: #2f96b4 #2f96b4 #1f6377;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}
#nav-youtube i {
	padding:7px 0px 0px 2px;
	color: #FFF;
	font-size:23px;	
	background-color: #bd362f;
	background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f);
	background-image: -ms-linear-gradient(top, #ee5f5b, #bd362f);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f));
	background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f);
	background-image: -o-linear-gradient(top, #ee5f5b, #bd362f);
	background-image: linear-gradient(top, #ee5f5b, #bd362f);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#bd362f', GradientType=0);
	border-color: #bd362f #bd362f #802420;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);	
	/* Darken IE7 buttons by default so they stand out more given they won't have borders */
	filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}
#nav-twitch i {
	color: #fff;
	font-size:22px;
	padding:10px 0px 0px 1px;
	background: #8966ca; /* Old browsers */
	background: -moz-linear-gradient(top,  #8966ca 0%, #623fa3 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#8966ca), color-stop(100%,#623fa3)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #8966ca 0%,#623fa3 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #8966ca 0%,#623fa3 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #8966ca 0%,#623fa3 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #8966ca 0%,#623fa3 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8966ca', endColorstr='#623fa3',GradientType=0 ); /* IE6-9 */
}

/* =============================================================================
   NAV SOCIAL RIGHT
   ========================================================================== */
#icons_social {
	position: absolute;
	z-index:101;	
	top:73px;
	right:-64px;
	width:auto;
	padding:10px 10px 0px 10px;
	background: rgba(0, 0, 0, 0.3);
	text-align:center;
	transition:all 0.8s ease;
}

#icons_social a {
	display: block;
	height: 35px;
	width: 35px;
	margin: 0px 0px 10px 0px;
	border-radius: 2px 2px 2px 2px;	
}
#icons_social a:hover {
	opacity: 0.8;
	filter: alpha(opacity=80);
	transition:opacity 0.3s ease;
}
#icons_social a img {
	width: 100%;
	padding: 15%;
}

#icon_facebook {
	color: #fff;
	font-size:24px;
	padding-top:5px;
	background: #4a78b5; /* Old browsers */
	background: -moz-linear-gradient(top,  #4a78b5 0%, #265b9e 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4a78b5), color-stop(100%,#265b9e)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #4a78b5 0%,#265b9e 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #4a78b5 0%,#265b9e 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #4a78b5 0%,#265b9e 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #4a78b5 0%,#265b9e 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4a78b5', endColorstr='#265b9e',GradientType=0 ); /* IE6-9 */
}
#icon_twitter {
	color: #fff;
	font-size:24px;
	padding-top:4px;
	background-color: #49afcd;
	background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4);
	background-image: -ms-linear-gradient(top, #5bc0de, #2f96b4);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4));
	background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4);
	background-image: -o-linear-gradient(top, #5bc0de, #2f96b4);
	background-image: linear-gradient(top, #5bc0de, #2f96b4);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#2f96b4', GradientType=0);
	border-color: #2f96b4 #2f96b4 #1f6377;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}
#icon_youtube {
	color: #fff;
	font-size:23px;
	padding-top:4px;
	background-color: #bd362f;
	background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f);
	background-image: -ms-linear-gradient(top, #ee5f5b, #bd362f);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f));
	background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f);
	background-image: -o-linear-gradient(top, #ee5f5b, #bd362f);
	background-image: linear-gradient(top, #ee5f5b, #bd362f);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#bd362f', GradientType=0);
	border-color: #bd362f #bd362f #802420;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);	
	/* Darken IE7 buttons by default so they stand out more given they won't have borders */
	filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}

#icon_twitch {
	color: #fff;
	font-size:22px;
	padding-top:6px;
	background: #8966ca; /* Old browsers */
	background: -moz-linear-gradient(top,  #8966ca 0%, #623fa3 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#8966ca), color-stop(100%,#623fa3)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #8966ca 0%,#623fa3 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #8966ca 0%,#623fa3 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #8966ca 0%,#623fa3 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #8966ca 0%,#623fa3 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8966ca', endColorstr='#623fa3',GradientType=0 ); /* IE6-9 */
}
#icon_cart {
	color:#000;
	font-size:24px;
	padding-top:4px;	
	background: #ffeb44; /* Old browsers */
	background: -moz-linear-gradient(top,  #ffeb44 0%, #ffa20e 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffeb44), color-stop(100%,#ffa20e)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ffeb44 0%,#ffa20e 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ffeb44 0%,#ffa20e 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ffeb44 0%,#ffa20e 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #ffeb44 0%,#ffa20e 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffeb44', endColorstr='#ffa20e',GradientType=0 ); /* IE6-9 */
}

/* =============================================================================
   NAV STICKY
   ========================================================================== */
#header.sticky {	
	top:-75px;
}
#nav-logo.sticky {
	bottom:-5px;
	width:140px;
}
#header.sticky #nav {
	padding-left:160px;		
}
#header.sticky #icons_social {	
	top:120px;
	transition:all 0.2s ease;
}

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

/* On enlève les boutons sociaux à droite sous 1121px */
@media only screen and (max-width: 1121px) {
	#icons_social {
		display:none;
	}
}	 
	 
@media screen and (min-width: 701px) {		
	#header-content {
		display:block;
		height:115px; 
		max-width:1000px;
	}	
	/* Overlay boutons */
	#overlay-open {
		display:none;
	}
	#overlay-close {
		display:none;
	}	
	/* Logo */
	#nav-logo {  
		display:block;
  }
	/* Nav */
	#nav {
		bottom:0px;
		width:100%;
		height:42px;		
		text-align:right;
		padding-left:40%;		
	}
	#nav ul {	
		width:100%;
	}
	#nav li {
		display: inline-block;
		float:left;
		height:42px;
		text-align:left;	
		border-right:1px solid #556895;
	}
	#nav li a {				
		font-size:16px;
		line-height:42px;
		height:100%;
		text-align:center;
  }		
	#nav li a span {
		position: absolute;
		display: block;
		width: 100%;
		transition: color 0.3s ease, text-shadow 0.3s ease;
	}
	#nav li a i {
		position:absolute;
		bottom:1px;
		left:0px;
		width:100%;
		height:4px;
		background: transparent url('../img/nav/nav_hover.png') no-repeat;
		background-position:top center;
		transition: all 0.3s ease-in-out 0s;
	}
	/* HOVER & CURRENT */
	#nav li:hover,
	#nav li.current {
		background: transparent url('../img/nav/nav_hover.jpg') repeat top left;
	}
	#nav li:hover a i,
	#nav li.current a i {
		background-position:bottom center;
	}

	/* EFFET SOUSLIGNÉ TRAIT SIMPLE */
	#nav li a:before {	
		content: "";
		position: absolute;
		width:100%;	
		height:2px;
		left:0px;
		bottom:0px;
		background-color: rgba(255,150,20,1);
		visibility: hidden;
		transform: scaleX(0);
		transition: all 0.3s ease-in-out 0s;
	}
	#nav li:hover a:before, 
	#nav li.current a:before {
		visibility: visible;
		transform: scaleX(1);
	}	
		
	/* RUBRIQUES */
	#nav li#nav-home {
		display:none;
  }
	#nav li#nav-shop {
		background: #ef8303; /* Old browsers */
		background: -moz-linear-gradient(top,  #ef8303 0%, #ff961c 16%, #fc8b00 46%, #b6701d 93%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ef8303), color-stop(16%,#ff961c), color-stop(46%,#fc8b00), color-stop(93%,#b6701d)); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  #ef8303 0%,#ff961c 16%,#fc8b00 46%,#b6701d 93%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  #ef8303 0%,#ff961c 16%,#fc8b00 46%,#b6701d 93%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  #ef8303 0%,#ff961c 16%,#fc8b00 46%,#b6701d 93%); /* IE10+ */
		background: linear-gradient(to bottom,  #ef8303 0%,#ff961c 16%,#fc8b00 46%,#b6701d 93%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ef8303', endColorstr='#b6701d',GradientType=0 ); /* IE6-9 */
		border-right:none;
  }
	#nav li#nav-shop:hover,
	#nav li#nav-shop.current {		
		background: transparent url('../img/nav/nav_hover.jpg') repeat top left;
	}
	#nav li#nav-shop a {
		color: #000;
		text-shadow: none;
	}
	#nav li#nav-shop:hover a, 
	#nav li#nav-shop.current a {
		color: #fff;
		text-shadow: 1px 2px 2px rgba(0,0,0,.8);
	}
	#nav li#nav-social {
		display:none;
  }
		
	/* LARGEUR DES RUBRIQUES POUR LE FR */
	#nav li#nav-news.nav-fr {	width:13%; }
	#nav li#nav-game.nav-fr {	width:15%; }
	#nav li#nav-media.nav-fr { width:14%;	}
	#nav li#nav-community.nav-fr { width:25%; }
	#nav li#nav-forum.nav-fr { width:14%; }
	#nav li#nav-shop.nav-fr { width:19%;}	
	
	/* LARGEUR DES RUBRIQUES POUR LE EN */
	#nav li#nav-news.nav-en {	width:13%; }
	#nav li#nav-game.nav-en {	width:20%; }
	#nav li#nav-media.nav-en { width:14%; }	
	#nav li#nav-community.nav-en { width:22%; }
	#nav li#nav-forum.nav-en { width:15%; }
	#nav li#nav-shop.nav-en { width:16%;}
	
	/* LARGEUR DES RUBRIQUES POUR LE DE */
	#nav li#nav-news.nav-de {	width:12%; }
	#nav li#nav-game.nav-de {	width:20%; }
	#nav li#nav-media.nav-de { width:15%; }	
	#nav li#nav-community.nav-de { width:22%; }
	#nav li#nav-forum.nav-de { width:15%; }
	#nav li#nav-shop.nav-de { width:16%;}
	
	/* LARGEUR DES RUBRIQUES POUR LE ES */
	#nav li#nav-news.nav-es {	width:16%; }
	#nav li#nav-game.nav-es {	width:17%; }
	#nav li#nav-media.nav-es { width:13%;	}
	#nav li#nav-community.nav-es { width:22%; }
	#nav li#nav-forum.nav-es { width:14%; }
	#nav li#nav-shop.nav-es { width:18%;}
	
}


/* =============================================================================
   NAV TABLET
   ========================================================================== */
	 
@media screen and (min-width: 701px) and (max-width: 999px) {
	#header, #header.sticky {	
		position:fixed;
		top:0px;
		height:45px;
	}	
	#header-content {
		width:100%;
		height:45px;
	}	
	#nav-logo, #nav-logo.sticky {
		bottom:-3px;
		left:5px;
		width:150px;
	}
	#nav {
		top:0px;
		text-align:right;
		padding-left:160px;
	}
	#nav ul {	
		width:100%;
		text-align:right;
	}
	#nav li#nav-home {
		display:none;
  }
}



/* =============================================================================
   NAV MOBILE
   ========================================================================== */
@media screen and (max-width: 700px) {
		
	#header, #header.sticky {		
		position:fixed;
		top:0px;	
		height:auto;
		background:#fff;
	}	
	/* Overlay style */
	#header-content.overlay {
		display:none;
		position: fixed;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		z-index:5;
		background: rgba(25,50,105,0.85);
	}
	/* Overlay boutons */
	#overlay-open {
		display:block;
	}
	#overlay-close {
		display:none;
	}
	/* Effects */
	#header-content.overlay-scale {
		visibility: hidden;
		opacity: 0;
		transform: scale(0.9);
		transition: transform 0.2s, opacity 0.2s, visibility 0s 0.2s;
	}
	#header-content.overlay-scale.open {
		visibility: visible;
		opacity: 1;
		transform: scale(1);	
		transition: transform 0.4s, opacity 0.4s;
	}
	#header-content.overlay-scale.open #overlay-close {
		display:block;
	}	
	#nav-logo {		
		display:none;
	}
	/* Nav */
	#nav {
		width:100%;
		height:100%;
		padding-top:0;
		padding-left:0;
		background:none;		
		text-align:center;
		transform-style: preserve-3d;
  }
	#nav ul {
		width:100%;
		list-style: none;
		padding: 0;
		margin: 0 auto;
		position: relative;
		top: 50%;
		transform: translateY(-50%);
	}
	#nav li {
    display: inline-block;
		float:left;		
		text-align:center;
		width:100%;
		height:40px;		
  }	
	#nav li a {
		font-size:18px;
		letter-spacing:0.8px;
  }
	#nav li.current a {
		color: #ffbf24;
	}	
	#nav li#nav-social {		
		float:none;		
	}
	
}

