﻿/*关于我们 首页*/
.bac-about{
    background:url(../images/about/ab_bac01.jpg) no-repeat right center;
}
.bt-line{
    border-top: solid 1px;
}
.aboutline>div{
    padding:0;
}
.aboutline > div:last-child{
    padding:0 0 0 50px;
}
.aboutline img{
    width:100%;
}
@media (max-width:990px){
    .aboutline > div {
        padding: 15px;
    }
    .aboutline > div:last-child{
        padding:15px;
    }
}
.factorylist{
    height: 570px;
    background: url(../images/about/ab_bac02.jpg) no-repeat;
    background-size: auto 100%;
    overflow: hidden;
}
.more-help {
    display: inline-block;
}
/*.more-help li:first-child {
    margin-left: 0;
}*/
.more-help li {
    margin: 0 20px;
}
.white-block {
    display: inline-block;
    width: 320px;
    height: 60px;
    line-height: 60px;
    background-color: white;
    font-weight: bold;
    padding-left: 30px;
    box-sizing: border-box;
    border-radius: 5px;
    transition: box-shadow .3s;
}
.white-block .iconfont {
    font-weight: normal;
    vertical-align: middle;
    padding-right: 30px;
    margin-right: 30px;
    border-right: 1px solid #f2f2f2;
}
.white-block.tel{
    position: relative;
}
.white-block.tel span:last-child{
    position: absolute;
    left:125px; 
    top: 13px;
    line-height: 18px;
}
.factorylist ul{
    padding:0 66px;
}
.factorylist ul li{
    position: relative;
    padding: 20px 40px;
    height: 320px;
    background: url(../images/about/ab_bac03.png) center top no-repeat;
}
.factorylist ul li img{
    width:100%;
}
.factorylist-tit{
    font-size: 15px;
    font-weight: bold;
    margin-top: 20px;
    padding-bottom: 5px;
    border-bottom: solid 1px #D9D9D9;
}
.factorylist ul li:after{
    content: '';
    position: absolute;
    bottom: 33px;
    left: 40px;
    width:32px;
    height:1px;
    background:rgba(217,217,217,1);
    border:1px solid rgba(217,217,217,1);
}
@media (min-width: 992px) and (max-width: 1200px){
    .factorylist ul{
        padding: 0;
    }
    .factorylist ul li {
        padding: 20px 30px;
    }
    .more-help li {
        margin: 0 10px;
    }
    .white-block {
        width: 280px;
    }
}
@media (max-width: 768px){
    /*.factorylist ul{
        padding: 0 100px;
    }*/
    .factorylist{
        height: auto;
    }
    .factorylist ul li {
        padding: 20px 30px 50px 30px;
        background-size: 100% 100%;
        height: auto;
        margin-bottom: 20px;
    }
    .more-help{
        padding: 15px;
        margin-top: 15px;
    }
        .more-help .white-block {
            width: 100%;
            margin-left: 0;
            margin-right: 0;
            margin-bottom: 15px;
        }
    .bac-about{
        padding: 0 20px;
    }
}
/*DIY产品页*/
.bac-custom{
    padding:0 40px 50px;
    background: url(../images/about/diy_img01.png) no-repeat;
    background-position: right 36px top;
}
.bac-personal{
    padding:0 40px 50px;
    background: url(../images/about/diy_img02.png) no-repeat;
    background-position: right 36px top;
}
.bac-tracking{
    padding:0 40px 50px;
    background: url(../images/about/diy_img03.png) no-repeat;
    background-position: right 36px top;
}
.registline--small {
    display: block;
    width: 100%;
    position: relative;
    padding-top: 15px;
    line-height: 20px;
    height: 73px;
    color: #565656;
    background: url(/images/about/diy_bac01.jpg) no-repeat;
    background-size: 100%;
    padding:20px 270px 0 20px;
    box-sizing: border-box;
}
/*工厂*/
.ourfactory-list img{
    width:100%;
}
.ourfactory-list li{
    padding-bottom: 50px;
}
.ourfactory-list li,.ourfactory-list-img{
    position: relative;
}
.ourfactory-list-cont{
    position: relative;
    width: 100%;
}
.ourfactory-list-cont p:first-child{
    position: absolute;
    bottom: -35px;
    width:100%;
}
.ourfactory-list-cont p:last-child{
    display: none;
    line-height: 20px;
    transition: opacity 1s;
}
.ourfactory-list-img::after{
    opacity: 0;
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
    background:rgba(0,0,0,.6);
    transition: all .6s;
}
.hover .ourfactory-list-img::after{
    opacity: 1;
}
.hover .ourfactory-list-cont{
    color: white;
    position: absolute;
    top: 65px;
    left: 0;
}
.hover .ourfactory-list-cont p:first-child
{
    position: relative;
    padding-bottom: 20px;
    font-size: 24px;
    bottom: 0;
}
.hover .ourfactory-list-cont p:first-child::after{
    content: '';
    position: absolute;
    left: 50%;
    bottom:0;
    width:44px;
    height:1px;
    background:rgba(247,247,247,1);
    margin-left: -22px;
    font-size: 24px;
}
.hover .ourfactory-list-cont p:last-child{
    display: block;
    margin-top: 15px;
}
@media (min-width: 992px) and (max-width: 1200px){
    .hover .ourfactory-list-cont{
        top: 45px;
    }
}
.about-products{
    padding: 60px 0 87px;
    background: url(/Content/imgs/ab_bac04.jpg);
    background-size: 100% 100%;
}
.about-tabs .ic{
    width:100px;
    height: 100px;
    background-image: url(/Content/imgs/common/product_tabs2.png);
    background-position-y:-194px;
}
.about-tabs li:hover .ic{
    background-position-y:-333px;
}
.about-tabs li p {
    font-size: 16px;
    margin-top: 20px;
    font-weight: bold;
    color: #333;
}
.about-tabs  .ic-ss {
    background-position-x: -46px;
}
.about-tabs  .ic-ds {
    background-position-x: -226px;
}
.about-tabs  .ic-bs {
    background-position-x: -409px;
}
.about-tabs  .ic-ls {
    background-position-x: -593px;
}
.about-tabs  .ic-ba {
    background-position-x: -776px;
}
.about-tabs  .ic-fp {
    background-position-x: -960px;
}
.title-line{
    position: relative;
    text-align: center;
}
.title-line::before,.title-line::after{
    content: '';
    position: absolute;
    left: 0;
    top:50%;
    display: block;
    height: 4px;
    width:calc(50% - 100px);
    margin-top: -2px;
    background:rgba(227,227,228,1);
}
.title-line::after{
    left: auto;
    right: 0;
}

.content {
    max-width: 1000px;
    margin: 0px auto;
}
.stay-top {
    z-index: 5;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255,1);
    padding: 15px 0;
}
    .stay-top .productTop a {
        margin-bottom: 0;
    }

.productTop a.active {
    background: #9FCC5E;
    color: #fff;
    text-decoration: none;
    border-color: #9FCC5E;
}
@media (min-width: 768px){
    .productTop a:hover{
        background: #9FCC5E;
        color: #fff;
        text-decoration: none;
        border-color: #9FCC5E;
    }
}

.productTop a {
    display: inline-block;
    background: #fff;
    width:140px;
    height:38px;
    line-height:36px;
    color: #333;
    font-size: 14px;
    margin-right: 10px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    text-align:center;
}
.service-factoryList {
    padding: 0 70px;
    margin-top:30px;
}
.service-factoryList li {
    text-align:center;
}
    .service-factoryList li span {
        display: inline-block;
        width: 70px;
        height: 80px;
        background-image: url('../images/about/service_icons.png');
        background-repeat: no-repeat;
        background-position-y: -36px;
        overflow: hidden;
        transition:all .5s;
    }
    .service-factoryList li span:hover{
        background-position-y:-151px;
    }
    .service-factoryList .sf-price {
        background-position-x: -43px;
    }
    .service-factoryList .sf-quality {
        background-position-x: -173px;
    }
    .service-factoryList .sf-shipment {
        background-position-x: -303px;
    }
    .service-factoryList .sf-value {
        background-position-x: -433px;
    }
    @media (max-width: 768px) {
        .about-tabs li {
        margin-bottom: 15px;
    }
        .stay-top .productTop {
            overflow: hidden;
        }
        .stay-top .productTop a {
            float: left;
            font-size: 12px;
            width: calc(50% - 5px);
            padding: 0 5px;
            margin-right: 10px;
            margin-bottom: 10px;
        }
    .stay-top .productTop a:nth-child(2n){
        margin-right:0;
    }
    .stay-top .productTop a:nth-child(n+3){
        margin-bottom:0;
    }
    .service-factoryList li{
        margin-bottom:25px;
    }
}