* {
    margin: 0;
    padding: 0;
    font-family: "Microsoft YaHei", "SimSun", sans-serif;
    box-sizing: border-box;
}

body {
    /* background-color: #f5f5f5;*/
    background-color: #fff;
    margin: 0;
}

/* 页眉样式 */
header {
    background-image: url(../images/top.png);
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    width: 80%;
    margin: 0 auto;
    justify-content: space-between;
}

.logo {
    height: 120px;
}

.example input[type=text] {
    padding: 10px;
    font-size: 17px;
    border: 1px solid grey;
    float: left;
    width: 75%;
    background: #f1f1f1;
}

.example button {
    float: left;
    width: 25%;
    padding: 10px;
    background: #1a6cb2;
    color: white;
    font-size: 17px;
    border: 1px solid grey;
    border-left: none;
    cursor: pointer;
}

    .example button:hover {
        background: #155a9a;
    }

/* 导航栏样式 */
nav {
    background-color: #1a6cb2;
    width: 100%;
}

.main-nav {
    display: flex;
    width: 80%;
    margin: 0 auto;
    list-style: none;
}

    .main-nav li {
        flex: 1;
        text-align: center;
    }

        .main-nav li a {
            display: block;
            color: white;
            text-decoration: none;
            padding: 15px 0;
            font-size: 22px;
            font-weight: bold;
        }

            .main-nav li a:hover {
                background-color: #155a9a;
            }

/* 下拉菜单样式 */
.dropdown {
    position: relative;
}

.dropbtn {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    left: 0;
    background-color: #fff;
    min-width: 100%;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 5;
}

    .dropdown-content a {
        color: #333 !important;
        padding: 12px 16px;
        text-align: center;
        text-decoration: none;
        display: block;
        border-bottom: 1px solid #eee;
    }

        .dropdown-content a:hover {
            background-color: #f1f1f1;
            color: white !important;
        }

.dropdown:hover .dropdown-content {
    display: block;
}

/* 主要内容区域 */
main {
    width: 80%;
    margin: 20px auto;
}

.content-container {
    display: flex;
    margin-bottom: 20px;
}

/* 轮播图样式 */
.slider-container {
    flex: 1;
    background-color: #fff;
    margin-right: 20px;
    position: relative;
    overflow: hidden;
}

.slider {
    width: 100%;
    position: relative;
    height: 400px; /* 固定高度 */
}

.slide {
    width: 100%;
    display: none; /* 默认隐藏所有幻灯片 */
    position: absolute;
    top: 0;
    left: 0;
    cursor:pointer;
}

    .slide.active {
        display: block; /* 只显示当前活动幻灯片 */
        z-index: 1;
    }

    .slide img {
        width: 100%;
        height: 400px;
        object-fit: cover;
        display: block;
    }

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    text-align: left;
    white-space: nowrap; /* 防止文本换行 */
    overflow: hidden; /* 隐藏溢出的文本 */
    text-overflow: ellipsis; /* 显示省略号 */
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    right: 10px;
    display: flex;
    z-index: 2;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    cursor: pointer;
}

    .dot.active {
        background-color: #1a6cb2;
    }

.slider-text {
    background-color: #eee;
    text-align: center;
    padding: 10px;
    color: #333;
}

/* 公告样式 */
.announcements {
    flex: 1;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 5px;
}

.tabs {
    display: flex;
    background-color: #eee;
    border-bottom: 1px solid #ccc;
}

.tab {
    flex: 1;
    padding: 10px 20px;
    cursor: pointer;
    text-align: center;
    font-size: 20px;
    margin: 0 5px;
}

    .tab.active {
        background-color: #1a6cb2;
        color: white;
    }

.tab-contents {
    position: relative;
}

.tab-content {
    padding: 10px;
    display: none;
}

    .tab-content.active {
        display: block;
    }

.news-list {
    list-style: none;
}

    .news-list li {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
        border-bottom: 1px dashed #eee;
        padding-bottom: 10px;
    }

.bullet {
    color: #1a6cb2;
    margin-right: 10px;
}

.news-list a {
    flex: 1;
    text-decoration: none;
    color: #333;
    width: 500px;
    white-space: nowrap; /* 防止文本换行 */
    overflow: hidden; /* 隐藏溢出的文本 */
    text-overflow: ellipsis; /* 显示省略号 */
    line-height: 30px;
    font-size: 18px;
}

    .news-list a:hover {
        color: #1a6cb2;
    }

.date {
    color: #999;
    margin-left: 10px;
}

/* 服务框样式 */
.service-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}

.service-box {
    width: 32%;
    background-color: #dbe9f8;
    margin-bottom: 15px;
    text-align: center;
}

    .service-box a {
        display: block;
        padding: 20px;
        text-decoration: none;
        color: #333;
        font-size: 18px;
    }

    .service-box:hover {
        background-color: #1a6cb2;
    }

        .service-box:hover a {
            color: white;
        }

/* 友情链接样式 */
.friend-links {
    background-color: #fff;
}

    .friend-links h3 {
        color: #1a6cb2;
        border-left: 5px solid #1a6cb2;
        padding-left: 10px;
        margin-left: 20px;
        margin-bottom: 20px;
        font-size: 18px;
    }

.link-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

    .link-container a {
        width: 16%;
        margin-bottom: 10px;
    }

    .link-container img {
        width: 100%;
        border: 1px solid #eee;
        transition: transform 0.3s;
    }

        .link-container img:hover {
            transform: scale(1.05);
        }


/*底部*/

/* 主要内容区域 */
footer {
    width: 100%;
    background-color: #ddd;
}

#copyright {
    height: 180px;
    width: 80%;
    margin: 0 auto;
}

#copy_txt {
    float: left;
    line-height: 35px;
    margin-left: 50px;
    margin-top: 20px;
}

    #copy_txt a {
        text-decoration: none;
        color: #333;
    }

        #copy_txt a:hover {
            color: #1a6cb2;
        }

#copy_ewm {
    float: right;
    margin-top: 30px;
    margin-right: 50px;
}

/*end*/

.list-container {
    background-color: #fff;
    padding: 10px;
    height: 763px;
    width: 80%;
    margin: 0 auto;
}

.list-title {
    cursor: pointer;
    font-size: 18px;
    margin-bottom: 20px;
}

    .list-title a {
        color: #333;
        text-decoration: none;
    }

        .list-title a:hover {
            color: #1a6cb2;
        }

.list-container h3 {
    color: #1a6cb2;
    border-left: 5px solid #1a6cb2;
    padding-left: 10px;
    margin-bottom: 20px;
    font-size: 20px;
    cursor: pointer;
}


.list-content {
    position: relative;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
}

.page-link {
    padding: 8px 16px;
    margin-right: 5px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    background-color: #f9f9f9;
}

    .page-link.active {
        background-color: #007bff;
        color: white;
        border-color: #007bff;
    }

    .page-link.next {
        background-color: #007bff;
        color: white;
        border-color: #007bff;
    }

    .page-link:hover {
        background-color: #0056b3;
        color: white;
    }

.news-list2 {
    list-style: none;
}

    .news-list2 li {
        display: flex;
        align-items: center;
        line-height: 40px;
        margin-bottom: 10px;
        border-bottom: 2px dashed #eee;
        padding-bottom: 10px;
        font-size: 18px;
    }

    .news-list2 a {
        flex: 1;
        text-decoration: none;
        color: #333;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

        .news-list2 a:hover {
            color: #1a6cb2;
            text-decoration: none;
        }

.info-container {
    background-color: #fff;
    padding: 10px;
}

.info-title {
    cursor: pointer;
    font-size: 18px;
    margin-bottom: 20px;
}

    .info-title a {
        color: #333;
        text-decoration: none;
    }

        .info-title a:hover {
            color: #1a6cb2;
        }


.info-content {
    position: relative;
}

.articleTitle {
    font-weight: bold;
    font-size: 25px;
    text-align: center;
}

.articleAuthor {
    text-align: center;
    padding: 10px 0px;
    border-bottom: 1px solid #ccc;
}

    .articleAuthor span {
        margin: 0px 10px;
        font-size: 16px;
    }

.articleInfo {
    width: 100%;
    padding: 10px 0;
}
