/* WOOCOMMERCE CSS FIXES */

/* Classic skin fixes */
.post_box.products_main_loop,#reviews #comments {border-top:0;}
.product.post_box h2 {margin-bottom:1.6em;}
.product.post_box .images .thumbnails > a {margin-bottom:1em;}

/* general */

/* product offers */
.summary div[itemprop="offers"] {
	margin: 1em auto;
}

/* term description */
div.term-description:after {
	content: ".";
	clear: both;
	display: block;
	float: none;
	height: 0;
	visibility: hidden;
	width: auto;
}

/* popups */
.woocommerce .ppt,
.woocommerce .pp_content,
.woocommerce .pp_hoverContainer {
	max-width: 100%;
}
.woocommerce .pp_pic_holder.pp_woocommerce {
	max-width: 96%;
}
/* products list top margin */
.woocommerce .products_main_loop ul.products,.woocommerce-page .products_main_loop ul.products {
	clear: both;
	padding-top: 1em;
}

.woocommerce div.product div.images img, 
.woocommerce-page div.product div.images img, 
.woocommerce #content div.product div.images img, 
.woocommerce-page #content div.product div.images img {
	margin-left: auto;
	margin-right: auto;
	max-width:100%;
	width:auto;
}
.woocommerce ul.products li.product a img, 
.woocommerce-page ul.products li.product a img,
.woocommerce .related ul.products li.product img, 
.woocommerce-page .related ul.products li.product img, 
.woocommerce .upsells.products ul.products li.product img, 
.woocommerce-page .upsells.products ul.products li.product img, 
.woocommerce .related ul li.product img, 
.woocommerce-page .related ul li.product img, 
.woocommerce .upsells.products ul li.product img, 
.woocommerce-page .upsells.products ul li.product img {
	max-width:100%;
	width:auto;
}
.woocommerce .summary .product_meta > span {
	clear: both;
	display: block;
	width:auto;
}
.woocommerce .cart-collaterals table {
	width: 100%;
}
.woocommerce .summary table.variations th, 
.woocommerce .summary table.variations td,
.woocommerce table.shop_table th, 
.woocommerce table.shop_table td,
.woocommerce table.shop_attributes th, 
.woocommerce table.shop_attributes td,
.woocommerce .cart-collaterals table th, 
.woocommerce .cart-collaterals table td {
	border-width: 0 0 0 0;
}

.woocommerce a.button, 
.woocommerce-page a.button, 
.woocommerce button.button, 
.woocommerce-page button.button, 
.woocommerce input.button, 
.woocommerce-page input.button, 
.woocommerce #respond input#submit, 
.woocommerce-page #respond input#submit, 
.woocommerce #content input.button, 
.woocommerce-page #content input.button {
	padding:6px 8px;
}
.woocommerce .products_main_loop a.added_to_cart, 
.woocommerce-page .products_main_loop a.added_to_cart {
	clear: both;
	display: block;
	float: none;
	text-align: center;
	width: 100%;
	white-space: word-wrap;
}
/* cart */
.woocommerce table.shop_table.cart,
.woocommerce-page table.shop_table.cart {
	text-align: center;
}
.woocommerce table.shop_table.cart td.product-name a,
.woocommerce-page table.shop_table.cart td.product-name a {
	text-decoration: none;
}
/* checkout */
.woocommerce .col2-set .col-1, 
.woocommerce-page .col2-set .col-1,
.woocommerce .col2-set .col-2, 
.woocommerce-page .col2-set .col-2 {
	padding-top: 1.62em;
	margin-bottom: 1.5em;
}
.woocommerce .checkout .col-1 h3, 
.woocommerce-page .checkout .col-1 h3,
.woocommerce .checkout .col-2 h3, 
.woocommerce-page .checkout .col-2 h3,
.woocommerce .checkout h3#order_review_heading,
.woocommerce-page .checkout h3#order_review_heading {
	font-size: 18px;
	line-height: 32px;
	margin-bottom: 1em;
	margin-top: 0;
}
.woocommerce .checkout #shiptobilling, 
.woocommerce-page .checkout #shiptobilling {
	margin-top: -1.62em;
}

/* Responsive design fixes */
/* small monitors */
@media only screen and (max-width: 979px) {
	/* tabs on singular product */
	.woocommerce div.product .woocommerce-tabs ul.tabs, 
	.woocommerce #content div.product .woocommerce-tabs ul.tabs, 
	.woocommerce-page div.product .woocommerce-tabs ul.tabs, 
	.woocommerce-page #content div.product .woocommerce-tabs ul.tabs {
		padding-left: 0;
		border-width:0;
	}
	.woocommerce div.product .woocommerce-tabs ul.tabs li, 
	.woocommerce #content div.product .woocommerce-tabs ul.tabs li, 
	.woocommerce-page div.product .woocommerce-tabs ul.tabs li, 
	.woocommerce-page #content div.product .woocommerce-tabs ul.tabs li {
		clear:both;
		display: block;
		float: none;
		margin:0 0 0 0;
		text-align:center;
		-webkit-border-bottom-left-radius: 2px;
		-webkit-border-bottom-right-radius: 2px;
		-moz-border-radius-bottomleft: 2px;
		-moz-border-radius-bottomright: 2px;
		-webkit-border-top-left-radius: 2px;
		-webkit-border-top-right-radius: 2px;
		-moz-border-radius-topleft: 2px;
		-moz-border-radius-topright: 2px;
		border-top-left-radius: 2px;
		border-top-right-radius: 2px;
		border-bottom-left-radius: 2px;
		border-bottom-right-radius: 2px;
		box-shadow: none;
	}
	.woocommerce div.product .woocommerce-tabs ul.tabs li:before, 
	.woocommerce div.product .woocommerce-tabs ul.tabs li:after, 
	.woocommerce #content div.product .woocommerce-tabs ul.tabs li:before, 
	.woocommerce #content div.product .woocommerce-tabs ul.tabs li:after, 
	.woocommerce-page div.product .woocommerce-tabs ul.tabs li:before, 
	.woocommerce-page div.product .woocommerce-tabs ul.tabs li:after, 
	.woocommerce-page #content div.product .woocommerce-tabs ul.tabs li:before, 
	.woocommerce-page #content div.product .woocommerce-tabs ul.tabs li:after {
		display:none;
		height:0;
		visibility:hidden;
	}
	/* cart */
	.woocommerce table.shop_table.cart th,
	.woocommerce-page table.shop_table.cart th {
		font-size: 14px;
		line-height: 1.657em;
	}
	.woocommerce table.cart td.actions div.coupon,
	.woocommerce #content table.cart td.actions div.coupon,
	.woocommerce-page table.cart td.actions div.coupon,
	.woocommerce-page #content table.cart td.actions div.coupon {
		clear: both;
		display: block;
		float: none;
		margin-bottom: 1em;
	}
	.woocommerce table.cart td.actions div.coupon .input-text,
	.woocommerce #content table.cart td.actions div.coupon .input-text,
	.woocommerce-page table.cart td.actions div.coupon .input-text,
	.woocommerce-page #content table.cart td.actions div.coupon .input-text {
		min-width: 46%;
		max-width: 46%;
		padding-left: 2%;
		padding-right: 2%;
	}
}
/* pads */
@media only screen and (max-width: 767px) {
	/* product additional information */
	.woocommerce table.shop_attributes th,
	.woocommerce-page table.shop_attributes th {
		max-width: 43%;
		text-align: left;
	}
	/* cart */
	.woocommerce .cart-collaterals .cart_totals,
	.woocommerce-page .cart-collaterals .cart_totals,
	.woocommerce .cart-collaterals .shipping_calculator,
	.woocommerce-page .cart-collaterals .shipping_calculator {
		clear: both;
		float: none;
		margin: 1.5em 0;
		padding: 0;
		width: 100%;
	}
	/* checkout */
	.woocommerce .col2-set .col-1, 
	.woocommerce-page .col2-set .col-1,
	.woocommerce .col2-set .col-2, 
	.woocommerce-page .col2-set .col-2 {
		clear: both;
		display: block;
		float: none;
		margin: 0 0 1.5em 0;
		width: 100%;
	}
	.woocommerce .checkout #shiptobilling, 
	.woocommerce-page .checkout #shiptobilling {
		line-height: 32px;
		margin-top: 0;
	}
}
/* mobile */
@media only screen and (max-width: 480px) {
	/* popups */
	.woocommerce .pp_pic_holder.pp_woocommerce {
		font-size: 0.875em;
		line-height: 1.4em;
		top: 0 !important;
		left: 5% !important;
		min-width: 90%; 
		max-width: 90%;
		position: fixed;
		max-height: 100%;
	}
	.woocommerce div.pp_woocommerce .pp_content_container {
		padding: 20px 0;
	}
	.woocommerce .ppt {
		min-width: 90%; 
		max-width: 90%;
	}
	.woocommerce .pp_content_container .pp_left {padding-left: 10px;}
	.woocommerce .pp_content_container .pp_right {padding-right: 10px;}
	/* no need to hover stuff on cell phone */
	.woocommerce .pp_hoverContainer, .woocommerce .pp_gallery {display: none !important;}
	.woocommerce .pp_full_res, .woocommerce .pp_details, .woocommerce .pp_content {min-width: 100% !important;}
	.woocommerce img#fullResImage {width: 100% !important; height: auto !important;}
	.woocommerce div.pp_woocommerce .pp_content_container textarea {
		max-height: 6em;
	}
	/* forms */
	.woocommerce form .form-row-first, 
	.woocommerce form .form-row-last, 
	.woocommerce-page form .form-row-first, 
	.woocommerce-page form .form-row-last {
		clear:both;
		float:none;
		margin-bottom: 0.5em;
		padding-left: 0;
		padding-right: 0;
		width: 100%;
	}
	.woocommerce form .form-row-last, 
	.woocommerce-page form .form-row-last {
		margin-bottom: 1.5em;
	}
	/* products */
	.woocommerce .products_main_loop ul.products,
	.woocommerce-page .products_main_loop ul.products {
		padding-top: 0;
	}
	.woocommerce #content ul.products > li.product,
	.woocommerce-page #content ul.products > li.product	{
		clear:both;
		float:none;
		margin:2em 0;
		padding: 0 0 0 0;
		width:100%;
	}
	/* product */
	.woocommerce div.product div.images, 
	.woocommerce #content div.product div.images, 
	.woocommerce-page div.product div.images, 
	.woocommerce-page #content div.product div.images, 
	.woocommerce div.product div.summary, 
	.woocommerce #content div.product div.summary, 
	.woocommerce-page div.product div.summary, 
	.woocommerce-page #content div.product div.summary {
		clear: both;
		display: block;
		float: none;
		width: 100%;
	}
	.woocommerce #reviews #comments h2, 
	.woocommerce-page #reviews #comments h2 {
		clear:both;
	}
	/* catalog results count and sorting */
	.products_main_loop p.woocommerce-result-count,
	.products_main_loop form.woocommerce-ordering {
		clear: both;
		float: none;
		text-align: center;
		margin: 0 auto 1.5em auto;
	}
	/* cart */
	.woocommerce table.shop_table.cart,
	.woocommerce-page table.shop_table.cart {
		font-size: 12px;
		line-height: 1.657em;
	}
	.woocommerce table.shop_table.cart th,
	.woocommerce-page table.shop_table.cart th {
		font-size: 10px;
		line-height: 1.657em;
		padding-left: 1.5%;
		padding-right: 1.5%;
	}
	.woocommerce table.shop_table.cart td,
	.woocommerce-page table.shop_table.cart td {
		font-size: 10px;
		line-height: 1.657em;
		padding-left: 1%;
		padding-right: 1%;
	}
	.woocommerce table.cart a.remove,
	.woocommerce #content table.cart a.remove,
	.woocommerce-page table.cart a.remove,
	.woocommerce-page #content table.cart a.remove {
		font-size: 10px;
	}
	.woocommerce table.shop_table.cart th.product-thumbnail,
	.woocommerce-page table.shop_table.cart th.product-thumbnail,
	.woocommerce table.shop_table.cart td.product-thumbnail,
	.woocommerce-page table.shop_table.cart td.product-thumbnail {
		display: none;
	}
}