/*
Theme Name: Farmacia Osimo Stazione
Theme URI: 
Author: 
Author URI: 
Description: 
Requires at least: 
Requires PHP: 
Template: hello-elementor
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: 
Text Domain: farmaciaosimostazione
*/

/* YITH 
.widget.woocommerce.widget_product_search.yith_woocommerce_ajax_search .alignwide {
	margin-left: 0px;
	margin-right: 0px;
}
body .ywcas-popover-results .popover-content .wp-block-yith-filled-block .ywcas-search-results.list .ywcas-search-results-grid {
	gap: 10px;
}
*/

/**
 * customizzazione links my account page
 */
.my-account-title {
	padding-left: 40px;
}
.my-account-title h6 {
	color: #1E75BA;
	border-bottom: 1px solid #1E75BA;
	padding-bottom: 10px;
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link a{
	color: #ffffff;
	text-decoration: none;
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link:hover,
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link.is-active {
    border: 1px solid #1E75BA;
    background-color: #ffffff;
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link:hover a,
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link.is-active a{
    color: #1E75BA;
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link {
	padding-top: 10px;
	padding-bottom: 10px; 
	padding-right: 22px;
	padding-left: 22px;
	background-color: #1E75BA;
	list-style-type: none;
	margin-bottom: 10px;
	border-radius: 10px;
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link a:before{
    font-family: jkiticon;
    margin-right:5px;
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--dashboard a:before{
    content: "\ee94";
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--orders a:before{
    content: "紐";
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--edit-address a:before{
	content: "拾";
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--payment-methods a:before{
    content: "\ef59";
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--edit-account a:before{
	content: "勤";
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a:before{
	content: "\f820"
}
@media only screen and (min-width: 1200px){
	.woocommerce-account .woocommerce-MyAccount-navigation,
	.my-account-title {
		width: 25%;
	}
}
@media only screen and (min-width: 769px) and (max-width: 1199px){
	.woocommerce-account .woocommerce-MyAccount-navigation, 
	.my-account-title {
		width: 30%;
	}
}
@media only screen and (max-width: 768px){
	.woocommerce-account .woocommerce-MyAccount-navigation ul,
	.my-account-title {
		padding-right: 40px;
	}
	.woocommerce-account .woocommerce-MyAccount-navigation ul {
		padding-bottom: 50px;
	}

}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, 
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit, 
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button, 
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button, 
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, 
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.alt, 
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt, 
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.alt {
	background-color: #1E75BA;
	color: #ffffff;
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit:hover, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button:hover, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button:hover, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button:hover, 
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit:hover, 
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button:hover, 
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button:hover, 
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:hover, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:hover, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:hover, 
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.alt:hover, 
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.alt:hover, 
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt:hover, 
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.alt:hover{
	background-color: #1867A5;
	color: #ffffff;
}
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle,
.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
	background-color: #1867A5;
}
#pageContent #ppcp-messages,
#woocommerceHolder .ppcp-messages,
#woocommerceHolder .summary .ppcp-messages,
#woocommerceHolder .summary .ppc-button-wrapper,
.woocommerce .cart_totals .ppcp-messages,
.woocommerce .cart_totals .ppc-button-wrapper,
.woocommerce #order_review #ppcp-messages,
header.woocommerce-products-header .ppcp-messages,
.single-product .summary .ppcp-messages {
    display: none !important;
}

.single-product .related.products {
	clear: both;
}

.page-id-31431 .page-header {
  display: none;
}

.page-content .woocommerce,
header.woocommerce-products-header,
.single-product #primary #main {
	padding-top: 100px;
	padding-bottom: 100px;
}

.woocommerce .quantity .qty {
    width: 4.631em;
}
.woocommerce div.product form.cart .button{
	line-height: 1.5;
}
.elementor-widget-container .widget.woocommerce h2, 
.single-product .related.products h2 {
	font-size: 24px;
}
.single-product section.related.products {
	padding-top: 50px;
}
.elementor-widget-container .widget.woocommerce {
	margin-bottom: 30px;
}
.elementor-widget-container #woocommerce_product_search-2 form button {
	padding: 13px;
}

/**
 * Campo ricerca prodotti
 */
.elementor-location-header div[id*='ajaxsearchlite'].asl_m {
    width: auto;
}
.widget_product_search #ajaxsearchlite1 .probox, 
.widget_product_search div.asl_w .probox {
	border-radius: 10px;
}
.elementor-location-header #ajaxsearchlite1 .probox, 
.elementor-location-header div.asl_w .probox {
	padding: 0px 8px;
    border-color: #ffffff;
    border: 1px solid #ffffff;
}
.elementor-location-header #ajaxsearchlite1 .probox .proinput input, 
.elementor-location-header div.asl_w .probox .proinput input {
	font-size: 16px;
}
.elementor-location-header #campo-ricerca-prodotti.elementor-element.elementor-widget-wp-widget-woocommerce_product_search {
    -webkit-box-flex: 3;
    -ms-flex: 3 1 auto;
    flex: 3 1 auto;
}
@media only screen and (max-width: 1023px){
	.elementor-location-header {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
	}
	.elementor-location-header #menu-header{
		-webkit-box-ordinal-group: 2;
		    -ms-flex-order: 1;
		        order: 1;
	}
	.elementor-location-header #top-header{
		-webkit-box-ordinal-group: 3;
		    -ms-flex-order: 2;
		        order: 2;
	}
}
@media only screen and ( max-width: 479px){
	.elementor-location-header #campo-ricerca-prodotti.elementor-element.elementor-widget-wp-widget-woocommerce_product_search {
		width: 100%;
	}
	body .elementor-location-header .elementor-element.elementor-column.header-right-column > .elementor-widget-wrap {
		-ms-flex-pack: distribute;
		justify-content: space-around;
	}
	body .elementor-location-header .elementor-element.elementor-column.header-right-column > .elementor-widget-wrap .header-icon {
		border: 1px solid white;
		border-radius: 5px;
		width: 23%;
	}
	body .elementor-location-header .elementor-element.elementor-column.header-right-column > .elementor-widget-wrap .header-icon, 
	body .elementor-location-header .elementor-element.elementor-column.header-right-column > .elementor-widget-wrap .header-icon .elementor-menu-cart__wrapper{
		text-align: center;
	}
	body .elementor-location-header .elementor-element.elementor-column.header-right-column > .elementor-widget-wrap .header-icon .elementor-icon-list-items{
        -webkit-box-pack: center;        
        -ms-flex-pack: center;        
        justify-content: center;
	}
	.elementor-location-header #campo-ricerca-prodotti.elementor-element.elementor-widget-wp-widget-woocommerce_product_search > .elementor-widget-container {
		margin-right: 0px;
	}
	.elementor-location-header .elementor-column.elementor-top-column .elementor-element:not(.elementor-element.elementor-widget-wp-widget-woocommerce_product_search)  {
		margin-top: 10px;
	}
}
/**
 * 
 */
.woocommerce div.product p.price ins, 
.woocommerce div.product span.price ins {
	font-size: 30px;
    color: red;
}
.woocommerce ul.products li.product span.price {
	font-size: 1em;
}
.woocommerce ul.products li.product span.price ins
 {
	font-size: 1.3em;
    color: red;
}

/**
 * Badge in offerta
 */
body.woocommerce .elementor-widget-woocommerce-product-images span.onsale,
body.woocommerce span.onsale,
body .elementor-products-grid ul.products.elementor-grid li.product .onsale {
    padding: 5px;
    background-color: #1E75BA;
    border-radius: 10px;
}
/* Campo e Btn codice promozionele */
.woocommerce #content table.cart td.actions .coupon .input-text, 
.woocommerce table.cart td.actions .coupon .input-text, 
.woocommerce-page #content table.cart td.actions .coupon .input-text, 
.woocommerce-page table.cart td.actions .coupon .input-text {
	width: auto;
}
.woocommerce #content table.cart td.actions .coupon button, 
.woocommerce table.cart td.actions .coupon button, 
.woocommerce-page #content table.cart td.actions .coupon button, 
.woocommerce-page table.cart td.actions .coupon button {
	font-size: 16px;
}
/* Img prodotto nel carrello */
.woocommerce #content table.cart .product-thumbnail img, 
.woocommerce table.cart .product-thumbnail img, 
.woocommerce-page #content table.cart .product-thumbnail img, 
.woocommerce-page table.cart .product-thumbnail img {
    width: 100%;
    max-width: 150px;
}
#add_payment_method table.cart .product-thumbnail, 
.woocommerce-cart table.cart .product-thumbnail, 
.woocommerce-checkout table.cart .product-thumbnail {
	text-align: center;
}

@media only screen and (max-width: 768px) {
    /* Btn Aggiorna Carrello */
    .woocommerce #content table.cart td.actions .button, .woocommerce table.cart td.actions .button[name="update_cart"], 
    .woocommerce-page #content table.cart td.actions .button[name="update_cart"], 
    .woocommerce-page table.cart td.actions .button[name="update_cart"] {
    	color: #ffffff;
    	font-size: 1.25em;
    	padding: 1em;
    }
    /* Btn Applica */
	:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button {
		background-color: #1E75BA;
		color: #ffffff;
    }
    /* Img prodotto nel carrello */
    .woocommerce table.shop_table_responsive tbody tr td.product-remove, 
    .woocommerce-page table.shop_table_responsive tbody tr td.product-remove {
        background: none;
    	border: none;
    	width: auto;
	    display: inline-block;
	    position: absolute;
	    left: 0;
	    top: 0;
    }
    .woocommerce table.shop_table_responsive tr.cart_item, 
    .woocommerce-page table.shop_table_responsive tr.cart_item {
        position: relative;
    }
	.woocommerce #content table.cart .product-thumbnail, 
	.woocommerce table.cart .product-thumbnail, 
	.woocommerce-page #content table.cart .product-thumbnail, 
	.woocommerce-page table.cart .product-thumbnail {
        display: block;
        background: none;
    	border: none;
    }
    .woocommerce table.shop_table_responsive tr td.product-thumbnail, 
    .woocommerce-page table.shop_table_responsive tr td.product-thumbnail {
        text-align: center !important;
    }
    .woocommerce table.shop_table_responsive tr td.product-thumbnail::before, 
    .woocommerce-page table.shop_table_responsive tr td.product-thumbnail::before {
        content: attr(data-title) "";
    }
	/* Carrello */
	.woocommerce-cart .page-content .woocommerce, 
	.woocommerce-cart header.woocommerce-products-header, 
	.woocommerce-cart .single-product #primary #main {
	    padding-top: 20px;
	    padding-bottom: 20px;
	}
}