


/*---------------------------------------------------------------*/

#front_slider {
	background: #f9f9fa;
	padding: 30px 0 10px 0;
}

.carousel-front {

}
.jcarousel-wrapper {
	margin: 0;
	position: relative;
	width: 100%;
}
.jcarousel {
	position: relative;
	overflow: hidden;
}
.jcarousel ul {
	width: 20000em;
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
}
.jcarousel li {
	float: left;
	height: 451px;
}
.jcarousel li a {
	display: flex;
	align-items: center;
	flex-direction: row;
}
.jcarousel-pagination {
	text-align: center;
	position: relative;
	bottom: 40px;
}
.jcarousel-pagination a {
	background-color: inherit;
	border: 1px solid #000;
	border-radius: 100%;
	display: inline-block;
	height: 10px;
	margin-right: 4px;
	overflow: hidden;
	text-decoration: none;
	text-indent: -99px;
	width: 10px;
}
.jcarousel-pagination a:hover,
.jcarousel-pagination a.active {
	background-color: #000;
}

/*---------------------------------------------------------------*/

#front_product_grid {
	margin: 50px 0;
}

#front_product_grid .front_grid_tabs {
	display: inline-flex;
	flex-direction: row;
	margin: 0 0 30px 0;
}

#front_product_grid .front_grid_tabs button {
	list-style: none;
	cursor: pointer;
	color: #e69c00;
	border-bottom: 2px solid #fff;
	background: transparent;
	border-radius: 0;
	border-top:0;
	border-left:0;
	border-right:0;
	font-size: 16px;
	line-height: 20px;
	text-transform: none;
	padding: 0 0 5px 0;
	font-weight: 700;
	margin: 0 29px 0 0;
}

#front_product_grid .front_grid_tabs button:hover {
	color: #222;
}

#front_product_grid .front_grid_tabs button.active {
	border-bottom-color: #d8ae46;
	color: #222;
}

#front_product_grid #block-front-grid-block-1 {
	display: block;
}

#front_product_grid .view-content .views-row {
	width: 20%;
	max-width: 20%;
}

/*---------------------------------------------------------------*/

@media only screen and (max-width: 550px),
only screen and (max-device-width: 550px) {
	#block-certificate .view-content,
	#block-top-category .view-content {
		flex-wrap: wrap;
	}

	#block-certificate .view-content .views-row,
	#block-top-category .views-row {
		flex: 0 0 50%;
		max-width: 50%;
		width: 50%;
		margin: 0 auto 20px auto !important;
	}


	#block-new-product .views-row,
	#block-month-product .views-row,
	#block-actions .views-row {
		max-width: 100%;
		flex: 100%;
	}

	#front_product_grid .front_grid_tabs {
		width: 100%;
		flex-direction: column;
	}

	#front_product_grid .front_grid_tabs button {
		width: 100%;
		margin: 0;
	}

	#front_product_grid .view-content .views-row {
		width: 50%;
		max-width: 50%;
	}

	.grid_bottom {
		visibility: visible;
	}

	.jcarousel li {
		height: auto;
	}

}