/*
	Theme Name: Dogarina
	Author: Baseggio Pubblicità
	Template: hello-elementor
*/

:root {
	
	
	--heading-1: 64px;
	--heading-2: 32px;
	--heading-3: 24px;
	--heading-4: 18px;
	
	--p: 24px;
	--btn: 18px;
	
	--spacer: 80px;
	--corner-radius: 15px;
	
	
	--interspazio: 15px;
	--interspazio-small: 5px;
	
	
	--dimensione-logo-dogarina-apertura: 550px;
	--larghezza-blocco-hero: 100%;
	
	/* giallo --e-global-color-640d6cd */
	/* verde villa granda --e-global-color-7d1bf19 */
	/* arancione ca di pietra --e-global-color-fbf83ec */

}

.loghi-avanti.elementor-element {
    position: absolute;
    z-index: 5;
    left: 50%;
    top: 100%;
    transform: translate(-50%, -150%);
}

#wrap-loghi-colonne {
    min-height: 230px;
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 1050px;
}



.btn.elementor-element a {
    background-color: var(--e-global-color-fad902e);
    color: #FFF;
    font-weight: 600;
    font-size: var(--btn);
    padding: 8px 35px;
}

.max-70.elementor-element {
	width: 70%;
}


.img-show.elementor-element {
	height: 400px;
}


footer .spazio-orario {
	padding: 0 15px;
}


.font-bold,
.elementor .font-bold nav ul li.menu-item a,
.font-bold.elementor-widget-text-editor p,
.elementor .font-bold.elementor-widget-heading.elementor-element .elementor-heading-title {
	font-weight: 700;
}
.font-semibold,
.font-semibold nav ul li.menu-item a,
.font-semibold.elementor-widget-text-editor p,
.elementor .font-semibold.elementor-widget-heading.elementor-element .elementor-heading-title {
	font-weight: 600;
}
.font-light,
.elementor .font-light nav ul li.menu-item a,
.font-light.elementor-widget-text-editor p,
.elementor .font-light.elementor-widget-heading.elementor-element .elementor-heading-title {
	font-weight: 300;
}
.font-medium,
.elementor .font-medium nav ul  li.menu-item a,
.font-medium.elementor-widget-text-editor p,
.elementor .font-medium.elementor-widget-heading.elementor-element .elementor-heading-title {
	font-weight: 500;
}
.font-corsivo,
.elementor .font-corsivo nav ul li.menu-item a,
.font-corsivo.elementor-widget-text-editor p,
.elementor .font-corsivo.elementor-widget-heading.elementor-element .elementor-heading-title {
	font-style: italic;
}

.font-maisucolo,
.elementor .font-maisucolo.elementor-widget-heading.elementor-element .elementor-heading-title {
	text-transform: uppercase;
}





.elementor .brand-selection.elementor-element {
    transform: scale(1);
    transition: transform .4s ease;
}
	.elementor .brand-selection.elementor-element:hover {
		transform: scale(1.15);
	}



#hero-brand.elementor-element,
.hero-list.elementor-element {
	min-height: 500px;
}

header .hamburger-inner, 
header .hamburger-inner:after, 
header .hamburger-inner:before {
    height: 2px;
}
header .hamburger {
    margin: 0;
    padding: 0;
}


.title-rows {
	font-size: var(--heading-4);
	font-weight: 300;
	text-align: center;
	color: #000;
}
	.title-rows .part1 {
		font-weight: 700;
	}
	.title-rows span {
		display: block;
	}



.assaggia.elementor-element .elementor-heading-title,
.btn-special {
	font-size: var(--heading-4);
	font-weight: 700;
	text-align: center;
	color: #000;
	border: 1px solid var(--e-global-color-640d6cd);
	padding: 10px;
	border-radius: calc(var(--corner-radius) / 2);
	overflow: hidden;
	transition: all ease 0.4s;
}




a .bottiglia.elementor-element img {
    width: auto;
    max-height: 500px;
	transition: all ease 0.4s;
}



a.elementor-element.preview-vino .hover-color-bottiglia.elementor-element {
	transition: all ease 0.4s;
	padding-bottom: 10px;
	padding-top: 10px;
}
a.elementor-element.preview-vino:hover {
	cursor: pointer;
}







.hover-list-brand.elementor-element {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 220px;
    padding: 50px;
    left: 100%;
    transform: translateX(-100%);
}


.brc-chi-siamo.elementor-element img {
	width: 150px;
	height: auto;
}
.ifs-chi-siamo.elementor-element img {
	width: 250px;
	height: auto;
}

.wrap-orario-chi-siamo.elementor-element {
	max-width: 700px;
}




#wrap-hamburger {
    z-index: 9999999999999;
    height: 24px;
}
header .hamburger.is-active .hamburger-inner,
header .hamburger.is-active .hamburger-inner:after,
header .hamburger.is-active .hamburger-inner:before {
    background-color: #FFF;
}

#dettaglio-bottiglia img {
    width: auto;
    max-height: 650px;
}


#product-bar {
	min-height: 130px;
}
.elementor.elementor-location-single #product-bar img {
	width: auto;
	height: 100px;
}



#lista-premi {
	display: flex;
	flex-direction: column;
	margin-bottom: var(--spacer);
}
#lista-premi .anno {
	margin-bottom: 75px;
}

#lista-premi .anno-titolo {
    font-size: var(--heading-3);
    font-weight: 600;
    border-bottom: 1px solid #000;
    padding-bottom: 5px;
    margin-bottom: 15px;
}
#lista-premi .lista-vini {
	display: grid;
	grid-template-columns: repeat(4,minmax(0,1fr));
	grid-column-gap: 40px;
	grid-row-gap: 40px;
}
#lista-premi .bottiglia {
	position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#lista-premi .immagine-premio {
    width: auto;
    height: 100px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
}
#lista-premi a.btn-special {
    text-align: center;
    display: block;
    margin-top: auto;
}
#lista-premi .wrap-p-title {
    margin-bottom: 25px;
}
#lista-premi a.btn-special:hover {
    background-color: var(--e-global-color-640d6cd);
}
#lista-premi .immagine {
	border-bottom: 1px solid var(--e-global-color-640d6cd);
	padding-bottom: 15px;
	margin-bottom: 15px;
}
#lista-premi .immagine img {
    width: 100%;
    height: auto;
    max-height: 450px;
}
#lista-premi p {
	line-height: 1em;
}
#lista-premi .dettaglio {
	width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.lista-vini > .bottiglia {
  min-width: 0; /* permette alla colonna di restringersi */
}

.lista-vini .immagine img {
  max-width: 100%; /* impedisce alle immagini di uscire dalla colonna */
  height: auto;
  display: block;
}



.elementor-element.e-con-boxed .e-con-inner {
	width: calc(100% - 100px);
}

#wrap-loghi-colonne-mob {
	display: none!important;
}

#loghi-istituzionali img {
	width: 100%;
    height: auto;
    max-height: 70px;
}
.por-img img {
	width: 100%;
    height: auto;
    max-height: 110px;
}

.wpml-ls-legacy-dropdown-click {
    width: fit-content;
}
.wpml-ls-legacy-dropdown-click a {
    display: flex;
    width: 60px;
	border: 0;
}

.wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle {
    position: relative;
    padding-right: 0;
}
.wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle:after {
    border: .20em solid transparent;
    border-top: 0.3em solid;
}
.elementor-element.elementor-widget.elementor-widget-wpml-language-switcher {
	width: fit-content;
	margin-left: auto;
}

@media (max-width: 1380px) {
	:root {
		--larghezza-blocco-hero: 25%;
	}
	
}



@media (max-width: 1140px) {
	.max-70.elementor-element {
		width: 100%;
	}
	#loghi-istituzionali img {
		max-height: 50px;
	}
}

@media (max-width: 1024px) {
	:root {
		--dimensione-logo-dogarina-apertura: 300px;
		--larghezza-blocco-hero: 20%;
	}
	.hover-list-brand.elementor-element {
		position: absolute;
		top: 100%;
		bottom: 0;
		right: 0;
		width: 100%;
		padding: 30px;
		left: 0;
		transform: translateY(-100%);
	}
	.hover-list-brand.elementor-element .elementor-heading-title {
		text-align: center;
	}
	#lista-premi .lista-vini {
		display: grid;
		grid-template-columns: repeat(2,minmax(0,1fr));
		grid-column-gap: 30px;
		grid-row-gap: 30px;
	}
	#lista-premi .immagine-premio {
		height: 68px;
	}

}


@media (max-width: 768px) {
	:root {
		--larghezza-blocco-hero: 350px;
		--altezza-blocco-hero: 70vw;
		--dimensione-logo-dogarina-apertura: 280px;
		
		--heading-1: 40px;
		--heading-2: 25px;
		--heading-3: 18px;
		--heading-4: 16px;
		
		--p: 20px;
		--btn: 16px;

		--spacer: 40px;
		--corner-radius: 15px;


		--interspazio: 10px;
		--interspazio-small: 5px;
	
	}
	.elementor-element.e-con-boxed .e-con-inner {
		width: calc(100% - 50px);
	}
	#wrap-loghi-colonne {
		display: none!important;
	}
	#wrap-loghi-colonne-mob {
		min-height: 230px;
		position: relative;
		left: 0%;
		top: 0%;
		transform: translate(0%, -50px);
		z-index: 2;
		width: 100%;
		display: flex!important;
		flex-direction: column;
		align-items: center;
	}
		#wrap-loghi-colonne-mob a {
			min-height: 230px;
			position: relative;
			left: inherit;
			top: inherit;
			transform: none;
			z-index: 2;
			width: 350px;
			display: flex!important;
			flex-direction: column;
			align-items: center;
		}

	.elementor .brand-selection.elementor-element:hover {
		transform: scale(1);
	}
	
	a .bottiglia.elementor-element img {
		max-height: 350px;
	}
	.por-img img {
		max-height: 70px;
	}
}

@media (max-width: 400px) {
	#wrap-loghi-colonne-mob a {
		width: 90%;
	}
}