/* ************************common************************ */
body,
div,
header,
footer,
section,
aside,
article,
ul,
dl,
dt,
dd,
li,
a,
p,
h1,
h2,
h3,
h4,
h5,
h6,
i,
b,
em,
textarea,
button,
input,
select {
  padding: 0;
  margin: 0;
  list-style: none;
  font-style: normal;
  text-decoration: none;
  border: none;
  font-family: "Microsoft Yahei", sans-serif;
  color: #333;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
main {
  display: block;
}
a,
button,
input {
  -webkit-tap-highlight-color: rgba(255, 0, 0, 0);
  color: #444;
}
html,
body {
  width: 100%;
  background-color: #fff;
  font-size: 14px;
}
ul,
li,
ol {
  list-style: none;
}
/*所有超链接不要下划线*/
a:link,
a:visited,
a:hover {
  text-decoration: none;
  outline: none;
}
.clear {
  clear: both;
}
img,
input {
  vertical-align: middle;
}
a {
  text-decoration: none;
}
input {
  outline: none;
}
.wrapper {
  width: 1200px;
  margin: 0 auto;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
/* 超出一行显示省略号 */
.ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
/* 超出两行显示省略号 */
.clamp2-ellipsis {
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.clamp3-ellipsis {
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* 清除浮动:浮动元素父盒子使用 */
.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  font-size: 0;
  visibility: hidden;
  line-height: 0;
}
