﻿/*body {
    margin-bottom: 450px;*/
    /*background-color: #e8ebe0;*/
/*}*/

/* 右侧内容区样式 */
/*.right-content {
    flex: 1;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: -15px 2px 10px rgba(0,0,0,0.2);
    padding: 20px;
    position: relative;
    margin-top: 10vh;
    margin-left: 3vw;
}


.table-container {
    margin: 20px auto;
    width: 90%;
    max-width: 1200px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
    vertical-align: middle;
}

th {
    background-color: #f5f5f5;
}

.pdf-icon {
    width: 40px;*/ /* 增大图标尺寸 */
    /*height: 40px;
    cursor: pointer;
    transition: transform 0.2s;
}

    .pdf-icon:hover {
        transform: scale(1.1);*/ /* 悬停时放大效果 */
    /*}

    .pdf-icon.inactive {
        opacity: 0.3;*/ /* 未上传文件时的透明度 */
        /*cursor: default;
    }

.upload-note {
    margin: 20px auto;
    padding: 15px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 90%;
    max-width: 1200px;
}*/

/* 登录模态框样式 */
/*.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    width: 300px;
    border-radius: 5px;
}

.modal-close {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
}

.form-group {
    margin-bottom: 15px;
}

    .form-group label {
        display: block;
        margin-bottom: 5px;
    }

    .form-group input {
        width: 100%;
        padding: 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
    }

.btn {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.upload-container {
    text-align: right;
    margin: 20px auto;
    width: 90%;
    max-width: 1200px;
}

.read-more-custom {
    margin: 5vh 5vh;
}

    .read-more-custom a {
        Text-decoration: none;
    }*/

/* PDF查看器模态框样式 */
/*.pdf-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
}

.pdf-modal-content {
    position: relative;
    width: 90%;
    height: 90%;
    margin: 2% auto;
    background: white;
    padding: 20px;
    border-radius: 5px;
}

.pdf-toolbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: #f4f4f4;
    padding: 5px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 5px 5px 0 0;
}

.pdf-viewer {
    width: 100%;
    height: calc(100% - 40px);
    margin-top: 40px;
    border: none;
}

.toolbar-button {
    padding: 5px 10px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .toolbar-button:hover {
        background: #0056b3;
    }

.pdf-close {
    position: absolute;
    right: 10px;
    top: 5px;
    color: #333;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
}*/


/*gszl样式*/
/*.document-list {
    margin: 20px auto;
    width: 90%;
    max-width: 1200px;
}

.document-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border: none;
    margin-bottom: 15px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .document-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 4px;
        height: 100%;
        background: #007bff;
        border-radius: 2px;
    }

    .document-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

.document-icon {
    width: 45px;
    height: 45px;
    margin-right: 20px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

    .document-icon:hover {
        transform: scale(1.1);
    }

.document-info {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.document-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.document-date {
    font-size: 14px;
    color: #7f8c8d;
}

.document-actions {
    display: flex;
    gap: 10px;
}

.action-button {
    padding: 6px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.update-btn {
    background-color: #2ecc71;
    color: white;
}

    .update-btn:hover {
        background-color: #27ae60;
    }

.delete-btn {
    background-color: #e74c3c;
    color: white;
}

    .delete-btn:hover {
        background-color: #c0392b;
    }

.upload-container {
    text-align: right;
    margin: 20px auto;
    width: 90%;
    max-width: 1200px;
}

.upload-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

    .upload-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    }*/

/* 模态框样式 */
/*    .modal {
            background-color: rgba(0, 0, 0, 0.5) !important;
        } */

/*.modal-content {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border-radius: 10px 10px 0 0;
    border-bottom: none;
}

.modal-title {
    font-weight: 600;
}

.btn-close {
    color: white;
}

.modal-body {
    padding: 20px;
}

.form-label {
    font-weight: 500;
    color: #2c3e50;
}

.form-control {
    border: 1px solid #dce4ec;
    border-radius: 5px;
    padding: 10px;
    transition: all 0.3s ease;
}*/

/*      .form-control:focus {
                border-color: #007bff;
                box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
            } */

/*.modal-footer {
    border-top: none;
    padding: 15px 20px;
}

.modal-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.modal-btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
}

    .modal-btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    }

.modal-btn-secondary {
    background: #6c757d;
    color: white;
}

    .modal-btn-secondary:hover {
        background: #5a6268;
    }*/

/* PDF查看器样式 */
/*.pdf-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1050;
}

.pdf-modal-content {
    position: relative;
    width: 90%;
    height: 90%;
    margin: 2% auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

.pdf-toolbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 10px 10px 0 0;
}

.pdf-viewer {
    width: 100%;
    height: calc(100% - 50px);
    margin-top: 50px;
    border: none;
    border-radius: 0 0 10px 10px;
}

.toolbar-button {
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

    .toolbar-button:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: translateY(-1px);
    }

.pdf-close {
    position: absolute;
    right: 15px;
    top: 10px;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 1051;
    transition: all 0.3s ease;
}

    .pdf-close:hover {
        transform: scale(1.1);
    }*/


body {
    margin-bottom: 450px;
}

.text-line1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
   /* letter-spacing: 2px;*/
    animation: fadeInDown 1s ease;
}

.text-line2 {
    font-size: 1.8rem;
    font-weight: 300;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    /*letter-spacing: 1px;*/
    animation: fadeInUp 1s ease;
}


/*年份下拉框样式*/
.select-container {
    position: relative;
    max-width: 1000px;
    margin: 20px auto;
}

.year-selector {
    width: 100%;
    padding: 15px 20px 15px 10px; /* 调整内边距 */
    font-size: 1.1rem;
    color: #2c3e50;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #bdc3c7;
    appearance: none;
    -webkit-appearance: none;
    z-index: 1;
    position: relative;
    cursor: pointer;
}

    /* 移除选中年份后的标签显示 */
    .year-selector:focus + label,
    .year-selector:valid + label {
        display: none;
    }

/* 隐藏标签（不再需要） */
label {
    display: none;
}

/* 年份内容区域 */
#yearContent {
    max-width: 1000px;
    margin: 10px auto;
    background: lightgray;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

#selectedYearLink {
    color: #2c3e50;
    transition: all 0.3s ease;
}

    #selectedYearLink:hover {
        color: #3498db;
        text-decoration: none;
    }

#selectedYear {
    font-size: 2rem;
    font-weight: 600;
    color: #0F557f;
    border: none;
}

#contentDisplay {
    font-size: 1rem;
    line-height: 0.5;
    color: red;
    margin-top: 22px;
}

/* 动画效果 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .slideshow-container {
        height: 400px;
    }

    .text-line1 {
        font-size: 2.5rem;
    }

    .text-line2 {
        font-size: 1.3rem;
    }

    #yearContent {
        padding: 25px;
        margin: 20px 15px;
    }

    #selectedYear {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .slideshow-container {
        height: 300px;
    }

    .text-line1 {
        font-size: 2rem;
    }

    .text-line2 {
        font-size: 1rem;
    }

    .year-selector {
        width: 90%;
    }
}

@media (max-width: 1366px) {
    .slideshow-container .slide img {
        object-position: center 70%; /*默认显示图片的上半部分 */
    }
}




