/********************************************************
  01 - VARIABILI
********************************************************/
:root {
	
	/* Colore base */
	--base: #003569;
	--link: #003569; 							/* come base */
	--link-hover: #5887A7; 						/* come base + chiaro */
	--pagina-fondo: #ECECEC;					/* fondo pagina 						*/
	--pagina-testo: #878888;					/* testo pagina 						*/

	/* Login */
	--login-testo: #585454; 					/* fondo pagina 						*/
	--btn-login-testo: #FFFFFF;		 			/* fondo pagina 						*/
	--btn-login-testo-hover: #FFFFFF; 			/* fondo pagina 						*/
	--btn-login-fondo: #1E6A20;
	--btn-login-hover: #278B29;
	
	/* Go to TOP */
	--gotoTop: #E88731;
	--gotoTop-hover: #EEA766;
	
	--btn-slidekits-fondo: #B9B9B9;
	--btn-slidekits-hover: #CF96BF;
	
	/* Header */
	--header-fondo: #FFFFFF; 					/* fondo barra header 					*/
	--menu-link: #A5A7AB;						/* link del menu 						*/
	--menu-link-hover: #898C92;					/* link hover del menu 					*/
	--menu-fondo: #FFFFFF; 						/* fondo tasti menu 					*/
	--menu-fondo-hover: #DDDDDD; 				/* fondo tasti menu hover 				*/
	--menu-bordo: #1FA5DB; 						/* fondo tasti menu hover 				*/
	
	/* Menu */
	--hamburger-menu: #5C5F5E; 					/* color HAMBURGER MENU					*/

	
	/* Sotto Menu */
	--sub-menu-fondo: #565F7B;					/* fondo tasti menu 					*/
	--sub-menu-fondo-hover: #717B9B;					/* fondo tasti menu 					*/
	--sub-menu-link: #FFFFFF;					/* link del menu 						*/
	--sub-menu-link-hover: #FFFFFF;				/* link hover del menu 					*/
	
	
	/* Intestazione */
	--titolo-head-fondo: rgb(197,32,63,0.0);	/* fondo barra titolo pag.interne		*/
	--titolo-head: #DDE9F2;						/* 										*/
	--titolo-head: rgb(16,88,107);				/* 										*/
	--titolo-head-tipopagina: #557B92;			/* testo titolo pag.interne 			*/

	/* Summaries */
	--summaries-toggle-icon: #013176;			/* testo titolo pag.interne 			*/
	--toggle-header-fondo: #E0E0E0;
	--toggle-content-fondo: #FFFFFF;

	--summaries-link: #839BB3;
    --summaries-link-hover: #5B7997;

	--scritta-pdf: #84899E;	
	--mininav-fondo: #9F1D46;					/* fondo mininav 						*/
	--mininav-testo: #E7E8EC;					/* mininav testo						*/
	--mininav-link: #D7D9E3;					/* mininav link							*/
	--mininav-link-hover: #FFF;				/* mininav link hover					*/
	
	
	/* Footer */
	--footer-fondo: #8FC5D7;					/* fondo footer 						*/
	--footer-bordo: #757977;			        /* bordo superiore footer 				*/
	--footer-testo: #7C7C7C;					/* footer testo							*/
	--footer-link: #5C5F5E;						/* footer link							*/
	--footer-link-hover: #484A49;				/* footer link hover					*/
	--footer-sponsor: #13356D;
	--footer-poweredBy: #8D9191;
	--footer-poweredBy-hover: #717575;
	--footer-privacy: #7B8DAA;
	--footer-privacy-hover: #5A6C8B;
	
	--btn-chiaro-fondo: #D1D1D1;
	--btn-chiaro-hover: #D1D1D1;
	--btn-scuro-fondo: #D1D1D1;
	--btn-scuro-hover: #C5203F;
	--domanda-fondo: rgba(242,242,242,0.5);
	--domanda-fondo-hover: rgba(249,249,249,0.9);

	

	/* da nero a bianco */
	--grigio-0: #000000;
	--grigio-1: #101010;
	--grigio-2: #202020;
	--grigio-3: #303030;
	--grigio-4: #404040;
	--grigio-5: #505050;
	--grigio-6: #606060;
	--grigio-7: #707070;
	--grigio-8: #808080;
	--grigio-9: #909090;
	--grigio-a: #aaa;
	--grigio-b: #bbb;
	--grigio-c: #ccc;
	--grigio-d: #ddd;
	--grigio-e: #eee;
	--grigio-f: #fff;
	
	--bianco-trasp-01: rgba(255,255,255,0.1);
	--bianco-trasp-02: rgba(255,255,255,0.2);
	--bianco-trasp-03: rgba(255,255,255,0.3);
	--bianco-trasp-04: rgba(255,255,255,0.4);
	--bianco-trasp-05: rgba(255,255,255,0.5);
	--bianco-trasp-06: rgba(255,255,255,0.6);
	--bianco-trasp-07: rgba(255,255,255,0.7);
	--bianco-trasp-08: rgba(255,255,255,0.8);
	--bianco-trasp-09: rgba(255,255,255,0.9);
	--bianco-trasp-10: rgba(255,255,255,1.0);
	
	--nero-trasp-01: rgba(0,0,0,0.1);
	--nero-trasp-02: rgba(0,0,0,0.2);
	--nero-trasp-03: rgba(0,0,0,0.3);
	--nero-trasp-04: rgba(0,0,0,0.4);
	--nero-trasp-05: rgba(0,0,0,0.5);

}

html {
	height: 100%;
}

body, body * { 
	/*
	font-family: 'Neue Haas Display', 'Open Sans', helvetica, sans-serif, "Roboto Condensed", RobotoCondensed, "Roboto", Nunito; 
	font-family: 'Open Sans', "Roboto Condensed", RobotoCondensed, "Roboto", helvetica, sans-serif, Nunito; 
	*/
	font-family: 'Myriad Pro', helvetica, sans-serif;
	//line-height: 1.3;
}

h1, h2, h3, h4, h5, h6, .menu-link, .sub-menu-link, .sub-menu-container .menu-item .menu-link, em { 
	/*
	font-family: 'Open Sans', "Roboto Condensed", RobotoCondensed, "Roboto", helvetica, sans-serif, Nunito; margin: 0px; 
	*/

}

h1, h2, h3, h4, h5, h6 { 
	color:var(--pagina-testo); 

}


#wrapper { 
	//background-image: url('img/sfondo_pagina1.jpg');
	background-image: url('img/sfondo_pagina1.webp');
	background-size: cover;
	background-color: var(--pagina-fondo);

/*    background: -webkit-linear-gradient(180deg, rgba(229, 246, 255, 1) 0%, rgba(229, 246, 255, 1) 25%, rgba(229, 246, 255, 1) 50%, rgba(227, 244, 254, 1) 75%, rgba(222, 240, 250, 1) 100%);
    background: -moz-linear-gradient(180deg, rgba(229, 246, 255, 1) 0%, rgba(229, 246, 255, 1) 25%, rgba(229, 246, 255, 1) 50%, rgba(227, 244, 254, 1) 75%, rgba(222, 240, 250, 1) 100%);
    background: linear-gradient(180deg, rgba(229, 246, 255, 1) 0%, rgba(229, 246, 255, 1) 25%, rgba(229, 246, 255, 1) 50%, rgba(227, 244, 254, 1) 75%, rgba(222, 240, 250, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#E5F6FF", endColorstr="#DEF0FA", GradientType=0);
*/    
	color: var(--pagina-testo); 
} /* sfondo/testo pagine */

#gotoTop {
    background-color: var(--gotoTop);
	border-radius: 50px;
}

#gotoTop:hover {
    background-color: var(--gotoTop-hover);
	border-radius: 50px;
}

/* HEADER / MENU ***********************************************************/
#header { 
	border-bottom: 0px; 
/*
	background-color: #000;
*/	
}
#header-wrap { 

	background-color: var(--header-fondo);
	border-bottom: 7px solid;
	border-image: linear-gradient(to right, #ff871d 0%, #ffcfa4 56%, #fff 100%) 1;
	/*	*/
/*	background: rgb(37,140,212);
	background: -webkit-linear-gradient(left, rgba(37,140,212,1) 0%, rgba(49,127,194,1) 25%, rgba(73,100,161,1) 50%, rgba(98,73,126,1) 75%, rgba(116,55,102,1) 100%);
	background: -o-linear-gradient(left, rgba(37,140,212,1) 0%, rgba(49,127,194,1) 25%, rgba(73,100,161,1) 50%, rgba(98,73,126,1) 75%, rgba(116,55,102,1) 100%);
	background: linear-gradient(to right, rgba(37,140,212,1) 0%, rgba(49,127,194,1) 25%, rgba(73,100,161,1) 50%, rgba(98,73,126,1) 75%, rgba(116,55,102,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#258cd4",endColorstr="#743766",GradientType=1);
	color: white;
*/
	    font-size: 1.5rem;

}
#header-wrap::after {
/*	content: "";
	position: absolute;
	left: 0;
	right: 0;
	
	height: 20px;
	background-color: red;
	
	z-index: 10; 
	*/
} 
.sticky-header #header-wrap { 
    background-color: var(--header-fondo);
}

.sticky-header #logo img {
    min-height: 70px !important;
}

#logo img {
	padding-top: 10px;
	padding-bottom: 10px;
	max-width: 100%;
	max-height: 100%;
}

.menu-link {
	margin-left: 0px; 
	margin-right: 0px; 
	padding-left: 12px;
	padding-right: 12px;
	font-weight: 500;

}
.primary-menu * {
	font-size: 1.25rem;
	font-weight: 400;
}
.primary-menu {
    width: max-content; /* Adatta la larghezza al contenuto */
    margin: 0 auto; /* Centra orizzontalmente */
	margin-right: 31%;
}

.primary-menu .menu-container > li:nth-child(3) > a > div {
	//background-color: red;
	font-weight: 600;
	color: #A5A7AB;
}

.sub-menu-link { margin-left: 19px; }

  .menu-container > .menu-item:not(:first-child) {
    margin-left: 0px; 
	}

  .menu-container > .menu-item:not(.mega-menu) .sub-menu-container {
    padding: 10px; 
}
	.menu-container {
	/*
		margin-right: 30px; 
		*/
	}
a.menu-link {
/*
	background-color: var(--menu-fondo);
*/	
	color: var(--menu-link)!important;
    letter-spacing: normal;
/*
	border-bottom: 8px solid var(--menu-bordo); /* var(--bianco-trasp-03); 
	*/
	transition: all 200ms ease-in;
	
}
a.menu-link:hover {
	background-color: var(--menu-fondo-hover);
	color: var(--menu-link-hover)!important;
/*	
	border-bottom: 8px solid var(--menu-bordo);
	border-top:3px solid var(--menu-link)!important;
*/
    transition: background-color 300ms linear;	
    -webkit-transition: background-color 300ms linear;
    -ms-transition: background-color 300ms linear;
}

.sub-menu-container > li.menu-item > a.menu-link {
	background-color: var(--sub-menu-fondo);
	color: var(--sub-menu-link);
	//border-bottom: 8px solid var(--menu-bordo); /* var(--bianco-trasp-03); */
	transition-property: background-color, padding;
	transition-duration: 300ms, 200ms;
	transition-timing-function: linear, ease-in-out;
}

.sub-menu-container > li.menu-item > a.menu-link:hover {
	background-color: var(--sub-menu-fondo-hover);
	color: var(--sub-menu-link)!important;
	//border-bottom: 8px solid var(--menu-bordo);
	padding-left: 23px;
}


/*
.menu-text::before {
	content: "";
	display: block;
	width: 11px;
	height: 11px;
	background-color: #C16EBC;
	margin: 0 auto;
	border-radius: 30px;
	margin-bottom: 20px;
}
*/

.sub-menu-container { 
	background-color: var(--sub-menu-fondo); 
	border-top: none; 
	padding-left: 0px!important; 
	padding-right: 0px!important; 
}
.sub-menu-container .menu-item a.menu-link { background-color: transparent; font-size: 20px; border:0; color: var(--sub-menu-link)!important; border-top: 0px!important;}
.sub-menu-container .menu-item a.menu-link:hover { background-color: var(--menu-fondo-hover); color: var(--sub-menu-link-hover)!important; border-top:0px!important;}
.xsub-menu-container .menu-item:hover { background-color: var(--menu-fondo-hover); color: var(--sub-menu-link); border-top:0px;}


/* CUSTOM HOMEPAGE
.homepage #header-wrap {background-color:var(--header-fondo); opacity:0.8;}
.homepage .sticky-header #header-wrap {background-color:var(--header-fondo); opacity:0.8; }
.homepage a.menu-link { background-color:transparent }
*/

.footer-home { 
	//background-color: var(--footer-fondo);
	background: linear-gradient(
		to right,
		#01824e 4%, 
		#fdfdfd 92%
	);
	
	opacity:1.0; 
	border-top: 0px solid var(--footer-bordo)!important;
	text-align: left;
}
.footer-home img { 
	margin: 0;
	padding: 0;
}

/* video: nasconde slider e sostituisce div , solo per mobile */
#slider { display: block!important; }
.mobile { display: none!important; }
/* FINE HOMEPAGE */

/* TITOLO HEAD *************************************************************/
/*
.titolo-head { background-image:url('img/sfondo_header.jpg'); align-content: center;}
.titolo-head { background-color: var(--titolo-head-fondo); }

.titolo-head-box { background: rgba(255,255,255,0.65); min-height: 0.6rem; padding-left:0.4rem; padding-right:0.4rem;  padding-top:0.4rem; padding-bottom:0.4rem; width:fit-content; margin: 0 auto; min-width: 290px; }
.titolo-head .tipopagina { color: var(--titolo-head-tipopagina); font-size: 1.3rem; padding-bottom:0.9rem;  }
.titolo-head h1 { color: var(--titolo-head); font-weight:bold; line-height: 44px; }
*/

/* TITOLO HEAD *************************************************************/
.titolo-head { 
	background-image: url('img/sfondo_header.jpg'); 
	background-position: top center;
	background-repeat: no-repeat;

}
.titolo-head-box { 
	background: var(--titolo-head-fondo); 
	height: 205px; 
	display: flex;
	align-items: center;
	justify-content: center;
}
.titolo-head p.tipopagina { 
	color: var(--titolo-head-tipopagina);
    font-size: 2rem;
	padding: 0;
	margin: 0;
	text-transform: uppercase
}

.titolo-head h1 { 
/*    color: var(--titolo-head);
    text-transform: uppercase;
    font-size: 	7.5rem;
	font-family: "Myriad Pro Condensed";
    font-weight: 700; /* Usa Bold */
	position: absolute;
	left: 3%;
	top: 50%;
	transform: translateY(-50%);
	display: none;
	*/
}


/* VIDEO HIGHLIGHTS ********************************************************/
.mfp-bg { background: var(--nero); opacity: 0.85!important; }

/* MININAV *****************************************************************/
.mininav {
	/*
	background-color: var(--mininav-fondo); 
	border-bottom: 0px solid #99226C;
	*/
/*	background: rgb(37,140,212);
	background: -webkit-linear-gradient(left, rgba(37,140,212,1) 0%, rgba(49,127,194,1) 25%, rgba(73,100,161,1) 50%, rgba(98,73,126,1) 75%, rgba(116,55,102,1) 100%);
	background: -o-linear-gradient(left, rgba(37,140,212,1) 0%, rgba(49,127,194,1) 25%, rgba(73,100,161,1) 50%, rgba(98,73,126,1) 75%, rgba(116,55,102,1) 100%);
	background: linear-gradient(to right, rgba(37,140,212,1) 0%, rgba(49,127,194,1) 25%, rgba(73,100,161,1) 50%, rgba(98,73,126,1) 75%, rgba(116,55,102,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#258cd4",endColorstr="#743766",GradientType=1);
*/
	background: linear-gradient(to right, #505A78 4%, #646A84 19%, #9398AB 47%, #C7CBD7 71%, #E9ECF4 100%);
	
	padding: 13px 10px 8px 10px;
	border-bottom: 0px solid #D7AE29; 
	margin-bottom: 0px;
	text-align: center;
	color: var(--mininav-testo); 
}

.mininav a { 
	font-size: 1.0625rem;
	/*
	background-color: var(--mininav-fondo); 
	*/
	margin: 0px 10px; 
    padding: 0px 10px;
    color: var(--mininav-link); 
	border-bottom: 0px solid transparent; 
	text-decoration: none;
	transition: all 200ms ease-in;
	
}
.mininav a:hover { 
	/*background-color: var(--mininav-fondo); 
	*/
	color: var(--mininav-link-hover); 
	border-bottom: 0px solid #fff;
    
	-webkit-transition: color 300ms linear;
    -ms-transition: color 300ms linear;
	transition: all 200ms linear;	
	text-decoration: none!important;
}


/* TOPICS ********************/
#section-topics .item:not(:first-of-type) { border-top: 2px solid #F6F4F5;}
#section-topics .item:not(:last-of-type) {  border-bottom: 1px solid #BBBBBB; }
#section-topics .item h2 { font-size: 1.3rem; line-height: normal; color: var(--base); font-weight: 700; }
#section-topics .argomento { text-align: center; } /* solo per le icone check */
#section-topics .argomento img { border: 0px solid rgba(0,0,0,0.1); }

/* INTERVISTE ****************/
.intervista .dottore .nome { color: var(--base) } /* titolo e nome */
.intervista .dottore .affiliazione { color: var(--base) }
.intervista .dottore .lingua { color: var(--grigio-4) } /* lingua intervista */
.intervista .dottore .domanda { 
/*	background-color: var(--domanda-fondo);
    */
    color: var(--base);
	border-left: 0px solid #ccc; 
	border-top: 1px solid #ddd; 
	transition: all 200ms linear;	
}
.intervista .dottore .domanda:hover {
	background-color: var(--domanda-fondo-hover)

} /* come domanda , meno schiarito */
/*.intervista .dottore .domandaincorso { background-color: #ddd; border-left: 5px solid red; }*/
.intervista .dottore span.domandatime { color: var(--grigio-6) }

/* PODCASTS **************************************** */
.podcast {}
.podcast .bg-podcast { border: 1px solid #ddd; } /* div colonna singolo podcast */

/* SUMMARIES INDICE ***************************************************************/

#section-summaries  {

}
#section-summaries .item { 
	border-top: 1px solid var(--grigio-e); 
	border-bottom: 0px solid var(--grigio-e); 
}
#section-summaries h2 { 
	font-size: 1.3rem; 
	line-height: normal; 
	color: var(--base); 
	font-weight: 700;	
}
#section-summaries .item .sx {  }
#section-summaries .item .sx img {  }
#section-summaries .item .sx .slidekits { 
	/*x-background-color: var(--button_pdf_sfondo); */
	color: var(--button_pdf_testo);

}
#section-summaries .item .sx .slidekits .button {
	background-color: transparent !important;
	color: var(--grigio-f);
}

#section-summaries .item .sx .slidekits .button:hover {
	color: var(--grigio-f);
}
#section-summaries .item .dx { x-border-left: 1px solid #C00; }
#section-summaries .item .dx h3 {}
#section-summaries .item .dx div { color: var(--grigio-8); }
#section-summaries .item .nofiletto { border-left: 0px; }
#section-summaries .item a { color:var(--link); transition: all 200ms ease-in; }
#section-summaries .item a:hover { color:var(--link-hover);}
#section-summaries .toggle-title {
	display: flex;
	align-items: center;
}

#section-summaries h2 a,
#section-summaries .postcontent h1,
#section-topics .item h2 {
	font-family: "Myriad Pro Condensed";
	font-size: 1.625rem;
	font-weight: 400;
}
#section-summaries .toggle-title {
	font-family: "Myriad Pro Condensed";
	font-weight: 400;
	font-size: 1.375rem;
}

#section-summaries .summary-authors,
#section-summaries .summary-authors * {
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    line-height: 1.45;
	font-family: "Myriad Pro Condensed", sans-serif !important;

}


/* BREAKING NEWS ***************************************************************/
/* stile1
.indice {padding-bottom: 20px;}
.indice h1 {font-size: 1.1rem;}
.indice a {color: #333;}
.indice a:hover {color: #c61f42;}
.indice ul li {border-bottom: 1px solid #ccc; padding-top:10px; padding-bottom:10px;}
.ancora {padding-top: 70px;}
#section-topics {padding-top: 0px; text-align: justify;}
#section-topics .item:not(:first-of-type) { padding-top:2rem; padding-bottom:1rem;}
.item {padding-top:2rem; padding-bottom:2rem; border-bottom: 1px solid #888;}
*/
/* stile2 */
.indice {padding-bottom: 20px;}
.indice h1 {font-size: 1.1rem;}
.xindice a {color: #003355;}
.xindice a:hover {color: #fb5005;}
.indice ul li {border-bottom: 1px solid #ccc; padding-top:10px; padding-bottom:10px;}
.ancora {padding-top: 70px;}
#section-topics {
	padding-top: 0px; 
	text-align: left;

}
#section-topics .item:not(:first-of-type) { 
	padding-top: 2rem; 
	padding-bottom: 1rem;
}
.item { 
	padding-top: 1rem; 
	padding-bottom: 1rem; 
	//border-bottom: 1px solid #BBBBBB;
	//border-top: 2px solid #F6F4F5;

	
}
.item:last-child { border-bottom: 0;}

[class^="breaking_news__bibliografia"] * {
    font-size: 0.85rem !important;

}
p.breaking_news__bibliografia--titolo {
    font-size: 0.85rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

breaking_news__bibliografia--testo {
    line-height: 1.35;
    opacity: .9;
}

.breaking_news__bibliografia--testo p {
    margin: 0.25rem 0;
}
#section-indice-breaking-news .indice ul li a {
    //text-transform: uppercase;
}

/* SUMMARIES PAGINE SINGOLE ***************************************************************/
#section-summaries .postcontent h1 { 
	color: var(--base);
}
#section-summaries .postcontent .toggle .toggle-header { 
	
	background-color:var(--toggle-header-fondo);
	/*
	background: rgb(236,242,244);
	background: -moz-linear-gradient(90deg, rgba(236,242,244,1) 0%, rgba(243,251,252,1) 100%);
	background: -webkit-linear-gradient(90deg, rgba(236,242,244,1) 0%, rgba(243,251,252,1) 100%);
	background: linear-gradient(90deg, rgba(236,242,244,1) 0%, rgba(243,251,252,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ecf2f4",endColorstr="#f3fbfc",GradientType=1);

	*/
}
#section-summaries .postcontent .toggle .accordion-header {
}
#section-summaries .postcontent .toggle .toggle-icon {
	color: var(--summaries-toggle-icon);
	font-size: 1.3rem;
	width: 2rem;
}
#section-summaries .postcontent .toggle .toggle-bg {}
#section-summaries .postcontent .toggle .toggle-content { background-color: var(--toggle-content-fondo); }

/* SUMMARIES SIDEBAR ********************** */
#section-summaries .sidebar h4 { margin: 0px; font-size: 1rem; line-height: normal;  }
#section-summaries .sidebar .sidebar-post {	border-bottom: 1px solid var(--grigio-e); }
#section-summaries .sidebar h5 { color:var(--summaries-link); }
#section-summaries .sidebar .sidebar-post { color: var(--summaries-link); }
#section-summaries .sidebar a { color:var(--summaries-link); transition: all 200ms ease-in; }
#section-summaries .sidebar a:hover { color:var(--summaries-link-hover); }
#section-summaries .item .sx .slidekits .button { 
	margin-top: .3rem !important; 
	padding: 6px 10px !important;
	
	display: inline-block;              /* fondamentale per ::after */
	position: relative;

	transform: rotate(10deg);
	transition: transform 200ms ease-out;
	//transition: transform 180ms cubic-bezier(.18,.89,.32,1.28);
}

#section-summaries .item .sx .slidekits .button:hover {
    transform: rotate(0deg) scale(1.2);
}

#section-summaries .item .sx .slidekits .button::after {
	content: "PDF";

	position: absolute;

	left: 50%;
	transform: translateX(-50%) translateY(2px) scale(.75);
    bottom: -6px;         

	background: var(--scritta-pdf);
	color: #fff;
    font-size: 0.7rem;
	letter-spacing: 0px;
    font-weight: 600;
    line-height: 1;
	
    padding: 4px 4px 2px 4px;
    border-radius: 2px;
	
	opacity: 0;
	pointer-events: none;               /* così non disturba l’hover */
	
	transition: opacity 200ms ease-out, transform 200ms ease-out;
	
}

#section-summaries .item .sx .slidekits .button:hover::after {
    opacity: 1;
	transform: translateX(-50%) translateY(-4px) scale(1);

/*	animation-name: appariPDF;
	animation-duration: 1s;
	animation-iteration-count: infinite;
	animation-fill-mode: both;
	animation-play-state: paused;
	animation-timing-function: ease-in-out;
*/	
	//animation: bouncePDF 500ms ease-out 1;
	animation-name: appari_da_sopra_PDF;
	animation-duration: 200ms;
	animation-iteration-count: 1; /* 1, 2, 3... o infinite */
	animation-timing-function: ease-out;
}

@keyframes appari_da_sopra_PDF {
	0% {
		transform: translateX(-50%) translateY(-16px) scale(.15);
	}
	
	100% {
		transform: translateX(-50%) translateY(-4px) scale(1);
	}
}
@keyframes appari_da_sotto_PDF {
	0% {
		transform: translateX(-50%) translateY(6px) scale(.55);
	}
	
	100% {
		transform: translateX(-50%) translateY(-6px) scale(1);
	}
}
@keyframes bouncePDF {
    0%   { transform: translateX(-50%) translateY(6px) scale(.85); }
    //60%  { transform: translateX(-50%) translateY(-6px) scale(1.05); }
    100% { transform: translateX(-50%) translateY(0) scale(1); }
}

/* FOOTER ***************************************************************/
#footer {
	background-color: var(--footer-fondo);
	background: linear-gradient(
		to right,
		#01824e 4%, 
		#fdfdfd 92%
	);
	color: var(--footer-testo);
	padding: 20px 0px;
	border-top-left-radius: 0px;
	border-top-right-radius: 0px;
	border-top: 0px solid var(--footer-bordo);
	border-bottom: 0px solid var(--footer-bordo);
    font-size: 12.5px;
    
}
#footer a { 
	color: var(--footer-link); 
	text-transform: none; 
	transition: all 200ms ease-in;
}
#footer a:hover { color: var(--footer-link-hover); }
#footer .logosponsor_label { color: var(--footer-sponsor); }

#footer .footer__poweredBy,
#footer .footer__poweredBy a {
	color: var(--footer-poweredBy);
}

#footer .footer__poweredBy a:hover {
	color: var(--footer-poweredBy-hover);
}


#footer .footer__privacy,
#footer .footer__privacy a {
	color: var(--footer-privacy) !important;
}
#footer .footer__privacy a:hover {
	color: var(--footer-privacy-hover) !important;
}
/* Testo sponsor → Neue Haas Grotesk Display Pro */
#footer .logosponsor_label { 
	font-size: 0.75rem; 
	display: inline-block; 
	text-align: left; 
	vertical-align: middle;
	text-transform: uppercase;
	font-weight: 500;  /* Regular */
	line-height: 1.4;
}



/* LOGIN ***************************************************************/
form {
	margin: 0;
}
#login-box{ 
	max-width: 523px;
	margin-top: 3%;
	
}
#login {
	height: 100%;
	//background-image: url("img/sfondo_login1.webp.jpg");
	background-image: url('img/sfondo_login1.webp');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 0px 0px 0px 0px;
	margin: 0;
  
	min-height: 100vh;
	
	display: flex;
	align-items: center;
	padding-top: 0%;	
	padding-left: 7.5%;	

}
#login .content { 

  padding-top: 0;

}
#login .logo { 
	padding: 0px 0px 0px 0px; 
	display: block; 
	text-align: left;
}
#login .form-widget::first-of-child {
	
}
#login .form-widget{
	xbackground-color: rgb(224,224,224, 0.00);
	background-color: rgb(224,224,224, 0.00);
	border: 0px solid rgb( 0, 29, 64, 0.05);
	color: var(--grigio-b);
}

.form-widget .registrazione {
	background-color: #C5DFF8;
}

#login .larghezza { 
	max-width: 468px; 
}
#login .form-widget .col-12, #login .form-widget p {
/*	Allineato al logo
    margin-left: -15px!important;
	margin-right: -15px!important;
*/    
	margin-left: 47px !important;
	padding-right: 150px !important;
}
#login .form-widget .testo {
    font-size: 1.125rem;
	margin-left: 47px !important;
	padding-right: 0px !important;
}
#login .form-widget .testo a {
	color: var(--login-testo);
    transition: color 200ms ease-in;
}
#login .form-widget .testo a:hover {
	color: var(--btn-login-testo-hover);
}
/* larghezza logo + 100px + 16px*/
#login .larghezza label{
	color: var(--login-testo);

    font-size: 1.125rem;
	font-stretch: condensed;
	letter-spacing: 0px;
    text-transform: none;
}
#login label{
	color: var(--login-testo);
	font-size: 16px;
	font-weight: 500;
	text-transform: none;
}
#login .msg {
	color: var(--login-testo);
	text-transform: none !important;
	font-size: 17px !important;
	font-weight: 500 !important;
}
#login .btn-login {
	background-color: var(--btn-login-fondo);
	color: var(--btn-login-testo);
	border-radius: 0;
	font-size: 20px;
	margin-bottom: 5px;
}
#login .btn-login:hover {
	background-color: var(--btn-login-hover);
	color: var(--btn-login-testo-hover);
}

/* modulo registrazione */
#login .registrazione {
	padding: 50px;
	padding-bottom: 10px;
	background-color: rgba(197,223,248,1.0);
	color: #515151;
	border: 0px solid var(--grigio-f);
	border-radius: 40px !important;
}
#login .registrazione h3 { color: #020202;}
/* #login .registrazione input{background:#3a3e42; color:var(--grigio-f);}  */
#login .registrazione input:invalid {border-left:4px solid #cc0000 !important;}
#login .registrazione input:invalid:required {border-left:4px solid #cc0000 !important;}
#login .registrazione input:valid {border-left:4px solid #00cc00!important;}
#login .registrazione label { color: #4E3A2D; font-size: 12px; 
	font-weight: bold;}
#login .registrazione button { background-color: #B7B6B6; color: #FFFFFF; }

.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.toggle-password i {
    font-size: 18px;
    color: #aaa;
}


@media (max-width: 1301.98px) { /* colore sfondo header/footer mobile */

	.primary-menu {
		width: max-content; /* Adatta la larghezza al contenuto */
		margin: 0 auto; /* Centra orizzontalmente */
		margin-right: 8%;
	}
	
}

@media (max-width: 991.98px) { /* colore sfondo header/footer mobile */
	.menu-link {  margin-left: 0px;}
	
	.primary-menu {
		margin-right: 0;
	}
	.menu-container > .menu-item:not(.mega-menu) .sub-menu-container {
		padding: 0;
	}
/*	
	.menu-container	{
		margin-top: 0px!important;
		margin-bottom: 9px!important;
	}
	menu-item:first-child { 
		padding-bottom: -35px!important;
		background-color:#006633;
	}

*/
	.mininav {
		background: linear-gradient(to right, #505A78 4%, #646A84 19%, #9398AB 54%, #C7CBD7 98%);

	}
	a.menu-link { 
		margin-top: 0px!important;
		margin-bottom: 0px!important;
		padding-top: 14px!important;
		padding-bottom: 12px!important;
	}

	.sub-menu-link { margin-left: 0px;}
	#header-wrap { /*background:var(--header-fondo)!important; */ opacity:1!important; }
	.footer-home { background: var(--footer-fondo); opacity:1!important; }
	.footer-home-div{ position: relative; }

	
	
	
	#slider {display: none!important;}
	.mobile {display: block!important; }
	.mobile .mobile-text {padding: 20px; }
	.mobile h3, .mobile h4 { color:var(--base); line-height: 1.5rem!important; padding-top: 2rem; padding-bottom: 2rem;}

	#primary-menu-trigger { color: #FFFFFF!important; }
	
	.svg-trigger {
/*
		background-color:#FFFFFF;
*/
	}
	.svg-trigger path {
		stroke: var(--hamburger-menu)!important; 
		stroke-width: 7!important; 
		stroke-linecap: round;
	}

/*	.menu-text::before {
		content: "";
		display: block;
		width: 11px;
		height: 11px;
		background-color: #C16EBC;
		margin: 0 auto;
		position:relative;
		top: 15px;
		text-align: center;
		left: 43%;
	
	}
*/
}

@media (max-width: 500px) { /* colore sfondo header/footer mobile */
	
	#login .msg {
		/* sfoco lo sfondo per facilitare lettura del testo */
		//background-color: rgba( 255 255 255 / .1);
		//backdrop-filter: blur(2px);
	}

	label[for="os"] {
		//backdrop-filter: blur(2px);
	}
	

	#logo img {
		height: auto!important;
		max-width: 220px;
		max-height: 60px;
	}
	
	.mobile .mobile-text {padding: 10px; }
	.mobile h3, .mobile h4 { color:var(--base); line-height: 1.5rem!important; padding-top: 1rem; padding-bottom: 1rem;}

	#login .registrazione {
		padding: 30px;
		padding-bottom: 10px;
		border-radius: 30px!important;
	}
	
	#login {
		background-image: none;
		padding-left: 10px;
		padding-right: 10px;
		display: block;
		height: auto;
	}

	#login::before {
		content: "";
		position: absolute;
		inset: 0;
		background-image: url('img/sfondo_login1.webp');
		//background-image: url("img/sfondo_login1.jpg");
		background-position: center;
		background-repeat: no-repeat;
		background-size: cover;
		padding: 0px 0px 0px 0px;
		margin: 0;
		
		filter: blur(5px);
    	z-index: -1; /* sta dietro al contenuto */
	}

	#login img {
		max-width: 100%;
		margin-bottom: 10px;
		margin: 0 auto;
	}

	#login .registrazione .form-row {
		margin-left: -15px;
		margin-right: -15px;
	}
	#login .content { 
		padding-top: 15px!important; 
	}
	
	#login .form-widget .col-12, 
	#login .form-widget p,
	#login .form-widget .testo{
		margin-left: 0 !important;
		padding-right: 0px !important;
	}

	.titolo-head {
		padding-top: 16px;
		padding-bottom: 20px;
	}
	
	.titolo-head-box { 
		height: 100px; 
		display: flex;
	}
	
	.tipopagina {
		//margin-bottom: 20px !important;
	}
	.titolo-head-box h1 {
		//margin-top: 10px !important;
		font-size: 65px;
		line-height: 55px;
	}
	.titolo-head-box p {
		padding: 0 !important;
		//margin-bottom: 10px !important;
	}
}

@media (max-width: 416px) { /* colore sfondo header/footer mobile */
	.titolo-head {
		padding: 0;
	}
	.titolo-head h1 {
		line-height: 55px;
	}
}