/*
Theme Name:exagroup.net
Theme URI: https://exagroup.net/
Description: HDG is a child theme of Hello Biz, created by HDG
Author: HDG
Author URI: https://hangar.it
Template: hello-biz
Version: 100.0
*/

* {
	text-rendering: optimizeLegibility;
}

a {
	outline: 0 !important;
}


*  {
	-webkit-font-smoothing: antialiased;
	font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}





#cmplz-manage-consent {
	display: none !important;
}





/* RESET ELEMENTOR */
h1,
h2,
h3,
h4 {
	margin: 0px;
	padding: 0px;
}
p,
b,
a {
	margin: 0px;
	padding: 0px;
}
a:focus {
	outline: 0 !important;
}
input:focus {
	outline: 0 !important;
}
select:focus {
	outline: 0 !important;
}
button:focus {
	outline: 0 !important;
}
span {
	margin: 0px;
	padding: 0px;
}
input,
a,
button,
textarea {
	box-shadow: none !important;
	margin: 0px;
	padding: 0px;
	outline: 0 !important;
}


a,
a:hover {
	color: unset
}

ul {
	padding-inline-start: 12px;
}

.elementor-nav-menu--dropdown a:focus {
	background-color: transparent !important;
}




#exa-logo svg,
#exa-logo-footer svg {
	fill: #DBDBDB;
}


.single-case-history #exa-logo svg {
	fill: #DBDBDB;
}


.exa-header {
	background-color: transparent;
	transition: .5s;
}
.scrolled .exa-header {
	background-color: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(10px);
}
.scrolled .exa-header .e-con-inner {
	padding-top: 15px !important;
	padding-bottom: 15px !important;
}
.e-con-inner {
	transition: .5s;
}
.nav-open .exa-header {
	background-color: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(10px);
}


#exa-open-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 35px;
	height: 20px;
	cursor: pointer;
}
#exa-open-menu div {
	width: 35px;
	height: 1px;
	background: #DBDBDB;
	position: relative;
	transition: .5s;
}
#exa-open-menu div:before {
	content: '';
	width: 35px;
	height: 1px;
	background: #DBDBDB;
	position: absolute;
	top: -8px;
	left: 0;
	transition: .5s;
}
#exa-open-menu div:after {
	content: '';
	width: 35px;
	height: 1px;
	background: #DBDBDB;
	position: absolute;
	bottom: -8px;
	left: 0;
	transition: .5s;
}

#exa-open-menu.active div {
	transform: rotate(45deg);
}
#exa-open-menu.active div:before {
	top: 0;
	transform: rotate(90deg);
}
#exa-open-menu.active div:after {
	opacity: 0;
	bottom: 0;
}
#exa-menu-mobile {
	display: none; /* Inizialmente nascosto */
	opacity: 0;
	transition: opacity 0.5s ease-in-out; /* Animazione per opacità */
}

#exa-menu-mobile.active {
	display: block; /* Viene visualizzato quando attivo */
	opacity: 1;
}

.nav-open #exa-open-menu div,
.nav-open #exa-open-menu div:before,
.nav-open #exa-open-menu div:after {
	background: #DBDBDB;
}

a.elementor-item {
	width: fit-content !important;
}
a.elementor-item:hover {
	border-bottom: 1px solid #dbdbdb;
}
a.elementor-item.elementor-item-active {
	border-bottom: 1px solid #dbdbdb;
}





span.swiper-pagination-bullet {
	width: 30px !important;
	border-radius: 0px;
}
div.swiper-pagination {
	padding-bottom: 10px !important;
}



.exa-citta-casehistory span {
	text-transform: uppercase;
}


.exa-clients {
	display: inline-block;
	overflow: visible !important;
}
.exa-clients img {
	transition: transform 1s ease;
	transform-origin: center center;
	display: block;
}
.exa-clients:hover img {
	transform: scale(1.2);
	z-index: 10;
	position: relative;
}


div.swiper-pagination {
	padding-bottom: 5px !important;
}
div.swiper-pagination-progressbar {
	margin-bottom: 35px !important;
}


button.elementor-button {
	min-height: 0px !important;
}
.elementor-field-type-submit {
	padding-top: 25px;
}
.elementor-field-textual.elementor-size-lg {
	padding: 25px 0px 25px 0px;
}

span.elementor-field-option {
	margin-top: 20px;
}
.elementor-field-subgroup label {
	font-size: 10px !important;
	text-transform: none !important;
	opacity: 0.5;
}
.elementor-field-subgroup span .elementor-field-option {
	align-items: center !important;
}
.elementor-field-subgroup span .elementor-acceptance-field {
	appearance: none;
	display: inline-block !important;
	width: 14px;
	height: 14px;
	margin-right: 10px !important;
	border-radius: 0px !important;
	border: 0.5px solid !important;
	border-color: #000 !important;
	background-color: #fff !important;
	opacity: 1 !important;
}
.elementor-field-subgroup span .elementor-acceptance-field:checked {
	opacity: 1 !important;
	background-color: #000 !important;
}






.hover-white .hover-white-hide {
	opacity: 0;
	transition: .5s;
}

.hover-white:hover .hover-white-hide {
	opacity: 1;
}

.hover-white p {
	transition: .5s;
}

.hover-white:hover p {
	color: white;
}

.hover-white svg {
	transition: .5s;
}

.hover-white:hover svg {
	fill: white !important;
}



.txt-lingue span {
	text-transform: uppercase;
}



div.exa-box-vertical {
	rotate: 0deg;
}


.hdg-accordion-button-first {
	cursor: pointer;
}
.exa-txt-fisarmonica {
	display: none;
}
.hdg-accordion-button-first-active .exa-txt-fisarmonica {
	display: block;
}
.hdg-accordion-box.active {
	width: 100% !important;
	opacity: 1;
}
.hdg-accordion-box {
	width: 100%;
	opacity: .5;
	transition: .5s;
}
.hdg-accordion-content-first {
	max-height: auto;
}



.hdg-accordion-content {
	display: none;
}
.hdg-accordion-button-active .elementor-icon-wrapper svg {
	transform: rotate(270deg) !important;
	transition: .5s;
}
.hdg-accordion-button {
	cursor: pointer;
}



.hdg-cand-txt.elementor-widget-text-editor p {
	padding-bottom: 15px !important;
}
.hdg-cand-txt.elementor-widget-text-editor ul {
	padding-bottom: 15px !important;
}


.exa-gallery-prog img {
	height: 300px !important;
	object-fit: cover;
}




/* Contenitore principale della marquee */
.marquee-gallery {
	position: relative;
	overflow: hidden;
	width: 100%;
}

/* Traccia che scorre orizzontalmente (creata via JS) */
.marquee-gallery .marquee-track {
	display: flex;
	flex-wrap: nowrap;
	animation: marquee-scroll 40s linear infinite;
	will-change: transform;
}

/* Ogni widget immagine Elementor diventa un item della galleria */
.marquee-gallery .elementor-widget-image {
	flex: 0 0 auto;
	margin-right: 20px; /* spazio di 10px tra le immagini */
}

.marquee-gallery .elementor-widget-image img {
	display: block;
	width: 33.3333vw;  /* circa 3 immagini visibili alla volta */
	max-width: none;   /* evita che Elementor limiti la larghezza */
	height: auto;
}

/* Pausa al passaggio del mouse (facoltativa) */
	.marquee-gallery:hover .marquee-track {
	animation-play-state: paused;
}

/* Animazione marquee continua e fluida:
 - la traccia contiene DUE volte la sequenza di immagini
 - -50% = esattamente la larghezza della prima sequenza
*/
@keyframes marquee-scroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}



/* Accessibilità: riduce il movimento se l’utente lo preferisce */
@media (prefers-reduced-motion: reduce) {
	.marquee-gallery .marquee-track {
		animation-duration: 0.001s;
	}
}

/* Puoi regolare la velocità cambiando la durata:
 40s = più lento, 20s = più veloce, ecc. */




.e-filter {
	height: 200px;
	overflow-y: scroll;
	flex-wrap: nowrap !important;
	justify-content: flex-start !important;
}


@media only screen and (min-width: 767px) {
	
	div.exa-box-vertical {
		rotate: -90deg;
	}
	
	.hdg-accordion-box {
		width: 72px;
	}
	.hdg-accordion-content-first {
		max-height: 100px;
	}
	
	.single-case-history #exa-logo svg {
		fill: #000;
	}
	.scrolled .single-case-history #exa-logo svg {
		fill: #dbdbdb;
	}
	
	
}

@media only screen and (min-width: 1024px) {
	
	.scrolled .exa-header .e-con-inner {
		padding-top: 25px !important;
		padding-bottom: 25px !important;
	}
	
	.exa-section-1500 {
		max-width: 1600px !important;
		margin: 0px 50px 0px 50px !important;
	}
	
	
}

