/**
* Description：CSS for the main navigation
* Author：Gavin
* E-mail: shengzhizhang@gmail.com
* Created On：2008-10-27
* Last modification On：2010-3-8 
**/

/* mainNav */
#mainNav {
height:38px; /****一级栏目高度****/
text-align:center;
margin: 6px 0 10px 0;
}
.ddsmoothmenu {
font: normal 14px Verdana;
width: 100%;
}
.ddsmoothmenu ul {
z-index:100;
margin: 0;
padding: 0;
list-style-type: none;
}
/*顶级菜单项*/
.ddsmoothmenu ul li {
position: relative;
display: inline;
float: left;
}
.ddsmoothmenu ul li a {
display: block;
padding: 0 9px;/****一级栏目间距****/
line-height:38px;/****改为跟一级栏目高度同样的数值****/
background:url(/templates/utf-8/no1/images/bg_main_nav_div.gif) no-repeat 100% 0;/****一级栏目间隔线背景****/
text-decoration: none;
}
* html .ddsmoothmenu ul li a {
display: inline-block;
}
.ddsmoothmenu ul li a {
color: #fff;/****文字颜色****/
}
.ddsmoothmenu ul li a:hover, .ddsmoothmenu ul li a.active, .ddsmoothmenu ul li a.current {
color: #ff0;/****文字翻转颜色****/
}
/*子级菜单*/
.ddsmoothmenu ul li ul {
position: absolute;
left: 0;
display: none;
visibility: hidden;
}
.ddsmoothmenu ul li ul li {
display: list-item;
float: none;
}
.ddsmoothmenu ul li ul li ul {
top: 0;
}
.ddsmoothmenu ul li ul li a {
background: #538AFA;/****子级菜单背景****/
font: normal 12px Verdana;
padding:1px 16px;/****子级菜单内间距****/
width: 100px; /****子级菜单宽度****/
line-height:22px;/****子级菜单高度****/
margin: 0;
border: 1px solid #396DD8;/****子级菜单边框线****/
border-width:0 0 1px 1px;
/*filter: Alpha(opacity=80);   
-moz-opacity:.80;   
opacity:0.80;*/
}
.ddsmoothmenu ul li ul li a:hover, .ddsmoothmenu ul li ul li a.active {
background:#396DD8;/****子级菜单翻转背景****/
}