/**
 * 网站主页及通用css样式
 *
 * @package     2008-zbb
 * @subpackage  tpl-hebgc
 * @copyright   Copyright 2008, 河北新奔腾软件有限公司，PHP技术组
 * @author      xlxman <xlxman@gmail.com>
 * @since       2008-04-10
 * @version     $Id$
 */

/*
	Global Style
*/
body {
/*	background-color:#F2F9FF;*/
	/* 
		因为css是放在了独立的文件当中，所以
		url()是从css文件所在位置起，开始算相对路径
		而不是引用css的文档的所在路径
	*/
	background-color: #FFF;
	background-image: url('../images/background.png');
	background-repeat: repeat-x;
	color: #000;
	font-size: 0.8em;
	text-align: center;
}


a:link, a:visited, a:hover, a:active { 
	background-color: transparent;
	color: #000;
}
a:visited {
	color: #551a8b;
}
a:hover { 
	color: #1A4BFF;
}

/*
	Header Style
*/

#header {
	line-height: 80%;	/* 上面的两张图片中间不留间隙 */
	text-align: center;
}
#header img {
	/* image of header in IE always has space, use margin to remove it */
	margin: 0px !important;
	margin: -1px;
}

#menu {
	background-color: #6189C7;
	/* ie can't use decimal value? so width can't fix to total_width */
	/*background: url(../../images/menu_bg_buttomline.png) repeat-x;*/
	display: block;
	font-size: 1.1em;
	font-weight: bold;
	list-style: none;
	margin: auto;
	/*
		height of menu bg image, because li is float, ul is 0 height
		but in IE ul has height, need not margin-bottom
	*/
	margin-bottom: 27px !important;
	margin-bottom: 0px;
	/* IE margin-left fix */
	margin-left: auto !important;
	margin-left: 0px;
	width: 777px;
}
#menu li {
	background: url(../images/menu_bg_buttomline.png) repeat-x;
	float: left;
	margin: auto;
	/*
		li padding left, to let menu bg image end with header bar:
		(total_width / num_items) - bg_image_width
		(777 / 6) - 98
		
		then minus 0.1 for compative in various os(maybe dpi)
		other values compute can ignore this 0.1
	*/
	padding: 0 0 0 31.4px;
	text-align: center;
	width: 98px;
}
#menu a {
	/*background: url(images/2.jpg) repeat-y left top;*/
	background: url(../images/menu_bg.png) right;
	display: block;
	font-size: 0.9em;
	height: 27px;
	line-height: 2.1em;
	/*
		make text seems center
		(((total_width / num_items) - (px_per_char * num_chars)) / 2) - li_padding_left
		(((777 / 6.00) - (12 * 4)) / 2.00) - 31.5
	*/
	padding: 0 0 0 9.25px;
	text-decoration: none;
	/*
		width of a need to minus padding-left
		but in IE need not
		98 - 9.25
	*/
	width: 88.75px !important;
	width: 98px;
}
#menu a:link, #menu a:visited, #menu a:active { 
	color:#666;
}
#menu a:hover { 
	/*color: #1A4BFF;*/
	color: #aa1e3b;
	/*background-color: #C6E0FB;*/
}	

/*
	Content Style
*/
#content {
	background-color: #FFF;
	display: table;
	margin: auto;
	text-align: center;
	width: 777px;
}

#content table {
	margin: auto;	/* 水平居中 */
	/*margin-top: 1em;*/
	width: 90%;
}
#fl-lt-div {
	margin-top: 1em;
}

#content th, #content td {
	border: 1px solid black;
	padding-left: 0.5em;
	padding-right: 0.5em;
}

/*
	Footer Style
*/
#footer {
	/*clear: both;*/
}

/*
	Old Style
*/
#news {
	margin:5px auto;
	float:right;
	width:215px;
	/*height:300px;*/
	background-color:#57ADDE;
}
#newsimage {
	margin:0px auto;
}

#news_content {
	margin:0 0 0 1px;
	background-color:#FFFFFF;
	width:213px;
}

/*#newsimage {
	margin:0px auto;
}
*/
#announce {
	margin:5px auto;
	background-color:#57ADDE;
	float:left;
	width:553px;
/*	background-color:#FFFFCC;*//*测试用*/
}
#ann_box {
	width:551px;
	margin:1px 1px 1px 1px;
	background-color:#FFFFFF;
	float:left;
}


#ann_content  {
	float:right;
	width:510px;
/*	background-color:#CCFF99;*/
}

#bzzt {
	background-color:#57ADDE;
	width:385px;
	float:left;
/*	background-color:#00FF33;*/
}

#title {
/*	float:left;
	width:30px; */
	margin:5px 0 0 30px;
	font-size:14px;
	font-weight:bold;
	color:#BF0D00;
/*	background-color:#FFFF00;*/
}

#center_content {

	width:383px;
	background-color:#FFFFFF;
	margin:0px 1px 1px 1px;
}

#sndh {
	background-color:#57ADDE;
	width:385px;
	float:right;
/*	background-color:#00CCFF;*/
}

/*#right_title {
	text-align:center;
	font-size:20px;
	font-weight:bold;
	color:#FC9D05;
}*/
#last {
	float:left;
	width:777px;
	background-color:#FFFFFF;
}

#one_connect {
	width:194px;
	float:left;
}
#two_connect {
	width:194px;
	float:right;
}

div.rtop, div.rbottom {
	display:block;
	background: #FFF;
}

div.rtop div, div.rbottom div {
	display:block;
	height:1px;
	overflow: hidden;
	background:#57ADDE;
}

div.r1 {
	margin: 0 5px;
}

div.r2 {
	margin: 0 3px;
}
div.r3 {
	margin: 0 2px;
}
div.rtop div.r4, div.rbottom div.r4 {
     margin: 0 1px;
     height: 2px;
}

input {
	font-family: ""; font-size: 9pt;
}

a.button {
	width: 6em;
	padding: 0.2em;
	line-height: 1.4;
	background-color: #94b8e9;
	color: #000;
	text-decoration: none;
	text-align: center;
}


