/* 手机版*/

body {
    position: relative;
    overflow-x: hidden;
    background: #333;
}

.m-top {
    position: relative;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    height: 60px;
    background: #102541;
}

.m-logo {
    display: block;
    position: absolute;
    left: 10px;
    top: 5px;
}

.m-logo img {
    height: 50px;
}

.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) {
    body {
        padding-top: 84px;
    }

    header {
        position: fixed;
        z-index: 999;
        left: 0;
        top: 0;
        display: block;
        width: 100%;
        height: 84px;
        background: #102541;
    }

    .head {
        display: flex;
        justify-content: center;
        position: relative;
        z-index: 999;
    }

    .logo {
        position: absolute;
        z-index: 99;
        left: 50%;
        top: 15px;
        margin-left: -73px;
        transition: 0.6s;
    }

    .nav ul {
        display: flex;
    }

    .nav ul li {
        padding: 0 20px;
    }

    .nav ul li:nth-child(4) {
        padding-right: 125px;
    }

    .nav ul li:nth-child(5) {
        padding-left: 125px;
    }

    .nav ul li a {
        display: block;
        padding: 32px 0 10px;
        font: 400 16px/24px '微软雅黑';
        color: #fff;
        text-align: center;
        background: url(../images/nav_li_bg.png) no-repeat center -50px;
        transition: 0.3s;
    }

    .nav ul li a:hover {
        background-position: center 0;
        border-bottom: 2px solid #fff;
        transform: translate3d(0, 15px, 0);
    }

    header.active {
        position: fixed;
    }

    .logo img {
        transition: 0.3s;
    }

    header.active .logo {
        top: 0;
    }

    header.active .logo img {
        transform: scale(0.8);
    }
}


/* 底部 */
.public {
    padding: 30px 0;
    background: #13325c;
}

.public-main {
    display: block;
    padding: 0 20px;
}


.public-title {
    font: 400 18px/24px '微软雅黑';
    color: #fff;
}

.public-nav {
    display: none;
}

.public-right {
    width: 260px;
}

.public-contact {
    margin-top: 10px;
    padding-left: 24px;
    font: 400 18px/30px '微软雅黑';
    color: #fff;
    background: url(../images/tel.png) no-repeat 0 center/20px;
}

.public-num {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 10px;
    padding-left: 24px;
    font: 400 14px/24px '微软雅黑';
    color: #fff;
}

.public-num p {
    padding-right: 10px;
}

footer {
    padding: 20px 10px 0;
    text-align: center;
}

.foot-line {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font: 400 14px/20px '微软雅黑';
    color: #415a7d;
}

.foot-line p {
    padding-right: 5px;
}

.foot-line a {
    padding-right: 5px;
    color: #415a7d;
}

@media (min-width: 1200px) {
    .public {
        padding: 100px 0;
        background: #13325c;
    }

    .public-main {
        display: flex;
        justify-content: space-between;
        width: 1200px;
        margin: 0 auto;
    }

    .public-left {
        width: 850px;
    }

    .public-title {
        font: 400 30px/36px '微软雅黑';
        color: #fff;
    }

    .public-nav {
        display: block;
        padding: 40px 0 60px;
    }

    .public-nav ul {
        display: flex;
    }

    .public-nav ul li {
        padding: 0 48px 0 0;
        background: url(../images/public_nav_bg.png) no-repeat 84px center;
    }

    .public-nav ul li:last-child {
        background: none;
    }

    .public-nav ul li a {
        display: block;
        font: 400 16px/24px '微软雅黑';
        color: #fff;
        transition: 0.6s;
    }

    .public-nav ul li a:hover {
        transform: translate3d(0, -5px, 0);
    }

    .public-right {
        width: 260px;
    }

    .public-contact {
        padding-left: 36px;
        font: 400 24px/36px '微软雅黑';
        color: #fff;
        background: url(../images/tel.png) no-repeat 0 center;
    }

    .public-num {
        margin-top: 12px;
        padding-bottom: 10px;
        padding-left: 36px;
        font: 400 16px/30px '微软雅黑';
        color: #fff;
    }


    footer {
        padding: 1px 0 0;
        text-align: left;
    }

    .foot {
        width: 1200px;
        margin: 0 auto;

    }

    .foot-line {
        display: flex;
        justify-content: flex-start;
        font: 400 14px/20px '微软雅黑';
        color: #415a7d;
    }

    .foot-line p {
        padding-right: 5px;
    }

    .foot-line a {
        padding-right: 5px;
        color: #415a7d;
    }
}