*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Avenir", Helvetica, Arial, sans-serif;
}
a{
    text-decoration: none;
}
ul,li{
    list-style: none;
}
@font-face {
    font-family: 'iconfont';
    src: url('../font/iconfont.eot');
    src: url('../font/iconfont.eot?#iefix') format('embedded-opentype'),
    url('../font/iconfont.woff2') format('woff2'),
    url('../font/iconfont.woff') format('woff'),
    url('../font/iconfont.ttf') format('truetype'),
    url('../font/iconfont.svg#iconfont') format('svg');
}
.iconfont {
    font-family: "iconfont";
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.icon {
    width: 3em; height: 3em;
    fill: currentColor;
    overflow: hidden;
}
body{
    max-width: 700px;
    margin: 0 auto;
}
body>*{
    max-width: 100%;
    overflow-x: hidden;
}
.headerbar{
    display: flex;
    justify-content: space-between;
    align-content: center;
    padding: 16px 18px;
    background-color: #fff;
}
.headerbar h2{
    color: #333;
    font-size: 20px;
    font-weight: 400;
}
.headerbar .btn span{
    font-size: 22px;
}
.mask{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,.2);
    z-index: 2147483647;
    display: none;
}
#sidebar1{
    background-color: #ffffff;
    position: absolute;
    top:0;
    transform: translateX(-65vw);
    min-height: 100vh;
    padding: 20px 30px;
    max-width: 65vw;
    animation: menudrop .3s linear forwards;
}
.hide #sidebar1{
    animation: menudrop 1s ease reverse forwards;
}
@keyframes menudrop{
    0% {
        transform: translateX(-65vw);
    }
    100% {
        transform: translateX(0);
    }
}
.close-sidebar{
    text-align: center;
    margin-bottom: 20px;
}
.close-sidebar span{
    font-weight: 600;
    font-size: 30px;
}
#sidebar1 ul li{
    padding: 12px 0;
}
#sidebar1 ul li a{
    color: #212121;
    font-size: 16px;
    font-weight: 500;
}
#sidebar2{
    background-color: #ffffff;
    position: absolute;
    top:0;
    right: 0;
    transform: translateX(240px);
    padding: 20px 30px;
    max-width: 240px;
    animation: sharedrop1 .3s linear forwards;
}
.hide #sidebar2{
    animation: sharedrop1 1s linear reverse forwards;
}
@keyframes sharedrop1{
    0% {
        transform: translateX(240px);
    }
    100% {
        transform: translateX(0);
    }
}
#sidebar2 ul li{
    padding: 5px 0;
}
.foot,.copy{
    text-align: center;
    font-size: 12px;
    color:#999;
    /*line-height: 13px;*/
    margin-left: 4px;
}
.foot span,.foot img{
    vertical-align: middle;
}
.copy{
    padding: 5px 0 30px;
}
#toggleMask{
    background-color: rgba(255,255,255,.2);
}
#sidebar3{
    background-color: #000;
    position: absolute;
    top:0;
    right: 0;
    transform: translateX(240px);
    padding: 20px 30px;
    min-height: 100vh;
    animation: sharedrop3 .3s linear forwards;
}
.hide #sidebar2{
    animation: sharedrop3 1s linear reverse forwards;
}
@keyframes sharedrop3{
    0% {
        transform: translateX(240px);
    }
    100% {
        transform: translateX(0);
    }
}
.leftBtn.iconfont{
    font-size: 25px !important;
}
