/* <nav> */

.nav {
	z-index: 10000;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	background: white;
	-webkit-box-shadow: 0 0 15px 1px rgba(0,0,2,.1);
	box-shadow: 0 0 15px 1px rgba(0,0,2,.1);
}
.logo_head + .menu,.parentaccount,.toppy {border-left: solid 1px rgb(240,240,245);}
.loupe,.parentaccount,.toppy {width: 80px;}

@media (max-width: 1024px) {	
	.nav {
		text-align: left;
		padding: 80px 0;
		height: 100%;
		overflow: auto;
		left: 0;
		background: rgb(0,0,2);
	}
	
	.nav div,
	.nav a {
		background: transparent !important;
		color: white !important;
	}
	
	.nav.closed {
		left: -100%;
	}
	
	.logo_head + .menu,
	.loupe,
	.parentaccount,
	.toppy {
		border: none;
	}	
	.nav .floatright {
		float: none;
	}	
}

/* TOP NAV */
.top_nav {
	min-height: 40px;
	background: #1E1E28 !important;	
	overflow: auto;
}

.top_nav a {
	color: white !important;
	border: 0 !important;
	line-height: 40px !important;
	font-size: .8em;
	margin: 0 .5em;
}

.top_nav a:hover,
.top_nav a:focus {
	color: rgb(245,0,75) !important;
}

.top_nav a.active {
	color: rgb(245,0,75) !important;
}

.top_nav a.active + a.active { /* main+west home */
	color: white !important;
}

.events {
	padding-left: .5em;
	float: left !important;
}
nav .events a:first-child:after {
    content: "|";
    margin: 0 0 0 15px;
	color: white !important;
}
.lang_top_nav {
	padding-right: .5em;
	float: right !important;
}
.displayer_block {
    margin-bottom: 60px;
    padding: 15px 0 55px;
}
.displayer_menu{
    position: fixed;
    left: 0;
    background: white;
    padding: 15px 0 10px;
    top: 120px;
    z-index: 10;
	margin: 0;
}
@keyframes become {  
	from { background: #bd8f33; }
	to   { background: #e2a936; }
}
@keyframes becomehover {  
	from { background: #e2a936; }
	to   { background: #e2a936; }
}
.top_nav a.become {
    background: #bd8f33;
    width: 100%;
    margin: 0 0px 0 0!important;
    padding:13px 45px 12px 46px;
    color: white!important;
    text-transform: uppercase;
	animation: become 1s infinite alternate;
}

.top_nav a.become:hover {
    background: #e2a936;
	animation: becomehover 1s infinite alternate;
}

@media (max-width: 1024px) {
	.nav .top_nav {
		background: #1E1E28 !important;	
	}
	.events .main:first-child:after {
		content: "";
		margin:0px;
	}
	.displayer_menu {
		position: relative;
		left: 0;
		background: white;
		padding: 15px 0 10px!important;
		top: 0;
		z-index: 10;
		margin-bottom: 60px;
	}
}

/* MAIN NAV */
.main_nav {
	height: 80px;
}
/* LOGO */
.logo_head div,.logo_head {
	background-size: auto 100%;
	background-position: 10px 0;
	background-repeat: no-repeat;
	height: 80px;
	width: 270px;
	text-indent: -9999px;
}
.logo_head div {
	background-image: url(../img/logo/nav_logo.png);
}
.logo_head div.logo,.logo_head.logo {
	background-image: url(../img/logo/nav_logo.png);
}
.logo_head div.logo_event,.logo_head.logo_event {
	background-image: url(../img/logo/nav_logo_event.png);
}
@media (max-width: 1100px) {
	.logo_head div,.home .logo_head{
		margin-right: 8px;
		overflow: hidden;
	}
}

@media (max-width: 1024px) {
	.logo_head div,.home .logo_head {
		text-indent: 0;
		background: transparent;
		height: initial;
		width: 100%;
		margin: 0;
		padding: 0;
		font-size: 1.2em;
		padding: .3em 0 !important;
		margin-top: 1em !important;
		text-align: center;
	}
}

/* MENU BUTTON */

.btn.btn-navbar {
	display: none !important;
}
@media (max-width: 1024px) {
	.btn.btn-navbar,
	.btn.btn-navbar:hover {
		display: block !important;
		position: fixed;
		left: 0;
		top: 0;
		background: white;
		z-index: 100000;
		outline: none;
		width: 100%;
		height: 80px;
		-webkit-box-shadow: 0 0 15px 1px rgba(0,0,2,.1);
		box-shadow: 0 0 15px 1px rgba(0,0,2,.1);
	}
	.btn.btn-navbar:before {
		content: 'Menu';
		display: block;
		position: fixed;
		top: 0;
		right: 0;
		width: 80%;
		width: calc(100% - 80px);
		line-height: 80px;
		height: 80px;
		color: rgb(0,0,2);
		text-transform: uppercase;
		font-size: .8em;
		letter-spacing: .5em;
		transition: width .5s;

	}
	.btn.btn-navbar.collapsed:before {
		width: 80px;
		content: '×';
	}
	.btn.btn-navbar:after {
		content: '';
		display: block;
		position: fixed;
		left: 0;
		top: 0;
		z-index: 200000;
		width: 80px;
		height: 80px;
		background-image: url(../img/logo/nav_logo.png);
		background-size: auto 100%;
		background-position: 10px 0;
		background-repeat: no-repeat;
		box-sizing: border-box;
		border-right: solid 8px white;
		transition: width .5s;
	}	

	.btn.btn-navbar.collapsed:after {
		width: 100%;
	}
}

/* NAVIGATION MENU */

.menu a {
	font-weight: 300;
	font-size: 1.1rem;
}

.submenu {
	position: absolute;
	width: 240px;
	top: -800px;
	z-index: 0;
	opacity: 0;
	display: none;
	max-width: none;
}

.main:hover+.submenu,
.submenu:hover,
.main:focus+.submenu,
.submenu:focus {
	top: 80px;
	opacity: 1;
	display: block;
	z-index: 1;
}

.withsub>a {
	z-index: 1;
}

.withsub>a:after {
	content: "";
	display: inline-block;
	position: relative;
	width: 6px;
	height: 6px;
	border: solid 1px rgb(245,0,75);
	border-top: 0;
	border-right: 0;
	-webkit-transform: rotate(-45deg);	
	-moz-transform: rotate(-45deg);	
	-ms-transform: rotate(-45deg);	
	-o-transform: rotate(-45deg);	
	transform: rotate(-45deg);	
	bottom: .2em;
	margin-left: .5em;
	z-index: 0;
}

.withsub:hover>a,
.withsub>a:focus {
	color: white;
	background: rgb(0,0,2);
}

.withsub.active>a:before {
	content: "";
	border-bottom: solid 1px rgb(245,0,75);
	position: absolute;
	left: 25px;
	right: 25px;
	bottom: 25px;
}

.withsub#submit {
	color: white;
	background: rgb(245,0,75);
}

.withsub#submit a:hover,
.withsub#submit a:focus{
	color: white;
	background: rgb(0,0,2);
}

.withsub#submit>a:after {
	display: none;
}

.submenu a {
	background: white;
	max-width: none;
	line-height:30px !important;
}

.submenu a:hover,
.submenu a:focus ,.submenu a.active{
	color: rgb(245,0,75);
	padding-left: 30px !important;
}

#submit {
	width: 200px;
}
 
@media (max-width: 1100px) {
	.withsub > a {
		padding: 28px 20px!important;
	}
	.withsub.active>a:before {
		left: 20px;
		right: 20px;
	}
}
@media (max-width: 1024px) {
	.menu,
	.withsub {
		display: block;
		width: 100%;
		max-width: 100%;
		background: transparent;
		margin-bottom: 30px;
		color: initial !important;
	}
	.menu > a {
		display: block;
		width: 100%;
		height: initial !important;
	}
	.withsub > a {
		font-size: .8em;
		font-weight: 600;
		text-transform: uppercase;
		max-width: 100%;
		color: rgb(100,100,110) !important;
		padding: 0px 0!important;
		background: white!important;
	}
	.withsub:hover>a,
	.withsub.active>a {
		color: initial;
		background: initial;
	}
	.withsub>a:after {
		display: none;
	}
	.withsub>a:before {
		display: none;
	}
	.main:hover+.submenu,
	.submenu:hover {
		top: 0;
	}
	.submenu {
		position: relative;
		background: transparent;
		width: 100%;
		top: 0;
		z-index: 0;
		opacity: 1;
		display: inline;
		border: none;
	}	
	.submenu a,.submenu a.active {
		display: block;
		width: 100%;
		text-align: center;
		font-size: 1.4em;
		padding: .3em 0 !important;
		line-height: 50px !important;
		padding-left: 0px !important;
	}
	.submenu a:hover,
	.submenu a:focus {
		color: rgb(245,0,75) !important;
		padding-left: 0 !important;
	}
	.menu a {
	}    
	.right_menus .menu,.right_menus .involved {
		width: 100%;
		text-align: center;
		margin-top: 0!important;
		margin-bottom: 2px;
	}
	.right_menus a,.right_menus .involved {
		line-height: 80px!important;
		font-size: 1.4em;
		background: #f5004b!important;
	}
	.right_menus {
		width: 100%;
		margin-top: 30px;
	}
}

/* SEARCH BOX */

.loupe {
	background: no-repeat center center;
	background-image: url(../img/icons/imga_icons_1_2x_icon_search_25_b.png);
	background-size: 31.25%; /* 50px */
}

.loupe:hover {
	background-image: url(../img/icons/imga_icons_1_2x_icon_search_25_r.png);
	background-color: rgb(0,0,2);
}

.searchbox {
	display: none !important;
	opacity: 0;
	max-width: none;
}

.loupe:hover > .searchbox {
	display: block !important;
	position: absolute;
	background-color: rgb(0,0,2);
	width: 280px;
	height: 80px;
	padding: 15px;
	right: 0;
	opacity: 1;
}

.js-send-form-games {
	display: inline-block !important;
}

.searchbox .su-field {
	width: 100%;
	float: left;
	display: block;
}

.searchbox .form-success {
	display: none;
	width: 280px;
	left: 0px;
}

.searchbox .one_game {
	border-bottom: solid 1px rgb(240,240,245);
	padding: 15px;
	text-align: left;
	display: inline-block;
}

.searchbox .one_game:last-child {
	border-bottom: 0;
}

.searchbox img {
	margin-right: 15px;
	max-width: 30%;
	text-indent: -9999px;
	background: rgb(240,240,245);
}

.searchbox .one_game div {
	vertical-align: top;
}

.searchbox a:hover {
	background: rgb(240,240,245);
}

.searchbox a:hover div {
	color: rgb(0,0,2) !important;
}

@media (max-width: 1000px) {
/*	.loupe,
	.searchbox {
		display: none !important;
	}*/
}

/* ACCOUNT BOX */

.parentaccount {
}

.account {
	display: block;
	height: 80px;
	width: 100%;
	background: no-repeat center center;
	background-image: url(../img/icons/imga_icons_1_2x_icon_account_25_b.png);
	background-size: 31.25%; /* 50px */
	text-indent: -9999px;
}

.account:hover,
.account:focus {
	background-image: url(../img/icons/imga_icons_1_2x_icon_account_25_r.png);
}

@media (max-width: 1024px) {	
	.account {
		display: block !important;
		float: none;
		text-indent: 0;
	}	
}
/* LANGUAGE BOX */
/*
.toppy .submenu {
	right: 0;
}

.toppy a {
	background-color: white !important;
}

.toppy a:after {
	position: absolute;
	right: 10px;
	top: 35px;
}

.toppy .submenu,
.toppy .main:hover+.submenu,
.toppy .submenu:hover {
	right: 0 !important;
	left: initial;
}

@media (max-width: 800px) {
	
	.menu.toppy {
		padding-top: 40px;
	}
	.menu.toppy a,
	.menu.toppy .submenu {
		background: transparent !important;
		width: 40px !important;
		height: 40px !important;
		display: inline-block;
		padding: 0 !important;
	}
	.menu.toppy a:after {
		display: none;
	}
	.menu.toppy .submenu  {
		width: auto !important;
	}
	.menu.toppy span  {
		height: auto !important;
	}
	.menu.toppy a.main {
		background: white !important;
	}
	.menu.toppy a .inlineblock.ml10.h20 {
		display: none;
	}
}
*/
