
#extradiv2 {
	position: relative; 
	width: 938px; margin: auto;
	display: block;
}
#extradiv {
	position: absolute; top:50px; left:-24px;
	widtH: 100%;
}
#xmas2 {
	position:absolute;
	top:0px; left:0px;
	Z-index:50;
	display:none;
}
#xmas1{
	display:block;
	position:absolute;
	top:0px; left:0px;
	Z-index:51;
}


#linklist3 #menu2 {
background:url(cssimg/menu2_bg_ul1.jpg) left bottom no-repeat;
}

#pageheader {
	background: url(cssimg/pageheader_bg1.jpg) top left no-repeat;
	width:938px;
	height:337px;
}
#pageheader2{}
#pageheader img {
	margin:17px 0 0 274px;
	display:inline;
}
#container {  	
    position : relative;
    width : 938px;
	margin : auto;
    background: url(cssimg/main_bg2.jpg) left top repeat-y;
}
/*底部背景*/
#main2 {	
	min-height : 575px;
	height:auto !important;
    height: 575px;
	background:url(cssimg/main_bg1.jpg) left bottom no-repeat;

}
#main2:after {
    content: "."; 
    display: block;
    height: 0; 
    clear: both; 
    visibility: hidden;
}


/*中間背景*/
#main1{
	position:relative; 
	margin:0;
}

/*上方背景*/
#main {	
	padding:5px 180px 0 12px;
	margin:0;
	background:url(cssimg/main_bg2.jpg) left top no-repeat;
}

/*--------- 底 ---------- */
#footer{ 
	clear : both;
	margin-right : 0px;
	position : relative;
	background:url(cssimg/footer_bg4.jpg) left top repeat-y;
	font-size:10px;
	line-height:1.7em;
	color:#676766;
}
html>body #footer {font-size:11px;}
*+html>body #footer {font-size:10px;}
#footer2{
	background:url(cssimg/footer_bg4.jpg) left top repeat-y;
}
#footer3{
	min-height : 120px;
	height:auto !important;
    height:120px;
	background:url(cssimg/footer_bg3.jpg) left bottom no-repeat;
}		
#footer_address {
	left :250px;}
#counter {
	 top:90px;
	 left:400px;
}
#footer_ruling {
	position : absolute;
	left : 50px;
	top : 20px;	
	display:none;
}
#footer_ruling1{
	position : absolute;
	left : 200px;
	top : 20px;	
	display:block;
}

#menu_search{
	display:block;
}

#menu_search{
	position :absolute;
	top : 327px;
	left :12px;
	padding:35px 0 0 20px;
    width:239px;
	height:90px;
	margin:10px 0 0 0;
	background:url(cssimg/google_bg1.jpg) center top no-repeat;
	font-size:1em;
}
#menu_search form{
width:230px;margin:0 0 0 7px;padding:0;
}
html>body #menu_search form {margin:0 0 0 11px;}       
*+html>body #menu_search form {margin:0 0 0 7px;}
#menu_search #sa{
	margin:5px -10px 10px 0;padding:0;
	background:url(cssimg/search_buttom.jpg) left top no-repeat;
	font-family:arial;
	font-size:1px;
	color:#e9e9e9;
	text-align:left;
	vertical-align: top;
	height:20px;
	width: 84px;border:0;}
	
html>body #menu_search input {margin:5px -5px 10px 0;}   
*+html>body #menu_search input {margin:5px -10px 10px 0;}
#menu_search input#q{
	margin:5px 0px 0 0px;padding:0;
	background:#fff;
	font-size:13px;
	color:#000;
	height:18px;
	width: 120px;border:1px solid #d8d8d7;}
html>body #menu_search input#q {margin:5px 0px 3px 0;} 
*+html>body #menu_search input#q {margin:5px 0px 0 0;}

#menu_search #sitesearch{
	background: none;width: 10px;margin:-2px 0 0 0;
	padding:0;border:none;
}
#menu_search label{
    color:#454545;
    background:none;font-size:1em;
}


/* 首頁 main.php 專用 */

/* 新聞區塊 */
#boxLeft{    clear : both;
    width : 259px;
	margin:100px 0 0 0;
    float:left;}
#boxRight {
    width : 480px;
    float:right;

}


#boxA{
	background:url(cssimg/boxA_bg1.jpg) left top repeat-y;
}
#boxA2{
	padding:5px 0 0 0;
	background:url(cssimg/boxA_bg.jpg) left top no-repeat;
}

#boxA3{
	padding:0 5px 5px 5px;
	min-height : 150px;
	height:auto !important;
    height:150px;
	background:url(cssimg/boxA_bg2.jpg) left bottom no-repeat;
}
#boxA3:after {
    content: "."; 
    display: block;
    height: 0; 
    clear: both; 
    visibility: hidden;
}

#boxA .pic{float:left;margin:-20px 5px 2px 2px;border:3px solid #bcc2c5;padding:0;}
#boxA h2{width :130px;margin:5px 0 0 105px;
	background:url(cssimg/boxB_h2.jpg) left 3px no-repeat;
	color:#435864;padding : 0.1em 0 0.3em 1em;
}
.note{float:right;clear:both;}

#boxB {
	background:#e5e4d4;
	margin:0 0 0 10px;
}

#boxB3{
	min-height : 300px;
	height:auto !important;
    height:300px;
}
#boxB3:after {
    content: "."; 
    display: block;
    height: 0; 
    clear: both; 
    visibility: hidden;
}
#boxB h2{
	background:url(cssimg/boxB_h2.jpg) 5px center no-repeat #a4a389;
	color:#353535;
	font-weight:bold;
	font-size:1em;
	letter-spacing:0.2em;
	border-bottom:3px solid #fff;
	padding : 0.8em 0 0.3em 1.8em;
	width:auto;
	margin:0 0 10px 0;	
}

#boxB{line-height:1.5em;}
#boxB ul{
	margin:-2px 15px 0 15px;padding:0 0 5px 0;text-align:top;}
html>body #boxB ul {margin:0 15px 0 15px;}        
*+html>body #boxB ul {margin:-2px 15px 0 15px;}
#boxB ul li{
	list-style:none;list-style-image:none;color:#454545;font-size:1em;padding:0 5px 10px 15px;}
#boxB li{background:url(cssimg/lic.gif) top left no-repeat;}
#boxB img{float:left;padding:0;margin:0;border:0px solid #ecf0f0;}
#boxB .note a img{padding:0;background:#none;border:0px;margin:0 15px 0 0;}
#boxB a{color:#454545;font-size:1em;}
#boxB a:hover{color:#435864;text-decoration:underline;}

#boxB .hot {
	background:url(cssimg/hot.gif) top left no-repeat;
	 padding: 0 0 0 30px;
	*padding: 0 0 0 15px;
}

#boxC h2{display:none;}
#boxC{background:url(cssimg/boxC_bg.jpg) left top no-repeat;margin:10px 0 0 5px;padding:0 0 0 75px;}

#boxC a img{width:70px;padding:2px;border:1px solid #82816d;margin:2px;}
#boxC .note a img{width:34px;border:0;}
/*
#boxD{
	position: absolute;
	right: 7px;
	top: 310px;
	*left: 770px;
	*top: 345px;
}*/