@charset 'UTF-8';

body,
h1,
h2,
h3,
h4,
h5,
h6,
dl,
dt,
dd,
ul,
ol,
li,
th,
td,
p,
blockquote,
pre,
form,
fieldset,
legend,
input,
button,
textarea,
hr {
  margin: 0;
  padding: 0;
}

html {
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.1;
  font-weight: 500;
  color: inherit;
}

ul,
ol,
dl {
  list-style: none;
}

select,
input,
button {
  vertical-align: middle;
  font-size: 100%;
}

fieldset,
img {
  border: 0 none;
}

em,
i,
s,
strong,
u {
  font-weight: 400;
  font-style: normal;
  text-decoration: none;
}

/*=====================(a链接设置)=====================*/

a {
  text-decoration: none;
  cursor: pointer;
  color: #333;
}

a:hover {
  outline: none;
  text-decoration: none;
}

a.ie6:hover {
  zoom: 1;
}

a:focus {
  outline: none;
}

a:hover,
a:active {
  outline: none;
}

:focus {
  outline: none;
}

a:hover,
a:active,
a:link,
a:visited {
  cursor: pointer;
}



/*=====================(字体设置)=====================*/

body,
th,
td,
button,
input,
select,
textarea {
  font-family: PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica Neue, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  font-size: 14px;
  color: #333;
}

address,
caption,
cite,
code,
dfn,
em,
th,
var {
  font-weight: normal;
  font-style: normal;
}

/*=====================(绝对定位)=====================*/

.pos-r {
  position: relative;
}

.pos-a {
  position: absolute;
}

.pos-f {
  position: fixed;
}


/*=====================(浮动)=====================*/

.pull-left {
  _display: inline;
  float: left;
}

.pull-right {
  _display: inline;
  float: right;
}


/*=====================(清除浮动)=====================*/

/*
    Name:           style_clearfix
    Example:        class="clearfix|cl"
    Explain:        Clearfix（简写cl）避免因子元素浮动而导致的父元素高度缺失能问题
*/

.cl:after,
.clearfix:after {
  content: '.';
  display: block;
  visibility: hidden;
  clear: both;
  height: 0;
}

.cl,
.clearfix {
  *zoom: 1;
  zoom: 1;
}

/*=====================(单行文字溢出省略号)=====================*/

.text-overflow {
  overflow: hidden;
  white-space: nowrap;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
}