/*---head---*/
#header { height: 101px; }
	
	/*---logotype---*/
	#header h1, .headlinks, .headlinks ul li { display: inline; }
		#header h1 a { margin-top: 26px; float: left; width: 298px; padding-top: 47px; background: url("../images/logotype.png"); }
	
	/*---headlinks---*/
	.headlinks ul, .searchbar { float: right; margin-top: 37px; }
		.headlinks ul a { padding: 0 10px; height: 27px; color: #516168; font: 1.15em/26px sans-serif; float: left; }
			.headlinks ul a:hover { color: #fff; background-color: #96c; }
	
	/*---search---*/
	.searchbar { margin-left: 5px; width: 182px; height: 27px; background: url("../images/search.png") no-repeat; }
		.searchbar li { float: left; height: 27px; }
		.searchbar .lfield { width: 145px; padding-left: 10px; overflow: hidden; }
			.searchbar .lfield input { color: #708893; float: left; height: 15px; width: 145px; border: 0 none; background: #fff; margin-top: 6px; }
		
		.searchbar .lbtn input { width: 27px; height: 27px; background: url("../images/search.png") no-repeat 0 -27px; }
			.searchbar .lbtn input:hover { background-position: -27px -27px; }
	
/*---headimage---*/
.himage { height: 129px; background: url("http://cs-stat.ru/images/himage.png") no-repeat; }
	.himage .himage { background-position: 100% -129px; }
		.himage .himage .himage { background: #297cd3 url("http://cs-stat.ru/images/himage.jpg") no-repeat 100% 0; }
			.himage h2 { margin-top: 28px; float: left; font: 1.5em/22px sans-serif; color: #fff; }

/*---Menu---*/
#menubar { margin-bottom: 12px; }
.mbar { height: 52px; background: url("http://cs-stat.ru/images/mbar.png") no-repeat; }
	.mbar .mbar { background-position: 100% -52px; }
		.mbar .mbar .mbar { background-position: 0 -104px; background-repeat: repeat-x; }
	
		.menubar { height: 47px; background: #3f4b51 url("http://cs-stat.ru/images/mbar.jpg") no-repeat 100% 0; }
			.menubar ul { line-height: 26px; margin-top: 10px; text-transform: uppercase; }
			.menubar ul li, .menubar ul a, .menubar ul a b { height: 26px; float: left; }
			.menubar ul a { margin-right: 1px; color: #fff; background: url("http://cs-stat.ru/images/topmenu.png") no-repeat 0 -999px; }
				.menubar ul a b { cursor: pointer; padding: 0 10px; background: url("http://cs-stat.ru/images/topmenu.png") no-repeat 0 -999px; }

				.menubar ul a:hover { background-position: 0 0; }
					.menubar ul a:hover b { background-position: 100% -26px; }
				
				.menubar ul .sublnk a { background-position: 0 -104px; }
					.menubar ul .sublnk a b { padding-right: 25px; background-position: 100% -130px; }

				.menubar ul .sublnk a:hover, .menubar ul .sublnk.selected a { background-position: 0 -52px; }
					.menubar ul .sublnk a:hover b, .menubar ul .sublnk.selected a b { padding-right: 25px; background-position: 100% -78px; }

				/*---SubMenu---*/
				.menubar ul .sublnk { position: relative; }
				.menubar ul li ul { width: 200px; margin: 0; top: 26px; left: 0; position: absolute; z-index: 9999; display: none; }
				.menubar ul li ul li a, .menubar ul li ul li, .menubar ul li ul li a b { background: none; float: none; height: auto; display: block; line-height: normal; text-transform: none; }
				.menubar ul li ul li { padding: 0; }
				.menubar ul li ul li a { color: #fff; padding: 6px 0; width: 100%; border-bottom: 1px solid #3f4b51; background: #4d5c64;
					opacity:0.9; -moz-opacity:0.9; filter:alpha(opacity=90);
				}
				.menubar ul li ul li a:hover { background-color: #63767f; }
				

		.hrss { float: right; margin-top: 15px; padding-top: 18px; width: 18px; background: url("http://cs-stat.ru/images/rsshead.png") no-repeat; }
