/* Default tab style */

@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: 'stroke7pixeden';
	src: url('../fonts/stroke7pixeden/stroke7pixeden.eot?u58ytb');
	src: url('../fonts/stroke7pixeden/stroke7pixeden.eot?#iefixu58ytb') format('embedded-opentype'),
		url('../fonts/stroke7pixeden/stroke7pixeden.woff?u58ytb') format('woff'),
		url('../fonts/stroke7pixeden/stroke7pixeden.ttf?u58ytb') format('truetype'),
		url('../fonts/stroke7pixeden/stroke7pixeden.svg?u58ytb#stroke7pixeden') format('svg');
}

.tabs {
	position: relative;
	overflow: hidden;
	margin: 0 auto;
	width: 100%;
	font-weight: 300;
	font-size: 1.25em;
	display: flex;
}

/* Nav */
.tabs nav {
	text-align: center;
	width: 25%;
}

.tabs nav ul {
	position: relative;
	display: -ms-flexbox;
	/* display: -webkit-flex; */
	display: -moz-flex;
	display: -ms-flex;
	/* display: flex; */
	margin: 0 auto;
	padding: 0;
	list-style: none;
	-ms-box-orient: horizontal;
	-ms-box-pack: center;
	-webkit-flex-flow: row wrap;
	-moz-flex-flow: row wrap;
	-ms-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-justify-content: center;
	-moz-justify-content: center;
	-ms-justify-content: center;
	justify-content: center;
	background: #fff;
}

.tabs-style-bar nav ul {
	min-height: 0 !important;
	padding-bottom: 20px !important;
}

.tabs nav ul li {
	position: relative;
	z-index: 1;
	display: block;
	margin: 0;
	text-align: left;
	-webkit-flex: 1;
	-moz-flex: 1;
	-ms-flex: 1;
	flex: 1;
}

.tabs nav a {
	position: relative;
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	line-height: 2.4;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.6em 0 !important;
	position: relative;
}

.tabs nav a img {
	width: 10px;
	display: block;
	margin-right: 0.8em;
}

.tabs nav a span {
	vertical-align: middle;
	font-size: 0.75em;
	margin-left: 2em !important;
}

.tabs nav li.tab-current a {
	color: #74777b;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
}

.tabs nav li.tab-current a img {
	width: 10px;
	display: block;
}

.tabs nav a:focus {
	outline: none;
}

/* Content */
.content-wrap {
	position: relative;
	flex: 1;
}

.content-wrap section {
	display: none;
	margin: 0 auto;
	padding-left: 1em;
	text-align: center;
}

.content-wrap section .product_list {
	display: flex;
	flex-wrap: wrap;
}

.content-wrap section .product_list .product_item {
	flex: 0 0 calc(33.3% - 1.57em);
	margin-right: 1em;
	transition: all 0.3s;
	background: #fff;
	padding: 0.4em;
	border: 1px solid #f3f3f3;
}
.content-wrap section .product_list .product_item:hover {
    border: 1px solid #2a72d8;
}
.content-wrap section .product_list .product_item:nth-child(3n) {
	margin-right: 0;
}

.content-wrap section .product_list .product_item a {
	display: block;
}

.content-wrap section .product_list .product_item a img {
	width: 100%;
	height: 275px;
	display: block;
	-o-object-fit: cover;
    object-fit: cover;
}

.content-wrap section .product_list .product_item a .product_item_info_box .product_title {
	font-size: .9em;
	/* 超出显示省略号 */
	overflow: hidden;
	/* 三行显示省略号 */
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	padding: 0.5em 0.5em 0.1em 0.5em;
	line-height: 2em;
	color: #000;
	font-weight: bold;
}

.content-wrap section .product_list .product_item a .product_item_info_box .product_title:hover {
    color: #2973d4;
}

.content-wrap section .product_list .product_item a .product_item_info_box .product_detail {
	background: #f5f5f5;
	padding: 0.8em 0;
	color: #2a72d8;
	transition: all 0.3s;
	font-size: 0.8em;
}

.content-wrap section .product_list .product_item:hover a .product_detail {
	background: #c1dbff;
}

.content-wrap section.content-current {
	display: block;
	height: 100%;
}

.content-wrap section p {
	margin: 0;
	padding: 0.75em 0;
	color: rgba(40, 44, 42, 0.05);
	font-weight: 900;
	font-size: 4em;
	line-height: 1;
}

/* Fallback */
.no-js .content-wrap section {
	display: block;
	padding-bottom: 2em;
	border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.no-flexbox nav ul {
	display: block;
}

.no-flexbox nav ul li {
	min-width: 15%;
	display: inline-block;
}

@media screen and (max-width: 820px) {
	.tabs nav {
		width: 100%;
	}

	.tabs nav li.tab-current a,
	.tabs-style-bar nav ul li a {
		text-align: center;
		display: block;
	}

	.tabs nav li.tab-current a img,
	.tabs nav a img {
		display: none;
		position: absolute;
		left: 0;
		top: 0;
	}

	.tabs nav a {
		padding: 0 10px !important;
	}

	.tabs nav ul {
		display: -webkit-flex;
		display: flex;
	}

	.tabs-style-bar nav ul {
		min-height: 0 !important;
		padding-bottom: 0 !important;
	}

	.tabs nav ul .product_title_pic {
		display: none;
	}

	.content-wrap section .product_list {
		flex-direction: column;
	}

	.content-wrap section .product_list .product_item {
		margin-right: 0;
		margin-top: 0.5em;
	}

	.content-wrap section .product_list .product_item:first-child {
		margin-top: 0;
	}

	.content-wrap section {
		padding: 0.5em 0 0;
	}

	.content-wrap section .product_list .product_item a {
		display: flex;
		align-items: center;
	}

	.content-wrap section .product_list .product_item a img {
		width: 110px;
		height: 110px;
		display: block;
	}

	.content-wrap section .product_list .product_item a .product_item_info_box {
		margin-left: 8px;
		flex: 1;
	}

	.tabs-style-bar nav ul li a {
		text-align: center;
	}

	.tabs-style-bar nav ul li a span {
		margin-left: 0 !important;
	}

	.pages_container .product_box .product_cate_section .product_more .my_container .product_box .product_cate_section .product_more {
		bottom: -3.5em;
		left: 50%;
		transform: translateX(-50%);
		color: #2c71d6;
		border: 1px solid #2c71d6;
		padding: 8px 30px;
		display: block;
		margin: 0 auto;
		border-radius: 26px;
		transition: all 0.3s;
	}

	.tabs-style-bar nav ul li.tab-current a::before {
		height: 8px !important;
		width: 100% !important;
	}

	.tabs {
		flex-direction: column;
	}
}

@media screen and (max-width: 58em) {
	.tabs nav a.icon span {
		/* display: none; */
	}

	.tabs nav a:before {
		margin-right: 0;
	}
}
