.w {
    width: 1200px;
    margin: 0 auto;
}

.top {
    width: 100%;
    height: 40px;
    background-color: #8a8a8a;
}

header {
    position: relative;
}

.zong {
    height: 40px;
    text-align: center;
    background-color: #8a8a8a;
}

.shang {
    float: left;
    display: block;
    text-align: center;
}

.shang li {
    float: right;
    width: 100px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.shang li a {
    font-size: 15px;
    color: #ffffff;
}

.shang li:hover a {
    color: rgb(210, 50, 50);
}

.zong .xia {
    float: right;
    display: block;
    text-align: center;
}

.zong .xia li {
    float: right;
    width: 100px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}

.zong .xia li a {
    font-size: 15px;
    color: #ffffff;
}

.zong .xia li:hover a {
    color: rgb(210, 50, 50);
}


/* top菜单结束 */

header {
    height: 100px;
    border-bottom: 3px solid #8a8a8a;
}

header .logo {
    margin: 12px auto;
    top: 8px;
    left: 651px;
    width: 127px;
    height: 83px;
}

header .logo a {
    display: block;
    width: 127px;
    height: 83px;
    /* 不能加img不然图片跟文字一起没有了 */
    background: url(../images/logo.png) no-repeat;
    background-size: cover;
    font-size: 0;
}


/* 导航部分 */

nav {
    height: 40px;
}

nav .xia {
    width: 1200px;
    height: 40px;
    text-align: center;
}

nav .xia li {
    margin-left: 84px;
    float: left;
    width: 200px;
    height: 40px;
    line-height: 50px;
    margin-bottom: 30px;
}

nav .xia li:hover {
    border-bottom: 2px solid #8a8a8a;
}

nav .xia li a {
    font-size: 15px;
}


/* 导航结束 */

footer {
    background-color: #8a8a8a;
}

footer .dibu {
    position: relative;
    height: 310px;
    background-color: #8a8a8a;
}

footer .dibu::before {
    position: absolute;
    bottom: 50px;
    left: 980px;
    content: "沪ICP备16009593号";
    color: rgb(226, 225, 225);
    font-weight: bold;
}

.dibu span {
    float: left;
    margin-left: 40px;
    width: 250px;
    height: 300px;
    text-align: center;
}

.dibu :first-child img {
    width: 100%;
    margin-top: 66px;
}

.lianxi {
    margin-top: 76px;
    margin-left: 50px;
}

.lianxi li {
    color: white;
    font-size: 13px;
    margin: 10px;
}

.weixin img {
    padding-top: 66px;
    width: 60%;
}

.liucheng {
    margin-top: 20px;
}

.liucheng li:first-child {
    font-weight: 700;
}

.liucheng li {
    font-size: 13px;
    margin: 4px;
    padding-left: 15px;
}

.liucheng li a {
    color: #fefdfd;
}