/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* CORREZIONI AVADA */
html.awb-scroll::-webkit-scrollbar { width: 0 !important; }
html bold, html strong { font-weight: 600; }

/* HEADER E MENU */
header.fusion-header-wrapper .fusion-header-has-flyout-menu .fusion-flyout-menu {
	left: auto;
	width: 50%;
	padding: 0 30px;
	justify-content: center;
}
header.fusion-header-wrapper .fusion-header-has-flyout-menu .fusion-flyout-menu-bg {
	left: auto;
	width: 50%;
	box-shadow: -30px 0px 60px rgba(0, 0, 0, 0.25);
	justify-content: center;
}
header.fusion-header-wrapper .fusion-header-has-flyout-menu .fusion-flyout-menu .fusion-menu {
	width: auto;
	flex-direction: column;
	align-items: flex-end;
}
header.fusion-header-wrapper .fusion-header-has-flyout-menu .fusion-flyout-menu .fusion-menu li { width: auto; }
header.fusion-header-wrapper .fusion-header-has-flyout-menu .fusion-flyout-menu,
header.fusion-header-wrapper .fusion-header-has-flyout-menu .fusion-flyout-menu-bg,
header.fusion-header-wrapper .fusion-header-has-flyout-menu .fusion-flyout-menu .fusion-menu { transition: all 0.5s ease-in-out 0s; }
header.fusion-header-wrapper .fusion-header-has-flyout-menu .fusion-flyout-menu .fusion-menu { opacity: 0; }
header.fusion-header-wrapper .fusion-header-has-flyout-menu.fusion-flyout-menu-active .fusion-flyout-menu .fusion-menu { opacity: 1; }
header.fusion-header-wrapper .fusion-header-has-flyout-menu .fusion-flyout-menu-icons .fusion-flyout-menu-toggle {
	height: var(--flyout_menu_icon_font_size_px);
	width: calc((var(--flyout_menu_icon_font_size_px)) * 2);
}
header.fusion-header-wrapper .fusion-header-has-flyout-menu .fusion-flyout-menu-icons .fusion-toggle-icon-line {
	width: calc((var(--flyout_menu_icon_font_size_px)) * 2);
	height: 2px;
}
header.fusion-header-wrapper .fusion-header-has-flyout-menu.fusion-flyout-menu-active .fusion-flyout-menu-icons .fusion-flyout-menu-toggle .fusion-toggle-icon-line {
	width: calc((var(--flyout_menu_icon_font_size_px)) * 1.3642);
	margin-left: calc((var(--flyout_menu_icon_font_size_px)) / 2);
}
@supports ((-webkit-backdrop-filter: initial) or (backdrop-filter: initial)) {
	header.fusion-header-wrapper .fusion-header-has-flyout-menu.fusion-flyout-menu-active .fusion-flyout-menu-bg {
		-webkit-backdrop-filter: saturate(180%) blur(20px);
		backdrop-filter: saturate(180%) blur(20px);
		background-color: rgba(55, 36, 84, 0.8) !important;
	}
}
.fusion-main-menu > ul > li > a { line-height: 1.5 !important; }
.fusion-main-menu > ul > li > a > span { pointer-events: none; }

/* UTILITY */
:root { --zoomFlueedo: 1; }
#wrapper .post-content .h2-as-h1 h2 { font-size: var(--h1_typography-font-size); }
.fusion-text:not(.mrg-btm) h1:last-child,
.fusion-text:not(.mrg-btm) h2:last-child,
.fusion-text:not(.mrg-btm) h3:last-child,
.fusion-text:not(.mrg-btm) h4:last-child,
.fusion-text:not(.mrg-btm) h5:last-child,
.fusion-text:not(.mrg-btm) h6:last-child,
.fusion-text:not(.mrg-btm) p:last-child,
.fusion-text:not(.mrg-btm) blockquote:last-child,
.fusion-text:not(.mrg-btm) ul:last-child,
.fusion-text:not(.mrg-btm) ul:last-child li:last-child,
td ul:last-child,
.panel-body.toggle-content p:last-child,
.panel-body.toggle-content ul:last-child { margin-bottom: 0 !important; }
ul.fusion-checklist { line-height: var(--body_typography-line-height) !important; }
body .fusion-highlight.awb-highlight-background {
	line-height: inherit;
	padding: 0 0.25em 0.3em;
	background: linear-gradient(transparent 11%, var(--awb-color4) 11%, var(--awb-color4) 90%, transparent 90%);
}
body .fusion-highlight.awb-highlight-background.evidenziato-viola { background: linear-gradient(transparent 11%, var(--awb-color5) 11%, var(--awb-color5) 90%, transparent 90%); }
@-moz-document url-prefix() {
	body .fusion-highlight.awb-highlight-background {
		padding: 0.35em 0.25em 0.3em;
		background: linear-gradient(transparent 10%, var(--awb-color4) 10%, var(--awb-color4) 90%, transparent 90%);
	}
	body .fusion-highlight.awb-highlight-background.evidenziato-viola { background: linear-gradient(transparent 10%, var(--awb-color5) 10%, var(--awb-color5) 90%, transparent 90%); }
}

/* RESPONSIVE */
@media only screen and (max-width: 1460px) {
	.fusion-header .fusion-row,
	#footer-copy .fusion-column-wrapper {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}
@media only screen and (max-width: 632px) {
	:root {
		--awb-typography3-font-size: var(--body_typography-font-size) !important;
		--flyout_menu_icon_font_size: 20px !important;
		--flyout_menu_icon_font_size_px: 20px !important;
	} 
	header.fusion-header-wrapper .fusion-header .fusion-logo {
		margin-top: 20px;
		margin-bottom: 20px;
	}
	header.fusion-header-wrapper .fusion-header .fusion-logo img { width: 120px; }
	header.fusion-header-wrapper.fusion-is-sticky .fusion-header-has-flyout-menu.fusion-flyout-menu-active .fusion-logo {
		opacity: 0;
		visibility: hidden;
		transition: all 0.5s ease-in-out 0s;
	}
	header.fusion-header-wrapper .fusion-header-has-flyout-menu .fusion-flyout-menu,
	header.fusion-header-wrapper .fusion-header-has-flyout-menu .fusion-flyout-menu-bg { width: 75%; }
}