img{max-width: 100%;}
.wrap:before {
	content: " ";
	display: table;
}

.wrap, .woocommerce .products ul, .woocommerce ul.products {
	margin: 0 auto;
	max-width: 1000px;
}

#woocommerce{margin: 0 auto 60px}

.mobile{display: none;}

/* ## Column Classes
--------------------------------------------- */
/* Link: http://twitter.github.io/bootstrap/assets/css/bootstrap-responsive.css */

.five-sixths,
.four-sixths,
.one-fourth,
.one-half,
.one-sixth, 
.one-third,
.three-fourths,
.three-sixths,
.two-fourths,
.two-sixths,
.two-thirds {
	float: left;
	margin-left: 2.564102564102564%;
}

.one-half,
.three-sixths,
.two-fourths {
	width: 48.717948717948715%;
}

.one-third,
.two-sixths {
	width: 31.623931623931625%;
}

.four-sixths,
.two-thirds {
	width: 65.81196581196582%;
}

.one-fourth {
	width: 23.076923076923077%;
}

.three-fourths {
	width: 74.35897435897436%;
}

.one-sixth {
	width: 14.52991452991453%;
}

.five-sixths {
	width: 82.90598290598291%;
}

.first {
	clear: both;
	margin-left: 0;
}


@media only screen and (max-width: 1200px) {
	.wrap {max-width: 800px;}
	.asset {    margin: 0 auto;    width: 233px;	height: 233px;}
	.portfolio-item{margin: 3.1%;}

}

@media only screen and (max-width: 976px) {
	#page article {position: relative; top: 20%; bottom: 0;}
	.wrap {max-width: 700px;}
	.asset {    margin: 0 auto;    width: 204px;	height: 204px;}
	.portfolio-item{margin: 3.1%;}	

}

@media only screen and (max-width: 816px) {
	
	.portfolio-item:nth-child(3n+1){float: left;clear: none;}
	.portfolio-item:nth-child(2n+1){clear: both;}
	.portfolio-item:nth-child(odd) {margin-left: 0;margin-right: 3.2%;}
	.portfolio-item:nth-child(even) {margin-left:3.2%; margin-right: 0;}
	.wrap {max-width: 540px;}
	.asset{ width: 252px; height: 252px;}
	
}

@media only screen and (max-width: 667px) {
	.woocommerce div.product div.summary { margin: 136px auto 0;}
	.woocommerce.single-product .wc-proceed-to-checkout a.checkout-button { margin: 37px 0 40px;}
	#page article {position: relative; top: 0%; bottom: 0;    margin-bottom: 60px;    padding-bottom: 90px;}
	body header {    padding: 40px 0 100px;}
	.site-title, .page-title, .fancybox-caption, main#frontpage nav, #contact p{font-size: 15px;}
	.menu{margin: 0;padding: 0 21px;}
	main#frontpage nav ul li:nth-child(2) { padding: 0 7%;}
	main#frontpage h1{font-size: 58px;}
	.wrap {max-width: 300px;padding: 0 20px;}
	.single-product .description{padding: 0 20px;}
	.page-title li {	display: block;}
	.preview .asset{width: 80vw; margin: 0 auto 30px;}
	.preview .asset + .clear{height: 90px;}
	.portfolio-item{width: 100%; clear: both !important; margin: 6% 0 !important;}
	.asset{    width: 300px; height: 300px; margin: 0 auto; display: block;}
	.asset img{ width: auto; height: 100%;}
	.close{bottom: -77px;right: 19px;}
	.site-title, .page-title { }
	.woocommerce ul.products li.product:hover .buy_hover, th.product-subtotal, 
	.woocommerce-page table.shop_table_responsive tr td.product-subtotal::before, 
	.woocommerce-page table.shop_table_responsive tr td.product-name::before{display: none}
	td.product-name, td.product-subtotal, td.product-remove{display: inline-block !important;
    width: auto;}
.woocommerce table.shop_table_responsive tr:nth-child(2n) td, .woocommerce-page table.shop_table_responsive tr:nth-child(2n) td{background:transparent;}
	td.product-name{max-width: 120px;width: 120px;}
	.woocommerce table.shop_table_responsive tr td.product-name, .woocommerce-page table.shop_table_responsive tr td.product-name{text-align: left !important;}
	td.product-subtotal{ text-align: right;}
	td.product-remove{clear: both; padding: 0 !important;    float: right;}

	#back-to-top{margin-bottom: 90px;}


	.woocommerce ul.products li.product a img {  margin: 0 auto 10px;   width: auto;    height: auto;}
	.woocommerce ul.products li.product:nth-child(2n), .woocommerce-page ul.products li.product:nth-child(2n), .woocommerce-page[class*=columns-] ul.products li.product:nth-child(2n), .woocommerce[class*=columns-] ul.products li.product:nth-child(2n), .woocommerce ul.products li.product, .woocommerce-page ul.products li.product {    float: none;    margin: 0 auto 80px;    padding: 0;    position: relative;    width: 100%; height: auto;background: transparent;}
	.woocommerce-cart-form, .woocommerce .cart-collaterals, .woocommerce-page .cart-collaterals {width: 100%;}

	.unslider{display: none;}
	.mobile{display: block;list-style:none;}
	.mobile.bck div{    height: 100vh;overflow: hidden !important;list-style: none;    background-size: cover; background-position: center center;}
	main#frontpage h1{    top: -9px;position: relative;}
	
}
@media only screen and (max-width: 320px) {
	.preview .asset {width: 90vw; margin: 0 auto 20px;}
	.asset{ width: 280px; height: 280px;}
	.page{padding: 0 20px;}
	.home{padding: 0 0px;}
	.wrap {max-width: 300px;padding: 0 0px;}
	.woocommerce div.product div.summary { margin: 136px auto 0;}
	.woocommerce.single-product .wc-proceed-to-checkout a.checkout-button { margin: 20px auto 20px;    width: 160px; padding: 20px 50px}
	.wc-proceed-to-checkout {margin-top: 0 }
}

@media only screen and (max-height: 900px) {
	.woocommerce.single-product .wc-proceed-to-checkout a.checkout-button {
		 padding: 20px 80px;
		 margin: 10px 0 10px;
	}
	.woocommerce div.product div.summary{padding-top: 140px;}
}