/* ---------------------------------------------------------------- 初始化 -----------------------------------------------*/

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td {
	margin:0;
	padding:0;
	}
fieldset,img {
   border:0;
}
ol,ul {
	list-style-type: none;
}
address,caption,cite,code,dfn,em,strong,th,var {
	font-style: normal;
	font-weight: normal;
}
/* Remove the link outline */
a {
  outline:none;	/* For FF */
  noFocusLine:expression(this.onFocus=this.blur()); /* For IE */
} 
:focus {
  -moz-outline-style: none;
} /* For Firefox */ 	


html body div.clear, html body span.clear
{
     background: none;
     border: 0;
     clear: both;
     display: block;
     float: none;
     font-size: 0;
     margin: 0;
     padding: 0;
     overflow: hidden;
     visibility: hidden;
     width: 0;
     height: 0;
}

/* ------------------------------------------------------------- 基本設定 -----------------------------------------------*/

body {
	background: #f6f6f6 url(back_index1.jpg) repeat-x center top;
	font-size: 12px;
    color: #1f1f1f;
	font-family: "新細明體", Arial, Verdana, Helvetica, sans-serif;
	line-height: 18px;
}
a {
    color: #1f1f1f;	
	text-decoration: none;
}
a:hover {
	color: #3e8bc0;
}


/* ---------------------------------------------------------- 內頁背景 --------------------------------------------------*/


div#wrap_box1 {	
	background: url(back_index2.png) no-repeat center top;	
	width: 1003px;
	margin: 0 auto;
}
div#wrap {		
	width: 1003px;
	height:450px;
	margin: 0 auto;
	position: relative;	
}

#logo {
	position: absolute;
	left:340px;
	top:100px;
 	z-index:10; 	
	}
	

/* ---------------------------------------------------------------- 主選單 -----------------------------------------------*/

ul#nav_main {
	background:url(index_nav.png) no-repeat;
	width: 384px;
	height:34px;
	padding: 0;
	position: absolute;
	left: 270px;
	top: 290px;
 	z-index:20; /*有下拉選單時一定要加,才能在最上方*/   
}

ul#nav_main li {
	position:relative;
	float:left;		
}
ul#nav_main li a {
	background:url(index_nav.png) no-repeat;
	display: block;
	height:34px;	
}
ul#nav_main li a span {
	display: none;
}
ul#nav_main li:nth-child(1) a {
    width: 106px;
	background-position: 0 0;
}
ul#nav_main li:nth-child(2) a {
    width: 106px;
	margin: 0 0 0 32px;
	background-position: -138px 0;
}
ul#nav_main li:nth-child(3) a {
    width:106px;	
	margin: 0 0 0 34px;	
	background-position: -278px 0;
}
ul#nav_main li:nth-child(1) a:hover {	
	background-position: 0 -34px;
}
ul#nav_main li:nth-child(2) a:hover {	
	background-position: -138px -34px;
}
ul#nav_main li:nth-child(3) a:hover {	
	background-position: -278px -34px;
}


