﻿.nav { height:40px;width:1000px; margin:0 auto;}
.menu { width:120px;}
.fms {}

.ddsmoothmenu{ font:  14px  "微软雅黑"; /*background of menu bar (default state)*/ width: 100%; }
.ddsmoothmenu ul{z-index:100;margin: 0;padding: 0;list-style-type: none;}

/*Top level list items*/
.ddsmoothmenu ul li{position: relative;display: inline;float: left;text-align:center;z-index:3;}
.ddsmoothmenu ul li a{ display: block; /*background of menu items (default state)*/ color: white; font-size:14px; font-family:"Microsoft YaHei"; color: #000; text-decoration: none; height:40px; line-height:40px;background:url(../images/dh_bg1.jpg) }
* html .ddsmoothmenu ul li a{ /*IE6 hack to get sub menu links to behave correctly*/display: inline-block;background:url(../images/dh_bg1.jpg) }
.ddsmoothmenu ul li a:link, .ddsmoothmenu ul li a:visited{color: #fff;}
.ddsmoothmenu ul li a.selected{background:url(../images/menu-hover.jpg) center;color:#fff!important;}
.ddsmoothmenu ul li a:hover{background:url(../images/menu-hover.jpg) center;color: #fff;}

.ddsmoothmenu ul li ul {  background:#014582;width: 120px; }
.ddsmoothmenu ul li ul li a {  background: #014582; color:#fff; font-family:宋体; font-size:12px; line-height:30px; height:30px;text-align:center;width: 120px; }
.ddsmoothmenu ul li ul li a:link {color:#fff;}
.ddsmoothmenu ul li ul li a:visited {color:#fff;}
.ddsmoothmenu ul li ul li a.selected{ /*CSS class that's dynamically added to the currently active menu items' LI A element*/
background:#0066CC ;color: #fff!important;}
.ddsmoothmenu ul li ul li a:hover{background:#ECB000;  /*background of menu items during onmouseover (hover state)*/
color: #FFf;}
	
/*1st sub level menu*/
.ddsmoothmenu ul li ul{position: absolute;margin-left:0px;display: none; /*collapse all sub menus to begin with*/visibility: hidden;padding-bottom:10px;padding-top:5px;z-index:999;}

/*Sub level menu list items (undo style from Top level List Items)*/
.ddsmoothmenu ul li ul li{ text-align:left;display: list-item;float: none; text-align:left; font-size:12px;}

/*All subsequent sub menu levels vertical offset after 1st level sub menu */
.ddsmoothmenu ul li ul li ul{ background:#d3d7da;top:0; margin-left:-10px; margin-top:-1px;border:#ffffff 1px solid; border-left:none;}
.ddsmoothmenu ul li ul li ul li { width:150px;}
.ddsmoothmenu ul li ul li ul li a { width:150px; height:25px; line-height:25px;}
.ddsmoothmenu ul li ul li ul li a:hover { }



/* Holly Hack for IE \*/
* html .ddsmoothmenu{height: 1%;} /*Holly Hack for IE7 and below*/

/* ######### CSS classes applied to down and right arrow images  ######### */

.downarrowclass{position: absolute;top: -1000px;right: 7px;}
.rightarrowclass{position: absolute;top: 8px;right: 15px;}

/* ######### CSS for shadow added to sub menus  ######### */

.ddshadow{ /*shadow for NON CSS3 capable browsers*/position: absolute;left: 0;top: 0;width: 0;height: 0;background:none;}
.toplevelshadow{ /*shadow opacity for NON CSS3 capable browsers. Doesn't work in IE*/opacity: 0.0;}
