/* =========================================================
   移动端适配（原模板无响应式规则，此处统一补齐）
   ========================================================= */

/* 头部浅色底 -> 文字改深色，保证可读 */
#head .nav>li>a,
#head .nav .submenu li a,
#head .info-links li a {
    color: #23182C;
}

#head .nav>li>a:hover {
    color: #ef5000;
}

#head .nav .submenu {
    background: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .14);
}

#head .nav .submenu li {
    background: #fff;
}

#head .nav .submenu li a:hover {
    color: #fff;
    background-color: #ef5000;
}

/* 桌面端：鼠标悬停展开二级分类菜单。
   原站是靠外链 CDN 的 Site_Common.js（displaySubMenu / hideSubMenu）实现的，
   新站不加载那个 CDN，这里改用纯 CSS 实现，不依赖 JS。 */
@media screen and (min-width: 901px) {
    #head .nav>li:hover>.submenu {
        display: block;
    }

    #head .nav>li>.submenu {
        box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
    }

    /* 父级菜单项在展开时高亮 */
    #head .nav>li:hover>a {
        color: #ef5000;
    }
}

/* 内页 banner 自适应 */
.inner_banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* 内容表格在窄屏可横向滚动 */
.button_box,
.pinfo,
.single_imgb {
    overflow-x: auto;
}

/* 移动端底部快捷联系条（仅 <=768px 显示） */
.mobile_bar {
    display: none;
}

@media screen and (max-width: 768px) {
    .mobile_bar {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 100000;
        background: #23182C;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, .2);
    }

    .mobile_bar .mb_i {
        flex: 1;
        text-align: center;
        padding: 11px 0;
        color: #fff;
        font-size: 14px;
        border-right: 1px solid rgba(255, 255, 255, .18);
    }

    .mobile_bar .mb_last {
        border-right: none;
        background: #ef5000;
    }

    body {
        padding-bottom: 46px;
    }
}

/* ---------------------------------------------------------
   <=1200px
   --------------------------------------------------------- */
@media screen and (max-width: 1200px) {
    .container {
        padding: 0 15px;
    }

    .ssp_mid .container {
        padding: 0 15px;
    }
}

/* ---------------------------------------------------------
   <=1024px
   --------------------------------------------------------- */
@media screen and (max-width: 1024px) {
    .nav>li a {
        padding: 0 12px;
        font-size: 15px;
    }

    .give_ul li {
        width: 33.333%;
    }

    .product_content ul li {
        width: 33.333%;
    }

    .str_title {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .str_title span {
        font-size: 40px;
    }

    .give_title {
        font-size: 22pt;
    }

    .fl_content h3,
    .fl_content h5 {
        font-size: 28px;
    }
}

/* ---------------------------------------------------------
   <=900px：导航切换为移动端菜单
   --------------------------------------------------------- */
@media screen and (max-width: 900px) {
    .mobile_login_menu {
        display: block !important;
        position: absolute;
        right: 15px;
        top: 22px;
        line-height: normal;
    }

    .mobile_login_menu img {
        width: 28px;
        background: transparent;
    }

    .info-links {
        display: none;
    }

    #btnSearch,
    #txtSearch {
        display: none !important;
    }

    #head .nav {
        display: none;
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        height: auto;
        line-height: normal;
        background: #cbd0d6;
        z-index: 99999;
        padding: 6px 0;
        box-shadow: 0 10px 18px rgba(0, 0, 0, .12);
    }

    #head .nav.nav-open {
        display: block;
    }

    #head .nav>li {
        float: none;
        width: 100%;
    }

    #head .nav>li>a {
        line-height: 46px;
        text-align: left;
        padding: 0 18px;
        font-size: 15px;
    }

    #head .nav .submenu {
        position: static;
        display: none;
        width: 100%;
        background: transparent;
        box-shadow: none;
        top: auto;
        left: auto;
        opacity: 1;
    }

    #head .nav>li.nav-hover .submenu {
        display: block;
    }

    #head .nav .submenu li {
        height: auto;
        line-height: 40px;
        background: transparent;
    }

    #head .nav .submenu li a {
        width: 100%;
        height: auto;
        line-height: 40px;
        padding-left: 34px;
        white-space: normal;
        font-size: 14px;
    }

    /* 内页左右栏改为上下堆叠 */
    .pro_left {
        width: 100% !important;
        float: none;
        padding-bottom: 20px;
    }

    .pro_right {
        padding-left: 0 !important;
        overflow: visible;
    }
}

/* ---------------------------------------------------------
   <=768px
   --------------------------------------------------------- */
@media screen and (max-width: 768px) {
    /* 头部 */
    .top {
        height: 62px;
        line-height: 62px;
    }

    .logo {
        height: 62px;
        line-height: 62px;
    }

    #head .nav {
        top: 62px;
    }

    .mobile_login_menu {
        top: 16px;
    }

    /* 首页通用间距 */
    #given {
        margin-bottom: 40px;
    }

    .give_title {
        font-size: 18pt;
        margin: 24px auto 14px;
    }

    .give_ul {
        margin-top: 18px;
    }

    .give_ul li {
        width: 50%;
    }

    .give_ul li p {
        font-size: 12pt;
        padding: 8px 4px;
        white-space: normal;
    }

    /* 三大产品特性 */
    .tran_imgbox,
    .tran_ul {
        float: none;
        width: 100%;
        border-radius: 0;
    }

    .tran_ul li {
        height: auto;
        padding: 18px 18px;
    }

    .tran_ul li::after {
        display: none;
    }

    .tran_ul li.active::before {
        display: none;
    }

    .tran_ulcon h3,
    .tran_ulcon h6 {
        font-size: 20px;
    }

    /* 关于我们 */
    #strong .container {
        padding: 20px 0 0 !important;
    }

    .left-wrap {
        margin-right: 0 !important;
        padding: 20px !important;
        margin-top: 0 !important;
        height: auto;
    }

    .l_content {
        width: 100% !important;
        margin-bottom: 24px;
    }

    /* 热门产品 */
    #product {
        padding: 40px 0;
    }

    .product_content ul li {
        width: 50%;
    }

    .sime_title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .str_title {
        font-size: 20px;
    }

    .str_title span {
        font-size: 30px;
    }

    /* 沥青搅拌站 */
    #defind {
        padding: 40px 0;
        background-size: cover !important;
    }

    /* 应用领域 */
    #partner {
        padding: 40px 0;
    }

    #partner .fl,
    #partner .fr {
        width: 100%;
        float: none;
    }

    .fl_content {
        padding: 0 15px;
    }

    .fl_content h3,
    .fl_content h5 {
        font-size: 24px;
    }

    .partner_fr ul li {
        width: 50%;
    }

    .partner_fr ul li .mask {
        position: static;
        width: 100%;
        left: 0;
        height: auto;
        opacity: 1;
        background: transparent;
    }

    .partner_fr ul li .mask p {
        color: #333;
        padding: 8px 0 16px;
        font-size: 14px;
    }

    /* 叶轮 */
    #funfacts {
        background-attachment: scroll !important;
    }

    .parallax-content {
        padding: 30px 0;
    }

    .parallax-content li {
        width: 50%;
    }

    .wrapsection .sime_title {
        margin-top: 30px;
    }

    /* 新闻 */
    #news {
        padding: 40px 0;
    }

    .rvc {
        float: none;
        width: 100%;
        max-width: 100% !important;
    }

    .rvc .rvc-wrapper ul li {
        width: 50%;
    }

    .new_content {
        padding: 0 8px;
    }

    .rvc-prv,
    .rvc-next {
        display: none !important;
    }

    /* 内页：产品列表 */
    .itembody .list_left {
        width: 100%;
        float: none;
        margin-bottom: 10px;
    }

    .itembody .list_left img {
        max-width: 320px;
    }

    .itembody .list_right {
        padding-left: 0 !important;
        float: none;
    }

    /* 产品详情 */
    .pror_detail .fl,
    .pror_detail .fr {
        float: none;
        width: 100%;
        margin-bottom: 16px;
    }

    .spec-preview img {
        width: 100%;
        height: auto;
    }

    .rollPro1 li {
        width: 33.333% !important;
    }

    /* 页脚 */
    #foot {
        padding-top: 30px;
    }

    .foot_ul {
        padding: 24px 0;
    }

    .foot_ul>li {
        width: 100% !important;
        float: none;
        max-width: 100% !important;
        margin-bottom: 24px;
    }

    .foot_info {
        padding: 0;
        border-right: none;
    }

    .foot_ul>li h3,
    .foot_ul>li h5 {
        padding: 0;
    }

    .foot_logo {
        margin-left: 0;
    }

    .cate_foot,
    .footcate_name {
        padding: 0;
    }

    .bPosition {
        text-align: left;
        padding: 8px 10px;
    }

    /* 分页 */
    .pages a,
    .pages span {
        margin: 0 2px 6px;
        padding: 0 8px;
    }

    /* 询盘表单 */
    .inquiry_form {
        padding: 12px;
    }

    .inquiry_form .inq_label {
        width: 120px;
        padding-top: 4px;
        font-size: 13px;
    }
}

/* ---------------------------------------------------------
   <=640px
   --------------------------------------------------------- */
@media screen and (max-width: 640px) {
    .give_ul li {
        width: 50%;
    }

    .product_content ul li {
        width: 100%;
    }

    .product_ul {
        padding: 0 8px;
    }

    .rvc .rvc-wrapper ul li {
        width: 100%;
    }

    .parallax-content li {
        width: 50%;
    }

    .inquiry_form .inq_table,
    .inquiry_form .inq_table tr,
    .inquiry_form .inq_table td {
        display: block;
        width: 100%;
    }

    .inquiry_form .inq_label {
        width: 100%;
        padding-top: 8px;
        padding-bottom: 0;
    }

    .inquiry_form .inq_submit,
    .inquiry_form .inq_reset {
        width: 100%;
        margin-right: 0;
        margin-bottom: 8px;
    }

    .site_search_big .sk2 {
        width: 100%;
        max-width: 100%;
        margin-bottom: 8px;
    }

    .site_search_big .special_read {
        width: 100%;
        margin-left: 0;
    }
}

/* ---------------------------------------------------------
   <=480px
   --------------------------------------------------------- */
@media screen and (max-width: 480px) {
    .give_ul li {
        width: 100%;
    }

    .rollPro1 li {
        width: 50% !important;
    }

    .partner_fr ul li {
        width: 100%;
    }

    .parallax-content li {
        width: 100%;
    }

    .sime_title {
        font-size: 22px;
    }

    .give_title {
        font-size: 16pt;
    }

    .strong_more a {
        padding: 10px 28px;
        font-size: 14px;
    }

    .itembody .list_left img {
        max-width: 100%;
    }
}
