@charset "utf-8";
/* ==========================================================
   1. 去除全部动画 / 过渡效果（所有设备）
   ========================================================== */
*, *:before, *:after {
    -webkit-transition: none !important;
    transition: none !important;
    -webkit-animation: none !important;
    animation: none !important;
}
.index .pro_box .pro_list li:hover .img img,
.index .case .pro_list li:hover img { -webkit-transform: none; transform: none; }
#nav ul .subnav { -webkit-transform: none; transform: none; }
.Piclist ul.list li.item .item_mask { -webkit-transform: none; transform: none; }
.index .about { background-attachment: scroll; }

/* 手机端专用元素：电脑端隐藏 */
.menu_btn, .m_bar { display: none; }

/* ==========================================================
   2. 平板 + 手机（宽度 ≤ 1199px）
   ========================================================== */
@media (max-width: 1199px) {
    body { min-width: 0; padding-bottom: 50px; }
    img { max-width: 100%; }
    .w1200 { width: auto; padding: 0 15px; box-sizing: border-box; }

    /* 顶部 */
    .top_main { display: none; }

    /* 头部 + 汉堡菜单 */
    .header_main, .header_main.bg { position: -webkit-sticky; position: sticky; top: 0; height: 60px; z-index: 50; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
    .header_main .w1200 { position: relative; }
    .header_main .logo { margin-top: 10px; }
    .header_main .logo img { height: 40px; width: auto; display: block; }
    .menu_btn { display: block; position: absolute; right: 15px; top: 13px; width: 34px; height: 34px; padding: 7px 5px; box-sizing: border-box; }
    .menu_btn span { display: block; height: 3px; margin-bottom: 5px; background: #1048a0; border-radius: 2px; }
    .menu_btn span:last-child { margin-bottom: 0; }
    #nav { display: none; position: absolute; left: 0; right: 0; top: 60px; float: none; background: #fff; border-top: 2px solid #1048a0; box-shadow: 0 8px 16px rgba(0,0,0,.15); }
    #nav.open { display: block; }
    #nav li { float: none; width: auto; border-left: 0; border-bottom: 1px solid #eee; }
    #nav li a { height: auto; padding: 12px 20px; text-align: left; font-size: 15px; line-height: 22px; color: #333; }
    #nav li a span { display: inline; margin-left: 8px; color: #aaa; font-size: 12px; }
    #nav li.hover > a, #nav li:hover > a { background: #f3f6fa; color: #1048a0; }
    #nav ul .subnav { display: none; }

    /* 首页大图 1920x550 */
    #banner { min-width: 0; }
    #banner_main .banner { height: 28.65vw; }
    #banner, .banner ul { max-height: none; height: 100%; }
    .banner li img { width: 100%; left: 0; margin-left: 0; }
    #banner .tip { width: 100%; left: 0; margin-left: 0; bottom: 8px; }
    #banner #btn_prev, #banner #btn_next { display: none; }

    /* 搜索栏 */
    .search_main { height: auto; overflow: hidden; padding: 8px 0; }
    .search_main .skey { float: none; line-height: 24px; }
    .search_main .skey p { line-height: 26px; font-size: 13px; }
    .search_main .skey p a { padding: 0 8px; font-size: 13px; }
    .search_main .search_form { float: none; width: 100%; box-sizing: border-box; margin: 8px 0 0; }
    .search_main .search_form .stxt { width: calc(100% - 45px); }

    /* 首页标题 */
    .index .in_title h3 { font-size: 20px; }
    .index .in_title h3:before { width: 80%; margin-left: -40%; }

    /* 首页产品 */
    .index .pro_box { padding-top: 30px; }
    .index .pro_box .pro_l { float: none; width: 100%; margin-bottom: 15px; }
    .index .pro_box .pro_l .pro_tit, .index .pro_box .pro_l .pro_lxwm { display: none; }
    .index .pro_box .pro_l .pro_l_left { border-top: 1px solid #1048a0; }
    .index .pro_box .pro_l ul li { float: left; width: 33.333%; box-sizing: border-box; border-bottom: 0; text-align: center; line-height: 38px; }
    .index .pro_box .pro_l ul li a { padding-left: 0; }
    .index .pro_box .pro_l ul li a:after { display: none; }
    .index .pro_box .pro_list { float: none; width: 100%; }
    .index .pro_box .pro_list li, .index .case .pro_list li { width: 31.333%; margin-right: 3%; box-sizing: border-box; }
    .index .pro_box .pro_list li:nth-child(3n), .index .case .pro_list li:nth-child(3n) { margin-right: 0; }
    .index .pro_box .pro_list li .img, .index .case .pro_list li a .img { width: 100%; height: auto; }
    .index .pro_box .pro_list li .img img, .index .case .pro_list li a .img img { height: auto; display: block; }
    .index .pro_box .pro_list li h3, .index .case .pro_list li a h3 { font-size: 14px; line-height: 20px; padding: 8px 0; }

    /* 首页关于我们 */
    .index .about { padding: 25px 0; }
    .index .about .box { height: auto; padding: 20px 15px; margin: 0 15px; }
    .index .about .box .title { padding-bottom: 20px; }
    .index .about .box .title h3 { font-size: 20px; }
    .index .about .box .txt { width: auto; height: auto; padding-left: 0; }
    .index .about .box .txt .img { display: none; }
    .index .about .box .txt p { line-height: 26px; }

    /* 品牌优势 */
    .index .youshi .tit { font-size: 20px; background-size: contain; }
    .index .youshi .youshi_1, .index .youshi .youshi_2 { height: auto; padding-top: 20px; }
    .index .youshi .youshi_1 dl, .index .youshi .youshi_2 dl { float: none; width: auto; margin: 0 0 20px; }
    .index .youshi dl dt span { font-size: 18px; height: auto; line-height: 46px; }
    .index .youshi dl dd { width: auto; padding-left: 60px; }
    .index .youshi .img { display: none; }

    /* 工程案例（手机端不轮播，改为网格） */
    .index .case { height: auto; padding: 30px 0 10px; }
    .index .case .bd { padding-top: 15px; }
    .index .case .hd { display: none; }

    /* 首页新闻 */
    .index .inews { margin-top: 25px; }
    .index .inews:before { display: none; }
    .index .inews1, .index .inews2 { float: none; width: 100%; margin-bottom: 25px; }
    .index .inews .title { margin-bottom: 15px; }
    .index .inews .title h3 { font-size: 18px; }
    .index .inews .title a { margin-right: 0; }
    .index .inews .item { height: auto; overflow: hidden; }
    .index .inews .item img { width: 120px; height: 90px; margin-right: 12px; }
    .index .inews .item .txt { max-height: 48px; }
    .index .inews .newslist li, .index .inews .newslist li a { height: 44px; line-height: 44px; }
    .index .inews .newslist li a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

    /* 页尾 */
    .footer_main .footer { padding-bottom: 20px; }
    .footer_main .footer .links { margin-bottom: 20px; font-size: 14px; }
    .footer_main .botnavlist { display: none; }
    .footer_main .qcode { float: none; width: 100%; }
    .footer_main .btel { float: left; width: calc(100% - 110px); }
    .footer_main .btel .p2 { font-size: 26px; }
    .footer_main .qcode .ewm { width: 100px; }
    .copymain { line-height: 22px; padding: 12px 0; }
    .copymain p.fl { float: none; }
    .toolbar { display: none; }

    /* 手机底部导航条 */
    .m_bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; height: 50px; z-index: 100; background: #1048a0; }
    .m_bar a { flex: 1; color: #fff; font-size: 14px; line-height: 50px; text-align: center; border-left: 1px solid rgba(255,255,255,.2); }
    .m_bar a:first-child { border-left: 0; }
    .m_bar a.m_tel { background: #f39800; font-weight: bold; }

    /* ---------- 内页 ---------- */
    .nybanner { height: 15.6vw; min-height: 90px; background-size: cover; }
    .submian .w1200 { display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; }
    .submian .subright { -webkit-order: 1; order: 1; float: none; width: 100%; }
    .submian .subleft { -webkit-order: 2; order: 2; float: none; width: 100%; margin-top: 20px; }
    .submian .subleft .title { height: auto; padding: 12px 0; }
    .submian .subleft .lefta .comt ul li { float: left; width: 50%; box-sizing: border-box; }
    .submian .subleft .lefta .comt ul li a { line-height: 40px; }
    .submian .leftnews ul { padding: 10px 2% 0; }
    .submian .leftnews ul li { width: 48%; margin: 0 1%; }
    .submian .leftnews ul li img { width: 100%; height: auto; box-sizing: border-box; }
    .submian .leftnews ul li p { line-height: 18px; padding: 6px 0 10px; }
    .submian .sobtitle { height: auto; line-height: 24px; }

    /* 图片列表（产品 / 案例） */
    .Piclist ul.list li.item { width: 31.333%; margin-right: 3% !important; box-sizing: border-box; }
    .Piclist ul.list li.item:nth-child(3n) { margin-right: 0 !important; }
    .Piclist ul.list li.item img { width: 100%; height: auto; }
    .Piclist ul.list li.item .item_mask { display: none; }
    .Piclist ul.list li.item span { height: auto; line-height: 20px; padding: 10px 4px; box-sizing: border-box; }

    /* 文章列表 */
    .submian .Newslist .item .time { width: 80px; height: 80px; font-size: 14px; }
    .submian .Newslist .item .time .day { font-size: 30px; line-height: 50px; }
    .submian .Newslist .item .txt { width: calc(100% - 95px); }

    /* 详情页 */
    .submian .subright .conBox .ArticleTitle h1 { font-size: 20px; line-height: 30px; padding: 10px 0; }
    .submian .subright .conBox .ArticleMessage { height: auto; }
    .submian .subright .conBox .ArticleTencont table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .submian .subright .conBox .ArticleTencont td, .submian .subright .conBox .ArticleTencont th { white-space: nowrap; }
    .reLink { height: auto; padding: 5px 10px; }
    .reLink .prevLink, .reLink .nextLink { float: none; height: auto; line-height: 28px; }
    .reLink .prevLink a, .reLink .nextLink a { height: auto; line-height: 28px; }

    /* 产品组图 */
    .MainBg, #OriginalPic, .ThumbPicBorder { width: 100%; }
    #OriginalPic img { max-width: 100%; height: auto; }
    .ThumbPicBorder .pic { width: calc(100% - 90px); margin: 12px auto; }
    .ThumbPicBorder #btnPrev, .ThumbPicBorder #btnNext { width: 30px; height: 70px; top: 12px; }
    .ThumbPicBorder #btnPrev { left: 8px; }
    .ThumbPicBorder #btnNext { right: 8px; }
    #ThumbPic img { width: 80px; height: 64px; margin: 0 3px; }

    /* 留言表单 */
    .formData .item, .formData .item.mr0 { float: none; width: 100%; margin: 0 0 15px; box-sizing: border-box; }
    .formData .item .txt { width: 100%; box-sizing: border-box; }
    .formData .liuyan { width: 100%; height: auto; box-sizing: border-box; }
    .formData .liuyan label { position: static; text-align: left; height: 40px; line-height: 40px; }
    .formData .liuyan textarea { width: 100%; height: 160px; box-sizing: border-box; text-indent: 0; font-size: 15px; line-height: 26px; }
    .formData .sub { width: 100%; }

    /* 网站地图、分页 */
    .sitemap dt, .sitemap dd { float: none; width: 100%; }
    .sitemap dd a { padding-right: 18px; line-height: 32px; }
    .pglist .page-status { display: none; }
    .pglist a, .pglist span { padding: 0 10px; }
    #allmap { height: 300px !important; }
}

/* ==========================================================
   3. 手机（宽度 ≤ 768px）
   ========================================================== */
@media (max-width: 768px) {
    .index .pro_box .pro_list li, .index .case .pro_list li,
    .Piclist ul.list li.item { width: 48.5%; margin-right: 3% !important; }
    .index .pro_box .pro_list li:nth-child(3n), .index .case .pro_list li:nth-child(3n),
    .Piclist ul.list li.item:nth-child(3n) { margin-right: 3% !important; }
    .index .pro_box .pro_list li:nth-child(2n), .index .case .pro_list li:nth-child(2n),
    .Piclist ul.list li.item:nth-child(2n) { margin-right: 0 !important; }
    .index .pro_box .pro_list li { margin-bottom: 12px; }
    .index .case .pro_list li:nth-child(n+7) { display: none; }
    .index .pro_box .pro_l ul li { width: 50%; }
    .search_main .skey p { font-weight: normal; }
    .index .youshi dl dd { padding-left: 0; padding-top: 8px; }
    .index .inews .newslist li .time { display: none; }
    .submian .subleft .lefta .comt ul li { width: 50%; }
    .submian .Aboutpage, .submian .subright .conBox .ArticleTencont,
    .index .youshi dl dd, .index .about .box .txt p { text-align: left; }
    .pglist { padding: 10px 0 20px; }
    .pglist a, .pglist span { padding: 0 8px; margin: 2px; font-size: 13px; }
}
