@charset "gb2312";
/*---Reset HTML Tags
--------------------------------------------------*/

/** 清除内外边距 **/
body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, div, iframe, /* structural elements 结构元素 */
dl, dt, dd, ul, ol, li, /* list elements 列表元素 */
pre, /* text formatting elements 文本格式元素 */
form, fieldset, legend, button, input, textarea, label, select, /* form elements 表单元素 */
table, caption, th, td, /* table elements 表格元素 */
a, span, marquee /* other elements 其他元素 */ {
	margin: 0;
	padding: 0;
}

/** 让Firefox默认显示滚动条 **/
html {
	overflow: -moz-scrollbars-vertical;
}

/** 设置默认字体 **/
body,
button, input, select, textarea /* for ie */ {
    font: 12px/1 arial, tahoma, simsun, sans-serif;
}
h1, h2, h3, h4, h5, h6 { font-size: 100%; }
code, pre { font-family: courier new, courier, monospace; } /* 统一等宽字体 */
small { font-size: 12px; } /* 小于 12px 的中文很难阅读，让 small 正常化 */
em {
	font-style: normal;
	font-size: 12px;
	font-weight: normal;
}


/** 重置列表元素 **/
ul, ol, li { list-style: none; }


/** 重置文本格式元素 **/
a { text-decoration: none; }
a:hover { text-decoration: underline; }

sup { vertical-align: text-top; } /* 重置，减少对行高的影响 */
sub { vertical-align: text-bottom; }


/** 重置表单元素 **/
legend { color: #000; } /* for ie6 */
fieldset, img, iframe { border: 0 none; } /* img iframe 搭车：让链接里的 img 无边框 */
button, input, select, textarea { font-size: 100%; } /* 使得表单元素在 ie 下能继承字体大小 */
input, select { vertical-align: middle; } /* 表单元素垂直居中对齐 */


/** 重置表格元素 **/
table { border-collapse: collapse; border-spacing: 0; border: 0 none; }


/*---Normal Class
--------------------------------------------------*/

/** Float & Clear **/
.fl { float: left; } /* 左浮动 */
.fr { float: right; } /* 右浮动 */

.clear { clear: both; font-size: 0px; height: 0px; overflow: hidden; }  /* 添加空标签清除浮动 */
.clearFix:after {  /* 将此样式直接添加到子元素进行了浮动的标签，一般用于布局标签 */
  content: "";
  clear: both;
  height: 0;
  visibility: hidden;
  display: block;
}
.clearFix { zoom: 1; }

.simpleClear { clear: both; }


/** Format Text **/
.al { text-align: left; }  /* 内容居左 */
.ar { text-align: right; }  /* 内容居右 */
.ac { text-align: center; }  /* 内容居中 */

/* layout */
.layout { /* 960px网页栅格化设计 */
	width: 960px;
	margin: 0 auto;
	clear: both;
}

/* Text Format */
.red { color: #F00; }
.black { color: #000; }
.white { color: #FFF; }
