/* 手机版*/

body {
    position: relative;
    overflow-x: hidden;
    background: #333;

}

.m-top {
    position: absolute;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    height: 0;
}

.m-logo {
    display: block;
    position: absolute;
    left: 0.2rem;
    top: 0.5rem;
}

.m-logo img {
    height: 40px;
}

.m-top .btn {
    position: absolute;
    z-index: 100;
    top: 0.4rem;
    left: 0.2rem;
    padding: 10px 8px;
    text-align: center;
    background: #00833e;
    border-radius: 8px;
}

.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;
    left: -150px;
    top: 0;
    width: 150px;
    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 {
    position: relative;
    z-index: 1;
}

.banner {
    position: relative;
    background: #edf9f7;
}

.banner .swiper-slide img {
    width: 100%;
}

.head-layer {
    position: absolute;
    z-index: 80;
    left: 0;
    top: 0;
    width: 100%;
    padding: 0 0.2rem;
}

.top {
    width: 100%;
    padding: 2rem 0 0;
    text-align: center;
}

.top img {
    width: 6.2rem;
}

.weather {
    display: none;
}

.search {
    position: absolute;
    right: 0.2rem;
    top: 0.5rem;
    display: flex;
    justify-content: flex-end;
    width: 4.5rem;
}

.search form {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 30px;
    padding: 0 0 0 0.2rem;
    background: #fff;
    border-radius: 16px;
}

.search-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 0.3rem;
    height: 0.3rem;
}

.search-icon img {
    width: 0.24rem;
}

.search input {
    width: 2.8rem;
    flex-grow: 1;
    padding: 0 5px;
    font-size: 12px;
    line-height: 30px;
    color: #999999;
    border: 0;
}

.search-button button {
    width: 48px;
    font-size: 12px;
    line-height: 30px;
    color: #fff;
    text-align: center;
    background: #01843e;
    border: 0;
    border-radius: 16px;
    cursor: pointer;
}

.login-info {
    display: none;
}

.logo {
    display: block;
    text-align: center;
}

.logo img {
    width: 6rem;
}

.nav {
    display: none;
}

@media (min-width: 768px) {
    header {
        display: block;
        z-index: 90;
    }
    .banner {
        position: relative;
    }
    .banner .swiper-slide img {
        width: 100%;
    }
    .head-layer {
        position: absolute;
        z-index: 80;
        left: 50%;
        top: 0;
        width: 1200px;
        margin-left: -600px;
    }
    .top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 30px 0 0;
    }
    .weather {
        display: block;
        width: 500px;
    }
    .search {
        display: flex;
        justify-content: flex-end;
        position: relative;
        right: 0;
        top: 0;
        width: 600px;
    }
    .search form {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 32px;
        padding: 0 0 0 15px;
        background: #fff;
        border-radius: 16px;
    }
    .search-icon {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 32px;
    }
    .search-icon img {
        width: auto;
    }
    .search input {
        width: 180px;
        flex-grow: 1;
        padding: 0 5px;
        font-size: 16px;
        line-height: 32px;
        color: #999999;
        border: 0;
    }
    .search-button button {
        width: 60px;
        font-size: 16px;
        line-height: 32px;
        color: #fff;
        text-align: center;
        background: #01843e;
        border: 0;
        border-radius: 16px;
        cursor: pointer;
    }
    .login-info {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        margin-left: 10px;
        font-size: 16px;
        line-height: 16px;
    }
    .login-info span {
        padding: 0 5px;
        color: #000;
    }
    .login-info a {
        display: block;
        color: #333;
    }
    .login-info a:hover {
        color: #c00606;
    }
    .logo {
        display: block;
        margin: 135px 0 0;
        text-align: center;
    }
    .logo img {
        width: auto;
    }
    .nav {
        display: block;
        position: absolute;
        z-index: 99;
        left: 50%;
        bottom: 0;
        width: 1270px;
        margin-left: -635px;
        padding: 0 35px;
        background: rgba(255, 255, 255, 0.9);
    }
    .nav ul {
        position: relative;
        display: flex;
        border-bottom: 3px solid #01843e;
    }
    .nav ul li {
        width: 12.5%;
        padding: 0 1px;
        border-left: 1px solid #dcdcdc;
    }
    .nav ul li:nth-child(1) {
        position: relative;
        height: 64px;
        border: 0;
    }
    .nav ul li:nth-child(2) {
        border: 0;
    }
    .nav ul li a {
        display: block;
        font-size: 18px;
        line-height: 64px;
        color: #000;
        text-align: center;
    }
    .nav ul li:nth-child(1) a {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 160px;
        height: 80px;
        padding: 42px 14px 0 0;
        line-height: 30px;
        color: #fff;
        background: url(../images/home.png) no-repeat 0 0;
    }
    .nav ul li a:hover {
        color: #01843e;
    }
    .nav ul li:nth-child(1) a:hover {
        color: #fff;
    }
}


/* public */

.public {
    padding: 0.4rem 0.2rem;
    background: #edf9f7;
    border-top: 5px solid #01843e;
}

.link {
    display: none;
}

.foot-logo {
    width: 6.2rem;
}

.foot-logo img {
    width: 100%;
}

.foot-font {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.6rem 0 0;
    font-size: 14px;
    line-height: 20px;
}

footer p {
    padding: 0 4px 0 0;
    color: #666666;
}

footer p a {
    display: block;
}

footer a {
    padding: 0 4px 0 0;
    color: #666666;
}

@media (min-width: 768px) {
    .public {
        padding: 0;
        background: #edf9f7;
        border-top: 10px solid #01843e;
    }
    .public-main {
        width: 1200px;
        margin: 0 auto;
    }
    .link {
        display: block;
        position: relative;
        padding: 40px 0;
        border-bottom: 1px solid #d8efeb;
    }
    .link-title {
        position: absolute;
        top: 48px;
        left: 0;
        font-weight: bold;
        font-size: 18px;
        line-height: 24px;
        color: #01843e;
    }
    .link ul {
        display: flex;
        flex-wrap: wrap;
    }
    .link ul li {
        padding: 10px 30px 10px 0;
    }
    .link ul li:nth-child(1) {
        width: 100px;
    }
    .link ul li a {
        display: block;
        font-size: 14px;
        line-height: 20px;
        color: #000;
    }
    footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 40px 0;
    }
    .foot-logo {
        width: 600px;
    }
    .foot-logo img {
        width: 600px;
    }
    .foot-font {
        display: flex;
        flex-wrap: wrap;
        width: 500px;
        padding: 0;
        font-size: 14px;
        line-height: 20px;
    }
    footer p {
        color: #666666;
    }
    footer p a {
        display: inline;
    }
    footer a {
        color: #666666;
    }
}