#menu_vert {
/* no margin/padding so it fills the whole div */
	margin: 0;
	padding: 0;
}
.clearb {
/* needed for some browsers */
	clear: both;
}
#menuwrapper {
	height: 1%;
	width: 938px;
	margin: 0;
	padding: 0;
}
#menuwrapper5 {
	height: 1%;
	width: 300px;
	margin: 0;
	padding: 0;
}
#lmenu #menuwrapper {
	height: 1%;
	width: 203px;
	margin: 0;
	padding: 0;
}
ul#primary-nav, ul#primary-nav ul {
/* remove any default bullets */
	list-style-type: none;
	margin: 0;
	padding: 0;
}
ul#primary-nav {
	margin-left: 4px;
        margin-right: 4px;
        margin-top: 1px;
        
}
ul#primary-nav5, ul#primary-nav5 ul {
/* remove any default bullets */
	list-style-type: none;
	margin: 0;
	padding: 0;
}
ul#primary-nav5 {
	margin-left: 4px;
        margin-right: 4px;
        margin-top: 1px;
        
}

#lmenu ul#primary-nav {
	padding-top: 0px;
	padding-left: 0px;
}



ul#primary-nav ul {
	position: absolute;
	top: auto;
	display: none;
	border-top: 1px solid #c2b5a6;
	border-right: 1px solid #c2b5a6;
	border-bottom: 1px solid #c2b5a6;
	border-left: 1px solid #c2b5a6;
}

ul#primary-nav ul ul {
/* now we move the next level ul down from the top a little for distinction */
	margin-top: 1px;
/* pull it in on the left, helps us not lose the hover effect when going to next level */
	margin-left: -1px;
/* keeps the left side of this ul on the right side of the one it came out of */
	left: 100%;
/* sets the top of it inline with the li it came out of */
	top: 0px;
}
ul#primary-nav li {
/* floating left will set menu items to line up left to right else they will stack top to bottom */
	float: left;
/* no margin/padding keeps them next to each other, the padding will be in the "a" */
	margin: 0px;
	padding: 0px;
}
ul#primary-nav5 li {
	float: left;
	margin: 0px;
	padding: 0px;
}
#primary-nav li li {
/* Set the width of the menu elements at second level. Leaving first level flexible. */
	width: 320px;
/* removes any left margin it may have picked up from the first li */
	margin-left: 0px;
/* keeps them tight to the one above, no missed hovers */
	margin-top: -1px;
/* removes the left float set in first li so these will stack from top down */
	float: none;
/* relative to the ul they are in */
	position: relative;
}
/* set the "a" link look here */
ul#primary-nav li a {
	font-size: 16px;
	font-weight: normal;
	color: #fff;
	padding: 13px 14px 0 15px;
	display: block;
        font-style: normal;
	text-decoration: none;
        width:auto;
height:47px;
text-shadow: 0 1px #b51500;
background:  url(/images/razdel.jpg) no-repeat left -1px;
}
ul#primary-nav li a:hover {
	background-color: transparent;
}


ul#primary-nav5 li a {
	font-size: 16px;
	font-weight: normal;
	color: #fff;
	padding: 13px 0px 0px 0px;
	display: block;
        font-style: normal;
	text-decoration: none;
        width:300px;
height:47px;
text-shadow: 0 1px #b51500;
}
ul#primary-nav5 li a:hover {
	
}



ul#primary-nav li li a {
font-size: 14px;
	font-weight: normal;
	color: #fff;
	font-style: normal;
	text-decoration: none;	
text-shadow: none;
width: 300px;
border-bottom: 1px dotted #c2b5a6;
background:  none;
}


#lmenu ul#primary-nav li a { font-style: normal;
 font-size: 1em;
 font-weight: normal;
 color: #000;
 padding: 7px 7px 7px 7px;
 display: block;
 text-decoration: none;
 line-height: 1.2em;
 width: 189px;
 border-top: 1px solid #dcd8bf;
	border-right: 1px solid #c2b5a6;
	border-bottom: 1px solid #c2b5a6;
	border-left: 1px solid #dcd8bf;

border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
height:auto;
text-shadow: none;
background:  none;

}
#lmenu ul#primary-nav li a:hover {
 background-color: transparent;
}







ul#primary-nav li li a:hover {
/* this is set to #000, black, below so hover will be white text */
	color: #FFF;
}
ul#primary-nav li a.menuactive {
	color: #fff;
	font-weight: normal;
	background:  url(/images/nav55.png) repeat-x left 0px;

}


#lmenu ul#primary-nav li a.menuactive {
	color: #000;
	font-weight: normal;
	background:  url(/images/nav11.png) repeat-x left 0px;
}




ul#primary-nav li a.menuactive:hover {
	color: #fff;
	font-weight: normal;
}
#primary-nav li li a.menuparent span {
	display: block;
	background:  url(/uploads/ngrey/parent.png) no-repeat 98% center;
}
/* gif for IE6, as it can't handle transparent png */
* html #primary-nav li li a.menuparent span {
/* set your image here, right arrow, 98% over from the left, 100% or 'right' puts it to far */
	background:  url(/uploads/ngrey/parent.gif) no-repeat 98% center;
}
ul#primary-nav li ul a {
/* insures alignment */
	text-align: left;
	margin: 0px;
/* keeps it relative to it's container */
	position: relative;
/* less padding than first level no need for large links here */
	padding: 6px 3px 6px 15px;
/* if first level is set to bold this will reset this level */
	font-weight: normal;
/* first level is #FFF/white, we need black to contrast with light background */
	color: #000;
	border-top: 0 none;
	border-right: 0 none;
	border-left: 0 none;
}
ul#primary-nav li ul {
/* very lite grey color, by now you should know what the rest mean */
	background: #F3F5F5;
	margin: 0px;
	padding: 0px;
	position: absolute;
	width: auto;
	height: auto;
	display: none;
	position: absolute;
	z-index: 999;
	border-top: 1px solid #FFFFFF;
	border-bottom: 1px solid #374B51;
/*Info: The opacity property is  CSS3, however, will be valid just in CSS 3.1) http://jigsaw.w3.org/css-validator2) More Options chose CSS3 3) is full validate;)*/
	opacity: 0.95;
/* CSS 3 */
}
ul#primary-nav li ul ul {
/*Info: The opacity property is  CSS3, however, will be valid just in CSS 3.1) http://jigsaw.w3.org/css-validator2) More Options chose CSS3 3) is full validate;)*/
	opacity: 95;
/* CSS 3 */
}
/* Styling the appearance of menu items on hover */
#primary-nav li:hover,
#primary-nav li.menuh,
#primary-nav li.menuparenth,
#primary-nav li.menuactiveh {
	background:  url(/images/nav55.png) repeat-x left top;
	color: #000
}
#primary-nav5 li {
	background:  url(/images/stil_444.png) no-repeat left top;
	color: #000
}
#primary-nav5 li:hover,
#primary-nav5 li.menuh,
#primary-nav5 li.menuparenth,
#primary-nav5 li.menuactiveh {
	background:  url(/images/nav55.png) repeat-x left top;
	color: #000
}
#lmenu 
#primary-nav li:hover,
#primary-nav li.menuh,
#primary-nav li.menuparenth,
#primary-nav li.menuactiveh {
	background:  url(/images/darknav2.png) repeat-x left center;
	color: #000
}
#lmenu #primary-nav li {
	background:  url(/images/nav2.png) repeat-x left center;
	color: #000
       
}














/* The magic - set to work for up to a 3 level menu, but can be increased unlimited, for fourth level add
#primary-nav li:hover ul ul ul,
#primary-nav li.menuparenth ul ul ul,
*/
#primary-nav ul,
#primary-nav li:hover ul,
#primary-nav li:hover ul ul,
#primary-nav li.menuparenth ul,
#primary-nav li.menuparenth ul ul {
	display: none;
}
/* for fourth level add
#primary-nav ul ul ul li:hover ul,
#primary-nav ul ul ul li.menuparenth ul,
*/
#primary-nav li:hover ul,
#primary-nav ul li:hover ul,
#primary-nav ul ul li:hover ul,
#primary-nav li.menuparenth ul,
#primary-nav ul li.menuparenth ul,
#primary-nav ul ul li.menuparenth ul {
	display: block;
}
/* IE6 Hacks */
#primary-nav li li {
	float: left;
	clear: both;
}
#primary-nav li li a {
	height: 1%;
}