/*产品区域*/
.titlemore h3 {
    margin-top: 120px ;
     margin-top: 160px ;
}
.moreButton{
    margin-top: 60px;
    background: #87c023;
}
.productbox{
    display: block;
    overflow: hidden;
    padding: 0;
}
.productbox li{
    display: block;
    text-align: center;
    overflow: hidden;
    width: 100%;
    margin:  0 auto;
    float: left;
    padding: 60px 0;
}
.productbox li>div{
    max-width: 1400px;
    margin:  0 auto;
    display: block;
    text-align: center;
    overflow: hidden;
    width: 100%;
}
.productbox li .titlemore p{
    text-align: center;
    color: #333333;
    font-size: 16px;
    margin: 12px 0;
    line-height: 28px;
}
.productbox li .imgbox img{
    max-width: 280px;
}

/*不一样的区域*/
.productbox li:nth-child(2n) .textbox{
    float: right;
}
.productbox li:nth-child(2n+5) .textbox{
    float: right;
}
.productbox li:nth-child(2n+5) .imgbox{
    float: left;
}
.productbox li:nth-child(2n+6) .textbox{
    float: left;
}
.productbox li:nth-child(2n+6) .imgbox{
    float: right;
}












/*空白区域*/
.productbox li{
  position: relative;
    background: #f0f0f0;

}
.productbox li:before{
    width: 50%;
    height: 100%;
    position: absolute;
    background: #ffffff;
    content: ' ';
    top: 0;
    left: 0;
}
.productbox li:nth-child(2n):before {
    left: auto;
    right:0;
}
.productbox li:nth-child(2n+5):before {
    left: auto;
    right:0;
}
.productbox li:nth-child(2n+6):before {
    left: 0;
}
.productbox li:nth-child(4) {
    padding: 150px 0;
    background: url("../images/newaddimg/productlist.png") no-repeat 0 center;
    background-size: 50%  100%;
}
.productbox li:nth-child(4) .imgbox img{
    position: absolute;
    top: 50%;
    left: 50%;
    top: 56%;
    left: 47%;
    
    max-width: 320px;
    transform: translate(-50% , -50%);
}

















/*设置手机端的css*/
@media screen and (max-width:1400px) {
    .productbox li>div{
        max-width: 1000px;
    }
    .productbox li .imgbox img {
        max-width: 260px;
    }
    .titlemore h3 {
        font-size: 28px;
        line-height: 28px;
        margin: 100px 0 20px 0;
    }
}
@media screen and (max-width:1200px) {
    .titlemore h3 {
        font-size: 18px;
        margin: 10px 0 10px 0;
    }
    .productbox li .imgbox img {
        max-width: 240px;
    }
}

@media screen and (max-width:768px) {
.productbox li:before{
    display: none;
  }
}


@media screen and (max-width:770px) {
    .productbox li {
        padding: 30px 0;
    }
    .productbox li .imgbox img {
        max-width: 180px;
        height: auto;

    }
    .productbox li .titlemore p {
        font-size: 14px;
        margin: 10px 0;
        line-height: 24px;
    }
    .moreButton {
        margin: 15px auto;
    }
    .titlemore h3 {
        font-size: 16px;
        line-height: 18px;
        margin: 20px 0 10px 0;
    }
    .productbox li:nth-child(5n+3), .productbox li:nth-child(5n+4) {
        float: none;
        width: 100%;
    }
    .productbox li:nth-child(5n+2) .textbox,
    .productbox li:nth-child(5n+5) .textbox {
        float: none;
    }
    .productbox li:nth-child(5n+1),
    .productbox li:nth-child(5n+5),
    .productbox li:nth-child(5n+3) {
        background: #f0f0f0;
    }
    .productbox li:nth-child(5n+6),
    .productbox li:nth-child(5n+2),
    .productbox li:nth-child(5n+4) {
        background: #ffffff;
    }
    .productbox li:nth-child(5n+3)>div>div.textbox,
    .productbox li:nth-child(5n+4)>div>div.textbox {
        margin: 0px 0 0 0;
    }


    .productbox li:nth-child(4){
        padding: 30px 0;
        background: none;
    }
    .productbox li:nth-child(4) .imgbox img {
        position: static;
        top: 0%;
        left: 0%;
        max-width: 180px;
        transform: translate(-0% , -0%);
    }
    .productbox li .textbox {
         float: none !important;
    }
    .productbox li .imgbox {
        float: none !important;
    }



}

@media screen and (max-width:340px) {

    .productbox li .imgbox img {
        max-width: 160px;
        height: auto;
    }
}








