/* 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;
}

.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;
}

.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: 4;
}

.tabs nav a span {
	vertical-align: middle;
	font-size: 0.75em;
}

.tabs nav li.tab-current a {
	color: #74777b;
}

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

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

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

.content-wrap section .product_list {
	display: flex;
	flex-wrap: wrap;
	min-height: 372px;
}

.content-wrap section .product_list .product_item {
	flex: 0 0 30%;
	padding: 1%;
	transition: all 0.3s;
    background-color: #f3f3f3;
    margin-right: 2%;
}

.content-wrap section .product_list .product_item:nth-child(3n) {
	margin-right: 0;
}

.content-wrap section .product_list .product_item:hover {
    background: #fff;
}

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

.content-wrap section .product_list .product_item a img {
	width: 100%;
	height: 340px;
	display: block;
	-o-object-fit: cover;
    object-fit: cover;
    transition: all 0.3s ease-in-out;
}

.content-wrap section .product_list .product_item a img:hover {
    transform: scale(1.05);
    transition: all 0.3s ease-in-out;
}

.content-wrap section .product_list .product_item a .product_item_info_box {
	padding: 0 0.5em 0.5em 0.5em;
}

.content-wrap section .product_list .product_item a .product_item_info_box .product_title {
	font-size: 1em;
	/* 超出显示省略号 */
	overflow: hidden;
	/* 三行显示省略号 */
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-height: 2em;
	color: #000000;
	text-align: center;
	font-weight: normal;
	padding: 20px 0px;
}

.content-wrap section .product_list .product_item a .product_item_info_box .product_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    border: 1px solid #000;
    padding: 14px 0px;
    font-size: 20px;
    transition: all 0.3s;
    margin: 0px 40px;
}

.content-wrap section .product_list .product_item a .product_item_info_box .product_btn:hover {
    color: #fff;
    border: 1px solid #fff;
    background: #000;
}

.content-wrap section .product_list .product_item a .product_item_info_box .product_btn img {
    width: 16px;
    height: 16px;
    margin-left: 10px;
}
.content-wrap section .product_list .product_item a .product_item_info_box .product_btn:hover img {
    transition: all 0.3s;
    filter: brightness(0) invert(1);
}

.content-wrap section .product_list .product_item a .product_item_info_box .product_detail {
	color: #989898;
	transition: all 0.3s;
	margin: 0.3em 0 0 0;
	font-size: 0.9em;
	text-align: left;
	overflow: hidden;
	/* 三行显示省略号 */
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	height: 42px;
	line-height: 21px;
}

/*.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 ul {
		display: -webkit-flex;
		display: flex;
	}
    .tabs-style-bar nav {
        margin-right: 0 !important;
    }
	.tabs-style-bar nav ul {
		min-height: 0 !important;
		padding-bottom: 0 !important;
	}

    .my_container .product_box .product_cate_section .tabs nav ul .product_title_pic {
        position: relative;
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: auto;
        margin-left: 0em;
        margin-bottom: 20px;
    }
    
    .my_container .product_box .product_cate_section .tabs nav ul .product_title_pic h2 {
        font-size: 32px;
    }
    
    .my_container .product_box .product_cate_section .tabs nav ul .product_title_pic h2:after {
        display: none;
    }
    
    .product_box .pt_120 {
        padding-top: 40px;
    }
    
	.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;
	}

	.content-wrap section .product_list .product_item a {
		display: flex;
		align-items: center;
		padding: 10px;
	}
	
    .content-wrap section .product_list .product_item a .product_item_info_box {
        padding: 0;
    }
    
	.content-wrap section .product_list .product_item a img {
		width: 100px;
		height: 100px;
		display: block;
	}
	
	.content-wrap section .product_list .product_item a .product_item_info_box .product_btn {
        border: 1px solid #000;
        padding: 8px 0px;
        font-size: 14px;
        transition: all 0.3s;
        margin: 0px 30px;
    }
	.content-wrap section .product_list .product_item a .product_item_info_box .product_btn img {
        width: 8px !important;
        height: 8px !important;
    }

	.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;
	}
}