﻿/* ===================================
 * 移动端样式表
 * 版本: V2.0 (Mobile)
 * 适配: 电子招采系统
 * 基于: main.css V2.0
 * =================================== */

/***f新增**/
.bannerfont-bottom img{
    display:none;
}
#div_topright{
    display: none;
}
.topnav{
    display:none;
}
/* ===== 1. 基础重置与移动端优化 ===== */
* {
    outline: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img, a img, a:hover img {
    border: 0;
}

i, em {
    font-style: normal;
}

ol, ul, dl, li, dt, dd {
    list-style: none;
}

:focus {
    outline: 0;
}

iframe {
    border: 0;
}

/* 移动端字体平滑与防缩放 */
body {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ===== 2. 链接与交互样式 ===== */
a {
    color: #252525;
    text-decoration: none;
}

    a:hover,
    a:active {
        color: #0073E6;
    }

a, .btn, .more {
    transition: all 300ms ease;
    -webkit-appearance: none;
}

/* ===== 3. 表单元素 ===== */
input:not(.myinput),
select:not(.myinput),
button {
    -webkit-appearance: none;
}

::-webkit-input-placeholder {
    color: #999999;
}

.myinput input {
    appearance: auto;
}

.myinput label {
    margin-left: 3px;
    position: relative;
    bottom: 1.5px;
}

/* ===== 4. 辅助类 ===== */
.clear {
    clear: both;
    height: 0;
    font-size: 0;
    overflow: hidden;
}

.mr0 {
    margin-right: 0 !important;
}

/* ===== 5. 基础布局 (移动端适配) ===== */
html {
    font-size: 16px; /* 移动端推荐基础字体大小 */
}

body {
    color: #252525;
    background: #ffffff;
    font-size: 14px;
    line-height: 1.6;
    font-family: "Microsoft Yahei", "Hiragino Sans GB", "Microsoft Sans Serif", sans-serif;
}
/* 移除 min-width，允许内容自适应 */
.wrap {
    overflow-x: hidden;
}
/* 移除固定宽度，改为全宽或自适应容器 */
.mainbox {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 16px; /* 两侧留白，避免贴边 */
}

/* ===== 6. 头部区域 (响应式) ===== */
.header {
    background: linear-gradient(180deg, #E6F2FF 0%, #FFFFFF 50%, #FFFFFF 100%);
}

.topbox {
    height: auto;
    padding: 16px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

    .topbox .logo,
    .topbox .logotext,
    .topbox .logotext2 {
        float: none;
        margin: 8px 12px 8px 0;
        padding-top: 0;
    }

        .topbox .logo img {
            height: 36px;
        }

    .topbox .logotext,
    .topbox .logotext2 {
        margin-top: 0;
        padding-left: 12px;
    }

        .topbox .logotext b,
        .topbox .logotext2 b {
            font-size: 20px;
            line-height: 24px;
            margin-bottom: 2px;
        }

        .topbox .logotext span {
            font-size: 11px;
        }

        .topbox .logotext:before,
        .topbox .topright i {
            display: none; /* 移动端隐藏分隔线 */
        }

    /* ===== 7. 顶部工具栏 (移动优化) ===== */
    .topbox .topright {
        float: none;
        margin-left: auto;
        margin-top: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    .topbox .toptool {
        line-height: 24px;
        text-align: right;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 8px;
    }

        .topbox .toptool a {
            padding: 4px 8px;
            line-height: 20px;
            font-size: 14px;
        }

            .topbox .toptool a img {
                height: 20px;
                margin-right: 4px;
            }

    .topbox .toptel {
        clear: none;
        color: #0073E6;
        line-height: 20px;
        padding-top: 4px;
        font-size: 14px;
    }

/* ===== 8. 顶部导航 (汉堡菜单) ===== */
.topnav {
    clear: both;
    height: auto;
    padding: 12px 0;
    border-top: 1px solid #eee;
}
/* 汉堡菜单按钮 */
.hamburger {
    display: block;
    width: 40px;
    height: 40px;
    background: #0073E6;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 20px;
    cursor: pointer;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .hamburger span {
        display: block;
        width: 20px;
        height: 2px;
        background: white;
        margin: 2px 0;
    }

/* 移动端导航菜单 (默认隐藏) */
.topnav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 12px;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    overflow: hidden;
}

    .topnav ul.active {
        display: flex;
    }

    .topnav ul li {
        float: none;
        width: 100%;
        border-bottom: 1px solid #e6e6e6;
    }

        .topnav ul li:last-child {
            border-bottom: none;
        }

        .topnav ul li:before {
            display: none;
        }

.topnav a {
    float: none;
    display: block;
    height: auto;
    line-height: 50px;
    font-size: 16px;
    width: 100%;
    text-align: center;
    border: none;
    padding: 0 16px;
}

    .topnav a i {
        margin-left: 8px;
        font-size: 12px;
        width: 24px;
        height: 18px;
        line-height: 18px;
        margin-bottom: 0;
    }

    .topnav .on a,
    .topnav a:hover {
        color: #0073E6;
        background-color: #f5f9ff;
    }

/* 下拉菜单 (移动端改为点击展开) */
.topnav .m {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    background: #f9f9f9;
    padding: 0;
    box-shadow: none;
    display: none;
    border-top: 1px solid #e6e6e6;
}

    .topnav .m.active {
        display: block;
    }

    .topnav .m a {
        padding: 12px 24px;
        font-size: 14px;
        line-height: 24px;
        background: #f9f9f9;
    }

        .topnav .m a:hover {
            background-color: #eaf4ff;
            font-size: 14px;
        }

/* ===== 9. 首页轮播图 (响应式) ===== */
.ibanner {
    position: relative;
    overflow: hidden;
    height: 100%; /* 降低高度适应移动端 */
}

    .ibanner .img {
        height: 100%;
        background-size: cover !important;
    }

    .ibanner .swiper-pagination {
        bottom: 16px !important;
    }

    .ibanner .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
        margin: 0 6px;
    }

    .ibanner .swiper-pagination-bullet-active {
        width: 18px;
        height: 6px;
    }

/* ===== 10. 轮播图底部信息栏 ===== */
.ibanner_foot {
    height: 40px;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .ibanner_foot .mainbox {
        width: 100%;
        padding: 0 16px;
    }

/* ===== 11. 通知信息框 (垂直滚动) ===== */
.inote_box,
.inote_box_2 {
    float: none;
    width: 100%;
    height: auto;
    min-height: 60px;
    padding: 12px 16px;
    background-position: 10px 20px;
    margin: 16px 0;
    border-radius: 4px;
    background-color: rgba(0, 115, 230, 0.1);
    position: relative;
}

    .inote_box .item,
    .inote_box_2 .item {
        height: auto;
        line-height: 1.5;
        font-size: 14px;
        color: #0073E6;
        padding: 4px 0;
    }

        .inote_box .item i {
            width: 14px;
            height: 14px;
            margin-left: 4px;
            background-size: 10px auto;
        }

    .inote_box .swiper-button-prev,
    .inote_box .swiper-button-next,
    .inote_box .more {
        display: none; /* 移动端隐藏左右按钮，依靠自动滚动 */
    }

/* ===== 12. 主要内容区域 ===== */
.imain1,
.imain2 {
    padding: 24px 0;
}

/* ===== 13. 顶部列表 (垂直排列) ===== */
.itop_list ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

    .itop_list ul li {
        float: none;
        width: 100%;
        margin-right: 0;
    }

.itop_list a {
    padding: 12px 20px 12px 80px;
    line-height: 60px;
    height: 60px;
    border-radius: 8px;
}

    .itop_list a img {
        height: 60px;
        margin-top: -10px;
        left: 16px;
    }

    .itop_list a b {
        font-size: 16px;
        text-align: left;
    }

    .itop_list a i {
        right: 16px;
    }

/* ===== 14. 内容盒子通用样式 ===== */
/* 给 .ibox 添加相对定位，作为绝对定位的参考容器 */
 

/* ===== 15. 内容盒子样式1 (侧边栏改为顶部标签) ===== */
.ibox1,
.ibox3 {
    padding-left: 0;
}

    .ibox1 .ibox_t,
    .ibox3 .ibox_t {
        position: static;
        width: auto;
        height: auto;
        padding: 16px;
        background: #f5f7fa;
        border-bottom: 1px solid #e6e6e6;
    }

        .ibox1 .ibox_t .tit,
        .ibox3 .ibox_t .tit {
            text-align: left;
            margin-bottom: 12px;
            float:left;
        }

            .ibox1 .ibox_t .tit img,
            .ibox3 .ibox_t .tit img {
                height: 36px;
                margin: 0 0 0 8px;
            }

        .ibox1 .ibox_t ul,
        .ibox3 .ibox_t ul {
            float: none;
            clear: both;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 12px;
        }

            .ibox1 .ibox_t ul li,
            .ibox3 .ibox_t ul li {
                float: none;
                margin-bottom: 0;
                line-height: 32px;
                font-size: 14px;
                padding: 0 12px;
                border-radius: 16px;
                background-color: #f0f0f0;
            }

                .ibox1 .ibox_t ul li.on,
                .ibox3 .ibox_t ul li.on {
                    background-color: #e0f0ff;
                    color: #0073E6;
                }

        .ibox1 .ibox_t .more,
        .ibox3 .ibox_t .more {
            /*position: relative;*/
            text-align: right;
            margin-top: 8px;
            font-size: 14px;
            /*right:10px;*/
            float:right;

        }

    .ibox1:after,
    .ibox3:after {
        display: none;
    }

/* ===== 16. 内容盒子样式2 (简化) ===== */
.ibox2_right,
.ibox2_left {
    float: none;
    width: auto;
}

.ibox2 .ibox_t {
    border-radius: 8px 8px 0 0;
    border: none;
    border-bottom: 1px solid #e6e6e6;
    height: auto;
    padding: 16px;
}

    .ibox2 .ibox_t .tit {
        float: left;
        padding: 0;
        line-height: 24px;
        margin-bottom: 12px;
        position:relative;
    }

        .ibox2 .ibox_t .tit img {
            height: 24px;
            margin: 0 8px 8px 0;
        }

    .ibox2 .ibox_t ul {
        float: none;
        padding-left: 0;
        display: flex;
        overflow-x: auto;
        gap: 16px;
        padding-bottom: 8px;
        clear:both;
    }

        .ibox2 .ibox_t ul li {
            float: none;
            white-space: nowrap;
            line-height: 24px;
            font-size: 14px;
            padding: 0;
            color: #999;
        }

            .ibox2 .ibox_t ul li.on {
                color: #0073E6;
            }

            .ibox2 .ibox_t ul li:after {
                height: 2px;
                width: 24px;
                margin-left: -12px;
            }

    .ibox2 .ibox_t .more {
        position: static;
        right: 16px;
        top: 16px;
        float:right;
    }


/* ===== 17. 新闻列表 (简化) ===== */
.inews_list,
.inews_list_2 {
    padding: 16px 0;
}

    .inews_list ul li,
    .inews_list_2 ul li {
        position: relative;
        padding: 12px 80px 12px 16px;
        line-height: 24px;
        border-bottom: 1px solid #eee;
    }

        .inews_list ul li:last-child,
        .inews_list_2 ul li:last-child {
            border-bottom: none;
        }

        .inews_list ul li .time,
        .inews_list_2 ul li .time {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 12px;
            color: #999;
        }

        .inews_list ul li a {
            height: auto;
            line-height: 1.5;
        }

    /* 双列新闻改为单列 */
    .inews_list_2 ul li {
        float: none;
        width: 100%;
        margin-right: 0;
    }

    .inews_list_2:before {
        display: none;
    }

/* ===== 18. 下载列表 ===== */
.idown_list {
    padding: 16px;
}

    .idown_list ul li {
        margin-bottom: 12px;
    }

        .idown_list ul li a {
            height: 60px;
            line-height: 60px;
            padding: 0 16px 0 56px;
            border-radius: 8px;
            background-color: #f9f9f9;
        }

            .idown_list ul li a img {
                height: 32px;
                margin-top: -16px;
                left: 16px;
            }

/* ===== 19. 链接列表 (网格布局) ===== */
.ilink_list ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

    .ilink_list ul li {
        float: none;
        width: 100%;
        margin-right: 0;
    }

.ilink_list a {
    height: 80px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

    .ilink_list a p {
        position: static;
        margin: 0;
        transition: none;
    }

    .ilink_list a b {
        font-size: 16px;
    }

    .ilink_list a span {
        display: block;
        font-size: 12px;
        color: #666;
        margin-top: 4px;
        opacity: 1;
    }

    .ilink_list a img {
        height: 50px;
        right: 12px;
        bottom: 12px;
    }

    .ilink_list a:hover {
        transform: scale(1);
        background: #f0f8ff;
    }

/* ===== 20. 页脚样式 (简化) ===== */
.footer {
    background: #e6ecf2;
    color: #333;
    padding: 24px 0;
    text-align: center;
}

.footbox {
    padding: 0 16px;
}

    .footbox .flogo,
    .footbox .fnav,
    .footbox .fstati {
        float: none;
        text-align: center;
        margin-bottom: 16px;
    }

        .footbox .flogo img {
            height: 40px;
        }

        .footbox .fnav ul,
        .footbox .fstati ul {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 16px;
            padding: 8px 0;
        }

            .footbox .fnav ul li,
            .footbox .fstati ul li {
                float: none;
            }

                .footbox .fnav ul li a,
                .footbox .fstati ul li b,
                .footbox .fstati ul li span {
                    display: block;
                    font-size: 14px;
                }

                .footbox .fnav ul li img {
                    height: 20px;
                    margin: 0 auto 4px auto;
                }

                .footbox .fstati ul li:before {
                    display: none;
                }

.fstati span{display:none}

.flink {
    padding: 12px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
}

    .flink .t,
    .flink a {
        float: none;
    }

    .flink i {
        display: none;
    }

.fcopy {
    float: none;
    width: auto;
    margin: 12px auto 0;
    font-size: 12px;
    color: #666;
}

/* ===== 21. 滚动条 (移动端通常隐藏) ===== */
::-webkit-scrollbar {
    width: 0;
    height: 0;
}
