#nav {
	width: 71.5em; /* 1000 */
	font-family: 'MicroSoft Yahei', sans-serif;
	font-weight:400;
	top: 25%;
	
}
#nav > a {
	display: none;
	
}
#nav li {
	position: relative;
}
#nav li a {
	color: #fff;
	display: block;
}
#nav li a:active {
	background-color: #990000 !important;
}

/* first level */

#nav > ul {
	height: 3.25em; /* 60 */
	background-color: #990000;
}
#nav > ul > li {
	width: 10%;
	height: 100%;
	float: left;
}
#nav > ul > li > a {
	height: 100%;
	font-size: 1.1em; /* 24 */
	line-height: 3em; /* 60 (24) */
	text-align: center;
}
#nav > ul > li:not( :last-child ) > a {
	/* [disabled]border-right: 1px solid #FF8484; */
}
#nav > ul > li:hover > a,  #nav > ul:not( :hover ) > li.active > a {
	color: #990000;
	background-color: #FF8484;
	transition: color .4s ease-in-out;
	-moz-transition: color .4s ease-in-out;
	-webkit-transition: color .4s ease-in-out;
	-o-transition: color .4s ease-in-out;
}
/* second level */

#nav li ul {
	display: none;
	position: absolute;
	top: 100%;
	
}
#nav li:hover ul {
	display: block;
	left: 0;
	right: 0;
}
#nav li:not( :first-child ):hover ul {
	left: -1px;
}
#nav li ul a {
	background-color: #FFF;
	color: #666;
	font-size: 1em;
	border-width: 0px 1px 1px 1px ;
	border-style: solid;
	border-color: #CCC;
	padding-top: 0.5em;
	padding-right: 2em;
	padding-bottom: 0.5em;
	padding-left: 2em;
	box-shadow:2px 2px 2px 0 rgba(0, 0, 0, 0.2);
	width:100%;
 
}
#nav li ul li a:hover,  #nav li ul:not( :hover ) li.active a {
	color:#FFF;
	background-color: #990000;
    transition: color .4s ease-in-out;
	-moz-transition: color .4s ease-in-out;
	-webkit-transition: color .4s ease-in-out;
	-o-transition: color .4s ease-in-out;
}
.HOM{
	display:none;}
 @media only screen and ( max-width: 62.5em ) /* 1000 */ {
#nav {
	width: 100%;
	position: static;
	margin: 0;
	
}
#nav > ul > li:not( :last-child ) > a {
	border-right: 1px solid #CCC;
}
 @media only screen and ( max-width: 40em ) /* 640 */ {
html {
	font-size: 75%; /* 12 */
}
#nav {
	position: relative;
	top: auto;
	left: auto;
}
#nav > a {
	margin-top:2px;
	width: 3.1em;
	height: 3.1em;
	text-align: left;
	text-indent: -9999px;
	position: relative;
}
#nav > #re {
	    display:block;
	    background:#990000 url(../images/reply.svg) no-repeat;
	    float:left;
		margin-left:5px;}
		
#nav > #up,#nav > #do {
		background:#990000 url(../images/menu.svg) no-repeat;
	    float:right;}
		
#nav > #hom {
	    display:block;
	    background:#990000 url(../images/home.svg) no-repeat;
	    float:left;
		margin-left:5px;}
#nav #ho{
	display:none;}

#nav:not(:target)>#do,#nav:target>#up{
	display: block;
}

/* first level */

#nav > ul {
	margin-top:47px;
	height: auto;
	display: none;
	position: absolute;
	left: 0;
	right: 0;
}
#nav:target > ul {
	display: block;
}
#nav > ul > li {
	width: 100%;
}
#nav > ul > li > a {
	height: auto;
	text-align: left;
	padding: 0 0.833em; /* 20 (24) */
}
#nav > ul > li:not( :last-child ) > a {
	border-bottom: 1px solid #CCC;
}
/* second level */
#nav li:hover ul {
	display:none;
}