/*
Theme Name: Giglio ceramiche
Description: Tema personalizzato per azienda di Ceramiche Giglio
Author: Francesca Salvini per Grafico Alessandro Lucarelli
Author URI: https://www.francescasalvini.it
Version: 1.0
Text Domain: cergiglio
Template: etruscan
*/


/* TOP AREA */
#qodef-top-area .widget a { color: #fff; }
#qodef-top-area .qodef-social-icons-group .qodef-icon-holder .qodef-icon { border: 1px solid #cdcdcd; padding: 3px; border-radius: 3px; font-size: 13px; }
#qodef-top-area #qodef-top-area-inner { border-bottom-width: 0; }
#qodef-top-area-inner .qodef-widget-holder-outer { padding-top: 5px; }
#qodef-top-area-inner::after {
	content: "";
	height: 1px;
	width: 100%;
	position: absolute;
	background: radial-gradient(circle, rgba(255, 255, 255, 0) 15%, rgb(255, 255, 255) 100%);
	right: 0;
	top: 42px;
}

/* HEADER */
#qodef-page-header-inner { margin-top: -18px; }
.qodef-header-navigation ul li.qodef-menu-item--narrow .qodef-drop-down-second-inner > ul.sub-menu { width: 260px; }

/* submenu mega menu */
.qodef-header-navigation ul li.qodef-menu-item--wide .qodef-drop-down-second { height: fit-content !important; padding: 15px 0; }
.qodef-menu-item--wide .qodef-drop-down-second .qodef-content-grid { column-count: 4; }
.qodef-header-navigation ul li.qodef-menu-item--wide .qodef-drop-down-second-inner > ul { display: block; padding: 0; }
.qodef-header-navigation ul li.qodef-menu-item--wide .qodef-drop-down-second-inner > ul li { padding: 5px 0 10px; }

/* LOGO */
body:not(.qodef-header--sticky-display) #qodef-page-header .qodef-header-logo-link { top: -5px; position: absolute; }

/* SWITCH LANGUAGE */
#qodef-page-header .widget_icl_lang_sel_widget .wpml-ls-legacy-list-horizontal ul li { margin-right: 20px !important; }
#qodef-page-header .widget_icl_lang_sel_widget .wpml-ls-legacy-list-horizontal ul li:last-child { margin-right: 0 !important; }
.widget_icl_lang_sel_widget a { text-transform: uppercase; font-size: 12px; }


/* FOOTER */
#qodef-page-footer-top-area .qodef-grid > .qodef-grid-inner > .qodef-grid-item { padding: 0 0 0 15px; }
#qodef-page-footer-top-area-inner.qodef-layout-columns--3-predefined > #qodef-page-footer-top-area-inner-2 > .qodef-grid > .qodef-grid-inner > .qodef-grid-item:nth-child(2) { padding-left: 60px; }

#qodef-page-footer-top-area .qodef-grid-inner .qodef-grid-item:nth-child(3) #block-12.widget_text { font-family: "Cormorant"; font-size: 24px; text-align: center; color: #fff; }

#qodef-page-footer.qodef-skin--light .widget .textwidget * { color: #fff !important;}
#qodef-page-footer-top-area .qodef-grid-inner .qodef-grid-item:nth-child(3) #block-12.widget_text p { margin-top: 0;}

/* credits */
#qodef-page-footer-bottom-area .qodef-grid.qodef-layout--columns.qodef-col-num--2 > .qodef-grid-inner > .qodef-grid-item:first-child { text-align: left; }
#qodef-page-footer-bottom-area .qodef-grid.qodef-layout--columns.qodef-col-num--2 > .qodef-grid-inner > .qodef-grid-item:last-child { text-align: right; }

#qodef-page-footer-bottom-area .qodef-grid.qodef-layout--columns.qodef-col-num--2 > .qodef-grid-inner > .qodef-grid-item:last-child p { margin: 0 60px 0 0; }

/************************ GENERICO *****************************************************/
.hidden { display: none; }

.price { display: none !important; } /*nascondo il prezzo*/

/* effetto zoom su hover image */
.qodef-woo-product-list .qodef-woo-product-image { overflow: hidden; border: 1px solid #f5f5f5; }
.qodef-woo-product-list .qodef-woo-product-image img { transition: all .3s ease-out; }
.qodef-woo-product-list .qodef-woo-product-image-inner { display: none; }
.qodef-woo-product-list .qodef-woo-product-image:hover img { transform: scale(1.03); }
.qodef-woo-product-list .qodef-e-inner:hover .qodef-woo-product-mark { opacity: 1;}
/**/



/************************ HOMEPAGE *****************************************************/
/* LISTING CATEGORIA DI PRODOTTI ( COLLEZIONI ) */
.my-product-category-list .product-category .qodef-e-img-holder { border: 1px solid #f5f5f5; }
.my-product-category-list.qodef-qi-woo-product-category-list.qodef-item-layout--info-on-image-boxed .product-category .woocommerce-loop-category__title {
	position: relative;
	bottom: 0;
	left: 0;
	background-color: transparent;
	width: auto;
	text-align: left;
	padding: 10px 10px 10px 0;
	transform: none;
}

/* google-map-iframe */
.my-google-map-iframe iframe { filter: grayscale(100%); }



/************************ LISTING PRODOTTI *****************************************************/
.qodef-woo-results .woocommerce-ordering { display: none; } /*nascondo ordinamento del listing*/
.qodef-woo-product-excerpt { display: none; } /*nascondo excerpt del listing*/




/************************ SINGLE PRODOTTO ***************************************************/
/* nascondo il titolo dal header */
.single-product .qodef-page-title .qodef-m-title { display: none; }
/* titolo nella pagina */
.qodef-h1, h1 { text-transform: uppercase; }

/* gallery */
.woocommerce-product-gallery__wrapper img { border: 1px solid #f5f5f5; }

/* variazioni texture */
.variations_form th.label { display: none; }
.variations_form ul li { border-radius: 0 !important; border: 0; }
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):focus, .woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item), .woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):focus, .woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):hover { box-shadow: none; }

/* stock */
.variations_form .stock.out-of-stock { display: none; }


/* meta */
#qodef-woo-page.qodef--single .product_meta, #yith-quick-view-content.single-product .product_meta { margin-top: 0; }
#qodef-woo-page.qodef--single .qodef-social-share, #yith-quick-view-content.single-product .qodef-social-share { display: none; }

/* TABS */
#qodef-woo-page.qodef--single .woocommerce-tabs { width: calc(50% - 24px);}
#qodef-woo-page.qodef--single .woocommerce-tabs { margin-top: 50px; }
#qodef-woo-page.qodef--single .woocommerce-tabs .wc-tabs {
	background: #f5f5f5;
	padding: 3px 10px;
}
/* tabella delle informazioni con tutte le misure del prodotto */
.custom-table-product tr, .custom-table-product td, .custom-table-product th { border: 0; }
.custom-table-product th { font-family: Cormorant,serif; font-style: italic; font-weight: 400; font-size: 18px; }

#qodef-woo-page.qodef--single .addText { margin-top: 25px; font-size: 12px; font-style: italic; }
.mycustom-category-section { margin-top: 100px; }

#qodef-woo-page.qodef--single form.cart .variations, #yith-quick-view-content.single-product form.cart .variations {
  margin-bottom: 15px;
}



/* override di alcune regole css che non funzionano perchè fatte sul tag html e non sulla classe */
#qodef-woo-page.qodef--single .woocommerce-product-gallery .woocommerce-product-gallery__wrapper,
#yith-quick-view-content.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
  position: relative;
  margin: 0 -12px;
}
#qodef-woo-page.qodef--single .woocommerce-product-gallery .woocommerce-product-gallery__wrapper a, #qodef-woo-page.qodef--single .woocommerce-product-gallery .woocommerce-product-gallery__wrapper img,
#yith-quick-view-content.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper a,
#yith-quick-view-content.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper img {
  display: block;
  width: 100%;
}
#qodef-woo-page.qodef--single .woocommerce-product-gallery .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image,
#yith-quick-view-content.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image {
  position: relative;
  width: calc(100% - 24px) !important;
  margin: 0 12px;
  overflow: hidden;
}
#qodef-woo-page.qodef--single .woocommerce-product-gallery .woocommerce-product-gallery__wrapper > .qodef-woo-thumbnails-wrapper .woocommerce-product-gallery__image,
#yith-quick-view-content.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper > .qodef-woo-thumbnails-wrapper .woocommerce-product-gallery__image {
  position: relative;
  padding: 0 12px;
  margin-top: 24px;
}
#qodef-woo-page.qodef--single .woocommerce-product-gallery.qodef-position--left .woocommerce-product-gallery__wrapper,
#yith-quick-view-content.single-product .woocommerce-product-gallery.qodef-position--left .woocommerce-product-gallery__wrapper {
  display: flex;
  flex-direction: row-reverse;
}
#qodef-woo-page.qodef--single .woocommerce-product-gallery.qodef-position--left .woocommerce-product-gallery__wrapper a, #qodef-woo-page.qodef--single .woocommerce-product-gallery.qodef-position--left .woocommerce-product-gallery__wrapper img,
#yith-quick-view-content.single-product .woocommerce-product-gallery.qodef-position--left .woocommerce-product-gallery__wrapper a,
#yith-quick-view-content.single-product .woocommerce-product-gallery.qodef-position--left .woocommerce-product-gallery__wrapper img {
  height: 100%;
  object-fit: cover;
}
#qodef-woo-page.qodef--single .woocommerce-product-gallery.qodef-position--left .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image,
#yith-quick-view-content.single-product .woocommerce-product-gallery.qodef-position--left .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image {
  width: calc(100% - 27%) !important;
}
#qodef-woo-page.qodef--single .woocommerce-product-gallery.qodef-position--left .woocommerce-product-gallery__wrapper > .qodef-woo-thumbnails-wrapper,
#yith-quick-view-content.single-product .woocommerce-product-gallery.qodef-position--left .woocommerce-product-gallery__wrapper > .qodef-woo-thumbnails-wrapper {
  width: 27%;
}
@media screen and (min-width: 681px) {
  #qodef-woo-page.qodef--single .woocommerce-product-gallery.qodef-position--left .woocommerce-product-gallery__wrapper > .qodef-woo-thumbnails-wrapper .woocommerce-product-gallery__image,
  #yith-quick-view-content.single-product .woocommerce-product-gallery.qodef-position--left .woocommerce-product-gallery__wrapper > .qodef-woo-thumbnails-wrapper .woocommerce-product-gallery__image {
    width: 100%;
  }
}
#qodef-woo-page.qodef--single .woocommerce-product-gallery.qodef-position--left .woocommerce-product-gallery__wrapper > .qodef-woo-thumbnails-wrapper .woocommerce-product-gallery__image:first-child,
#yith-quick-view-content.single-product .woocommerce-product-gallery.qodef-position--left .woocommerce-product-gallery__wrapper > .qodef-woo-thumbnails-wrapper .woocommerce-product-gallery__image:first-child {
  margin-top: 0;
}
#qodef-woo-page.qodef--single .woocommerce-product-gallery.qodef-position--below .woocommerce-product-gallery__wrapper > .qodef-woo-thumbnails-wrapper,
#yith-quick-view-content.single-product .woocommerce-product-gallery.qodef-position--below .woocommerce-product-gallery__wrapper > .qodef-woo-thumbnails-wrapper {
  display: flex;
  flex-wrap: wrap;
}
@media only screen and (max-width: 680px) {
  #qodef-woo-page.qodef--single .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .woocommerce-product-gallery__wrapper > .qodef-woo-thumbnails-wrapper .woocommerce-product-gallery__image {
    width: 50% !important;
  }
  #qodef-woo-page.qodef--single .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .woocommerce-product-gallery__wrapper > .qodef-woo-thumbnails-wrapper .woocommerce-product-gallery__image {
    width: 50% !important;
  }
  #qodef-woo-page.qodef--single .woocommerce-product-gallery.woocommerce-product-gallery--columns-6 .woocommerce-product-gallery__wrapper > .qodef-woo-thumbnails-wrapper .woocommerce-product-gallery__image {
    width: 50% !important;
  }
  #qodef-woo-page.qodef--single .woocommerce-product-gallery.woocommerce-product-gallery--columns-7 .woocommerce-product-gallery__wrapper > .qodef-woo-thumbnails-wrapper .woocommerce-product-gallery__image {
    width: 50% !important;
  }
  #qodef-woo-page.qodef--single .woocommerce-product-gallery.woocommerce-product-gallery--columns-8 .woocommerce-product-gallery__wrapper > .qodef-woo-thumbnails-wrapper .woocommerce-product-gallery__image {
    width: 50% !important;
  }
  #qodef-woo-page.qodef--single .woocommerce-product-gallery.qodef-position--left .woocommerce-product-gallery__wrapper {
    flex-wrap: wrap;
  }
  #qodef-woo-page.qodef--single .woocommerce-product-gallery.qodef-position--left .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image {
    width: 100% !important;
  }
  #qodef-woo-page.qodef--single .woocommerce-product-gallery.qodef-position--left .woocommerce-product-gallery__wrapper > .qodef-woo-thumbnails-wrapper {
    width: 100% !important;
    display: flex;
    flex-wrap: wrap;
  }
  #qodef-woo-page.qodef--single .woocommerce-product-gallery.qodef-position--left .woocommerce-product-gallery__wrapper > .qodef-woo-thumbnails-wrapper .woocommerce-product-gallery__image:first-child {
    margin-top: 24px !important;
  }
}
/* FINE OVVERIDE CSS */

/************************ LA NOSTRA STORIA ********************************************/
.page-id-9298 .qodef-page-title .qodef-m-title.entry-title { width: 42%; }
	
	
/************************ AZIENDA ********************************************/
.storia-chief-1, .storia-chief-2 {}
.storia-team .storia-container-team .elementor-image-box-img { height: 470px; overflow: hidden; }
.storia-team .storia-container-team .elementor-image-box-img img {
	object-fit: cover;
	width: 100%;
	object-position: bottom left;
	height: 100%;
}
	
/************************ CONTATTI ***************************************************/
.wpcf7-not-valid-tip {
	font-size: 0.8em;
	top: -18px;
	position: relative;
}
	

/************************ RECAPTCHA ***************************************************/
.grecaptcha-badge {
	visibility: hidden !important;
	opacity: 0 !important;
}



	
/*----------------------------------------------------------------------------------------------
## RESPONSIVE
----------------------------------------------------------------------------------------------*/	
@media screen and (max-width: 1024px) {
	.storia-team .storia-container-team .elementor-image-box-img {
		height: 100%;
		overflow: hidden;
	}
	#qodef-page-sidebar .widget_product_categories .product-categories li { width: 33%; display: inline-block; }
	#qodef-woo-page.qodef--single .woocommerce-tabs { width: 100%; }
	.qodef-qi-grid.qodef-responsive--predefined.qodef-col-num--4.qodef-layout--qi-columns > .qodef-grid-inner {
		grid-template-columns: repeat(4,minmax(0,1fr));
	}
	
	/* slider */
	/* titolo */
	rs-slides .my-custom-title-slider { white-space: normal !important; text-align: center !important; width: 90% !important; top: 20px !important; }
	/* sottotitolo */
	rs-slides .my-custom-subtitle-slider { transform: translate( 0, -15px) !important; }
	/* button */
	rs-slides .qodef-button { top: 50px !important; }
	/* frecce */
	.tp-rightarrow.tparrows { transform: translate(-75px, -36px) !important; }
	.tp-leftarrow.tparrows { transform: translate(5px, -36px) !important; }

}

@media screen and (max-width: 768px) {
	.storia-team .storia-container-team .elementor-widget-container { margin-top: 45px !important; }
	
	.qodef-qi-grid.qodef-responsive--predefined.qodef-col-num--4.qodef-layout--qi-columns > .qodef-grid-inner {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}
	
	
	/* credits */
#qodef-page-footer-bottom-area .qodef-grid.qodef-layout--columns.qodef-col-num--2 > .qodef-grid-inner > .qodef-grid-item:first-child { width: 100%; text-align: center; }
#qodef-page-footer-bottom-area .qodef-grid.qodef-layout--columns.qodef-col-num--2 > .qodef-grid-inner > .qodef-grid-item:last-child { width: 100%; text-align: center; }
}

		
@media screen and (max-width: 480px) {
	.page-id-9298 .qodef-page-title .qodef-m-title.entry-title { width: 100%; }
	#qodef-page-sidebar .widget_product_categories .product-categories li { width: 49%; }
	
	.custom-table-product th { font-size: 15px; }
	.custom-table-product td { font-size: 12px; }
	
	/* slider */
	/* titolo */
	rs-slides .my-custom-title-slider { width: 100% !important; }
	
	/************************ RECAPTCHA ***************************************************/
	.grecaptcha-badge {
		visibility: hidden !important;
		opacity: 0 !important;
	}
	
	
}	

	
	
	