@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;
}

/* fix center */
html,
body {
  height: 100%;
  margin: 0 auto;
}

/* 去掉滚动条 */
body::-webkit-scrollbar {
  display: none;
}

/* a */
a {
  text-decoration: none;
  cursor: pointer;
}
/* a:hover { text-decoration: underline; } */

/* list */
ul,
ol {
  list-style: none;
}

/* 重置表单元素 */
legend {
  color: #000;
} /* for ie6 */
fieldset,
img {
  border: none;
  max-width: 100%;
} /*让链接里的 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;
}
