/* 禁用iPhone中Safari的字号自动调整 */

html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    height: 100%;
    font-family: "Microsoft YaHei", Helvetica, Arial, sans-serif;
    font-size: 100px;
}

body,
div,
dl,
dt,
dd,
menu,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
input,
button,
textarea,
p,
th,
td,
hr {
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-font-smoothing: antialiased;
}

body {
    height: 100%;
    font-size: 0.28rem;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    margin: 0 auto;
    min-width: 320px;
    color: #666;
    background-color: #fff;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

}

    *:not(input, select, textArea) {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }

textarea, input, button {
    font-size: 0.28rem;
    font-family: "Microsoft YaHei", Helvetica, Arial, sans-serif;
}

figcaption,
figure,
footer,
header,
nav,
section,
summary {
    display: block;
    margin: 0;
    padding: 0;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

    video::-webkit-media-controls {
        display: none !important;
        /*隐藏默认播放器工具栏*/
    }

a {
    color: #666;
    background: transparent;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    /*设置的tap A标签的时候出现的黑色高亮*/
}

    a:active {
        outline: 0;
        background: none;
    }

    a:visited {
        text-decoration: none
    }

:focus {
    outline: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -moz-tap-highlight-color: rgba(0, 0, 0, 0);
    tap-highlight-color: rgba(0, 0, 0, 0)
}

em,
i,
var,
address {
    font-style: normal;
}

textarea {
    overflow: auto;
    resize: none;
    vertical-align: top;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
    font-size: 100%;
}


/* 图片自适应 */

img {
    max-width: 100%;
    height: auto;
    width: auto\9;
    /* ie8 */
    -ms-interpolation-mode: bicubic;
    /*为了照顾ie图片缩放失真*/
    vertical-align: top;
}


/*自定义下拉菜单*/

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-border-radius: 0;
    background: url("../images/select.png") no-repeat right 0.1rem center/0.2rem auto;
    padding: 0 0.3rem 0 0.1rem;
}

/*谷歌记住密码后的默认样式*/
input:-webkit-autofill {
    -webkit-text-fill-color: #fff !important;
    transition: background-color 10000s ease-in-out 0s;
}

/*隐藏input数字框上下小箭头*/

input[type="date"]::-webkit-inner-spin-button {
    visibility: hidden !important;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
    border: none;
    background: transparent;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
}


/*隐藏清除按钮*/

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

button:active,
input[type="submit"]:active,
input[type="button"]:active {
    opacity: 0.8;
}

::-webkit-input-placeholder {
    /* WebKit browsers */
    color: #ccc;
}

:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: #ccc;
}

::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #ccc;
}

:-ms-input-placeholder {
    /* Internet Explorer 10+ */
    color: #ccc;
}

/*=====适配=====*/

@media only screen and (min-width: 320px) {
    html {
        font-size: 42.66666666666667px;
    }
}

@media only screen and (min-width: 360px) {
    html {
        font-size: 48px;
    }
}

@media only screen and (min-width: 375px) {
    html {
        font-size: 50px;
    }
}

@media only screen and (min-width: 400px) {
    html {
        font-size: 53.333333333333336px;
    }
}

@media only screen and (min-width: 414px) {
    html {
        font-size: 55.2px;
    }
}

@media only screen and (min-width: 480px) {
    html {
        font-size: 64px;
    }
}

@media only screen and (min-width: 540px) {
    html {
        font-size: 72px;
    }
}

@media only screen and (min-width: 600px) {
    html {
        font-size: 80px;
    }
}

@media only screen and (min-width: 640px) {
    html {
        font-size: 85.33333333333334px;
    }
}

@media only screen and (min-width: 720px) {
    html {
        font-size: 96px;
    }
}

@media only screen and (min-width: 750px) {
    html {
        font-size: 100px;
    }
}

@media only screen and (min-width: 800px) {
    html {
        font-size: 106.66666666666667px;
    }
}

@media only screen and (min-width: 960px) {
    html {
        font-size: 128px;
    }
}

@media only screen and (min-width: 1080px) {
    html {
        font-size: 144px;
    }
}
/*禁止选中文本内容*/
*:not(input, select, textArea) {
    -webkit-user-select: none;
}
/*禁用长按页面时的弹出菜单(iOS下有效) ,img和a标签都要加*/
img, a {
    -webkit-touch-callout: none;
}
/*去掉点击链接和文本框对象时默认的灰色半透明覆盖层(iOS)或者虚框(Android)*/
a, button, input, textarea {
    -webkit-tap-highlight-color: transparent;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.left {
    float: left;
}

.right {
    float: right;
}

/*@media screen and (min-width:100px){ !*  iPhone 4,5 *!*/
/*html{ font-size: 10px;}*/
/*}*/
/*@media screen and (min-width:320px){ !*  iPhone 4,5 *!*/
/*html{ font-size: 10px;}*/
/*}*/
/*@media screen and (min-width:375px){ !*  iPhone 6 *!*/
/*html{ font-size: 12px;}*/
/*}*/
/*@media screen and (min-width:414px){  !*  iPhone 6 plus *!*/
/*html{ font-size: 12px;}*/
/*}*/
/*@media screen and (min-width:600px){*/
/*html{ font-size:14px;}*/
/*}*/
.wrapper {
    position: relative;
    width: 100%;
    max-width: 640px;
    height: auto;
    min-height: 100%;
    margin: 0 auto;
    overflow: hidden;
    background: #fff;
}

.animated {
    -webkit-animation-duration: .4s;
    animation-duration: .4s;
}


/* 加载中 */
.loading {
    height: 0.4rem;
    width: 0.4rem;
    border-radius: 100%;
    display: inline-block;
    margin: 0.2rem 0.1rem;
    border: 0.04rem solid #61c66d;
    border-bottom-color: transparent;
    vertical-align: middle;
    -webkit-animation: rotate 1.1s infinite linear;
    animation: rotate 1.1s infinite linear;
}
/**加载效果旋转**/
@-webkit-keyframes rotate {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotate {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.no-data {
    text-align: center;
    padding-top: 10%;
    /*display:none;*/
}

    .no-data img {
        width: 40%;
    }

.dropload-refresh, .dropload-update, .dropload-load, .dropload-noData {
    height: 1rem;
    line-height: 1rem;
    text-align: center;
}

.dropload-noData {
    color: #ccc;
    position: relative;
}

    .dropload-noData::before {
        position: absolute;
        width: 50%;
        height: 1px;
        background: #ccc;
        top: 0;
        left: 0;
    }
