/**
 * AIA Dark Mode — suprascrieri globale site.
 *
 * @package AIA_Pro
 */

html.aia-dark-mode,
html.aia-dark-mode body {
	background-color: #121212 !important;
	color: #e0e0e0;
}

html.aia-dark-mode body {
	--e-global-color-text: #e0e0e0;
	--e-global-color-primary: #ffffff;
	--e-global-color-secondary: #bdbdbd;
	--e-global-color-accent: #e60000;
	--wp--preset--color--foreground: #e0e0e0;
	--wp--preset--color--background: #121212;
}

html.aia-dark-mode #page,
html.aia-dark-mode .site,
html.aia-dark-mode .site-content,
html.aia-dark-mode .elementor {
	background-color: #121212 !important;
	color: #e0e0e0;
}

html.aia-dark-mode .elementor-section.elementor-section-boxed > .elementor-container,
html.aia-dark-mode .elementor-section:not([data-settings*="background_background"]) > .elementor-background-overlay + .elementor-container,
html.aia-dark-mode .elementor-section.elementor-section-height-default:not(.elementor-inner-section) {
	background-color: transparent;
}

html.aia-dark-mode h1,
html.aia-dark-mode h2,
html.aia-dark-mode h3,
html.aia-dark-mode h4,
html.aia-dark-mode h5,
html.aia-dark-mode h6,
html.aia-dark-mode p,
html.aia-dark-mode li,
html.aia-dark-mode span:not([class*="aia-"]):not([class*="elementor-icon"]),
html.aia-dark-mode label,
html.aia-dark-mode .elementor-widget-heading .elementor-heading-title,
html.aia-dark-mode .elementor-widget-text-editor,
html.aia-dark-mode .entry-title,
html.aia-dark-mode .post-title {
	color: #e0e0e0 !important;
}

html.aia-dark-mode a:not(.aia-darkmode-toggle__button):not(.aia-darkmode-toggle__track):not(.aia-ui-back-to-top):not(.aia-ui-submit-news):not(.aia-contact__consent-link):not(.aia-mega-menu__link--button) {
	color: #f0f0f0;
}

html.aia-dark-mode a:not(.aia-darkmode-toggle__button):not(.aia-darkmode-toggle__track):hover,
html.aia-dark-mode a:not(.aia-darkmode-toggle__button):not(.aia-darkmode-toggle__track):focus-visible {
	color: #e60000;
}

html.aia-dark-mode .elementor-section[data-settings*="background_background"] .elementor-background-overlay {
	opacity: 0.85;
}

html.aia-dark-mode .aia-pro-mega-menu,
html.aia-dark-mode .aia-mega-menu__dropdown-inner,
html.aia-dark-mode .aia-top-bar,
html.aia-dark-mode .aia-pro-news-grid,
html.aia-dark-mode .aia-news-card,
html.aia-dark-mode .aia-breadcrumb,
html.aia-dark-mode .aia-share-story,
html.aia-dark-mode .aia-contact__info {
	background-color: #1a1a1a !important;
	color: #e0e0e0;
}

html.aia-dark-mode .aia-mega-menu__link,
html.aia-dark-mode .aia-breadcrumb__link,
html.aia-dark-mode .aia-news-card__title,
html.aia-dark-mode .aia-news-card__excerpt,
html.aia-dark-mode .aia-news-section-title__text {
	color: #e0e0e0 !important;
}

html.aia-dark-mode .aia-mega-menu__link:hover,
html.aia-dark-mode .aia-breadcrumb__link:hover,
html.aia-dark-mode .aia-news-card__title a:hover {
	color: #e60000 !important;
}

html.aia-dark-mode .aia-mega-menu__link--button {
	color: #0c0c0c !important;
	background-color: transparent !important;
	border-color: #e60000 !important;
}

html.aia-dark-mode .aia-mega-menu__item--button:hover > .aia-mega-menu__link--button {
	color: #fff !important;
	background-color: #e60000 !important;
}

html.aia-dark-mode .aia-top-bar,
html.aia-dark-mode .aia-mega-menu__dropdown-inner {
	border-color: rgba(255, 255, 255, 0.08);
}

html.aia-dark-mode input:not([type="checkbox"]):not([type="radio"]),
html.aia-dark-mode textarea,
html.aia-dark-mode select {
	background-color: #1f1f1f !important;
	color: #e0e0e0 !important;
	border-color: #3a3a3a !important;
}

html.aia-dark-mode .aia-contact__form-column {
	background-color: #0c0c0c !important;
}

html.aia-dark-mode .aia-contact__input,
html.aia-dark-mode .aia-contact__textarea {
	background-color: #1f1f1f !important;
	color: #e0e0e0 !important;
	border-color: #3a3a3a !important;
}

html.aia-dark-mode .aia-news-grid__pagination-link {
	background-color: #1a1a1a;
	color: #e0e0e0;
	border-color: #3a3a3a;
}

html.aia-dark-mode .aia-news-grid__pagination-link.is-current,
html.aia-dark-mode .aia-news-grid__pagination-link:hover {
	background-color: #e60000 !important;
	border-color: #e60000 !important;
	color: #fff !important;
}

html.aia-dark-mode .aia-mega-menu__overlay {
	background-color: rgba(0, 0, 0, 0.72) !important;
}
