/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/



/* FOOTER - margin top */
.site-footer { margin-top: 60px;}


/* CART  */
.woocommerce-cart-form input.qty { width: 60px !important;} /* campo q.tà */
.cart-collaterals .woocommerce-shipping-destination { display: none !important;}  /* CART - nascondo indirizzo sped. sotto "spese sped" */
.cart-collaterals .woocommerce-remove-coupon { display: none !important;}  /* CART - nascondo link "rimuovi coupon" */
.woocommerce-cart-form dd.variation-Colore p span { background-color: transparent !important;} /* Lumise: tolgo background colore */

/* CART Desktop styling */
@media (min-width: 768px) {
	.woocommerce-cart table.cart img { width: 100px !important; }
}


/* CHECKOUT - nascondo sezione Fatturazione nome/cognome/azienda/email/phone (altri campi rimossi in function.php) */
form.checkout .woocommerce-billing-fields { display: none !important;} 	/* 18.03.2024 TMP DISABLED */
form.checkout #ship-to-different-address { display: none !important;} 
form.checkout .woocommerce-remove-coupon { display: none !important;}  /* nascondo link "rimuovi coupon" */
form.checkout #order_comments_field { display: none !important;} 	/* 08.05.2024 richiesta di Silvia (se si disabilita il campo nel backoffice non si vedono più le note dei vecchi ordini) */

/* CHECKOUT > ORDER */
.woocommerce-order .woocommerce-column--shipping-address {margin-top: 20px !important;}

/* CHECKOUT (17.12.2022) - Non vengono più visualizzati i quadratini dei checkbox (Chrome+Safari), styling std era "inline" */
.woocommerce form .form-row .input-checkbox {
	display: inline-block !important;	
}

/* CHECKOUT + MY ACCOUNT addresses 01.2022 */
.woocommerce form .form-row-first, 
.woocommerce form .form-row-last, 
.woocommerce-page form .form-row-first, 
.woocommerce-page form .form-row-last {
	width: 49% !important;
}
.my_to_diff {
	width: 49%;
	padding-top: 20px !important; 
	padding-bottom: 20px !important; 
}
.woocommerce form .form-row {
	margin-bottom: 0px !important;
}
#shipping_my_to_diff_field label {
	font-weight: bold;
}
#shipping_my_to_diff_field {
	margin-top: 20px !important;	
}
#shipping_my_dest_heading_field h3{
	margin-bottom: 10px;
}
.woocommerce-additional-fields {
	padding-top: 20px !important; 	
}
button[name=save_address] {
	margin-top: 30px !important;
}


/* MY ACCOUNT > ORDERS colonna custom ship-to */
.woocommerce table.my_account_orders .woocommerce-orders-table__header.woocommerce-orders-table__header-order-ship-to {width: 180px !important;}
.woocommerce table.my_account_orders .button {margin-top: 1px !important; margin-right: 1px !important;}

/* MY ACCOUNT > ORDERS nascondo bottone REORDER by Lumise (non funziona, atteso fix next release in August 2021) */
a.reorder {display: none !important;}


/* MY ACCOUNT > VIEW ORDER styling attachments (plugin Attach Me!)	
#wcam-frontend-box {
	margin-bottom: 60px !important;
}
#wcam-frontend-box .wcam_responsive_column {
	width: 100% !important;
	border: 1px solid #cecece !important;
	padding: 10px;
}
#wcam-form-box .wcam_responsive_column:not(:first-of-type) {
    margin-top: 30px !important;
}
#wcam-form-box #wcam-save-button {
	margin-top: 40px !important;
    width: 100% !important;
}
*/


/* MY ACCOUNT > VIEW ORDER styling chat (plungin WooConv) - Con "RICH TEXT EDITOR"
.wooconvo-send { margin-bottom: 30px;}
.chat-container { max-height: 600px;  font-size: 80%; background-color: rgba(1,19,41,0.4) ;}
.chat-container h4 { font-size: 14px; margin-top: 10px; }	// etichetta "Total files: 2" 
.chat-container ul {  list-style: none; margin: 0 0 0 0; } 	// rimuovo TUTTI <ul> <li>  marker e indenzazione (lista files aveva questo styling) 
.chat-container ul li { padding: 0px !important; }
.wooconvo-send .msg p { white-space: normal;  }				// era "pre-line", rimuovo riga bianca fra NomeUtente e 1^ riga chat 
#wooconvo-send { background-color: rgba(1,19,41,0.4); padding: 20px; margin-bottom: 60px;}
#nm-uploader-area-wooconvo_file { background-color: transparent;}	// sezione bottone SELEZIONA FILES 
#nm-uploader-area-wooconvo_file .btn_center { padding-top: 0px;}
.nm-uploader-area .container_buttons { height: auto; } */

/* MY ACCOUNT > VIEW ORDER styling chat (plungin WooConv) - Senza "RICH TEXT EDITOR" */
.chat-container h4 { font-size: 14px; margin-top: 10px; }	/* etichetta "Total files: 2" */
.chat-container ul {  list-style: none; margin: 0 0 0 0; } 	/* rimuovo TUTTI <ul> <li>  marker e indenzazione (lista files aveva questo styling) */
.chat-container ul li { padding: 0px !important; }
.wooconvo-send .msg p { white-space: normal;  }				/* era "pre-line", rimuovo riga bianca fra NomeUtente e 1^ riga chat */
#wooconvo-send { background-color: /* rgba(1,19,41,0.4); */ margin-bottom: 60px;}
#nm-uploader-area-wooconvo_file { background-color: transparent; margin-bottom: 60px !important;}	/* sezione bottone SELEZIONA FILES */
#nm-uploader-area-wooconvo_file .btn_center { padding-top: 0px;}
.nm-uploader-area .container_buttons { height: auto; } 
input.nm-wooconvo-send { background-color: #1e73be !important; }
.wooconvo-send .msg { max-width: 950px;}
	/* #sending-order-message { top: 60px; right: 0px;} */
#sending-order-message { top: 65px; right: 45px; z-index: 99999; text-align: right; color: black; font-size: 14px;}	/* spinnig invio msg + "Messaggio inviato" */
	/* Aggiunte 06.04.2021 - Aumento altezza textarea del msg (per vedere più righe) + bottone "Invia messaggio" */
input.nm-wooconvo-send { height: 90px !important; width: 200px !important;  }
textarea.wooconvo-textarea { height: 90px !important; width: calc(100% - 200px) !important; }

/* MY ACCOUNT > VIEW ORDER tracking code 	*/
.view-order-tracking { padding: 20px; background-color: rgba(1,19,41,0.1); margin-bottom: 60px;}
.view-order-tracking h4 { margin: 0; }


/* MY ACCOUNT > EDIT ACCOUNT (rinominato in CAMBIA PASSWORD) */
@media (min-width: 768px) {
	form.woocommerce-EditAccountForm.edit-account { width: 50% !important; }
}
.woocommerce-EditAccountForm .woocommerce-Button { margin-top: 30px !important}

/* MY - ACCOUNT  > Gestione Budget TL e AM */
input.budget_user { width: 120px !important; } 
.budget_totale { font-size: 18px; margin-top: 40px; margin-bottom: 40px;}

/* PRODUCT SINGLE */
.single-product .quantity { display: none !important;}	/* nascondo quantità */
.single-product .product_meta .posted_in { display: none !important;} /* nascondo Categorie */
.single-product .lumise-customize-button,
.single-product .single_add_to_cart_button { text-align: center !important; width: 100% !important; margin-top: 20px !important;}


/* LOOP PRODUCTS (catalogo - shop) */
.woocommerce ul.products li.product .woocommerce-LoopProduct-link h2 { 		/* nome prodotto */
	font-weight: 500 !important; 
	font-size: 17px !important;
	text-transform: uppercase !important; 
	color: #c5c5c5 !important;		/* era rosso scuro > rgba(255, 255, 255, 0.6) */
} 

/*
Body text color #222222;	
*/
/* WooCommerce color buttons */
	.woocommerce #content input.button:hover, .woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce-page #content input.button:hover, .woocommerce-page #respond input#submit:hover, .woocommerce-page a.button:hover, .woocommerce-page button.button:hover, .woocommerce-page input.button:hover {	
		background-color:#55555e !important;	
		color:white !important;
		text-shadow: transparent !important;
		box-shadow: none;
		border-color:#55555e !important;	
	}
	
	.woocommerce #content input.button, .woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce-page #content input.button, .woocommerce-page #respond input#submit, .woocommerce-page a.button, .woocommerce-page button.button, .woocommerce-page input.button {
		background-color:#011329 !important;	/* old #f0b32f */
		color:white !important;
		text-shadow: transparent !important;
		border-color:#011329 !important;	/* old #f0b32f */
	}
	
	.woocommerce #content input.button.alt:hover, .woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover, .woocommerce-page #content input.button.alt:hover, .woocommerce-page #respond input#submit.alt:hover, .woocommerce-page a.button.alt:hover, .woocommerce-page button.button.alt:hover, .woocommerce-page input.button.alt:hover {
		background-color:#55555e !important;
		box-shadow: none;
		text-shadow: transparent !important;
		color:white !important;
		border-color:#c5c5c5 !important;	/* old #f0b32f */
	}
/* end WooCommerce colors & styling */	

/* Lumise buttons Shop */
body .woocommerce .products .product .lumise-list-button, body.woocommerce .products .product .lumise-list-button {
    background-color: #f0b32f !important;	/* old #f0b32f */
    color: #fff !important;
    display: inline-block;
    transition: all 0.3s ease 0s;
    line-height: inherit !important;
    width: auto;
    padding: 12px 20px;
    border-radius: 2px;
    margin: 0 2px;
}
/* */

/* GENERALE - background sito */
div.inside-article { 
	/* background-color: rgba( 255, 255, 255, .5 ) !important; */
	padding: 20px !important; 
}


/* HOME colore blue diversa da altre pagine */
.home,
.home div.inside-article { background-color: #011329 !important;}
.home .page-title { color: #c5c5c5 !important; }
.home #content { box-shadow: 0px 0px 40px black !important;}
.post-type-archive-product ul.products {  row-gap: 60px; }	/* spazio fra righe del grid prodotti */

/* MY ACCOUNT page solo se SLOGGATO */
/* .page-id-85:not(.logged-in) { background-color: #011329 !important;} */
.page, .single { background-color: #011329 !important;}
.single .site-content { background-color: white;}

/* CF7 form styling */
.my_full_width { width: 100%}

/* Password con plugin "Password policies" */
.pass-strength-result ul { margin-bottom: 0 !important;}

/* Prodotti single > tabella taglie  */
table.guida-tg-table {
	font-size: 70%; 
	text-align: center;
    width: 100%;
    table-layout: fixed;
}
table.guida-tg-table th:nth-child(1) {  
	width: 80px !important;
}
table.guida-tg-table td, table.guida-tg-table th {
	padding: 2px !important;
}


/* Sezione INDIRIZZI in MY ACCOUNT > VIEW ORDER + THANK YOU PAGE (01.2022)	*/
.woocommerce-customer-details .woocommerce-columns--addresses h2.woocommerce-column__title {	/* Dati utente, Dati PDV, Indirizzo di spedizione */
	margin-bottom: 0px !important;
	margin-top: 20px !important;
}

/*
button.btn_year:active,
button.btn_year:target {
	background-color: red !important;
}
*/
button.btn_year.selected {
	background-color: #55555e  !important;
	font-weight: bold;
}
button.btn_year:not(.selected) {
	background-color: #dadada !important;
	font-weight: normal;
}



.woocommerce-page #content input.button.update_budget,
.woocommerce-page input.button.update_budget,
.woocommerce input.button.update_budget {background-color: green !important;}


/* Single product - Out of stock label */
p.out-of-stock {
	font-size: 20px !important;
	color: #de0000;
	text-transform: uppercase;
	font-weight: bold;
	background-color: #80808029;
	text-align: center;
}

/* Product archive - Badge Esaurito */
/* CSS */
.soldout {
padding: 3px 8px;
text-align: center;
background: #de0000;
color: white;
font-weight: bold;
position: absolute;
top: 6px;
right: 6px;
font-size: 14px;
}
