/* 手机版*/

body {
    position: relative;
    overflow-x: hidden;
    background: #333;
}

.m-top {
    position: relative;
    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: 19px;
    right: 10px;
    text-align: center;
}

.m-top .btn span {
    display: block;
    width: 30px;
    height: 4px;
    background: #ca0000;
    -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;
        left: 0;
        top: 0;
        width: 100%;
        background: #ca0000;
    }
    .head {
        position: relative;
        width: 62.5vw;
        margin: 0 auto;
    }
    .logo {
        position: absolute;
        z-index: 60;
        left: 50%;
        top: 1vw;
        margin-left: -7vw;
    }
    .logo img {
        width: 14vw;
    }
    .nav {
        padding: 0;
    }
    .nav ul {
        display: flex;
        justify-content: center;
    }
    .nav ul li {
        width: 5.5vw;
        padding: 1.5vw 0;
    }
    .nav ul li:nth-child(6) {
        margin-left: 16.4vw;
    }
    .nav ul a {
        display: block;
        font-size: 0.9vw;
        line-height: 2vw;
        color: #fff;
        text-align: center;
        transition: 0.3s;
    }
    .nav ul a:hover {
        transform: translate3d(0, -0.3vw, 0);
    }
}


/* public */

.public {
    background: url(../images/public_bg.jpg) no-repeat center 0/cover;
}

.public-main {
    padding: 0.4rem 0.3rem;
}

.public-slide {
    display: flex;
    justify-content: space-between;
}

.public-logo {
    padding: 0;
}

.public-logo img {
    width: 4rem;
}

.public-ewm {
    text-align: center;
}

.public-ewm i {
    display: block;
}

.public-ewm i img {
    width: 1.35rem;
}

.public-ewm p {
    margin-top: 5px;
    font-size: 12px;
    line-height: 18px;
    color: #fff;
}

.public-box {
    position: relative;
    padding: 0 0.5rem;
}

.top {
    display: none;
}

.top img {
    width: 3.6vw;
}

.public-title {
    padding: 0 0 0.4rem;
    font-size: 0.3rem;
    line-height: 0.36rem;
    text-align: left;
    color: #8d8d8d;
    text-transform: uppercase;
}

.public-tel {
    font-size: 0.48rem;
    line-height: 0.54rem;
    color: #fff;
}

.public-adress {
    padding: 0 0 0.5rem;
    font-size: 0.3rem;
    line-height: 0.36rem;
    color: #fff;
}

.public-link {
    display: none;
}

.public-nav {
    display: none;
}

footer {
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    line-height: 20px;
}

footer p {
    padding-right: 5px;
    color: #8d8d8d;
}

footer a {
    padding-right: 5px;
    color: #8d8d8d;
}

@media (min-width: 1200px) {
    .public {
        background: url(../images/public_bg.jpg) no-repeat center 0/cover;
    }
    .public-main {
        display: flex;
        justify-content: space-between;
        width: 72vw;
        margin: 0 auto;
        padding: 6vw 0;
    }
    .public-slide {
        display: block;
        width: 15vw;
        padding: 1.2vw 0 0;
    }
    .public-logo {
        padding: 0 0 6vw;
    }
    .public-logo img {
        width: 15vw;
    }
    .public-ewm {
        text-align: center;
    }
    .public-ewm i {
        display: block;
    }
    .public-ewm i img {
        width: 7vw;
    }
    .public-ewm p {
        margin-top: 0;
        font-size: 0.8vw;
        line-height: 2vw;
        color: #fff;
    }
    .public-box {
        position: relative;
        width: 45vw;
        padding: 0;
    }
    .top {
        display: block;
        position: absolute;
        right: 0;
        top: 4.5vw;
        cursor: pointer;
    }
    .top img {
        width: 3.6vw;
    }
    .public-title {
        padding: 0 0 2vw;
        font-size: 0.8vw;
        line-height: 1.2vw;
        text-align: left;
        color: #8d8d8d;
        text-transform: uppercase;
    }
    .public-tel {
        font-size: 2.4vw;
        line-height: 3vw;
        color: #fff;
    }
    .public-adress {
        padding: 0 0 3vw;
        font-size: 0.9vw;
        line-height: 1.2vw;
        color: #fff;
        opacity: 0.2;
    }
    .public-link {
        display: block;
        font-size: 14px;
        line-height: 20px;
        color: #8d8d8d;
        text-transform: uppercase;
    }
    .public-nav {
        display: block;
        padding: 2vw 0 3.2vw;
    }
    .public-nav ul {
        display: flex;
        justify-content: space-between;
    }
    .public-nav ul li {
        padding: 0;
    }
    .public-nav ul a {
        display: block;
        font-size: 0.9vw;
        line-height: 1.2vw;
        color: #fff;
    }
    .public-nav ul a:hover {
        color: #ca0000;
    }
    footer {
        display: flex;
        flex-wrap: wrap;
        width: 24vw;
        font-size: 14px;
        line-height: 20px;
    }
    footer p {
        padding-right: 5px;
        color: #8d8d8d;
    }
    footer a {
        padding-right: 5px;
        color: #8d8d8d;
    }
}
