﻿/* 中间内容容器 */
.middle-container {
    max-width: 1450px;
    margin: 0 auto;
    padding: 0px 20px;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 10px;
    /* Flex核心属性 */
    display: flex;
    /* 水平居中 */
    justify-content: center;
    height:100%;
}

.p_right {
    float: right;
    width: 900px;
    padding: 15px 30px 15px 10px;       /*上、右、下、左*/
    border-width: 0 1px;
    border-style: solid;
    border-color: #e5e5e5;
    background: #FFF;
    overflow: hidden;
    /*height:500px;*/
}
.p_rtitle {
    height: 39px;
    line-height: 39px;
    border-bottom: 2px solid #056dae;
    padding: 5px;
}

    .p_rtitle h3 {
        float: left;
        font-size: 18px;
        line-height: 39px;
        color: #056dae;
        font-family: microsoft yahei;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        width: 500px;
    }

/* 正文区域样式 */
.content {
    background-color: white;
    padding: 15px 50px 15px 10px; /*上、右、下、左*/
    border-radius: 8px;
    /*box-shadow: 0 2px 8px rgba(0,0,0,0.1);*/
    line-height: 1.8;
    color: #333;
    width: 900px;
}

    .content h1 {
        margin-bottom: 20px;
        color: #212529;
    }

    .content p {
        margin-bottom: 15px;
    }

.p_path {
    float: right;
    height: 39px;
    line-height: 39px;
    font-family: microsoft yahei;
    font-size: 13px;
}

    .p_path span {
        color: #048ce2
    }

/*新闻*/
/*.p_news {
    width: 950px;
    margin-top: 10px;
}*/

.n_n_list li {
    float: left;
    width: 900px;
    height: 48px;
    line-height: 48px;
    background: url(../images/icon13.jpg) repeat-x left bottom;
}

    .n_n_list li a {
        float: left;
        color: #056dae;
        padding: 0 5px;
        font-size: 14px;
        font-family: microsoft yahei;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        width: 800px;
    }

        .n_n_list li a:hover {
        }

    .n_n_list li span {
        float: right;
        text-decoration: none;
    }
/* 全局样式重置 */
* {
    padding: 0;
    font-family: "Microsoft Yahei", sans-serif;
}





/* 可折叠三级导航样式 */
.nav-menu {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    width: 200px;
}

    .nav-menu ul {
        list-style: none;
    }

.nav-item {
    margin-bottom: 5px;
}

    /* 所有层级菜单基础样式 */
    .nav-item > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 10px;
        background-color: #34495e; /* 一级默认色 */
        color: white;
        text-decoration: none;
        border-radius: 4px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease; /* 过渡动画更顺滑 */
        border: 2px solid transparent; /* 预留边框空间，避免选中时位移 */
    }

    /* 仅给有子菜单的导航项添加+/-符号 */
    .nav-item.has-submenu > a::after {
        content: "+";
        font-size: 16px;
        transition: transform 0.2s ease;
    }

    .nav-item.has-submenu.expanded > a::after {
        content: "-";
    }

    /* 核心：一级菜单选中仅显示边框，保留原有背景色 */
    .nav-item.active > a {
        border: 2px solid #E53E3E; /* 选中仅显示红色边框，无背景色变化 */
        font-weight: 600; /* 可选：加粗文字增强辨识度 */
    }

/* 二/三级菜单选中仍保留边框（和一级统一） */
.submenu > .nav-item.active > a,
.submenu > .nav-item > .submenu > .nav-item.active > a {
    border: 2px solid #E53E3E;
    font-weight: 600;
}

.submenu {
    max-height: 0;
    overflow: hidden;
    margin-top: 5px;
    margin-left: 10px;
    transition: max-height 0.3s ease;
}

.nav-item.expanded > .submenu {
    max-height: 500px;
}

/* 二级菜单默认样式 */
.submenu > .nav-item > a {
    background-color: #537597; /* 二级默认色 */
    color: white;
    padding: 10px;
    font-size: 14px;
    border: 2px solid transparent; /* 预留边框空间 */
}

/* 三级菜单默认样式 */
.submenu > .nav-item > .submenu > .nav-item > a {
    background-color: #ecf0f1; /* 三级默认色 */
    color: #2c3e50;
    padding: 8px;
    font-size: 13px;
    border: 2px solid transparent; /* 预留边框空间 */
}

/* 悬停样式 */
.nav-item > a:hover {
    opacity: 0.9;
}

.nav-item.active > a:hover {
    opacity: 1; /* 选中菜单悬停不透明 */
}



/* 导航联动超链接样式 */
.menu-link {
    display: inline-block;
    margin: 0 10px 10px 0;
    padding: 8px 15px;
    background-color: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

    .menu-link:hover {
        background-color: #2563eb;
    }

/* 响应式适配 */
@media (max-width: 768px) {
    .middle-container {
        grid-template-columns: 1fr;
        padding: 20px;
        max-width: 100%;
    }

    .fullscreen-img {
        height: 200px;
    }
}


/*分页*/
.pagination {
    /*border-top: 2px solid #000;*/
    width: 800px;
    margin: 0 auto;
    text-align: center;
    padding:10px;
}

    .pagination a {
        display: inline-block;
        padding: 5px 10px;
        margin: 5px 3px;
        border: 1px solid #ccc;
        border-radius: 3px;
        text-decoration: none;
        color: #333;
    }

        .pagination a.active {
            background-color: #007bff;
            color: white;
            border-color: #007bff;
        }

        .pagination a:hover:not(.active) {
            background-color: #e9e9e9;
        }



/*新闻页-标题*/
.p_n_title {
    width: 100%;
    text-align: center;
    line-height: 30px;
    font-size: 16px;
    font-weight: bold;
    text-overflow: ellipsis;
    letter-spacing: 4px
}

.remark {
    line-height: 30px;
    padding-top: 0px;

}


