@charset "UTF-8";

/*public css*/
#header,html,body,.banner-box,.main,#footer,.inpage,.subbanner{min-width: 1200px;}
.fw{ width: 1200px; margin: 0 auto; }
.ellipsis{
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
}
.duohang{
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

body{min-width: 1200px;}
#header{
    position: fixed;
    background: #fff;
    top: 0;left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, .1);
}
.hnull{height: 130px;}
#header .top{
    border-bottom: 1px solid #aeaeae;
    height: 80px;
    line-height: 80px;
    position: relative;
}
#nav{
    text-align: center;
    font-size: 0;
}
#nav .item{
    display: inline-block;
    height: 50px;
    line-height: 50px;
    margin: 0 22px;
    color: rgba(32, 35, 28, .5);
    font-size: 14px;
}
#nav .active, #nav .item:hover{color: #20231c;}
#header .logo{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    height: 80px;
    line-height: 80px;
}
#header .mes{
    color: #949494;
    font-size: 14px;
    height: 80px;
    line-height: 80px;
    display: inline-block;
    margin-left: 30px;
    padding-left: 18px;
    background: url(../images/email.png) no-repeat left center;
}
#header .mes em{
    font-style: normal;
    color: #fe4b1b;
}
#header .left{
    color: #20231c;font-size: 14px;
    height: 80px;
    line-height: 80px;
}
#header .in{
    display: inline-block;
    color: #20231c;font-size: 14px;
    height: 80px;
    line-height: 80px;
}
#header .search{
    border: 2px solid #bdbebc;
    width: 150px;
    height: 30px;
    line-height: 26px;
    border-radius: 30px;
    padding: 0 8px;
    margin-top: 25px;
    margin-right:54px; 
}
#header .search img{ margin-right: 7px;}
#header .search input{
    width: 94px;
    height: 26px;
    line-height: 26px;
    color: #a8a9a7;
    vertical-align: middle;
    padding: 0;
    font-size: 14px;
}
#header .cart{
    position: relative;
    height: 25px;
    line-height: 25px;
    margin-top: 27px;
    display: inline-block;
    color: #b5b5b5;
    font-size: 14px;
}
#header .cart img{ margin-right: 10px;}
#header .cart i{
    position: absolute;
    color: #fff;
    width: 15px;
    line-height: 15px;
    height: 15px;
    text-align: center;
    border-radius: 50%;
    background: #f8132e;
    top: -4px;
    left: 18px;
    font-size: 12px;
}
#header .clist{
    position: relative;
}
#header .clist .item{
    display: block;
    height: 79px;
    line-height: 79px;
    padding-right: 24px;
    background: url(../images/xia.png) no-repeat right center;
    color: #949494;
    font-size: 14px;
    min-width: 100px;
    transition: all linear .3s;
}
#header .clist .listcon{
    position: absolute;
    left: 0;
    background: #f7f7f7;
    top: 80px;
    width: 100%;
    display: none;
}
#header .clist .listcon a{
    display: block;
    text-align: center;
    color: #949494;
    font-size: 14px;
    height: 40px;
    line-height: 40px;
}
#header .clist .listcon a+a{
    border-top: 1px solid #d2d2d2;
}
#header .clist .listcon a:hover{
    color: #22b773;
}
#header .clist .item.on{
    background: #f7f7f7 url(../images/xia.png) no-repeat right center;
}

#footer{
    background: #20231c;
    padding: 32px 0 20px;
}
.footnav{
    font-size: 0;
    margin-bottom: 186px;
}
.footnav .item{
    display: inline-block;
    color: #9395a2;
    font-size: 14px;
}
.footnav .item+.item{margin-left: 46px;}
.footnav .item:hover, .footnav .active{ color: #fff;}
.copyright{
    padding-top: 8px;
    border-top: 1px solid #373a37;
    width: 1200px;
    margin: 0 auto;
}
.copyright p{
    text-align: center;
    color: #9395a2;
    font-size: 12px;
}
#footer .fw{ padding-bottom: 26px;}
#footer .left h2{
    color: #9395a2;
    font-size: 30px;
    margin-bottom: 8px;
}
#footer .left li{
    color: #9395a2;
    font-size: 14px;
    height: 32px;
    line-height: 32px;
    text-transform: uppercase;
}
#footer .left li img{
    margin-right: 8px;
}
#footer .right{ padding-top: 45px;}
#footer .taobao{ padding-left: 45px;}
#footer .taobao p{
    color: #9395a2;
    font-size: 12px;
}
#footer .taobao p img{ margin-right: 4px;}
#footer .taobao a{
    color: #9395a2;
    font-size: 12px;
}

.maintitle{
    text-align: center;
    margin-bottom: 35px;
}
.maintitle .t1{
    color: #fff;
    font-size: 40px;
    font-weight: bold;
}
.maintitle .t2{
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
}

/* product */
.product li{
    float: left;
    width: 386px;
    margin-right: 21px;
    margin-bottom: 20px;
    background: #f5f5f5;
    padding-bottom: 30px;
}
.product li:nth-child(3n){
    margin-right: 0;
}
.product li .pic{
    width: 100%;
    height: 320px;
    padding: 20px 10px 16px;
    text-align: center;
    overflow: hidden;
    line-height: 284px;
}
.product li .pic img{
    max-width: 96%;
    max-height: 100%;
    /*vertical-align: bottom;*/
    vertical-align: middle;
}
.product li .title{
    color: #717270;
    font-size: 14px;
    margin-top: 16px;
    display: block;
    padding: 0 18px;
}
.product li .price{
    color: #ff3431;
    font-size: 18px;
    height: 30px;
    line-height: 30px;
    font-weight: bold;
    padding: 0 18px;
}
.product li .price span{ font-size: 24px;}
.product li .buy{
    display: inline-block;
    color: #20231c;
    font-size: 14px;
    text-align: center;
    height: 30px;
    line-height: 30px;
    border-radius: 30px;
    width: 80px;
    background: #ffe538;
    font-weight: normal;
}
.product li:hover .title{ color: #20231c;}
.product2 li{
    background: #fff;
}
.product2 li{padding: 0 0 30px 0;}
.product2 li .pic{
    border-bottom: 1px solid #c1c1c1;
    margin-bottom: 16px;
    padding: 20px 10px 10px;
    line-height: 290px;
}
.product2 li .price{padding-top: 16px;}
.product2 li .title{ color: #20231c;}

.mask{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1010;
    display: none;
}
.mask .bg{
    position: absolute;
    z-index: 1;
    background: rgba(0, 0, 0, .5);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.mask .content{
    background: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9;
}
.mask .close{
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
}
.mask .btns{
    font-size: 0;
    text-align: center;
}
.mask .btns .btn{
    display: inline-block;
    width: 100px;
    height: 36px;
    line-height: 34px;
    border: 1px solid #bcbdba;
    text-align: center;
    color: #6b6b6b;
    font-size: 16px;
}
.mask .btns .btn+.btn{ margin-left: 28px;}
.mask .btns .on{
    background: #22b773;
    border: 1px solid #22b773;
    color: #fff;
}
.mask .title{
    color: #444444;
    font-size: 18px;
    text-align: center;
}
.mask .ts{
    color: #6b6b6b;
    font-size: 14px;
    text-align: center;
    margin: 18px 0 32px;
}
.delmask .content{
    padding: 28px 0;
    width: 350px;
}
.pages{
    font-size: 0;margin-top: 30px;
    text-align: center;
}
.pages a{
    display: inline-block;
    width: 44px;
    height: 44px;
    line-height: 40px;
    border: 2px solid #83b1ad;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #89b5b1;
    margin: 0 5px;
    transition: all ease .3s;
}
.pages a.active, .pages a:hover{
    border: 2px solid #588481;
    color: #fff;
    background: #588481;
}
.pages0 a{
    height: 24px;
    width: 24px;
    line-height: 22px;
    color: #bcbdba;
    font-size: 14px;
    font-weight: normal;
    border: 1px solid #bcbdba;
}
.pages a.active, .pages a:hover{
    border: 1px solid #22b773;
    background: #22b773;
}
