/* 手机版*/

body {
    position: relative;
    overflow-x: hidden;
    background: #333;
}

.m-top {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 1.6rem;
    z-index: 99;
    background: #fff;
}

.m-logo {
    display: block;
    position: absolute;
    left: 4px;
    top: 8px;
}

.m-logo img {
    height: 42px;
}

.m-top .btn {
    position: absolute;
    z-index: 100;
    top: 10px;
    right: 4px;
    width: 40px;
    height: 40px;
    padding: 7px 5px;
    text-align: center;
}

.m-top .btn span {
    display: block;
    width: 30px;
    height: 2px;
    margin: 5px 0;
    background: #176c00;
    -webkit-transition: .3s;
    transition: .3s;
}

.cross span:nth-of-type(1) {
    transform: translateY(9px) rotate(-45deg);
}

.cross span:nth-of-type(2) {
    opacity: 0;
}

.cross span:nth-of-type(3) {
    transform: translateY(-5px) 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, .6)
}

.wrapper {
    position: relative;
    overflow-x: hidden;
    width: 100%;
    height: 100%;
    background: #fff;
}

header {
    display: none;
}

@media (min-width:1200px) {
    header {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        z-index: 999;
        left: 0;
        top: 0;
        width: 150px;
        height: 100%;
        /* background: rgba(255, 255, 255, 0.8); */
        background: #fff;
    }

    .head-box {
        width: 100%;
    }

    .logo {
        display: block;
        text-align: center;
    }

    header .nav {
        padding: 15px 0 0;
    }

    .nav ul {}

    .nav ul li {
        padding: 1px 0;
    }

    .nav ul li a {
        display: block;
        font: 400 16px/36px '微软雅黑';
        color: #333;
        text-align: center;
        background: url(../images/color_g.jpg) no-repeat center center/0 100%;
        transition: 1s background;
    }

    .nav ul li a:hover {
        color: #fff;
        background-size: 100% 100%;
    }

    .nav ul li.active a {
        color: #fff;
        background-size: 100% 100%;
    }

    .head-ewm {
        padding: 10px 0 0;
        text-align: center;
    }

    .head-ewm img {
        width: 100px;
    }
}

@media (min-width:1380px) {
    header {
        width: 175px;
    }

    .nav ul li a {
        font: 400 18px/54px '微软雅黑';
    }

    .head-ewm img {
        width: 121px;
    }
}