@charset "utf-8";
/* CSS Document */

.clear1{ clear:both;}


#wrapper {
	width: 970px;
	margin-right: auto;
	margin-left: auto;
}

/*---header---*/


#header {
	height: 105px;
	margin-top:0px;
}

#menu_link {
	height: 22px;
	width: 22px;
}

#tools {
	width: 100%;
	background-color: #D6D6D6;
	height: 22px;
	position: fixed;
	margin: 0px;
	padding: 0px;
	z-index: 1000;
}

#tools-pkg {
	width: 970px;
	font-size: 12px;
	position: relative;
	margin-right: auto;
	margin-left: auto;
	padding-top: 5px;
	padding-bottom: 5px;
}

#tools-pkg  ul {
	list-style-type: none;
}

#tools-pkg  li {
	float: left;
	margin-right: 10px;
	display: block;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #888F87;
	padding-right: 5px;
}

#title {
	text-align: center;
	clear: none;

}

/*---menu---*/


#menu {
	width: 970px;
	margin-right: auto;
	margin-left: auto;
	z-index: 100;
	margin-top: 0px;
}

#menu ul {
  background: #D6D6D6;
  white-space: nowrap; /* 避免文字換行 */
z-index: 100;
}
#menu ul li {
  position: relative; /* 使子選單依照母選單的座標顯示 */
	z-index: 100;  
}
#menu ul li strong{
	color: #990000;	
}
/* 設定母選單的連結樣式 */
#menu li a {
	font-size: 13px;
	text-decoration: none;
	color: #777;
	padding: 5px 15px;
	display: block;
	background-image: url(../images/menu-detail.png);
	background-repeat: no-repeat;
	background-position: right bottom;
	z-index: 100;	
}
/* 當母選單下沒有子選單時，也就是說只有一個連結時，隱藏detail.png */
#menu ul li a:only-child {
  background: none;
	z-index: 100;  
}
#menu ul li:hover {
	background-color: #fff;
	background-image: url(../images/menu-bg.png);
	background-repeat: repeat-x;
	background-position: bottom;
	z-index: 100;	
}
#menu ul li:hover > a {
	z-index: 100;
}
#menu ul li:hover > ul {
  display: block; /* 滑鼠滑入母選單後，顯示子選單 */
	z-index: 100;  
}
#menu nav > ul > li {
  display: inline-block; /* 使一級選單排成一橫列 */
  	z-index: 100;
}
/* 二級選單顯示於一級選單的正下方 */
#menu ul ul {
  position: absolute;
  top: 100%;
  list-style: none;
  background: #fff;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  display: none;
 	z-index: 100;
}
/* 三級選單則顯示於二級選單的右方 */
#menu ul ul ul {
  position: absolute;
  left: 100%;
  top: 0;
  	z-index: 100;
}

.nav_red {	color: #990000;	}


/*---container---*/

#container {
	margin-top: 7px;
	margin-right: 0px;
	margin-bottom: 7px;
	margin-left: 0px;
	position: relative;
}


#banner {

	background-color: #E3E3DF;
	padding: 10px;
}

#banner-primary {
	background-color: #FFFFFF;	
	width: 770px;
	height: 450;
}

#banner-secondary {



	right: 10px;
	height: 60px;
}

#banner-secondary ul{
	list-style-type: none;
}

#banner-secondary li {
	float: left;
	margin-left: 15px;
}




/*---bottom---*/

#bottom {
	margin-top: 7px;
	position: relative;
	font-size: 12px;
	color: #888f87;
}

#bottom strong {
	font-weight: bolder;
	color: #585E57;
}

#bottom-primary {
	background-color: #E3E3DF;
	width: 970px;
	margin: 0px;
	height: 25px;
	padding-top: 10px;
}

#bottom-primary  ul {
	list-style-type: none;
	float: left;
	padding-left: 20px;
	display: block;
	width: 170px;
}

#bottom-primary li {
	text-align: center;

}

#bottom-primary ul li a {
	color: #888f87;
	text-align: center;
	text-decoration: none;

}


#bottom-secondary {
	background-color: #E3E3DF;
	width: 185px;
	position: absolute;
	top: 0px;
	right: 0px;
	height: 60px;
	padding-top: 10px;
}

#bottom-secondary ul {
	list-style-type: none;
	float: left;
	padding-left: 20px;
	display: block;
	width: 150px;

}

#copyright {
	font-size: 12px;
	text-align: center;
	margin-top: 10px;	
	color: #888f87;
}

.notice_red_left {
	font-size: 14px;
	color: #900;
	text-align: left;
	display: block;

}
