/* phpbb.com Website Style Sheet
--------------------------------------------------------------
Copyright 2007 phpBB Group ( http://www.phpbb.com/ )
--------------------------------------------------------------
.awd.ru menu Style Sheet
Modified by Yuri Konotopov a.k.a. nE0sIghT ( admin@coldzone.ru )
*/

/* Search box
--------------------------------------------- */
#navbar #rightbox {
	display: block;
	float: right;
	width: 10px;
	height: 30px;
	margin: 0px;
	background: url("./images/bg_menu_right.gif") 0 0 no-repeat;
	position: static;
	padding: 0;
}

/* Navbar */
#navbar {
	height: 30px;
	clear: both;
	margin: 1px 0 5px 0;
	background: url("./images/bg_navbar.gif") repeat-x 0 0;
}

#navbar ul {
	list-style: none;
	display: block;
}

#navbar li {
	float: left;
}

/* Rollover state */
#navbar li {
	height: 30px;
	margin: 0;
	background-position: 0 -33px;
	display: block;
	position: relative;
	overflow: visible;
}

/* Rolloff state */
#navbar li a, #navbar li a:link {
	display: block;
	width: 100%;
	height: 31px;
	background-position: 0 -1px;
	position: relative;
	overflow: hidden;
}

/* Hide <a> text and hide off-state image when rolling over (prevents flicker in IE) */
/*#navbar li span a strong		{ display: none; }*/
/*#navbar li span a:hover	{ background-image: none; }*/
#navbar li span 			{ position: absolute; width: 100%; height: 100%; cursor: pointer; margin-top: -1px;}

/* @group Submenu */

.sub-menu {
	background: transparent url("./images/bg_submenu_full.png") no-repeat 0 0;
	position: absolute;
	z-index: 999;
	padding: 10px 18px 0 14px;
	top: 25px;
	width: 400px;
	left: -20px;	
	overflow: visible;
	display: none;

}

.sub-menu-bottom {
	background: transparent url("./images/bg_submenu_full.png") no-repeat 0 bottom;
	bottom:-20px;
	clear:both;
	height:20px;
	left:0;
	position:absolute;
	width:400px;
}

.sub-menu-extra {
	padding-bottom: 10px;
}

.sub-menu-extra .sub-menu-bottom {
	background: transparent url("./images/bg_submenu_full.png") no-repeat 0 bottom;
	height: 45px;
	clear: both;
	width: 350px;
	position: absolute;
	bottom: -45px;
	left: 0;
	margin-top: 0;
	padding: 0 25px;
	padding-bottom: 0px;
	text-align: right;
}

#navbar .sub-menu-bottom a {
	border-top: 1px dashed #b2b8bd;
	display: block;
	padding-top: 10px;
	font-weight: bold;

}

#navbar .sub-menu-bottom a:hover {
	color: #105289;

}

#navbar li .sub-menu a {
	background: none;
	display:block;
	height:auto;
	overflow:hidden;
	position: static;
	width: auto;
	color: #FFF;

}

#navbar .sub-menu a:hover {
	color: #FFF;
	text-decoration: none;

}

.sub-menu ul {
	width: 180px;
	float: left;
	margin-left: 4px;
}

#navbar .sub-menu li {
	display: block;
	float:  none;
	height: auto;
	padding: 6px;
	padding-bottom: 8px;		
	margin-bottom: 4px;
}

#navbar li .sub-menu p {
	margin: 0;
	font-size: 10px;
}

/* External link image by jQuery UI */
#navbar li .sub-menu li:hover h4 a, #navbar .hover_ie h4 a, #navbar .hover_ie h4 a:hover {
	font-size: 13px;
	color: #105289;
	
}

#navbar li .sub-menu .last {
	margin: 0;

}

#navbar .sub-menu li:hover, .hover_ie {
	background: #ccd1d4 no-repeat;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-box-shadow: 0 0px 2px rgba(0,0,0,0.3);
	-webkit-box-shadow: 0 0px 4px rgba(0,0,0,0.3);
	border:  1px solid #DDD;
	padding: 5px 5px 7px 5px;
}


#navbar .sub-menu li:hover a, #navbar .hover_ie p a, #navbar .hover_ie p a:hover {
	color: #333;
	text-shadow: none;
}

.on-top
{
	z-index: 10000;
}


#navbar .sub-menu li.external:hover {
	background-image: url(images/bg_submenu_external.gif);
	background-position: 165px 5px;

}

#navbar > ul > li
{
	text-align: center;
	padding: 0 10px;
}

#navbar > ul > li:hover
{
	background-color: #afb5ba;
}

#navbar > ul > li > a
{
	color: #ffffff;                     
	font-size: 13px;
	font-weight: bold;
	font-family: arial;
	text-align: center;
	line-height: 2.2;
}

#navbar > ul > li a:visited
{
	color: #fff !important;
}

#navbar > ul > li > a:hover
{
	text-decoration: none;
}

#navbar .sub-menu
{
	text-align: left;
}

/* Button images  */
#navbar li.bg-menu-left
{
	background-position: 0 0;
	background-repeat: no-repeat;
	background-image: url("./images/bg_menu_left.gif");
}

#navbar li.bg-menu-left:hover
{
	background-position: 0 -31px;
}

/* @end */
