/**
	Theme Name: fedisa
	Author: Studio il Granello
	Author URI: https://www.studioilgranello.it
	Description: Fedisa Child theme
	Version: 1.0.0
	License: GNU General Public License v2 or later
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
	Text Domain: fedisa
	Template: astra
*/
/* Global */
/* Astra: all on-click events have underline as default */
	:focus-visible, :focus {outline: none !important;}
	:not(.elementor-button, input, select, textarea, .button, .elementor-tab-title, .elementor-tab-content, .e-filter-item):focus {border: none !important; box-shadow: none !important;}
	select {box-shadow: none !important;}
/* END FIX Astra: all on-click events have underline as default */
.entry-content div:has(.elementor-text-editor, .elementor-widget-text-editor) .elementor-widget-text-editor a:not(.elementor-button),
/* #content .elementor-widget-container > p a:not(.elementor-button) {
	color: var(--ast-global-color-0) !important;
	font-weight: 700;
} link in tutti i testi nel contenuto */
.entry-content div:has(.elementor-text-editor, .elementor-widget-text-editor) p:last-child,
#content p:last-child, #content ul:last-child, .elementor p:last-child, .elementor ul:last-child, footer p:last-child
{margin-bottom: 0px !important;} /* rimuove le spaziature non necessarie per tutti gli ultimi paragrafi in un contenitore */
#content .elementor-widget-container a {line-break: normal;}
html.ast-off-canvas-active {overflow: hidden;} /* consente lo scroll solo al menu off canvas (quando attivo), senza far scrollare anche il contenuto del sito contemporaneamente */
a:not(:has( .elementor-button-text)) {text-decoration: none !important;} /* all a-href have underline as default */
.elementor-widget-container p a:not(:has( .elementor-button-text)) {text-decoration: underline !important;}
.elementor-button-icon svg {width: auto !important;} /* Force SVG default size, instead of 1em width */
/* .elementor-icon path {fill: inherit !important;} Force elementor svg color selector, instead of raw/root color */
.elementor-shortcode:not(:has( *)) {display: none;}
#primary, [data-elementor-type="single-post"] {
	padding: 0px !important;
	margin: 0px !important;
}
[name="post_password"] {width: 200px;}

body {
	--fedisa-custom-container-width: var(--wp--custom--ast-container-width);
	--fedisa-padding-to-inside-box: calc(50% - calc(var(--fedisa-custom-container-width) / 2));
	--fedisa-content-max-width: 95vw;
	--fedisa-pagine_interne-rowgap: 50px;
	--fedisa-animation: 300ms ease-in-out;
	--fedisa-border-radius: 5px;
	--fedisa-radius: 30px;
	--fedisa-hdft-font-size: 14px;
	/* MegaMenu replica */
		--padd-horizontal-gap-mega-menu: 25px;
		--padd-vertical-gap-mega-menu: 30px;
		--row-gap-mega-menu: 15px;
	/* END MegaMenu replica */
	--fedisa-bkg-logo-img: url(/wp-content/uploads/2024/03/FeDISA-Vector-logo.svg);
	--fedisa-bkg-logo-img-row-n_repeat-default: 4;
	--fedisa-bkg-logo-img-column-n_repeat-default: 15;
	--fedisa-bkg-logo-img-calculator: calc(calc(var(--wp--custom--ast-container-width) / var(--fedisa-bkg-logo-img-column-n_repeat, var(--fedisa-bkg-logo-img-column-n_repeat-default))) * var(--fedisa-bkg-logo-img-row-n_repeat, var(--fedisa-bkg-logo-img-row-n_repeat-default))) !important;
	--fedisa-error_validation_color: #ff5f5f;
}

@media screen and (max-width: 1450px) {
	html body {
		--fedisa-custom-container-width: var(--fedisa-content-max-width) !important;
	}
}

/* BTN */
	.white-btn:not(:hover) path {fill: var(--ast-global-color-0);}
/* END BTN */

@media screen and (max-width: 1024px) {
	body {
		--fedisa-pagine_interne-rowgap: 50px;
	}
}
@media screen and (max-width: 767px) {
	body {
		--fedisa-content-max-width: 85vw;
	}
}
div#ast-scroll-top {border: 1px solid white;}
.e-loop-template-canvas [data-elementor-type=loop-item].e-loop-item {
	max-width: 100% !important;
	width: 100% !important;
}

/* Nascondi socials */
	.ast-above-header-wrap .site-header-above-section-right aside > section:first-child:after, 
	section#text-5, .ast-builder-layout-element:has( > .ast-header-social-1-wrap), .ast-builder-layout-element[data-section="section-fb-social-icons-1"]
	{display: none;}
/* END Nascondi socials */

.gform_heading {display:none;}

/* 

	⇊ Per altri stili CSS, sono in questa directory ⇊

	⇉ /public_html/wp-content/themes/fedisa/inc/css

*/