/* ==========================================================================
   CUSTOM CSS — INDICE DELLE AREE
   L'ordine delle regole originali è stato mantenuto per preservare la cascata.

   01. Helper, tipografia e utility
   02. Menu principale e mega menu desktop
   03. Header, page header, breadcrumb, overlay e pulsanti
   04. Card prodotto e icone caratteristiche
   05. Sezioni Why Choose Us e Featured Box
   06. Product & Solutions, animazioni e VMS
   07. Contatori, verticali, contatti e footer
   08. Filtri e griglia prodotti
   09. Layout di pagine prodotto e news
   10. Menu responsive e interazioni mobile
   11. Video, Google Maps e Supported VMS
   12. Grafico amCharts, griglie contatti e form
   13. Eventi, contatori e countdown
   ========================================================================== */

/* HELPERS */

@media (max-width: 575px) {
	h1.text-12 {
		font-size: 2.3em !important;
	}
}

h2.title-section {
	font-size: 3.2em !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	text-transform: uppercase;
}

h2.title-section span {
	font-style: italic !important;
}

h5.subtitle-section {
	font-size: 0.85em !important;
	font-weight: 800 !important;
	text-transform: uppercase;
	letter-spacing: 0.4em;
}

h2.title-section2 {
	font-size: 2.4em !important;
	font-weight: 800 !important;
	line-height: 1.5 !important;
	position: relative;
}

h2.title-section2:before {
	content: "";
	position: absolute;
	height: 4px;
	width: 80px;
	background-color: var(--primary);
	bottom: -20px;
	left: 0;
	right: 0;
}

h2.title-section2.text-center:before {
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 575px) {

	h2.title-section {
		font-size: 2.3em !important;
	}

	h2.title-section2 {
		font-size: 1.8em !important;
	}

}

a.text-decoration-hover-none:hover {
	text-decoration: none !important;
}

.bg-light-tv {
	background: #f7f8fa !important;
}

.bg-light-rgba-10 {
	background: var(--light-rgba-10) !important;
}

.bg-primary-rgba-20 {
	background: var(--primary-rgba-20) !important;
}

.border-primary-rgba-30 {
	border: 1px solid var(--primary-rgba-30) !important;
}

.bg-secondary-rgba-20 {
	background: var(--secondary-rgba-20) !important;
}

.border-secondary-rgba-30 {
	border: 1px solid var(--secondary-rgba-30) !important;
}

.border-radius-0375rem {
	border-radius: 0.375rem;
}

.pb-80px {
	padding-bottom: 80px !important;
}

.mh-35px {
	min-height: 35px;
}

.mh-45px {
	min-height: 45px;
}

.mh-55px {
	min-height: 55px;
}

.mh-80px {
	min-height: 80px;
}

.mh-150px {
	min-height: 150px;
}

.mh-120px {
	min-height: 120px;
}

.mh-300px {
	min-height: 300px;
}

.ls-001 {
	letter-spacing: 0.1em !important;
}

.ls-01 {
	letter-spacing: 0.4em !important;
}

.border-top-light {
	border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.border-bottom-dark-light {
	border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.text-right {
	text-align: right !important;
}

@media (min-width: 768px) {
	.text-md-right {
		text-align: right !important;
	}
}

.text-dark-grey {
	color: #444 !important;
}

.text-color-red {
	color: #dc2626 !important;
}

.text-color-green {
	color: #3e6419 !important;
}

.font-style-italic {
	font-style: italic !important;
}

.lh-20px {
	line-height: 20px !important;
}

.lh-30px {
	line-height: 30px !important;
}

/* 5 Equal Columns */
.col-xl-1-5 {
	width: 100%;
}

@media (min-width: 576px) {
	.col-xl-1-5 {
		flex: 0 0 50%;
		max-width: 50%;
	}
}

@media (min-width: 768px) {
	.col-xl-1-5 {
		flex: 0 0 33.33333333%;
		max-width: 33.33333333%;
	}
}

@media (min-width: 1600px) {
	.col-xl-1-5 {
		flex: 0 0 20%;
		max-width: 20%;
	}
}

/* ===== NAV BASE ===== */

.main-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
}

.main-nav li {
	position: relative;
}

.main-nav a {
	display: block;
	padding: 20px 15px;
	text-decoration: none;
	color: inherit;
}

/* ===== MEGA CONTAINER (ACCORDION) ===== */

.mega-container {
	width: 100%;
	background: #fff;


	height: 0;
	overflow: hidden;

	transition:
		height .42s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow .3s ease;

	position: absolute;
	left: 0;
	top: 100%;

	z-index: 999;

	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

#header .header-body {
	position: relative;
}

/* ===== PANEL ===== */

.mega-panel {
	display: none;
}

.mega-panel.active {
	display: block;
}

/* ===== LAYOUT ===== */

.mega-inner {
	max-width: 1200px;
	margin: auto;
	display: flex;
	gap: 40px;
	padding: 40px 20px;
}

/* SINISTRA */

.mega-left {
	width: 220px;
	/* border-right: 0 solid #eee; */
}

.mega-link {
	position: relative;
	padding: 12px;
	cursor: pointer;
	transition:
		color .2s ease,
		transform .28s cubic-bezier(0.22, 1, 0.36, 1);
	color: #444;
	font-weight: 600;
	text-transform: uppercase;
}

.mega-link::before {
	content: "";
	position: absolute;
	left: -12px;
	top: 50%;
	width: 3px;
	height: 0;
	background: var(--primary);
	transform: translateY(-50%);
	border-radius: 2px;

	transition:
		height .25s cubic-bezier(0.22, 1, 0.36, 1),
		opacity .2s ease;

	opacity: 0;
}

.mega-link.hazardous::before {
	background: var(--secondary);
}

.mega-link.safe::before {
	background: var(--primary);
}

.mega-link.security::before {
	background: var(--tertiary);
}

.mega-link.active {
	color: var(--primary);
}

.mega-link.hazardous.active {
	color: var(--secondary);
}

.mega-link.safe.active {
	color: var(--primary);
}

.mega-link.security.active {
	color: var(--tertiary);
}

.mega-link.active::before {
	height: 60%;
	opacity: 1;
}

.mega-link:hover {
	transform: translateX(2px);
}

.mega-link:hover::before {
	height: 40%;
	opacity: 0.6;
}

/* DESTRA */

.mega-right {
	flex: 1;
}

/* 🔑 FLOW (no absolute!) */

.mega-group {
	display: none;
	opacity: 0;
	transform: translateY(8px);
	transition:
		opacity .2s cubic-bezier(0.22, 1, 0.36, 1),
		transform .2s cubic-bezier(0.22, 1, 0.36, 1);
}

.mega-group.active {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	opacity: 1;
	transform: translateY(0);
}

/* ITEM */

.mega-item {
	display: block;
	flex: 0 0 calc(25% - 22.5px);
	max-width: calc(25% - 22.5px);
	text-decoration: none !important;
	color: #444 !important;
	font-weight: 600;
	cursor: pointer;
	width: 140px;
	text-align: center;
	padding: 20px;

	transition:
		transform .25s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow .25s ease;
	background: #f7f8fa;
	border-radius: 12px;

	font-size: 12px;
	position: relative;
}

.mega-item:hover {
	transform: translateY(-6px);

	text-decoration: none;
}

.mega-item img {
	width: 100%;
	margin-bottom: 10px;
}

.mega-item.mega-item-1-6 img {
	border-radius: 8px;
	border: 1px solid rgba(0, 0, 0, 0.15);
	box-shadow: 0 5px 35px rgba(0, 0, 0, 0.12);
	transition: transform .35s ease, filter .35s ease;
}


/* Replica hover Porto su active */

@media (min-width: 992px) {

	#header .header-nav.header-nav-line nav>ul>li.active>a,
	#header .header-nav.header-nav-line nav>ul>li.active:hover>a {
		position: relative;
		background: transparent !important;
		padding: 0 .6rem;
		margin: 1px 0 0;
		min-height: 60px;
		height: 100%;
	}

	#header .header-nav.header-nav-line nav>ul>li.active>a:before,
	#header .header-nav.header-nav-line nav>ul>li.active:hover>a:before {
		opacity: 1 !important;
	}

	#header .header-nav.header-nav-line.header-nav-bottom-line nav>ul>li.active>a:before,
	#header .header-nav.header-nav-line.header-nav-bottom-line nav>ul>li.active:hover>a:before {
		content: "";
		position: absolute;
		width: auto;
		height: 3px;
		top: 50%;
		left: 15px;
		right: 15px;
		margin-top: 15px;
		transform: translateY(-3px);
	}

	#header .header-nav.header-nav-line.header-nav-bottom-line.header-nav-bottom-line-effect-1 nav>ul>li.active>a:before,
	#header .header-nav.header-nav-line.header-nav-bottom-line.header-nav-bottom-line-effect-1 nav>ul>li.active:hover>a:before {
		right: 15px;
	}

	#header .header-nav.header-nav-line nav>ul li.active>a:before,
	#header .header-nav.header-nav-line nav>ul li.active:hover>a:before {
		background: var(--primary);
	}
}

@media (min-width: 1200px) {

	#header .header-nav.header-nav-line nav>ul>li.active>a,
	#header .header-nav.header-nav-line nav>ul>li.active:hover>a {
		padding: 0 .9rem;
	}
}

#header .header-nav.header-nav-line nav>ul li.active>a,
#header .header-nav.header-nav-line nav>ul li.active:hover>a {
	color: var(--primary);
}

/* Menu contatti */

@media (min-width: 992px) {

	#header .header-nav.header-nav-line nav>ul>li.contacts>a {
		background: var(--primary) !important;
		color: var(--light) !important;
		transition:
			background-color .25s ease;
	}

	#header .header-nav.header-nav-line nav>ul>li.contacts>a:before {
		opacity: 0 !important;
	}

	#header .header-nav.header-nav-line nav>ul>li.contacts.active>a:before,
	#header .header-nav.header-nav-line nav>ul>li.contacts.active:hover>a:before {
		opacity: 0 !important;
	}

	#header .header-nav.header-nav-line nav>ul>li.contacts.active>a,
	#header .header-nav.header-nav-line nav>ul>li.contacts.active:hover>a {
		background: var(--primary-rgba-90) !important;
	}
}


/* Page header */
.certifications-icons {
	margin: 0;
	padding: 20px 10px 10px 10px;
	width: auto;
	background-color: #f7f8fa;
	border-radius: 14px;
}

.certifications-icons ul {
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: nowrap;
	gap: 0;
}

.certifications-icons li {
	display: flex;
	position: relative;
	margin: -1px 1px 0 0;
	padding: 0 2px;
	overflow: visible;
	width: 16.66%;
}

.certifications-icons li img {
	transition: all 0.2s ease;
	max-height: 50px;
	width: 78px;
}


@media (max-width: 400px) {
	.certifications-icons li img {
		max-height: 40px;
	}
}

/* Overlay Gradient */

.overlay-gradient:before {
	background-color: var(--dark-rgba-0) !important;
	background-image: linear-gradient(to right, var(--dark) 0%, var(--dark-rgba-0) 100%) !important;
}

.overlay.overlay-op-95:hover:before,
.overlay.overlay-op-95.overlay-show:before,
.overlay.overlay-op-95.show:before {
	opacity: 0.95;
}

/* Button */

.btn-secondary {
	--hover: var(--secondary--200);
	background-color: var(--secondary);
	border-color: var(--secondary) var(--secondary) var(--secondary-300);
	color: var(--light);
}

.btn-secondary:hover,
.btn-secondary.hover {
	color: var(--light);
}

.btn-outline.btn-primary {
	color: var(--light);
	background-color: transparent;
	background-image: none;
	border-color: var(--light);
}

/* Page header */

.page-header.page-header-modern {
	padding: 70px 0 !important;
}

@media (min-width: 992px) {
	.page-header.page-header-modern>.container-lg>.row {
		min-height: 280px;
	}
}

.breadcrumb {
	line-height: 1em !important;
}

.breadcrumb>li {
	line-height: 1em !important;
}

/* Categoria prodotti */

/* =========================
   PRODUCT CARD HOVER
========================= */

.product {
	position: relative;
	overflow: visible;
	padding: 6px;

	background: #f7f8fa;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 14px;

	transition:
		transform .35s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow .35s cubic-bezier(0.22, 1, 0.36, 1),
		background-color .25s ease,
		border-color .25s ease;
}

@media (min-width: 576px) and (max-width: 767px) {
	.product {
		min-height: 605px;
	}
}

@media (min-width: 992px) and (max-width: 1399px) {
	.product {
		min-height: 525px;
	}
}

@media (min-width: 1400px) and (max-width: 1749px) {

	.product {
		min-height: 595px;
	}

}

/* Hover card */
.product:hover {
	transform: translateY(-6px);

	background: #fff;
	border-color: var(--primary);

	box-shadow:
		0 18px 40px rgba(0, 0, 0, 0.08),
		0 8px 18px rgba(0, 0, 0, 0.04);
}

/* =========================
   THUMB WRAPPER
========================= */

.product .product-thumb-info {
	overflow: visible !important;
	background: transparent;
	border: 0 !important;
	border-radius: 14px 14px 0 0;

	transition:
		background-color .25s ease,
		transform .35s cubic-bezier(0.22, 1, 0.36, 1);
}


/* =========================
   IMAGE
========================= */

.product .product-thumb-info .product-thumb-info-image {
	position: relative;
	padding: 15px;
	border-radius: 12px;
	overflow: hidden;
	transform: translateZ(0);
}

/* Overlay molto più delicato */
.product .product-thumb-info .product-thumb-info-image:before {
	content: "";

	position: absolute;
	inset: 0;

	background:
		linear-gradient(to bottom,
			rgba(255, 255, 255, 0) 0%,
			rgba(0, 0, 0, 0.03) 100%);

	opacity: 0;

	transition:
		opacity .35s ease,
		transform .35s cubic-bezier(0.22, 1, 0.36, 1);

	z-index: 2;
	pointer-events: none;
}

/* Hover armonizzato */
.product:hover .product-thumb-info .product-thumb-info-image:before {
	opacity: 1;
}

/* Movimento leggerissimo immagine */
.product .product-thumb-info img {
	display: block;

	transform: scale(1) translateZ(0);
	backface-visibility: hidden;
	will-change: transform;

	transition:
		transform .45s cubic-bezier(0.22, 1, 0.36, 1);
}

.product:hover .product-thumb-info img {
	transform: scale(1.015) translateZ(0);
}

.product-tag {
	display: inline-block;
	background: var(--primary);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	text-transform: uppercase;
	margin-top: auto;
	margin-bottom: 0.5rem;
}

/* =========================
   OPTIONAL: testo più smooth
========================= */

.product h3 a,
.product .price,
.product .fa-heart {
	transition:
		color .25s ease,
		opacity .25s ease;
}



/* Icone features*/
.features-icons {
	margin: 0;
	padding: 0;
	width: 100%;
	display: grid;
	grid-template-columns: repeat(4, minmax(70px, 1fr));
	gap: 10px;
}

@media (min-width: 576px) and (max-width: 767px) {
	.features-icons {
		grid-template-columns: repeat(3, minmax(70px, 1fr));
	}
}

@media (min-width: 992px) and (max-width: 1399px) {
	.features-icons {
		grid-template-columns: repeat(2, minmax(70px, 1fr));
	}
}

@media (min-width: 1400px) and (max-width: 1749px) {
	.features-icons {
		grid-template-columns: repeat(3, minmax(70px, 1fr));
	}
}

.features-icons.features-icons-complete {
	grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)) !important;
}

.features-icons li {
	display: flex;
	margin: 0;
	padding: 0;
	border-radius: 100%;
	overflow: visible;
}

.features-icons.no-icons li {
	visibility: hidden;
}

.features-icons li span {
	transition: all 0.2s ease;
	border-radius: 8px;
	border-width: 2px;
	border-style: solid;
	border-color: var(--primary);
	display: block;
	line-height: 50px;
	text-align: center;
	color: var(--primary) !important;
	background: transparent !important;
	text-decoration: none;
	font-size: 70px;
}


@media (max-width: 400px) {
	.features-icons li span {
		font-size: 50px;
		line-height: 35px;
	}
}

@media (min-width: 576px) and (max-width: 767px) {
	.features-icons li span {
		font-size: 70px;
		line-height: 50px;
	}
}

.features-icons.product-features-icons li span {
	background: #fff !important;
	transition:
		transform .35s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow .35s cubic-bezier(0.22, 1, 0.36, 1),
		background-color .25s ease,
		border-color .25s ease;
}

.features-icons.product-features-icons li:hover span {
	transform: translateY(-6px);

	background: #f7f8fa !important;
	border-color: var(--primary);
}

/* No products */

.no-products {
	margin-top: -25px;
}

@media (min-width: 992px) {
	.no-products {
		padding-top: 13px;
		margin-top: 14px;
	}
}



/* Why choose us */

section.why-choose-us {
	position: relative;
	height: fit-content;
	margin-block: 277px 117px;
	padding-bottom: 104px;
	overflow-x: clip;
}

@media (min-width: 576px) {
	section.why-choose-us {
		margin-block: 147px 117px;
	}
}

@media (min-width: 768px) {
	section.why-choose-us {
		margin-block: 197px 117px;
	}
}

@media (min-width: 992px) {
	section.why-choose-us {
		margin-block: 247px 117px;
	}
}

@media (min-width: 1200px) {
	section.why-choose-us {
		margin-block: 277px 117px;
	}
}

section.why-choose-us .background {
	background-color: #f7f8fa;
	position: absolute;
	width: 100%;
	height: 100%;
	bottom: 0;
}

section.why-choose-us .container,
section.why-choose-us .container-lg {
	position: relative;
	z-index: 1;
}

section.why-choose-us .grid-x {
	display: flex;
	flex-flow: row wrap;
}

section.why-choose-us .container .cell,
section.why-choose-us .container-lg .cell {
	position: relative;
}

section.why-choose-us .grid-x>.small-6 {
	width: 50%;
	flex-basis: auto;
}

section.why-choose-us .cell {
	flex: 0 0 auto;
	min-height: 0;
	min-width: 0;
	width: 100%;
}

section.why-choose-us .container .cell img {
	top: -250px;
	position: absolute;
	max-height: 350px;
}

@media (min-width: 576px) {
	section.why-choose-us .container .cell img {
		top: -129px;
		max-height: 258px;
	}
}

@media (min-width: 768px) {
	section.why-choose-us .container .cell img {
		top: -174px;
		max-height: 348px;
	}
}

@media (min-width: 992px) {
	section.why-choose-us .container .cell img {
		top: -234px;
		max-height: 468px;
	}
}

@media (min-width: 1200px) {
	section.why-choose-us .container .cell img {
		top: -250px;
		max-height: 500px;
	}
}

section.why-choose-us .hero-title-cell {
	margin-top: 147px;
}

/* Featured box varie */

/* Featured Boxes */
.featured-boxes .featured-box {
	margin-bottom: -1.5rem;
}

.featured-box.featured-box-why-choose-us,
.featured-box.featured-box-products-solutions,
.featured-box.featured-box-news-grid,
.featured-box.featured-box-upcoming-events,
.featured-box.featured-box-tech-support {
	background-color: transparent;
	border: 1px solid rgba(0, 0, 0, 0.06) !important;
	border-radius: 14px;
	min-height: 100px;
	position: relative;
	z-index: 1;
	transition:
		transform .35s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow .35s cubic-bezier(0.22, 1, 0.36, 1),
		background-color .25s ease,
		border-color .25s ease;
}

.featured-box.featured-box-verticals {
	background-color: transparent;
	border: 1px solid transparent !important;
	border-radius: 0;
	min-height: 100px;
	position: relative;
	z-index: 2;
	margin: 0 !important;
	width: 100%;
	height: 100%;
	transition:
		transform .35s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow .35s cubic-bezier(0.22, 1, 0.36, 1),
		background-color .25s ease,
		border-color .25s ease;
}

.featured-box.featured-box-internal-verticals {
	background-color: var(--light) !important;
	border: 1px solid rgba(0, 0, 0, 0.06) !important;
	border-radius: 14px;
	min-height: 100px;
	position: relative;
	z-index: 1;
	transition:
		transform .35s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow .35s cubic-bezier(0.22, 1, 0.36, 1),
		background-color .25s ease,
		border-color .25s ease;
}

.featured-box.featured-box-verticals-applications,
.featured-box.featured-box-company-pages {
	background-color: #2c3033 !important;
	border: 1px solid rgba(255, 255, 255, 0.06) !important;
	border-radius: 14px;
	min-height: 100px;
	position: relative;
	z-index: 2;
	transition:
		transform .35s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow .35s cubic-bezier(0.22, 1, 0.36, 1),
		background-color .25s ease,
		border-color .25s ease;
}

.featured-box.featured-box-upcoming-event {
	background-color: #2c3033 !important;
	border: 3px solid rgba(255, 255, 255, 0.06) !important;
	border-radius: 14px;
	min-height: 100px;
	position: relative;
	z-index: 2;
	transition:
		transform .35s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow .35s cubic-bezier(0.22, 1, 0.36, 1),
		background-color .25s ease,
		border-color .25s ease;
}

.featured-box.featured-box-verticals-applications,
.featured-box.featured-box-company-pages h4 {
	font-weight: 600;
	letter-spacing: 0.03em;
	line-height: 1.2;

}

.featured-box.featured-box-verticals-applications .img-frame,
.featured-box.featured-box-company-pages .img-frame {
	border-radius: 1rem;
	border: 1px solid rgba(255, 255, 255, 0.15);
	box-shadow: 0 5px 35px rgba(255, 255, 255, 0.12);
	transition: transform .35s ease, filter .35s ease;
}

.featured-box.featured-box-verticals-applications .img-frame img,
.featured-box.featured-box-company-pages .img-frame img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform .35s ease, filter .35s ease;
}

.featured-box-product-complete-solution {
	background-color: #2c3033 !important;
	border: 1px solid rgba(255, 255, 255, 0.06) !important;
	border-radius: 14px;
	min-height: 100px;
	position: relative;
	z-index: 1;
	transition:
		transform .35s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow .35s cubic-bezier(0.22, 1, 0.36, 1),
		background-color .25s ease,
		border-color .25s ease;
}

.featured-boxes-style-8 .featured-box.featured-box-verticals.featured-box-verticals-oil-gas .icon-featured,
.featured-boxes-style-8 .featured-box.featured-box-tech-support .icon-featured {
	font-size: 4em;
	height: 80px;
	padding: 0;
	line-height: 80px;
	border: 0;
}

.featured-box.featured-box-products-solutions,
.featured-box.featured-box-news-grid,
.featured-box.featured-box-verticals.featured-box-verticals-oil-gas,
.featured-box.featured-box-internal-verticals,
.featured-box-product-complete-solution,
.featured-box.featured-box-upcoming-events {
	text-align: left;
}

.featured-box.featured-box-why-choose-us.featured-box-why-choose-us-inverted {
	background-color: var(--dark);
}

.featured-box.featured-box-why-choose-us .box-content,
.featured-box.featured-box-products-solutions .box-content,
.featured-box.featured-box-news-grid .box-content,
.featured-box.featured-box.featured-box-verticals .box-content,
.featured-box.featured-box-internal-verticals .box-content,
.featured-box.featured-box-verticals-applications .box-content,
.featured-box.featured-box-company-pages .box-content,
.featured-box.featured-box-product-complete-solution .box-content,
.featured-box.featured-box-upcoming-event .box-content,
.featured-box.featured-box-upcoming-events .box-content,
.featured-box.featured-box-tech-support .box-content {
	border-top-width: 0 !important;
}

.featured-box .feature-box-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1 0 auto;
	background: #f7f8fa;
	border-radius: 20%;
	color: var(--primary);
	font-size: 1.25rem;
	text-align: center;
	padding: 0.8em;
	width: 2.2em;
	height: 2.2em;
}

.featured-box .feature-box-info {
	flex: 1 1 100%;
	padding-left: 5px;
}

.featured-box .feature-box-info h3 {
	margin-bottom: 0;
	text-transform: none;
	padding-left: 15px;
}

.featured-box.featured-box-why-choose-us:hover,
.featured-box.featured-box-products-solutions:hover,
.featured-box.featured-box-company-pages:hover,
.featured-box.featured-box-news-grid:hover,
.featured-box.featured-box-upcoming-event:hover,
.featured-box.featured-box-upcoming-events:hover,
.featured-box.featured-box-tech-support:hover {
	transform: translateY(-6px);
	text-decoration: none !important;
	background: #fff;
	border-color: var(--primary) !important;
}

.featured-box.featured-box-why-choose-us.featured-box-why-choose-us-inverted:hover {
	background-color: var(--dark-rgba-80);
}

.featured-box.featured-box-verticals:hover {
	transform: translateY(-6px);
	text-decoration: none !important;
	background: #f7f8fa;
	border-color: var(--primary) !important;
}

.featured-box.featured-box-verticals.featured-box-verticals-light-tv:hover {
	background: #fff;
}

.featured-box.featured-box-verticals.featured-box-verticals-oil-gas:hover {
	background: var(--secondary-rgba-90);
	border-color: var(--secondary) !important;
}

.featured-box.featured-box-company-pages:hover,
.featured-box.featured-box-product-complete-solution:hover,
.featured-box.featured-box-upcoming-event:hover {
	text-decoration: none !important;
	border-color: var(--primary) !important;
}

.featured-box.featured-box-product-complete-solution:hover {
	transform: translateY(-6px);
}

.featured-boxes-style-8 .featured-box.featured-box-why-choose-us .icon-featured,
.featured-boxes-style-8 .featured-box.featured-box-products-solutions .icon-featured,
.featured-boxes-style-8 .featured-box.featured-box-news-grid .icon-featured,
.featured-boxes-style-8 .featured-box.featured-box-verticals .icon-featured,
.featured-boxes-style-8 .featured-box.featured-box-tech-support .icon-featured {
	background: transparent;
	width: auto;
}

a.featured-box-link:hover {
	text-decoration: none !important;
}

a.featured-box-link.inactive {
	pointer-events: none;
	cursor: default;
}

a.featured-box-link.inactive .featured-box {
	opacity: 0.55;
	transition: opacity .25s ease;
	position: relative;
}

a.featured-box-link.inactive .featured-box::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.28);
	pointer-events: none;
	border-radius: inherit;
	z-index: 2;
}

.featured-box.featured-box-products-solutions .box-content img {
	display: block;

	transform: scale(1) translateZ(0);
	backface-visibility: hidden;
	will-change: transform;

	transition:
		transform .45s cubic-bezier(0.22, 1, 0.36, 1);
}

.featured-box.featured-box-products-solutions:hover .box-content img {
	transform: scale(1.015) translateZ(0);
}

.featured-box.featured-box-news-grid .box-content img {
	display: block;

	transition: transform .35s ease, filter .35s ease;
}

.featured-box.featured-box-upcoming-events .box-content {
	padding: 0 !important;
	height: 12rem;
	overflow: hidden;
	position: relative;
	top: 0 !important;
	border-radius: inherit;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.featured-box.featured-box-upcoming-events .box-content img {
	display: block;
	object-fit: cover;

	transform: scale(1) translateZ(0);
	backface-visibility: hidden;
	will-change: transform;

	transition:
		transform .45s cubic-bezier(0.22, 1, 0.36, 1);
}

.featured-box.featured-box-upcoming-events:hover .box-content img {
	transform: scale(1) translateZ(0);
}

.featured-box.featured-box-upcoming-events .box-content .overlay-event {
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.28);
	border-radius: inherit;
	z-index: 2;
}

.featured-box.featured-box-upcoming-events .box-content .badge-event-1,
.featured-box.featured-box-upcoming-events .box-content .badge-event-2 {
	background: var(--primary) !important;
	color: var(--light) !important;
	border-radius: 9999px;
	position: absolute;
	top: 1rem;
	opacity: 1;
	z-index: 3;
}

.featured-box.featured-box-upcoming-events .box-content .badge-event-1 {
	left: 1rem;
}

.featured-box.featured-box-upcoming-events .box-content .badge-event-2 {
	right: 1rem;
}

.featured-box.featured-box-upcoming-events .event-info {
	padding: 1.8rem;
}

/* Product & Solutions */

html body .tabs.tabs-bottom .nav-tabs li .nav-link.hazardous:hover,
html body .tabs.tabs-bottom .nav-tabs .nav-link.hazardous.active,
html body .tabs.tabs-bottom .nav-tabs .nav-link.hazardous.active:hover,
html body .tabs.tabs-bottom .nav-tabs .nav-link.hazardous.active:focus,
html.dark body .tabs.tabs-bottom .nav-tabs li .nav-link.hazardous:hover,
html.dark body .tabs.tabs-bottom .nav-tabs .nav-link.hazardous.active,
html.dark body .tabs.tabs-bottom .nav-tabs .nav-link.hazardous.active:hover,
html.dark body .tabs.tabs-bottom .nav-tabs .nav-link.hazardous.active:focus {
	border-bottom-color: var(--secondary);
}

html body .tabs.tabs-simple .nav-tabs>li .nav-link.hazardous.active,
html body .tabs.tabs-simple .nav-tabs>li .nav-link.hazardous.active:focus,
html body .tabs.tabs-simple .nav-tabs>li .nav-link.hazardous:hover,
html body .tabs.tabs-simple .nav-tabs>li .nav-link.hazardous.active:hover,
html.dark body .tabs.tabs-simple .nav-tabs>li .nav-link.hazardous.active,
html.dark body .tabs.tabs-simple .nav-tabs>li .nav-link.hazardous.active:focus,
html.dark body .tabs.tabs-simple .nav-tabs>li .nav-link.hazardous:hover,
html.dark body .tabs.tabs-simple .nav-tabs>li .nav-link.hazardous.active:hover {
	border-top-color: var(--secondary);
	color: var(--secondary);
}

@-webkit-keyframes slideInUp {
	from {
		-webkit-transform: translate3d(0, 10%, 0);
		transform: translate3d(0, 10%, 0);
		visibility: visible;
	}

	to {
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}

@keyframes slideInUp {
	from {
		-webkit-transform: translate3d(0, 10%, 0);
		transform: translate3d(0, 10%, 0);
		visibility: visible;
	}

	to {
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}

.animate__slideInUp {
	-webkit-animation-name: slideInUp;
	animation-name: slideInUp;
}

.featured-box .prod-card-tag {
	display: block;
	background: #f7f8fa;
	color: var(--dark) !important;
	font-size: 0.7rem;
	font-weight: 700;
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	text-transform: uppercase;
	margin-top: auto;
}

.featured-box .prod-card-arrow {
	position: absolute;
	bottom: 2rem;
	right: 2rem;
	font-size: 1rem;
	color: var(--default) !important;
	transition: transform 0.3s ease, color 0.3s ease;
}

.featured-box:hover .prod-card-arrow {
	transform: translateX(5px);
	color: var(--primary) !important;
}

/* VMS */

.vms-carousel {
	overflow: hidden;
	position: relative;
}

.vms-marquee {
	overflow: hidden;
	position: relative;
	width: 100%;
	mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.vms-marquee-track {
	display: flex;
	align-items: center;
	gap: 28px;
	width: max-content;
	will-change: transform;
	animation: vms-marquee 96s linear infinite;
}

.vms-marquee-item {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 8px;
}

.vms-marquee-track img {
	display: block;
	max-width: 165px;
	height: auto;
}

@keyframes vms-marquee {
	from {
		transform: translate3d(0, 0, 0);
	}

	to {
		transform: translate3d(-50%, 0, 0);
	}
}

.vms-marquee:hover .vms-marquee-track {
	animation-play-state: paused;
}

.vms-carousel a img {
	padding: 6px;
	transition:
		transform .35s cubic-bezier(0.22, 1, 0.36, 1);
	overflow: visible;
}

.vms-carousel a:hover img {
	transform: translateY(-6px);
}

/* Counters */

.counters label {
	display: block;
	line-height: 20px;
	margin-top: 20px;
	text-transform: uppercase;
	font-size: 0.85em !important;
	font-weight: 800 !important;
	letter-spacing: 0.2em;
}

/* Verticals */

.featured-box .vertical-card {
	position: relative;
	width: 200px !important;
}

.featured-box.featured-box-verticals .vertical-card-tag {
	display: block;
	background: transparent;
	color: var(--dark) !important;
	font-size: 0.7rem;
	font-weight: 700;
	padding: 0.25rem 0;
	border-bottom: 1px solid var(--dark) !important;
	border-radius: 0;
	text-transform: uppercase;
	margin-top: auto;
	text-align: left !important;
}

.featured-box.featured-box-verticals .vertical-card-arrow {
	position: absolute;
	bottom: 0.3rem;
	right: 0;
	font-size: 1rem;
	color: var(--dark) !important;
	transition: transform 0.3s ease, color 0.3s ease;
}

.featured-box.featured-box-verticals:hover .vertical-card-arrow {
	transform: translateX(5px);
	color: var(--dark-rgba-80) !important;
}



.featured-box.featured-box-verticals.featured-box-verticals-oil-gas .vertical-card-tag {
	color: var(--light) !important;
	border-bottom: 1px solid var(--light) !important;
}

.featured-box.featured-box-verticals.featured-box-verticals-oil-gas .vertical-card-arrow {
	color: var(--light) !important;
}

.featured-box.featured-box-verticals.featured-box-verticals-oil-gas:hover .vertical-card-arrow {
	transform: translateX(5px);
	color: var(--light-rgba-80) !important;
}



/* Contacts */

.contact-home .contact-mail {
	min-height: 400px;
}

.contact-home .contact-box {
	background-color: var(--dark);
	border-radius: 14px;
	min-height: 400px;
	padding: 40px;
}

.contact-home .contact-box .office-item {
	display: flex;
	gap: 1.25rem;
	margin-bottom: 1.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-home .contact-box .office-item:last-child {
	border: 0;
	margin: 0;
	padding: 0;
}

.contact-home .contact-box .office-item .office-flag {
	background: #334155;
	width: 36px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	font-weight: 800;
	border-radius: 4px;
	flex-shrink: 0;
	color: var(--light) !important;
}

.contact-home .contact-box .office-item .office-name {
	font-weight: 700;
	font-size: 1rem;
	margin-bottom: 0.25rem;
	color: var(--light) !important;
	line-height: 1.5;
}

.contact-home .contact-box .office-item .office-role {
	font-weight: 700;
	font-size: 0.875rem;
	margin-bottom: 0.25rem;
	color: var(--primary) !important;
	line-height: 1.5;
}

.contact-home .contact-box .office-item .office-contact,
.contact-home .contact-box .office-item .office-contact a {
	font-size: 0.875rem;
	color: var(--light-rgba-80) !important;
	line-height: 1.5;
}

/* Footer */

.social-icons.social-icons-dark li a i {
	color: var(--light-rgba-80);
}

.social-icons.social-icons-biggest li a {
	height: 68px;
	line-height: 80px;
	width: 68px;
}

@media (max-width: 400px) {
	.social-icons.social-icons-biggest li a {
		height: 38px;
		line-height: 40px;
		width: 38px;
	}
}

/* Sidebar filter custom styles (faceted search) */
.sidebar-filter {
	background: var(--light);
	padding: 1rem;
	border-radius: 8px;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.sidebar-filter .filter-group-title {
	font-weight: 700;
	margin-bottom: 0.5rem;
}

.sidebar-filter .filter-checkbox {
	margin-bottom: 0.5rem;
}

.sidebar-filter .filter-subgroup {
	transition: opacity 0.18s ease, max-height 0.2s ease;
	max-height: 240px;
	opacity: 0.6;
}

.sidebar-filter .filter-subgroup[aria-hidden="false"] {
	opacity: 1;
}

.sidebar-filter .filter-radio .form-check-label {
	margin-left: 0.25rem;
}

.sidebar-filter .form-check-input:disabled+.form-check-label {
	color: rgba(0, 0, 0, 0.45);
}

#product-grid-wrapper {
	position: relative;
}

#product-grid-wrapper.loading {
	pointer-events: none;
}

#product-grid-wrapper.loading::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.82);
	z-index: 1;
}

#product-grid-wrapper.loading::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 42px;
	height: 42px;
	margin: -21px 0 0 -21px;
	border: 4px solid rgba(0, 0, 0, 0.15);
	border-top-color: var(--primary);
	border-radius: 50%;
	animation: product-grid-spinner 0.8s linear infinite;
	z-index: 2;
}

@keyframes product-grid-spinner {
	to {
		transform: rotate(360deg);
	}
}

/* end sidebar filter */

.overlay .container,
.overlay .container-lg {
	position: relative;
	z-index: 3;
}

/* Limit and center content container-lg to 10/12 on XL and up */
@media (min-width: 1200px) {
	.container-lg {
		max-width: calc(100vw * 10 / 12);
		margin-left: auto;
		margin-right: auto;
		width: 100%;
	}

	/* Prevent accidental max-width inheritance for nested containers */
	.container-lg .container,
	.container-lg .container-fluid,
	.container-lg .container-lg {
		max-width: none;
	}
}

/* Verticals */

.icon-header {
	color: var(--light);
	background: transparent;
	width: auto;
	height: auto;
	line-height: 1.4;
	font-size: 3.5rem;
}

.bg-vertical-contacts {
	background: linear-gradient(135deg, rgba(29, 33, 36, 0.95) 0%, rgba(15, 124, 158, 0.9) 100%), url(../img/bg-verticals-contacts.webp);
	background-size: cover;
	background-position: center;
	padding: 80px 0;
}

/* Product */

@media (min-width: 992px) {
	.product-img {
		position: absolute;
		z-index: 21;
		top: 0;
		left: 50%;
	}
}

.product-img .product-img-glow {
	position: absolute;
	background: var(--light-rgba-10) !important;
	filter: blur(64px);
	border-radius: 9999px;
	inset: 0px;
	transform: scaleX(1.1) scaleY(1.1);
}

.product-img img {
	position: relative;
	z-index: 10;
	max-width: 26rem;
	object-fit: cover;
	aspect-ratio: 1/1;
	transform: scaleX(1) scaleY(1);
	backface-visibility: hidden;
	will-change: transform;
	transition:
		transform .45s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-img img:hover {
	transform: scaleX(1.05) scaleY(1.05);
}

/* Product grid */

.product-grid-section {
	position: relative;
	padding-left: 0;
	padding-right: 0;
	margin-top: -5rem;
	margin-bottom: 6rem;
	z-index: 20;
}

.product-grid {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 2rem;
}

.product-grid .g-col-left {
	gap: 2rem;
}

@media (min-width: 992px) {
	.product-grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}

	.product-grid .g-col-left {
		grid-column: span 4 / span 4;
	}

	.product-grid .g-col-right {
		grid-column: span 8 / span 8;
	}
}

.product-grid .box-left {
	background: var(--light) !important;
	border-radius: 1rem;
	box-shadow: 0 0 #0000, 0 0 #0000, 0 4px 20px rgba(0, 0, 0, 0.03);
	border-width: 1px !important;
	border-style: solid !important;
	border-color: rgb(243 244 246 / 1) !important;
	padding: 1.5rem;
}

.product-grid .box-right {
	background: var(--light) !important;
	border-radius: 2rem;
	box-shadow: 0 0 #0000, 0 0 #0000, 0 8px 30px rgb(0, 0, 0, 0.04);
	border-width: 1px !important;
	border-style: solid !important;
	border-color: rgb(249 250 251 / 1) !important;
	padding: 2rem;
}

@media (min-width: 768px) {
	.product-grid .box-right {
		padding: 3rem;
	}
}

.product-grid .market-box-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f7f8fa;
	border-radius: 50%;
	color: var(--primary);
	font-size: 1.25rem;
	text-align: center;
	padding: 0.8em;
	width: 2.2em;
	height: 2.2em;
}

.product-grid .product-icons-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem;
}

@media (min-width: 1200px) {
	.product-grid .product-icons-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1600px) {
	.product-grid .product-icons-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.product-grid .product-grid-features-icons {
	background: #f7f8fa;
	border-radius: 0.75rem;
	border-color: rgb(243 244 246 / 1);
	border-width: 1px !important;
	border-style: solid !important;
	min-height: 60px;
	min-width: 60px;
	transition:
		transform .35s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow .35s cubic-bezier(0.22, 1, 0.36, 1),
		background-color .25s ease,
		border-color .25s ease;
}

.product-grid .product-grid-features-icons:hover {
	transform: translateY(-6px);

	background: #fff;
	border-color: var(--primary);

	box-shadow:
		0 18px 40px rgba(0, 0, 0, 0.08),
		0 8px 18px rgba(0, 0, 0, 0.04);
}

.product-grid .product-grid-features-icons i {
	transition: all 0.2s ease;
	display: block;
	line-height: 60px;
	text-align: center;
	color: var(--primary) !important;
	background: transparent !important;
	text-decoration: none;
	font-size: 60px;
}

.product-grid .box-right-icon {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	background: transparent;
	color: var(--primary);
	font-size: 1.25rem;
	text-align: left;
	padding: 0.8em 0;
}

.product-grid .product-features ul {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	column-gap: 1.5rem;
	row-gap: 1rem;
	padding-left: 0 !important;
}

@media (min-width: 992px) {
	.product-grid .product-features ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.product-grid .product-features ul .product-features-element {
	gap: 0.75rem;
}

.product-grid .product-features ul .product-features-element i {
	color: var(--primary);
	font-size: .8em !important;
	margin-top: 6px;
	transition:
		transform .35s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-grid .product-features ul .product-features-element:hover i {
	transform: translateX(3px);
}

/* News grid */

.news-grid-section {
	position: relative;
	padding-left: 0;
	padding-right: 0;
	margin-top: -5rem;
	margin-bottom: 0;
	padding-bottom: 6rem;
	z-index: 20;
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 2rem;
}

.news-grid .g-col-left {
	gap: 2rem;
}

@media (min-width: 992px) {
	.news-grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}

	.news-grid .g-col-left {
		grid-column: span 3 / span 3;
	}

	.news-grid .g-col-right {
		grid-column: span 9 / span 9;
	}
}

.news-grid .box-left {
	background: var(--light) !important;
	border-radius: 1rem;
	box-shadow: 0 0 #0000, 0 0 #0000, 0 4px 20px rgba(0, 0, 0, 0.03);
	border-width: 1px !important;
	border-style: solid !important;
	border-color: rgb(243 244 246 / 1) !important;
	padding: 1.5rem;
}

.news-grid .box-right {
	background: var(--light) !important;
	border-radius: 2rem;
	box-shadow: 0 0 #0000, 0 0 #0000, 0 8px 30px rgb(0, 0, 0, 0.04);
	border-width: 1px !important;
	border-style: solid !important;
	border-color: rgb(249 250 251 / 1) !important;
	padding: 0;
}

.news-grid .box-right .content-news {
	padding: 2rem;
}

.news-grid .box-right-icon {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	background: transparent;
	color: var(--primary);
	font-size: 1.25rem;
	text-align: left;
	padding: 0.8em 0;
}

.news-grid .calendar-box-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f7f8fa;
	border-radius: 50%;
	color: var(--primary);
	font-size: 1.25rem;
	text-align: center;
	padding: 0.8em;
	width: 2.2em;
	height: 2.2em;
}

ul.nav-list-arrows li a {
	padding-right: 30px;
	color: #444;
	font-weight: 500;
	transition: color .2s ease, transform .28s cubic-bezier(0.22, 1, 0.36, 1);
}

ul.nav-list li>a.active {
	font-weight: 500;
}

ul.nav-list-arrows li a:before {
	top: 32px;
}

.news-grid .product-features ul {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	column-gap: 1.5rem;
	row-gap: 1rem;
	padding-left: 0 !important;
}

@media (min-width: 992px) {
	.news-grid .product-features ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.news-grid .product-features ul .product-features-element {
	gap: 0.75rem;
}

.news-grid .product-features ul .product-features-element i {
	color: var(--primary);
	font-size: .8em !important;
	margin-top: 6px;
	transition:
		transform .35s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-grid .product-features ul .product-features-element:hover i {
	transform: translateX(3px);
}

/* FAQ */

/* =========================================================
   MENU RESPONSIVE
   ========================================================= */

/* Desktop */
@media (min-width: 992px) {

	#header .header-nav-main nav.main-nav {
		display: block;
	}

	#header .header-nav-main nav.collapse {
		display: none !important;
	}

}


/* Mobile */
@media (max-width: 991.98px) {

	#header .header-nav-main nav.main-nav {
		display: none;
	}

}

@media (max-width: 991.98px) {

	/* =========================================================
   MOBILE MENU - MICROREFINING
   Microstep 1: voce principale
   ========================================================= */



	/* Transizione della voce */
	#header .header-nav-main nav.collapse>ul#mainNav>li>a {
		position: relative;
		transition:
			color .2s ease,
			transform .28s cubic-bezier(0.22, 1, 0.36, 1);
	}

	/* Lineetta laterale */
	#header .header-nav-main nav.collapse>ul#mainNav>li>a::before {
		content: "";
		position: absolute;
		left: 0;
		top: 50%;
		width: 3px;
		height: 0;
		background: var(--primary);
		border-radius: 2px;
		transform: translateY(-50%);
		opacity: 0;

		transition:
			height .25s cubic-bezier(0.22, 1, 0.36, 1),
			opacity .2s ease;
	}

	/* Hover / focus / voce dropdown aperta */
	#header .header-nav-main nav.collapse>ul#mainNav>li>a:hover,
	#header .header-nav-main nav.collapse>ul#mainNav>li>a:focus,
	#header .header-nav-main nav.collapse>ul#mainNav>li>a.open,
	#header .header-nav-main nav.collapse>ul#mainNav>li.open>a {
		color: var(--primary) !important;
		transform: translateX(3px);
	}

	/* Attivazione della lineetta */
	#header .header-nav-main nav.collapse>ul#mainNav>li>a:hover::before,
	#header .header-nav-main nav.collapse>ul#mainNav>li>a:focus::before,
	#header .header-nav-main nav.collapse>ul#mainNav>li>a.open::before,
	#header .header-nav-main nav.collapse>ul#mainNav>li.open>a::before {
		height: 60%;
		opacity: 1;
	}


	/* =========================================================
   MOBILE MENU - MICROREFINING
   Microstep 2: animazione frecce dropdown
   ========================================================= */


	/* Transizione freccia primo livello */
	#header .header-nav-main nav.collapse>ul#mainNav>li.dropdown>a.dropdown-toggle .fa-chevron-down,

	/* Transizione freccia secondo livello */
	#header .header-nav-main nav.collapse>ul#mainNav>li.dropdown .dropdown-menu li.dropdown-submenu>a .fa-chevron-down {
		transition:
			transform .25s cubic-bezier(0.22, 1, 0.36, 1);
	}

	/* Primo livello aperto */
	#header .header-nav-main nav.collapse>ul#mainNav>li.dropdown.open>a.dropdown-toggle .fa-chevron-down {
		transform: rotate(180deg);
	}

	/* Secondo livello aperto */
	#header .header-nav-main nav.collapse>ul#mainNav>li.dropdown .dropdown-menu li.dropdown-submenu.open>a .fa-chevron-down {
		transform: rotate(180deg);
	}

	/* =========================================================
   MOBILE MENU - MICROREFINING
   Microstep 3: voci del sottomenu
   ========================================================= */


	#header .header-nav-main nav.collapse ul.dropdown-menu li>a {
		transition:
			color .2s ease,
			transform .28s cubic-bezier(0.22, 1, 0.36, 1);
	}

	#header .header-nav-main nav.collapse ul.dropdown-menu li>a:hover {
		color: var(--primary) !important;
		transform: translateX(3px);
	}



	/* =========================================================
   MOBILE MENU - MICROREFINING
   Microstep 4: stato attivo delle voci del sottomenu
   ========================================================= */


	/* Transizione */
	#header .header-nav-main nav.collapse ul.dropdown-menu li.dropdown-submenu>a {
		position: relative;
		transition:
			color .2s ease,
			transform .28s cubic-bezier(0.22, 1, 0.36, 1);
	}

	/* Voce del secondo livello con terzo livello aperto */
	#header .header-nav-main nav.collapse ul.dropdown-menu li.dropdown-submenu.open>a {
		color: var(--primary) !important;
		transform: translateX(3px);
	}


	/* =========================================================
   MOBILE MENU - MICROREFINING
   Microstep 5: lineetta sulle voci del secondo livello
   ========================================================= */


	/* Lineetta */
	#header .header-nav-main nav.collapse ul.dropdown-menu li.dropdown-submenu>a::before {
		content: "";
		position: absolute;
		left: 0;
		top: 50%;
		width: 3px;
		height: 0;
		background: var(--primary);
		border-radius: 2px;
		transform: translateY(-50%);
		opacity: 0;

		transition:
			height .25s cubic-bezier(0.22, 1, 0.36, 1),
			opacity .2s ease;
	}

	/* Lineetta quando il terzo livello è aperto */
	#header .header-nav-main nav.collapse ul.dropdown-menu li.dropdown-submenu.open>a::before {
		height: 60%;
		opacity: 1;
	}
}

/* =========================================================
   Video home altezza resposnsive
   ========================================================= */

@media (min-width: 1200px) {

	.plugin-video-responsive {
		height: calc(100vh - 101px) !important;
	}

}

/* Google Maps e video responsive */

.map-responsive,
.video-responsive {
	overflow: hidden;
	padding-bottom: 56.25%;
	position: relative;
	height: 0;
}

.map-responsive iframe,
.video-responsive iframe {
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	position: absolute;
}

/*Supported VMS  */

.supported-vms {
	margin: 0;
	padding: 0;
	width: 100%;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)) !important;
	gap: 20px;
}

.supported-vms li {
	border-radius: 8px;
	border-width: 2px;
	border-style: solid;
	border-color: var(--primary);
	display: block;
	text-align: center;
	text-decoration: none;
	padding: 10px;
	margin: 0;
	overflow: visible;
	background: #fff !important;
	transition:
		transform .35s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow .35s cubic-bezier(0.22, 1, 0.36, 1),
		background-color .25s ease,
		border-color .25s ease;
}

.supported-vms li img {
	max-width: 165px;
}

.supported-vms li:hover {
	transform: translateY(-6px);

	background: #fff !important;
	border-color: var(--primary);
}

/*Amchart  */

#chartdiv {
	width: 100%;
	height: 650px;
	background: #212529;
	overflow: hidden;
}

@media (max-width: 991px) {
	#chartdiv {
		height: 500px;
	}
}

@media (max-width: 575px) {
	#chartdiv {
		height: 420px;
	}
}

/* Contacts grid */

.contacts-grid-section {
	position: relative;
	padding-left: 0;
	padding-right: 0;
	margin-top: -5rem;
	margin-bottom: 0;
	padding-bottom: 4rem;
	z-index: 20;
}

.contacts-grid-flex {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
}

.contacts-grid-flex .g-col {
	width: 100%;
}

@media (min-width: 768px) {
	.contacts-grid-flex {
		gap: 1rem;
	}

	.contacts-grid-flex .g-col {
		width: 48%;
	}
}

@media (min-width: 1700px) {

	.contacts-grid-flex {
		justify-content: center;
		gap: 2rem;
	}

	.contacts-grid-flex .g-col {
		width: 25%;
	}
}

.contacts-grid-flex .box {
	background: var(--light) !important;
	border-radius: 1rem;
	box-shadow: 0 0 #0000, 0 0 #0000, 0 4px 20px rgba(0, 0, 0, 0.03);
	border-width: 1px !important;
	border-style: solid !important;
	border-color: rgb(243 244 246 / 1) !important;
	padding: 1.5rem;
}

.contacts-grid-flex .box .address {
	padding: 2rem;
}

@media (min-width: 768px) {
	.contacts-grid-flex .box {
		padding: 0rem;
	}

}

.contacts-grid-flex .numbers-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--primary);
	border-radius: 50%;
	color: var(--light);
	font-size: 1.25rem;
	text-align: center;
	padding: 0.8em;
	width: 2.2em;
	height: 2.2em;
}

.contacts-grid-flex .numbers-icon.green {
	background: #3e6419 !important;
}


/* Contacts form */

.form-style-3 .form-control {
	padding: 0.7rem 1rem;
	background-color: #f7f8fa !important;
	border-radius: 0.75rem;
	border: none;
}

form label {
	font-weight: 600;
}

form label.form-check-label {
	font-weight: normal !important;
}

.form-check-input:checked {
	background-color: var(--primary);
	border-color: var(--primary);
}

/* Upcoming events */

.events-grid-section {
	margin: 30px 0;
	padding: 30px 0;
}

.events-grid {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 2.5rem;
	align-items: center;
}

@media (min-width: 992px) {
	.events-grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}

	.events-grid .g-col-left {
		grid-column: span 7 / span 7;
	}

	.events-grid .g-col-right {
		grid-column: span 5 / span 5;
	}
}

.button-dropdown {
	position: relative;
	display: inline-block;
}

.button-dropdown .dropdown-calendar {
	display: none;
	background: var(--primary-rgba-80);
	border-radius: 4px;
	width: 14rem;
	z-index: 30;
	position: absolute;
	left: 0;
	top: 37px;
}

.button-dropdown:hover .dropdown-calendar {
	display: block;
}

.button-dropdown .dropdown-calendar button {
	background: transparent;
	color: var(--light);
	border: none;
	width: 14rem;
	padding: 0.5rem 1rem;
	text-align: left;
	font-weight: 600;
	border-radius: 4px;
	margin: 0 auto;
	transition:
		background-color .25s ease,
		color .25s ease;
}

.button-dropdown .dropdown-calendar button:hover {
	background: var(--primary);
}


.add-calendar {
	position: relative;
	display: inline-block;
}

.calendar-btn {
	padding: 10px 18px;
	background: #0e8cb1;
	color: #fff;
	border: 0;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
}

.calendar-btn:hover {
	background: #0b708e;
}

.calendar-menu {
	display: none;
	position: absolute;
	bottom: 100%;
	left: 0;
	margin-bottom: 6px;
	min-width: 210px;
	background: #fff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
	border-radius: 4px;
	overflow: hidden;
	z-index: 1000;
}

.calendar-menu.show {
	display: block;
}

.calendar-menu a {
	display: block;
	padding: 11px 14px;
	color: #333;
	text-decoration: none;
	font-size: 14px;
}

.calendar-menu a:hover {
	background: #f2f2f2;
}


.event-date {
	border: 1px solid rgba(255, 255, 255, 0.15);
	box-shadow: 0 5px 35px rgba(255, 255, 255, 0.12);
	transition: transform .35s ease, filter .35s ease;
	background-color: var(--dark);
	border-radius: 4px;
	color: var(--light-rgba-80);
}

.countdown.countdown-big {
	margin-right: -15px;
	margin-left: -15px;
	margin-top: 3rem;
	margin-bottom: 1rem;
}

.countdown.countdown-big>span {
	border: 1px solid rgba(255, 255, 255, 0.15);
	box-shadow: 0 5px 35px rgba(255, 255, 255, 0.12);
	background-color: var(--dark);
	padding: 1rem;
	font-size: 0.8rem;
	border-radius: 14px;
	margin: 0 15px;
	font-weight: 600;
	color: var(--light) !important;
	line-height: 1.8;
}

.countdown.countdown-big>span>span {
	font-size: 1.5rem;
	color: var(--light) !important;
}

@media (max-width: 1500px) {

	.countdown.countdown-big {
		margin-right: -5px;
		margin-left: -5px;
	}

	.countdown.countdown-big>span {
		font-size: 0.7rem;
		margin: 0 5px;
	}

	.countdown.countdown-big>span>span {
		font-size: 1.1rem;
	}

}

.countdown.countdown-big>span.days>span {
	color: var(--secondary) !important;
}

.countdown.countdown-big>span.seconds>span {
	color: var(--primary) !important;
}

.countdown.countdown-small {
	margin-right: -5px;
	margin-left: -5px;
	margin-top: 0.5rem;
	margin-bottom: 1rem;
}

.countdown.countdown-small>span {
	border: 1px solid rgba(0, 0, 0, 0.15);
	box-shadow: 0 0 #0000, 0 0 #0000, 0 8px 30px rgb(0, 0, 0, 0.04);
	background-color: var(--light-rgba-80);
	padding: 1rem;
	font-size: 0.7rem;
	border-radius: 14px;
	margin: 0 5px;
	font-weight: 600;
	color: var(--dark) !important;
	line-height: 1.8;
}

.countdown.countdown-small>span>span {
	font-size: 1.1rem;
	color: var(--dark) !important;
}

.countdown.countdown-small>span.seconds>span {
	color: var(--primary) !important;
}

.ping-container {
	position: relative;
	width: 0.75rem;
	height: 0.75rem;
}

.animate-ping {
	animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 9999px;
	opacity: 0.75;
}

.ping-define {
	position: relative;
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 9999px;
}

@keyframes ping {

	75%,
	100% {
		transform: scale(2);
		opacity: 0;
	}
}
