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

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;
}
h1,h2,h3,h4,h5,h6 {
    font-size:12px;
}	
/* 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: #fbfbf9 url(back_body.jpg) repeat-x left top;
	font-size: 13px;
	color: #7e7e7e;
	font-family: "微軟正黑體", "新細明體", Arial, Verdana, Helvetica, sans-serif;
	line-height: 20px;
}
a {
	color: #7e7e7e;
	text-decoration: none;
}
a:hover {
	color: #db000f;
}



/* ------------------------ 框架設定 ---------------------------*/

div#wrap {
	position: relative;
	width: 1003px;
	margin: 0 auto;
	padding:0;
}

/* ------------------------ header ---------------------------*/

div#header_box {
	background: url(back_header.jpg) no-repeat center top;		
	width: 100%;
	height: 182px;
	}

div#header {
	position: relative;
	height: 182px;
	z-index: 10; /*有下拉選單時一定要加,才能在最上方*/ 	
	}
div.header_logo h1 {
	background: url(logo_c.jpg) no-repeat left top;	
	width: 404px;
	height: 81px;
	position: absolute;
	left: 32px;
	top: 50px;
	z-index: 2;
	}
div.header_logo h1 a {
	display: block;
	width:404px;
	height: 81px;
	text-indent: -9999px;	
	}
div.header_info {
	display: block;
	position: absolute;
	right: 36px;
	top: 24px;
	z-index: 2;
	background-color: #db000f;
	border-radius: 10px;
	padding: 0px 0 0px 15px;
}
div.header_info a {
	background:url(info_icon.jpg) no-repeat left center;	
	padding: 0 15px 0 14px;
	color: #fff;
}
div.header_info a:hover {
	text-decoration: none;
}


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

ul#nav_main {
/*	background:url(nav_main_c.png) no-repeat;*/
	width: 541px;
	height: 81px;
	padding:0;	
	position: absolute;
	left: 436px;
	top: 50px;
 	z-index:20; /*有下拉選單時一定要加,才能在最上方*/   	
}
ul#nav_main li {
	position:relative;
	float:left;		
}
ul#nav_main li a {
	background:url(nav_main_c.png) no-repeat;
	display: block;
	height: 81px;
}
ul#nav_main li a span {
	display: none;
}
ul#nav_main li:nth-child(1) a {
    width: 91px;
	background-position: 0 0;
}
ul#nav_main li:nth-child(1) a:hover, ul#nav_main li.highlight:nth-child(1) a {	
	background-position: 0 -81px;
}
ul#nav_main li:nth-child(2) a {
    width: 91px;
	background-position: -91px 0;
}
ul#nav_main li:nth-child(2) a:hover, ul#nav_main li.highlight:nth-child(2) a {	
	background-position: -91px -81px;
}
ul#nav_main li:nth-child(3) a {
    width: 91px;
	background-position: -182px 0;
}
ul#nav_main li:nth-child(3) a:hover, ul#nav_main li.highlight:nth-child(3) a {	
	background-position: -182px -81px;
}
ul#nav_main li:nth-child(4) a {
    width: 90px;	
	background-position: -273px 0;
}
ul#nav_main li:nth-child(4) a:hover, ul#nav_main li.highlight:nth-child(4) a {	
	background-position: -273px -81px;
}
ul#nav_main li:nth-child(5) a {
    width: 91px;
	background-position: -363px 0;
}
ul#nav_main li:nth-child(5) a:hover, ul#nav_main li.highlight:nth-child(5) a {	
	background-position: -363px -81px;
}
ul#nav_main li:nth-child(6) a {
    width: 87px;
	background-position: -454px 0;
}
ul#nav_main li:nth-child(6) a:hover, ul#nav_main li.highlight:nth-child(5) a {	
	background-position: -454px -81px;
}


/* ----------------------- 內頁框架 ----------------------- */

#container_box {
	width: 100%;
	}
.container {
	background: url(back_container.png) no-repeat 1px bottom;	
	width: 971px;
	float: left;
	position: relative;
	margin: 0 auto;
	padding: 0 0 0 32px;
}
.container h4 {
	white-space: nowrap;
	text-indent: 100%;
	overflow: hidden;
	*text-indent: -9999px;
	height: 29px;
	margin: 0 0 20px 0;
}
/*聯泰消防*/
.about {
	background: url(about_bg.jpg) no-repeat left top;
	float: left;
	width: 437px;
	min-height: 169px;
}
.about p {
	margin: 0 0 0 150px;
}

/*最新消息*/
.news {
	background: url(news_bg.jpg) no-repeat left top;
	width: 468px;
	float: left;
	margin: 0 0 0 56px;
	min-height: 169px;
	position: relative;	
}

.news ul {
	padding: 0 0 0 134px;
}
.news ul li {
	background:url(news_icon.jpg) no-repeat 3px center;	
	border-bottom:1px dotted #e1e1e1;
	padding: 1px 100px 1px 10px;
	position: relative;
}
.news ul li span {
	position: absolute;
	right: 0;
	top: 0;
	z-index: 9;
	color: #000;
}
.news span.more {
	position: absolute;
	right: 0px;
	bottom: 30px;
	z-index: 10;
}
.news span.more a {
	background:url(news_more.png) no-repeat left center;	
	width: 25px;
	height: 5px;
	display: block;
	white-space: nowrap;
	text-indent: 100%;
	overflow: hidden;
	*text-indent: -9999px;
}


/*服務項目*/
.services {
	background: url(services_bg.jpg) no-repeat left top;
	float: left;
	width: 437px;
	min-height: 201px;
}
.services ul {
}
.services ul li {
	display: -moz-inline-stack;
	display: inline-block;
	*display: inline;
	zoom: 1;
	vertical-align: top;
	margin: 5px 0 5px 8px;
}
.services ul li p {
	background: url(services_icon.png) no-repeat left center;
	padding: 0 0 0 12px;
	margin: 0 0 0 10px;
}

/*flash*/	
.flash {
	text-align: right;
}
.flash img {
	vertical-align: bottom;
}
		


/* ------------------------ 網底 ------------------------- */

#footer_box {
	background: url(back_footer.jpg) no-repeat center top;		
	clear:both;
	width: 100%;
	height: 105px;
	}
#footer {
	width:1003px;
	height: 105px;
	position: relative;
	text-align:left;
	margin: 0 auto;
	
}
#footer address {
	font-size: 12px;
	padding: 30px 0 0 80px;
	font-style: normal;
	font-weight: normal;
    color: #d78e8e;		
}
#footer address span.tel {
	background: url(icon_tel.png) no-repeat left center;
	padding: 0 0 0 18px;
	margin: 0 0 0 30px;	
}
#footer address span.fax {
	background: url(icon_fax.png) no-repeat left center;
	padding: 0 0 0 18px;
	margin: 0 0 0 30px;	
}	
