
/*	A capo nel nome della fondazione: solo su mobile (senza il trattino) */
	#Footer .ft-br { display: none; }

/*	Mobile  */
	@media screen and (max-width: 440px) {

		#Footer .ft-br { display: inline; }
		#Footer .ft-sep { display: none; }

		#Footer {
			width:100%;
			margin-left: auto;
			margin-right: auto;
			display: block;
			clear: both;
			padding-bottom: 0rem;
			padding-top: 2rem;
			border-top: 0.1rem solid var(--Palette2dark);
		}
		#Footer .Message {
			display: block;
			padding: 1rem 2rem;
			text-align: center;
		}
		#Footer .Message.right {
			font-size: 1.2rem;
			line-height: 2.2rem;
			padding-bottom: 0rem;
		}
		#Footer .Message a {
			color: var(--Palette1);
			text-decoration: none;
			font-weight: 500;
		}
		#Footer .Message P {
			margin: 0;
			padding: 0;
			text-align: center;
			font-size: 1rem;
			line-height: 2.2em;
			font-size: 1.2rem;
			color: var(--Footer_Text_Color);
		}
		#Footer .Message P a {
			text-decoration: none;
		}
		#Footer .PartnerBox {
			width: 100%;
			display: flex;
			align-items: center;
			justify-content: center;
			flex-wrap: wrap;
			column-gap: 2rem;
			flex-direction: row;
			margin-top: 2rem;
			margin-bottom: 2rem;
		}
		#Footer .PartnerBox img {
			width: 8rem;
		}
		.blackRowFoot {
			background: var(--Palette2);
			color: var(--Palette2light);
			padding: 1rem;
		}
		.blackRowFoot .innerFooter {
			display: none;
		}
		.blackRowFoot .Powered {
			text-align: center;
			/*height: 100%;*/
			font-size: 1rem;
		}
		.blackRowFoot .Powered a img {
			width: 13rem;
			margin-top: 1rem;
		}


	}

/*	Desktop  */
	@media screen and (min-width: 441px) {

		#Footer {
			display: flex;
			clear: both;
			padding-bottom: 0rem !important;
			margin-top: 2rem;
			border-top: 0.1rem solid var(--Palette2dark);
			flex-direction: column;
			align-items: center;
			position: relative;
		}
		#Footer .MessageBox {
			display: flex;
			margin-bottom: 0.4rem;
	        margin-top: 2rem;
			font-size: 1rem;
			align-items: flex-start;
			justify-content: space-between;
			width: 100%;
			box-sizing: border-box;
			max-width: 1200px;
			padding-left: 24px;
			padding-right: 24px;
		}
		#Footer .Message {
			max-width:71.222rem;
			display: block;
			margin-left: auto;
			margin-right: auto;
			padding-top:2rem;
		}
		#Footer .Message.left,
		#Footer .Message.right {
			margin:0;
			padding: 0;
			font-size:0.9rem;
			line-height:1.5em;
			color:var(--Footer_Text_Color);
			text-align: end;
		}
		#Footer .Message.left p {
			margin: 0;
			padding: 0;
			text-align: left;
			font-size: 0.9rem;
			line-height: 1.5em;
			color: var(--Footer_Text_Color);
			font-size: 1.1rem;
			font-weight: 500;
		}
		#Footer .Message.right p {
			margin: 0;
			padding: 0;
			text-align: right;
			line-height: 1.5em;
			color: var(--Footer_Text_Color);
			font-size: 1.1rem;
			font-weight: 500;
		}
		#Footer .Message.right a {
			margin: 0;
			padding: 0;
			text-align: right;
			line-height: 1.5em;
			color: var(--Palette1);
			text-decoration: none;
			font-size: 1.1rem;
			font-weight: 500;
		}
		#Footer .PartnerBox {
			width: 77%;
			display: flex;
			align-items: center;
			justify-content: space-around;
			flex-wrap: nowrap;
			column-gap: 0.5rem;
		}
		#Footer .PartnerBox img {
			width: 5.5rem;
		}
		#Footer .PartnerBox img.small {
			width: 6.8rem;
		}
		#Footer .blackRowFoot {
			display: flex;
			flex-direction: row;
			align-items: center;
			justify-content: space-between;
			background: var(--Palette2);
			height: 3rem;
			width: 100%;
		}
		.blackRowFoot .innerFooter {
			margin-left: 4rem;
			display: flex;
			align-items: center;
			column-gap: 1.7rem;
		}
		.blackRowFoot .innerFooter a.Xicon img {
			width: 1.1rem;
			filter: brightness(0) invert(1);
			position: relative;
			top: 0.2vh;
		}
		#Footer .blackRowFoot .Powered {
			padding-top: 0rem;
			display: flex;
			align-items: center;
			column-gap: 0.6rem;
			margin-right: 4rem;
			font-size: 0.7rem;
			color: var(--Palette2light);
			font-weight: 100;
		}
		#Footer .blackRowFoot .Powered img {
			width: 7rem;
			margin-top: 0.3rem;
		}
		.blackRowFoot .innerFooter a {
			color: var(--Palette2light);
		}
		

	}



/*	Contenuto del footer allineato a quello dell'header (stessa larghezza massima e stessi margini laterali di .hc-hdr-in) */
	@media screen and (min-width: 441px) and (max-width: 560px) {
		#Footer .MessageBox { padding-left: 16px; padding-right: 16px; }
	}

/*	Pulsanti flottanti (gestione cookie a sinistra, accessibilità a destra): stessa misura, stessa altezza e stesso margine dal bordo */
	html body #cookieConsentFixedIcon,
	html body .mdp-readabler-trigger-button-box {
		bottom: 10px !important;
		margin: 0 !important;
	}
	html body #cookieConsentFixedIcon { left: 10px !important; }
	html body .mdp-readabler-trigger-button-box,
	html body .mdp-readabler-trigger-button-box.bottom-left,
	html body .mdp-readabler-trigger-button-box.bottom-center,
	html body .mdp-readabler-trigger-button-box.bottom-right {
		position: fixed !important;
		right: 10px !important;
		left: auto !important;
		top: auto !important;
		bottom: 10px !important;
		transform: none !important;
		width: 42px !important;
		height: 42px !important;
		display: block !important;
	}
	html body .mdp-readabler-trigger-button-box button#mdp-readabler-trigger-button {
		width: 42px !important;
		height: 42px !important;
		padding: 0 !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		border-radius: 999px !important;
	}

/*	Spazio sotto il testo del footer, pari a quello tra la riga e l'inizio del testo */
	html body #Footer { padding-bottom: 2rem !important; }


/*	Link legali sotto la partita IVA ("Condizioni di utilizzo | Privacy Policy"): stessi colori dei link del footer, non sottolineati (a capo su mobile come le altre righe) */
	#Footer .Message.left p.ft-legal a,
	#Footer .Message.left p.ft-legal a:visited {
		color: var(--Palette1);
		text-decoration: none;
		font-weight: 500;
	}
	#Footer .Message.left p.ft-legal a:hover { text-decoration: underline; }
