﻿body {
    font-family: "Microsoft YaHei", "Segoe UI", sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f0f4f8;
}
.bg{
     background: url(https://www.shilongqu.gov.cn/upload/images/2024/11/8e19c4b91a52e8a97bc232e9fae09e7b.png) no-repeat center center;
    height: 360px;
    background-size: 100% 100%;
}

.container-tab {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.nav-tab {
    width: 200px;
    background-color: #f8fafc;
    border-right: 1px solid #e2e8f0;
}

.button-tab {
    display: block;
    width: 100%;
    padding: 15px 20px;
    text-align: left;
    border: none;
    background-color: transparent;
    font-size: 16px;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button-tab:hover {
    background-color: #edf2f7;
}

.button-tab.active-tab {
    background-color: #ffffff;
    color: #3182ce;
    font-weight: bold;
    box-shadow: inset 4px 0 0 #3182ce;
}

.content-tab {
    flex-grow: 1;
    padding: 30px;
}

.panel-tab {
    display: none;
    animation: fadeIn 0.5s ease;
}

.panel-tab.active-tab {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    margin-top: 0;
    color: #2d3748;
}

p {
    color: #4a5568;
    line-height: 1.6;
}


/* tab2 */
.container-tab2 {
    max-width: 600px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tabs-tab2 {
    display: flex;
}

.tab-button-tab2 {
    flex: 1;
    padding: 15px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.tab-button-tab2:hover {
    background-color: #e8e8e8;
}

.tab-button-tab2.active-tab2 {
    background-color: #ffffff;
    color: #007bff;
}

.tab-content-tab2 {
    padding: 20px;
    display: none;
}

.tab-content-tab2.active-tab2 {
    display: block;
}

@media (max-width: 480px) {
    .tabs-tab2 {
        flex-direction: column;
    }

    .tab-button-tab2 {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid #e0e0e0;
    }

    .tab-button-tab2.active-tab2 {
        border-bottom: 2px solid #007bff;
    }
}


/* data */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f4f8;
}
.content{
    margin-top: 40px;
}

#chart1{
     width: 750px;
    height: 500px;
    margin: 50px auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}
#chart3{
    width: 750px;
    height: 500px;
    margin: 50px auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
#chart5{
    width: 750px;
    height: 500px;
    margin: 50px auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
#chart7{
    width: 750px;
    height: 500px;
    margin: 50px auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.tab2-g{
    display: flex;
    cursor: pointer;
        float: left;
    margin-top: 14px;
}
.tab2{
    padding: 0 5px;
    display: flex;
}

#chart2 {
    width: 750px;
    height: 500px;
    margin: 50px auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
#chart4 {
    width: 750px;
    height: 500px;
    margin: 50px auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
#chart6 {
    width: 750px;
    height: 500px;
    margin: 50px auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
#chart8 {
    width: 750px;
    height: 500px;
    margin: 50px auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.tab-content, .tab-content2,.tab-content3,.tab-content4{
    display: none;
}

.active {
    display: block ;
}

/* 统计数据 */
.statistics{
    margin-top: 40px;
    border-radius: 8px;

}
.statistics-banxin{
    max-width: 1200px;
    margin: auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

}
.container-data {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    overflow: hidden;
    border-radius: 8px;

}

.header-data {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 15px;

    border-bottom: 1px solid #eee;
}

.title-data {
    color: #2b79e4;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 13px;
}

.title-data::before {
    content: '';
    width: 4px;
    height: 18px;
    background: #2b79e4;
    display: inline-block;
    margin-right: 8px;
    border-radius: 2px;
}

.more-data {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    margin-top: 13px;
}

.more-data:hover {
    color: #2b79e4;
}

.list-data {
    padding: 0;
    margin: 0;
    list-style: none;
}

.item-data {
    display: flex;
    justify-content: space-between;
    padding: 15px 15PX;
    border-bottom: 1px dashed #e5e5e5;
    transition: background-color 0.3s;
}

.item-data:last-child {
    border-bottom: none;
}

.item-data:hover {
    background-color: #f8f9fa;
}

.link-data {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.link-data:hover {
    color: #2b79e4;
}

.date-data {
    color: #999;
    font-size: 14px;
}

@media (max-width: 768px) {
    .container-data {
        margin: 10px;
        border-radius: 6px;
    }

    .title-data {
        font-size: 16px;
    }

    .link-data {
        font-size: 14px;
    }

    .date-data {
        font-size: 12px;
    }
    .bg{
    height: 289px;
}
    
}
@media (max-width: 470px) {

.bg img{
    width: 200px;
}
.oldModel * {
    font-size: 14px !important;
}
.content-tab {
    transform: scale(.5);
    margin-left: -208px;
}
.bg{
    height: 187px;
}
.slh {
    transform: scale(0.5);
    margin-top: -8px !important;
}
}
@media (max-width: 350px) {
 .content-tab {
    transform: scale(.4);
  margin-left: -246px;
}
}