@charset "utf-8";
/*!
 * layout-optimize.css —— 前台排版优化补丁
 *
 * 说明：本文件在站点样式（css/main.css）与主题样式（Themes/Default/*.css）之后加载，
 * 只做「增量覆盖」，不改动任何原有样式文件，便于随时回滚。
 *
 * 主要修复：
 *   1. 副页：containert 拼写错误兜底、侧栏/内容栅格顺序与移动端堆叠、内容区图文自适应
 *   2. 首页：会员登录 / 货物追踪卡片区溢出换行、search-slider 固定高度截断、vw 字号过小
 *   3. 公共：页脚与在线留言区在小屏下的间距
 */

/* ==========================================================================
   0. 公共基础：避免后台富文本/广告图片撑破版面
   ========================================================================== */
img,
video,
iframe,
embed,
object {
    max-width: 100%;
}

img {
    height: auto;
}

table {
    max-width: 100%;
}

table td,
table th {
    word-break: break-word;
}

/* ==========================================================================
   1. 副页（内容页）骨架
   ========================================================================== */

/* Articles/Main.master 历史拼写错误 .containert（无任何样式），这里兜底对齐 Bootstrap .container */
.containert {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 768px) {
    .containert {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .containert {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .containert {
        width: 1170px;
    }
}

.divneirong {
    padding-bottom: 30px;
    background: #f8f8f8;
}

/* 副页两栏：内容在前（col-md-push-3）、侧栏在后（col-md-pull-9），
   桌面端呈现「左侧栏 + 右内容」，移动端按 DOM 顺序自然变为「内容在上、侧栏在下」。 */
.page-layout {
    margin-left: -15px;
    margin-right: -15px;
}

.page-layout::after {
    content: "";
    display: block;
    clear: both;
}

.page-layout > .page-content,
.page-layout > .page-sidebar {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    min-height: 1px;
}

/* 侧栏内元素自适应 */
.page-sidebar img,
.page-content img {
    max-width: 100%;
    height: auto;
}

.page-sidebar table,
.page-content table {
    max-width: 100%;
}

/* 移动端（< 992px）两栏堆叠时的间距 */
@media (max-width: 991px) {
    .page-layout > .page-content {
        margin-top: 0;
    }

    .page-layout > .page-sidebar {
        margin-top: 20px;
        padding-top: 18px;
        border-top: 1px solid #e4e4e4;
    }

    .page-layout > .page-sidebar .title18,
    .page-layout > .page-sidebar .product_1n {
        margin-top: 0;
    }
}

/* 副页标题条与内容的间距 */
.page-layout > .title8,
.divneirong .title8 {
    margin-bottom: 10px;
}

/* 副页列表 / 详情页正文的版面控制 */
.page-content .pager {
    margin: 20px 0 0;
    text-align: center;
}

.page-content .pager a,
.page-content .pager span {
    display: inline-block;
    padding: 4px 10px;
    margin: 0 2px;
}

/* 详情页正文段落与图片 */
.page-content .content,
.page-content .article-content,
.page-content .product-content {
    line-height: 1.8;
    word-break: break-word;
}

.page-content .content img,
.page-content .article-content img,
.page-content .product-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 10px auto;
}

/* ==========================================================================
   2. 首页：会员登录 / 货物追踪 卡片区
   ========================================================================== */

/* 原有 .search-slider 在 <=1300px 被写死 height:80px / width:55%，
   会把内部卡片截断并与下方区块重叠，这里恢复为自适应高度。 */
.search-slider {
    width: 100% !important;
    height: auto !important;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

#pricing {
    width: 100%;
    height: auto;
}

/* 用 flex 取代原来的 float + 百分比外边距，彻底消除 1281~1456px 区间两卡片换行错位 */
#pricing .divcontainer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

#pricing .divcontainer > .pricing-table {
    float: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    max-width: 420px;
    min-width: 0;
    margin: 20px 0 !important;
    padding-left: 0;
    padding-right: 0;
}

@media (min-width: 768px) {
    #pricing .divcontainer > .pricing-table {
        width: calc(50% - 24px);
        margin-left: 12px !important;
        margin-right: 12px !important;
    }
}

/* 原 .div_lefhle{margin-left:12%} 是为 float 布局做的偏移，flex 布局下需要清零 */
#pricing .div_lefhle {
    margin-left: 0;
}

#pricing .pricing-table .inner-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

/* 关键修复：两张卡的表头/内容/按钮区都被包在 <form> 里，而 .inner-box 的
   flex-column 只作用到 form 这一层 —— form 自己不是 flex 容器，内部的 flex:1
   全部失效。两卡内容高度不同时按钮区无法一起贴底，「登录/注册」和「我要查件」
   就不在一条水平线上。把 form 也拉成 flex column 并撑满剩余空间。 */
#pricing .pricing-table .inner-box > form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    margin: 0;
}

/* 表头：两卡统一内边距与字号，标题基线对齐 */
#pricing .pricing-table .table-header {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    padding: 15px 16px;
    text-align: center;
}

#pricing .pricing-table .table-header .price {
    margin: 0 0 5px;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
}

#pricing .pricing-table .table-header .divtitle {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 400;
    opacity: .8;
}

/* 内容区：flex:1 现在相对 form 生效，两卡等高，高度差由内容区吸收 */
#pricing .pricing-table .table-content,
#pricing .pricing-table .table-contents,
#pricing .pricing-table .divtable-content {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    height: auto;
    min-height: 180px;
    padding: 18px 20px;
    text-align: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* 按钮区：统一内边距，flex 下自动贴到卡片底部，两卡按钮即落在同一水平线 */
#pricing .pricing-table .table-footer {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    padding: 14px 16px;
    text-align: center;
}

/* 登录卡内容区：垂直居中 —— 左卡只有「账号/密码」两行，比右卡（多行文本框+
   17TRACK 标识）矮；表单贴顶堆放时下面会空出一大块，与右卡失衡。
   居中后两卡内容重心一致。 */
#pricing .pricing-table .divtable-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

/* 登录表单：原 .divlogin 写死 350px + margin-left:10%，在 420px 卡片内会溢出；
   .inputlogin 写死 220px；label 用 0.83vw 在小屏上只有几像素。 */
#pricing .pricing-table .divlogin {
    float: none;
    width: 100%;
    height: auto;
    margin-left: 0;
}

#pricing .pricing-table .divlogin ul {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

#pricing .pricing-table .divlogin ul li {
    float: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    padding: 14px 0;
}

#pricing .pricing-table .divlogin ul li > span:first-child {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 64px;
    flex: 0 0 64px;
    padding-right: 12px;
}

#pricing .pricing-table .divlogin ul li > span:last-child {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
}

#pricing .pricing-table .divlogin ul li span p {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #424242;
}

#pricing .pricing-table .inputlogin {
    float: none;
    width: 100%;
    height: 40px;
    padding: 6px 12px;
    border: 1px solid #d9dee5;
    border-radius: 4px;
    background: #fff;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 14px;
    color: #333;
    -webkit-transition: border-color .2s ease;
    transition: border-color .2s ease;
}

#pricing .pricing-table .inputlogin:focus {
    border-color: #213f73;
    outline: none;
}

/* 追踪卡片 */
#pricing .pricing-table .baoguoinput {
    float: none;
    width: 100%;
    min-height: 140px;
    padding: 10px 12px;
    border: 1px solid #d9dee5;
    border-radius: 4px;
    background: #fff;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 13px;
    line-height: 1.6;
    color: #333;
    resize: vertical;
    -webkit-transition: border-color .2s ease;
    transition: border-color .2s ease;
}

#pricing .pricing-table .baoguoinput:focus {
    border-color: #213f73;
    outline: none;
}

/* 注：原 class="17track" 在 CSS 中无法用 .17track 选中（类名不能以数字开头），已改为 .track17 */
#pricing .pricing-table .table-content .track17 {
    float: none;
    width: 100%;
    margin-top: 12px;
    text-align: left;
}

/* 17TRACK 标识与上方输入框左对齐，不再随 text-align 居中乱飘 */
#pricing .pricing-table .form_control_img {
    float: none;
    display: inline-block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 64px;
    vertical-align: middle;
}

/* 按钮统一：尺寸/颜色一致。a.theme-btn 必须显式压过 main.css 的
   .table-footer a { color:#1d93e5 }，否则「注册」会是橙底蓝字。 */
#pricing .pricing-table .table-footer .theme-btn,
#pricing .pricing-table .table-footer a.theme-btn {
    display: inline-block;
    max-width: 100%;
    margin: 0 6px;
    padding: 9px 30px;
    font-size: 14px;
    line-height: 1.6;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* hover 效果：main.css 的 scale(1.05) 会让相邻卡片互相遮挡，改为轻微上移 + 投影 */
#pricing .pricing-table .inner-box {
    position: relative;
    -webkit-transition: -webkit-transform .3s ease, box-shadow .3s ease;
    transition: transform .3s ease, box-shadow .3s ease;
}

#pricing .pricing-table .inner-box:hover {
    top: 0;
    z-index: 5;
    -webkit-transform: translateY(-4px);
    -ms-transform: translateY(-4px);
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .12);
}

/* ==========================================================================
   3. 首页：其它区块
   ========================================================================== */

/* .container01 原写死 1410px，1201~1410px 会溢出 */
.container01 {
    max-width: 100%;
    width: 100%;
}

@media (min-width: 1201px) {
    .container01 {
        max-width: 1410px;
    }
}

/* .home-area 实际包着「关于我们 → 服务 → 能力 → 合作伙伴」一整串区块。
   30px 上下留白只用于桌面：main.css 在 ≤1200/1020/760px 把 padding-top 收为 0
   （卡片区已有自己的底部留白），下面的全局 30px 会把它覆盖掉，
   导致手机/平板上「关于我们」上方多出一段空白 —— 故小屏单独恢复。 */
.home-area {
    padding-top: 30px;
    padding-bottom: 30px;
}

@media (max-width: 1200px) {
    .home-area {
        padding-top: 0;
        padding-bottom: 24px;
    }
}

@media (max-width: 760px) {
    .home-area {
        padding-bottom: 20px;
    }
}

/* 首页 Banner 左下角的装饰箭头（Images/slider-arrow.png，原图 2000×1431）。
   两个问题：
   1) main.css 里是 width:50% + max-width:320px，尺寸过大；
   2) .slider-region 自身没有 position，箭头的 position:absolute 只能相对
      视口定位，于是整个飘出 Banner、压到下方内容上（截图红框处）。
   处理：把定位基准收回 .slider-region，并按要求缩小 70%（320px → 96px）。 */
.slider-region {
    position: relative;
}

.slider-region .slider-arrow {
    position: absolute;
    left: 0;
    bottom: 16px;
    /* 按参考稿放大：320px（main.css 原始 max-width）→ 200px。
       main.css 的 width:15% !important 只在 ≤375px 生效，而那时箭头已被
       下面的 display:none 隐藏，不构成竞争 */
    width: 200px;
    max-width: 200px;
    z-index: 3;
}

@media (max-width: 767px) {
    .slider-region .slider-arrow {
        display: none;
    }
}

/* 重叠根因：main.css 给 .slider-section（Banner 与卡片区共同的父容器）在多个断点
   写死了 max-height:550/600/500/300px（如 1020~1440px 屏是 550px）。这是原模板
   「搜索卡片绝对定位叠在 Banner 上」时代的产物；如今卡片区已是文档流内的独立区块，
   Banner + 卡片总高远超 550px，超出部分没有 overflow 裁切，直接溢出画到了下方
   「关于我们」区块上（卡片的深蓝按钮条叠在文字上）。这里解除高度限制，
   让容器随内容自然撑开。 */
.slider-section {
    height: auto;
    max-height: none;
    padding-top: 0;
    /* main.css 在 ≤1400px 给了 80px 底部留白，配合上面的 max-height 才显得紧凑，
       解除高度限制后改回正常间距 */
    padding-bottom: 24px;
}

/* 首页各段标题统一节奏 */
.our-header,
.p-header {
    padding-bottom: 12px;
}

.our-header h1.titles1,
.p-header h1.titles1 {
    margin: 0 0 8px;
    line-height: 1.4;
}

/* 合作伙伴 / 友情链接轮播
   原实现问题：
   1) Themes/Default/main.css 写死 .partner_img{width:138px;height:68px}，
      不同比例的 logo 被强行拉成 138×68，既变形、颜色也发闷；
   2) bxCarousel 靠 float + 负 left 动画 + 已被 jQuery 1.9 移除的 .live()，
      滚动不可靠，且要求 ul 直接包 li，而这里是 ul>div>li 的非法结构；
   3) .bx_wrap 写死 width:1000px;height:80px，窄屏溢出、内容被裁。
   已改用 slick 无缝滚动，这里只负责外观。 */
.section-parter {
    padding: 30px 0 14px;
}

.section-parter .partner-slider {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* 彩色显示：显式关掉一切滤镜/透明度；logo 按原始比例缩放、不拉伸变形 */
.section-parter .partner-slider .partner_img {
    width: auto;
    height: auto;
    max-width: 140px;
    max-height: 60px;
    border: 0;
    -webkit-filter: none;
    filter: none;
    opacity: 1;
}

/* 每个 logo 槽位等高并垂直居中，保证一排 logo 底线整齐 */
.section-parter .partner-slider .partner-item {
    padding: 0 14px;
    text-align: center;
}

.section-parter .partner-slider .partner-item a {
    display: block;
    height: 70px;
    line-height: 70px;
}

.section-parter .partner-slider .partner-item img {
    display: inline-block;
    vertical-align: middle;
    -webkit-transition: -webkit-transform .25s ease;
    transition: transform .25s ease;
}

.section-parter .partner-slider .partner-item a:hover img {
    -webkit-transform: scale(1.06);
    -ms-transform: scale(1.06);
    transform: scale(1.06);
}

/* slick 轨道：slide 高度由内容决定（ Themes/Default/main.css 把 li 写死成 68px 高，
   这里不能再沿用）；float 必须保留 slick 的默认值，改掉会导致 slide 垂直堆叠 */
.section-parter .partner-slider .slick-slide {
    height: auto;
    margin: 0;
}

/* JS 兜底：服务端输出的 6 个 logo div 是块级元素，slick 因任何原因没初始化时
   （脚本被异常中断、浏览器插件拦截等）会竖排成一条。这里让未初始化状态也横向
   排列、可换行居中 —— 不滚动，但不至于烂版。断点与上面 slick 的 responsive 一致。 */
.partner-slider:not(.slick-initialized) {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.partner-slider:not(.slick-initialized) .partner-item {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: 16.66%;
}

@media (max-width: 1200px) {
    .partner-slider:not(.slick-initialized) .partner-item {
        width: 20%;
    }
}

@media (max-width: 992px) {
    .partner-slider:not(.slick-initialized) .partner-item {
        width: 25%;
    }
}

@media (max-width: 768px) {
    .partner-slider:not(.slick-initialized) .partner-item {
        width: 33.33%;
    }
}

@media (max-width: 480px) {
    .partner-slider:not(.slick-initialized) .partner-item {
        width: 50%;
    }
}

/* ==========================================================================
   4. 在线留言区 + 页脚
   ========================================================================== */
.contactus-section {
    padding: 40px 7% 40px 7%;
}

@media (max-width: 991px) {
    .contactus-section {
        padding: 36px 20px;
    }

    .contactus-section .contact-arrow,
    .contactus-section .contact-curve {
        display: none;
    }

    .contactus-section .row-custom {
        margin-left: 0;
        margin-right: 0;
    }

    .contactus-section .contact-col,
    .contactus-section .map-col {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 24px;
    }

    .contactus-section .map-grid .my-map,
    .contactus-section .map-grid iframe,
    .contactus-section .map-grid img {
        width: 100%;
        max-width: 100%;
    }
}

.contactus-section .btn-contactus {
    min-width: 120px;
}

/* 页脚排版优化：
   1) 导航字号写成 0.78125vw（1080px 屏只有约 8px）、版权写死 9px，都过小；
   2) footerNav 的 hover 色 #1c95e6 在 #162342 深蓝底上几乎看不出来；
   3) 中列内容左对齐、与左右两列的视觉重心不齐。统一字号、间距与 hover 反馈。 */
#footer {
    padding-top: 26px;
    padding-bottom: 26px;
    padding-left: 5%;
    padding-right: 5%;
}

/* 左列：电话块，图标与文字垂直居中 */
#footer .footer-call .media.media-call {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

#footer .footer-call .media.media-call > i {
    font-size: 34px;
    margin-right: 14px;
}

#footer .footer-call .media-body h5 {
    margin: 0 0 6px;
    font-size: 16px;
    line-height: 1.3;
    letter-spacing: 1px;
}

#footer .footer-call .media-body a {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    letter-spacing: .5px;
}

#footer .footer-call .media-body a:hover {
    color: #e00000;
    text-decoration: none;
}

/* 中列：导航 + 版权，整体在列内水平居中，与左右两列重心一致 */
#footer .footerNav {
    margin: 0 0 12px;
    padding: 0;
    text-align: center;
}

#footer .footerNav li {
    margin: 0 14px;
}

#footer .footerNav a {
    font-size: 14px;
    color: rgba(255, 255, 255, .85);
}

#footer .footerNav a:hover {
    color: #fff;
    text-decoration: underline;
}

/* 版权行：9px → 13px，弱化为半透明白，与导航拉开层次 */
#footer .footercopy-text .copyright {
    margin: 0;
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .55);
    text-align: center;
}

/* 版权里的备案号等链接 */
#footer .footercopy-text .copyright a {
    color: rgba(255, 255, 255, .75);
}

#footer .footercopy-text .copyright a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 760px) {
    #footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    #footer .row-custom {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        text-align: center;
    }

    #footer .row-custom .footer-col {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        padding: 12px 0;
        text-align: center;
    }

    #footer .row-custom .footer-col.footer-call .media.media-call {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    #footer .footercopy-text .copyright {
        line-height: 1.8;
    }
}

/* 手机 ≤620px：main.css:7879 把电话列写死 max-width:200px，再叠加左右各 20px
   padding 只剩 160px 内容区 —— 装不下「34px 图标 + 20px 号码 11 位」，
   表现就是「联系我们」被挤成竖排换行、号码右侧被裁掉。
   放宽容器并禁止标题换行，整块在页脚内水平居中。 */
@media (max-width: 620px) {
    #footer .row-custom .footer-col.footer-call {
        max-width: 300px;
    }

    #footer .footer-call .media.media-call > i {
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
    }

    #footer .footer-call .media-body {
        min-width: 0;
    }

    #footer .footer-call .media-body h5 {
        white-space: nowrap;
    }

    #footer .footer-call .media-body a {
        display: inline-block;
        white-space: nowrap;
    }
}

/* ==========================================================================
   5. 首页 Banner 轮播
   ========================================================================== */

/* slick 初始化前，服务端输出的 N 张 Banner 是普通块级 div，会全部竖排显示一瞬（闪烁）。
   初始化后 slick 会把它们搬进 .slick-track 并给 .slick 加上 .slick-initialized，
   所以这里用 :not(.slick-initialized) 限定，只保留第一张（= 后台排最前那张）。 */
.slick:not(.slick-initialized) > div {
    display: none;
}

.slick:not(.slick-initialized) > div:first-child {
    display: block;
}

.slider-region .slick img,
.slider-region .slick-slide img {
    display: block;
    width: 100%;
    height: auto;
}

.slider-region .slick-slide a,
.slider-region .slick > div > a {
    display: block;
    line-height: 0;
}

/* 圆点切换导航：banner.css:54-58 本来就定义了样式（白点 + #48d8ff 蓝色长条），
   但它没有 z-index —— fade 模式下 slick 给当前 slide 设 zIndex:1000，
   圆点被图片整个盖住，所以一直看不见（和之前箭头是同一个坑）。
   这里补回层级，并按参考稿调整：小屏外横向居中，白点 + 激活态加长变蓝。 */
.slider-region .slick-dots {
    left: 0;
    right: 0;
    bottom: 14px;
    width: auto;
    margin: 0;
    padding: 0 8px;
    text-align: center;
    line-height: 0;
    z-index: 1001;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.slider-region .slick-dots li {
    height: auto;
    margin: 0 5px;
    line-height: 0;
}

/* 未激活：白色小圆点 */
.slider-region .slick-dots li button {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, .75);
    -webkit-transition: width .25s ease, background-color .25s ease;
    transition: width .25s ease, background-color .25s ease;
}

/* 激活：加长变蓝的胶囊（对应参考稿的长条） */
.slider-region .slick-dots li.slick-active button {
    width: 30px;
    border-radius: 4px;
    background-color: #48d8ff;
}

/* 左右切换箭头：css/banner.css 把它们写成了 width/height:1px 且 opacity:0 ——
   既看不见也点不到（等于没有）。这里恢复成可见的半透明按钮，鼠标移到 Banner 上时淡入。
   注意 fade 模式下 slick 会给 slide 设 z-index:800/900，箭头必须给更高的 z-index
   才不会被图片盖住。 */
.slider-region .slick-prev,
.slider-region .slick-next {
    width: 44px;
    height: 60px;
    margin-top: -30px;
    background-color: rgba(0, 0, 0, 0.35);
    opacity: 0;
    z-index: 1001;
    -webkit-transition: opacity .25s ease, background-color .25s ease;
    transition: opacity .25s ease, background-color .25s ease;
}

.slider-region .slick-prev {
    left: 12px;
}

.slider-region .slick-next {
    right: 12px;
}

/* 悬停 Banner（含箭头本身）时淡入；配合 slick 的 pauseOnHover，
   鼠标停留会暂停自动轮播，点箭头切换后不会被立刻跳走 */
.slider-region .slick:hover .slick-prev,
.slider-region .slick:hover .slick-next,
.slider-region .slick-prev:focus,
.slider-region .slick-next:focus {
    opacity: 1;
}

.slider-region .slick-prev:hover,
.slider-region .slick-next:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

/* banner.css 把箭头字号放大到 60px/80px，配 44×60 的按钮会溢出，这里调小 */
.slider-region .slick-prev:before,
.slider-region .slick-next:before {
    font: 24px/60px "SimSun";
    color: #fff;
    opacity: 1;
}

/* ==========================================================================
   7. 区块隔离与窄屏防重叠
   ========================================================================== */

/* 卡片区与「关于我们」各自建立独立格式化上下文（BFC）：
   内部任何浮动、高度塌陷都被关在自己区块内，不会再影响相邻区块 ——
   针对窄屏下「包裹追踪」卡片叠到「关于我们」文字上的结构性预防。 */
.slider-section,
.home-area {
    display: flow-root;
}

/* 视觉保险：即使出现任何意外的区块交叠，「关于我们」的文字与链接也永远
   压在卡片区之上，保证可读可点；不影响正常情况下的文档流布局。 */
.home-area {
    position: relative;
    z-index: 2;
}

/* 老浏览器不支持 flow-root 时退回 clearfix */
@supports not (display: flow-root) {
    .slider-section::after,
    .home-area::after {
        content: "";
        display: table;
        clear: both;
    }
}

/* 这批老模板类是 float + 写死 height:100% 的组合 —— 父级高度由内容决定时
   height:100% 本来就无效，但在个别嵌套下会搅乱布局；统一改为自然高度。 */
.divabimg,
.ddituimg,
.divOver,
.divOverseas {
    height: auto;
}

/* 平板竖屏（768~991px）：视口放不下两张 420px 卡片并排，会挤成堆叠；
   明确改为单列并把卡片放宽到 560px 居中，避免又窄又散 */
@media (min-width: 768px) and (max-width: 991px) {
    #pricing .divcontainer > .pricing-table {
        width: 100%;
        max-width: 560px;
    }
}

/* 手机：图片列与文字列之间留出间距 */
@media (max-width: 767px) {
    .about_img {
        margin-top: 16px;
    }

    /* 悬浮客服（.float0831，z-index:9999）在窄屏上整组按钮会盖住正文右栏：
       缩小图标并降低不透明度，点按热区仍在 44px 左右，不挡阅读 */
    .float0831 img {
        max-width: 48px;
        width: 48px;
        height: auto;
    }

    .float0831 {
        opacity: .85;
    }
}

/* 小屏用触摸滑动即可，隐藏箭头避免遮挡 Banner 上的图文 */
@media (max-width: 760px) {
    .slider-region .slick-prev,
    .slider-region .slick-next {
        display: none;
    }
}

/* ==========================================================================
   5. 交互效果
   ========================================================================== */

/* 平滑滚动；系统开启「减弱动态效果」时自动退回瞬时跳转 */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    /* 移动端点击时的灰色高亮块，换成自己的反馈更干净 */
    -webkit-tap-highlight-color: transparent;
}

/* 可交互元素统一过渡，hover/focus 变化不再生硬 */
a,
button,
input[type="submit"],
.theme-btn {
    -webkit-transition: color .25s ease, background-color .25s ease,
                        border-color .25s ease, box-shadow .25s ease,
                        -webkit-transform .25s ease;
    transition: color .25s ease, background-color .25s ease,
                border-color .25s ease, box-shadow .25s ease,
                transform .25s ease;
}

/* 键盘焦点可见（无障碍）：鼠标点击不出现，Tab 键切换时才显示 */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #213f73;
    outline-offset: 2px;
}

/* 触摸设备没有 hover：点击后 hover 态会「粘住」到下一次点击 ——
   这里关掉粘滞的 hover 位移，改用 :active 做即时按压反馈 */
@media (hover: none) {
    #pricing .pricing-table .inner-box:hover {
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
        box-shadow: none;
    }

    .section-parter .partner-slider .partner-item a:hover img {
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
    }

    .theme-btn:active,
    input[type="submit"]:active {
        -webkit-transform: scale(.97);
        -ms-transform: scale(.97);
        transform: scale(.97);
    }
}

/* 回到顶部按钮：放左下角，避开右侧的悬浮客服 */
.back-to-top {
    position: fixed;
    left: 24px;
    bottom: 24px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: #162342;
    color: #fff;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateY(12px);
    -ms-transform: translateY(12px);
    transform: translateY(12px);
    -webkit-transition: opacity .25s ease, visibility .25s ease,
                        -webkit-transform .25s ease, background-color .25s ease;
    transition: opacity .25s ease, visibility .25s ease,
                transform .25s ease, background-color .25s ease;
    z-index: 60;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #e00000;
}

/* ==========================================================================
   6. 移动端 / 平板排版
   ========================================================================== */

/* 6.1 移动端导航抽屉（≤1020px 与 main.css 的断点保持一致）
   现状：main.css 里 .menu-responsive 是 position:relative;width:100%;display:none，
   唯一驱动它的 css/js/main.js:164（slideToggle）因为 App.init() 抛错从未绑定成功 ——
   也就是说手机上点汉堡按钮没有任何反应，菜单根本打不开。
   这里把它改成真正的侧滑抽屉，配套交互见 Default.aspx 底部的独立脚本。 */
@media (max-width: 1020px) {
    .menu-responsive {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        max-width: 82%;
        height: 100%;
        padding: 64px 0 24px;
        overflow-y: auto;
        background-color: #162342;
        -webkit-transform: translateX(-100%);
        -ms-transform: translateX(-100%);
        transform: translateX(-100%);
        -webkit-transition: -webkit-transform .3s ease;
        transition: transform .3s ease;
        -webkit-overflow-scrolling: touch;
        z-index: 1002;
    }

    .menu-responsive.open {
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }

    /* 遮罩：复用 main.css 的 .overlay-menu.show（那里只做 opacity/visibility 切换） */
    .overlay-menu {
        z-index: 1001;
    }

    /* main.css 把关闭图标定位在 left:-60px（抽屉外侧），这里收回右上角 */
    .menu-responsive .close-icon {
        position: absolute;
        left: auto;
        right: 12px;
        top: 12px;
        display: block;
        width: 44px;
        height: 44px;
        line-height: 44px;
        text-align: center;
        color: #fff;
        font-size: 26px;
        cursor: pointer;
    }

    .menu-responsive #nav.main-menu {
        display: block;
        width: 100%;
    }

    .menu-responsive #nav.main-menu > li {
        display: block;
        float: none;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .menu-responsive #nav.main-menu > li > a {
        display: block;
        padding: 14px 22px;
        font-size: 16px;
        line-height: 1.4;
        color: #fff;
    }

    /* 「首页」这项目前带 hidden-xs —— Bootstrap 在 ≤767px 是 display:none !important，
       导致手机上两个菜单里都看不到它。抽屉内强制显示。 */
    .menu-responsive #nav.main-menu > li > a.hidden-xs {
        display: block !important;
    }

    /* 二级菜单：原结构没有任何 CSS（父 li 也没有 position:relative），
       后台一旦配了子菜单会直接撑破 header。这里在抽屉内改成可折叠列表。 */
    .menu-responsive #nav.main-menu > li > ul {
        display: none;
        position: static;
        width: 100%;
        padding: 0;
        background-color: rgba(0, 0, 0, .18);
    }

    .menu-responsive #nav.main-menu > li.open > ul {
        display: block;
    }

    .menu-responsive #nav.main-menu > li > ul > li > a {
        display: block;
        padding: 11px 22px 11px 38px;
        font-size: 15px;
        color: rgba(255, 255, 255, .8);
    }

    .menu-responsive #nav.main-menu > li > a:active,
    .menu-responsive #nav.main-menu > li > ul > li > a:active {
        background-color: rgba(255, 255, 255, .08);
    }
}

/* 6.2 平板（768~1024px）：栅格保持两列，主要收窄留白 */
@media (min-width: 768px) and (max-width: 1024px) {
    .contactus-section {
        padding: 34px 5%;
    }

    .section-parter {
        padding: 24px 0 10px;
    }

    .slider-section {
        padding-bottom: 20px;
    }

    #pricing .pricing-table .table-content,
    #pricing .pricing-table .divtable-content {
        min-height: 160px;
    }

    .back-to-top {
        left: 16px;
        bottom: 16px;
    }
}

/* 6.3 手机（≤767px） */
@media (max-width: 767px) {
    /* iOS 上输入框字号小于 16px 时，聚焦会自动放大整个页面 —— 统一提到 16px */
    input,
    textarea,
    select {
        font-size: 16px;
    }

    #pricing .pricing-table .inputlogin,
    #pricing .pricing-table .baoguoinput {
        font-size: 16px;
    }

    /* 触摸目标不小于 44px（移动端可用性基线） */
    .theme-btn,
    input[type="submit"],
    button[type="submit"] {
        min-height: 44px;
    }

    /* 区块间距收紧，避免手机上大片留白 */
    .contactus-section {
        padding: 26px 5%;
    }

    .section-parter {
        padding: 18px 0 6px;
    }

    #footer {
        padding-top: 22px;
        padding-bottom: 22px;
    }

    /* 两张卡堆叠时留出间距，内容区不再强制撑高 */
    #pricing .pricing-table {
        margin-bottom: 20px;
    }

    #pricing .pricing-table .table-content,
    #pricing .pricing-table .divtable-content {
        min-height: 0;
        padding: 16px;
    }

    .back-to-top {
        left: 14px;
        bottom: 14px;
        width: 40px;
        height: 40px;
    }
}

/* ==========================================================================
   7. 菜单样式与交互
   ========================================================================== */

/* 层级修正：#header 原本 z-index:15（main.css:7139），而 Banner 的 fade 层是
   slick 设的 z-index:1000 —— header 内部的二级下拉菜单无论写多高都会被 Banner
   盖住。把 header 提到 1005，抽屉/遮罩/回到顶部顺推，保证抽屉不被 header 压住。 */
#header {
    z-index: 1005;
}

.overlay-menu {
    z-index: 1009;
}

.menu-responsive {
    z-index: 1010;
}

.back-to-top {
    z-index: 1006;
}

/* --- 桌面菜单（>1020px）--- */
@media (min-width: 1021px) {
    /* main.css 写死 width:500px（main.css:7302）：5 个菜单项 + 加粗的当前页
       放不下，「联系我们」会被挤到第二行。改为自适应占满 flex 剩余空间。 */
    #header .main-menu {
        width: auto;
        max-width: 100%;
        white-space: nowrap;
    }

    #header .main-menu > li {
        position: relative;
    }

    #header .main-menu > li > a {
        position: relative;
        /* 原 5px 10px：上下加大，点击热区更高 */
        padding: 8px 10px;
        color: #162342;
        text-decoration: none;
    }

    /* 底部指示条：hover 或当前页时展开 */
    #header .main-menu > li > a::after {
        content: "";
        position: absolute;
        left: 10px;
        right: 10px;
        bottom: 2px;
        height: 2px;
        background-color: #e00000;
        -webkit-transform: scaleX(0);
        -ms-transform: scaleX(0);
        transform: scaleX(0);
        -webkit-transform-origin: center;
        -ms-transform-origin: center;
        transform-origin: center;
        -webkit-transition: -webkit-transform .25s ease;
        transition: transform .25s ease;
    }

    /* 原来只有 text-decoration:underline（main.css:7349），生硬且会顶动文字 */
    #header .main-menu > li > a:hover {
        color: #e00000;
        text-decoration: none;
    }

    #header .main-menu > li > a:hover::after {
        -webkit-transform: scaleX(1);
        -ms-transform: scaleX(1);
        transform: scaleX(1);
    }

    /* 当前页高亮：main.css:7354 写了 .active 样式，但服务端 CreateNav
       （TopNav.ascx.cs）从不输出 active 类 —— 由 site-interactions.js
       按当前 URL 自动补上。不加粗：中文加粗会改变字宽，引起整行跳动。 */
    #header .main-menu > li.active > a {
        color: #e00000;
    }

    #header .main-menu > li.active > a::after {
        -webkit-transform: scaleX(1);
        -ms-transform: scaleX(1);
        transform: scaleX(1);
    }

    /* 有子菜单的父项：右侧小三角（class 由 JS 添加） */
    #header .main-menu > li.has-submenu > a {
        padding-right: 24px;
    }

    #header .main-menu > li.has-submenu > a::before {
        content: "";
        position: absolute;
        right: 7px;
        top: 50%;
        margin-top: -2px;
        border: 4px solid transparent;
        border-top-color: #162342;
        -webkit-transition: border-top-color .25s ease, -webkit-transform .25s ease;
        transition: border-top-color .25s ease, transform .25s ease;
    }

    #header .main-menu > li.has-submenu > a:hover::before {
        border-top-color: #e00000;
    }

    #header .main-menu > li.has-submenu.submenu-open > a::before {
        -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    /* 二级菜单：TopNav.ascx.cs:94 输出的 <ul> 没有任何样式，
       后台一旦配了子菜单会直接撑破 header。改成带动画的下拉面板。 */
    #header .main-menu > li > ul {
        display: block;
        position: absolute;
        left: 0;
        top: 100%;
        min-width: 180px;
        margin: 4px 0 0;
        padding: 6px 0;
        list-style: none;
        background-color: #fff;
        border-radius: 6px;
        -webkit-box-shadow: 0 10px 28px rgba(22, 35, 66, .18);
        box-shadow: 0 10px 28px rgba(22, 35, 66, .18);
        opacity: 0;
        visibility: hidden;
        -webkit-transform: translateY(6px);
        -ms-transform: translateY(6px);
        transform: translateY(6px);
        -webkit-transition: opacity .22s ease, visibility .22s ease,
                            -webkit-transform .22s ease;
        transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
        z-index: 5;
    }

    #header .main-menu > li:hover > ul,
    #header .main-menu > li.submenu-open > ul {
        opacity: 1;
        visibility: visible;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }

    #header .main-menu > li > ul > li > a {
        display: block;
        padding: 9px 18px;
        font-size: 15px;
        color: #162342;
        white-space: nowrap;
        text-decoration: none;
    }

    #header .main-menu > li > ul > li > a:hover,
    #header .main-menu > li > ul > li.active > a {
        background-color: #f2f5fb;
        color: #e00000;
    }
}

/* --- 移动端抽屉（≤1020px）：当前页高亮与展开箭头 --- */
@media (max-width: 1020px) {
    .menu-responsive #nav.main-menu > li.active > a {
        color: #48d8ff;
        background-color: rgba(72, 216, 255, .1);
    }

    .menu-responsive #nav.main-menu > li.has-submenu > a {
        position: relative;
        padding-right: 46px;
    }

    .menu-responsive #nav.main-menu > li.has-submenu > a::before {
        content: "";
        position: absolute;
        right: 20px;
        top: 50%;
        margin-top: -3px;
        border: 5px solid transparent;
        border-top-color: rgba(255, 255, 255, .7);
        -webkit-transition: -webkit-transform .25s ease;
        transition: transform .25s ease;
    }

    .menu-responsive #nav.main-menu > li.has-submenu.open > a::before {
        -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    .menu-responsive #nav.main-menu > li > ul > li.active > a {
        color: #48d8ff;
    }
}
