/* =============================================================================
   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: relative;
	text-transform: uppercase;
	max-width:100%;
}

#nav ul {
	position: relative;
	z-index:2;
	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);
	transition: all 0.3s ease;
}
#nav li a {
	font-size:20px !important;

}
#nav li a span {
	font-family: 'cgtimes', Arial, "Helvetica CY", Helvetica, sans-serif;
	text-transform: capitalize;
	font-variant: small-caps;
	letter-spacing:0px;
}	



/* =============================================================================
   OVERLAY ELEMENTS
   ========================================================================== */
#overlay-header {	
	position: fixed;
	z-index:2;
	display:block;	
	width: 100%;
	height:73px; 
	top:20px;
	margin:auto;  
}	
#overlay-nav {
	position: relative;
	max-width:1260px;
	left:0px;		
	margin:auto;
	height:73px;		
	text-align:center;
	text-transform: uppercase;
	padding:1px 290px 0px 45px;
	background:#cc00;
}
#overlay-open {	
	position:absolute;
	cursor:pointer;
	left:3px;
	top:-20px;
	z-index:5;
	padding:5px 15px;
}
#overlay-open i {
	font-size:25px;
	line-height:32px;
	text-transform: uppercase;
	text-shadow: 1px 1px 2px black, 0 0 5px black, 0 0 5px black;
	/*background: rgba(0,0,0,.5);*/
	color:#e6e6e6;
}

#overlay-logo { 
	position: relative;
	display:none;
	margin:auto;
}
#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 SIDEBAR
   ========================================================================== */
#nav-sidebar {
	position: fixed;
	z-index:101;	
	top:90px;
	right:20px;
	width:auto;
	padding:10px 10px 0px 10px;
	background: rgba(0, 0, 0, 0.3);
	text-align:center;
	transition:all 0.8s ease;
}

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

#icon_facebook {
	color: #fff;
	font-size:22px;
	padding-top:4px;
	background: #4a78b5; 
	background: linear-gradient(to bottom,  #4a78b5 0%,#265b9e 100%); /* W3C */
}
#icon_twitter {
	color: #fff;
	font-size:22px;
	padding-top:3px;
	background-color: #49afcd;
	background-image: linear-gradient(top, #5bc0de, #2f96b4);
	background-repeat: repeat-x;
	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:21px;
	padding-top:3px;
	background-color: #bd362f;
	background-image: linear-gradient(top, #ee5f5b, #bd362f);
	background-repeat: repeat-x;
	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);	
}

#icon_twitch {
	color: #fff;
	font-size:20px;
	padding-top:5px;
	background: #8966ca;
	background: linear-gradient(to bottom,  #8966ca 0%,#623fa3 100%); /* W3C */
}
#icon_cart {
	color:#000;
	font-size:22px;
	padding-top:4px;	
	background: #ffeb44; 
	background: linear-gradient(to bottom,  #ffeb44 0%,#ffa20e 100%); /* W3C */
}

/* =============================================================================
   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; 
	background: linear-gradient(to bottom,  #4a78b5 0%,#265b9e 100%); 
}
#nav-twitter i {
	padding:8px 0px 0px 1px;
	color: #FFF;
	font-size:22px;	
	background-color: #49afcd;
	background-image: linear-gradient(top, #5bc0de, #2f96b4);
	background-repeat: repeat-x;
	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: linear-gradient(top, #ee5f5b, #bd362f);
	background-repeat: repeat-x;
	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);
}
#nav-twitch i {
	color: #fff;
	font-size:22px;
	padding:10px 0px 0px 1px;
	background: #8966ca; 
	background: linear-gradient(to bottom,  #8966ca 0%,#623fa3 100%); 
}

/* =============================================================================
   NAV LANGUES
   ========================================================================== */
#nav-lang { 
	position:absolute;
	top:0px;
	left:0px;
	width:45px;
	height:39px;
	cursor: pointer;	
	color: #fff;
	z-index:13;
	display:none;
}
#nav-lang-current { 
	position: relative;
	overflow:hidden;
	display:block;
	z-index:3;
	padding-top:1px;
	padding-left:7px;
}
#nav-lang-snav { 
	position: relative;
	overflow:hidden;
	display:block;
	z-index:1;
	width:40px;	
	height:0px;
	margin-top:8px;
	transition:all 0.3s ease;	
	padding-left:8px;
}
#nav-lang-snav.open { 
	height:105px;
}
#nav-lang-snav a { 
	position:relative;
	z-index:1;
	display:inline-block;
	float: left;	
	margin:0;
	padding:0; 
	margin-bottom:5px;	
}
.flag { 
	position:relative;
	display:inline-block;
	float: left;
	opacity:.9;
	width:30px; 
	height:25px;	
	border-radius: 2px 2px 2px 2px;
	background: url(../img/nav/flags.png) 0px 0px no-repeat;
	transition:none !important;
}
#nav .flag {
	box-shadow: 0px 0px 1px 2px rgba(0,0,0,.5) inset,
	0 -2px 1px 0 rgba(0,0,0,.5) inset;
}
.flag:hover {
	opacity:1;
}

.flag.fr { background-position: -40px 0px;}
.flag.en { background-position: -40px -30px;}
.flag.de { background-position: -40px -60px;}
.flag.es { background-position: -40px -90px;}

.flag.fr:hover, #nav-lang-current .flag.fr { background-position: 0px 0px;}
.flag.en:hover, #nav-lang-current .flag.en { background-position: 0px -30px;}      
.flag.de:hover, #nav-lang-current .flag.de { background-position: 0px -60px;}       
.flag.es:hover, #nav-lang-current .flag.es { background-position: 0px -90px;}     


/* =============================================================================
   NAV LANGUES MOBILE
   ========================================================================== */
#nav li#nav-lang-mobile {			
	position:relative;	
	width:auto;	
	margin:auto;
	display:none;
}
#nav li#nav-lang-mobile a {			
	position:relative;
	margin:10px;
}	
  

/* =============================================================================
   NAV SHOP BTN
   ========================================================================== */
#nav-shop-btn {
	position:absolute;
	/*cursor: pointer;*/
	z-index:5;
	top:-45px;
	right:0px;
	height:123px;
	display:none;
} 
#nav-shop-btn-txt {
	position: absolute;
	z-index:1;
	height:50px;
	top:30px;
	left:70px;	
	overflow:hidden;
}
#nav-shop-btn  #nav-shop-btn-txt img {
	margin-top:0px;
	/*transition:all 0.2s ease;*/
}
#nav-shop-btn-back {
	position: absolute;
	top: 0;
	left: 0;
	z-index:0;
	height:123px;
}
#nav-shop-btn:hover  #nav-shop-btn-txt img {
	/*margin-top:-50px;*/
}




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

@media screen and (min-width: 1101px) {	
	
	#header-content {
		display:block;
		height:73px; 
		background: url(../img/nav/nav_bg.png) no-repeat center center;
		margin-top:20px;
	}
	
	/* Overlay */	
	#overlay-open {
		display:none;
	}
	#overlay-close {
		display:none;
	}	
	#overlay-nav {
		top:20px;
	}
		
	/* Nav */
	#nav {
		top:12px;
		left:0px;
		max-width:1260px;
		margin:auto;
		height:38px;		
		text-align:center;		
		padding:1px 290px 0px 45px;
	}	
	#nav:after {
		content:'';
		width:100%;
		height:12px;
		background: url(../img/nav/nav_lowerband.png) no-repeat center center;
		position: absolute;
		left:-10px;
		right:15px;
		bottom:-24px;
	}
	#nav ul {	
		width:100%;
	}
	#nav .nav-inner {
		width:35%;
		float:left;
	}
	#nav .nav-inner.right {
		width:35%;
		float:left;
	}
	
	#nav ul:after {
		content:'';
		display:block;
		clear:both;
	}
	#nav li {
		display: inline-block;
		float:left;		
		text-align:center;
		height:39px;
		transition:all 0.2s ease;
		position: relative;
		background: url(../img/nav/test_bg/nav_btn_mid.png) repeat-x center center;
	}
	
	#nav li:before,
	#nav li:after {
		content:'';
		display:block;
		width:7px;
		height:41px;
		position: absolute;
		top:-1px;
		bottom:0;
	}

	#nav li:before {
		left:0px;
		background: url(../img/nav/test_bg/nav_btn_left.png) no-repeat center center;
	}

	#nav li:after {
		right:-1px;
		background: url(../img/nav/test_bg/nav_btn_right.png) no-repeat center center;
	}
	
	#nav li a {				
		font-size:12px;
		height:100%;
		line-height:38px;
		text-align:center;
		font-weight: normal;
		font-style: normal;
		letter-spacing:1px;	
		transition:all 0.2s ease;
		text-shadow: 1px 1px 2px black, 0 0 5px black, 0 0 5px black;
	}		

	#nav li a span {
		width: 100%;
	}
	
	/* HOVER & CURRENT */
	#nav li:hover a span,  
	#nav li.current a span {
		color: rgba(255, 255, 255, 0.8);
		color:#fff;
		text-shadow: -1px 1px 8px #6d89ce, 1px -1px 8px #436bcc;
	}
	
	/* BRACKETS */
	#nav li.nav-bracket a::before,
	#nav li.nav-bracket a::after {
		display: inline-block;
		opacity: 0;
		transition: transform 0.3s, opacity 0.2s;
		text-shadow: -1px 1px 8px #6d89ce, 1px -1px 8px #436bcc;
	}
	#nav li.nav-bracket a::before {
		margin-right: 5px;
		content: '[';
		transform: translateX(20px);
	}
	#nav li.nav-bracket a::after {
		margin-left: 5px;
		content: ']';
		transform: translateX(-20px);
	}
	#nav li.nav-bracket:hover a::before,
	#nav li.nav-bracket:hover a::after,
	#nav li.nav-bracket:focus a::before,
	#nav li.nav-bracket:focus a::after	{
		opacity: 1;
		transform: translateX(0px);
	}

	/* ARROW */
	#nav li.nav-bracket a .nav-arrow {	
		content: "";
		position: absolute;
		width:100%;	
		height:16px;
		left:0px;
		bottom:-2px;
		background: url(../img/nav/arrow.png) no-repeat center center;
		visibility: hidden;
		transform: scaleX(0);
		transition: all 0.3s ease-in-out 0s;
		text-shadow: -1px 1px 8px #6d89ce, 1px -1px 8px #436bcc;
	}
	#nav li.nav-bracket:hover a .nav-arrow, 
	#nav li.nav-bracket.current a .nav-arrow {
		visibility: visible;
		transform: scaleX(1);
	}	
				
		
	/* RUBRIQUES */
	
	#nav-lang {  
		display:block;
	}	
	#nav-lang-mobile {
		display:none;
	}
	
	#nav-shop-btn {
		width:289px;
		display:block;
  }
	#nav-shop-btn-back {
		width:289px;
		background: url(../img/nav/btn_shop.png) no-repeat center center;
	}
	#nav li#nav-shop {
		display:none;
	}
	
	#nav li#nav-social {
		display:none;
  }		
	
	#nav li#nav-home {
		display:none;
	}	
	#nav li#nav-news {
		width:13%;
	}
	#nav li#nav-game {
		width:15%; 
	}
	#nav li#nav-media {
		width:14%;
	}
	#nav li#nav-logo {	
		display:inline-block;
		width:38%;
	}
	#nav li#nav-logo img {		
		width:100%;
		margin-top:-30px;		
	}
	#nav li#nav-community {
		width:20%;
	}
	
}





/* =============================================================================
   MOBILE (avec burger menu sans bouton shop)
   ========================================================================== */
@media screen and (max-width: 1100px) {
			
	#nav-sidebar {
		display:none;
	}	
	
	#header {		
		position:fixed;
		top:0px;	
		height:auto;
	}		
	
	/* Overlay */
	#header-content.overlay {
		display:none;
		position: fixed;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		z-index:10;
		overflow:hidden;
	}		
	#overlay-header {		
		display:block;
		background: url(../img/nav/nav_bg.png) no-repeat center center;
	}	
	#overlay-nav {
		top:-20px;
	}
	#overlay-logo { 
		display: inline-block;	
		width:310px;	
	}
	#overlay-open {
		display:block;
		top:33px;
	}
	#overlay-close {
		display:none;
	}
	
	/* Effects */
	#header-content.overlay-scale {
		visibility: hidden;
		opacity: 0;
		transform: scale(0.9);
		transition: all 0.3s ease-in-out;
	}
	#header-content.overlay-scale.open {
		visibility: visible;
		opacity: 1;
		transform: scale(1);	
		transition: all 0.3s ease-in-out;
	}
	#header-content.overlay-scale.open #overlay-close {
		display:block;
	}	
	
	/* Nav */
	#nav {
		width:100%;
		height:100%;
		padding-top:0;
		padding-left:0;
		background:none;		
		text-align:center;
		transform-style: preserve-3d;		
		background:rgba(0,0,0,.8);
  }
	#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:50px;	
  }	
	#nav li a {
		font-size:30px !important;
		line-height:50px;
		letter-spacing:1px;
		text-shadow: 1px 1px 2px black, 0 0 5px black, 0 0 5px black;
  }
	#nav li.current {
		background:#eee;
	}
	#nav li.current a {
		color:#000;
		text-shadow: 0px 0px 0px black, 0 0 0px black, 0 0 0px black;
  }
	#nav li#nav-home {
		display:blok;
	}	
	#nav li#nav-social {		
		float:none;
		clear:both;
		margin-top:8px;
		max-width:200px;
	}
	#nav li#nav-logo {
		display:none;
	}
	
	#nav li#nav-shop {
		display:block;
	}
	#nav li#nav-lang-mobile {
		float:none;
		clear:both;
		display:block;
		max-width:200px;
	}
}

@media screen and (max-width: 670px) {
	#overlay-header {	
		top:12px;
		height:62px; 
	}	
	#overlay-nav {
		top:-40px;
	}
	#overlay-open {
		top:48px;
	}
	#overlay-logo { 	
		width:275px;
		margin-top:25px;
	}		
	#nav-shop-btn {
		display:block;
		width:70px;
		top:10px;
  }
	#nav-shop-btn-back {
		width:70px;
		background: url(../img/nav/pack.png) no-repeat center center;
	}	

}

@media screen and (max-width: 390px) {
	#overlay-logo { 	
		width:220px;
		margin-top:33px;
	}	
	#nav-shop-btn {
		right:10px;
  }	
}

/* =============================================================================
   TABLET (avec burger menu + bouton shop)
   ========================================================================== */	 
@media screen and (min-width: 671px) and (max-width: 1100px) {
	
	#nav-shop-btn {
		display:block;
		width:289px;
		top:-4px;
  }
	#nav-shop-btn-back {
		width:289px;
		background: url(../img/nav/btn_shop.png) no-repeat center center;
	}	
	#overlay-header {	
		text-align:left;
	}
	#overlay-logo { 
		margin:5px 0px 0px 50px;
	}
	
}

