﻿/* 全局样式 */
body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f4f4f4;
}
header {
    background: linear-gradient(180deg, #E6F2FF 0%, #FFFFFF 50%, #FFFFFF 100%);
}
/* 固定导航栏 */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #e7e7e7;
    z-index: 999;
    transition: all 0.3s ease;
}

    #main-header.scrolled {
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    max-height: 50px;
}

nav ul.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

    nav ul.nav-menu li {
        margin: 0 15px;
    }

        nav ul.nav-menu li a {
            text-decoration: none;
            color: #333;
            font-weight: bold;
            transition: color 0.3s ease;
        }

            nav ul.nav-menu li a:hover {
                color: #007bff;
            }

/* Banner 滚动区域样式 */
.carousel {
}

.carousel-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* 幻灯片文字样式 */
.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 5px;
}

/* 主体内容 */
.container {
    max-width: 1600px;
    padding-top: 20px;
    padding-left: 0;
    padding-right: 0;
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: inline-flex;
}

    .footer-links li {
        margin: 0 10px;
    }

        .footer-links li a {
            text-decoration: none;
            color: #fff;
            transition: color 0.3s ease;
        }

            .footer-links li a:hover {
                color: #007bff;
            }

/* 响应式调整 */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }

    nav ul.nav-menu {
        flex-direction: column;
        margin-top: 10px;
    }

        nav ul.nav-menu li {
            margin: 10px 0;
        }

    .carousel-item img {
        height: 300px;
    }

    .carousel-caption h5 {
        font-size: 24px;
    }

    .carousel-caption p {
        font-size: 16px;
    }
    .container {
        width: 100%;
    }

    .top-row {
        width: 100%;
    }
}
@media (max-width: 1600px) {
    .container {
        width: 100%;
    }

    .top-row {
        width: 100%;
    }
}
@media (min-width: 1600px) {
    .container {
        width: 1600px;
    }

    .top-row {
        width: 1600px;
    }
}
/* 为 Carousel 幻灯片设定固定高度 */
.carousel-inner .item {
    height: 300px; /* 根据需要设置固定高度 */
    width: 100%;
    background-size: cover; /* 背景图铺满容器 */
    background-position: center; /* 背景图居中显示 */
    background-repeat: no-repeat; /* 不重复 */
}

/* 如果希望文字与背景分离，可以适当调整 caption 样式 */
.carousel-caption {
    background: rgba(0, 0, 0, 0.3); /* 半透明背景，增强文字可读性 */
    padding: 10px;
    border-radius: 5px;
}
/*.carousel {
    width: 1600px;
    margin-left: auto;
    margin-right: auto;
}*/

/* 主导航栏 */
.main-nav {
   /* background-color: #f1f1f1;*/ /* 设置背景颜色 */
   /* border-bottom: 2px solid #e2e2e2;*/
   /* width: 1600px !important;*/
}

    /* 采用 Flex 布局使每项宽度均等 */
    .main-nav ul {
        display: flex;
        margin: 0;
        padding: 0;
        list-style: none;
    }

        /* 每个导航项均等宽 */
        .main-nav ul .nav-item {
            flex: 1;
            text-align: center;
            border-right: 1px solid #ddd; /* 可选，分隔线 */
        }

            /* 最后一个项不显示右边界 */
            .main-nav ul .nav-item:last-child {
                border-right: none;
            }

            /* 链接样式 */
            .main-nav ul .nav-item a {
                display: block;
                padding: 15px 0;
                color: #333;
                text-decoration: none;
                font-size: 16px;
                font-weight: 500;
                transition: background-color 0.3s, color 0.3s;
            }

                /* 鼠标悬停效果 */
                .main-nav ul .nav-item a:hover,
                .main-nav ul .nav-item a.active {
                    background-color: #007bff;
                    color: #fff;
                }

/* 针对 logo 的特殊样式 */
.logo-item a {
    padding: 10px 0; /* 根据 logo 图片大小调整内边距 */
}

/* logo 图片样式 */
.logo-item img {
    max-width: 80%; /* 调整为适合的宽度 */
    height: auto;
    vertical-align: middle;
}

/* 顶部通栏 */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
   /* background: #ffffff;*/
    padding: 10px 20px;
   /* border-bottom: 2px solid #e2e2e2;*/ /* 根据需要可用其他颜色或边框样式 */
}

.top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1600px ;
    margin: 0 auto;
}

.top-bar-left {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px; /* LOGO 高度可根据需要设置 */
    margin-right: 10px;
}

.platform-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.top-bar-right a {
    margin-left: 15px;
    text-decoration: none;
    color: #666;
    font-size: 14px;
}

    .top-bar-right a:hover {
        color: #007bff;
    }

/* 主导航栏 linear-gradient(to right, #04423, #4C4C4) !important; */
.main-nav {
  /*  background: linear-gradient(to right, #007bff, #7ff5e6);*/
 /*   border-bottom: 2px solid #e2e2e2;*/
}

    .main-nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex; /* 水平排列 */
        justify-content: left; /* 水平居中，可根据需要调整 */
    }

        .main-nav ul li {
            /*margin: 0 15px;*/ /* 控制栏目之间间距 */
            margin: 0 ;
        }

            .main-nav ul li a {
                display: block;
                margin: 15px 20px;
                text-decoration: none;
                color: #333;
                font-size: 18px;
                font-weight: 500;
                transition: background-color 0.3s, color 0.3s;
            }

               


.litime {
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align:right;
}
.lititle {
    line-height: 25px;
  /*  width: 100%;*/
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.itop_list {
    background-color: #fff; /* 背景色根据需要调整 */
   /* padding: 15px 0;*/
    border-bottom: 1px solid #eaeaea;
}

    /* ========== 列表样式 ========== */
    .itop_list ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

        /* 每个导航项宽度为 25%，采用浮动排列 */
        .itop_list ul li {
            line-height: 40px; /* 行高 */
            float: left;
            width: 25%;
            text-align: center;
            box-sizing: border-box;
            padding: 10px 0;
            border-right: 1px solid #eaeaea;
        }

            /* 最后一个列表项取消右边框 */
            .itop_list ul li.mr0 {
                border-right: none;
            }

            /* a 链接样式 */
            .itop_list ul li a {
                display: block;
                text-decoration: none;
                color: #333;
                position: relative;
                padding: 10px;
            }

                /* 图标样式 */
                .itop_list ul li a img {
                    display: block;
                    margin: 0 auto;
                    max-width: 50px; /* 根据实际情况调整图标大小 */
                    height: auto;
                }

                /* 标题样式 */
                .itop_list ul li a b {
                    display: block;
                    margin-top: 8px;
                    font-size: 14px;
                    font-weight: bold;
                }

                /* 可选：右侧箭头或装饰图标（需要提供背景图片或调整为需要的样式） */
                .itop_list ul li a i {
                    position: absolute;
                    right: 10px;
                    top: 50%;
                    transform: translateY(-50%);
                    width: 12px;
                    height: 12px;
                    /* 如有箭头图标，可用 background-image 替代下行注释 */
                    /* background: url('path/to/arrow.png') no-repeat center center; */
                }

/* 清除浮动 */
.clear {
    clear: both;
}

/* ========== 响应式适配（如屏幕过窄，自动换行） ========== */
@media (max-width: 768px) {
    .itop_list ul li {
        float: none;
        width: 50%; /* 两列布局 */
        border-right: 1px solid #eaeaea;
        border-bottom: 1px solid #eaeaea;
    }

        .itop_list ul li.mr0 {
            border-right: none;
        }
}



.announcement-card {
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    /*box-shadow: 0 2px 8px rgba(0,0,0,0.1);*/
    overflow: hidden;
    background: #fff;
    margin-bottom: 20px;
}

    .announcement-card .card-header {
        background-color: #007bff;
        color: #fff;
        border-bottom: none;
        padding: 15px 20px;
        display: flex;
        align-items: center;
    }


        .announcement-card .card-header img.icon {
            width: 36px;
            height: 36px;
            margin-right: 10px;
        }

    .announcement-card .card-header2 {
        border-bottom: none;
        padding-top: 15px;
        padding-left: 10px;
        align-items: center;
    }

.top .nav-pills > li {
    width: 100px;
    text-align: center;
    float: left;
}

.announcement-card .card-header2 img.icon {
    width: 36px;
    height: 36px;
    margin-left: 20px;
}

.announcement-card .card-header2 .card-title {
    margin-top: 10px;
}

.announcement-card .card-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.announcement-card .card-body {
    padding: 0 20px 20px;
}

.announcement-card ul.list-unstyled {
    margin: 0;
    padding: 0;
    padding-top: 10px;
}

    .announcement-card ul.list-unstyled li {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px dashed #eee;
    }

        .announcement-card ul.list-unstyled li:last-child {
            border-bottom: none;
        }

        .announcement-card ul.list-unstyled li .title {
            flex: 1;
            color: #333;
            text-decoration: none;
            transition: color 0.3s;
            margin-right: 10px;
            font-size: 15px;
        }

            .announcement-card ul.list-unstyled li .title:hover {
                color: #007bff;
                text-decoration: underline;
            }

        .announcement-card ul.list-unstyled li .time {
            color: #999;
            font-size: 14px;
            white-space: nowrap;
        }

.announcement-card .card-footer {
    background-color: #fff;
    border-top: none;
    text-align: right;
    padding-top: 20px;
}

.announcement-card .btn-more {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}

    .announcement-card .btn-more:hover {
        text-decoration: underline;
    }
/* 自定义 Nav Tabs 美化 */
.nav-tabs {
    border-bottom: 2px solid #eee;
    margin-bottom: 15px;
}

    .nav-tabs .nav-link {
        font-size: 16px;
        color: #555;
        background-color: #f7f7f7;
        margin-right: 5px;
        border: none;
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
        transition: background-color 0.3s, color 0.3s;
    }

        .nav-tabs .nav-link.active {
            color: #fff;
            background-color: #007bff;
        }


/* 自定义样式，实现左侧垂直Tab与右侧内容等高 */
.vertical-tabs {
    min-height: 400px; /* 可根据实际内容设置最小高度 */
}
/* 左侧Tab导航样式 */
.vertical-tab-nav {
    border-right: 1px solid #ddd;
    padding-right: 5px;
    min-height: 300px;
}

    .vertical-tab-nav .nav-link {
        border: none;
        border-radius: 0;
        margin-bottom: 5px;
        color: #555;
        font-size: 16px;
        transition: background-color 0.3s, color 0.3s;
    }

        .vertical-tab-nav .nav-link.active {
            background-color: #007bff;
            color: #fff;
        }
/* 右侧内容区域样式 */
.vertical-tab-content {
    padding-left: 15px;
}
/* 确保左右两侧填满父容器高度 */
.vertical-tabs > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.vertical-tabs .tab-content {
    flex: 1;
    overflow-y: auto;
}

/*.nav-pills {
    margin-left: 30px;
}*/


.nav-pills-White .nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
    color: #000;
    background-color: #fff;
}

.nav-pills-White .nav-pills > li > a {
    color: #fff;
}

    .nav-pills-White .nav-pills > li > a:hover {
        color: #000;
    }

.text-item {
    display: none;
}

    .text-item.active {
        display: block;
    }