/*** ESSENTIAL STYLES ***/
/* 行動版面: 480px 以下。 */



header nav {
	padding-top:10px;
	text-align: center;
	margin-left: 0em;
	

}

#logo{

	display: none;

}

header nav ul {
	padding: 1em;
	list-style-type: none;
	margin: 0px;
}
header nav ul li {
	clear:both;
	float:none;
	display: inline;
	margin-left: 1em;
	font-family: Arial, "新細明體";
	font-size: 95%;
	letter-spacing: 2px;
}

header nav ul li a {
	color: #66665b;
	text-decoration: none;
	
}
header nav ul li:first-child {
	margin-left: 0;
}
header nav ul li ul {

	display: none;
}

@media only screen and (min-width: 681px) {


header nav {
	padding-top:1.5em;
	text-align: center;
	margin-left: 0em;


}

#logo{
 display: none;

}
header nav ul {
	padding: 1em;
	list-style-type: none;
	margin: 0px;
}
header nav ul li {
	clear:both;
	float:none;
	display: inline;
	margin-left: 1em;
	font-family: "微軟正黑體", Arial, "新細明體";
	font-size: 95%;
	letter-spacing: 2px;
}
header nav ul li:first-child {
	margin-left: 0;
}
header nav ul li ul {

	display: none;
}
/*header nav {
	text-align: center;
}

header nav ul li {
	clear: both;
	float: none;
	display: inline;
	margin-left: 1em;
}*/

.sf-menu, .sf-menu * {
	margin: 0;
	padding: 0;
	list-style: none;
}
.sf-menu li {
	position: relative;
}
.sf-menu ul {
	position: absolute;
	display: none;
	top: 100%;
	/*left: 0;*/
	z-index: 99;
}
.sf-menu > li {
	float: none;
}
.sf-menu li:hover > ul,
.sf-menu li.sfHover > ul {
	display: block;
}
.sf-menu li ul li  a{
	display: block;
	position: relative;
}
.sf-menu ul ul {
	top: 0;
	left: 100%;
}

/*** DEMO SKIN ***/
.sf-menu {
	/*float: left;*/
	margin-bottom: 1em;
}
.sf-menu ul {
	box-shadow: 2px 2px 6px rgba(0,0,0,.2);
	min-width: 12em; /* allow long menu items to determine submenu width */
	*width: 12em; /* no auto sub width for IE7, see white-space comment below */
	*margin-top: 0.8em;

}
.sf-menu a{
	padding: .75em 1em;
	text-decoration: none;
	zoom: 1; /* IE7 */
}
.sf-menu li ul li {
	background-color: #000;
}

.sf-menu li ul li a{
	text-decoration: none;
	color:#FFF;
	zoom: 1; /* IE7 */
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: rgba(255,255,255,.5);
	line-height: 300%;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 85%;
	display: block;
	text-indent: 10px;
	padding: 0px;
}


.sf-menu a {
}
.sf-menu li {
	white-space: nowrap; /* no need for Supersubs plugin */



	*white-space: normal;
}
/*.sf-menu ul li {
	background: #AABDE6;
}*/
.sf-menu ul ul li {

}
.sf-menu li:hover,
.sf-menu li.sfHover {
	/* only transition out, not in */
	-webkit-transition: none;
	transition: none;
}
}



/* 表格版面: 481px 到 799px。樣式繼承自: 行動版面。 */
/*目錄跑到上方*/

@media only screen and (min-width: 940px) {


header nav {
	padding-top:0.6em;
	text-align: center;
	margin-left: 0em;


}

#logo{
	max-width:190px;
	max-height:50px;
	/*float:left;*/
	display: inline;
	margin-top:-20px;
	margin-left:2em;
	margin-right:2em;
	*position:relative;
	*top:-20px;
	*float: none;
	*clear:both;


}
header nav ul {
	padding: 1em;
	list-style-type: none;
	margin: 0px;
}
header nav ul li {
	clear:both;
	float:none;
	display: inline;
	margin-left: 1em;
	font-family: "微軟正黑體", Arial, "新細明體";
	font-size: 95%;
	letter-spacing: 2px;
}
header nav ul li:first-child {
	margin-left: 0;
}
header nav ul li ul {

	display: none;
}
/*header nav {
	text-align: center;
}

header nav ul li {
	clear: both;
	float: none;
	display: inline;
	margin-left: 1em;
}*/

.sf-menu, .sf-menu * {
	margin: 0;
	padding: 0;
	list-style: none;
}
.sf-menu li {
	position: relative;
}
.sf-menu ul {
	position: absolute;
	display: none;
	top: 100%;
	/*left: 0;*/
	z-index: 99;
}
.sf-menu > li {
	float: none;
}
.sf-menu li:hover > ul,
.sf-menu li.sfHover > ul {
	display: block;
}
.sf-menu li ul li  a{
	display: block;
	position: relative;
}
.sf-menu ul ul {
	top: 0;
	left: 100%;
}

/*** DEMO SKIN ***/
.sf-menu {
	/*float: left;*/
	margin-bottom: 1em;
}
.sf-menu ul {
	box-shadow: 2px 2px 6px rgba(0,0,0,.2);
	min-width: 12em; /* allow long menu items to determine submenu width */
	*width: 12em; /* no auto sub width for IE7, see white-space comment below */
	*margin-top: 0.8em;

}
.sf-menu a{
	padding: .75em 1em;
	text-decoration: none;
	zoom: 1; /* IE7 */
}
.sf-menu li ul li {
	background-color: #000;
}

.sf-menu li ul li a{
	text-decoration: none;
	color:#FFF;
	zoom: 1; /* IE7 */
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: rgba(255,255,255,.5);
	line-height: 300%;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 85%;
	display: block;
	text-indent: 10px;
	padding: 0px;
}


.sf-menu a {
}
.sf-menu li {
	white-space: nowrap; /* no need for Supersubs plugin */



	*white-space: normal;
}
/*.sf-menu ul li {
	background: #AABDE6;
}*/
.sf-menu ul ul li {

}
.sf-menu li:hover,
.sf-menu li.sfHover {
	/* only transition out, not in */
	-webkit-transition: none;
	transition: none;
}
}

