/*
Theme Name: PostMagazine
WooCommerce styles override
*/
.woocommerce-breadcrumb {
    font-size: 0.813rem;
    margin: 0 0 1rem;
}
section.related.products {
    margin: 2rem 0 0;
}
section.related.products h2 {
    margin-bottom: 2rem;
}
.woocommerce-Reviews-title {
    font-size: 1.5rem;
}
.woocommerce-review__published-date {
    font-size: 0.813rem;
}
.woocommerce #respond {
    margin: 2rem 0;
}
.woocommerce .comment-text .meta {
    margin-bottom: 1.063rem;
}
.woocommerce .commentlist .description {
    font-style: italic;
    font-size: 0.938rem;
    line-height: 1.5;
}
.woocommerce-review-link {
    font-size: 0.875rem;
    margin-left: 10px;
}
.added_to_cart.wc-forward {
    background-color: #0f0f0f;
    padding: 3px 15px;
    color: #fff;
    border-radius: 6px;
    margin: 12px 0;
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}
.added_to_cart.wc-forward:hover {
	opacity: 0.8;
}

.woocommerce .col2-set {
    display: table;
    width: 100%;
    margin-bottom: 1.5rem;
}
.woocommerce .col2-set .col-1, 
.woocommerce-page .col2-set .col-1 {
    float: none;
    max-width: 100%;
}
.woocommerce .col2-set .col-2, 
.woocommerce-page .col2-set .col-2 {
    float: none;
    max-width: 100%;
}
.woocommerce .col2-set .col-1, 
.woocommerce-page .col2-set .col-1, 
.woocommerce .col2-set .col-2, 
.woocommerce-page .col2-set .col-2 {
    padding: 1.2em 2.5em 1.9em 2.1em;
    background-color: #fbfbfb;
    border: 1px solid #e2e2e2;
}
textarea#order_comments {
    min-height: 8rem;
}
.woocommerce label {
    font-weight: 700;
    font-size: 0.938rem;
}
ul.wc_payment_methods.payment_methods.methods {
    padding-left: 20px;
}
nav.woocommerce-MyAccount-navigation ul {
    list-style: none;
    display: table;
    width: 100%;
    padding: 0;
}
li.woocommerce-MyAccount-navigation-link a {
    background-color: #f1eee8;
    border: 1px solid #e0e0e0;
	border-radius: 6px;
    color: inherit;
    padding: 5px 10px;
    margin: 5px;
    display: inline-block;
    width: 32.3333%;
    float: left;
    text-transform: uppercase;
    font-size: 0.813rem;
}
li.woocommerce-MyAccount-navigation-link a:hover {
    background-color: #7dafd2;
    border-color: #7dafd2;
    color: #fff;
}
li.woocommerce-MyAccount-navigation-link a:before {
    font-family: "Font Awesome 5 Free";
	font-weight: 900;
    position: relative;
    content: "\f0a9";
    margin-right: 5px;
    color: #95a065;
}
li.woocommerce-MyAccount-navigation-link a:hover::before {
    color: #fff;
}
.woocommerce-MyAccount-content p a {
    font-style: italic;
}
span.onsale {
    display: inline-block;
    position: absolute;
    background-color: #0f0f0f;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    line-height: 50px;
    text-align: center;
    font-size: 0.938rem;
    color: #fff;
    top: -10px;
    left: 15px;
	z-index: 999;
}
.woocommerce.single-product .onsale {
    top: 0;
    left: 5px;
}
span.price del,
.woocommerce.single-product .price del span.woocommerce-Price-amount.amount {
    font-size: 0.813rem;
    font-weight: 400;
}
.woocommerce.single-product .price ins {
	text-decoration: none;
}
.woocommerce-pagination .page-numbers {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}
.woocommerce-pagination li {
    display: inline;
}
.woocommerce-pagination a.page-numbers, 
.woocommerce-pagination span.page-numbers.current {
    font-size: 0.813rem;
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #c1c1c1;
    color: #fff;
    display: inline-block;
    width: 30px;
    height: 25px;
    border-radius: 5px;
    line-height: 25px;
    text-align: center;
}
.woocommerce-pagination span.page-numbers.current {
    background-color: #0f0f0f;
    color: #fff;
}

/**
 * Shop tables
 */
table.shop_table_responsive thead {
	display: none;
}
table.shop_table.shop_table_responsive  {
    font-size: 0.875rem;
}
table.shop_table thead th {
    background-color: #7dafd2;
    color: #fff;
}
table.shop_table_responsive tbody th {
	display: none;
}

table.shop_table_responsive tr td {
	display: block;
	text-align: right;
	clear: both;
}

table.shop_table_responsive tr td:before {
	content: attr(data-title) ": ";
	float: left;
}

table.shop_table_responsive tr td.product-remove a {
    color: #fff;
    text-align: center;
    font-size: 2rem;
    line-height: 1;
    background-color: #0f0f0f;
    display: block;
    width: 40px;
    height: 30px;
    border-radius: 3px;
    padding: 0;
    line-height: 30px;
    margin: 0;
}
table.shop_table_responsive tr td.product-remove a:hover {
	opacity: 0.8;
}

table.shop_table_responsive tr td.product-remove:before {
	display: none;
}

table.shop_table_responsive tr td.actions:before, table.shop_table_responsive tr td.download-actions:before {
	display: none;
}

table.shop_table_responsive tr td.download-actions .button {
	display: block;
	text-align: center;
}
table.shop_table_responsive .coupon .button {
    margin-bottom: 5px;
}
td.product-thumbnail img {
    max-width: 80px;
    margin: auto;
}
tr.cart-subtotal td,
th.product-stubtotal {
    width: 145px;
}
table.shop_table.shop_table_responsive tr.cart-subtotal th,
table.shop_table.shop_table_responsive tr.order-total th {
    text-align: right;
}

table.shop_table thead th {
    background-color: #7dafd2;
    color: #fff;
}
@media screen and (min-width: 48em) {
	table.shop_table_responsive thead {
		display: table-header-group;
	}
	table.shop_table_responsive tbody th {
		display: table-cell;
	}
	table.shop_table_responsive tr th, table.shop_table_responsive tr td {
		text-align: left;
	}
	table.shop_table_responsive tr td.actions {
		text-align: right;
	}
	table.shop_table_responsive tr td {
		display: table-cell;
	}
	table.shop_table_responsive tr td:before {
		display: none;
	}
}

/**
 * Products
 */
/**
 * Products
 */
ul.products {
	content: "";
	display: table;
	table-layout: fixed;
	margin: 0 -25px;
	padding: 0;
}

ul.products li.product {
	list-style: none;
	position: relative;
	margin-bottom: 2.5rem;
	padding: 20px;
}

ul.products li.product .woocommerce-loop-product__title {
    font-size: 1rem;
    color: #484848;
    font-size: 1.375rem;
    padding: 12px 0 5px;
    font-weight: 700;
    margin: 0;
}

ul.products li.product img {
	display: block;
}

ul.products li.product .button {
	display: block;
	text-align: center;
}
.product span.price {
    font-size: 1.125rem;
    font-weight: 700;
    display: block;
    margin: 0 0 12px;
}
.product span.price ins {
    text-decoration: none;
}

@media screen and (min-width: 48em) {
	ul.products li.product {
		width: 30.7966666667%;
		float: left;
		padding: 0 20px;
	}
	ul.products li.product.first {
		clear: both;
	}
	ul.products li.product.last {
		margin-right: 0;
	}
	
	.columns-1 ul.products li.product {
		float: none;
		width: 100%;
	}
	.columns-2 ul.products li.product {
		width: 50%;
	}
	.columns-3 ul.products li.product {
		width: 33.333%;
	}
	.columns-4 ul.products li.product {
		width: 25%;
	}
	.columns-5 ul.products li.product {
		width: 20%;
	}
	.columns-6 ul.products li.product {
		width: 13.4933333333%;
	}
}

/**
 * Single Product
 */
.single-product div.product {
	content: "";
	display: table;
	table-layout: fixed;
	position: relative;
}

/* left column */
.single-product div.product .woocommerce-product-gallery {
    position: relative;
    float: left;
    width: 40%;
    margin-right: 4%;
}
/* right column */
.summary.entry-summary {
    float: left;
    width: 56%;
}

/* single view price */
.summary.entry-summary .price {
	color: #7dafd2;
	clear: both;
    font-size: 1.25rem;
    font-weight: 700;
	margin-bottom: 1rem;
}

.product_meta span {
    display: block;
    font-size: 0.813rem;
}


/**
 * gallery icon
 */

 
  .woocommerce div.product div.images .woocommerce-product-gallery__trigger:before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border: 2px solid #000;
    border-radius: 100%;
    position: absolute;
    top: 9px;
    left: 9px;
    box-sizing: content-box;
}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    position: absolute;
	top: 25px;
    right: 10px;
    font-size: 2em;
    z-index: 9;
    width: 36px;
    height: 36px;
    background: #fff;
    text-indent: -9999px;
    border-radius: 100%;
    box-sizing: content-box;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger:after {
    content: "";
    display: block;
    width: 2px;
    height: 8px;
    background: #000;
    border-radius: 6px;
    position: absolute;
    top: 19px;
    left: 22px;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    box-sizing: content-box;
}


.single-product div.product .woocommerce-product-gallery .flex-viewport {
	margin-bottom: 1em;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
	content: "";
	display: table;
	table-layout: fixed;
	margin: 0 -5px; /* align left and right gallery with main image */
	padding: 0;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
	list-style: none;
	cursor: pointer;
	float: left;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img {
	opacity: .5;
	/* force a thumbnail size */
	width: 160px;
    padding: 0 5px;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
	opacity: 1;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li:hover img {
	opacity: 1;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li {
	width: 50%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li:nth-child(2n) {
	margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li:nth-child(2n+1) {
	clear: both;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li {
	width: 33.3333%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n) {
	margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n+1) {
	clear: both;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li {
	width: 25%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n) {
	margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n+1) {
	clear: both;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li {
	width: 20%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n) {
	margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n+1) {
	clear: both;
}

.stock:empty:before {
	display: none;
}

.stock.in-stock {
	color: #0f834d;
}

.stock.out-of-stock {
	color: #e2401c;
}


/**
 * Checkout
 */
/**
 * Checkout
 */
@media screen and (min-width: 768px) {
	.col2-set .form-row-first {
		float: left;
		margin-right: 3.8%;
	}
	.col2-set .form-row-last {
		float: right;
		margin-right: 0;
	}
	.col2-set .form-row-first,
	.col2-set .form-row-last {
		width: 48.1%;
	}
}

/**
 * General WooCommerce components
 */
/**
 * Header cart
 */
.site-header-cart {
	position: relative;
	margin: 0;
	padding: 0;
	content: "";
	display: table;
	table-layout: fixed;
}

.site-header-cart .cart-contents {
	text-decoration: none;
}

.site-header-cart .widget_shopping_cart {
	display: none;
}

.site-header-cart .product_list_widget {
	margin: 0;
	padding: 0;
}

/**
 * Star rating
 */
.star-rating {
	overflow: hidden;
	position: relative;
	height: 1.618em;
	float: left;
	line-height: 1.618;
	font-size: 1em;
	width: 5.3em;
	font-family: 'star';
	font-weight: 400;
	margin-right: 10px;
}
.star-rating:before {
	content: "\53\53\53\53\53";
	opacity: .25;
	float: left;
	top: 0;
	left: 0;
	position: absolute;
}

.star-rating span {
	overflow: hidden;
	float: left;
	top: 0;
	left: 0;
	position: absolute;
	padding-top: 1.5em;
}

.star-rating span:before {
	content: "\53\53\53\53\53";
	top: 0;
	position: absolute;
	left: 0;
	color: #d6ba77;
}

p.stars a {
	position: relative;
	height: 1em;
	width: 1em;
	text-indent: -999em;
	display: inline-block;
	text-decoration: none;
	margin-right: 1px;
	font-weight: 400;
}

p.stars a:before {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 1em;
	height: 1em;
	line-height: 1;
	font-family: "star";
	content: "\53";
	color: #404040;
	text-indent: 0;
	opacity: .25;
}

p.stars a:hover ~ a:before {
	content: "\53";
	color: #404040;
	opacity: .25;
}

p.stars:hover a:before {
	content: "\53";
	color: royalblue;
	opacity: 1;
}

p.stars.selected a.active:before {
	content: "\53";
	color: royalblue;
	opacity: 1;
}

p.stars.selected a.active ~ a:before {
	content: "\53";
	color: #404040;
	opacity: .25;
}

p.stars.selected a:not(.active):before {
	content: "\53";
	color: royalblue;
	opacity: 1;
}

/**
 * Tabs
 */
.woocommerce #content div.product 
 .woocommerce-tabs, .woocommerce div.product .woocommerce-tabs, 
 .woocommerce-page #content div.product .woocommerce-tabs, 
 .woocommerce-page div.product .woocommerce-tabs {
    clear: both;
}
.woocommerce-tabs.wc-tabs-wrapper {
    padding-top: 2rem;
}
.woocommerce div.product .woocommerce-tabs ul.tabs:before {
    border-color: #dedede;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before {
    position: absolute;
    content: ' ';
    width: 100%;
    bottom: 0;
    left: 0;
    border-bottom: 1px solid #dedede;
    z-index: 1;
}
.woocommerce #content div.product .woocommerce-tabs ul.tabs::after, 
.woocommerce #content div.product .woocommerce-tabs ul.tabs::before, 
.woocommerce div.product .woocommerce-tabs ul.tabs::after, 
.woocommerce div.product .woocommerce-tabs ul.tabs::before, 
.woocommerce-page #content div.product .woocommerce-tabs ul.tabs::after, 
.woocommerce-page #content div.product .woocommerce-tabs ul.tabs::before, 
.woocommerce-page div.product .woocommerce-tabs ul.tabs::after, 
.woocommerce-page div.product .woocommerce-tabs ul.tabs::before {
    content: ' ';
    display: table;
}
.woocommerce-tabs ul.tabs {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: left;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
    list-style: none;
    padding: 0 0 0 1em;
    margin: 0 0 1.618em;
    overflow: hidden;
    position: relative;
}
.woocommerce-tabs ul.tabs li {
	display: block;
	margin: 0;
	position: relative;
}

.woocommerce-tabs ul.tabs li a {
    color: inherit;
    font-size: 0.875rem;
    padding: 0.25rem 0;
    display: block;
}

.woocommerce #content div.product .woocommerce-tabs ul.tabs li, 
.woocommerce div.product .woocommerce-tabs ul.tabs li, 
.woocommerce-page #content div.product .woocommerce-tabs ul.tabs li, 
.woocommerce-page div.product .woocommerce-tabs ul.tabs li {
    display: inline-block;
}



.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border: 1px solid #dedede;
	border-radius: 8px 8px 0 0;
    background-color: #f1eee8;
    display: inline-block;
    position: relative;
    z-index: 0;
    margin: 0 -2px;
    padding: 0 1em;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li:hover {
    background-color: #f1eee8;
	border-color: #dedede;
}
.woocommerce .woocommerce-tabs ul.tabs li.active {
    background: #fff;
	color: #656565;
    z-index: 2;
    border-bottom-color: #fff;
}
.woocommerce-tabs .panel h2:first-of-type {
	margin-bottom: 1em;
}

/**
 * Password strength meter
 */
.woocommerce-password-strength {
	text-align: right;
}

.woocommerce-password-strength.strong {
	color: #0f834d;
}

.woocommerce-password-strength.short {
	color: #e2401c;
}

.woocommerce-password-strength.bad {
	color: #e2401c;
}

.woocommerce-password-strength.good {
	color: #3D9CD2;
}

/**
 * Forms
 */
.form-row.woocommerce-validated input.input-text {
	box-shadow: inset 2px 0 0 #0f834d;
}

.form-row.woocommerce-invalid input.input-text {
	box-shadow: inset 2px 0 0 #e2401c;
}

.required {
	color: red;
}
.woocommerce-ordering {
    margin: 0 0 3rem;
}
.woocommerce .entry-summary form.cart {
    padding: 0.75rem 0;
    border-top: 1px solid #dedede;
    border-bottom: 1px solid #dedede;
    margin-bottom: 1.5rem;
}

input.qty {
    float: left;
    max-width: 5rem;
	margin-bottom: 0;
}
div.quantity {
    display: table;
	float: left;
}
button.single_add_to_cart_button {
	line-height: 1.75;
    position: relative;
    margin-left: -1px;
    border-radius: 0 6px 6px 0;
}
.woocommerce .coupon {
    float: left;
}
.woocommerce input#coupon_code {
    width: auto;
    border-radius: 6px;
}

.coupon label {
    display: none;
}
.coupon input.button {
    position: relative;
}
.wc-proceed-to-checkout {
    text-align: right;
}

/**
 * Notices
 */
.woocommerce-message, 
.woocommerce-info, 
.woocommerce-error, 
.woocommerce-noreviews, 
p.no-comments {
	content: "";
    display: table;
    table-layout: fixed;
    background-color: #7dafd2;
    color: #fff;
    clear: both;
    padding: 4px 20px;
    border-radius: 6px;
    margin: 0 0 1rem;
}

.woocommerce-info, 
.woocommerce-noreviews, 
p.no-comments {
    background-color: #f1eee8;
    color: #656565;
    font-weight: 700;
}

.woocommerce-error {
	background-color: #e2401c;
}

.demo_store {
	font-weight: 700;
    position: fixed;
    left: 0;
    bottom: 0;
    right: 0;
    margin: 0;
    padding: 1em;
    background-color: #de841a;
    z-index: 9999;
    color: #fff;
}
.woocommerce-store-notice__dismiss-link {   
    background-color: #0f0f0f;
    padding: 4px 16px;
    border-radius: 5px;
    font-weight: 400;
    letter-spacing: 1px;
}
.woocommerce-store-notice__dismiss-link,
.woocommerce-store-notice__dismiss-link:visited {
	color: #fff;
}

@media screen and (min-width: 48em) {
	/**
	 * Header cart
	 */
	.site-header-cart .widget_shopping_cart {
		position: absolute;
		top: 100%;
		width: 100%;
		z-index: 999999;
		left: -999em;
		display: block;
		box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	}
	.site-header-cart:hover .widget_shopping_cart, .site-header-cart.focus .widget_shopping_cart {
		left: 0;
		display: block;
	}
	.woocommerce .col2-set .col-1, 
	.woocommerce-page .col2-set .col-1 {
		float: left;
		max-width: 48%;
	}
	.woocommerce .col2-set .col-2, 
	.woocommerce-page .col2-set .col-2 {
		float: right;
		max-width: 48%;
	}	

	ul.products li.product {
		padding: 20px;
	}	
	
	
}

/**
 * WooCommerce widgets
 */
/**
 * WooCommerce Price Filter
 */
.widget_price_filter .price_slider {
	margin-bottom: 1.5em;
}

.widget_price_filter .price_slider_amount {
	text-align: right;
	line-height: 2.4em;
}

.widget_price_filter .price_slider_amount .button {
	float: left;
}

.widget_price_filter .ui-slider {
	position: relative;
	text-align: left;
}

.widget_price_filter .ui-slider .ui-slider-handle {
	position: absolute;
	z-index: 2;
	width: 1em;
	height: 1em;
	cursor: ew-resize;
	outline: none;
	background: royalblue;
	box-sizing: border-box;
	margin-top: -.25em;
	opacity: 1;
}

.widget_price_filter .ui-slider .ui-slider-handle:last-child {
	margin-left: -1em;
}

.widget_price_filter .ui-slider .ui-slider-handle:hover, .widget_price_filter .ui-slider .ui-slider-handle.ui-state-active {
	box-shadow: 0 0 0 0.25em rgba(0, 0, 0, 0.1);
}

.widget_price_filter .ui-slider .ui-slider-range {
	position: absolute;
	z-index: 1;
	display: block;
	border: 0;
	background: royalblue;
}

.widget_price_filter .price_slider_wrapper .ui-widget-content {
	background: rgba(0, 0, 0, 0.1);
}

.widget_price_filter .ui-slider-horizontal {
	height: .5em;
}

.widget_price_filter .ui-slider-horizontal .ui-slider-range {
	height: 100%;
}
