/* ============================================================
   样式重置
   ============================================================ */
* {
    box-sizing: border-box;
    touch-action: pan-y;
}

body, p, ul, ol, li, dl, dt, dd, h1, h2, h3, h4, h5, h6, form, fieldset, legend, input, select, textarea, button, th, td {
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
    font-weight: 300;
}

ul, dl, ol {
    list-style: none;
    bottom:0px;  
}

img, fieldset, input[type="submit"] {
    border: 0 none;
}

img {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
}

em {
    font-style: normal;
}

strong {
    font-weight: normal;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

button, input {
    cursor: pointer;
    border: 0 none;
    -webkit-appearance: none;
    appearance: none;
}

textarea {
    word-wrap: break-word;
    resize: none;
}
/* word-wrap for opera, resize for webkit */
menu {
    margin: 0;
    padding: 0;
}

body {
    /*-webkit-user-select: none;*/
    -webkit-text-size-adjust: none !important;
    font-family: -apple-system, SF UI Text, PingFang SC, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

input[type="number"] {
    -webkit-user-select: text;
}

a, button, input, img {
    -webkit-touch-callout: none;
}
/* 1.ios 长按时不触发系统的菜单 2.禁止长按时下载图片 */
input, select, textarea {
    outline: none;
    font-family: -apple-system, SF UI Text, PingFang SC, Hiragino Sans GB, Microsoft YaHei, WenQuanYi Micro Hei, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
/* 去除android4.0以下 a/button/input标签被点击时产生的边框 因为边框引起了不少bug */
a, button, input, select, li{
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
/* Android4.0下不识别选择器-webkit-transform-3d 使用它可做Android4.0下版本兼容 */
@media all and (-webkit-transform-3d) {
    /* android4.0+ ios4+ 恢复按钮被点击时产生的效果 */
    /*a,button,input{-webkit-tap-highlight-color:rgba(130,130,130,.52);}*/
    a, button, input, select {
        -webkit-tap-highlight-color: rgba(0,0,0,0);
    }
}

a {
    text-decoration: none;
    cursor: pointer;
    color:#232323;
}

li {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.fixed{position: fixed;}
.wb2{display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;overflow: hidden;}
.wb3{display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 3;overflow: hidden;}
.wb6{display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 6;overflow: hidden;}
.warp{width: 1200px;margin: 0 auto;}
/*弹性盒子*/
.flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.flex-v {
    -webkit-box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.flex-1 {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.flex-align-center {
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.flex-pack-center {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.flex-pack-justify {
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.flex-space-around {
    -webkit-justify-content: space-around;
    justify-content: space-around;
}

.hor-view {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    flex-direction: row
}

.ver-view {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column
}

.hor-gap {
    width: 1px;
    height: 100%;
    line-height: 0
}

.ver-gap {
    height: 1px;
    width: 100%;
    line-height: 0
}

.clearfix:after, .clearfix:before {
    content: "";
    display: block;
    height: 0;
    visibility: hidden;
    clear: both;
}

.clearfix {
    *zoom: 1;
}
::-ms-clear, ::-ms-reveal{display: none;}
::-moz-placeholder {
    color: #7e7e7e;
    font-size: 16px;
}

::-webkit-input-placeholder {
    color: #7e7e7e;
    font-size: 16px;
}

:-ms-input-placeholder {
    color: #7e7e7e;
    font-size: 16px;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

i {
    font-style: normal;
}

a {
    display: block;
}

button {
    outline: none;
}

button, input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    border: none;
    text-align: left;
}

html {
    font-size: 50px
}

@media screen and (min-width:320px) {
    html {
        font-size: 21.33px
    }
}

@media screen and (min-width:360px) {
    html {
        font-size: 24px
    }
}

@media screen and (min-width:375px) {
    html {
        font-size: 25px
    }
}

@media screen and (min-width:384px) {
    html {
        font-size: 25.6px
    }
}

@media screen and (min-width:400px) {
    html {
        font-size: 27px
    }
}

@media screen and (min-width:414px) {
    html {
        font-size: 27px
    }
}

@media screen and (min-width:424px) {
    html {
        font-size: 28.27px
    }
}

@media screen and (min-width:480px) {
    html {
        font-size: 32px
    }
}

@media screen and (min-width:540px) {
    html {
        font-size: 36px
    }
}

@media screen and (min-width:720px) {
    html {
        font-size: 48px
    }
}

@media screen and (min-width:750px) {
    html {
        font-size: 50px
    }
}
