/*
Theme Name:     Elementor hello theme child
Theme URI:      http://www.masterline-italia.it/
Description:    Tema Child Masterline
Author:         NokNok
Author URI:     http://noknok.it/
Template:       hello-elementor
Version:        0.1.0
*/


/*ho aggiunto la parola olio nel titolo di fryol per fare in modo che esca in cima nei risultati e la nascondo*/
.olio{
	display:none!important;
}


/*box shadow Ombra arrotondata sotto*/
.box-shadow:after{
	content:"";
	position:absolute;
	z-index:-1;
	top:100%;
	bottom:0;
	width:100%;
	height:30px;
	left:50%;
	-webkit-transform: translateX(-50%);
	    -ms-transform: translateX(-50%);
	        transform: translateX(-50%);
	background:-webkit-radial-gradient(50% -3%, ellipse cover, rgba(00, 00, 00, 0.5), rgba(97, 97, 97, 0.0) 40%);
	background:-webkit-radial-gradient(50% -3%, ellipse, rgba(00, 00, 00, 0.5), rgba(97, 97, 97, 0.0) 40%);
	background:-o-radial-gradient(50% -3%, ellipse, rgba(00, 00, 00, 0.5), rgba(97, 97, 97, 0.0) 40%);
	background:radial-gradient(ellipse at 50% -3%, rgba(00, 00, 00, 0.5), rgba(97, 97, 97, 0.0) 40%);
}
/*box shadow upper Ombra arrotondata sopra*/
.box-shadow-upper:before{
	content:"";
	position:absolute;
	z-index:-1;
	bottom:100%;
	top:auto;
	width:100%;
	height:30px;
	left:50%;
	-webkit-transform: translateX(-50%) rotate(180deg);
	    -ms-transform: translateX(-50%) rotate(180deg);
	        transform: translateX(-50%) rotate(180deg);
	background:-webkit-radial-gradient(50% -3%, ellipse cover, rgba(00, 00, 00, 0.5), rgba(97, 97, 97, 0.0) 40%);
	background:-webkit-radial-gradient(50% -3%, ellipse, rgba(00, 00, 00, 0.5), rgba(97, 97, 97, 0.0) 40%);
	background:-o-radial-gradient(50% -3%, ellipse, rgba(00, 00, 00, 0.5), rgba(97, 97, 97, 0.0) 40%);
	background:radial-gradient(ellipse at 50% -3%, rgba(00, 00, 00, 0.5), rgba(97, 97, 97, 0.0) 40%);
}

/*box shadow prodotti*/
.elementor-posts .elementor-grid-item.type-prodotto {
    position: relative;
}
.elementor-grid-item.type-prodotto:after {
    content: "";
    position: absolute;
    top: 95%;
    bottom: 0;
    width: 150%;
    height: 30px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    background: -webkit-radial-gradient(50% -3%, ellipse cover, rgba(00, 00, 00, 0.5), rgba(97, 97, 97, 0.0) 40%);
    background: -webkit-radial-gradient(50% -3%, ellipse, rgba(00, 00, 00, 0.5), rgba(97, 97, 97, 0.0) 40%);
    background: -o-radial-gradient(50% -3%, ellipse, rgba(00, 00, 00, 0.5), rgba(97, 97, 97, 0.0) 40%);
    background: radial-gradient(ellipse at 50% -3%, rgba(00, 00, 00, 0.5), rgba(97, 97, 97, 0.0) 40%);
}


/* header */

.home .logo-in-header a{
pointer-events: none;
cursor: default;
}


/*.contenitore-header{
height: 115px!important;
	width:100vw!important;
	max-width:100vw!important;
}
.contenitore-logo{
height:172px!important;
flex: 0 0 564px!important;
margin-bottom:-57px!important;
}
.contenitore-menu{}
.insieme-per-passione{
flex: 0 0 210px!important;
}
header .elementor-element.contenitore-header .elementor-element.contenitore-logo .logo-in-header{
 max-width: 360px!important;
}
.logo-in-header img{
    width:275px!important;
    height:auto!important;
}*/
/*riduzione*/
/*
header .contenitore-header, header .contenitore-header .contenitore-logo, header .contenitore-header .insieme-per-passione, header .contenitore-header .logo-in-header, header .contenitore-header .logo-in-header img, header .contenitore-header .contenitore-logo{
  transition: all .5s;
}
header .contenitore-header.elementor-sticky--effects{
height: 96px!important;
}
header .contenitore-header.elementor-sticky--effects .contenitore-logo{
height:144px!important;
flex: 0 0 471px!important;
margin-bottom:-48px!important;
}
header .contenitore-header.elementor-sticky--effects .insieme-per-passione{
flex: 0 0 175px!important;
}
header .contenitore-header.elementor-sticky--effects .contenitore-logo .elementor-widget.logo-in-header{
 max-width: 300px!important;
}
header .contenitore-header.elementor-sticky--effects .logo-in-header img{
    width:230px!important;
    height:auto!important;
}
*/

/*



header.contenitore-header .contenitore-menu{
    padding-top: 2%;
    padding-bottom: 2%;
    padding-left: 0%;
    padding-right: 4%;
}

header.contenitore-header.elementor-sticky--effects .contenitore-menu {
    padding-top: 1%;
    padding-bottom: 1%;
    padding-left: 0%;
    padding-right: 4%;
}


header.contenitore-header.elementor-sticky--effects .logo-header img{
transform: scale(0.5);
}

*/

/*home*/

.box-ico-home-tipi .elementor-widget-image-box.icona-gamma:hover .elementor-image-box-title{
color:#ffffff!important;
}


.immagine-ricetta-correlata, .immagine-ricetta-correlata img{
height:100%!important;
	width:100%!important;
	object-fit: cover;
}


/*pagine gamme*/

.icona-gamma h3 {border-top: 3px solid #80102c; padding-top: 5%;}





/*Frecce personalizzate*/
.tp-rightarrow.tparrows.hesperiden:before { content: url('https://masterline-italia.it/wp-content/uploads/2019/04/freccia-dx.svg')!important; }
.tp-leftarrow.tparrows.hesperiden:before { content: url('https://masterline-italia.it/wp-content/uploads/2019/04/freccia-sx.svg')!important; }



/*pagina prodotto*/
.ricetta1-no-display, .ricetta2-no-display{
	display:none;
}

/*condividi*/
.elementor-widget-html button.btn-copia-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #808080;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background-color 0.3s;
}
.elementor-widget-html button.btn-copia-link:hover { background-color: #666; }


/* filtri */
.jet-filter .jet-checkboxes-list__label{
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-weight: var(--e-global-typography-primary-font-weight);
}







/* tolgo il bold dal link della barra dei cookie */
.cli-plugin-main-link {font-weight:normal}







.elementor-3401 .elementor-element.elementor-element-70b91db .elementor-search-form__input, .elementor-3401 .elementor-element.elementor-element-70b91db .elementor-search-form__icon, .elementor-3401 .elementor-element.elementor-element-70b91db .elementor-lightbox .dialog-lightbox-close-button, .elementor-3401 .elementor-element.elementor-element-70b91db .elementor-lightbox .dialog-lightbox-close-button:hover, .elementor-3401 .elementor-element.elementor-element-70b91db.elementor-search-form--skin-full_screen input[type="search"].elementor-search-form__input {
    color: var( --e-global-color-24af6a );
    fill: var( --e-global-color-24af6a );
	opacity:1;
}
.elementor-search-form__container:not(.elementor-search-form--full-screen){
	max-width:150px;
	white-space: nowrap
}

.elementor-search-form__container:target(.elementor-search-form--full-screen){
	width:150px;
}

.input:-internal-autofill-selected{
	background-image: none !important;
    background-color: -internal-light-dark(rgb(232, 240, 254, 00), rgba(70, 90, 126, 0)) !important;
    color: fieldtext !important
}

.elementor-3401 .elementor-element.elementor-element-70b91db input[type="search"].elementor-search-form__input {
    font-family: "Rambla", Sans-serif;
    font-weight: normal;
}

.elementor-3401 .elementor-element.elementor-element-70b91db input[type="search"].elementor-search-form__input:active {
    font-family: "Rambla", Sans-serif;
    font-weight: normal;
    visibility: default;
}

input[type="search"]::-webkit-search-cancel-button{
	display:none;
}


.elementor-flip-box__layer__overlay {
	padding: 10px;
}




/**** allineo le frecce per andare avanti e indietro tra i prodotti ***/ 

.elementor-post-navigation .elementor-post-navigation__link a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    max-width: 100%;
    justify-content: flex-end;
    padding-right: 30px;
    flex-direction: row-reverse;
}

.elementor-post-navigation .elementor-post-navigation__next a {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-start;
    padding-left: 30px;
}

.elementor-post-navigation{
    flex-direction: row-reverse;
}


.elementor-post-navigation .post-navigation__arrow-wrapper i{
transform: rotate(180deg);
    padding: 13px;
}

.elementor-post-navigation span.elementor-post-navigation__link__prev{
padding-left: 30px;
}


/***aggiungere ricette chef Cracco ****/

.titolino-ricetta {
font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
    color: #80102D!important;
    font-size: 19px!important;
	margin-bottom:9px;
}

.tabella-ingredienti {
    border-collapse: collapse!important;
    border-spacing: 0;
    width: 100%;
    display: table;
	background-color:#fff;
}

table {
    font-family: 'Rambla', sans-serif;
    color: #5e6162;
    font-size: 16px;
    line-height: 24px;
    font-weight: 100;
}

table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th{
    background-color: #fff;
}

table td, table th {
    padding: 15px;
    line-height: 1.5;
    text-align: left;
    vertical-align: center;
    border: none;
}

.tabella-ingredienti td {
    padding: 1px 0;
}

.ingr-proc {
    color: #80102D;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}

.tabella-ingredienti td:nth-child(2) {
    text-align: right;
}

tr:hover{
	background-color:#fff;
}

/*********procedimento*******/

.ingr-proc {
    color: #947a51;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
}


.procedimento {
	font-family: 'Rambla', sans-serif;
    color: #5e6162;
    font-size: 16px;
    line-height: 24px;
    font-weight: 100;
}



/**** articolo martina ****/
.elementor-8388 .elementor-element.elementor-element-12be4be:not(.elementor-motion-effects-element-type-background), .elementor-8388 .elementor-element.elementor-element-12be4be > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-image: url(https://masterline-italia.it/wp-content/uploads/2023/03/logo-fpgc2.png);
    
    background-position: center;
    background-size: contain;
}


.single-product .solo-risultati-ricerca {
	display:none;
}
.page-id-12 .solo-risultati-ricerca {
	display:none;
}





/*** nascondo icone nei canditi ***/ 

.postid-11693 .icone-prodotti {
	display:none;
}

.postid-11732 .icone-prodotti {
	display:none;
}


/*template ricetta*/
table.tabella-ingredienti tbody>tr:nth-child(odd)>td, table.tabella-ingredienti tbody>tr:nth-child(odd)>th {
    background-color: #ffffff;
}
table.tabella-ingredienti td, table.tabella-ingredienti th {
    border: unset;
}
table.tabella-ingredienti {
	font-size: 16px;
}
.prodotto-ricetta {
    font-weight: 600;
}
.prodotto-ricetta:hover {
    font-weight: 600;
	color:#80102D;
}
.tabella-ingredienti a {
	color: #5e6162!important;
	font-weight: 600;
}

.tabella-ingredienti a:hover {
	color: #80102D!important;
}
.procedimento a {
	color: #5e6162;
	font-weight: 600;
}

.procedimento a:hover {
	color: #80102D;
	font-weight: 600;
}
.single-ricette table tbody tr:hover>td{
    background-color: #fff3f3;
}
.elementor-10995 .elementor-element.elementor-element-db67421 > .elementor-widget-container {
    margin-right: -30px!important
}
.prodotti-in-ricetta .woocommerce-loop-product__link p{
    display:none;
}
.prodotti-in-ricetta h2{
text-align: center;
	color: #5e6162;
}
.prodotti-in-ricetta li.product-type-simple:after{
    width: 0;
}
.prodotti-in-ricetta ul{
	display: flex;
    justify-content: center;
}


/* altro da css personalizzato */

.elementor-kit-2239 button, .elementor-kit-2239 input[type="button"], .elementor-kit-2239 input[type="submit"], .elementor-kit-2239 .elementor-button {
	color: #80102d;
}

.postid-13923 .elementor-6223 .elementor-element.elementor-element-11d91e2 {
	display:none;
}


/* linea sotto l'immagine thmb prodotti*/
.elementor-post__thumbnail {
	border-bottom: solid 3px var(--e-global-color-primary)!important;
}


/**** prodotti e ricette correlate ***/
.prodotti-usati-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.prodotto-card {
    width: 250px;
}

.prodotto-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.prodotto-card__thumb {
    height: 160px;
    display: flex;
    justify-content: center;
    border-bottom: 3px solid var(--e-global-color-primary);
}

.single-ricetta .prodotto-card__thumb img {
    width: auto;
    height: 100%;
    max-height: 150px;
    object-fit: contain;
    display: block;
    border-bottom: none;
}

.single-prodotto .prodotto-card__thumb img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-bottom: none;
}


.prodotto-card__body {
    text-align: center;
    padding: 18px 0;
	color: #5e6162; 
	font-weight: 300;
}

.prodotto-card__title {
    margin: 0 0 8px;
	text-transform:uppercase;
	color: var(--e-global-color-primary);
	font-family: var(--e-global-typography-primary-font-family), Sans-serif;
	font-size: 22px;
}

.prodotto-card__excerpt {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
	font-family: var(--e-global-typography-text-font-family), Sans-serif!important;
}

.ricette-con-prodotto__title{
	font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-weight: var(--e-global-typography-primary-font-weight);
	font-size: 30px;
	color: var(--e-global-color-primary);
	text-align: center;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .prodotti-usati-grid {
        grid-template-columns: repeat(2, 1fr);
    }
	.ricette-con-prodotto__title{
		font-size: 20px;
	}
}

@media (max-width: 480px) {
    .prodotti-usati-grid {
        grid-template-columns: 1fr;
    }
}



@media (min-width: 600px) {
	
	.icona-gamma {
	min-height: 27vh;
}
}




/* Blur sul contenuto della pagina */
.elementor-location-main,
main,
.site-content {
  transition: filter 0.3s ease;
}

body.mega-menu-open .elementor-location-main,
body.mega-menu-open main,
body.mega-menu-open .site-content {
  filter: blur(3px) brightness(0.7);
}






