*{margin:0px; padding:0px;}
body{font-family:"Microsoft YaHei",微软雅黑,"MicrosoftJhengHei",华文细黑,STHeiti,MingLiu; font-size:16px; line-height:170%;background: url(../images/top.jpg) top center no-repeat; background-size: auto;}
ul,ol,li{list-style:none;}
img{border:none;}
a{text-decoration:none; color:#666666; cursor:pointer;}
a:hover{color:#01652d; text-decoration:none;}
.clear-both{clear:both; height:0; overflow: hidden;}
.left{float:left}
.right{float: right;}
#container{padding: 25px 20px 20px 20px;width: 980px;margin: 0 auto;background-color: #FFFFFF;clear: both;}
.title{border-bottom:2px solid #0b67b1; height:53px; overflow:visible;background:#EFF1F2;}
.title span{float:left; padding:0 30px; line-height:53px; height:65px; font-size:16px; cursor:pointer;}
.title span.on{background:url(../images/con_tab.png) no-repeat bottom center #0b67b1; color:#fff;}
.title a{font-size: 13px;float: right;}
#footer{text-align: center;margin: 30px 0px;width: 100%;color: #FFFFFF;}
.top{overflow: hidden;clear: both;margin-top: 15px;height: auto;}
.top dl{width:18%;display: block; margin:10px; float:left;}
.top dl dd{text-align: center;line-height: 30px;}
.top dl dt{text-align: center;cursor: pointer;}
.top dl dt img{height:180px;width:auto;} 
.box{width: 980px; margin: 0 auto;}
.box .branch,.box .contbox{text-align: center;} 
.branch ul.border_line li{float: left; width: 200px; text-align: center;} 
.branch ul.border_line li p{width: 100%; margin: 5px auto; height: 42px; font-size: 18px;line-height: 42px;} 
.branch ul.border_line li img{width: 146px; height: 146px;} 
.mask{position: fixed; top: 0; left: 0; background: rgba(0, 0, 0, .5); filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#7f000000,endColorstr=#7f000000); width: 100%; height: 100%; display: none; cursor:default;z-index: 9999;} 
.mask .mask_with{position: relative;width: 650px; height: 380px; background-color: white; margin: 0 auto; margin-top: 100px;} 
.mask img{width: 210px !important; height: 210px !important; margin-top: 10px;} 
.close{width: 60px !important; height: 2.5rem !important;line-height: 2.5rem; cursor:pointer;position: absolute;right: 10px;} 
.mask p{width: 100% !important; font-size: 16px !important; line-height: 42px;} 
.mask .mask_title{color: rgb(53, 139, 204); margin-bottom: 15px; border-bottom: 2px solid rgb(239, 239, 239); font-size: 24px !important; height: 60px;line-height: 60px;} 
.mask .mask_cont{padding:10px;margin:0 auto;height:70%;width:90%;}
.mask .mask_cont a{display: inline-block;float: left;height:35px;line-height: 35px;width:100%;text-align: left;background: url(../images/list.png) no-repeat 4px center;padding-left: 16px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
.branch ul li{cursor: pointer;} 
.border_line{border-bottom:1px #777777 dashed; margin-bottom:20px;display: inline-block;width: 100%;clear: both;}
.footer{background-color: #0c6fc0;margin-top:20px;margin-bottom:0;padding-top:20px;padding-bottom:20px;z-index: 0;position: relative;}
.footer a{color: #FFFFFF;}
.footer a:hover{color: #d09d22;}
.footer_wzbs{position: absolute; left: 0; top: 10px; width:200px; text-align:right;}
.footer_wzbs img{vertical-align: middle;}
.footer .footer-list{width: 1040px;margin: 0 auto;position: relative;}
.footer .footer-list p{text-align: center;line-height: 25px}
.footer .footer-list ul{text-align: center;padding: 5px 0;}
.footer .footer-list ul span{width: 1px;height: 15px;vertical-align: middle;margin: 0 10px;background: #105a9f;display: block;display: inline-block}
.footer .footer-list ul li{display: inline;line-height: 36px}
.footer .footer-list ul li a{color: #105a9f;font-size: 14px;vertical-align: middle}
.footer_txt{text-align: center;}
.footer_nav{margin: 10px auto;color:#FFFFFF;}
.footer_nav a{margin:0 10px;}
.footer .copyright{line-height: 24px;}
.footer .copyright span{color: #FFFFFF;font-size: 13px;}

.picScroll{ position:relative;  height:150px; padding: 10px 0 10px 42px;  background:#fff; margin-bottom:10px; overflow:hidden;   }
.picScroll ul{ overflow:hidden; zoom:1; }
.picScroll ul li{ float:left; margin: 0 6px;  width:122px; overflow:hidden; display:inline;position: relative; }
.picScroll ul li img{ width:122px; height:150px; }
.picScroll ul li a p{display: block;position: absolute;bottom: 30px;left: 30%;color: #A61415;font-weight: 600;}
.picScroll .prev,
.picScroll .next{ position:absolute;  left:10px; top: 60px; display:block; width:18px; height:28px; overflow:hidden; background:url(../images/icons.png) -40px 0 no-repeat; cursor:pointer; z-index: 10; }
.picScroll .next{ left:auto; right:10px; background-position:-120px 0; }
.picScroll .prevStop{ background-position:0 0; }
.picScroll .nextStop{ background-position:-80px 0; }
.con_list li{height:40px; line-height:40px; padding-left:16px; background:url(../images/list.png) no-repeat 4px center; border-bottom:1px solid #f2f2f2;width:47%;float:left;}
.con_list li:nth-child(2n){float:right;}
.con_list li a{color:#333; float:left;width: 70%;height: 41px;text-overflow: ellipsis;white-space: nowrap;overflow: hidden;text-align: left;}
.con_list li span{float:right; color:#bababa;}
.con_list{border-bottom:none;}
.title2{border-bottom: 2px #e2e2e2 solid;padding-bottom: 5px;margin-bottom: 20px;}
.title2 span{padding-bottom: 5px;border-bottom-width: 3px;border-bottom-style: solid;border-bottom-color: #024dca;}

.carousel-ind {position:relative;top:-15px;width:100%;line-height:0!important;text-align:right;font-size:0;}
.carousel-ind ul.carousel-ul {display:inline-block; padding:5px; background-color:rgba(0,0,0,.2); border-radius:10px; -webkit-transition-duration:.3s; transition-duration:.3s;}
.carousel-ind ul.carousel-ul li {display:inline-block; width:10px; height:10px; margin:0 3px; font-size:14px; background-color:#e2e2e2; background-color:rgba(255,255,255,.5); border-radius:50%; cursor:pointer; -webkit-transition-duration:.3s; transition-duration:.3s;}
.carousel-ind ul.carousel-ul li.data-this {background-color:#999;}
.carousel-dataview>* { display:none; background-color:#f8f8f8; transition-duration:.3s; -webkit-transition-duration:.3s;height: 100%;}
.carousel-dataview>.data-this { display:block;}
.logo{position: relative;overflow: hidden;width: 100%;height: 24.375rem;clear: both;}
.logo a{display: inline-block;width: 100%;height: 40%;}


/* ========== 预算决算列表页自定义样式 ========== */

/* 部门和镇街容器 */
#deptlist, #townlist {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.box-item {
    position: relative;
    display: inline-block;
    width: calc((100% - 50px) / 6);
    margin: 0;
    cursor: pointer;
}

.item-title {
    font-size: 16px;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: block;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s;
}

.item-title:hover {
    background-color: #f5f5f5;
}

.box-item.active .item-title {
    background-color: #fff;
    color: #cc0000;
    border-color: #cc0000;
}

/* 遮罩层 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
}

/* 弹框 */
.alert-box {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    width: 600px;
    height: 400px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    padding: 15px;
    overflow: hidden;
}

.alert-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.alert-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    color: #999;
    z-index: 1000;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.alert-close:hover {
    background: #f0f0f0;
    color: #cc0000;
}

.alert-content {
    height: 340px;
    overflow-y: auto;
}

.alert-content ul {
    margin: 0;
    padding: 0;
}

.alert-content ul li {
    list-style: none;
    line-height: 30px;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.alert-content ul li .item-title {
    flex: 1;
    text-align: left !important;
    border: none !important;
    padding: 0 0 0 5px !important;
    display: inline !important;
    white-space: normal;
    overflow: visible;
}

.alert-content ul li a {
    text-decoration: none;
    color: #333;
}

.alert-content ul li a:hover {
    color: #cc0000;
}

.alert-content .item-time {
    flex-shrink: 0;
    margin-left: 10px;
    color: #999;
    font-size: 12px;
    text-align: right;
}

/* 响应式样式 */
@media (max-width: 1200px) {
    #container {
        width: 100%;
        padding: 15px;
        box-sizing: border-box;
    }

    .box {
        width: 100%;
    }

    .box-item {
        width: calc((100% - 20px) / 3);
    }
}

@media (max-width: 768px) {
    html, body {
        width: 100%;
        overflow-x: hidden;
    }

    body {
        font-size: 14px;
        background-size: 100% auto !important;
        background-position: top center !important;
    }

    #container {
        width: 100% !important;
        padding: 10px !important;
        box-sizing: border-box;
    }

    .box {
        width: 100% !important;
    }

    .logo {
        height: 150px;
    }

    .title2 {
        margin-bottom: 15px;
    }

    .title2 span {
        font-size: 18px;
    }

    /* 年份轮播 */
    .picScroll {
        padding: 10px 0;
        height: 130px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        position: relative;
    }

    .picScroll::-webkit-scrollbar {
        height: 4px;
    }

    .picScroll::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .picScroll::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 2px;
    }

    .picScroll ul {
        display: flex;
        flex-wrap: nowrap;
        width: max-content;
        padding: 0 10px;
        align-items: flex-start;
    }

    .picScroll ul li {
        width: 80px;
        margin: 0 5px;
        flex-shrink: 0;
        float: none;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .picScroll ul li a {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        width: 80px;
    }

    .picScroll ul li img {
        width: 80px;
        height: 100px;
        display: block;
    }

    .picScroll ul li a p {
        font-size: 13px;
        position: static;
        transform: none;
        margin-top: 5px;
        color: #A61415;
        font-weight: 600;
        text-align: center;
        width: 100%;
    }

    /* 隐藏左右箭头 */
    .picScroll .prev,
    .picScroll .next {
        display: none !important;
    }

    /* 标题栏 */
    .title {
        height: 45px;
    }

    .title span {
        padding: 0 15px;
        line-height: 45px;
        height: 45px;
        font-size: 14px;
    }

    .title span.on {
        background-position: bottom center;
        background-size: 100% 3px;
    }

    /* 区级列表 */
    .con_list {
        display: block;
    }

    .con_list li {
        width: 100% !important;
        float: none !important;
        padding-left: 20px;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .con_list li a {
        width: 70%;
        font-size: 14px;
    }

    .con_list li span {
        font-size: 12px;
    }

    /* 部门和镇街 */
    #deptlist, #townlist {
        margin: 10px !important;
        gap: 8px;
    }

    .box-item {
        width: calc((100% - 16px) / 3) !important;
    }

    .item-title {
        font-size: 13px;
        padding: 8px 5px;
    }

    /* 弹框 */
    .alert-box {
        width: 90%;
        max-width: 500px;
        height: 80vh;
        max-height: 600px;
        padding: 12px;
    }

    .alert-title {
        font-size: 16px;
        margin-bottom: 8px;
        padding-bottom: 8px;
    }

    .alert-close {
        width: 28px;
        height: 28px;
        line-height: 28px;
        font-size: 22px;
        top: 8px;
        right: 8px;
    }

    .alert-content {
        height: calc(100% - 45px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .alert-content::-webkit-scrollbar {
        width: 4px;
    }

    .alert-content::-webkit-scrollbar-track {
        background: #f5f5f5;
    }

    .alert-content::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 2px;
    }

    .alert-content ul {
        padding: 0;
    }

    .alert-content ul li {
        flex-direction: row;
        align-items: flex-start;
        padding: 10px 5px;
        line-height: 1.6;
        border-bottom: 1px solid #f0f0f0;
        min-height: auto;
    }

    .alert-content ul li:last-child {
        border-bottom: none;
    }

    .alert-content ul li > span:first-child {
        flex-shrink: 0;
        margin-right: 5px;
        color: #666;
        line-height: 1.6;
    }

    .alert-content ul li .item-title {
        flex: 1;
        font-size: 14px;
        line-height: 1.6;
        padding: 0 !important;
        margin: 0 !important;
        word-break: break-all;
        white-space: normal !important;
    }

    .alert-content ul li a {
        color: #333;
        line-height: 1.6;
        display: inline;
    }

    .alert-content ul li a:active {
        color: #cc0000;
    }

    .alert-content .item-time {
        flex-shrink: 0;
        margin-left: 8px;
        font-size: 11px;
        color: #999;
        white-space: nowrap;
        align-self: flex-start;
        line-height: 1.6;
    }

    /* 底部 */
    .footer {
        padding: 15px 10px;
    }

    .footer .footer-list {
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .footer_nav {
        font-size: 13px;
    }

    .footer_nav a {
        margin: 0 5px;
    }

    .footer .copyright {
        font-size: 12px;
        line-height: 20px;
    }

    .footer .copyright span {
        font-size: 12px;
    }

    .footer_wzbs {
        display: none;
    }
}

@media (max-width: 480px) {
    .box-item {
        width: calc((100% - 8px) / 2) !important;
    }

    .item-title {
        font-size: 12px;
        padding: 6px 3px;
    }
}
