/*** ESSENTIAL STYLES ***/
#menu-ara{
width:750px;
padding-left:80px;}

#menu-ara ul>li ul>li>a{
text-align:right;}

#menu-rus{
/**width:750px;**/}

#menu-eng{
width:950px;
padding-left:30px;}

nav{
width:950px;
margin:-5px auto;}

nav a:link, a:visited{
color:#000;
font-size:16px;
text-align:left;}

.node-body  a{
color:#800000;
text-align:left;}

.node-body  a:hover{
text-decoration:underline;}


nav a:link:hover, a:visited:hover{
color:#800000;}

.last{
border-right:none;}

nav  ul{
	padding: 0;
	list-style: none;
	height:20px;
}
nav>ul li {
	position: relative;
	font-family:"Times New Roman", Times, serif;
	font-size:14px;
	color:#000;
	padding:0 10px 0 10px;
}
nav>ul ul {
	position: absolute;
	display: none;
	top: 100%;
	left: 0;
	z-index: 99;
	margin:0;
	background:#f4eedc;
	height:auto;
}
nav>ul > li {
	float: left;
}

nav>ul li:hover > ul,
nav>ul li.sfHover > ul {
	display: block;
}

nav>ul ul a{
border-top: 1px dotted #b4b4b4;
}
nav>ul a {
	display: block;
	position: relative;
}
nav>ul ul ul {
	top: 0;
	left: 100%;
}


/*** DEMO SKIN ***/
nav>ul {
	float: left;
	margin-bottom: 1em;
}
nav>ul ul {
	box-shadow: 5px 5px 9px rgba(0,0,0,.2);
	min-width: 12em; /* allow long menu items to determine submenu width */
	*width: 12em; /* no auto sub width for IE7, see white-space comment below */
}
nav>ul a {
	
	border-top: 1px solid #dFeEFF; /* fallback colour must use full shorthand */
	border-top: none;
	margin-top: 0.75em;
	padding-right: 20px;
	margin-bottom: 0.75em;
	padding-left: 1em;
	border-right: 2px dotted lightgrey;
	text-decoration: none;
	zoom: 1; /* IE7 */
	color:#000;
}

nav>ul li {
	
	white-space: nowrap; /* no need for Supersubs plugin */
	*white-space: normal; /* ...unless you support IE7 (let it wrap) */
	-webkit-transition: background .2s;
	transition: background .2s;
}

nav>ul ul li a{
padding-top: 3px;
padding-right: 5px;
padding-bottom: 3px;
padding-left: 5px;
height:10px;
border-right:none;
margin-top:0;}

nav>ul ul ul li {
	
}
nav>ul li:hover,
nav>ul li.sfHover {
	
	/* only transition out, not in */
	-webkit-transition: none;
	transition: none;
}

/*** arrows (for all except IE7) **/
.sf-arrows .sf-with-ul {
	padding-right: 2.5em;
	*padding-right: 1em; /* no CSS arrows for IE7 (lack pseudo-elements) */
}
/* styling for both css and generated arrows */
.sf-arrows .sf-with-ul:after {
	content: '';
	position: absolute;
	top: 50%;
	right: 1em;
	margin-top: -3px;
	height: 0;
	width: 0;
	/* order of following 3 rules important for fallbacks to work */
	border: 5px solid transparent;
	border-top-color: #000; /* edit this to suit design (no rgba in IE8) */
	border-top-color: rgba(255,255,255,.5);
}
.sf-arrows > li > .sf-with-ul:focus:after,
.sf-arrows > li:hover > .sf-with-ul:after,
.sf-arrows > .sfHover > .sf-with-ul:after {
	border-top-color: white; /* IE8 fallback colour */
}
/* styling for right-facing arrows */
.sf-arrows ul .sf-with-ul:after {
	margin-top: -5px;
	margin-right: -3px;
	border-color: transparent;
	border-left-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */
	border-left-color: rgba(255,255,255,.5);
}
.sf-arrows ul li > .sf-with-ul:focus:after,
.sf-arrows ul li:hover > .sf-with-ul:after,
.sf-arrows ul .sfHover > .sf-with-ul:after {
	
}
