/* 容器样式 */
main {
    margin-top: 20px; /* 与导航栏的间距 */
    padding: 0 0; /* 内边距 */
    background-color: white; /* 白色背景 */
    border-radius: 8px; /* 圆角效果 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 添加阴影效果 */
}

.container {
    display: flex;
    max-width: 1200px; /* 设置最大宽度，避免过宽 bootstrap最大宽度也是这个 */
    min-height: 560px;
    margin: 0 auto; /* 水平居中 */
    width: 100%;
}

/* 导航条样式 */
.sidebar {
    width: 220px; /* 设置宽度 */
    background-color: #f4f4f4; /* 背景颜色 */
    border-right: 1px solid #ddd; /* 右侧边框 */
}

.sidebar ul {
    padding: 0;
}

/* 列表项的基础样式 */
.sidebar .sidebar-item {
    list-style-type: none; /* 移除默认列表样式 */
    background-color: #fff; /* 背景色 */
    color: #333; /* 文字颜色 */
    text-align: center;
    font-family: Arial, sans-serif; /* 字体 */
}

/* 列表项的基础样式 */
.sidebar .sidebar-item .title {
    background-color: #eef6fb;
    text-align: center;
    line-height: 45px;
    border: 0;
}

/* 子列表项的缩进 */
.sidebar .sidebar-item > ul {
    margin: 0; /* 左边距增加 */
}

.sidebar .sidebar-item > ul > li > a:before {
    background-repeat: no-repeat;
    background-image: url(/css/images/ty-b67d1c3349fb8592274920ed0035ea8d.png);
}

.sidebar .sidebar-item > ul > li > a {
    line-height: 40px;
    text-decoration: none;
    color: #007bff;
}

.content-container {
    width: 980px;
    min-height: 580px;
    margin: auto;
    text-align: justify; /* 两端对齐 */
}

.content-container .breadcrumb {
    background-color: #f8f9fa;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.content-container .breadcrumb ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.content-container .breadcrumb ul li {
    display: inline;
    font-size: 14px;
}

.content-container .breadcrumb ul li:not(:last-child)::after {
    content: ">";
    margin-left: 10px;
    margin-right: 10px;
    color: #6c757d;
}

.content-container .breadcrumb ul li a {
    text-decoration: none;
    color: #007bff;
}

.content-container .breadcrumb ul li a:hover {
    text-decoration: none;
}

/* 内容列表 */
.content-list {
    padding: 20px;
}

.content-list ul {
    list-style-type: none;
    padding: 0;
}

.content-list ul li {
    display: flex;
    justify-content: space-between; /* 标题和日期左右分布 */
    align-items: center; /* 垂直居中对齐 */
    padding: 5px;
    height: 35px;
    line-height: 35px;
}

.content-list ul li:hover {
    background-color: #f0f0f0; /* 灰色背景 */
}

.content-list ul li:last-child {
    border-bottom: none;
}

.content-item {
    padding-bottom: 10px;
}

.content-item a {
    text-decoration: none;
    font-size: 14px;
    flex-grow: 1; /* 标题占据剩余空间 */
    padding-left: 5px;
    color: #5b5b5b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.content-item a:before {
    content: '.';
    color: #7cc7ef;
    position: relative;
    top: -3px;
    margin-right: 5px;
    font-weight: bold;
    float: left;
}

.content-item a .highlight {
    color: darkred;
}

.content-item a .date {
    margin-left: 1rem; /* 标题和日期之间的间距 */
    color: #6c757d; /* 日期颜色稍浅 */
    font-size: 13px;
}

.image-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 30px;
}

.image-list ul {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.image-list ul li {
    justify-content: space-between; /* 标题和日期左右分布 */
    align-items: center; /* 垂直居中对齐 */
    padding: 5px;
    height: 340px;
    line-height: 35px;
}

.image-item {
    cursor: pointer;
}

.image-item a {
    text-align: center;
    text-decoration: none; /* 去掉下划线 */
}

.image-item img {
    cursor: pointer;
    width: 240px;
    height: 300px;
}
.image-item div {
    cursor: pointer;
    width: 240px;
    background-color: #eef6fb;
}

/* 分页控件的基础样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

/* 单个分页项的样式 */
.pagination a {
    color: #007bff;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid #ddd;
    margin: 0 4px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

/* 当前选中的分页项样式 */
.pagination a.active,
.pagination a:hover {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

/* 上一页和下一页链接的特殊样式 */
.pagination a:first-child,
.pagination a:last-child {
    font-weight: bold;
}

/* 内容正文 */
.content-container .title {
    width: 180mm;
    margin: 0 auto;
    font-size: 15pt;
    font-weight: bold;
    color: #003366;
    text-align: center;
    margin-top: 20px;
}

.content-container .sub-title {
    margin: 0 auto;
    font-size: 12px;
    text-align: center;
    margin-top: 10px;
}

.content-container .sub-title span {
    margin: 0 auto;
    padding-left: 10px;
}

.content-container .main-content {
    width: 195mm;
    min-height: 60px;
    margin: 0 auto;
    border: 0 solid #F0F8FF;
    font-size: 12pt;
    margin-top: 20px;
    margin-bottom: 30px;
    line-height: 22px;
}

.content-container .main-content img {
    max-width: 165mm; /* 设定最大宽度 */
    height: auto; /* 保持图片比例 */
}

/* 内嵌表格样式 */
.content-container .main-content table {
    border: 1px solid #DDD;
    border-top: 1px solid #000;
    border-right: 1px solid #000;
    border-collapse: collapse;
    border-spacing: 0;
}

.content-container .main-content table td {
    padding-left: 5px;
    line-height: 20px;
    border-bottom: 1px solid #000;
    border-left: 1px solid #000;
}

/* 附件区域样式 */
.file-list {
    padding-left: 40px;
}

.file-list .file-title {
    font-size: 14px;
    margin-top: 10px;
    padding-left: 20px;
}

.file-list ul {
    list-style-type: none;
    margin: 0 20px;
    padding: 0;
    /*display: flex;*/
}

.file-list ul li {
    font-size: 14px;
}

.file-list ul li a {
    text-decoration: none;
    color: #092e75;
}

.file-list ul li a:hover {
    text-decoration: none;
}