/*
 * Cbtms common CSS define.
 *
 * Obsolete.
 *
 * @deprecated
 * @package		cbtms
 * @subpackage	tpl.default
 * @copyright	Copyright 2008-2011, 河北新奔腾软件有限公司，PHP技术组
 * @author		Fwolf <fwolf.aide+cbtms.tpl.default@gmail.com>
 * @since		2008-04-05
 */

/*
Inline syntax:
<style type="text/css" media="screen, print">
<!--

-->
</style>

Link syntax:
<link rel="stylesheet" type="text/css" media="screen, print" href="file.css" />
*/


/*
	Styles come from other framework --------
	http://www.1x3x.net/blog/web-design/2008/04/css-framework.html
*/
/*
	首先是将绝大部分元素的样式清零，免得经常会遇到各种各样的问题。来自于Eric 的一篇文章。
	http://meyerweb.com/eric/thoughts/2007/04/14/reworked-reset
*/
	html, body, div, span, applet,
    object, iframe, h1, h2, h3, h4, h5, h6,
    p, blockquote, pre, a, abbr, acronym,
    address, big, cite, code, del, dfn, em,
    font, img, ins, kbd, q, s, samp, small, strike,
    strong, sub, sup, tt, var, dd, dl, dt,
    li, ol, ul, fieldset, form, label, legend,
    table, caption, tbody, tfoot, thead,
    tr, th, td {
      margin: 0;
      padding: 0;
      border: 0;
      font-weight: inherit;
      font-style: inherit;
      font-size: 100%;
      line-height: 1.2em;
      font-family: inherit;
      text-align: left;
      vertical-align: baseline;
    }

    a img, :link img, :visited img {
    	border: 0;
    }

    table {
    	border-collapse: collapse;
    	border-spacing: 0;
    }

    ol, ul {
    	list-style: none;
    }

    q:before, q:after,
    blockquote:before, blockquote:after {
    	content: "";
    }
/*
    注意两点，这里定义了背景色和前景色，这是标准要求的，是网页可用性的一个基本方面，大家可以执行修改。

    第二点，就是font-size的问题，为了让网页更好的支持网页缩放功能，应该使用em来替换px，这样会让ie6等上古浏览器也能良好的支持网页缩放。浏览器的默认字体高都是16px，所以未经调整的浏览器在显示1em=16px。换算过来的话也就是说1px=0.0625em，也就是12px =0.75em, 10px=0.625em，通过1px=0.0625em大家可以在CSS编写时通过px转换成em。
*/
    body {background-color: #FFFFFF;}
    body, p, td, th, li {
     font-family: "宋体", verdana, helvetica, sans-serif;
     font-size: 0.875em;
     line-height: 1.5em;
     color: #000000;
    }

/*	提供了一些比较实用的预定义类。*/
	.left {float: left;}
	.right {float: right;}
	/* =10px */
	.small {font-size: 0.625em;}
	/* =14px */
	.large {font-size: 0.875em;}
	/* =16px */
	.larger {font-size: 1em;}
	.soft {color: #D3D3D3;}
	.hide {display: none;}
	p.last {margin-bottom: 0px;}

/*
	-------- Styles come from other framework
	My change begin
*/
h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
	font-family: "黑体", inherit;
}
h1 {
	font-size: 2em;
	line-height: 3em;
}
h2 {
	font-size: 1.5em;
	line-height: 2em;
	margin-left: 1em;
}
h3 {
	font-size: 1.3em;
	line-height: 2em;
	margin-left: 1.154em;
}
h4, h5, h6 {
	font-size: 1.1em;
	line-height: 2em;
	margin-left: 1.364em;
}
p, td, th, li {
	font-size: 1em;
	line-height: 2em;
	margin-left: 3em;
}
pre {
	margin-left: 2em;
}
th {
	font-weight: bold;
	text-align: center;
}
th, td {
	padding-left: 0.5em;
	padding-right: 0.5em;
}
.clearit {
	clear: both;
}
.error {
	text-align: center;
	color: red;
}
.required {
	color: red;
}
/*
	-------- Styles come from other framework
	End
*/


/* font-family:Verdana, Lucida, Arial, Helvetica, "宋体", "Lucida Grande", sans-serif; */
/*body {font-size:13px;}*/

/* _Global basic settings */
body {
	background-color: rgb(204, 232, 207);
	text-align:center;
	font-size:12px
	/* font-size:0.83em; */	/* 基本上等于9px */
	/* font-size:0.84em;
	line-height: 1.5em;
	font-family: Arial, Helvetica, sans-serif;*/
}
code {
	color: #900;
	/*font-size: 1.2em;*/	/* 基本上等于9px */
	font-size: 1em;
}
/* Disable because using css framework now */
/*
th, td, pre {
	font-size: 1em !important;
	font-size: 0.85em;
	line-height: 1.5em;
	padding-left: 0.5em;
	padding-right: 0.5em;
}
*/
abbr, acronym {
	cursor: help;
}

/* Title and list */
h1 {
	text-align:center;
}
div.list {
	line-height: 1.2em;
}
/* general unorder list */
ul.gen li {
	list-style-type: disc;
}

/* link color method 1
	a:hover, span.showhide_link:hover {background-color: #bcf; color: #f34;} */
a {
	text-decoration: none;
}
a:hover, div#showhide_svninfo:hover {
	color: #fff;
	background-color: #b50394;
}

/* Blocks */
div.box_singleline {
	border:solid black 1px;
	padding:1px 4px 1px 4px;
	margin: 1em 0;
}
div.box_singleline:hover {
	border: 1px solid #00f;
	background: #f8f8f8
}


/* SVN Version info */
#svninfo {
	display: none;
	line-height: 1.2em;
	background-color: #ded9af;
	width: 50em;	/* 需要根据内容大小适当调整 */
	border: solid black 1px;
	position: absolute;
	overflow: hidden;
	z-index: 100;
	margin: -1em 0em 0em 1em;
}
#svninfo pre{
	/*margin: 0em 0em 0em -2em;*/
	margin: 0em 0em 0em -1em;
}
#showhide_svninfo {
	position: absolute;
	top: 0.5em; left: 0.5em;
}

/* To solve problem: img tag in <a> have bgcolor. */
a.img {
	background-color: transparent !important;
	background-color: #000;
}


/* Footer icon and copyright text. */
#footer img, #footer span.spacer {
	float: left;
	margin-top: 0.2em;
}
#footer ul#copyright {
	float: right;
	margin-right: 0%;
	margin-top: 0%;
	text-align: center;
}
#footer li, #footer p{
	text-align: center;
	margin-right: 1em;
}
hr {
	border: 0px;
	height: 1px;
	color: #B0C4DE;
	background-color: #B0C4DE;	 /* LightSteelBlue = #B0C4DE */
	clear: both;
}
#ads_bottom {
	text-align: center;
}


/* Auto numbered list(article), usually used in doc */
.article {counter-reset: c-level1} /* top c_lever need not reset */
.article h2 {counter-reset: c-level2}
.article h3 {counter-reset: c-level3}
.article h4 {counter-reset: c-level4}
.article h2:before {
	/*display: marker; */
	content: "§ " counter(c-level1, decimal) "、";
	counter-increment: c-level1 1
}
.article h3:before {
	/*display: marker; */
	content: "§ " counter(c-level1) "." counter(c-level2, decimal) "、";
	counter-increment: c-level2 1
}
.article h4:before {
	/*display: marker; */
	content: "§ " counter(c-level1) "." counter(c-level2, decimal) "." counter(c-level3, decimal) "、";
	counter-increment: c-level3 1
}
.article h5:before {
	/*display: marker; */
	content: "§ " counter(c-level1) "." counter(c-level2, decimal) "." counter(c-level3, decimal) "." counter(c-level4, decimal) "、";
	counter-increment: c-level4 1
}
.article li {
	list-style-type: disc;
	margin-left: 6em;
}
.article p {
	text-indent: 2em;
}
/* p in li need not margin/indent, it will display as same as li */
.article li p {
	margin-left: 0em;
	text-indent: 0em;
}


/* Js Alert */
div#alert {
	left: 0px;
	position: absolute;
	text-align: center;
	top: 200px;
	width: 99%;
	z-index: 999;
}
div#alert_bg {
	background: #E5E5E5;
	filter: alpha(opacity=60);
	height: 100%;
	left: 0px;
	opacity: 0.6;
	position: absolute;
	top: 0px;
	width: 100%;
	z-index: 998;
}
div#alert fieldset {
	background: #FFF;
	border: 1px solid blue;
	font-weight: bold;
	margin: auto;
	padding-bottom: 2em;
	padding-top: 2em;
	width: 40%;
}
div#alert legend {
	color: blue;
	font-weight: bold;
	margin-left: 2em;
	margin-right: 2em;
}


/* Single line table in div, printable */
.single_line table, .single_line td, .single_line th {
	border: 1px solid black;
	border-collapse: collapse;
}


/* Tips */
.tips li {
	color: #009900;
	list-style: url("../images/icon/tips.png") outside square;
}


/* Temportary debug can apply this class */
.debug {
	border: 2px solid red;
}

