/*
Theme Name:   	Storefront Child
Theme URI:    	https://github.com/stuartduff/storefront-child-theme
Author:       	Logogramma
Author URI:		https://logogramma.com
Template:     	storefront
Description:  	This is a blank child theme for WooThemes StoreFront theme
Version:      	1.0.0
License:      	GNU General Public License v2 or later
License URI:  	http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  	storefront
Tags:         	black, white, light, two-columns, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, threaded-comments, accessibility-ready
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
Storefront is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.
Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
FontAwesome License: SIL Open Font License - http://scripts.sil.org/OFL
Images License: GNU General Public License v2 or later
*/
/*
 * Add your own custom css below this text.
 */
/* 
Theme Name: Storefront Child 
Version: 4.2.1 
Description: Child theme for Storefront. 
Author: Woo
Author URI: http://woocommerce.com 
Template: storefront 
*/  

/* --------------- Theme customization starts here ----------------- */

/*allarga la dimensioine del sito*/
.col-full {
	max-width: 1360px;
}
.custom-logo-link > img{
	padding: 2px;
}

/* STICKY HEADER */
#masthead {
		position: fixed;
		top: 0;
		width: 100%;
}
/*posiziona il content + in basso per evitare accavallamento*/
	


@media screen and (min-width: 768px) {

#content{
		margin-top: 300px !important;
	}

  	/*resizing the logo image */
	#masthead.sticky .custom-logo-link img {
		width: auto;
		height: 50px;
		margin-top: 5px;
	}
  
	/*positioning the main-navigation */
	#masthead.sticky .main-navigation {
		text-align: right;
		position: fixed;
		top: 0;
		right: 300px;
		padding: 0;
		width: auto;
	}
  	
	
	/*positioning the logo*/
	#masthead.sticky .custom-logo-link {
		position: fixed;
		top: 0;
		margin-top: 20px;
		padding: 0;
	}
	
    /*adjusting default margins and paddings*/
    #masthead.sticky .site-header-cart .cart-contents{
        padding:1em 0;
    }
    #masthead.sticky .main-navigation ul.menu>li>a, .main-navigation ul.nav-menu>li>a {
        padding: 1em 1em;
		
    }
    #masthead.sticky .site-branding{
        margin-bottom: 1em;
    }
	
	/*positioning the cart-menu */
	#masthead.sticky .site-header-cart {
		width: 14% !important;
		position: fixed !important;
		top: 0;
		right: 12%;
		padding: 0;
		margin-top: 30px;
	}
	
	/*applying the position fixed on the masterhead */
	#masthead.sticky{
		position: fixed;
		top: 0;
		width: 100%;
	}
    /*removing the site search*/
    #masthead.sticky .site-search{
        display:none;
    }
	
} 

/* STICKY HEADER */

/*MENU LATERALE CATEGORIE PRODOTTI TREEVIEW */
ul, .wc-block-product-categories-list--depth-0 {
  list-style-type: none;
}

.wc-block-product-categories-list--depth-0 {
  margin: 0;
  padding: 0;
}
.padre::before {
	font-size: 15px;
	/*vertical-align: middle;*/
  content: "\2B";
  color: black;
  display: inline-block;
  margin-right: 6px;
 
  
}
/*qui iniza la modifica per il parent */

.wc-block-product-categories-list-item-caret-down::before {
	 content: "\2D"; 
	 font-size: 15px;
	vertical-align: middle;
	
    
  /*-ms-transform: rotate(90deg);  IE 9 */
  /*-webkit-transform: rotate(90deg);  Safari */'
  
 
}

.wc-block-product-categories-list--depth-1 {
  display: none;
}

.active {
  display: block;
}

/*Allineamento immagini prodotti */
/*.type-product > a > img{
	min-height: 209px !important;
	max-height: 324px !important;
}

.type-product  > a > img{
	min-height: 209px !important;
	max-height: 209px !important;
}
*/

p{
	color:black;
}
.prezzi-iva{
	border: 2px solid #84c34f;
}
.prezzi-iva:hover, .prezzi-iva:hover p{
	color: white !important;
	background-color: #b3b3b3;
}
.clienti-servizi:hover, .clienti-servizi:hover p{
	color: white !important;
	background-color: #b3b3b3;
}
.clienti-servizi{
	border: 2px solid #84c34f;
}
.onsale{
	color: white !important;
	background-color: red !important;
	border: none;
}
.ui-widget-content a{
	color: white;
}
.gtm4wp_productdata{
	color:green !important;
}
@media only screen and (min-width: 600px) {
.product_type_simple{
	padding: 9px 2px;
	width: 100%;
	position: absolute;
	border-radius: 5px;
	margin-left: 3px;
}
.add_to_cart_button{
	width: 100%;
	border-radius: 5px;
	position: initial;
}
.xoo-wl-btn-container{
	width: 50%;
}
	.attachment-woocommerce_thumbnail{
	padding: 1px !important;	
	}
}
/*.woocommerce-loop-product__title{
	min-height: 40px;
}*/
/*MENU LATERALE CATEGORIE PRODOTTI TREEVIEW */

/*moodifica icone home*/
.icone-home{
	margin: 0 10px 10px 0;
}
.testo-icone-home{
	line-height:1;
}

/*Sezione Illuminazione*/
#bg_illuminazione{
	background-image: url(/wp-content/uploads/2022/11/night-shot-g090740035_1920-1-1024x486-1.webp);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top;
	min-height: 200px !important;
    margin-bottom: -20px;
	
}
.illuminazione{
	text-align:center;
	color:#ffffff !important;
	font-weight:500;
	margin-top: 60px;
	margin-bottom: 20px;
}
.site-header-cart .cart-contents{
	padding: 1em 0;
}

/*Attributi prodotti singoli*/
.woocommerce-product-attributes-item__label, .woocommerce-product-attributes-item__value{
	text-transform: uppercase !important;
}


/*METTO IL BADGE DEI PRODOTTI IN OFFERTA SULL'IMMAGINE */
ul.products li.product .onsale {
position: absolute;
top: 0px;
right: 0px;

}

/*QUESTO CSS RISOLVE IL PROBLEMA DELLO STICKY CON LA BARRA DI RICERCA E LE LIBRERIE REACT*/
.sticky {
     position: fixed !important; 
}
#masthead.sticky{
	height: 130px;
}
/*QUESTO CSS RISOLVE IL PROBLEMA DELLO STICKY CON LA BARRA DI RICERCA E LE LIBRERIE REACT*/

.cart-contents{
	float: right;
}
/*QUESTO CSS METTE LA SIDEBAR SULLA DESTRA PER I SINGOLI PRODOTTI*/
@media only screen and (min-width: 600px) {
.single-product #secondary {
        float: right;
        margin-left: -100%;
        max-width: 200px;
        position: relative;
        
}
.single-product #primary{
	float:left !important;
}
}
/*FINE*/

a:focus{
	outline-color: #ffffff !important;
}

.woocommerce-loop-product__title {
display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}
@media only screen and (min-width: 600px) {
/*sidebar prodotti*/
	#secondary{
	max-width: 250px !important;	
	}
#secondary li.product{
	 columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
}
#secondary > a.button, .xoo-wl-btn-container{ 
	display: none !important;
}

	#secondary .correlati .price{
		display: none;
		line-height:1;
		text-align: left;
	}
#secondary .correlati h2{
	display: -webkit-box;
	-webkit-line-clamp: 3;
  -webkit-box-orient: vertical;  
  overflow: hidden;
	margin-top: 80px !important;
	text-align: left;
}
#secondary .correlati .onsale {
    top: 70px;
}
	#secondary .correlati .add_to_cart_button, #secondary .correlati .product_type_simple{
		display: none;
	}
	#secondary li.product{
		margin-bottom: 0px !important;
	}
	
	#secondary .correlati .size-woocommerce_thumbnail
		{display: inline-block;
		object-fit: contain; 
		max-width: 100%;
		height: 80px !important;
		width: 80px !important;}
	}
    #secondary .correlati .woocommerce-LoopProduct-link  {max-height: 180px !important;}

.storefront-product-pagination{
	display: none;
}
	/*colore per le scritte aggiuntive nella pagina del singolo prodotto*/
	.info-aggiuntive{
	color: #84c34f;}
		
#secondary .correlati {			
	background-color: #f7f7f7;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 10px;
}

}