/* 手机版*/

body {
    position: relative;
    overflow-x: hidden;
    background: #333;
}

.m-top {
    position: absolute;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    height: 60px;
    background: #c30d23;
}

.m-logo {
    display: block;
    position: absolute;
    left: 10px;
    top: 15px;
}

.m-logo img {
    height: 30px;
}

.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;
}

.nav-slide {
    display: none;
}

.open-nav {
    display: none;
}

@media (min-width: 1200px) {
    body {
        perspective: 1500px;
    }
    .nav-slide {
        display: block;
        position: fixed;
        z-index: 95;
        left: 0;
        top: 0;
        width: 54px;
        height: 100%;
        padding-top: 10px;
        background: #c30d23;
    }
    .logo1 {
        position: absolute;
        left: 65px;
        top: 30px;
        text-align: center;
        transition: 0.3s;
    }
    .logo1 img {
        width: 120px;
    }
    .nav-icon {
        display: block;
        position: absolute;
        z-index: 10;
        left: 0;
        top: 50%;
        width: 68px;
        height: 120px;
        margin-top: -60px;
        padding: 50px 0 0 15px;
        background: url(../images/menu_bg.png) no-repeat center center;
        cursor: pointer;
    }
    .nav-icon span {
        display: block;
        width: 30px;
        height: 4px;
        background: #fff;
        -webkit-transition: 0.3s;
        transition: 0.3s;
    }
    .nav-icon span:nth-child(2) {
        margin: 5px 0;
    }
    .nav-icon.cross span:nth-of-type(1) {
        transform: translateY(9px) rotate(-45deg);
    }
    .nav-icon.cross span:nth-of-type(2) {
        opacity: 0;
    }
    .nav-icon.cross span:nth-of-type(3) {
        transform: translateY(-9px) rotate(45deg);
    }
    .open-nav {
        display: block;
        position: fixed;
        z-index: 98;
        left: 0;
        top: 0;
        width: 250px;
        height: 100%;
        background: #fff；;
    }
    .logo2 {
        display: block;
        padding: 30px 0;
        text-align: center;
    }
    .logo2 img {
        width: 120px;
    }
    .nav ul {
        border-top: 1px solid #e5e5e5;
    }
    .nav ul li {
        border-bottom: 1px solid #e5e5e5;
    }
    .nav ul li a {
        display: block;
        font: 400 16px/42px "微软雅黑";
        color: #000;
        text-align: center;
    }
    .nav ul li a:hover {
        color: #fff;
        background: #c30d23;
    }
    .slide-ewm {
        position: absolute;
        left: 0;
        bottom: 2%;
        width: 100%;
        text-align: center;
    }
    .slide-ewm img {
        width: 120px;
        padding: 5px;
        background: #fff;
        border: 1px solid #c30d23;
    }
}

@media (min-width: 1380px) {
    .nav ul li a {
        font: 400 16px/48px "微软雅黑";
    }
    .logo2 {
        padding: 45px 0;
    }
}

@media (min-width: 1480px) {
    .logo1 {
        left: 85px;
        top: 40px;
    }
    .logo1 img {
        width: auto;
    }
    .nav ul li a {
        font: 400 16px/54px "微软雅黑";
    }
    .logo2 {
        padding: 60px 0;
    }
    .logo2 img {
        width: auto;
    }
    .slide-ewm {
        bottom: 5%;
    }
    .slide-ewm img {
        width: 150px;
        padding: 10px;
    }
}


/* 导航动画 */

.nav-slide {
    transition: 1s;
}

.nav-slide-acitve .nav-open {
    transition: 1s;
}

.nav-slide-acitve .nav-close {
    transition: 1s;
}

body .nav-slide-acitve {
    transform: translate3d(250px, 0, 0);
}

body .nav-slide-acitve .logo1 {
    opacity: 0;
}

.open-nav {
    perspective: 600px;
    transform: translate3d(-100%, 0, 0);
    transition: 1s;
}

.open-nav-box {
    height: 100%;
    transform: rotateY(-60deg);
    transform-origin: right center;
    transition: 1s;
}

body .open-nav-active {
    transform: translate3d(0, 0, 0);
}

body .open-nav-active .open-nav-box {
    transform: rotateY(0);
}

.parts {
    transition: 1s;
}

body .parts-active {
    transform: translate3d(250px, 0, 0);
}

article {
    transition: 1s;
}

body .article-active {
    transform: translate3d(250px, 0, 0);
}

.part-foot {
    transition: 1s;
}

body .part-foot-active {
    transform: translate3d(250px, 0, 0);
}

footer {
    transition: 1s;
}

body .footer-active {
    transform: translate3d(250px, 0, 0);
}