html,
body,
header,
section,
footer,
div,
ul,
ol,
li,
img,
a,
span,
em,
del,
legend,
center,
strong,
var,
fieldset,
form,
label,
dl,
dt,
dd,
cite,
input,
hr,
time,
mark,
code,
figcaption,
figure,
textarea,
h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
    border: 0;
    padding: 0;
    font-style: normal;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html,
body {
    width: 100%;
    height:100%;
    color: #333;
    font-family: "微软雅黑", "arial";
    -webkit-touch-callout: none;
    -webkit-text-size-adjust: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-user-select: none;
    background-color: #fff;
    box-sizing: border-box;
    -webkit-overflow-scrolling:touch;
}

body {
    margin: 0 auto;
}

td,
th {
    padding: 0;
}

a,
a:visited,
a:hover,
a:active {
    text-decoration: none;
}

a:active,
a:hover {
    outline: 0;
}

a,
a:visited {
    text-decoration: none;
}
a:focus,input:focus{
    -webkit-tap-highlight-color:rgba(0,0,0,0);
}
div{
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
img {
    border: 0;
    display: block;
    -webkit-touch-callout:default;
}

ul {
    list-style: none;
}

.clearfix:before,
.clearfix:after {
    content: "";
    display: block;
    clear: both;
}

.hide,
.none {
    display: none;
}

.hidden {
    overflow: hidden;
}
input::-webkit-input-placeholder { /* WebKit browsers 适配谷歌 */
    color: #9B9B9B;
}
input:-moz-placeholder { /* Mozilla Firefox 4 to 18 适配火狐 */
    color: #9B9B9B;
}
input::-moz-placeholder { /* Mozilla Firefox 19+ 适配火狐 */
    color: #9B9B9B;
}
input:-ms-input-placeholder { /* Internet Explorer 10+  适配ie*/
    color: #9B9B9B;
}
input:focus::-webkit-input-placeholder {
    opacity: 0;
}

.one-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.two-text {
    text-overflow: ellipsis;
    display: -webkit-box;
    box-orient: vertical;
    /*! autoprefixer:off */
    -webkit-box-orient: vertical;
     /* autoprefixer:on */
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.thr-text {
    text-overflow: ellipsis;
    display: -webkit-box;
   /*! autoprefixer:off */
    -webkit-box-orient: vertical;
     /* autoprefixer:on */
    -webkit-line-clamp: 3;
    overflow: hidden;
}
.img>img {
    width: 100%;
}
/*使用vw的polyfill解决方案会在用到的vw的地方添加content，会影响到img和伪元素，需要全局添加*/
img {
    content: normal !important;
}
.font-w{
    font-weight: 500;
}
.flex {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}

.row {
    -webkit-box-direction: normal;
    -webkit-box-orient: horizontal;
    -moz-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
}

.column {
    -webkit-box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}
/* 水平居中 */
.f-center {
    -webkit-box-pack: center;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    justify-content: center;
}
/* 水平左右对齐 */
.f-between {
    -webkit-box-pack: space-between;
    -moz-justify-content: space-between;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}
/* 水平居中对齐 */
.f-around {
    -webkit-box-pack: space-around;
    -moz-justify-content: space-around;
    -webkit-justify-content: space-around;
    justify-content: space-around;
}
/* 上下居中 */
.f-align {
    -webkit-box-align: center;
    -moz-align-items: center;
    -webkit-align-items: center;
    align-items: center;
}
/* 换行显示 */
.f-wrap{
    -webkit-flex-wrap:wrap;
    flex-wrap:wrap;
}
.mod-mask{
    width:100%;
    height:100%;
    background:rgba(0, 0, 0, .5);
    position: fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    display:none;
    z-index: 999;
}
.mod-mask-content{
    width:100%;
    height: 100%;
}
.mod-toast{
    position: fixed;
    top:50%;
    left:50%;
    line-height: .4rem;
    background:rgba(0, 0, 0, .7);
    font-size: .24rem;
    color:#fff;
    padding:.2rem;
    transform: translate3d(-50%,-50%,0);
    -webkit-transform: translate3d(-50%,-50%,0);
    display:none;
}
/* 边框 */
.border-top::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    width: 100%;
    -webkit-transform: scaleY(0.5);
    transform: scaleY(0.5);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    background: #E5E5E5;
}
.border-bottom::before{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    width: 100%;
    -webkit-transform: scaleY(0.5);
    transform: scaleY(0.5);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    background: #E5E5E5;
}
.border-right::before{
    content: "";
    position: absolute;
    right: 0;
    top:0;
    bottom: 0;
    height: 100%;
    width: 1px;
    -webkit-transform: scaleX(0.5);
    transform: scaleX(0.5);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    background: #E5E5E5;
}
.border-left::before{
    content: "";
    position: absolute;
    left: 0;
    top:0;
    bottom: 0;
    height: 100%;
    width: 1px;
    -webkit-transform: scaleX(0.5);
    transform: scaleX(0.5);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    background: #E5E5E5;
}
/* 占位图 */
.mod-skeleton .mod-skeleton-item{
    background-color:#eee;
    border-radius: 4px;
}
.animation-opacity{
    animation: 1.5s opacitys infinite;
}
@keyframes opacitys{
    0%{
        opacity: 0.5;
    }
    50%{
        opacity: 1;
    }
    100%{
        opacity: 0.5;
    }
}

