/*公共的样式*/
* {
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
a {
    text-decoration: none;
}
li {
    list-style: none;
}
body {
    font-size: 0.14rem;
    color: #333;
    font-family: "Microsoft YaHei","微软雅黑","Helvetica Neue","hiragino sans gb",Helvetica,Arial,sans-serif;
}
button,
a,
input,
textarea,
li,
span,
select,
option {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-appearance: none;
    outline: none;
}
.display-box {
    display: -moz-box;
    display: -webkit-box;
    display: box;
}
.display-box-1 {
    -moz-box-flex: 1;
    -webkit-box-flex: 1;
}
.display-box-2 {
    -moz-box-flex: 2;
    -webkit-box-flex: 2;
}
.display-box-3 {
    -moz-box-flex: 3;
    -webkit-box-flex: 3;
}
button,
input {
    border: none;
}
img.align-middle {
    vertical-align: middle;
    display: block;
    margin: 0 auto;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
}
html,
body {
    height: 100%;
}
img {
    width: 100%;
}
em{
    font-style: normal;
}

/*适配不同的屏幕尺寸*/
@media only screen and (max-width: 320px) {
    html {
        font-size: 100px;
        min-width: 320px;
    }
}
@media only screen and (min-width: 320px) {
    html {
        font-size: 90px !important;
    }
    html body {
        min-font-size: 12px;
    }
}
@media only screen and (min-width: 340px) {
    html {
        font-size: 105px !important;
    }
}
@media only screen and (min-width: 360px) {
    html {
        font-size: 110px !important;
    }
}
@media only screen and (min-width: 384px) {
    html {
        font-size: 120px !important;
    }
}
@media only screen and (min-width: 480px) {
    html {
        font-size: 150px !important;
    }
}
@media only screen and (min-width: 520px) {
    html {
        font-size: 160px !important;
    }
}
@media only screen and (min-width: 540px) {
    html {
        font-size: 170px !important;
    }
}
@media only screen and (min-width: 640px) {
    html {
        font-size: 200px !important;
    }
}

/* loading 蒙板 */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    background-image: url("../images/loading.gif");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 10%;
    z-index: 999;
}
