
/*	-------------------------------------------------------------------------------	*/
/*	MENU IN PAGINA
/*	-------------------------------------------------------------------------------	*/
	.InPageMenu {
		float:right;
		width:20rem;
		overflow-x: hidden;
		box-sizing: border-box;
		margin-left:1rem;
		margin-bottom: 1rem;
	}
	.InPageMenu > UL {
		border:1px solid #cccccc;
	}
	.InPageMenu > UL > LI > UL > LI:last-of-type,
	.InPageMenu > UL > LI:last-of-type {
		border-bottom:0 !important;
	}
	.InPageMenu > UL, 
	.InPageMenu > UL > LI,
	.InPageMenu > UL > LI > UL,
	.InPageMenu > UL > LI > UL > LI {
		margin:0;
		padding:0;
		list-style: none;
		list-style-type: none;
		display: block;
	}
	.InPageMenu > UL > LI,
	.InPageMenu > UL > LI > UL > LI {
		font-size: 1.1rem;
		font-weight: 400;
		line-height: 2em;
		border-bottom: 1px solid #cccccc;
		color: var(--Page_Text_Color);
		padding-left: 1rem;
		padding-right: 1rem;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		box-sizing: border-box;
		width:100vw;
		-webkit-tap-highlight-color: transparent;
		-webkit-touch-callout: none;
		-webkit-user-select: none;
		-khtml-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
		background-color: #cccccc;
		color: #333333;
	}
	.InPageMenu > UL > LI > A,
	.InPageMenu > UL > LI > UL > LI > A {
		display: block;
		text-decoration: none;
		color: var(--Page_Text_Color);
		font-size: 1.3rem;
		line-height: 2.6em;
		margin-left: -1rem;
		margin-right: -1rem;
		padding-left: 1rem;
		padding-right: 1rem;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		box-sizing: border-box;
		outline: none;
		background-color: #fafafa;
	}
	.InPageMenu > UL > LI > UL {
		display: block;
		background-color: #ffffff;
		margin-left: -1rem;
		margin-right: -1rem;
	}
	.InPageMenu > UL > LI > A:ACTIVE,
	.InPageMenu > UL > LI > A:FOCUS,
	.InPageMenu > UL > LI > A:HOVER,
	.InPageMenu > UL > LI > UL > LI > A:ACTIVE,
	.InPageMenu > UL > LI > UL > LI > A:FOCUS,
	.InPageMenu > UL > LI > UL > LI > A:HOVER {
		background-color: var(--Palette1) !important;
		color: #ffffff !important;
	}


/*	-------------------------------------------------------------------------------	*/
/*	IMMAGINE APERTURA
/*	-------------------------------------------------------------------------------	*/
	.PageImage {
		display: block;
		width: 100%;
		height: 22rem;
		overflow: hidden;
		margin-top: 8rem;
	}
	.PageImage IMG {
		width:100%;
	}

/*	-------------------------------------------------------------------------------	*/
/*	CONTENITORE TESTI
/*	-------------------------------------------------------------------------------	*/
	.Container {
	    padding-top: 13.5rem !important; 
	}
	.Container H1.PageTitle {
        text-transform: uppercase;
        font-size: 1.7rem;
        font-weight: 600;
        margin-bottom: 2.5rem;
        letter-spacing: -0.1rem;
        color: var(--Palette1dark);
    }
	.Container .NewsDate {
		margin-top:2rem;
		margin-bottom: 2rem;
		font-size: 1.1rem;
		font-style: italic;
	}
	.Container .Testo {
		font-size: 1.1rem;
		line-height: 1.6em;
	}
	.Container .ElencoNotizie {
		max-width:71.222rem;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-column-gap: 2.5rem;
		grid-row-gap: 2.5rem;
		margin-left: auto;
		margin-right: auto;
	}
	.Container H3 {
		display: block;
		margin: 0;
		padding: 0;
		padding-top: 5rem;
		margin-bottom: 3rem;
		font-size: 3.5rem;
		font-weight: 900;
		color: #444444;
		text-align: center;
	}

	.Container .Argomenti {
		display: block;
		margin-top:2rem;
	}
	.Container .Argomenti UL,
	.Container .Argomenti UL LI {
		display: block;
		list-style: none;
		list-style-type: none;
		margin:0;
		padding: 0;
	}
	.Container .Argomenti UL {
		margin-top:0.7rem;
	}
	.Container .Argomenti UL LI {
		display: inline-block;
		margin-right: 0.5rem;
	}
	.Container .Argomenti UL LI A {
		display: block;
		text-decoration: none;
		color: #ffffff;
		background-color: var(--Palette1);
		line-height: 2em;
		font-size:0.9rem;
		padding-left: 1em;
		padding-right: 1em;
	}




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

		.Container {
			font-size:1.2rem;
			display: block;
			max-width: 92vw;
			margin-left: auto;
			margin-right: auto;
			margin-top: 6.2rem;
			margin-bottom: 2rem;
			color: var(--Page_Text_Color);
			padding-top: 1.2rem !important;
		}
		.PageImage {
		    margin-top: 6rem;
		}
		.PageImage IMG {
		    width: unset;
		    margin-top: 0;
		    height: 100%;
		    margin-left: -50%;
		}
		.InPageMenu {
		    float: none;
		    width: 100%;
		    overflow-x: hidden;
		    box-sizing: border-box;
		    margin-left: 0;
		    margin-bottom: 2rem;
		    margin-top: 3rem;
		}
		.Container .Testo {
		    font-size: 1.3rem;
		}

	}


/*	-------------------------------------------------------------------------------	*/
/*	PAGINA DI TESTO (template "Pagina Standard": condizioni generali, privacy, ...), da PoC .works/poc_condizioni_generali.html
/*	Regole limitate a body.PaginaTesto: gli altri template di pagina, che usano lo stesso file, restano come prima.
/*	Misure in px; !important solo sul margine del .Container per vincere global.css
/*	-------------------------------------------------------------------------------	*/
	body.PaginaTesto .Container {
		display: block;
		max-width: 1200px;
		width: 100%;
		min-height: 0;
		margin: 0 auto !important;
		padding: 32px 24px 72px !important;   /* !important: le regole generali di .Container (padding-top 13.5rem, 1.2rem su mobile) sono !important */
		box-sizing: border-box;
	}
	body.PaginaTesto .Container h1.PageTitle {
		display: block;
		margin: 0 0 6px 0;
		padding: 0;
		font-size: 36px;
		line-height: 1.15;
		font-weight: 700;
		letter-spacing: -.01em;
		text-transform: none;
		color: #161616;
		text-align: left;
	}
	body.PaginaTesto .Container h2.PageSubtitle {
		display: block;
		margin: 0 0 28px 0;
		padding: 0;
		font-size: 15px;
		line-height: 1.5;
		font-weight: 400;
		text-transform: none;
		color: #6b6b6b;
		text-align: left;
	}

	body.PaginaTesto .Corpo { display: block; }
	/* Menu della pagina (se la pagina ne ha uno): dentro la card del testo, a destra, con il testo che gli scorre accanto */
	body.PaginaTesto .Testo .InPageMenu {
		float: right;
		width: 24rem;
		margin: 0 0 16px 24px;
	}
	body.PaginaTesto .InPageMenu:empty { display: none; }

	body.PaginaTesto .Container .Testo {
		background: #ffffff;
		border-radius: 14px;
		box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 4px 16px rgba(0,0,0,.05);
		padding: 40px 48px 36px;
		font-size: 16px;
		line-height: 1.7;
		color: #333333;
	}
	body.PaginaTesto .Testo > p:first-child { font-size: 17px; color: #161616; margin-top: 0; }
	body.PaginaTesto .Testo p { margin: 0 0 14px 0; }
	body.PaginaTesto .Container .Testo h3 {
		display: block;
		margin: 34px 0 12px 0;
		padding: 0;
		font-size: 20px;
		line-height: 1.3;
		font-weight: 700;
		color: #161616;
		text-align: left;
		scroll-margin-top: 24px;
	}
	body.PaginaTesto .Container .Testo h3:first-child { margin-top: 0; }
	body.PaginaTesto .Testo ul, body.PaginaTesto .Testo ol { margin: 0 0 14px 0; padding: 0; list-style: none; }
	body.PaginaTesto .Testo li { position: relative; display: block; padding-left: 22px; margin: 0 0 8px 0; }
	body.PaginaTesto .Testo li::before { content: ""; position: absolute; left: 4px; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: #ee253e; }
	body.PaginaTesto .Testo strong { color: #161616; font-weight: 700; }
	/* Link nel testo (non pulsanti): rossi e sottolineati; le email lunghe vanno a capo su smartphone */
	body.PaginaTesto .Testo a, body.PaginaTesto .Testo a:visited {
		color: #ee253e;
		text-decoration: underline;
		text-decoration-thickness: 1px;
		text-underline-offset: 3px;
		overflow-wrap: anywhere;
	}
	body.PaginaTesto .Testo a:hover { color: #c81a30; }
	/* Ultimo paragrafo con "Ultimo aggiornamento" */
	body.PaginaTesto .Testo p:last-child:has(em) { margin: 28px 0 0 0; padding-top: 18px; border-top: 1px solid #e7e7e7; font-size: 14px; color: #6b6b6b; }
	body.PaginaTesto .Testo em { font-style: normal; }

	@media screen and (max-width: 980px) {
		body.PaginaTesto .Container .Testo { padding: 32px 32px 28px; }
	}
	@media screen and (max-width: 860px) {
		body.PaginaTesto .Container h1.PageTitle { font-size: 28px; }
		body.PaginaTesto .Testo .InPageMenu { float: none; width: 100%; margin: 0 0 20px 0; }
	}
	@media screen and (max-width: 560px) {
		body.PaginaTesto .Container { padding: 20px 16px 56px !important; }
		body.PaginaTesto .Container h1.PageTitle { font-size: 24px; }
		body.PaginaTesto .Container h2.PageSubtitle { margin-bottom: 20px; }
		body.PaginaTesto .Container .Testo { padding: 22px 18px 20px; font-size: 15px; line-height: 1.65; border-radius: 14px; }
		body.PaginaTesto .Testo > p:first-child { font-size: 16px; }
		body.PaginaTesto .Container .Testo h3 { font-size: 18px; margin-top: 28px; }
	}
