.speed-test-bg{
    background: #FAFBFC;
    padding: 60px 0 60px 0;
}
.speed-test{
    text-align: center;
}
.speed-test h1{
    color:#333333;
    font-weight: bold;
    font-size: 28px;
    margin: 0;
}
#loading{
    background-color:#FAFBFC;
    color:#404040;
    text-align:center;
}

/*ip地址*/
#ipArea{
    height: 40px;
    width: 100%;
    background: #EAEEFC;
    line-height: 40px;
    font-weight: bold;
    font-size: 16px;
    color: #333333;
    margin-bottom: 20px;
    margin-top: 60px;
}

span.loadCircle{
    display:inline-block;
    width:2em;
    height:2em;
    vertical-align:middle;
    background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAAP1BMVEUAAAB2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZyFzwnAAAAFHRSTlMAEvRFvX406baecwbf0casimhSHyiwmqgAAADpSURBVHja7dbJbQMxAENRahnN5lkc//5rDRAkDeRgHszXgACJoKiIiIiIiIiIiIiIiIiIiIj4HHspsrpAVhdVVguzrA4OWc10WcEqpwKbnBo0OU1Q5NSpsoJFTgOecrrdEag85DRgktNqfoEdTjnd7hrEHMEJvmRUYJbTYk5Agy6nau6Abp5Cm7mDBtRdPi9gyKdU7w4p1fsLvyqs8hl4z9/w3n/Hmr9WoQ65lAU4d7lMYOz//QboRR5jBZibLMZdAR6O/Vfa1PlxNr3XdS3HzK/HVPRu/KnLs8iAOh993VpRRERERMT/fAN60wwWaVyWwAAAAABJRU5ErkJggg==');
    background-size:2em 2em;
    margin-right:0.5em;
    animation: spin 0.6s linear infinite;
}
@keyframes spin{
    0%{transform:rotate(0deg);}
    100%{transform:rotate(359deg);}
}
.speedBuyBtn{
    display:inline-block;
    margin-left:20px;
    color: #FFFFFF;
    background-color: #409EFF;
    border-radius: 5px;
    transition:all 0.3s;
    box-sizing:border-box;
    width: 120px;
    height: 40px;
    line-height:40px;
    cursor:pointer;
    box-shadow: 0 0 0 rgba(0,0,0,0.1), inset 0 0 0 rgba(0,0,0,0.1);
    margin-top: 20px;
    cursor: pointer;
}
#startStopBtn{
    display:inline-block;
    margin-left:20px;
    color: #FFFFFF;
    background-color: #3860F4;
    border-radius: 5px;
    transition:all 0.3s;
    box-sizing:border-box;
    width: 120px;
    height: 40px;
    line-height:40px;
    cursor:pointer;
    box-shadow: 0 0 0 rgba(0,0,0,0.1), inset 0 0 0 rgba(0,0,0,0.1);
}
#startStopBtn:hover{
    box-shadow: 0 0 2em rgba(0,0,0,0.1), inset 0 0 1em rgba(0,0,0,0.1);
}
#startStopBtn.running{
    background-color:#FF3030;
    border-color:#FF6060;
    color:#FFFFFF;
}
#startStopBtn:before{
    content:"开始测试";
}
#startStopBtn.running:before{
    content:"停止测试";
}
#serverArea{
    margin-top:1em;
}
#serverArea .title{
    font-weight: bold;
    font-size: 16px;
    color: #333333;
    display: inline-block;
}
#serverArea #server{
    width: 360px;
    height: 40px;
    line-height: 40px;
    border: 1px solid #EEEEEE;
    background: #FFFFFF;
    font-weight: 400;
    font-size: 16px;
    color: #666666;
}
#test{
    margin-top:2em;
    margin-bottom:2em;
}
div.testArea{
    display:inline-block;
    position:relative;
    box-sizing:border-box;

    width: 285px;
    height: 304px;
    background: #FFFFFF;
}
div.testArea2{
    display:inline-block;
    width:14em;
    height:7em;
    position:relative;
    box-sizing:border-box;
    text-align:center;
}
div.testArea div.testName{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    z-index:9;

    height: 48px;
    line-height: 48px;
    background: #3860F4;
    font-weight: bold;
    font-size: 16px;
    color: #fff;
    text-align: center;
}
div.testArea div.testName span{
    font-weight: bold;
    font-size: 16px;
    color: #FFFFFF;
    padding-left: 8px;
    opacity: 0.8;
}
div.testArea2 div.testName{
    display:block;
    text-align:center;
    font-size:1.4em;
}
div.testArea div.meterText{
    position:absolute;
    bottom:4.3em;
    left:0;
    width:100%;
    font-size:28px;
    z-index:9;

    font-weight: bold;
    color: #333333;
}
div.testArea2 div.meterText{
    display:inline-block;
    font-size:2.5em;
}
div.meterText:empty:before{
    content:"0.00";
}
div.testArea div.unit{
    position:absolute;
    bottom:6.5em;
    left:0;
    width:100%;
    z-index:9;

    font-weight: bold;
    font-size: 14px;
    color: #B7B8B9;
}
div.testArea2 div.unit{
    display:inline-block;
}
div.testArea canvas{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:1;
}
div.testGroup{
    display: flex;
    justify-content: space-between;
}
#shareArea{
    width:95%;
    max-width:40em;
    margin:0 auto;
    margin-top:2em;
}
#shareArea > *{
    display:block;
    width:100%;
    height:auto;
    margin: 0.25em 0;
}
#privacyPolicy{
    position:fixed;
    top:2em;
    bottom:2em;
    left:2em;
    right:2em;
    overflow-y:auto;
    width:auto;
    height:auto;
    box-shadow:0 0 3em 1em #000000;
    z-index:999999;
    text-align:left;
    background-color:#FFFFFF;
    padding:1em;
}
a.privacy{
    text-align:center;
    font-size:0.8em;
    color:#808080;
    display:block;
}
@media all and (max-width:40em){
    body{
        font-size:0.8em;
    }
}
div.visible{
    animation: fadeIn 0.4s;
    display:block;
}
div.hidden{
    animation: fadeOut 0.4s;
    display:none;
}
@keyframes fadeIn{
    0%{
        opacity:0;
    }
    100%{
        opacity:1;
    }
}
@keyframes fadeOut{
    0%{
        display:block;
        opacity:1;
    }
    100%{
        display:block;
        opacity:0;
    }
}
