.ddsmoothmenu{
}

.ddsmoothmenu ul{
	margin: 0;
	padding: 0;
	list-style-type: none;
}

/*Top level list items*/
.ddsmoothmenu ul li{
	position: relative;
	display: inline;
	float: left;
	background:url(../images/templatemo_menu_divider.png) center right no-repeat
}

/*Top level menu link items style */
.ddsmoothmenu ul li a {
	display: block;
	height: 40px;
	width: 140px; /*一级目录宽度这里调整*/
	line-height: 40px;
	font-size: 13px;
	color: #fff;	
	text-align: center;
	text-decoration: none;
	font-weight: 400;
	outline: none;
}

* html .ddsmoothmenu ul li a{ /*IE6 hack to get sub menu links to behave correctly*/
display: inline-block;
}
.ddsmoothmenu ul li.last { background: none }

.ddsmoothmenu ul li a.selected, .ddsmoothmenu ul li a:hover { /*CSS class that's dynamically added to the currently active menu items' LI A element*/
	background: #771201;
}

/*1st sub level menu，二、三级目录宽度这里调整，调整的算法是目录宽度= 目录在LINK STYLE的宽度属性值 + PADDING属性的第二个参数值（左右间距）X 2 ，比如二级目录宽度190=LINK STYLE的宽度174+8x2 */
.ddsmoothmenu ul li ul {
	position: absolute;
	width: 205px; /* 二三级目录宽度这里调整， 但要同时更改LINK STYLE中WIDTH和PADDING的第二个参数*/
	margin: 5px 0 0 0;
	display: none; /*collapse all sub menus to begin with*/
	visibility: hidden;
	background: #96200c;
	border: 5px solid #771201;
	border-left: 0;
	border-right: 0;
}

/*Sub level menu list items (undo style from Top level List Items)*/
.ddsmoothmenu ul li ul li{
display: list-item;
float: none;
}

/*All subsequent sub menu levels vertical offset after 1st level sub menu */
.ddsmoothmenu ul li ul li ul{
top: 0;
}

/* Sub level menu links style 二级目录链接字体这里调整*/
.ddsmoothmenu ul li ul li a{
	font-weight: 300;
	width: 189px; /*LINK STYLE的宽度值*/
	margin: 0;
	padding: 5px 8px; /* PADDING的第一个参数值表示上下距离，第二个值表示左右距离,比如左右间距8X2=16 */
	height: 18px;
	line-height: 18px;
	font-size: 11px;
	text-align: left;
	background: none;
	color: #e0dbda;
	border-bottom: 1px solid #881906;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

.ddsmoothmenu ul li ul li .last {
	border-bottom: none;
}

.ddsmoothmenu ul li ul li a.selected, .ddsmoothmenu ul li ul li a:hover {
	color: #fff;
	background: #881906;
}

/* Holly Hack for IE \*/
* html .ddsmoothmenu{height: 1%;} /*Holly Hack for IE7 and below*/