/* 手机版*/

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: 10px;
}

.m-logo img {
    height: 40px;
}

.m-top .btn {
    position: absolute;
    z-index: 100;
    top: 0;
    right: 0;
    height: 60px;
    padding: 22px 52px 0 10px;
    text-align: center;
    background: #157842;
}

.m-top .btn::before {
    content: "导航";
    position: absolute;
    right: 10px;
    top: 20px;
    font-size: 18px;
    line-height: 20px;
    color: #fff;
}

.m-top .btn span {
    display: block;
    width: 20px;
    height: 3px;
    background: #fff;
    transition: 0.3s;
}

.m-top .btn span:nth-child(2) {
    margin: 4px 0;
}

.cross span:nth-of-type(1) {
    transform: translateY(7px) rotate(-45deg);
}

.cross span:nth-of-type(2) {
    opacity: 0;
}

.cross span:nth-of-type(3) {
    transform: translateY(-7px) rotate(45deg);
}

header {
    position: absolute;
    z-index: 99;
    right: -150px;
    top: 0;
    width: 0;
    height: 100%;
    overflow: hidden;
    padding-top: 86px;
    background: #333;
}

.logo {
    display: none;
}

header li a {
    display: block;
    font: 400 16px/36px "微软雅黑";
    color: #fff;
    text-align: center;
}

.wrapper {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    background: #fff;
}

@media (min-width: 1200px) {
    header {
        display: block;
        position: absolute;
        z-index: 99;
        left: 0;
        top: 0;
        right: auto;
        width: 100%;
        height: auto;
        padding: 0 3vw;
        background: none;
    }
    .head {
        background: rgba(255, 255, 255, 0.8);
    }
    .head .logo {
        display: block;
        position: absolute;
        z-index: 10;
        left: 50%;
        top: 1.1vw;
        margin-left: -4.5vw;
    }
    .head .logo img {
        width: 9vw;
    }
    .nav ul {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 4.5vw;
    }
    .nav ul li {
        padding: 0 0.6vw;
    }
    .nav ul li:nth-child(4) {
        margin-right: 18vw;
    }
    .nav ul a {
        display: block;
        padding: 0 0.8vw;
        font-size: 0.8vw;
        line-height: 1.6vw;
        color: #000;
        border-radius: 0.8vw;
    }
    .nav ul a:hover {
        color: #fff;
        background: #419168;
    }
}