@charset "utf-8";
/********** 初始化 **********/
/*去除默认边距*/
html,
body,
header,
section,
footer,
article,
nav,
aside,
dialog,
div,
p,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
li,
dl,
dt,
dd,
p,
textarea {
  margin: 0;
  padding: 0;
}
@font-face {
  font-family: 'PTsans';
  src: url(../fonts/PTsans.ttf) format('truetype');
  font-weight: normal;
  font-style: normal;
}
/*阻止旋转屏幕时自动调整字体大小*/
html,
body,
form,
fieldset,
p,
div,
h1,
h2,
h3,
h4,
h5,
h6 {
  -webkit-text-size-adjust: 100%;
}
body {
  min-width: 320px;
  font-size: 12px;
  font-family: 'PTsans';
  color: #333;
  background-color: #fff;
  -webkit-text-size-adjust: none;
  margin: 0 auto;
}
h1,
h2,
h3,
h4,
h5,
h6,
strong {
  font-weight: normal;
  font-size: 100%;
}
em {
  font-style: normal;
}
ul,
ol {
  list-style-type: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
a {
  text-decoration: none;
  color: #333;
}
a:visited,
a:hover {
  text-decoration: none;
}
textarea {
  resize: none;
  -webkit-appearance: none;
  appearance: none;
}
/* 禁止长按链接与图片弹出菜单 */
a,
img {
  -webkit-touch-callout: none;
}
/*去掉手持设备点击时出现的透明层*/
a,
button,
input,
select {
  -webkit-tap-highlight-color: transparent;
  resize: none;
  outline: none;
  border-radius: 0;
  border: none;
}
/********** 公共样式 **********/
/*图片大小自适应*/
.img {
  width: 100%;
  display: block;
}
/*文字超出隐藏*/
.text-elli {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.text-elli2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
/*清除浮动样式*/
.clear {
  clear: both;
  height: 0;
  overflow: hidden;
}
.clearfix:after {
  display: block;
  height: 0;
  overflow: hidden;
  content: " ";
  visibility: hidden;
  clear: both;
}
.trans {
  transition: all 0.5s ease-out;
  -webkit-transition: all 0.5s ease-out;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
