/********公共样式*********/
/* @font-face {
    font-family: 'fang';
    src:
        url('../font/fang.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
.fang{font-family:fang}
@font-face {
    font-family: 'pf';
    src:
        url('../font/PingFang Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
.pf{font-family:pf}
@font-face {
    font-family: 'pBold';
    src:
        url('../font/PingFang Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
.pBold{font-family:pBold}
@font-face {
    font-family: 'fl';
    src:
        url('../font/Futura LT Bold Oblique.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
.fl{font-family:fl}
@font-face {
    font-family: 'fh';
    src:
        url('../font/PingFang Heavy.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
.fh{font-family:fh}
@font-face {
    font-family: 'flb';
    src:
        url('../font/Futura LT Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
.flb{font-family:flb}
@font-face {
    font-family: 'pang';
    src:
        url('../font/pang.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}
.pang{font-family:pang} */
html {
    height: 100%;
}


body {
    font-family: '黑体',pBold,'Microsoft YaHei',sans-serif;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    box-sizing: border-box;
}

#app {
    display: initial;
}

@media screen and (orientation: landscape) {
    body {
        overflow-y: auto;
    }
}

ul, ol, li, dl, dt, dd, p, h1, h2, h3, h4, h5, h6, div, input, button, a, form, textarea, th, tr, td, table, span {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

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

ul, ol {
    list-style: none;
}

input, button {
    -webkit-appearance: none;
    border-radius: 0;
    border: none;
    outline: none;
}

.parent {
    width: 100%;
    height: 100%;
    display: table;
}

.child {
    display: table-cell;
    vertical-align: middle;
}

.clearfix:before {
    content: '';
    display: table;
}

.clearfix:after {
    content: '';
    display: table;
    clear: both;
}

.mask {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(0,0,0,0.6);
    z-index: 99;
}

.none {
    display: none;
}

/* 父元素-flex容器 */
.flex {
    display: box; /* OLD - Android 4.4- */
    display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox; /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Chrome */
    display: flex; /* NEW, Spec - Opera 12.1, Firefox 20+ */
}

/* 子元素-平均分栏 */
.flex1 {
    -webkit-box-flex: 1; /* OLD - iOS 6-, Safari 3.1-6 */
    -moz-box-flex: 1; /* OLD - Firefox 19- */
    -webkit-flex: 1; /* Chrome */
    -ms-flex: 1; /* IE 10 */
    flex: 1; /* NEW, Spec - Opera 12.1, Firefox 20+ */
}
/* 父元素-横向排列（主轴） */
.flex-h {
    display: box; /* OLD - Android 4.4- */
    display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox; /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Chrome */
    display: flex; /* NEW, Spec - Opera 12.1, Firefox 20+ */
    /* 09版 */
    -webkit-box-orient: horizontal;
    /* 12版 */
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    -o-flex-direction: row;
    flex-direction: row;
}
/* 父元素-横向换行 */
.flex-hw {
    /* 09版 */
    /*-webkit-box-lines: multiple;*/
    /* 12版 */
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
}
/* 父元素-水平居中（主轴是横向才生效） */
.flex-hc {
    /* 09版 */
    -webkit-box-pack: center;
    /* 12版 */
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    -o-justify-content: center;
    justify-content: center;
    /* 其它取值如下：
    align-items 主轴原点方向对齐
    flex-end 主轴延伸方向对齐
    space-between 等间距排列，首尾不留白
    space-around 等间距排列，首尾留白
    */
}

.flex-sb {
    /* 09版 */
    -webkit-box-pack: space-between;
    /* 12版 */
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
    -o-justify-content: space-between;
    justify-content: space-between;
    /* 其它取值如下：
    align-items 主轴原点方向对齐
    flex-end 主轴延伸方向对齐
    space-between 等间距排列，首尾不留白
    space-around 等间距排列，首尾留白
    */
}

.flex-sa {
    /* 09版 */
    -webkit-box-pack: space-around;
    /* 12版 */
    -webkit-justify-content: space-around;
    -moz-justify-content: space-around;
    -ms-justify-content: space-around;
    -o-justify-content: space-around;
    justify-content: space-around;
}

.flex-jfe {
    /* 09版 */
    -webkit-box-pack: flex-end;
    /* 12版 */
    -webkit-justify-content: flex-end;
    -moz-justify-content: flex-end;
    -ms-justify-content: flex-end;
    -o-justify-content: flex-end;
    justify-content: flex-end;
}
/* 父元素-纵向排列（主轴） */
.flex-v {
    display: box; /* OLD - Android 4.4- */
    display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox; /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Chrome */
    display: flex; /* NEW, Spec - Opera 12.1, Firefox 20+ */
    /* 09版 */
    -webkit-box-orient: vertical;
    /* 12版 */
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
}

/* 父元素-纵向换行 */
.flex-vw {
    /* 09版 */
    /*-webkit-box-lines: multiple;*/
    /* 12版 */
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
}

/* 父元素-竖直居中（主轴是横向才生效） */
.flex-vc {
    /* 09版 */
    -webkit-box-align: center;
    /* 12版 */
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    -o-align-items: center;
    align-items: center;
}

.flex-vfe {
    /* 09版 */
    -webkit-box-align: flex-end;
    /* 12版 */
    -webkit-align-items: flex-end;
    -moz-align-items: flex-end;
    -ms-align-items: flex-end;
    -o-align-items: flex-end;
    align-items: flex-end;
}

/* 子元素-显示在从左向右（从上向下）第1个位置，用于改变源文档顺序显示 */
.flex-1 {
    -webkit-box-ordinal-group: 1; /* OLD - iOS 6-, Safari 3.1-6 */
    -moz-box-ordinal-group: 1; /* OLD - Firefox 19- */
    -ms-flex-order: 1; /* TWEENER - IE 10 */
    -webkit-order: 1; /* NEW - Chrome */
    order: 1; /* NEW, Spec - Opera 12.1, Firefox 20+ */
}




/* 异常弹框 */
/* 通用 */
#errBox.abnormal-w {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, .4);
    z-index: 9999;
}

#errBox .abnormal {
    position: absolute;
    width: 5.2rem;
    height: auto;
    background: #fff;
    border-radius: .1rem;
    top: 20%;
    left: 50%;
    margin-left: -2.6rem;
    text-align: center;
    padding-top: 1rem;
}

#errBox .abn-off {
    position: absolute;
    right: .2rem;
    top: .2rem;
    width: .3rem;
    height: .3rem;
}

#errBox .abn-b {
    width: 1.69rem;
    height: 2.06rem;
}

#errBox .abnormal p {
    color: #8e8e8e;
    font-size: .36rem;
    margin: .5rem;
}

.flex-vfs {
    /* 09版 */
    -webkit-box-align: flex-start;
    /* 12版 */
    -webkit-align-items: flex-start;
    -moz-align-items: flex-start;
    -ms-align-items: flex-start;
    -o-align-items: flex-start;
    align-items: flex-start;
}