/*公共样式*/
html,body{
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #fff;
    margin: 0;
    padding: 0;
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body{
    overflow-y: scroll;
    padding-bottom: 96px;
}


/*悬浮下载页面*/
.flex{
    width: 100%;
    height: 100%;
    position: absolute;
    top:0;
}
.download-flex{
    position: fixed;
    z-index: 10;
    top:0;
    left: 0;
    background: #fff;
    display: flex;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}
.download-flex>img{
    width: 76px;
    height: 76px;
}
.download-flex>.content{
    width: 186px;
    padding: 0 6px;
}
.download-flex>.content>.title{
    font-size: 16px;
    font-weight: bold;
    margin: 0;
}
.download-flex>.content>.body{
    margin-top: 5px;
}
.my-link a{
    text-decoration: underline;
    font-weight: bold;
    color: #9C9C9C;
}
.download-flex>.content>.body>p{
    font-size: 11px;
    color: #9C9C9C;
    margin: 0;
}
.download-flex>.download-btn{
    position: absolute;
    right: 10px;
    width: 110px;
    background: #FDA000;
    font-size: 16px;
    font-weight: bold;
    border: none;
    color: #fff;
    height: 40px;
    border-radius: 60px;
    padding: 0;
    line-height: 40px;
    margin-top: 17px;
}
.download-flex.top{
    position: relative;
    box-shadow: 0 3px 3px rgba(238, 238, 238, 0.59);
}
.download-flex.top .download-btn{
    animation: ani4 2s;
    animation-delay:.4s;
    animation-iteration-count:infinite;
}
.download-flex.bottom{
    bottom:0;
    top:initial;
    background: linear-gradient(#01B7A3, #009266);
    box-shadow: 0 -3px 3px rgba(1, 183, 163, 0.21);
}
.bottom>.content{
    color: #fff;
}
.bottom>.content>.body{
    margin-top: 8px;
}
.bottom>.content>.body>p{
    font-size: 11px;
    color: #fff;
}
.bottom>.content>.body>.label{
    margin-top: 8px;
}
.bottom>.content>.body>.label>label{
    font-size: 11px;
    color: #eee;
    border: 1px solid #eee;
    border-radius: 3px;
    padding: 3px 4px;
    margin-right: 3px;
}
.star{
    display: inline-block;
    width: 80px;
    margin: 0 3px;
}
.star>img{
    width: 12px;
    display: inline-block;
    opacity: .4;
    animation: ani3 .5s;
    animation-fill-mode:forwards;
}
.bottom>.download-btn{
    width: 120px;
}

/*正在下载中弹窗*/
.download-popup{
    display: none;
    z-index: 11;
    background: rgba(9, 9, 9, 0.21);
    width: 100%;
    height: 100%;
    top:0;
    left: 0;
    position: fixed;
    justify-content: center;
    align-items: center;
}
.download-popup>div{
    background: #fff;
    width: 80%;
    max-width: 500px;
    min-height: 70px;
    border-radius: 10px;
    position: relative;
    padding: 5px 0;
}
.download-popup>div .logo{
    width: 50px;
    border-radius: 50%;
    position: absolute;
    top:-25px;
    left: -10px;
    background: #fff;
    padding: 5px;
}
.download-popup>div .title{
    font-size: 15px;
    font-weight: bold;
    margin-left: 50px;
    margin-top: 5px;
}
.download-popup>div .progress-bar{
    background: #eee;
    width: 90%;

    height: 25px;
    margin: 5px 5%;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 0 3px #ddd inset;
}
.download-popup>div .progress-bar>.bar{
    width: 10%;
    background: #67c23a;
    height: 25px;
    margin: 0;
    padding: 0;
    border-radius: 25px;
}
.download-popup>div .progress-title{
    text-align: center;
    color: #888;
    font-size: 12px;
}
.download-popup>div .close{
    width: 24px;
    height: 24px;

    position: absolute;
    right: -10px;
    bottom: -110px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    border: 2px solid #eee;
    padding: 10px;
    border-radius: 50%;
}

/*页脚*/
body>.body>footer{
    text-align: center;
    color: #9C9C9C;
    margin: 20px 0;
    font-size: 13px;
}
body>.body>footer>p{
    margin: 2px 0;

}


.download-popup>div .close>img{
    width: 100%;
}
/*动画*/
.btn-ani1{
    animation: ani1 2s;
    animation-delay:.2s;
    animation-iteration-count:infinite;

}
.progress-bar-ani1{
    animation: ani2 30s;
    animation-fill-mode:forwards;
}
.common-btn-ani2{
    animation: ani4 2s;
    animation-delay:.2s;
    animation-iteration-count:infinite;

}

@-webkit-keyframes ani1 /* Safari 与 Chrome */
{
    0%{
        transform: scale(.8);
    }
    10%{
        transform: scale(.9);
    }
    20%{
        transform: scale(.8);
    }
    30%{
        transform: scale(.9);
    }
    40%{
        transform: scale(.8);
    }
    60%{
        transform: scale(.9) rotate(-10deg);
    }
    65%{
        transform: scale(.9) rotate(10deg);
    }
    70%{
        transform: scale(.9) rotate(-10deg);
    }
    75%{
        transform: scale(.9) rotate(10deg);
    }
}
@-webkit-keyframes ani2{
    0%{
        width: 0;
    }
    8%{
        width: 60%;
    }
    50%{
        width: 80%;
    }
    100%{
        width: 99%;
    }
}
@-webkit-keyframes ani3{
    0%{
        transform: scale(0);
        opacity: 1;
    }
    10%{
        transform: scale(1.6);
        opacity: 1;
    }
    20%{
        transform: scale(1.6);
        opacity: 1;
    }
    100%{
        transform: scale(1);
        opacity: 1;
    }
}
@-webkit-keyframes ani4{
    0%{
        transform: scale(1);
        opacity: 1;
    }
    25%{
        transform: scale(1.1);
        opacity: 1;
    }
    50%{
        transform: scale(1);
        opacity: 1;
    }
    75%{
        transform: scale(1.1);
        opacity: 1;
    }
    100%{
        transform: scale(1);
        opacity: 1;
    }
}
.max-bg{
    display: none;
}
/*大尺寸屏幕适配*/
@media screen and (min-width: 900px){
    body{
        width: 480px;
        margin:auto;
    }
    .max-bg{
        display: inherit !important;
        position: absolute;
        z-index: -1;
        left: 0;
        top:0;
        width: 100%;
        height: 100%;
        filter: blur(15px);
        opacity: .3;
    }
    body::-webkit-scrollbar { /*滚动条整体样式*/
        width: 3px;
    }
    body::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
        border-radius: 10px;
        -webkit-box-shadow: inset 0 0 5px rgba(63, 62, 62, 0.2);
        background: #c0bcbc;
    }
}