* {
    margin: 0;
    padding: 0;
}

body, html {
    width: 100%;
    height: 100%;
    font-family: Helvetica Neue,Helvetica,Roboto,Segoe UI,Arial,sans-serif;
    /*
    background: #f1eff2;
    overflow-x: hidden;
    overflow-y: auto;
    */
    -webkit-overflow-scrolling: touch;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(255,0,0,0);
}

input[type=button], input[type=submit], input[type=search], input[type=text], input[type=password], textarea {
    -webkit-appearance: none;
}

input::-webkit-input-placeholder {
    color: #ccc;
}

/*input textarea select控件样式*/
input[type=text], textarea, select {
    border: none;
    -webkit-tap-highlight-color: rgba(255,0,0,0); /*去除手机端点击显示阴影*/
    border-radius: 0; /*去除手机端默认圆角*/
    outline: none;
    font-size: 1rem;
    background: #fff;
}

input[type=date] {
    -webkit-appearance: none;
    border: none;
    -webkit-tap-highlight-color: rgba(255,0,0,0); /*去除手机端点击显示阴影*/
    border-radius: 0; /*去除手机端默认圆角*/
    outline: none;
    font-size: 1rem;
    background: #fff;
}

select {
    direction: rtl; /*内容右对齐*/
    background: #fff;
    -webkit-appearance: none; /*去除手机端默认样式 三角包*/
}


input[type=button] {
    border: none;
    color: #FFF;
    -webkit-tap-highlight-color: rgba(255,0,0,0); /*去除手机端点击显示阴影*/
    -webkit-appearance: none; /*去除手机端默认样式  圆角*/
}


div {
    -webkit-tap-highlight-color: rgba(255,0,0,0); /*去除手机端点击显示阴影*/
}



.h10 {
    height: 10px;
}

.h20 {
    height: 20px;
}

.h30 {
    height: 30px;
}


.none {
    display: none;
}
/*不同尺寸屏幕根文字大小*/
@media (min-width:0px) {
    html {
        font-size: 12px;
    }
}

@media (min-width: 320px) {
    html {
        font-size: 12px;
    }
}

@media (min-width: 340px) {
    html {
        font-size: 13px;
    }
}

@media (min-width: 360px) {
    html {
        font-size: 14px;
    }
}

@media (min-width: 380px) {
    html {
        font-size: 15px;
    }
}

@media (min-width: 400px) {
    html {
        font-size: 15px;
    }
}

@media (min-width: 420px) {
    html {
        font-size: 16px;
    }
}
















/*防止重复提交加载效果*/
.submit-mask {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.8);
    z-index: 9999;
    display: none;
}

.spinner {
    position: fixed;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100px;
    height: 40px;
    text-align: center;
}

    .spinner > div {
        margin: 1px;
        background-color: #fff;
        height: 100%;
        width: 5px;
        display: inline-block;
        border-radius: 3px;
        -webkit-animation: stretchdelay 1.2s infinite ease-in-out;
        animation: stretchdelay 1.2s infinite ease-in-out;
        box-shadow: 0 0 10px #fff;
    }

    .spinner .rect2 {
        -webkit-animation-delay: -1.1s;
        animation-delay: -1.1s;
    }

    .spinner .rect3 {
        -webkit-animation-delay: -1.0s;
        animation-delay: -1.0s;
    }

    .spinner .rect4 {
        -webkit-animation-delay: -0.9s;
        animation-delay: -0.9s;
    }

    .spinner .rect5 {
        -webkit-animation-delay: -0.8s;
        animation-delay: -0.8s;
    }

@-webkit-keyframes stretchdelay {
    0%, 40%, 100% {
        -webkit-transform: scaleY(0.6);
    }

    20% {
        -webkit-transform: scaleY(1.0);
    }
}

@keyframes stretchdelay {
    0%, 40%, 100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.6);
    }

    20% {
        transform: scaleY(1.0);
        -webkit-transform: scaleY(1.0);
    }
}
