body {
    background-color: #f5f5f5;
}
a {
    color: #666;
    text-decoration: none;
}
a:hover {
    text-decoration: none;
}
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.container {
    background-color: #fff;
}
@media screen and (min-width: 1280px) {
    .container {
        width: 1240px;
    }
}
header {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.logo {
    background-color: #429ad9;
}
.logo img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}
.logo span {
    display: block;
    height: 50px;
    color: #fff;
    font-size: 18px;
    text-align: center;
    line-height: 50px;
}
.nav {
    background-color: #eee;
    border-bottom: 1px solid #ccc;
}
.nav a {
    display: block;
    height: 50px;
    padding-left: 30px;
    font-size: 16px;
    line-height: 50px;
}
.nav a:hover {
    color: #333;
    background-color: #fff;
}
.nav a::before {
    padding-right: 5px;
    vertical-align: middle;
}
/* 响应式配合媒体查询单独适配 */
@media screen and (max-width: 991px) {
    .nav ul li {
        float: left;
        width: 20%;
    }
    article {
        margin-top: 10px;
    }
}
@media screen and (max-width: 767px) {
    .nav ul li a {
        padding-left: 3px;
        font-size: 14px;
    }
    .news ul li:nth-child(1) {
        width: 100% !important;
    }
    .news ul li {
        width: 50% !important;
    }
    .publish h3 {
        font-size: 14px;
    }
    .hot {
        margin-bottom: 30px;
    }
    .banner img {
        margin-top: 18px;
    }
}
.news ul li {
    float: left;
    width: 25%;
    height: 128px;
    margin-bottom: 10px;
    padding-right: 10px;
}
.news ul li:nth-child(1) {
    width: 50%;
    height: 266px;
}
.news a {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;   
}
.news a img {
    width: 100%;
    height: 100%;
}
.news li:nth-child(1) p {
    padding: 0 10px;
    font-size: 20px;
    line-height: 41px;
}
.news li a p {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 41px;
    color: #fff;
    margin-bottom: 0;
    padding: 5px 10px;
    font-size: 12px;
    background-color: rgba(0, 0, 0, .5);
}
.publish {
    border-top: 1px solid #ccc;
}
.publish .row {
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
}
.publish a {
    color: #333;
}
.pic {
    margin-top: 10px;
}
.pic img {
    margin-top: 20px;
    width: 100%;
}
.banner img {
    width: 100%;
}
.hot {
    display: block;
    margin-top: 20px;
    padding: 0 20px 20px;
    border: 1px solid #ccc;
}
.hot span {
    margin-bottom: 20px;
    border-radius: 0;
}
.hot p {
    font-size: 12px;
}
