/*
come from
kissy reset.css
and
css-lib.css
*/
/*------------------------- reset.css start ------------------------------*/
/** 清除内外边距 **/
body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, /* structural elements 结构元素 */
dl, dt, dd, ul, ol, li, /* list elements 列表元素 */
pre, /* text formatting elements 文本格式元素 */
form, fieldset, legend, button, input, textarea, /* form elements 表单元素 */
th, td /* table elements 表格元素 */ {
    margin: 0;
    padding: 0;
}
/** 设置默认字体 **/
body,
button, input, select, textarea /* for ie */ {
    font: 13px/1.5 微软雅黑, tahoma, \5b8b\4f53, sans-serif;
}
h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: normal;}
address, cite, dfn, em, var { font-style: normal; } /* 将斜体扶正 */
code, kbd, pre, samp { font-family: courier new, courier, monospace; } /* 统一等宽字体 */
small { font-size: 13px; } /* 小于 13px 的中文很难阅读, 让 small 正常化 */

/** 重置列表元素 **/
ul, ol { list-style: none; }

/** 重置文本格式元素 **/
a { text-decoration: none; }
a:hover {
	color:#c6002a; 
	text-decoration: underline;
 }

sup-tmp { vertical-align: text-top; } /* 重置, 减少对行高的影响 */
sub-tmp { vertical-align: text-bottom; }

/** 重置表单元素 **/
legend { color: #000; } /* for ie6 */
fieldset, img { border: 0; } /* img 搭车：让链接里的 img 无边框 */
button, input, select, textarea { font-size: 100%; } /* 使得表单元素在 ie 下能继承字体大小 */
/* 注：optgroup 无法扶正 */

/** 重置表格元素 **/
table { border-collapse: collapse; border-spacing: 0; }

/* 重置 HTML5 元素 */
article, aside, details, figcaption, figure, footer,header, hgroup, menu, nav, section,
summary, time, mark, audio, video {
    display: block;
    margin: 0;
    padding: 0;
}
mark { background: #ff0; }
/*------------------------- reset.css end ------------------------------*/




/*------------------------- css-lib start ------------------------------*/
/* img标签下多余空白BUG解决方法 */
img { vertical-align:top-tmp; }

/* 清除浮动 */
.clear { *zoom:1; }
.clear:before, .clear:after{
	display:block; content:''; clear:both; height:0; overflow:hidden;
}

/* 布局 */
.zoom{ *zoom:1; }
.dn{ display:none; }
.db{ display:block !important; }
.dib{ display:inline-block; }
.di{ display:inline; }

.l { float:left; }
.r { float:right; }
.cl { clear:both; }

.of-h { overflow:hidden; }

/* 定位 */
.z-1{ z-index:-1; }
.z0{ z-index:0; }
.z1 { z-index:1; }
.z999 { z-index:999; }

.rel { position:relative; }
.abs { position:absolute; }
.fixed { position:fixed; }

/* 边距 */
.m-0-a { margin:0 auto; }
.m5 { margin:5px; }

.mt5 { margin-top:5px; }
.mt8 { margin-top:8px; }
.mt10 { margin-top:10px; }
.mt15 { margin-top:15px; }
.mt20 { margin-top:20px; }

.mr5 { margin-right:5px; }
.mr10 { margin-right:10px; }
.mr15 { margin-right:15px; }
.mr20 { margin-right:20px; }

.mb5 { margin-bottom:5px; }
.mb10 { margin-bottom:10px; }
.mb15 { margin-bottom:15px; }
.mb20 { margin-bottom:20px; }

.ml2 { margin-left:2px; }
.ml3 { margin-left:3px; }
.ml5 { margin-left:5px; }
.ml10 { margin-left:10px; }
.ml15 { margin-left:15px; }
.ml20 { margin-left:20px; }
.ml25 { margin-left:25px; }
.ml30 { margin-left:30px; }

/* 补白 */
.p0 { padding:0 !important; }
.p2 { padding:2px; }
.p5 { padding:5px; }
.p10 { padding:10px; }

.pt2 { padding-top:2px !important; }
.pt5 { padding-top:5px; }
.pt10 { padding-top:10px; }
.pt12 { padding-top:12px; }
.pt15 { padding-top:15px; }
.pt18 { padding-top:18px; }
.pt20 { padding-top:20px; }

.pr5 { padding-right:5px; }
.pr10{ padding-right:10px; }

.pb2{ padding-bottom:2px; }
.pb5{ padding-bottom:5px; }
.pb10 { padding-bottom:10px; }

.pl2 { padding-left:2px; }
.pl5 { padding-left:5px; }
.pl10 { padding-left:10px !important; }
.pl15 { padding-left:15px; }
.pl20 { padding-left:20px; }

/* 尺寸 */
.w30 { width:30px; }
.w40 { width:40px; }
.w50 { width:50px !important; }
.w60 { width:60px; }
.w70 { width:70px; }
.w80 { width:80px; }
.w90 { width:90px !important; }
.w100 { width:100px !important; }
.w105 { width:105px !important; }
.w980 { width:980px; }

.h10 { height:10px; }
.h22 { height:22px; }
.h23 { height:23px !important; }
.h25 { height:25px !important; }

/* 边框 */
.bb-none { border-bottom:none !important; }
.br-none { border-right:none !important; }
.bt-none { border-bottom:none !important; }

/* 行距 */
.lh18 { line-height:18px; }
.lh22 { line-height:22px; }
.lh23 { line-height:23px !important; }
.lh25 { line-height:25px !important; }

.lh100 { line-height:100%; }
.lh120 { line-height:120%; }
.lh150 { line-height:150%; }
.lh180 { line-height:180%; }
.lh200 { line-height:200%; }

/* 字体文本 */
.tl { text-align:left; }
.tc { text-align:center; }
.tr { text-align:right; }

.songti { font-family:'宋体'; }
.yahei { font-family:'微软雅黑'; }
.arial { font-family:arial; }
.tahoma { font-family:tahoma; }


.f12 { font-size:13px !important; }
.f14 { font-size:15px; }
.f16 { font-size:16px; }
.f18 { font-size:18px; }
.f20 { font-size:20px; }

.fw-normal { font-weight:normal; }
.fw-bold { font-weight:bold; }
.fw-400 { font-weight:400; }
.fw-700 { font-weight:700; }

.nowrap { white-space:nowrap; }
/* 颜色 */
.bg-eee { background-color:#eee; }


.r-3 { color:#f30; }

.b-0 { color:#000; }
.b-3 { color:#333; }
.b-6 { color:#666; }
.b-9 { color:#999; }

.c-red { color:red; }
.c-green { color:green; }
.c-blue { color:blue; }

.c-666 { color:#666; }
/* input */
.text { border:1px solid #c7c7c7; height:18px; }

/* 鼠标样式 */
.hand { cursor:pointer; }

/* 箭头样式 */
.arr,
.arr b {
	display:inline-block;
	position:relative;
	width:0; height:0;
	font-size:0; line-height:0; font-family:tahoma;
	border:4px dashed transparent;
}
.arr b { position:absolute; }
.arr-l { border-left-style:solid; border-left-color:red; }
.arr-r { border-right-style:solid; border-right-color:red; }
.arr-t { border-top-style:solid; border-top-color:red; }
.arr-b { border-bottom-style:solid; border-bottom-color:red; border-bottom-width:5px; }
.arr-lthin b {
	top:-4px; left:-5px;
	border-left-color:#fff; border-left-style:solid;
}
.arr-rthin b {
	top:-4px; left:-3px;
	border-right-color:#fff; border-right-style:solid;
}
.arr-tthin b {
	top:-5px; left:-4px;
	border-top-color:#fff; border-top-style:solid;
}
.arr-bthin b {
	top:-3px; left:-4px;
	border-bottom-color:#fff; border-bottom-style:solid;
	border-bottom-width:5px;
}

/* 禁止文字选择 */
.noSelect {
	user-select:none;
	-moz-user-select:none;
	-khtml-user-select:none;
	/* IE */
	/* gn:expression(this.onselectstart=function(){return false;}) */
}


/*------------------------- css-lib.css end ------------------------------*/