@charset "utf-8";
body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, pre,
dl, dt, dd, ul, ol, li, th, td, div, span, img,
fieldset, lengend, button, input, select, textarea{margin: 0;padding: 0;}


/* color & background */
html{color:#000; background:#FFF;}


/* font */
body,
button, input, select, textarea {
	font-family: "微软雅黑",sans-serif, inherit;
	font-size: 12px;
}
h1 { font-size: 18px; }
h2 { font-size: 16px; }
h3 { font-size: 14px; }
h4, h5, h6 { font-size: 100%; }
code, kbd, pre, samp, tt { font-family: "Courier New", Courier, monospace; } /* 统一等宽字体 */
small { font-size: 12px; } /* 小于 12px 的中文很难阅读，让 small 正常化 */


/* fix center */
html,body {
	height: 100%;
	margin: 0 auto;
}


/* 去掉滚动条 */
body::-webkit-scrollbar {
    display: none;
}


/* a */
a { text-decoration: none; cursor: pointer;}


/* list */
ul,ol {list-style: none;}


/* 重置表单元素 */
legend { color: #000; } /* for ie6 */
fieldset, img { border: none; } /*让链接里的 img 无边框 */


/* 注：optgroup 无法扶正 */
button, input, select, textarea { font-size: 100%; /* 使得表单元素在 ie 下能继承字体大小 */ }


/* table */
table { border-collapse: collapse;border-spacing: 0;font:inherit; }


/* 重置 hr */
hr { border: none;height: 1px; }


/*清除浮动*/
.clearfix:after{
	content:"";
	display:block;
	height:0;
	clear:both;
  }
.clearfix{
	*zoom:1;
}


/* dn,db,di,dib */
.dn{display: none;}
.db{display: block;}
.di{display: inline;}
.dib{display: inline-block;}


/* float*/
.left{float:left;}
.right{float:right;}


/*单行超出内容显示省略号*/
.ellipsis{  
	max-width: 100%;  
	white-space: nowrap;  
	text-overflow:ellipsis;  
	overflow:hidden;  
}


/*多行超出内容显示省略号*/
.ellipsis_more{
	display: -webkit-box!important;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-all;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}