﻿/** 清除内外边距 **/
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, /* 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.5 arial, tahoma, simsun, sans-serif;
}
h1, h2, h3, h4, h5, h6 { font-size: 100%; }
address, cite, em { font-style: normal; } /* 将斜体扶正 */
code, pre { font-family: courier new, courier, monospace; } /* 统一等宽字体 */
small { font-size: 12px; } /* 小于 12px 的中文很难阅读，让 small 正常化 */


/** 重置列表元素 **/
ul, ol, li { list-style: none outside none; }


/** 重置文本格式元素 **/
a {text-decoration:none;}
a:hover {text-decoration:none;}
a.u {text-decoration:underline;}
a.u:hover {text-decoration:none;}

sup { vertical-align: text-top; } /* 重置，减少对行高的影响 */
sub { vertical-align: text-bottom; }


/** 重置表单元素 **/
legend { color: #000; } /* for ie6 */
img, iframe { border: 0 none; } /* table iframe 搭车：让链接里的 img 无边框 */
button, input, select, textarea { font-size: 100%; } /* 使得表单元素在 ie 下能继承字体大小 */
input, select {
	vertical-align: middle;
	text-align: left;
} /* 表单元素垂直居中对齐 */
li img {vertical-align:top;}

/** Float & Clear **/
.fl { float: left; } /* 左浮动 */
.fr { float: right; } /* 右浮动 */

.clear { clear: both; font-size: 0px; height: 0px; overflow: hidden; }  /* 添加空标签清除浮动 */
.cf:after {  /* 将此样式直接添加到子元素进行了浮动的标签，一般用于布局标签 */
  content: ".";
  clear: both;
  height: 0;
  visibility: hidden;
  display: block;
}
.cf {display: inline-table; zoom: 1;}
/* Hides from IE-mac \*/
* html .cf {height: 1%;}
.cf {display: block;}
/* End hide from IE-mac */

.red{ color:#f00}

/************************** COMMON ********************************/
/*底部*/