/* 手机版*/

body {
    position: relative;
    overflow-x: hidden;
    background: #333;
}

.m-top {
    position: absolute;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    height: 60px;
    background: #fff;
}

.m-logo {
    display: block;
    position: absolute;
    left: 10px;
    top: 6px;
}

.m-logo img {
    height: 48px;
}

.m-top .btn {
    position: absolute;
    z-index: 100;
    top: 14px;
    right: 10px;
    text-align: center;
}

.m-top .btn::before {
    content: '菜单';
    position: absolute;
    left: 0;
    top: 20px;
    width: 100%;
    font: 400 12px/16px '微软雅黑';
    color: #000;
    text-align: center;
}


.m-top .btn span {
    display: block;
    width: 30px;
    height: 3px;
    background: #000;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.m-top .btn span:nth-child(2) {
    margin: 5px 0 5px -5px;
}

.cross span:nth-of-type(1) {
    transform: translateY(8px) rotate(-45deg);
}

.cross span:nth-of-type(2) {
    opacity: 0;
}

.cross span:nth-of-type(3) {
    transform: translateY(-8px) rotate(45deg);
}

.m-nav {
    position: absolute;
    z-index: 99;
    right: -150px;
    top: 0;
    width: 0;
    height: 100%;
    overflow: hidden;
    padding-top: 86px;
    background: #333;
}

.m-nav li a {
    display: block;
    font: 400 16px/36px "微软雅黑";
    color: #fff;
    text-align: center;
}

.m-menu {
    margin: 0 auto;
}

.m-menu li {
    float: left;
    width: 33.3%;
    padding: 5px;
}

.m-menu li a {
    display: block;
    font: 400 14px/36px "Microsft yahei";
    color: #1a1a1a;
    text-align: center;
    background: rgba(255, 255, 255, 0.6);
}

.wrapper {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    background: #fff;
}

header {
    display: none;
}

@media (min-width: 1200px) {
    header {
        display: flex;
        align-items: center;
        position: fixed;
        z-index: 99;
        left: 0;
        top: 0;
        width: 144px;
        height: 100%;
    }

    .head {
        position: relative;
        width: 144px;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 5px;
    }

    .logo {
        position: absolute;
        left: 0;
        top: -50px;
        width: 100%;
        text-align: center;
    }

    .logo img {
        width: 100px;
    }

    .nav {
        padding: 100px 0 10px;
    }

    .nav ul {
        display: block;
    }

    .nav ul li {
        padding: 0 0 5px;
    }

    .nav ul a {
        display: block;
        padding: 0 0 30px;
        font: 400 16px/20px '微软雅黑';
        text-align: center;
        background: url(../images/nav_li_bg.png) no-repeat 165px bottom;
        transition: 0.3s;
    }

    .nav ul a span {
        display: block;
        color: #333;
        background: no-repeat center center;
        transition: 0.3s;

    }

    .nav ul a:hover {
        background-position: 30px bottom;
    }

    .nav ul a:hover span {
        color: #c80011;
        background-image: url(../images/nav_li_line.png);
        transform: translate3d(-15px, 0, 0);
    }
}

@media (min-width: 1480px) {
    header {
        width: 164px;
    }

    .head {
        width: 164px;
    }

    .logo {
        top: -64px;
    }

    .logo img {
        width: auto;
    }

    .nav {
        padding: 170px 0 30px;
    }

    .nav ul li {
        padding: 0 0 10px;
    }

}