/* top menu scripts */
.top_menu {
	position: relative;
	margin: 0 0 10px 0;
}
.top_menu div {
	background: #d6d6d6;
}
.top_menu > div > ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.top_menu > div > ul > li {
	display: inline-block;
	/*text-align: center;*/
	/*padding: 7px 30px;*/
	background: #d6d6d6;
	position: relative;
}
.top_menu > div > ul > li:hover {
	background: #000000;
	color: #ffffff;
	cursor: pointer;
}
.top_menu > div > ul > li > a {
	padding: 7px 30px;
	font-weight: bold;
	font-size: 13px;
	color: #000000;
	text-decoration: none;
}
.top_menu > div > ul > li:hover > a {
	color: #ffffff;
}
li#lang_link, li#sign_in_out_link {
	float: right;
}
li#home_link > a > img, li#lang_link > a > img{
	border: 0;
	height: 15px;
	vertical-align: middle;
}
li#lang_link ul.sub_menu {
	right: 0;
	left: auto;
}
ul.sub_menu {
	display: none;
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid #555555;
	position: absolute;
	z-index: 77777;
	top: 100%;
	left: 0;
}
ul.sub_menu li {
	white-space: nowrap;
	text-align: center;
	background: #d6d6d6;
}
ul.sub_menu li:hover {
	background: #000000;
	color: #ffffff;
}
ul.sub_menu li img {
	height: 10px;
}
ul.sub_menu li a {
	white-space: nowrap;
	font-weight: bold;
	font-size: 13px;
	padding: 7px 30px;
	color: #000000;
	text-decoration: none;
}
ul.sub_menu li a:hover {
	color: #ffffff;
}
/* END top menu scripts */

/* leaderboard */
div.leaderboard {
	width: 100%;
	margin: 0 5px;
}
div.leaderboard > div:nth-child(1) {
	float: left;
	/*text-align: center;*/
	margin-right: 5%;
	/*width: 20%;*/
}
div.leaderboard > div:nth-child(1) img {
	margin: 0;
}
div.leaderboard > div:nth-child(1) div a {
	font-size: 16px;
	font-weight: bold;
	color: #000000;
	white-space: nowrap;
}
div.leaderboard > div:nth-child(2) img {
	margin: 0 0 0 10px;
}
div.leaderboard > div:nth-child(2) a {
	display: inline-block;
}
@media screen and (max-width: 1070px) {
	div.leaderboard > div:nth-child(2) {
		display: none;
	}
}
/* END leaderboard */

/* top menu + leaderboard - smaller */
.small_top_menu {
	display: none;
	position: relative;
	margin: 0 0 10px 0;
}
ul.small_menu {
	list-style: none;
	margin: 0;
	padding: 0;
}
ul.small_menu > li {
	display: inline-block;
	position: relative;
}
ul.small_menu > li:nth-child(2) {
	float: right;
	position: relative;
}
.menu_button {
	background: #d6d6d6;
	font-size: 13px;
	font-weight: bold;
	border: 1px solid #000000;
	border-radius: 5px;
	padding: 5px;
	cursor: pointer;
}
.menu_button_hover {
	color: #ffffff;
	background: #000000;
	cursor: pointer;
}
.menu_button img {
	vertical-align: middle;
}
ul.small_menu ul.small_sub_menu {
	display: none;
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid #555555;
	position: absolute;
	z-index: 77777;
	top: 100%;
	right: 0;
}
ul.small_menu ul.small_sub_menu li {
	white-space: nowrap;
	text-align: center;
	background: #d6d6d6;
}
ul.small_menu ul.small_sub_menu li a {
	font-weight: bold;
	font-size: 13px;
	padding: 7px 30px;
	color: #000000;
	text-decoration: none;
}
ul.small_menu ul.small_sub_menu li:hover {
	background: #000000;
}
ul.small_menu ul.small_sub_menu li a:hover {
	color: #ffffff;
}
ul.small_menu ul.small_sub_menu li img {
	height: 10px;
}
div.small_leaderboard {
	width: 100%;
	margin: 0 5px;
}
div.small_leaderboard > a > div:nth-child(1) {
	float: left;
	text-align: center;
}
div.small_leaderboard > a > div:nth-child(1) img {
	margin: 0;
}
div.small_leaderboard > a > div:nth-child(1) div {
	font-size: 16px;
	font-weight: bold;
	color: #000000;
}
@media screen and (max-width: 1340px) {
	div.leaderboard > div:nth-child(1) {
		margin-right: auto;
		width: auto;
	}
	.top_menu > div > ul > li > a {
		padding: 7px 10px;
	}
}
@media screen and (max-width: 1025px) {
	.small_top_menu {
		display: initial;
	}
	.top_menu, div.leaderboard {
		display: none;
	}
}
/* END top menu + leaderboard - smaller */