@charset "utf-8";
* {
	margin: 0;
	padding: 0;
}
body{font-family: "microsoft yahei";}

ul {
	list-style: none;
}
/*********************************字体图标 BEGIN******************************************************/
@font-face {
	font-family: 'iconfont';  /* project id："187779" */
	src: url('http://at.alicdn.com/t/font_gpsu7tr5nc9885mi.eot');
	src: url('http://at.alicdn.com/t/font_gpsu7tr5nc9885mi.eot?#iefix') format('embedded-opentype'),
	url('http://at.alicdn.com/t/font_gpsu7tr5nc9885mi.woff') format('woff'),
	url('http://at.alicdn.com/t/font_gpsu7tr5nc9885mi.ttf') format('truetype'),
	url('http://at.alicdn.com/t/font_gpsu7tr5nc9885mi.svg#iconfont') format('svg');
}
.iconfont {
	font-family:"iconfont" !important;
	font-size:16px;
	font-style:normal;
	-webkit-font-smoothing: antialiased;
	-webkit-text-stroke-width: 0.2px;
	-moz-osx-font-smoothing: grayscale;
}
/*********************************字体图标 END******************************************************/
.tab--card {
	width: 270px;
	height: 600px;
	overflow: hidden;
	margin:0 auto;
}
.tab--card--header {
	overflow: hidden;
	position: relative;
	background: #ECECEC;
	height:45px;
	line-height: 45px;
	border-bottom:1px solid #DCDCDC;
}
.tab--card--header .sanjiao {
	display: block;
	position: absolute;
	border-top:10px solid transparent;
	border-left:10px solid transparent;
	border-right:10px solid transparent;
	border-bottom:10px solid #fff;
	bottom: 0;
	left: 10%;
	-webkit-transition: left 0.3s ease;
	-moz-transition: left 0.3s ease;
	-ms-transition: left 0.3s ease;
	-o-transition: left 0.3s ease;
	transition: left 0.3s ease;
}
.tab--card--header--item {
	float: left;
	text-align: center;
	width: 20%;
	height: 45px;
	cursor: pointer;
}
.tab--card--header--item.active{
	width:40%;
	-webkit-transition: width ease 0.3s;
	-moz-transition: width ease 0.3s ;
	-ms-transition: width ease 0.3s ;
	-o-transition: width ease 0.3s ;
	transition: width ease 0.3s ;
}

.tab--card--content {
	position: relative;
	height: 100%;
}
.tab--card--content--item {
	position: absolute;
	width: 100%;
	height: 555px;
	left: 0;
	top: 0;
}
.tab--card--header--item .icon-item{
	font-size:22px;
	color:#C1C1C1;
	position:relative;
}
.tab--card--header--item.active .icon-item{
	-webkit-transition: color ease 0.3s;
	-moz-transition: color ease 0.3s ;
	-ms-transition: color ease 0.3s ;
	-o-transition: color ease 0.3s ;
	transition: color ease 0.3s ;
}

.tab--card--header--item .iconbox .count{
	position:absolute;
	width:18px;
	height:18px;
	background:#f36a5a;
	color:#fff;
	line-height:18px;
	font-size:12px;
	right:-9px;
	top:-5px;
	border-radius: 50%;
	opacity: 1;
	-webkit-transition:opacity 0.6s ease;
	-moz-transition:opacity 0.6s ease;
	-ms-transition:opacity 0.6s ease;
	-o-transition:opacity 0.6s ease;
	transition:opacity 0.6s ease;
}
.tab--card--header--item.active .iconbox .count{
	opacity: 0;
	-webkit-transition:opacity 0.3s ease;
	-moz-transition:opacity 0.3s ease;
	-ms-transition:opacity 0.3s ease;
	-o-transition:opacity 0.3s ease;
	transition:opacity 0.3s ease;
}
.tab--card--header--item span.text{
	opacity: 0;
	margin-left:-5px;
	font-size:12px;
	width:70px;
}
.tab--card--header--item.active span.text {
	opacity: 1;
	-webkit-transition:all 0.3s ease;
	-moz-transition:all 0.3s ease;
	-ms-transition:all 0.3s ease;
	-o-transition:all 0.3s ease;
	transition:all 0.3s ease;

}
.tab--card--header--item .iconbox{
	width:35px;
	float:left;
}
.tab--card--header--item:nth-child(1).active span.text,.tab--card--header--item:nth-child(1).active .icon-item{
	color:#43bdc8;
}
.tab--card--header--item:nth-child(2).active span.text,.tab--card--header--item:nth-child(2).active .icon-item{
	color:#f36a5a;
}
.tab--card--header--item:nth-child(3).active span.text,.tab--card--header--item:nth-child(3).active .icon-item{
	color:#51c332;
}
.tab--card--header--item:nth-child(4).active span.text,.tab--card--header--item:nth-child(4).active .icon-item{
	color:#ff8140;
}

.tab--card--content--item:nth-child(1) {
	background: url("../img/shop-cart1.jpg") no-repeat center center;
	z-index: 44;
	background-size: cover;
}
.tab--card--content--item:nth-child(2) {
	background: url("../img/shop-cart2.jpg") no-repeat center center;
	z-index: 33;
}
.tab--card--content--item:nth-child(3) {
	background: url("../img/shop-cart3.jpg") no-repeat center center;
	z-index: 22;
}
.tab--card--content--item:nth-child(4) {
	background: url("../img/shop-cart4.jpg") no-repeat center center;
	z-index: 11;
}