*,
::after,
::before {

    padding: 0;
    margin: 0;

    /*清除ios默认的点击时产生的高亮区块   rgba(0,0,0,0)*/
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
    /*定义盒子模型定义的宽度从边框计算*/
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: "Avenir", "Arial", "Microsoft YaHei", "sans-serif";
    font-size: 14px;
    line-height: 1;
    color: #333;
    position: relative;
    background: #f5f6f7;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: #0b0b0b;
}

input,
textarea {
    border: 0;
    outline: none;
    resize: none;

    /*清楚ios浏览器默认的样式*/
    -webkit-appearance: none;
}

img {
    vertical-align: middle;
    /*清除3px的bug*/
    border: 0;
}

.clearfix::after,
.clearfix::before {
    clear: both;
    content: '.';
    height: 0;
    line-height: 0;
    visibility: hidden;
    display: block;
}

body,
html {
    height: 100%;
}

.wrapper {
    max-width: 640px;
    margin: 0 auto;
}


/*头部模块*/

.header {
    height: 40px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: transparent;
    border-bottom: 1px solid #ddd;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    z-index: 9999;
    max-width: 640px;
}

.header .header_box {
    position: relative;
    background: #fff;
    border-bottom: 1px solid #dcdcdc;
}

.header a.icon-left {
    position: absolute;
    top: 0;
    left: 0;
    height: 40px;
    width: 50px;
    font-size: 26px;
    text-align: center;
    line-height: 40px;
    color: #666;
}

.header a.icon-right {
    position: absolute;
    top: 0;
    right: 0;
    height: 40px;
    width: 50px;
    font-size: 18px;
    text-align: center;
    line-height: 40px;
    color: #666;
}

.header .title {
    width: 100%;
    height: 40px;
    padding-left: 60px;
    padding-right: 60px;
    text-align: center;
    font-size: 16px;
    line-height: 40px;
    color: #333;
}

.header-fill {
    display: block;
    width: 100%;
    height: 40px;
}


/*头部模块*/


/*没有内容*/

.no-content {
    width: 100%;
    height: 200px;
    background-color: #fff;
    line-height: 200px;
    color: #666;
    text-align: center;
    font-size: 15px;
}


/*没有内容*/

#goTop {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 80px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, .8);
    text-align: center;
}

#goTop a {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 40px;
    color: #666;
    font-size: 18px;
}

@media screen and (min-width:640px) {
    #goTop {
        right: auto !important;
        margin-left: 580px;
    }
}


/*返回顶部*/


/*返回顶部*/


/*底部导航*/

footer {
    width: 100%;
    max-width: 640px;
    height: 70px;
}

.footer-nav {
    position: fixed;
    bottom: 0px;
    overflow: hidden;
    border-top: 1px solid #f3f4f6;
    width: 100%;
    line-height: 28px;
    background: #fff;
    text-align: center;
    z-index: 9999;
    max-width: 640px;
    font-size: .75rem;
    height: 50px
}

.footer-nav a {
    width: 25%;
    float: left;
    color: #888
}

.footer-nav a i {
    height: 20px;
    width: 20px;
    margin: 0 auto;
    display: block;
    margin-top: 7px;
    font-size: 20px
}
.footer-nav a i img{
    width: 100%;
    display: block;
}

/*底部导航*/


/*iScroll 上拉加载 下拉刷新*/

#pullDown,
#pullUp {
    background: #fff;
    height: 50px;
    line-height: 50px;
    padding: 5px 10px;
    border-bottom: 1px solid #ccc;
    font-weight: bold;
    font-size: 14px;
    color: #888;
}

#pullDown .pullDownIcon,
#pullUp .pullUpIcon {
    display: block;
    float: left;
    width: 50px;
    height: 50px;
    -webkit-background-size: 40px 80px;
    background-size: 40px 80px;
    -webkit-transition-property: -webkit-transform;
    -webkit-transition-duration: 250ms;
}

#pullDown .pullDownIcon {
    -webkit-transform: rotate(0deg) translateZ(0);
}

#pullUp .pullUpIcon {
    -webkit-transform: rotate(-180deg) translateZ(0);
}


/*自定义滚动条*/

.myScrollbar {
    position: absolute;
    width: 8px;
    bottom: 7px;
    top: 2px;
    right: 1px;
    z-index: 1000;
}

.myScrollbar div {
    position: absolute;
    z-index: 100;
    width: 100%;
    background: -webkit-gradient(linear, 0 0, 100% 0, from(#f00), to(#900));
    border: 1px solid #800;
    -webkit-background-clip: padding-box;
    -webkit-box-sizing: border-box;
    -webkit-border-radius: 4px;
    -webkit-box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.5);
}


/*加载中*/

.loader {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 30%;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.loader .dot {
    width: 4px;
    height: 4px;
    border-radius: 2px;
    background: rgba(136, 136, 136, 0.7);
    position: absolute;
    animation: loaderDot linear 0.8s infinite;
    -webkit-animation: loaderDot linear 0.8s infinite;
}

.loader .dot:nth-child(1) {
    left: 24px;
    top: 2px;
    animation-delay: 0s;
}

.loader .dot:nth-child(2) {
    left: 40px;
    top: 8px;
    animation-delay: 0.1s;
}

.loader .dot:nth-child(3) {
    left: 47px;
    top: 24px;
    animation-delay: 0.1s;
}

.loader .dot:nth-child(4) {
    left: 40px;
    top: 40px;
    animation-delay: 0.2s;
}

.loader .dot:nth-child(5) {
    left: 24px;
    top: 47px;
    animation-delay: 0.4s;
}

.loader .dot:nth-child(6) {
    left: 8px;
    top: 40px;
    animation-delay: 0.5s;
}

.loader .dot:nth-child(7) {
    left: 2px;
    top: 24px;
    animation-delay: 0.6s;
}

.loader .dot:nth-child(8) {
    left: 8px;
    top: 8px;
    animation-delay: 0.7s;
}

@keyframes loaderDot {
    0%,
    40%,
    100% {
        transform: scale(1);
    }
    20% {
        transform: scale(3);
    }
}

@-webkit-keyframes loaderDot {
    0%,
    40%,
    100% {
        transform: scale(1);
    }
    20% {
        transform: scale(3);
    }
}