/* common styling */
/* set up the overall width of the menu div, the font and the margins */

.menu {
font-family: arial, sans-serif; 
margin:0; 
margin:20px 0 60px 0;
position:relative;
z-index:100;
width:900px; height:68px; background:url(../images/nav.jpg) ; margin:0 auto;
}
/* remove the bullets and set the margin and padding to zero for the unordered list */
.menu ul {
padding:11px 0 0 0px;
margin:0;
list-style-type: none;
}

/* float the list so that the items are in a line and their position relative so that the drop down list will appear in the right place underneath each list item */
.menu ul li {
float:left; 
position:relative;
margin-left:10px;
}

/* 导航菜单显示. */
.menu ul li a, .menu ul li a:visited {
display:block; 
text-align:center; 
text-decoration:none; 
width:113px; /*一个导航元素的宽度，参考引用图片的宽度*/
height:41px; 
color:#000; 
border:0px solid #fff;
border-width:0px 0px 0 0;
/*background:#c9c9a7; */
background:url(../images/menu_gray.gif);
line-height:40px; /*字，距上延的距离*/
font-size:12px;
font-weight:bold;
}

/* make the dropdown ul invisible */
.menu ul li ul {
display: none;
}

/*鼠标经过菜单时的效果*/
.menu ul li:hover a {
color:#fff; 
/*background:#b3ab79;*/
background:url(../images/menu_green.gif);
}
/* make the sub menu ul visible and position it beneath the main menu list item */
.menu ul li:hover ul {
display:block; 
position:absolute; 
top:30px; 
left:-10px; 
width:10px;
}
/* 子菜单 */
.menu ul li:hover ul li a {
display:block; 
width:170px; /*一个导航元素的宽度，参考引用图片的宽度*/
background:#f2f2f2; 
color:#444444;
line-height:20px; /*字，距上延的距离*/
height:26px; 
text-align:left;
padding:5px 0 0 10px;
border:1px solid #AEAEAE;border-top:0; 
}
/* style the background and forground colors of the links on hover */
.menu ul li:hover ul li a:hover {
background:#dddddd; 
color:#3b7b00;
}

