/* 设置整个导航所在的层的样式 */
#menu{width:848px;height:60px; margin-top: 20px; overflow: hidden;}
#menu ul { width:848px; height:60px; position: relative; z-index: 2}
#menu ul li{ width:106px; height:60px;float:left;line-height:60px; position: relative;}
#menu ul li a{ font-size:18px;font-family:"微软雅黑"; color:#8ba17b; display:block; transition: 0.5s all}
#menu ul li span{ width: 0; height: 5px; background: #8ba17b; left:3px; bottom: 0; position: absolute; transition: 0.4s all }
#menu ul li:hover span{ width: 29px; }
#menu ul li.selected span{width: 29px;}
/*IE6 hack to get sub menu links to behave correctly*/
* html #menu ul li a{display: block;}
/* 设置每个菜单项中 a 标签经过的样式 */
#menu ul li ul{
	display: none;
	width:140px;
	height:auto;
	visibility: hidden;
	position:absolute;
    background:#026ecf;
	top:10px;
}
#menu ul li ul li{
	width:140px;
	height:40px;
	line-height:40px;
	border:0;
	text-align:center;
	font-family:"微软雅黑";
	margin-bottom: 1px;
	float:left;
}
/* 设置子菜单中每个菜单项中 a 标签平常的样式 */
#menu ul li ul li a{
	 /* 子菜单的宽度 */
	height:40px;
	line-height:40px;
	color:#fff !important;
	font-size:16px;	
}
#menu ul li ul li.selected a{ color: #ffff00 !important;}

/* 设置子菜单中每个菜单项中 a 标签鼠标经过的样式 */
#menu ul li ul li a:hover{
	height:40px;
	font-weight: normal;
}
/* Holly Hack for IE \*/
* html #menu{height: 1%;}
/* 控制首行导航右侧三角的位置 */
.downarrowclass{
	position: absolute;
	top: 103px;    
	left: 41px;
}
/* 控制子导航右侧三角的位置 */
.rightarrowclass{
	position: absolute;
	top: 95px;     
	right: 7px;
}
/* 阴影样式,如果在 js 中开启了阴影，则需设置 */
.ddshadow{
	position: absolute;
	left: 0;
	top: 0;
	width: 0;
	height: 0;
	background: silver;
}
/* 透明度的设置 */
.toplevelshadow{
	filter:alpha(opacity=80);
	-moz-opacity:0.8;
	opacity: 0.8;
}