/**** Main Menu ***/
/* выпадающее меню */

#menu {
	display: block;
	float:right;
}

#menu ul {
	text-align: left;
	margin: 0;
	list-style: none;
}

#menu li {
	display: block;
	float: left;
	white-space: nowrap;
}

#menu li a {
	font-family: Times New Roman;
	margin:0;
	display: block;
	padding: 0 20 3 20px;
	color: #D7DEDE;
	text-decoration: none;
	font-size: 18px;
	background-image: url('/img/tm_divider.gif');
	background-repeat: no-repeat;
	background-position: right;
}

#menu li a:hover {
}

* html #menu a {width:1%;}

#menu li a:hover,
#menu li a.mactive {
	color: #fff;
}

#menu li a.current {
	text-decoration: none;
	color: #ddd;
	background: #000;
}

#menu ul {
	margin: 0;
	padding: 0;
	list-style:none;
}
#menu ul a:hover {
}
#menu ul li {
	padding-top:2;
	padding-bottom:0;
}
/* second level */
#menu li ul li {
	float: none;
	padding-top:0px;
	padding-bottom:0px
}
#menu li ul { 
	padding:0;
	border-top: solid 1px #fff;
}
#menu li ul li {
	width: 240px;
}
#menu ul li {
	position: relative;
	white-space:nowrap;
	z-index:99;
}
#menu li ul {
	position: absolute;
	top: 25px;
	display: none;
	z-index:100;
}
#menu ul ul a,
#menu ul ul a:link,
#menu ul ul a:visited {
	font-family: Times New Roman, Arial;
	padding: 5 5 5 32px; 
	color: #fff;
	font-size: 14px;
	text-decoration: none;
	background-image: url('/img/tm_arr.gif');
	background-repeat: no-repeat;
	background-position: left;
	background-color: #d33f44;
	filter: alpha(opacity=94);
	opacity: 0.94;  
	-moz-opacity: 0.94;
}

#menu ul ul a {
	/*width: 5px;*/
}

* html #menu ul ul a {width:100%;}

#menu ul ul a:hover, #menu ul ul a.current {
	display: block; 
	background-color: #A61F24;
	filter: alpha(opacity=100);
	opacity: 1;  
	-moz-opacity: 1;
}
.over a:hover {
	color:#777;
	text-decoration:underline;
}


/* Fix IE. Hide from IE Mac \*/ 
* #menu ul li { float: left; }
* #menu ul li a { height: 1%; }
/* End */

#menu li:hover ul,
#menu li.over ul { 
	display: block;
}