html,
body {
    margin: 0;
    padding: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    background-color: #e9f0f5;
}

.main-content {
    position: relative;
    margin: 0 auto;
    padding: 0;
    width: 950px;
    overflow: hidden;
}

.main-content .main-soso,
.main-content .main-links,
.main-content .main-kz .main-kz-list {
    margin: 10px 0;
    padding: 10px;
    background: #ffffff;
    overflow: hidden;
}

.main-content .main-logo {
    margin: 20px 0;
    text-align: center;
}

.main-content .main-kz .main-kz-list .main-kz-bt,
.main-content .main-links .main-links-bt {
    margin: 0 0 12px;
    padding: 0 0 8px;
    border-bottom: 1px solid #129557;
}

.main-content .main-kz .main-kz-list .main-kz-bt span {
    float: right;
    font-size: 12px;
    cursor: pointer;
}

.main-content .main-links ul,
.main-content .main-kz .main-kz-list ul {
    margin: 0;
    padding: 0;
    width: calc(100% + 6px);
    overflow: hidden;
}

.main-content .main-kz .main-kz-list ul li {
    margin: 0 6px 6px 0;
    padding: 0;
    width: calc(20% - 8px);
    float: left;
    list-style-type: none;
    border-radius: 4px;
    border: 1px dashed #ddd;
}

.main-content .main-kz .main-kz-list ul li a {
    color: #666;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.main-content .main-kz .main-kz-list ul li a:hover {
    color: #129557;
}

.main-content .main-kz .main-kz-list ul li:hover {
    border: 1px dashed #129557;
}

.main-content .main-soso {
    display: flow-root;
    margin-bottom: 1em;
    padding: 1em;
    background: white;
    border-radius: .25em;
    box-shadow: 0 3px 0 #d7e4ed;
}

.main-content .main-soso form {
    display: flex;
    margin: 0 auto;
    width: 100%;
}

.main-content .main-soso #edtSearch {
    padding: 0 10px;
    width: 95%;
    height: 43px;
    border-radius: 4px 0 0 4px;
    border: 1px solid #129557;
}

.main-content .main-soso #edtSearch:focus {
    outline: 0;
    border: 1px solid #129557;
}

.main-content .main-soso button {
    cursor: pointer;
    width: 120px;
    height: 45px;
    color: #F4F4F4;
    background: #129557;
    border: 1px solid #129557;
    border-radius: 0 4px 4px 0;
}

.main-links li {
    padding: 0 10px 0 0;
    float: left;
    list-style-type: none;
}

.main-center {
    text-align: center;
}

.main-footer {
    padding: 20px 0;
    color: #fff;
    background: #333;
    border-radius: 0;
    overflow: hidden;
}

.main-footer a {
    color: #129557;
}

.ad {
    background: #fff;
    overflow: hidden;
    clear: both;
    border-radius: 6px;
}

.ad a {
    margin: 5px;
    display: block;
    border-radius: 3px;
    line-height: 60px;
    height: 60px;
    color: #fff;
    text-align: center;
    font-size: 24px;
    text-decoration: none;
}

.ad img {
    max-width: 100%;
    height: 60px;
}

.ad li {
    float: left;
    width: 50%;
    list-style: none;
}

.txtguanggao {
    margin: 0 0 0 5px;
    width: calc(100% - 5px);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
}

.txtguanggao a {
    width: calc((100% - 20px) / 4);
    float: left;
    border-radius: 3px;
    line-height: 34px;
    height: 34px;
    text-align: center;
    font-size: 14px;
    display: inline-block;
    background-color: rgb(255, 153, 159);
    margin: 0 5px 5px 0;
    transition-duration: .3s;
}

.txtguanggao a:nth-child(1) {
    background-color: #dc3545;
}

.txtguanggao a:nth-child(2) {
    background-color: #007bff;
}

.txtguanggao a:nth-child(3) {
    background-color: #28a745;
}

.txtguanggao a:nth-child(4) {
    background-color: #ffc107;
}

.txtguanggao a:nth-child(5) {
    background-color: #28a745;
}

.txtguanggao a:nth-child(6) {
    background-color: #ffc107;
}

.txtguanggao a:nth-child(7) {
    background-color: #dc3545;
}

.txtguanggao a:nth-child(8) {
    background-color: #007bff;
}

.txtguanggao a:hover {
    background: #FF2805;
    color: #FFF
}

@media screen and (max-width: 1000px) {
    .ad {
        margin: 0 0 10px 0;
    }

    .ad li {
        width: 100%;
    }

    .txtguanggao a {
        width: calc((100% - 20px) / 4);
    }
}

@media only screen and (max-width:768px) {
    .main-content,
    .main-content .main-logo img {
        width: calc(100% - 16px);
    }

    .main-content .main-kz .main-kz-list ul li {
        width: calc(50% - 8px);
    }
}