/**
 * Grafica ICMQ – Header, menu, footer (stesso aspetto del sito attuale)
 * Replica gli stili di custom.css e style.min.css per header/footer/menu.
 */

/* ---- Banda top header (.wel-t-band) ---- */
.wel-t-band {
	position: relative;
	background: #fff;
	font: 400 1em/1em "Open Sans", sans-serif;
	color: #6e6e6e;
	border-bottom: 1px solid #ddd;
	padding: 5px 0 0;
}

.top-header {
	background-color: #fff;
	padding: 5px 0 0;
	height: 25px;
}

.top-header .header-item {
	display: inline-block;
	margin-right: 20px;
	font-size: 12px;
	padding-top: 4px;
}

.header-item,
.header-item a {
	color: #595959;
}

/* ---- Social / brands ---- */
.brands {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.brands > li {
	margin: 0 0 8px;
}

.brands-inline > li {
	display: inline-block;
	margin-right: 5px;
}

.brands-inline > li:last-child {
	margin-right: 0;
}

.brands-tn > li > a {
	font-size: 12px;
	padding-top: 4px;
	width: 25px;
	height: 25px;
	text-align: center;
	display: inline-block;
	background-color: #ebebeb;
	color: #595959;
}

.top-header .brands {
	display: inline-block;
	margin-right: 20px;
	position: relative;
	top: -2px;
}

/* ---- Logo area ---- */
.pad-logo {
	padding-top: 10px;
	padding-bottom: 10px;
}

.top-two-left {
	position: relative;
	overflow: hidden;
	margin-top: 10px;
}

.top-two-left h3 {
	margin: 0;
	font: 600 1.2em/1.2em "Open Sans", sans-serif;
	color: #242424;
}

/* Pulsante header (Contattaci / Richiedi preventivo) – come custom.css */
.contactus-button {
	margin: 0.5em 0 0;
}
.contactus-button a {
	background: #e10101;
	color: #fff;
	display: inline-block;
	font: 500 1em/1em "Open Sans", sans-serif;
	margin-top: 1px;
	padding: 0 17px 0 23px;
	text-transform: uppercase;
	float: right;
	border-radius: 5px;
	line-height: 42px;
	letter-spacing: 2px;
}
.contactus-button a:hover {
	background: #009bb2;
	color: #fff;
}

/* ---- Menu principale – identico a style.css + custom.css sito originale ---- */
.main_menu {
	position: relative;
	z-index: 9999;
}

.nav-home-two {
	background: #6b6b6f;
	position: relative;
	font-size: 14px; /* base come sito originale: 1em = 14px */
}

.icmq-mobile-menu-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 9998;
	cursor: pointer;
}

.nav-t-holder .nav-t-footer {
	display: block;
}

.nav-t-holder .nav-t-footer ul.nav {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-t-holder .nav-t-footer ul.nav > li {
	display: inline-block;
	padding: 1.6em 0; /* ridotto da 23.5px per altezza barra come originale */
	position: relative;
}

.nav-t-holder .nav-t-footer ul.nav > li > a {
	padding: 0 1.2em;
	display: block;
	color: #fff;
	text-transform: uppercase;
	border-right: 1px dashed #3f5262;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
	font: 600 1em/1em "Open Sans Condensed", sans-serif;
	letter-spacing: 0.4px;
}

.nav-t-holder .nav-t-footer ul.nav > li:hover > a,
.nav-t-holder .nav-t-footer ul.nav > li.active > a {
	color: #fab90a;
	background-color: transparent;
}

.nav-t-holder .nav-t-footer ul.nav > li:last-child > a {
	border-right: none;
	padding-right: 0;
}

/* Sottomenu – valori esatti da style.css + custom.css */
.nav-t-holder .nav-t-footer ul.nav > li ul.submenu {
	position: absolute;
	width: 275px;
	opacity: 0;
	visibility: hidden;
	z-index: 99999;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
	top: 100%;
	left: 0;
	list-style: none;
	margin: 0;
	padding: 0;
	background: #6b6b6f;
}

.nav-t-holder .nav-t-footer ul.nav > li:hover > ul.submenu {
	visibility: visible;
	opacity: 1;
}

.nav-t-holder .nav-t-footer ul.nav > li ul.submenu li {
	display: block;
	padding: 0;
	background: #6b6b6f;
}

.nav-t-holder .nav-t-footer ul.nav > li ul.submenu li a {
	color: #fff;
	font: 600 1em/1em "Open Sans Condensed", sans-serif;
	padding: 11px 20px 12px; /* leggermente ridotto per proporzione */
	border-bottom: 1px solid #3f5262;
	position: relative;
	display: block;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
	text-transform: uppercase;
	text-decoration: none;
}

.nav-t-holder .nav-t-footer ul.nav > li ul.submenu li:last-child a {
	border-bottom: 0;
}

.nav-t-holder .nav-t-footer ul.nav > li ul.submenu li a:hover {
	color: #fff;
	background: #3f5262;
}

.nav-t-holder .nav-t-header {
	display: none;
	padding: 12px 20px;
}

.nav-t-holder .nav-t-header button {
	width: 44px;
	height: 44px;
	background: #19242a;
	border: 1px solid #3f5262;
	outline: 0;
	color: #fff;
	font-size: 25px;
	border-radius: 10px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* ---- Footer – identico a style.css + custom.css sito originale ---- */
.footer-bg {
	background: #293133;
}

.sec-padding {
	padding-top: 6em;
	padding-bottom: 4.3em;
}

.footer-t-bottom {
	background: #15191a;
}

.footer-t-bottom.footer-bottom {
	color: #555759;
	padding: 2em 0;
}

.footer-bottom .fo-txt p {
	color: #a3a3a3;
	font: 400 1em/1em "Open Sans", sans-serif;
}

.footer-bottom .fo-txt p a {
	color: #1d8898;
}

.footer-bottom .fo-txt p a:hover {
	color: #f6ba18;
}

/* Link footer: font come originale (custom.css) */
.footer-bg a,
.footer-t-bottom a {
	font-family: Roboto, Tahoma, Verdana, Segoe, sans-serif;
}

.widget {
	margin-bottom: 2em;
}

.widget_title,
.get-in-touch h4,
.widget-contact h4,
.widget-links h4 {
	font: 600 18px/17px "Open Sans", sans-serif;
	font-family: Roboto, Tahoma, Verdana, Segoe, sans-serif;
	color: #fff;
	margin-top: 0;
	text-transform: uppercase;
	margin-bottom: 24px;
}

.get-in-touch h4::after,
.widget-contact h4::after,
.widget-links h4::after {
	content: "";
	width: 40px;
	height: 2px;
	background: #0094b3;
	display: block;
	margin-top: 13px;
}

.m0 {
	margin: 0 !important;
}

.widget-contact-list ul,
.widget-contact-list li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.widget-contact-list ul li a {
	color: #fff;
	text-transform: capitalize;
	line-height: 39px;
}

.widget-contact-list ul li a:hover {
	color: #009bb3;
	text-decoration: underline;
}

.widget.widget-contact ul li .fleft {
	float: left;
	color: #fff;
	width: calc(100% - 34px);
	font: 400 1em/1.4em "Open Sans", sans-serif;
	padding: 1.1em 0 0;
}

.widget.widget-contact ul li i {
	float: left;
	font-size: 25px;
	color: #009bb3;
	width: 34px;
	padding-top: 13px;
	line-height: 18px;
}

.widget.widget-contact ul li i.fa-map-marker {
	padding-top: 22px;
}

.widget.widget-contact ul li i.fa-phone {
	font-size: 21px;
	line-height: 41px;
}

.widget.widget-contact ul li i.fa-envelope-o {
	font-size: 18px;
	line-height: 41px;
}

.get-in-touch p,
.get-in-touch a {
	color: #fff;
}

.get-in-touch a:hover {
	color: #009bb3;
	text-decoration: underline;
}

.follow-social-widget {
	padding: 0;
	margin-top: 10px;
}

.follow-social-widget p {
	margin: 0.1em 0 0;
	font-size: 2.3em;
}

.follow-social-widget a {
	color: #efefef;
	margin-right: 0.5em;
	font-size: 1em;
}

.follow-social-widget a:hover {
	color: #11adc6;
	background: none;
}

.widget.about-us-widget3 .widget-contact-list ul li a {
	color: #fff;
}

.widget.about-us-widget3 .widget-contact-list ul li a:hover {
	color: #009bb3;
	text-decoration: underline;
}

/* ---- Contenuto principale ---- */
.site-main.container {
	max-width: 1170px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
}

/* ---- Responsive: menu hamburger (modern corporate) ---- */
@media (max-width: 1100px) {

	/* Hamburger */
	.nav-t-holder .nav-t-header {
		display: block;
		padding: 10px 0;
		margin-left: -6px;
	}

	.nav-t-holder .nav-t-header button {
		width: 44px;
		height: 44px;
		background: rgba(255, 255, 255, 0.1);
		border: 1px solid rgba(255, 255, 255, 0.2);
		border-radius: 8px;
		color: #fff;
		font-size: 20px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
		transition: all 0.2s ease;
	}

	.nav-t-holder .nav-t-header button:hover,
	.nav-t-holder.is-open .nav-t-header button {
		background: #0094b3;
		border-color: #0094b3;
	}

	/* Overlay */
	.nav-t-holder.is-open .icmq-mobile-menu-overlay {
		display: block;
	}

	/* Drawer */
	.nav-t-holder .nav-t-footer {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 300px;
		max-width: 82vw;
		height: 100vh;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		z-index: 10000;
		background: #1e272e;
		padding: 0;
		border-radius: 0;
		box-shadow: 6px 0 32px rgba(0, 0, 0, 0.45);
	}

	.nav-t-holder.is-open .nav-t-footer {
		display: block;
	}

	/* Brand strip */
	.nav-t-holder .nav-t-footer ul.nav {
		padding: 0;
	}

	.nav-t-holder .nav-t-footer ul.nav::before {
		content: '';
		display: block;
		height: 3px;
		background: linear-gradient(90deg, #007a94, #0094b3, #00b8d9);
	}

	/* Voci principali */
	.nav-t-holder .nav-t-footer ul.nav > li {
		display: block !important;
		padding: 0 !important;
		float: none;
	}

	.nav-t-holder .nav-t-footer ul.nav > li > a {
		display: block;
		padding: 14px 20px;
		font-family: "Open Sans", sans-serif;
		font-weight: 600;
		font-size: 13.5px;
		line-height: 1.3;
		letter-spacing: 0.6px;
		text-transform: uppercase;
		color: rgba(255, 255, 255, 0.9);
		border-right: none;
		border-bottom: 1px solid rgba(255, 255, 255, 0.07);
		text-decoration: none;
		transition: all 0.2s ease;
	}

	.nav-t-holder .nav-t-footer ul.nav > li > a:hover {
		background: rgba(0, 148, 179, 0.12);
		color: #fff !important;
		border-left: 3px solid #0094b3;
		padding-left: 17px;
	}

	.nav-t-holder .nav-t-footer ul.nav > li.has-t-submenu > a {
		position: relative;
		padding-right: 52px;
	}

	/* Dropdown-expander */
	.nav-t-holder .nav-t-footer ul.nav > li.has-t-submenu > a > button.dropdown-expander {
		position: absolute;
		right: 14px;
		top: 50%;
		transform: translateY(-50%);
		width: 30px;
		height: 30px;
		background: rgba(255, 255, 255, 0.06);
		border: 1px solid rgba(255, 255, 255, 0.15);
		border-radius: 6px;
		color: rgba(255, 255, 255, 0.6);
		font-size: 13px;
		padding: 0;
		text-align: center;
		line-height: 28px;
		cursor: pointer;
		outline: none;
		transition: all 0.2s ease;
	}

	.nav-t-holder .nav-t-footer ul.nav > li.has-t-submenu > a > button.dropdown-expander:hover {
		background: rgba(0, 148, 179, 0.2);
		border-color: rgba(0, 148, 179, 0.5);
		color: #0094b3;
	}

	/* Sottomenu */
	.nav-t-holder .nav-t-footer ul.nav > li > ul.submenu {
		position: relative !important;
		opacity: 1 !important;
		visibility: visible !important;
		width: 100% !important;
		display: none;
		margin: 0;
		padding: 6px 0;
		background: rgba(0, 0, 0, 0.2);
		border-radius: 0;
		border: none;
		border-top: 1px solid rgba(0, 148, 179, 0.2);
		box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.15);
	}

	.nav-t-holder .nav-t-footer ul.nav > li:hover > ul.submenu {
		display: block;
	}

	.nav-t-holder .nav-t-footer ul.nav > li ul.submenu li {
		display: block;
		padding: 0;
		background: transparent;
	}

	.nav-t-holder .nav-t-footer ul.nav > li ul.submenu li a {
		display: block;
		padding: 10px 20px 10px 36px;
		margin: 0;
		font-family: "Open Sans", sans-serif;
		font-weight: 400;
		font-size: 13px;
		line-height: 1.4;
		letter-spacing: 0.2px;
		text-transform: none;
		color: rgba(255, 255, 255, 0.7);
		border-bottom: none;
		border-left: 2px solid transparent;
		border-radius: 0;
		background: transparent;
		text-decoration: none;
		transition: all 0.15s ease;
	}

	.nav-t-holder .nav-t-footer ul.nav > li ul.submenu li a:hover {
		background: rgba(0, 148, 179, 0.1);
		color: #fff;
		border-left-color: #fab90a;
	}
}

@media (max-width: 980px) {
	.top-two-left {
		text-align: center;
	}
}

@media (max-width: 768px) {
	.sec-padding {
		padding: 3em 0;
	}
}

@media (max-width: 767px) {
	.get-in-touch,
	.widget-contact,
	.widget-links {
		min-height: auto !important;
		max-width: 320px;
		margin: 0 auto 50px;
	}

	.footer-bottom .fo-txt {
		width: 100%;
		display: block;
		text-align: center;
	}
}

/* ========== Menu Elementor (Theme Builder) – stessi valori del menu originale ========== */
.elementor-widget-nav-menu .elementor-nav-menu {
	background: #6b6b6f;
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	font-size: 14px; /* base come sito originale */
}
.elementor-widget-nav-menu .elementor-nav-menu--main > li {
	position: relative;
	padding: 16px 0; /* ridotto come menu principale */
}
.elementor-widget-nav-menu .elementor-nav-menu--main > li > a {
	padding: 0 1.2em;
	color: #fff;
	text-transform: uppercase;
	font: 600 1em/1em "Open Sans Condensed", sans-serif;
	letter-spacing: 0.4px;
	border-right: 1px dashed #3f5262;
	transition: all 0.3s ease;
	display: block;
}
.elementor-widget-nav-menu .elementor-nav-menu--main > li:last-child > a {
	border-right: none;
	padding-right: 0;
}
.elementor-widget-nav-menu .elementor-nav-menu--main > li > a:hover,
.elementor-widget-nav-menu .elementor-nav-menu--main > li > a.elementor-item-active {
	color: #fab90a;
	background: transparent;
}
.elementor-widget-nav-menu .elementor-nav-menu .sub-menu {
	position: absolute;
	width: 275px;
	background: #6b6b6f;
	list-style: none;
	margin: 0;
	padding: 0;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	top: 100%;
	left: 0;
	z-index: 99999;
}
.elementor-widget-nav-menu .elementor-nav-menu li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
}
.elementor-widget-nav-menu .elementor-nav-menu .sub-menu a {
	color: #fff;
	font: 600 1em/1em "Open Sans Condensed", sans-serif;
	padding: 11px 20px 12px; /* ridotto per proporzione */
	border-bottom: 1px solid #3f5262;
	display: block;
	text-transform: uppercase;
	transition: all 0.3s ease;
}
.elementor-widget-nav-menu .elementor-nav-menu .sub-menu li:last-child a {
	border-bottom: 0;
}
.elementor-widget-nav-menu .elementor-nav-menu .sub-menu a:hover {
	background: #3f5262;
	color: #fff;
}
.elementor-location-header .elementor-widget-nav-menu .elementor-widget-container {
	background: #6b6b6f;
}
.elementor-location-header .elementor-widget-nav-menu .elementor-nav-menu--layout-horizontal .elementor-nav-menu {
	display: flex;
}

/* ========== Inner banner (header con immagine) – stile identico a custom.css ========== */
.icmq-inner-banner {
	padding-top: 75px;
	padding-bottom: 80px;
	background-color: #6b6b6f;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	clear: both;
}

/* Banner inserito nel contenuto (pagine Elementor): larghezza piena anche dentro container */
.icmq-banner-in-content {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
	box-sizing: border-box;
}
.elementor .icmq-banner-in-content .container,
.entry-content .icmq-banner-in-content .container {
	max-width: 1170px;
	margin-left: auto;
	margin-right: auto;
}

/* Breadcrumb inserita nel contenuto (pagine Elementor): larghezza piena */
.icmq-breadcrumb-in-content {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
	box-sizing: border-box;
}
.icmq-inner-banner .container {
	position: relative;
}
.icmq-inner-banner h2 {
	font: 600 4.3em/1em "Open Sans", serif;
	color: #000;
	text-shadow: 2px 1px 9px rgba(255, 255, 255, 1);
	margin: 0;
	padding: 0;
}
@media only screen and (max-width: 767px) {
	.icmq-inner-banner h2 {
		font: 600 2em/1em "Open Sans", serif;
	}
}

/* Banner News: immagine di default (inserire news-header.jpg in assets/images/) */
.icmq-inner-banner-news {
	background-color: #fff;
}
.icmq-inner-banner-news h2 {
	color: #000;
}

/* ========== Breadcrumb – stile identico a style.css .breadcumb-wrapper ========== */
.breadcumb-wrapper {
	background: #f2f4f6;
	border-bottom: 1px solid #e6e8e9;
	padding-top: 1.2em;
	padding-bottom: 1.2em;
}
.breadcumb-wrapper .container {
	position: relative;
}
.breadcumb-wrapper ul.breadcumb {
	list-style: none;
	margin: 0;
	padding: 0;
}
.breadcumb-wrapper ul.breadcumb li {
	display: inline-block;
	margin-right: 6px;
}
.breadcumb-wrapper ul.breadcumb li:last-child a:after,
.breadcumb-wrapper ul.breadcumb li:last-child span:after {
	display: none;
}
.breadcumb-wrapper ul.breadcumb li a {
	display: inline-block;
	color: #105a65;
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
}
.breadcumb-wrapper ul.breadcumb li a:hover {
	color: #105a65;
	text-decoration: underline;
}
.breadcumb-wrapper ul.breadcumb li span {
	display: inline-block;
	color: #595959;
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
}
.breadcumb-wrapper ul.breadcumb li a i,
.breadcumb-wrapper ul.breadcumb li span i {
	font-size: 14px;
	font-weight: normal;
	margin-right: 5px;
}
.breadcumb-wrapper ul.breadcumb li a:after,
.breadcumb-wrapper ul.breadcumb li span:after {
	content: '\f105';
	display: inline-block;
	font-family: 'FontAwesome';
	color: #595959;
	font-size: 13px;
	margin-left: 13px;
}
