

/* PRODUCT LIST */
.productlistBlock:after {
	content: '';
	display: block;
	clear: both;
}
.productlistBlock {
	padding: 80px 0 100px;
	margin-left: -15px;
	margin-right: -15px;
	padding-left: 15px;
	padding-right: 15px;
	background: #F5F5F5;
}

.productBox {
	font-size: 13px;
	width: 212px;
	float: left;
	margin-bottom: 30px;
}
.productBox .productImg {
	width: 212px;
	height: 190px;
	overflow: hidden;
	margin-bottom: 14px;
	background: #fff;
	border: solid 1px #E6E6E6;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;
}

.productBox p {
	font-weight: bold;
}
@media (min-width: 1200px) {
	main.container .productlistBlock .row {
		width: 1140px;
	}
	.productBox:not(:nth-child(5n)) {
		margin-right: 20px;
	}
	.productBox .productImg img {
		max-width: 212px;
		max-height: 190px;
	}
}
@media (min-width: 992px) {
	main.container .productlistBlock .row {
		margin-left: auto;
		margin-right: auto;
	}
	.productBox {
		width: 18.8%;
		margin-bottom: 15px;
	}
	.productBox:not(:nth-child(5n)) {
		margin-right: 1.5%;
	}
	.productBox:nth-child(5n+1) {
		clear: both;
	}
	.productBox .productImg {
		width: auto;
		margin-bottom: 10px;
	}
	
}
@media (max-width: 991px) {
	.productlistBlock {
		padding-top: 40px;
		padding-bottom: 50px;
	}
	main.container .productlistBlock .row {
		margin-left: 0;
		margin-right: 0;
	}
	.productBox {
		width: 23.5%;
		margin-bottom: 15px;
	}
	.productBox:not(:nth-child(4n)) {
		margin-right: 2%;
	}
	.productBox:nth-child(4n+1) {
		clear: both;
	}
	.productBox .productImg {
		width: auto;
		height: 160px;
		margin-bottom: 10px;
	}
	.productBox .productImg img {
		max-width: 100%;
		max-height: 158px;
	}
}
@media (max-width: 767px) {
	/* category search */
	.productBox {
		width: 49%;
	}
	.productBox:not(:nth-child(4n)) {
		margin-right: 0;
	}
	.productBox:not(:nth-child(2n)) {
		margin-right: 2%;
	}
	
	/* PRODUCT LIST */
	.productBox .productImg {
		height: 220px;
	}
	.productBox .productImg img {
		max-height: 218px;
	}
}
@media screen and (max-width: 479px) {
	/* PRODUCT LIST */
	.productBox .productImg {
		height: 160px;
	}
	.productBox .productImg img {
		max-height: 158px;
	}
}


/* PRODUCT LIST */
.productBlock:after {
	content: '';
	display: block;
	clear: both;
}
.productBlock {
	padding: 0 0 70px;
	margin-left: -15px;
	margin-right: -15px;
	padding-left: 15px;
	padding-right: 15px;
	background: #F5F5F5;
}
.product-title {
	margin-bottom: 45px;
}
.productBlock h1 {
	margin-bottom: 10px;
}

.productImgBox {
	height: 900px;
	overflow: hidden;
	background: #fff;
	border: solid 1px #E6E6E6;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;
}
.productBlock .horizontal-margin + .btn-purple {
	margin-top: 115px;
}
@media (min-width: 1201px) {
	main.container .productBlock .row {
		width: 1000px;
	}
}
@media (min-width: 992px) {
	main.container .productBlock .row {
		margin-left: auto;
		margin-right: auto;
	}
}
@media (max-width: 991px) {
	.productBlock {
		padding: 0 15px 50px;
	}
	main.container .productBlock .row {
		margin-left: 0;
		margin-right: 0;
	}
	.product-title {
		margin-bottom: 30px;
	}
	.productImgBox {
		width: auto;
		height: 700px;
	}
	.productImgBox img {
		max-width: 100%;
		max-height: 100%;
	}
	.productBlock .horizontal-margin + .btn-purple {
		margin-top: 50px;
	}
}
@media (max-width: 767px) {
	.productImgBox {
		height: 500px;
	}
}
@media screen and (max-width: 479px) {
	.productImgBox {
		height: 300px;
	}
}

/* modal */
.modal-wrapper {
	display: block;
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,.6);
	z-index: 100000;
	top: 0;
	left: 0;
}
.modal-layer {
	width: 100%;
	height: 100%;
	cursor: pointer;
}
.modal {
	display: block;
	position: absolute;
	top: 0;
	/*bottom: 10px;*/
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	width: 90%;
	width: -webkit-calc(100% - 40px);
	width: calc(100% -20px);
	height: 185px;
	height: calc(100% -20px);
	-webkit-overflow-scrolling: touch;
	overflow-y: hidden;
	background-color: #fff;
	border-radius: 10px;
	padding: 20px;
	opacity: 0;
}

.modal-btns:before,
.modal-btns:after {
	content: '';
	display: table;
}
.modal-btns:after {
	clear: both;
}
.modal-btns {
	margin-top: 25px;
}
.modal-btns button:first-child {
	margin-right: 10px;
}
.modal-btns {
	text-align: center;
}
.btn-modal {
	background: linear-gradient(#5C3A93, #4A1E76);
	border: 1px solid #4A1E76;
	font-size: 20px;
	font-weight: bold;
	line-height: 1.2;
	color: #fff;
	min-width: 80%;
	padding: 13px 15px;
	text-align: center;
	display: inline-block;
	text-decoration: none;
}
.btn-modal:hover, .btn-modal:focus {
	outline: none;
    background: #5C3A93;
}
.search-modal-text {
	font-size: 12px;
}

@media (min-width: 768px) {
	.modal-wrapper {
		padding: 0px;
	}
	.modal {
		width: 450px;
		height: 225px;
		padding: 40px;
	}
	.search-modal-text {
		font-size: 14px;
	}
}
