﻿@charset "utf-8";
/* CSS Document */



@media screen and (min-width:769px) {
    .container { width: 90%; min-width: 600px; }
}

@media screen and (max-width:1000px) {
    .header .navbox .nav-link .line,
    .header .navbox .nav-link .item:first-child { display: none; }

    /*公司资质页*/
    .p-qualification { }
    .p-qualification .list .item { width: 50%; }
    .p-qualification .list .item.about { width: 100%; }

    .b-picshow2 { flex-direction: column; align-items: stretch; }
    .b-picshow2 .b-picshow1 { width: 100%; order: 1; }
    .b-picshow2 .b-tecent1 { order: 2; }

    .p-index .banner { height: 50vw; }

}



@media screen and (max-width:768px) {


     .p-index .banner .swiper-pagination { bottom:20px;  left:20px;}
    .p-index .banner .swiper-pagination .swiper-pagination-bullet { width:30px;   }

    .b-inner-banner .tit h1 { transform:scale(.7);}
    .b-inner-banner .tit h1:after { display:none; }
    .b-inner-banner .tit p { display:none;}




    .p-index .aboutbox { background: #fff; display: flex; flex-direction: column; justify-content: space-between; }
    .p-index .aboutbox .lcent { order: 2; padding: 20px 15px; width: 100%; }
    .p-index .aboutbox .lcent::after { display: none; }
    .p-index .aboutbox .rcent { order: 1; width: 100%; }

    .p-index .aboutbox.active .rcent { margin-top: 0; opacity: 1; }



    .header { transition: all .3s; }
    .header .logo { margin-left: 15px; }
    .header .navbox { position: fixed; left: 100%; top: 0; width: 60%; height: 100vh; background: #fff; line-height: 30px; transition: all .3s; }
    .header .navbox .m-close { display: block; position: absolute; right: 30px; top: 35px; line-height: 30px; }
    .header .navbox .nav-link { float: inherit; width: 100%; border-top: 1px solid #eee; margin-top: 100px; }
    .header .navbox .nav-link .line { display: none; }
    .header .navbox .nav-link .item { float: none; padding: 0; border-bottom: 1px solid #eee; }
    .header .navbox .nav-link .item:first-child { display: none; }
    .header .navbox .nav-link .item .tit-a { display: block; line-height: 40px; margin-left: 30px; }
    .header .navbox .nav-link .item .sub { position: static; padding: 0 0 10px 0; flex-direction: column; height: auto; box-shadow: none; line-height: 30px; }
    .header .navbox .nav-link .item .sub a { font-size: 12px; margin-left: 30px; }
    .header .navbox .nav-link .item .sub a:after { display: none; }
    .header .navbox .nav-link .item:nth-child(3) .sub a:last-child,
    .header .navbox .nav-link .item:nth-child(4) .sub a:last-child,
    .header .navbox .nav-link .item:nth-child(5) .sub a:last-child { margin-right: 0; }
    .header .navbox .nav-link .item:hover .sub { height: auto; }
    .header .navbox .extra-link { display: none; }
    .header .navbox .extra-link .item:hover .sub { display: block; }

    .header .m-btn { display: block; float: right; margin-right: 15px; width: 20px; margin-top: 43px; }
    .header .m-btn span { display: block; width: 100%; height: 2px; overflow: hidden; margin-bottom: 4px; background: #222; transition: all .2s; }
    .header .m-btn span:nth-child(1) { width: 12px; }
    .header .m-btn span:nth-child(3) { width: 16px; }

    body.ovh { overflow: hidden; }
    body.ovh .header { left: -60%; }
    body.ovh .header .m-btn span:nth-child(1),
    body.ovh .header .m-btn span:nth-child(3) { width: 100%; }
    body.ovh .header .navbox { left: 40%; box-shadow: 0 0 10px rgba(0,0,0,.3); }


    .list-3col { display: flex; flex-wrap: wrap; }
    .list-3col .item { width: 49%; margin-right: 2%; margin-top: 2%; }
    .list-3col .item:nth-child(2n) { margin-right: 0; }
    .list-3col .item:nth-child(3n) { margin-right: 2%; }

    .p-news { padding: 20px 15px; }



    .p-about { } 
    .p-about .about .lcent { width: 100%;  }
    .p-about .about .rcent {  width: 100%;  }
 
}

@media screen and (max-width:480px) {

    h1 { font-size:24px; }
    h2 { font-size: 20px; }
    h3 { font-size: 16px; }


    body { padding-top: 60px; }
    .header { box-sizing: border-box; height: 60px; padding: 0  ; }
    .header .logo { margin-top: 10px;   }
    .header .logo img { height: 40px; }
    .header .m-btn { margin-top: 23px;   }
    .header .navbox .m-close { right: 15px; top: 15px; line-height: 30px; }
    .header .navbox .nav-link { margin-top: 60px; }

    .footer { }
    .footer .contact { padding: 20px 15px }
    .footer .contact .container .address { width: 100%; }
    .footer .contact .wechat,
    .footer .contact .container .advisory { display: none; }
    .footer .copyright { display: none; }
    .footer .copyright-wap { display: block; background: #222; color: #fff; padding: 15px; text-align: center; }

    .b-tecent1 { padding: 20px 15px; }

    .list-3col .item { width: 100%; margin-right: 0; margin-top: 10px; }
    .list-3col .item:nth-child(3n),
    .list-3col .item:nth-child(2n) { margin-right: 0; }

    .list-2col .item { width: 100%; margin-right: 0; margin-top: 10px; }
    .list-2col .item:nth-child(2n) { margin-right: 0; }

    .p-index .cooperate .list .item { width: 50%; padding: 5px; box-sizing: border-box; position: relative; }
    .p-index .cooperate .list .item img { position: relative; z-index: 0; display: block; width: 100%; box-shadow: 0 0 2px rgba(0,0,0,.1); }
    .p-index .cooperate .list .item .cent { position: absolute; z-index: 2; left: 5px; bottom: 5px; top: 5px; right: 5px; background: rgba(0,0,0,.4); color: #fff; padding: 20px 15px; transition: all .5s; opacity: 0; transition: all .5s; display: flex; align-items: center; justify-content: center; font-size: 16px; }
    .p-index .cooperate .list .item:hover .cent { opacity: 1; }


    .p-newdetail { padding: 20px 15px; }

 
    .p-detectiontechnology .technology {    }
    .p-detectiontechnology .technology .item {   width:100%;  } 
}
