/**************************
 ---------首页样式---------
 --------author:jjhu-------
 ------date:2015-07-26-----
 *************************/
@import "./base.css";

.col-xs-3.col-sm-3.col-md-3,.col-xs-6.col-sm-6.col-md-6{
	position: relative;
    min-height: 1px;
    padding-right: 5px;
    padding-left: 5px;
}
/***改变input placeholder字体颜色***/
::-webkit-input-placeholder { /* WebKit browsers */  
    color: #fff;  
}  
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */  
   color:    #fff;  
   opacity:  1;  
}  
::-moz-placeholder { /* Mozilla Firefox 19+ */  
   color:    #fff;  
   opacity:  1;  
}  
:-ms-input-placeholder { /* Internet Explorer 10+ */  
   color:    #fff;  
}  
.label-display-area .item a .image {
    width: 60%;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #fbd59c;
}

/**搜索框**/
.search{
	position: relative;
	width: 100%;
}
.search .search-goods{
/* 	position: absolute; */
	padding:10px;
	width: 100%;
	height:55px;
	background: rgba(0,0,0,0.3);
	z-index: 99;
}
.search .search-goods .search-goods-area{
	border: 1px solid #fff;
	height: 35px;
	border-radius:8px; 
}
.search-goods-area{
	padding: 5px
}
.search-all{
	width: 90px;
	color: #fff;
	border-right: 1px solid #fff;
}
.search-btn{
	float:right;
	width: 35px;
	text-align:center;
	color: #fff;
}
.search-input input{
	width: 100%;
	background: rgba(0,0,0,0);
	border: none;
	color:#e7e7e7
}

/**幻灯片**/
.swiper-container .swiper-slide img{
    width: 100%;
}
/******---------content 主体内容----------*******/
#content{
	/* background: #F0F0F0; */
}
.goods-user-info{
	height: 50px;
	padding:5px;
	text-align: center;
	background: #fff;
	border-bottom: 1px solid #CBCBCB;
}
.goods-user-info a{
	font-size:15px;
	width:100%;
	line-height:40px;
	display: inline-block;
	text-decoration: none;
}
.goods-user-info .my-points{
	color:#CA2A42;
	border-right:1px solid #CBCBCB; 
}
.goods-user-info .points-manage{
	color:#D86337;
}

/*********商品导航**********/
.goods-banner{
	background: #fff;
	margin-top:17px;
	height: 50px;
	text-align: center;
	border-top: 1px solid #CBCBCB;
	border-bottom: 1px solid #CBCBCB;
}
.goods-banner .item-1,.goods-banner .item-2,.goods-banner .item-3{
	height: 49px;
	padding: 5px 0px;
}
.goods-banner .item-1 a,.goods-banner .item-2 a,.goods-banner .item-3 a{
	width: 100%;
	line-height: 40px;
	font-size: 15px;
	display: inline-block;
	text-decoration: none;
	cursor: pointer;
}
.goods-banner .goods-hot{
	border-left:1px solid #CBCBCB; 
	border-right:1px solid #CBCBCB;
}
.goods-banner .goods-category,
.goods-banner .goods-hot,
.goods-banner .goods-new{
	color:#000;
}
.goods-banner .goods-category.active,
.goods-banner .goods-hot.active,
.goods-banner .goods-new.active{
	color:#E1131D;
}
.goods-banner .item-1.active,
.goods-banner .item-2.active,
.goods-banner .item-3.active{
	border-bottom: 1px solid #E1131D;
}
/**商品分类样式**/
#content .goods-category-area{
    margin: 20px 10px;
    border-bottom:1px dotted #EEEEEE;
}
.goods-category-area .item{
    text-align: center;
    margin-bottom: 10px;
    cursor: pointer;
}
.goods-category-area .item a{
    text-decoration: none;
    color: #333333;
}
.goods-category-area .item .name{
    padding: 10px 0;
    font-size: 16px;
}
/**商品标签分类样式**/
#content .label-display-area{
    margin: 20px 10px;
}
.label-goods-diplay-area .ad-image{
    margin: 0 -10px;
}
.label-goods-diplay-area .ad-image img{
    max-width: 100%;
}
.label-display-area .item{
    text-align: center;
    margin-bottom: 10px;
    cursor: pointer;
}
.label-display-area .item a{
    text-decoration: none;
    color: #333333;
}
.label-display-area .item .image img{
   max-width: 100%;
   max-height: 240px;
}
.label-display-area .item .name{
    padding: 10px 0;
    font-size: 12px;
}
/**推荐商品区域样式**/
.recommend-goods-diplay-area{
    padding: 0 10px;
    background: #ffffff;
}
.recommend-goods-diplay-area .recommend-name-area{
    border-bottom: 1px solid #EEEEEE;
    padding: 5px 0;
    margin-bottom: 10px;
}
.recommend-goods-diplay-area .recommend-name{
    font-size: 14px;
    color: #666;
    font-weight: bold;
}
.recommend-goods-diplay-area .recommend-name-area .more{
    float: right;
    color: #999;
    text-decoration: none;
}
.recommend-goods-diplay-area .recommend-name-area .more i{
    margin-left: 2px;
}
.recommend-goods-diplay-area .recommend-goods-area{
    text-align: center;
    /* margin: 0 -5px; */
}
.recommend-goods-diplay-area .item{
    padding: 0;
   
}
.recommend-goods-diplay-area .goods{
    border: 1px solid #f7f7f7;
    margin: 0 5px;
}
.recommend-goods-area .item:nth-child(2n+1) .goods{
    border-bottom-color:#46C2C2 ;
}
.recommend-goods-area .item:nth-child(2n+2) .goods{
    border-bottom-color:#DF5E1E ;
}
.recommend-goods-diplay-area .goods .goods-info{
    text-decoration: none;
}
.recommend-goods-diplay-area .recommend-goods-area img{
    max-width: 100%;
    max-height: 240px;
}
.recommend-goods-diplay-area .goods .name{
    margin: 10px 0;
    padding: 0 5px;
    text-align: left;
    white-space:nowrap;
    word-break: break-all;
    word-wrap:break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;
}
.recommend-goods-diplay-area .goods .detail{
    text-align: left;
    position: relative;
    padding: 0 5px;
    height: 26px;
    margin-bottom: 5px;
}
.recommend-goods-diplay-area .goods .detail .price{
    color: #FF5C00;
    font-size: 14px;
    font-weight: bold;
    margin-right: 4px;
}
.recommend-goods-diplay-area .goods .detail .price i{
    font-weight: normal;
    margin-right: 2px;
}
/**标签商品区域样式**/
.label-goods-diplay-area{
    margin: 0 10px;
}
.label-goods-diplay-area .label-name-area{
    border-bottom: 1px solid #EEEEEE;
    padding: 5px 0;
    margin-bottom: 10px;
}
.label-goods-diplay-area .label-name{
    font-size: 14px;
    color: #666;
    font-weight: bold;
}
.label-goods-diplay-area .label-name-area .more{
    float: right;
    color: #999999;
    text-decoration: none;
}
.label-goods-diplay-area .label-name-area .more i{
    margin-left: 2px;
}
.label-goods-diplay-area .label-goods-area{
    text-align: center;
    margin: 0 -5px;
}
.label-goods-diplay-area .item{
    padding: 0;
    margin-bottom: 20px;
}
.label-goods-diplay-area .goods{
    border: 1px solid #f7f7f7;
    margin: 0 5px;
}
.label-goods-diplay-area .item:nth-child(2n+1) .goods{
    border-bottom-color: #6860C4;
}
.label-goods-diplay-area .item:nth-child(2n+2) .goods{
    border-bottom-color: #D6AC32;
}
.label-goods-diplay-area .goods .goods-info{
    text-decoration: none;
}
.label-goods-diplay-area .label-goods-area img{
    max-width: 100%;
    max-height: 240px;
}
.label-goods-diplay-area .goods .name{
    margin: 10px 0;
    padding: 0 5px;
    text-align: left;
    white-space:nowrap;
    word-break: break-all;
    word-wrap:break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333333;
}
.label-goods-diplay-area .goods .detail{
    text-align: left;
    position: relative;
    padding: 0 5px;
    height: 26px;
    margin-bottom: 5px;
}
.label-goods-diplay-area .goods .detail .price{
    color: #FF5C00;
    font-size: 14px;
    font-weight: bold;
    margin-right: 4px;
}
.points-text{
    color: #666;
    font-size: 12px;
}
.label-goods-diplay-area .goods .detail .price i{
    font-weight: normal;
    margin-right: 2px;
}
.label-goods-diplay-area .goods .detail .add-cart{
    position: absolute;
    right: 5px;
    bottom: 5px;
    color: #333;
    width: 40px;
    height: 30px;
    text-align: center;
    cursor: pointer;
}
.label-goods-diplay-area .add-cart i{
    font-size: 24px;
}
.bottom-nav a{
    width: 25%;
}
/**优惠券**/
#content .points-coupon-display-area{
	padding: 0 10px;
	padding-bottom: 10px;
}
#content .couponlist-name-area{
    border-bottom: 1px solid #EEEEEE;
    padding: 5px 0;
    margin-bottom: 10px;
}
#content .couponlist-name-area .couponlist-name {
    font-size: 14px;
    color: #666;
    font-weight: bold;
}
#content .couponlist-name-area .show-more {
    float: right;
    color: #999999;
    text-decoration: none;
}
#content .couponlist-name-area .show-more span:not(.active){
	display:none;
}
#content .coupon-detail{
	text-align: center;
	padding:4px 8px;
}
#content .coupon-detail a{
	text-decoration: none;
}
#content .coupon-detail .coupon-detail-info{
	width:100%;
	position:relative;
}
#content .coupon-detail img{
	background-color:#008080;
	width: 100%;
    float: left;
	display:block;	
}
#content .coupon-detail .img1{
	background-color:#008040;
}
#content .coupon-detail .img2{
	background-color:#ff8000;
}
#content .coupon-detail .img3{
	background-color:#8080c0;
}
#content .coupon-detail .money{
	padding:10px 0;
	position:absolute;
	top:20%;
	left:30%;
	color: #fff;
	font-size:36px;	
}
#content .coupon-detail .money1{
	left:40% !important;
}
#content .coupon-detail .money2{
	left:35% !important;
}
#content .coupon-detail .discount{
	padding:10px 0;
	position:absolute;
	top:20%;
	left:33%;
	color: #fff;
	font-size:36px;	
}
#content .coupon-detail .discount1{
	left:40% !important;
}
#content .coupon-detail .mianfei{
	padding:10px 0;
	position:absolute;
	top:45%;
	left:15%;
	color: #fff;
	font-size:16px;	
}
#content .coupon-detail .coupon-type{
	padding:10px 0;
	position:absolute;
	top:12%;
	height:50px;
	text-align:center;
	left:35%;
	font-size:14px;
	color: #fff;
}
#content .coupon-detail .discount-coupon-type{
	padding:10px 0;
	position:absolute;
	top:15%;
	height:50px;
	text-align:center;
	left:30%;
	font-size:14px;
	color: #fff;
}
#content .points-coupon-display-area .coupon-more {
    margin: 0 auto;
    width: 120px;
    background: #eee;
    margin-bottom: 2px;
}
#content .points-coupon-display-area .coupon-more a:hover{
	background:#abcdef;
	color:red;
	text-decoration:none;
}
#content .points-coupon-display-area .coupon-more a{
	text-align:center;
	display:block;
	padding:3px 4px;
	height:32px;
	line-height:32px;
	text-decoration:none;
}
#content .points-coupon-display-area .detail{
	text-align:left;
	border-bottom:1px solid #8080ff;
	width:100%;
}
#content .points-coupon-display-area .detail .price{
	color: #FF5C00;
    font-size: 14px;
    font-weight: bold;
    margin-right: 4px;
}
#content .points-coupon-display-area .detail .price i{
	font-weight: normal;
}
/******商品列表*******/
.goods-list{
	padding: 10px;
	background: #fff;
}
.goods-list .item{
	padding: 5px;
}
.goods-list .item .goods-content{
	border: 1px solid #CBCBCB;
	/* height: 300px; */
}
.goods-list .item .goods-content img{
	width: 100%;
	height:150px;
}
.goods-list .item .goods-description{
	position: relative;
	width:100%;
}
.goods-desc-content{
	position: absolute;
	width:100%;
	height: 55px;
	background: rgba(255,255,255,0.8);
	z-index: 2;
	top:-55px;
	border-left:1px solid #CBCBCB;
	border-right:1px solid #CBCBCB;
	border-bottom:1px solid #CBCBCB;
	left:0;
	right: 0;
}
.goods-desc-content .goods-title{
	padding:2px 10px 0px 10px;
	font-size: 14px;
	line-height:20px;
	height:25px;
    text-align: left;
	font-weight:400;
}
.goods-desc-content .goods-title span{
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    width: 100%;
    overflow: hidden;
}
.goods-desc-content .goods-price{
	font-size:12px;
	padding:0px 0px 0px 10px;
	line-height:25px;
	height:25px;
	color:#EF0E1E;
}
.goods-desc-content .goods-price a{
	display: inline-block;
    position: absolute;
    color: #EF0E1E;
    height: 100%;
    padding: 2px;
	left:10px;
    text-align: center;
    border-radius: 4px;
    text-decoration: none;
}
.goods-desc-content .goods-buy-now{
	font-size:12px;
	padding:0px 5px;
	line-height:25px;
	height:25px;
	color:#EF0E1E;
}
.goods-desc-content .goods-buy-now a{
    display: inline-block;
    position: absolute;
    background: #E0661D;
    color: #fff;
    height: 100%;
	width:50px;
	right:10px;
    padding: 2px;
    text-align: center;
    border-radius: 4px;
    text-decoration: none;
}
/**下拉框**/
.goods-categorty-list{
	display:none;
	position: relative;
	width: 100%;
	padding: 0px;
}
.cate-list{
	position: absolute;
	z-index: 99;
	top:0;
	letter:0;
	right: 0;
	background:rgba(255,255,255,0.8);
	width: 100%;
	border-bottom: 1px solid #ddd;
}
.table>tbody>tr>td{
	border-top: 0px solid #ddd;
}

/***旋转***/
@-webkit-keyframes rotating{
    from{-webkit-transform:rotate(0deg)}
    to{-webkit-transform:rotate(180deg)}
}
@keyframes rotating{
    from{transform:rotate(0deg)}
    to{transform:rotate(180deg)}
}
@-moz-keyframes rotating{
    from{-moz-transform:rotate(0deg)}
    to{-moz-transform:rotate(180deg)}
}
@-ms-keyframes rotating{
    from{-moz-transform:rotate(0deg)}
    to{-moz-transform:rotate(180deg)}
}
.rotate {
    -webkit-animation: rotating 0.5s linear forwards;
    -moz-animation: rotating 0.5s linear forwards;
    -o-animation: rotating 0.5s linear forwards;
    animation: rotating 0.5s linear forwards;
    
}
#content .goods-banner .cate-icon{
	display:inline-block;
}
@-webkit-keyframes rerotating{
    from{-webkit-transform:rotate(180deg)}
    to{-webkit-transform:rotate(0deg)}
}
@keyframes rerotating{
    from{transform:rotate(180deg)}
    to{transform:rotate(0deg)}
}
@-moz-keyframes rerotating{
    from{-moz-transform:rotate(180deg)}
    to{-moz-transform:rotate(0deg)}
}
@-ms-keyframes rerotating{
    from{-moz-transform:rotate(180deg)}
    to{-moz-transform:rotate(0deg)}
}
.rerotate {
    -webkit-animation: rerotating 0.5s linear forwards;
    -moz-animation: rerotating 0.5s linear forwards;
    -o-animation: rerotating 0.5s linear forwards;
    animation: rerotating 0.5s linear forwards;
    
}

#content .goods-categorty-list .cate-list table{
	width:100%;
	text-align:center;
}
#content .goods-categorty-list .cate-list table tr td{
	height:32px;
	cursor:pointer;
}
#content .goods-categorty-list .cate-list table tr td.active{
	color:#C71804;
	background: rgba(255,255,255,0);
}

#content .goods-list .get-more{
	height:40px;
	text-align:center;
	line-height:40px;
	color:#aaa;
	margin-bottom: 10px;
}
#footer {
    margin-top: 20px;
    padding: 15px 0 55px;
    text-align: center;
    background: #fafafa;
    color: #CCCCCC;
}

.shop-center {
    position: fixed;
    bottom: 70px;
    right: 30px;
    padding: 10px;
    border-radius: 50px;
    height: 50px;
    width: 50px;
    background-color: #777777;
    color: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}
.shop-center img{
    width: 30px;
}
