/* 手机版*/

body {
    position: relative;
    overflow-x: hidden;
    background: #333;
}

.m-top {
    position: absolute;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    height: 60px;
    background: url(../images/m_nav_bg.jpg) no-repeat center 0/cover;
}

.m-logo {
    display: block;
    position: absolute;
    left: 10px;
    top: 8px;
}

.m-logo img {
    height: 45px;
}

.m-top .btn {
    position: absolute;
    z-index: 100;
    top: 19px;
    right: 10px;
    text-align: center;
}

.m-top .btn span {
    display: block;
    width: 30px;
    height: 4px;
    background: #fff;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.m-top .btn span:nth-child(2) {
    margin: 5px 0;
}

.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(-9px) 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: block;
        position: absolute;
        z-index: 60;
        left: 0;
        top: 0;
        width: 100%;
        border-top: 8px solid #a00009;
    }

    header .logo {
        position: absolute;
        z-index: 5;
        left: 30px;
        top: 24px;
    }

    header .logo img {
        height: 100px;
    }

    .head-btn {
        position: absolute;
        z-index: 50;
        right: 72px;
        top: 36px;
    }

    .head-btn img {
        width: 60px;
    }

    .nav {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        z-index: 29;
        right: 0;
        top: 0;
        width: 0;
        height: 100%;
        overflow: hidden;
        visibility: hidden;
        background: rgba(255, 255, 255, 0.9);
        transition: 1s;
    }

    .nav ul {
        display: flex;
        width: 100%;
        height: 100%;

    }

    .nav li {
        width: 12.5%;
        height: 100%;
        padding: 0 25px 0;
    }

    .nav li::before {
        display: block;
        content: '';
        height: 25%;
    }

    .nav li:nth-child(2n+1) {
        background: rgba(255, 255, 255, 0.55)
    }

    .nav li a {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font: bold 18px/48px "微软雅黑";
        color: #666;
        transition: 0.3s;
    }

    .nav li a p {
        font: 400 28px/36px '微软雅黑';
        color: #bc1c25;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;

    }

    .nav li a span {
        display: inline-block;
        min-width: 72px;
        margin-top: 6px;
        padding: 5px 0 0;
        font: 400 14px/20px '微软雅黑';
        text-transform: uppercase;
        border-top: 2px solid #ccc;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .nav li .nav-lev {
        margin: 15px 0 0;
    }

    .nav li .nav-lev a {
        font: 400 14px/28px '微软雅黑';
        color: #666;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .nav li:hover {
        color: #fff;
        background: #bc1c25;
    }

    .nav li:hover a {
        color: #fff;
    }

    .nav li:hover a p {
        color: #fff;
    }

    .nav li:hover a span {
        border-color: #fff;
    }

    .nav li .nav-lev a:hover {
        text-decoration: underline;
    }

    .nav.active {
        visibility: visible;
        overflow: hidden;
        width: 100%;
    }
}

@media (min-width: 1640px) {
    header .logo {
        left: 45px;
        top: 36px;
    }

    header .logo img {
        height: auto;
    }

    .head-btn img {
        width: auto;
    }
}