/*
Theme Name: Smart Mag Child
Theme URI: http://theme-sphere.com/
Description: A child theme of SmartMag
Author: ThemeSphere
Author URI: http://theme-sphere.com
Template: smart-mag
Version: 1.0
Text Domain: bunyad
*/

@import url("../smart-mag/style.css");
.woocommerce-ordering {
	display: none
}

@media screen and (min-width: 800px) and (max-width: 970px) {
	.woocommerce ul.products li.product h3,
	.woocommerce-page ul.products li.product h3 {
		height: 70px;
	}
}

@media screen and (min-width: 971px) and (max-width: 1080px) {
	.woocommerce ul.products li.product h3,
	.woocommerce-page ul.products li.product h3 {
		height: 60px;
	}
}

@media screen and (min-width: 1081px) {
	.woocommerce ul.products li.product h3,
	.woocommerce-page ul.products li.product h3 {
		height: 50px;
	}
}

.woocommerce table.cart td.actions .coupon .input-text,
.woocommerce-page table.cart td.actions .coupon .input-text {
	min-width: 170px !important;
}

.woocommerce-page .woocommerce-error {
	border-left: 10px solid #e54e53 !important;
}

.cart-collaterals {
	clear: both;
	float: right;
}

.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals {
	float: right !important;
}

.back_to_shop_btn {
	float: right;
	clear: both;
}

td.product-remove {
	width: 40px;
}

td.product-thumbnail {
	width: 100px;
}

td.product-quantity {
	min-width: 130px !important;
}

.product_name {
	margin-bottom: 12px;
}

.no-sidebar.woocommerce ul.products,
.no-sidebar.woocommerce-page ul.products {
	padding: 0 50px;
	margin: 0 !important;
}

/*.no-sidebar.woocommerce ul.products li.product.product_cat-abbonamento, 
.no-sidebar.woocommerce-page ul.products li.product.product_cat-abbonamento,*/
.no-sidebar.woocommerce ul.products li.product.product-category,
.no-sidebar.woocommerce-page ul.products li.product.product-category {
	width: 50% !important;
	padding: 0 80px !important;
}

/*.woocommerce ul.products li.product.product_cat-abbonamento h3:before, 
.woocommerce-page ul.products li.product.product_cat-abbonamento h3:before,*/
.no-sidebar.woocommerce ul.products li.product.product-category h3:before,
.no-sidebar.woocommerce-page ul.products li.product.product-category h3:before {
	left: 80px !important;
}

.fa.fa-shopping-cart {
	font-size: 16px;
	color: #fff;
	padding: 7px;
	border-radius: 50%;
	background: #4682B4;
}

.top-bar .search {
	margin: 3px 0 0 50px !important;
}

.top-bar .social-icons {
	margin-top: 4px !important;
}


/*Smart changes*/
.archivio-main .main-content .year-pagination .page-years.current {
	pointer-events: none;
}
.warningProductSubscription {
	background-color: #d7d6d2;
	padding: 20px;
	font-weight: bold;
	text-decoration: underline;
}
.woocommerce-page.woocommerce-checkout form[name=checkout] label.hidden {
	visibility: visible;
}

.single_add_to_cart_button.button.alt.btn.primary.wp-element-button:after {
	z-index: -1;
}
.woocommerce-table--order-details .wc-item-meta {
	margin-left: 0px;
	margin-top: 0px;
	font-size: 13px;
}
.woocommerce-table--order-details .wc-item-meta .wc-item-meta-label {
	font-size: 13px;
}
/*fix colors YITH*/
.woocommerce-table--order-details .wc-item-meta li strong,
.woocommerce-table--order-details .wc-item-meta li p {
	margin-top: 0px;
	font-size: 13px !important;
}
.woocommerce-page .shop_table.order_details tfoot tr:last-child td {
	border-bottom: 1px solid #92918e;
}
div.yith-wcmbs-tabs ul.ui-tabs-nav li,
div.yith-wcmbs-tabs ul.ui-tabs-nav li > a,
.yith-wcmbs-my-account-accordion {
	background: transparent !important;
	border: 0px !important;
}
div.yith-wcmbs-tabs ul.ui-tabs-nav li.ui-state-active {
	border-bottom: 0px !important;
}
div.yith-wcmbs-tabs ul.ui-tabs-nav li.ui-state-active > a {
	color: #1d4a3e !important;
}
.yith-wcmbs-my-account-accordion h3 {
	background-color: transparent !important;
	border: 2px solid #141313 !important;
}
.yith-wcmbs-my-account-accordion .yith-wcmbs-my-account-membership-container {
	box-shadow: none !important;
	border: 0px !important;
	font-family: "Merriweather", serif;
}
.yith-wcmbs-my-account-membership-container {
	background: transparent;
}
.yith-wcmbs-membership-history-activity {
	box-shadow: none;
}
div.yith-wcmbs-tabs ul.ui-tabs-nav li > a {
	padding: 0px !important;
}
.yith-wcmbs-membership-detail:nth-child(3n + 2),
.yith-wcmbs-membership-detail {
	background-color: transparent;
	border: 1px solid #c4c3c0 !important;
}
div.yith-wcmbs-tabs ul.ui-tabs-nav::after {
	display: none;
}
.yith-wcmbs-membership-history-activity {
	box-shadow: none;
	width: 100%;
	border: 1px solid #c4c3c0 !important;
}
.ywsbs-subscription-info-box.subscription-totals {
	background: transparent !important;
}
.ywsbs-change-status-buttons-wrapper button {
	background-color: transparent;
	color: #1d4a3e;
	font-weight: bold;
}
.yith-wcmbs-membership-details,
.yith-wcmbs-tabs {
	font-family: "Merriweather", serif;
}
div.yith-wcmbs-tabs,
.yith-wcmbs-my-account-membership-container .yith-wcmbs-membership-details {
	padding: 20px 0px;
}
.subscription-review-table {
	border: 1px solid #19232d;
}
.yith-wcmbs-membership-history-activity__date,
.woocommerce-page.woocommerce-account .woocommerce-MyAccount-content h1,
.woocommerce-page.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-page.woocommerce-account .woocommerce-MyAccount-content h3 {
	color: #1d4a3e !important;
}
.yith-wcmbs-membership-detail__value {
	color: #1d4a3e;
}
body.woocommerce-page .woocommerce-order-details .order-again a.button {
	margin-left: 0px;
	color: #fff;
}
.woocommerce .woocommerce-customer-details .woocommerce-customer-details--email,
.woocommerce .woocommerce-customer-details .woocommerce-customer-details--phone {
	font-size: 13px;
	line-height: 20px;
}
table.subscription-review-table th,
table.subscription-review-table td {
	border: 2px solid;
}
table.subscription-review-table tbody td,
table.subscription-review-table th,
table.subscription-review-table td {
	padding: 10px !important;
}
.ywsbs-change-status-buttons-wrapper button {
	text-decoration: underline;
}
.woocommerce.woocommerce-page.term-abbonamenti ul.products-grid, 
.no-sidebar.woocommerce.term-abbonamenti ul.products-grid {
	grid-template-columns: repeat(2, minmax(350px, 1fr));
}

.woocommerce.woocommerce-page.term-abbonamenti ul.products-grid li:nth-child(4){
	order:2;
}
.woocommerce.woocommerce-page.term-abbonamenti ul.products-grid li:nth-child(3){
	order:1;
}
.woocommerce.woocommerce-page.term-abbonamenti ul.products-grid li:nth-child(2){
	order:4;
}
.woocommerce.woocommerce-page.term-abbonamenti ul.products-grid li:nth-child(1){
	order:3;
}

@media screen and (max-width:699px){
	.woocommerce.woocommerce-page.term-abbonamenti ul.products-grid,
	.no-sidebar.woocommerce.term-abbonamenti ul.products-grid {
		grid-template-columns: repeat(1, minmax(350px, 1fr));
	}
}
@media screen and (max-width:800px){
	.woocommerce-page.woocommerce-cart .woocommerce-cart-form .shop_table tr td.actions .coupon{
		width: 100%;
		display: flex;
		flex-direction: column;
	}
	.woocommerce-page.woocommerce-cart .woocommerce-cart-form .shop_table tr td.actions .coupon input.input-text{
		width: 100%;
	}
	.woocommerce-page.woocommerce-cart .woocommerce-cart-form .shop_table tr td.actions .coupon button{
		margin: 0px;
		width: 100%;
	}
	.woocommerce-page table.cart td.actions .button.wp-element-button{
		margin: 0px auto;
		width: auto;
	}
	.woocommerce-page .woocommerce .shop_table tbody tr.ywsbs-recurring-totals-items td{
		border: 0px;
	}
	.woocommerce-page .woocommerce .shop_table tbody tr.ywsbs-recurring-totals-items td:before{
		display:none;
	}

}
