﻿/* mainNav */
#mainNav {
height:24px; /****一级栏目高度****/
background: url(mainNavBg.jpg) repeat-y 0 0;/****一级栏目背景****/
text-align:right;
padding:6px 0 6px 70px;
}
.ddsmoothmenu {
font: normal 12px Verdana;
}
.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;
width:111px;
margin-right:8px;
line-height:24px;/****改为跟一级栏目高度同样的数值*****/
background:url(mainNavItemBg.jpg) no-repeat 0 0;/****一级栏目间隔线背景****/
text-decoration: none;
}
* html .ddsmoothmenu ul li a {
display: inline-block;
}
.ddsmoothmenu ul li a{
color: #fff;/****文字颜色****/
}
.ddsmoothmenu ul li a:hover {
background-position:0 -24px;
}
/*子级菜单*/
.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 {
text-align:center;
background:#3D2316 url(subMenuBg.gif) no-repeat 0 100%;/****子级菜单背景****/
font: normal 12px Verdana;
padding:1px 10px 3px;/****子级菜单内间距****/
width: 91px; /****子级菜单宽度****/
line-height:22px;/****子级菜单高度****/
margin: 0;
color:#fff;
/*filter: Alpha(opacity=80);   
-moz-opacity:.80;   
opacity:0.80;*/
}
.ddsmoothmenu ul li ul li a:hover {
background:#351D11 url(subMenuBg.gif) no-repeat 0 100%;
color:#E2CD9E;
}
