﻿/**头部标题样式*/

#main {
    position: absolute;
    top: 10px;
    bottom: 40px;
    width: 100%;
    padding: 0 10px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

    #main img {
        width: 100%;
    }

#scroller {
    margin: 0px;
    padding: 5px;
    border: 1px solid #cad0ce;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 2;
    background-color: #FFF;
    border-top: 1px solid #eee;
}

    footer ul {
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
        height: 50px;
        display: flex;
    }

    footer li {
        flex: 1;
        height: 100%;
        margin-left: 0 !important;
    }

    footer a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        color: #333 !important;
        font-size: 14px;
        text-decoration: none !important;
        padding: 0;
    }

        footer a::before {
            content: "";
            display: block;
            width: 25px;
            height: 25px;
            background-repeat: no-repeat;
            background-position: center;
            background-size: contain;
            margin-right: 5px;
        }

.b_list::before {
    background-image: url('../images2026/page.png');
}

.nav-btn::before {
    background-image: url('../images2026/catalog.png');
}

.poster-btn::before {
    background-image: url('../images2026/poster_icon.png');
}

.calendar-btn::before {
    background-image: url('../images2026/history.png');
}

/**目录*/
#catalog {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

    #catalog ul {
        width: 100%;
        list-style: none;
        padding-bottom: 40px;
    }

    #catalog li {
        width: 100%;
        height: 45px;
        font-size: 12px;
    }

    #catalog a {
        display: block;
        width: 100%;
        padding: 0 30px;
        color: #333;
        font-size: 16px;
        text-decoration: none;
        line-height: 44px;
        background-color: #FFF;
        border-bottom: 1px solid #CCC;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    #catalog #caption {
        padding: 0 25px;
        font-weight: 500;
        font-size: 18px;
        line-height: 43px;
        background-color: #EEE;
        border-top: 1px solid #CCC;
    }

    #catalog a.on {
        color: #FFF;
        background-color: #D9383D;
    }
/**版面1*/
#page-1 {
    position: fixed;
    top: 0;
    left: -220px;
    bottom: 40px;
    width: 220px;
    background-color: #ccc;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

    #page-1 ul {
        width: 100%;
        list-style: none;
        padding: 10px 0;
    }

    #page-1 li {
        width: 100%;
        height: 40px;
        font-size: 12px;
        line-height: 40px;
        display: block;
        white-space: nowrap;
        text-overflow: ellipsis;
        -o-text-overflow: ellipsis;
        overflow: hidden;
    }

    #page-1 a {
        color: #333;
        margin-left: 20px;
        text-decoration: none;
    }
/**版面2*/
#page-2 {
    position: fixed;
    bottom: -160px;
    left: 50%;
    width: 288px;
    height: 200px;
    margin-left: -144px;
    background-color: #FFF;
    border: 1px solid #D9383D;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

    #page-2 ul {
        width: 100%;
        list-style: none;
        padding: 10px;
    }

    #page-2 li {
        width: 14.2%;
        height: 36px;
        font-size: 12px;
        line-height: 36px;
        padding: 0 5px;
        float: left;
    }

    #page-2 a {
        display: block;
        width: 30px;
        height: 30px;
        line-height: 30px;
        padding: 0 4px;
        margin: 3px 4px;
        float: left;
        color: #333;
        font-size: 12px;
        text-decoration: none;
    }
/**版面3*/
#page-3 {
    position: fixed;
    bottom: -180px;
    left: 50%;
    width: 288px;
    height: 220px;
    margin-left: -144px;
    background-color: #FFF;
    border: 1px solid #D9383D;
    -webkit-overflow-scrolling: touch;
}

    #page-3 ul {
        width: 100%;
        list-style: none;
        padding: 20px 15px 0 15px;
    }

    #page-3 li {
        width: 45%;
        height: 210px;
        margin: 0 2.5%;
        float: left;
    }

    #page-3 a {
        position: relative;
        display: block;
        width: 100%;
        height: 0;
        padding-bottom: 150%;
        float: left;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        text-decoration: none;
        border: 1px solid #999;
        border-radius: 3px;
    }

        #page-3 a span {
            position: absolute;
            display: block;
            width: 100%;
            bottom: -36px;
            color: #333;
            font-size: 12px;
            line-height: 35px;
            text-align: center;
        }
/**蒙板样式*/
#mask {
    display: none;
    position: fixed;
    ;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
}
/**日期插件样式修改*/
.form_date {
    position: fixed;
    bottom: 0;
    left: 50%;
    margin-left: -144px;
    width: 288px;
    height: 60px;
    z-index: -20;
    border: 1px solid #FFF;
}

.datetimepicker {
    padding: 10px;
}

.table-condensed tbody > tr > td {
    padding: 8px 12px;
}

.datetimepicker-days td.active {
    background-color: #D9383D !important;
    background-image: none !important;
}

/* 提取自原文件的内联样式和<style>块 */
.hotSpot-box {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
}

/* ================== 海报生成样式 ================== */
.synthPage {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 99999;
    padding: 13px 13px 5px 13px;
    box-sizing: border-box;
    display: none;
    overflow: auto;
}

    .synthPage.active {
        display: block;
        background: url('../images2026/bg.png') repeat center / cover;
    }

    .synthPage .closeBtn {
        text-align: right;
        padding-bottom: 10px;
    }

        .synthPage .closeBtn i {
            display: inline-block;
            width: 15px;
            height: 15px;
            background: url('../images2026/close_icon.png') no-repeat center / contain;
            cursor: pointer;
        }

#synthWrap {
    width: 100%;
    padding: 10px;
    height: auto;
    max-height: calc(100% - 40px);
    background-color: #ffffff;
    position: relative;
    box-sizing: border-box;
    box-shadow: 0px 4px 21px 3px rgba(195, 187, 187, 0.4);
    border-radius: 5px;
}

    #synthWrap .synthHead {
        display: flex;
        justify-content: space-between;
        color: #8F8F8F;
        height: 20px;
        margin-bottom: 10px;
        font-size: 12px;
        line-height: 20px;
        font-weight: 500;
    }

        #synthWrap .synthHead img {
            height: 100%;
            width: auto;
            max-width: 40%;
        }

    #synthWrap img.synthPaper {
        width: 100%;
        height: auto;
        max-width: 100%;
        max-height: calc(100% - 100px);
        margin: 0 auto;
        display: block;
        box-shadow: 0px 4px 21px 3px rgba(195, 187, 187, 0.4);
        border-radius: 4px;
        border: 1px solid rgba(195, 187, 187, 0.3);
    }

    #synthWrap .footer {
        width: 100%;
        height: 60px;
        padding: 10px 0;
        box-sizing: border-box;
        font-size: 12px;
        color: #8F8F8F;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 10px;
        border-top: 1px solid #eee;
    }

        #synthWrap .footer .left {
            width: 50%;
            text-align: left;
        }

            #synthWrap .footer .left img {
                height: 35px;
                width: auto;
            }

        #synthWrap .footer .right {
            width: 50%;
            height: 100%;
            text-align: right;
            display: flex;
            justify-content: flex-end;
            align-items: center;
        }

            #synthWrap .footer .right .text {
                text-align: right;
                margin-right: 8px;
                line-height: 1.4;
            }

            #synthWrap .footer .right .qr {
                width: 55px;
                height: 55px;
            }

                #synthWrap .footer .right .qr img {
                    width: 100%;
                    height: 100%;
                }

#synthImg {
    display: none;
    text-align: center;
    padding-top: 10px;
}

    #synthImg img {
        width: auto;
        max-width: 100%;
        box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    }

.saveTipsBtn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 36px;
    background-color: #F05A59;
    border-radius: 18px;
    text-align: center;
    line-height: 36px;
    color: #FFF;
    font-size: 14px;
    z-index: 100001;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: none;
}

.synthmask {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    background-color: rgba(0,0,0,0.5);
    display: none;
}

    .synthmask img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 32px;
    }

#qrcode {
    display: none;
}

/* ================== 新增：右上角动态 PDF 按钮样式 ================== */
.wap-wrap {
    position: relative; /* 确保在文档流中有正常的相对定位基础 */
}

.top-pdf-btn {
    position: fixed; /* 使用 fixed 防止滑动时跟着内容滚动 */
    top: 20px;
    right: 15px;
    z-index: 9999;
    background-color: rgba(217, 56, 61, 0.9); /* 使用与报社主色彩一致的红色 */
    color: #FFF !important;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none !important;
    box-shadow: 0 3px 8px rgba(0,0,0,0.25);
    display: none; /* 默认隐藏，在获取到正确的href时会自动显示 */
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

    .top-pdf-btn:active {
        background-color: #b92b30;
        box-shadow: 0 1px 4px rgba(0,0,0,0.25);
        transform: translateY(1px);
    }
