/* 指定当前css文件, 编码格式是utf-8 */
@charset "UTF-8";

html,
body,
ul,
li,
ol,
dl,
dd,
dt,
p,
h1,
h2,
h3,
h4,
h5,
h6,
form,
img,
input,
button,
textarea {
  margin: 0;
  padding: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

button,
input,
optgroup,
select,
textarea {
  font-family: 'helvetica neue', tahoma, 'hiragino sans gb', 'stheiti',
    'wenquanyi micro hei', \5fae\8f6f\96c5\9ed1, \5b8b\4f53, sans-serif;
}

select,
input,
textarea {
  font-size: 14px;
  margin: 0;
}

/*自动内减*/
* {
  box-sizing: border-box;
}

/* html设置默认字号及行高 */
html {
  -ms-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* 禁止文本域标签的用户自由缩放 */
textarea {
  resize: none;
}

button,
input[type='button'],
input[type='reset'],
input[type='submit'] {
  -webkit-appearance: button;
  cursor: pointer;
}

/* body默认颜色 */
body {
  font: 14px/1.5 'Microsoft YaHei', Arial, Verdana, 'Lucida Grande', 'hei';
  color: #333;
  background-color: #fff;
}

/* h系列标签 */
h1,
h2,
h3,
h4,
h5,
h6 {
  text-decoration: none;
  font-weight: normal;
}

/* 图片 */
img {
  vertical-align: middle;
  /* cursor: pointer; */
}

/* 去除默认 */
img,
input,
button,
textarea {
  border: none;
  outline-style: none; /*去除点击之后的轮廓线*/
}

/* a链接 */
a {
  color: #333;
  text-decoration: none;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
/* 链接按下 */
a:active {
  outline: 0;
}
a:hover,
a:focus {
  text-decoration: none;
}

/* 输入框 */
input {
  line-height: normal;
}
input:focus {
  outline: 0 none;
}
input::-moz-placeholder,
textarea::-moz-placeholder {
  color: #999;
}
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: #999;
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #999;
}

/*去掉chrome记住密码后自动填充表单的黄色背景*/
input:-webkit-autofill {
  background-color: #faffbd;
  background-image: none;
  color: #000;
}

/* 去除默认点 */
ul,
li,
dl,
dd,
dt {
  list-style: none;
}

/* 鼠标经过、获取焦点 */
a:hover,
a:focus {
  text-decoration: none;
}

/* 去除 i、em 默认样式 */
i,
s,
em {
  font-style: normal;
  text-decoration: none;
}

/* 左浮、右浮 */
.fl {
  float: left;
}
.fr {
  float: right;
}

/*清浮动*/
.clearfix:after {
  content: '';
  display: block;
  clear: both;
}
.clearfix {
  *zoom: 1; /* 兼容ie6、7 */
}

/*单行文本  文字溢出省略号显示*/
.inaline {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/*多行文本  文字溢出省略号显示*/
.intwoline {
  display: -webkit-box !important;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /*多少行*/
}

/* 版心 */
.container {
  width: 1180px;
  margin: 0 auto;
}
