.site-above-header-wrap,
#ast-desktop-header .site-primary-header-wrap,
#ast-mobile-header .site-primary-header-wrap > .ast-builder-grid-row,
.site-above-footer-wrap,
.site-primary-footer-wrap,
.site-below-footer-wrap,
.ast-mobile-popup-inner > div {
	width: var(--wp--custom--ast-container-width);
	max-width: var(--stadium-content-max-width);
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 0px !important;
	padding-right: 0px !important;
}

/* Header */
	/* Top Header */
		aside.header-widget-area, aside.header-widget-area * {
			margin: 0px !important;
			padding: 0px !important;
		}
		aside.header-widget-area {
			display: flex !important;
			gap: 35px;
		}
	/* END Top Header */
	/* Main Header */
		#ast-desktop-header .site-header-primary-section-right.site-header-section.ast-flex.ast-grid-right-section {
			width: 100%;
			justify-content: space-between;
			align-items: flex-end;
		}
		#ast-desktop-header .ast-builder-grid-row.ast-builder-grid-row-has-sides.ast-builder-grid-row-no-center {
			display: flex;
			justify-content: space-between;
		}
		#ast-desktop-header .ast-builder-menu, 
		#ast-desktop-header .ast-main-header-bar-alignment, 
		#ast-desktop-header .main-navigation.ast-inline-flex, 
		#ast-desktop-header .main-header-menu {width: 100% !important;}
		#ast-desktop-header .main-header-menu {
			justify-content: flex-end;
			gap: 80px;
		}
		#ast-desktop-header .site-branding.ast-site-identity, #ast-desktop-header .site-logo-img {padding: 0px;}
		#ast-desktop-header .menu-item > a > span.dropdown-menu-toggle {display: none;}
		/* Sub-menu */ 
			#ast-desktop-header ul.sub-menu {
				display: flex;
				flex-direction: column;
				gap: 15px;
				padding: 20px 10px;
			}
			.ast-desktop .main-header-menu>.menu-item .sub-menu:before {content: none;}
		/* END Sub-menu */
		/* Sticky */
			.ast-primary-header-bar.ast-sticky-active {padding: 5px 0px !important;}
		/* END Sticky */
		/* Responsive */
			@media screen and (min-width: 922px) and (max-width: 1250px) {
				header .custom-logo-link img {
					max-width: 250px !important;
				}
				#ast-desktop-header .main-header-menu {
					gap: 25px !important;
				}
			}
			#ast-mobile-header {background-color: var(--ast-global-color-2);}
			#ast-mobile-header .site-branding {padding: 0px !important;}
		/* END Responsive */
		/* OFF-CANVAS */
			/* Hamburger & X close btn */
				#ast-mobile-popup .ast-mobile-popup-header {
					height: var(--header-main);
					align-items: center;
				}
				#ast-mobile-header button.menu-toggle, #ast-mobile-popup button#menu-toggle-close {padding: 0px !important;}
				#ast-mobile-popup span.ast-svg-iconset {line-height: 0;}
			/* END Hamburger & X close btn */
			/* Toggle Arrow */
				#ast-mobile-popup .ast-menu-toggle {color: white !important;}
				#ast-mobile-popup button.ast-menu-toggle {
					padding: 0px !important;
					line-height: 0px !important;
					display: flex !important;
					align-items: center;
					justify-content: center;
					position: relative;
					left: 0;
					width: auto !important;
					aspect-ratio: 1 / 1;
				}
				#ast-mobile-popup button.ast-menu-toggle , #ast-hf-mobile-menu > .menu-item > a.menu-link {height: 40px;}
				#ast-mobile-popup svg.ast-arrow-svg {margin: 0px !important;}
			/* END Toggle Arrow */
			/* Main-Menu */
				#ast-mobile-popup-wrapper .ast-mobile-popup-full-width .ast-mobile-popup-inner {width: 100% !important;}
				ul#ast-hf-mobile-menu {gap: 20px;}
				#ast-hf-mobile-menu > .menu-item {
					justify-content: flex-start !important;
					gap: 0px 20px;
					flex-direction: row;
					flex-wrap: wrap;
				}
				#ast-hf-mobile-menu a.menu-link {
					height: auto;
					line-height: 1em;
					width: fit-content;
					display: flex;
				}
				#ast-hf-mobile-menu .sub-menu {
					display: flex !important;
					width: 100% !important;
					gap: 10px;
					flex-direction: column;
					max-height: 0px;
					overflow: hidden;
					transition: max-height var(--stadium-animation);
				}
				#ast-hf-mobile-menu .sub-menu a.menu-link {text-transform: none !important;}
				#ast-hf-mobile-menu .ast-submenu-expanded .sub-menu {max-height: 200px;}
				#ast-hf-mobile-menu .sub-menu:before {
					content: "";
					height: 5px;
				}
				#ast-mobile-popup .sub-menu .icon-arrow {display: none !important;}
			/* END Main-Menu */
		/* END OFF-CANVAS */
	/* END Main Header */
/* END Header */

/* Footer */
	.site-primary-footer-inner-wrap {
		display: flex;
		gap: 40px !important;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	footer [href="/"] img {
		max-width: 100% !important;
		width: 320px !important;
	}

	/* Collabora con */
		.site-footer-primary-section-3 aside {
			display: flex !important;
			align-items: center;
			gap: 15px;
		}
		.site-footer-primary-section-3 section#text-8 {margin: 0;}
		[src*="subasio"] {width: 70px;}
	/* END Collabora con */
	/* Seguici su */
		.site-primary-footer-inner-wrap .site-footer-primary-section-4:before {
			content: "Seguici su";
			font-size: 15px;
			color: white;
			white-space: nowrap;
		}
		.site-primary-footer-inner-wrap .site-footer-primary-section-4 {
			display: flex !important;
			align-items: center !important;
			gap: 15px;
		}
		a.ast-builder-social-element[href="#"] {display: none;}
	/* END Seguici su */
	/* Copyright */	/* END Copyright */
/* END Footer */

/* For Developer backend */
header.ast-header-without-markup {display: none;}
body:not(:has( #wpadminbar)) .elementor-widget-shortcode:has( .wp-php-debug) {display: none;}
button.customize-partial-edit-shortcut-button {left: -30px !important;}