@import url(https://fonts.googleapis.com/css?family=Roboto+Condensed:100,200,400,700&subset=latin,cyrillic);
@import url(https://fonts.googleapis.com/css?family=PT+Sans:100,200,400,700&subset=cyrillic);

.up-50	 { display: block; position: relative; top:-43px; }
.down-50 { display: block; position: relative; top: 50px; }

#menu-container {
	width:100%;
	margin:0px auto;
	height:48px;
	padding:0px;

	/* Background color and gradients 029feb a7d5ff 0082b9 00b5ff 03a1e3 0991cb 009cff */
	background: #009cff;
	background: -o-linear-gradient(top, #03a1e3, #009cff);
	background: -moz-linear-gradient(top, #03a1e3, #009cff);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#03a1e3), to(#009cff));
	
	/* Borders */
	border-top:    1px solid #d1eefc; /* d1eefc 0082b9 */
	border-bottom: 1px solid #d1eefc;
	-moz-box-shadow:	inset 0px 0px 3px #a7d5ff;
	-webkit-box-shadow:	inset 0px 0px 3px #a7d5ff;
	box-shadow:		inset 0px 0px 3px #a7d5ff;

	-moz-box-shadow:	0px 1px 11px #0d528f;	/* a7d5ff b0b8bf 526372 345068 1e598d 0d528f */
	-webkit-box-shadow:	0px 1px 11px #0d528f;
	box-shadow:		0px 1px 11px #0d528f;
}

#menu { font-family: 'Roboto Condensed', 'PT Sans', Arial, Helvetica, sans-serif;
	list-style:none;
	width:980px;
	margin:0px auto 0px auto;
	height:46px;
	padding:3px 20px 0px 20px;

	/* Background color and gradients 029feb a7d5ff 0082b9 00b5ff 03a1e3 0991cb 009cff */
	background: #009cff;
	background: -o-linear-gradient(top, #03a1e3, #009cff);
	background: -moz-linear-gradient(top, #03a1e3, #009cff);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#03a1e3), to(#009cff));
}

#menu li { 
	float:left;
	display:block;
	text-align:center;
	position:relative;
	padding: 4px 10px 4px 10px;
	margin-right:9px;
	margin-top:8px;
	border:none;
}

#menu li:hover { 
	border: 1px solid #777777;
	padding: 4px 10px 4px 10px;
	margin-right:7px;
	margin-top:6px;
	
	/* Background color and gradients */
	background: #DDDDDD;
	background: -o-linear-gradient(top, #DDDDDD, #F4F4F4);
	background: -moz-linear-gradient(top, #DDDDDD, #F4F4F4);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#DDDDDD), to(#F4F4F4));
	
	/* Rounded corners */
	-moz-border-radius: 5px 5px 0px 0px;
	-webkit-border-radius: 5px 5px 0px 0px;
	border-radius: 5px 5px 0px 0px;
}

#menu li a { 
	font-size:18px; 
	font-weight:bold;
	text-decoration:none;
	color: #ffffff; /* f4f4f4 */
	display:block;
	outline:0;
	text-shadow: 1px 1px 1px #000;
}

#menu li:hover a { 
	color:#161616;
	text-shadow: 1px 1px 1px #ffffff;
}
#menu li .drop { 
	padding-right:19px;
	background:url("img/drop.png") no-repeat right 8px;
}
#menu li:hover .drop { 
	background:url("img/drop.png") no-repeat right 6px;
}

.dropdown_1column, 
.dropdown_1column_160,
.dropdown_2columns, 
.dropdown_3columns, 
.dropdown_4columns,
.dropdown_5columns { 
	margin:4px auto;
	float:left;
	position:absolute;
	left:-999em; /* Hides the drop down */
	text-align:left;
	padding:10px 5px 10px 5px;
	border:1px solid #777777;
	border-top:none;
	
	/* Gradient background */
	background:#F4F4F4;
	/* 
	background: -moz-linear-gradient(top, #EEEEEE, #CCCCCC);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#EEEEEE), to(#CCCCCC));
	 */

	/* Rounded Corners */
	-moz-border-radius: 0px 5px 5px 5px;
	-webkit-border-radius: 0px 5px 5px 5px;
	border-radius: 0px 5px 5px 5px;
}

.dropdown_1column {width: 140px;}
.dropdown_1column_160 {width: 175px;}
.dropdown_2columns {width: 280px;}
.dropdown_3columns {width: 420px;}
.dropdown_4columns {width: 575px;}
.dropdown_5columns {width: 700px;}

#menu li:hover .dropdown_1column,
#menu li:hover .dropdown_2columns, 
#menu li:hover .dropdown_3columns,
#menu li:hover .dropdown_4columns,
#menu li:hover .dropdown_5columns { 
	left:-1px;
	top:auto;
}

#menu li:hover .dropdown_1column_160 {
	right:0px;
	top:auto;
}

.col_1, .col_1_80, .col_1_160,
.col_2, 
.col_3,
.col_4,
.col_5 { 
	display:inline;
	float: left;
/*	position: relative;
*/
	margin-left: 5px;
	margin-right: 5px;
		padding-right: 5px;
}
.col_1 {width:130px;}
.col_1_80 {width:80px;}
.col_1_160 {width:160px;}
.col_2 {width:270px;}
.col_3 {width:410px;}
.col_4 {width:565px;}
.col_5 {width:690px;}

#menu .menu_right { 
	float:right;
	margin-right:0px;
}
#menu li .align_right { 
	/* Rounded Corners */
	-moz-border-radius: 5px 0px 5px 5px;
    -webkit-border-radius: 5px 0px 5px 5px;
    border-radius: 5px 0px 5px 5px;
}

#menu li:hover .align_right { 
	left:auto;
	right:-1px;
	top:auto;
}

#menu p, #menu h2, #menu h3, #menu ul li { 
	font-family:Arial, Helvetica, sans-serif;
		line-height:18px;
	font-size:12px;
	text-align:left;
	text-shadow: 1px 1px 1px #FFFFFF;
}
#menu h2 { 
	font-size:15px;
		font-weight:bold;
	font-weight:700;
	letter-spacing:0px;
	margin:3px 0 5px 0;
	padding:0px 0px 5px 0px;
	margin-right:10px;
	border-left:none;
	border-bottom:1px solid #666666;
	color:#111111;
	background:none;
}
#menu h3 { 
	font-size:14px;
		margin:0px 0 10px 0;
	padding-bottom:5px;
	margin-right:10px;
	border-bottom:1px solid #888888;
}
#menu p { 
	line-height:18px;
	margin:0;
}

#menu li:hover div a { font-family: Arial, Helvetica, sans-serif;
	font-size:12px;
	color:#004e80;
	padding:6px 0 6px 0;
}
#menu li:hover div a:hover { 
	color:#019ef6;
	padding:6px 0 6px 0;
/*
	background:#FFFFFF;
*/
}





.img_left { /* Image sticks to the left */
	
	width:auto;
	float:left;
	margin:5px 15px 5px 5px;
}

#menu li .black_box { 
	background-color:#333333;
	color: #eeeeee;
	text-shadow: 1px 1px 1px #000;
	padding:4px 6px 4px 6px;

	/* Rounded Corners */
	-moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;

	/* Shadow */
	-webkit-box-shadow:inset 0 0 3px #000000;
	-moz-box-shadow:inset 0 0 3px #000000;
	box-shadow:inset 0 0 3px #000000;
}

#menu li ul { 
	list-style:none;
	padding:0;
	margin:0;
}

#menu li ul li { 
	font-size:12px;
	line-height:14px;
	position:relative;
	text-shadow: 1px 1px 1px #ffffff;
	padding:0;
	margin:0;
	float:none;
	text-align:left;
/*
	width:130px;
*/
}


#menu li ul li:hover { 
	background:none;
	border:none;
	padding:0;
	margin:0;
}

#menu li .greybox li { 
	background:#F4F4F4;
	border:1px solid #cccccc;
	margin:0px 0px 4px 0px;
	padding:4px 6px 4px 6px;
	width:116px;

	/* Rounded Corners */
	-moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
}
#menu li .greybox li:hover {
	background:#ffffff;
	border:1px solid #aaaaaa;
	padding:4px 6px 4px 6px;
	margin:0px 0px 4px 0px;
}



/* Responsive safety for the legacy horizontal menu. */
@media (max-width: 1000px) {
    #menu { width: 100%; max-width: 100%; box-sizing: border-box; padding-left: 8px; padding-right: 8px; overflow: hidden; }
    #menu li { padding-left: 6px; padding-right: 6px; margin-right: 3px; }
    #menu li a { font-size: 15px; }
}
@media (max-width: 720px) {
    #menu-container { height: auto; min-height: 48px; }
    #menu { height: auto; min-height: 46px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; }
    #menu li { float: none; display: block; margin-top: 4px; margin-bottom: 4px; }
    #menu li:hover { margin-top: 3px; margin-bottom: 3px; }
    #menu li a { font-size: 14px; }
}
