@charset "utf-8";
/* CSS Document */

html,
body{
    height: 100%;
}
html{
    font-size: 100px;
}
body{
    background: #f0f0f0;
    font-weight: normal;
    font-family: Pingfang SC,Helvetica Neue,Helvetica,Hiragino Sans GB,Hiragino Sans GB W3,Microsoft YaHei UI,Microsoft YaHei,WenQuanYi Micro Hei,sans-serif;
    font-size: .14rem;
    line-height: 1.5;
    color: #515151;
}
*{
    margin: 0;
    padding: 0;
}
*:after,
*:before{
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  background: #e5e5e5;
}
*::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: #acacac;
}
input,
select,
button,
textarea{
    box-sizing: border-box;
    font-size: 100%;
    font-family: inherit;
    outline: 0;
    background: none;
    border: none;
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder{
    color: #ccc;
}
img{
    border: 0;
    -ms-interpolation-mode: bicubic;
    image-rendering: optimizeQuality;
    max-width: 100%;
}
a{
    color: #515151;
    text-decoration: none;
    -webkit-transition: color .3s ease;
    -moz-transition: color .3s ease;
    -ms-transition: color .3s ease;
    -o-transition: color .3s ease;
    transition: color .3s ease;
}
a:hover{
    color: #6bc30d;
}
a:focus{
    outline: none;
}
ul,
li{
    list-style:none;
}
table{
    width: 100%;
    border-collapse: collapse;
}
.green{
    color: #2eb6aa;
}
.va-middle{
    position: relative;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    -moz-transform: translate(0, -50%);
    -o-transform: translate(0, -50%);
    transform: translate(0, -50%);
}
.flex{
    display: flex;
}
.fixe{
    position: fixed;
}
.blur {
    filter: url(blur.svg#blur);
    -webkit-filter: blur(20px);
    -moz-filter: blur(20px);
    -ms-filter: blur(20px);
    filter: blur(20px);
    filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius=20, MakeShadow=false);
}


/*public css*/
.cf{
    *zoom: 1;
}
.cf:after{
    display: block;
    height: 0;
    clear: both;
    overflow: hidden;
    visibility: hidden;
    content: ".";
}
.tl{
    text-align: left !important;
}
.tc{
    text-align: center !important;
}
.tr{
    text-align: right !important;
}
.fl{
    float: left;
}
.fr{
    float: right;
}
.vt{
    vertical-align: top !important;
}
.none{
    display: none !important;
}
.relative{
    position: relative;
}
.ellipsis{
    max-width: 100%;
    word-break: keep-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nowrap{
    white-space: nowrap;
}
.table{
    display: table;
    width: 100%;
}
.tr-box{
    display: table-row;
}
.td-box{
    display: table-cell;
}
.container{
    box-sizing: border-box;
    max-width: 13.2rem;
    margin: 0 auto;
    padding: 0 .15rem;
}
.inline-block{
    display: inline-block;
}


.hljs {
    -webkit-overflow-scrolling: touch;
}

header.header{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: .6rem;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 -1px 2px #666;
    -webkit-transform: translateZ(0);
}
header.header .container{
    display: flex;
    position: relative;
    height: 100%;
}
header.header .logo-box{
    width: .53rem;
    height: .5rem;
    margin: auto 0;
    background: url(../img/logo.png) center center no-repeat;
    background-size: cover;
}
header.header .logo-box a{
    display: block;
    height: 100%;
}
header.header .nav{
    flex: 1;
    text-align: right;
}
header.header .nav a{
    position: relative;
    display: inline-block;
    height: 100%;
    margin: 0 .05rem;
    padding: 0 .22rem;
    font-size: .15rem;
    line-height: .6rem;
}
header.header .nav a:before{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #6bc30d;
    transform: scaleX(0);
    transition: transform .6s;
    content: '';
}
header.header .nav a.active{
    color: #6bc30d;
}
header.header .nav a.active:before{
    transform: scaleX(1);
}
header.header .nav-btn{
    display: none;
    position: absolute;
    top: .05rem;
    right: 0;
    width: .5rem;
    height: .5rem;
}
header.header .nav-btn:before,
header.header .nav-btn:after,
header.header .nav-btn span{
    position: absolute;
    left: .14rem;
    width: .22rem;
    height: 2px;
    background: #787977;
    transition: all .6s;
    content: '';
}
header.header .nav-btn:before{
    top: .18rem;
}
header.header .nav-btn:after{
    top: .32rem;
}
header.header .nav-btn span{
    top: .25rem;
}
header.header .nav-btn:hover:before,
header.header .nav-btn:hover:after,
header.header .nav-btn:hover span{
    background: #6bc30d;
}
header.header.active .nav-btn:before{
    top: .25rem;
    transform: rotate(45deg);
}
header.header.active .nav-btn:after{
    top: .25rem;
    transform: rotate(-45deg);
}
header.header.active .nav-btn span{
    opacity: 0;
}


footer.footer{
    background: #212220;
}
footer.footer .container{
    position: relative;
}
footer.footer h3{
    padding: .2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    font-size: .16rem;
    line-height: 1;
    color: #9e9e9e;
    font-weight: 400;
}
footer.footer .links{
    padding: .15rem 0 .1rem;
}
footer.footer .links a{
    display: inline-block;
    margin-right: .3rem;
}
footer.footer .copyright{
    padding-bottom: .15rem;
}
footer.footer .share-box{
    position: relative;
}
footer.footer .share-box p{
    position: absolute;
    right: 0;
    bottom: .15rem;
}
footer.footer .share-box a{
    display: inline-block;
    width: .32rem;
    height: .32rem;
    margin-left: .15rem;
    border-radius: 50%;
    background: rgba(0, 0, 0, .2);
    text-align: center;
    line-height: .32rem;
    font-size: .16rem;
    overflow: hidden;
    transition: background .2s;
}
footer.footer .share-box a.fa-weibo{
    font-size: .18rem;
}
footer.footer .share-box a:hover{
    color: #fff;
}
footer.footer .share-box a:nth-child(1):hover{
    background: #0275d8;
}
footer.footer .share-box a:nth-child(2):hover{
    background: #d9534f;
}
footer.footer .share-box a:nth-child(3):hover{
    background: #6bc30d;
}


#top{
    position: fixed;
    bottom: .2rem;
    right: .12rem;
    z-index: 9;
    width: .4rem;
    height: .4rem;
    visibility: hidden;
    background: rgba(67, 69, 70, .75);
    opacity: 0;
    transform: translate(0, 50%);
    transition: transform .5s, opacity .5s, visibility .5s, background .3s;
    overflow: hidden;
}
#top.show{
    opacity: 1;
    visibility: visible;
    transform: translate(0, 0);
}
#top:before {
    content: "";
    width: .12rem;
    height: .12rem;
    border-top: 1px solid rgba(255, 255, 255, .75);
    border-right: 1px solid rgba(255, 255, 255, .75);
    position: absolute;
    top: 45%;
    left: 55%;
    -webkit-transform: rotate(-45deg) translate(-50%, -50%);
    transform: rotate(-45deg) translate(-50%, -50%)
}
#top:hover{
    background-color: #6bc30d;
}
#top:hover:before{
    border-color: #fff;
}


@media screen and (max-width: 1440px) {
    .container {
        max-width: 11.4rem;
    }
}

@media screen and (max-width: 1300px) {
    .container {
        max-width: 9.6rem;
    }
}

@media screen and (max-width: 1024px) {
    .container {
        max-width: 7.6rem;
    }
    footer.footer .share-box {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .container {
        max-width: 6rem;
    }
    header.header .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, .9);
    }
    header.header .nav a {
        display: block;
        margin: auto;
        border-bottom: 1px solid rgba(212, 212, 212, .6);
        text-align: left;
        line-height: .45rem;
    }
    header.header .nav a:first-child {
        border-top: 1px solid rgba(212, 212, 212, .6);
    }
    header.header .nav a:before {
        display: none;
    }
    header.header.active .nav,
    header.header .nav-btn {
        display: block;
    }
}