/*
Theme Name:     Hello Elementor Child
Theme URI:      http://noknok.it/
Description:    Tema Child per il tema Hello
Author:         NokNok
Author URI:     http://noknok.it/
Template:       hello-elementor
Version:        0.1.0
Text Domain:    hello-elementor-child
*/

/* PULSANTI WOOCOMMERCE */
:root {
    --wc-blue: #846b33;
    --woocommerce: #846b33;
}
.wp-child-theme-hello-elementor-child .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-EditAccountForm .button, .wp-child-theme-hello-elementor-child .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-address-fields .button, .wp-child-theme-hello-elementor-child .elementor-10 .elementor-element.elementor-element-2b63db1 .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .login .button, .wp-child-theme-hello-elementor-child .elementor-10 .elementor-element.elementor-element-2b63db1 .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .register .button, .wp-child-theme-hello-elementor-child .elementor-10 .elementor-element.elementor-element-2b63db1 .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-ResetPassword .button {
    background: var(--e-global-color-primary);
}

/* ALTRO */


h2 {
	color:var(--e-global-color-primary);
}

.elementor-element.elementor-element-e1a7526 .quantity .qty {
       color: var(--e-global-color-text);
}

.elementor-kit-494 input[type="submit"] {
	color: var(--e-global-color-primary);
}



#elementor-menu-cart__toggle_button{
  border-style: hidden;
}



/* nascondo footer da home con menu */

.page-id-11432 .elementor-location-footer{
	display: none!important;
}



/* -- PAGINA CHECKOUT -- */

 form{
max-width: 1200px;
margin-right: auto;
margin-left: auto;
}

.woocommerce form .form-row input.input-text {
font-family: "Muli", Sans-serif;
font-size: .8rem;
}

#payment .payment_methods .payment_method_xpay img{
	height: 20px;
}

.wc_payment_methods.payment_methods.methods label {
	display: inline;}



 body{margin:0;}


.woocommerce ul.order_details{
	margin: 3em;
}

div.woocommerce-order{
	margin-right: 5%;
margin-left: 5%;
margin-top: 40px;
}

/* PAGINA VINI */


/* -- PAGINA VINI -- */

.wid-prodotti .woocommerce ul.products li.product a img{
 width: auto;
 margin-left: auto;
 margin-right: auto;
 object-fit: contain;
 height: 34vh;
 max-height: 340px;
}


.elementor-element.elementor-products-grid.wid-prodotti ul.products {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-end;
}
/**/

.post-11208 .button{
	margin-top:21px!important;
}


.woocommerce ul.products li.product .woocommerce-loop-product__title{
padding: .5em;
}
.woocommerce ul.products li.product a img{
    width: auto;
margin-left: auto;
margin-right: auto;
	object-fit: contain;
        height: 34vh;
        max-height:340px;
}

.woocommerce ul.products li.product.product_cat-i-classici a img, .woocommerce ul.products li.product.product_cat-cartizze a img, .woocommerce ul.products li.product.product_cat-le-selezioni a img, .woocommerce ul.products li.product.product_cat-i-contemporanei a img{
    height: 40vh;
    max-height:400px;
}


.woocommerce ul.products li.product.product_cat-mathusalem a img{
    height: 40vh;
    max-height:400px;
}

.woocommerce ul.products li.product.product_cat-jeroboam a img{
    height: 38vh;
    max-height:380px;
}

.woocommerce ul.products li.product.product_cat-magnum a img{
    height: 34vh;
    max-height:340px;
}

.woocommerce ul.products li.product.product_cat-mezza a img{
    height: 30vh;
    max-height:300px;
}

.woocommerce-LoopProduct-link p{
    font-size:0.8rem;
}

.woocommerce ul.products li {
    background-image: url("http://wineclubduplicator.nokweb.it/wp-content/uploads/2020/05/linea4.svg");
 background-position: right 0 bottom 146px; 
background-repeat: no-repeat;
background-size: 100%;
overflow: visible;
}


 .woocommerce-LoopProduct-link p {
    margin-bottom: 0;
min-height: 50px;
}

 .woocommerce-LoopProduct-link img:hover {
    transition: all .2s ease-in-out;
    transform: scale(1.05);
}



.elementor-widget-divider--view-line_text .elementor-divider-separator{
    align-items:flex-end;
}



.elementor-element.elementor-products-grid ul.products {
display: flex;
justify-content: center;
flex-wrap: wrap;
	align-items:flex-end;
}

.elementor-wc-products ul.columns-4 li.product {
width: 21% !important;
margin: 30px 10px 0 10px !important
}
.elementor-wc-products ul.columns-3 li.product {
width: 26% !important;
margin: 30px 10px 0 10px !important
}

@media only screen and (max-width: 460px) {
    .elementor-wc-products ul.products li.product {
width: 44% !important;
margin: 0 10px 0 10px !important;
}

 .woocommerce ul.products li {
 background-position: 50% 51%; 
}
.woocommerce ul.products li.product a img{
    margin-top:20px;
    height:auto;
}
}


.product_cat-omaggio .col-prezzo,.product_cat-omaggio .col-volume,.product_cat-omaggio .col-descrizione{
display:none;
}

.product_cat-omaggio .col-aggiungi{
width:100%!important;
}
@media (min-width: 768px) {
.product_cat-omaggio .col-aggiungi{
width:100%!important;
}
}



/*SOLO ALCUNI VINI PIÙ PICCOLI

.woocommerce ul.products li.product li.post-722 a img{
    height: 35vh;
max-height: 350px;
}
*/


/* BOTTONI WOOCOMMERCE */

.single_add_to_cart_button{
    max-height: 50px;
}
.woocommerce button.button, .woocommerce button.button.alt, .woocommerce .woocommerce-message .button, .woocommerce table.my_account_orders .button, .woocommerce .woocommerce-info .button, .woocommerce a.button, a.edit, .um-button, .woocommerce-cart .wc-proceed-to-checkout a.checkout-button, #submit_virtualpay_payment_form{
    background-color: white;
        color: #846b33;
        border: 1px solid  #846b33;
        border-radius: 0;
        font-weight: normal;
        text-transform: uppercase;
font-family: Muli, sans-serif;
font-size: 90%;
  transition: 0.3s;
}
.woocommerce button.button:hover, .woocommerce button.button.alt:hover, .woocommerce .woocommerce-message .button:hover, .woocommerce table.my_account_orders .button:hover, .woocommerce .woocommerce-info .button:hover, .woocommerce a.button:hover, a.edit:hover, #submit_virtualpay_payment_form:hover{
    background-color: #846b33;
        color: white!important;
        border: 1px solid  #846b33;
        border-radius: 0;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{
	    background-color: #846b33;
        color: white;
        border: 1px solid  #846b33;
        border-radius: 0;
        font-weight: bold;
        text-transform: uppercase;
font-family: Muli, sans-serif;
font-size: 90%;
  transition: 0.3s;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover{
	    background-color: #a68451;
        color: white!important;
        border: 1px solid  #846b33;
        border-radius: 0;
	letter-spacing:2px;
}

#submint_virtualpay_payment_form{font-weight: bold;}

a.edit{
    padding: 10px;
margin-top: 14px;
}


.woocommerce form .form-row {
    text-align: left;
}


/* -- COUPON IN CARRELLO -- */
.coupon input{
    min-width: 200px;
    height: 34px;
    font-family: Muli, sans-serif;
}


.woocommerce-cart table.cart img{
    height: 104px;
    width: auto;
}


@media only screen and (max-width: 768px){
   .woocommerce table.cart td.actions .coupon .input-text, .woocommerce table.cart td.actions .coupon input,

.woocommerce-page table.cart td.actions .coupon .button {
        width:100%;
    }
}


.lps-cart-points{
text-align:center;
}
.lps-cart-points p{
margin-bottom:0;
}


/*  PAGINA CASSA  */
span .select2.select2-container .select2-selection{
 border: 1px solid black !important;   
 font-family: "Muli", Sans-serif;
font-size: .8rem !important;
    color: black!important;
}

span .select2-container--default .select2-selection--single .select2-selection__rendered{
    color: black;
}

.page-header .entry-title{
    display:none;
}

.payment_method_virtualpay label img:last-child{
display:none;
}

li.payment_method_xpay_GOOGLEPAY label{min-width: 300px}

/*checkout se non sei loggato*/
.page-id-9 .woocommerce-form-login-toggle .woocommerce-info, .page-id-9 .um-woocommerce-checkout-register-message .woocommerce-info{
	display: flex;
    flex-direction: column;
    text-align: center;
	    color: #846b33 !important;
    font-family: "Playfair Display", Sans-serif;
    font-size: 1.5rem;
}


/* ALERT DI WOOCOMMERCE */
.cart-empty{
    border-top: 0;
    text-align: center;
    font-size: 1.5rem;
}
.woocommerce-info::before{
display: none;
}

.woocommerce-info{
    padding: 1em 2em 1em 2em;
    border-top: 0;
}


.woocommerce-notices-wrapper{
    width: 35%;
margin-right: auto;
margin-left: auto;
margin-top: 30px;
}

@media only screen and (max-width: 460px) {
    .woocommerce-notices-wrapper{
    width: 80%;
}
}

.woocommerce-MyAccount-content .woocommerce-notices-wrapper{
	display:none;
}



.woocommerce-message{
    border-top:none;
}

.woocommerce-message::before{
    display:none;
}

.woocommerce-form-coupon-toggle{
    display: none;
}

/* -- PAGINA MY ACCOUNT -- */

/*.woocommerce-account .woocommerce-MyAccount-content{
 text-align: center; 
width: 60%;
float: left;
}

.mio-account .woocommerce-account .woocommerce-MyAccount-navigation {
float: left;
width: 15%;
margin-right: 5%;
text-transform: uppercase;
font-size:.8rem;
}

.woocommerce-account .woocommerce-MyAccount-content a{
color: #846b33;
}

.woocommerce-MyAccount-navigation-link{
  list-style-type: none;
}
.woocommerce-MyAccount-navigation-link a:hover{
    color:#846b33;
}

.is-active a{
    color:#846b33 !important;
}*/

/*.woocommerce-MyAccount-navigation ul{
  padding: 0;
  margin-top:10px;
}

.woocommerce-MyAccount-navigation li{
  padding: 0;
  border-bottom: 1px solid #846b33;
}*/


/*.woocommerce-Address{
    text-align: left;
}*/



/*  ULTIMATE MEMBERS */


.um input[type=submit].um-button,
.um a.um-button{
    background-color: white!important;
                border: 1px solid  #846b33!important;
border-radius: 0!important;
        font-weight: normal;
        text-transform: uppercase!important;
  transition: 0.3s;
}

.um input[type=submit].um-button:hover,
.um a.um-button:hover{
     background-color: #846b33!important;
        color: white!important;
}

.um-account-meta-img{
    display: none;
}


.um .um-account-icon{
    display: none;
}

.um .um-account-meta{
    margin-bottom: 40px;
}

.um .um-account-side li{
    background-color: rgba(255, 255, 255, 0);
border-bottom: 1px solid #846b33;
margin-bottom: -1px!important;
}



.um .um-account-heading i{
    display: none;
}

.um .um-account-main div.um-account-heading{
    color: #846b33!important;
    font-family: "Playfair Display", Sans-serif;
font-weight: 400;
font-size: 1.5rem;
}


.um .um-account-main {
padding: 0px 0px 0px 4em;
}

.um .um-account-meta{
    display: none;
}



.um-account-side li a[data-tab=downloads]{
    display: none;
}

.um .um-account-side li[data-tab=downloads]{
    display: none;
}

.um .um-account-side li a {
text-transform: uppercase;
    font-size: 0.8rem;
    padding-top: 12px;
    padding-bottom: 12px;
}

.um .um-account-side li a:hover{
    background: none;
}

.um .um-account-side li a span.um-account-title:hover{
    color:#846b33;
}

.um .um-account-side li a span.um-account-arrow{
    top: auto;
    bottom: auto;
}


.um .um-account-name {
display: none !important;
}

.um .um-account-nav span.ico{
    display: none;
}

.um .um-account-nav a{
    padding-left:0;
    text-transform: uppercase;
}


.um .um-account-nav a[data-tab=downloads]{
    display: none !important;
}

div.uimob800 .um-account-side li a.current {
background: #846b33!important;
}


.um .um-account-side li a[data-tab=downloads]{
    display: none !important;
}


.um .um-misc-img {
    display: none;
}


.um .um-form .um-misc-with-img{
    color: #846b33;
    font-size: 1.5rem;
/*    font-family: "Playfair Display", Sans-serif;
    font-weight: 400!important;*/
    text-transform: uppercase;
}

.um-misc-ul li{
    list-style-type: none;
    text-align: center;
    text-transform: uppercase;
    padding-top:15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #846b33;
}

.um-misc-ul li a:hover{
    color: #846b33;
}



.cn-button.wp-default{
    background-color: white;
    color: #846b33;
    border-radius: 0;
    border: 1px solid #846b33;
    text-transform: uppercase;
}

.cn-button.wp-default:hover{
    background-color: #846b33;
    color: white;
}

.cookie-notice-container .cn-text-container a{
    color: white;
    font-weight: bold;
}

/*--data picker--*/

.picker__box, .picker__header{
    background: #846b33;
}

.um table.picker__table tbody>tr:nth-child(odd)>td{
    background-color: #846b33;
}

.um table.picker__table tbody>tr:nth-child(even)>td{
    background-color: #d2b486;
}

.um .picker__footer{
    background: #fff;

}

.um .picker__select--year {
    margin-bottom: 10px!important;
	    margin-top: -18px!important;
}

.um .picker__header {
	padding: 25px 0 18px 0!important;
}

.um .picker__nav--prev, .um .picker__nav--next {
	top: 48px!important;
}

.um .picker__nav--prev:hover, .um .picker__nav--next:hover {
	background: #846b33;
}

.um .picker__button--today:hover, .um .picker__button--clear:hover{
	    background: #846b33!important;
}

.um .um-field-group-head:hover, .picker__day--infocus:hover, .picker__day--outfocus:hover, .picker__day--highlighted:hover, .picker--focused .picker__day--highlighted {
    background: #836d4a!important;
}

.um table.picker__table:hover tbody>tr:nth-child(odd)>td, .um table.picker__table:hover tbody>tr:nth-child(odd)>th{
    background-color: #846b33;
}


/*--SINGOLO VINO--*/

.elementor-posts--align-left .elementor-post {
align-items: flex-end;
}

.woocommerce div.product.elementor .quantity .qty{
    border-radius: 0;
}

.elementor-posts-container .elementor-post__thumbnail img{
    height: 150px;
    object-fit: contain;
}
.elementor-posts--thumbnail-left .elementor-post__thumbnail__link{
    width: 90px!important;
}

.single-product .woocommerce-error{
	display:none;
}




/* PRODOTTO ESAURITO */

/* nella pagina vini */

li.outofstock {
    opacity: 0.6;
}

li.outofstock {
    opacity: 0.6;
/*	padding-bottom: 24px !important; */
}

li.outofstock a.button.product_type_simple{
    display: none;
}

li.outofstock::after{
    content: "Esaurito";
    font-size: 0.9rem;
    font-style: oblique;
	color: var( --e-global-color-primary );
}

/* nel singolo vino */
.woocommerce div.product .out-of-stock{
color: var( --e-global-color-primary );
font-style: oblique;
	margin-top: 4px;
}



/* cookie bar */

#cookie-notice{
z-index: 3;
}

/*livechat*/

.livechat_button {
  max-width: 6vw; 

}
@media only screen and (max-width: 460px) {
	.livechat_button{
		width:90px;
	}
}
	

/*per loyality system*/
.single-product :is(.elementor-widget-woocommerce-product-add-to-cart,.single-product .woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart,.single-product .elementor-widget-wc-add-to-cart,.single-product .woocommerce div.product .elementor-widget-wc-add-to-cart) form.cart:not(.grouped_form):not(.variations_form){
    align-items: center;
}
.lps-gift-notice{
margin-right:15px;
}


	
/*** accessibilità ***/ 

.page-id-136	.elementor-kit-494 h1 {
		font-size:20px!important;
	}
	

/* Nasconde dal tab quando il carrello è chiuso */
/***** nascondo gli elementi del mini carrello di woocommerce dalla navigazione da tastiera quando il carrello è chiuso *****/


.elementor-menu-cart__toggle_wrapper:not(:hover) .elementor-menu-cart__container {
    visibility: hidden;
}

.elementor-menu-cart__toggle_wrapper:not(:hover) .elementor-menu-cart__container * {
    tabindex: -1;
}

/* Mostra il mini-carrello quando l'icona ha il focus */
.elementor-menu-cart__toggle:focus + .elementor-menu-cart__container,
.elementor-menu-cart__toggle_wrapper:focus-within .elementor-menu-cart__container {
    visibility: visible;
}


