<!DOCTYPE html>
<html lang="it">
<head>
<title>Italia Viva</title>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="TestFrancesco" content="nil" />
<meta name="HandheldFriendly" content="true" />
<meta name="update_view" content="Prova" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="msapplication-TileColor" content="#000" />
<meta name="msapplication-TileImage" content="ms-icon-144x144.png" />
<meta name="google-site-verification" content="ppim5Y_caHioKxevxEaImG4XxJrw5tMKp1gD27TVf0Q" />
<link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin />
<link rel="apple-touch-icon" sizes="57x57" href="apple-icon-57x57.png" />
<link rel="apple-touch-icon" sizes="60x60" href="apple-icon-60x60.png" />
<link rel="apple-touch-icon" sizes="72x72" href="apple-icon-72x72.png" />
<link rel="apple-touch-icon" sizes="76x76" href="apple-icon-76x76.png" />
<link rel="apple-touch-icon" sizes="114x114" href="apple-icon-114x114.png" />
<link rel="apple-touch-icon" sizes="120x120" href="apple-icon-120x120.png" />
<link rel="apple-touch-icon" sizes="144x144" href="apple-icon-144x144.png" />
<link rel="apple-touch-icon" sizes="152x152" href="apple-icon-152x152.png" />
<link rel="apple-touch-icon" sizes="180x180" href="apple-icon-180x180.png" />
<link rel="icon" type="image/png" sizes="192x192" href="android-icon-192x192.png" />
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="96x96" href="favicon-96x96.png" />
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png" />
<link rel="stylesheet" href="https://italiaviva.online/wp-content/cssExt/iv/theme.scss" />
<link rel="stylesheet" src="main.scss" />
<link rel="stylesheet" href="https://italiaviva.online/wp-content/cssExt/iv/custom.scss" />
<link href="https://fonts.googleapis.com/css?family=DM+Sans:400,400i,500,500i,700,700i&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="https://italiaviva.online/wp-content/cssExt/iv/_sidr.scss" />
<link rel="stylesheet" href="https://italiaviva.online/wp-content/cssExt/iv/animate.css" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.2/css/all.css" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap" rel="stylesheet" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/5.7.0/d3.min.js"></script>
<script src="https://kit.fontawesome.com/177262b7d5.js" crossorigin="anonymous"></script>
<script id="Cookiebot" src="https://consent.cookiebot.com/uc.js" data-cbid="529ad2da-d352-4287-a9c0-8f9cf03f3a86" data-blockingmode="auto" type="text/javascript"></script>
<script type="text/javascript">var _sf_startpt=(new Date()).getTime()</script>
<meta name="google-site-verification" content="google-site-verification=poaTp8yoLICZHrQC_C-SMV-0gBX3CjGEYgS1j-QU9eI" />
<meta content="authenticity_token" name="csrf-param" />
<meta content="78aQMuXavSOPKwD7pvh9hVmaRStaLJwZgnuqDc0L39c=" name="csrf-token" />
<link rel="canonical" href="https://www.italiaviva.it/" />
<meta name="Title" content="Home">
<meta name="Description" content="Italia Viva è una Casa giovane, innovativa, femminista, dove si lanciano idee per l’Italia e l'Europa. Per una politica viva, fatta di passioni e di partecipazione.
">
<meta property="og:title" content="Italia Viva"/>
<meta property="og:url" content="https://www.italiaviva.it/">
<meta property="og:description" content="Italia Viva è una Casa giovane, innovativa, femminista, dove si lanciano idee per l’Italia e l'Europa. Per una politica viva, fatta di passioni e di partecipazione.
">
<meta property="og:type" content="article">
<link rel="image_src" href="https://assets.nationbuilder.com/comitaticivici/pages/494/meta_images/original/anteprimasito.jpg?1571494908" />
<meta property="og:image" content="https://assets.nationbuilder.com/comitaticivici/pages/494/meta_images/original/anteprimasito.jpg?1571494908" />
<meta property="og:site_name" content="Italia Viva"/>
<script type="text/javascript">
var NB = NB || {};
NB.environment = "production";
NB.pageId = "494";
NB.Liquid = NB.Liquid || {
Theme: {
version: 2,
name: "Italia Viva",
parent: "bootstrap",
variation: ""
},
Localization: {
locale: "it",
strings: {
'liquid.event_ticket_level.confirm_purchase_popup':
"You have indicated that you are purchasing more than 10 tickets. If this is a mistake, please click Cancel. To proceed with your purchase of more than 10 tickets, click OK."
}
},
FeatureFlags: {
confirmTicketPurchaseOptOut: "false"
}
};
NB.payments = NB.payments || {elements: {}};
NB.payments.decimal_mark = ","
NB.payments.thousands_separator = "."
NB.payments.currency = "eur";
NB.authProvider = NB.authProvider || { providerId: "", redirectHost: "" };
NB.authProvider.providerId = "org_HINKbnWdsSBAuU5i";
NB.authProvider.redirectHost = "italiaviva.nationbuilder.com";
</script>
<script type="text/javascript">
//<![CDATA[
window._auth_token_name = "authenticity_token";
window._auth_token = "78aQMuXavSOPKwD7pvh9hVmaRStaLJwZgnuqDc0L39c=";
//]]>
</script>
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.0/themes/cupertino/jquery-ui.css" type="text/css" media="all">
<link rel="icon" type="image/x-icon" href="https://assets.nationbuilder.com/comitaticivici/sites/39/favicon_images/original/ItaliaViva-Favicon.png?1571305458" />
<script src="https://assets.nationbuilder.com/assets/liquid/main-5a004943ec5dc6ab058e20cd796569e84a3f341840f200f2322c01f342fb32f9.js"></script>
<script type="text/plain" data-cookieconsent="marketing">
window.twttr = (function (d,s,id) {
var t, js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return; js=d.createElement(s); js.id=id;
js.src="//platform.twitter.com/widgets.js"; fjs.parentNode.insertBefore(js, fjs);
return window.twttr || (t = { _e: [], ready: function(f){ t._e.push(f) } });
}(document, "script", "twitter-wjs"));
</script>
<script type="text/plain" data-cookieconsent="marketing">
NB.FBAppId = '1679673749184434';
</script>
<script type="text/javascript">
(function (d) { var config = { kitId: 'mir8sij', scriptTimeout: 3000, async: true }, h=d.documentElement,t=setTimeout(function(){h.className=h.className.replace(/\bwf-loading\b/g,"")+" wf-inactive";},config.scriptTimeout),tk=d.createElement("script"),f=false,s=d.getElementsByTagName("script")[0],a;h.className+=" wf-loading";tk.src='https://use.typekit.net/'+config.kitId+'.js';tk.async=true;tk.onload=tk.onreadystatechange=function(){a=this.readyState;if(f||a&&a!="complete"&&a!="loaded")return;f=true;clearTimeout(t);try{Typekit.load(config)}catch(e){}};s.parentNode.insertBefore(tk,s)})(document);
</script>
<script type="text/plain" data-cookieconsent="statistics">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'G-X3H0CL61V3']);
_gaq.push(['_setDomainName', 'none']);
_gaq.push(['_gat._anonymizeIp']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_setCustomVar', 1, 'UGC', 'false', 3]);
_gaq.push(['_setCustomVar', 1, 'Page type', 'Basic', 3]);
_gaq.push(['_trackPageview']);
_gaq.push(['_trackPageLoadTime']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
let s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-X3H0CL61V3"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){window.dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-X3H0CL61V3');
</script>
<!-- The following line of CSS hides a checkbox in social share prompts for posting to Facebook;
As of Aug 1 2018, FB has deprecated the ability for apps to post to personal profile pages, so this is a temporary fix
while we re-configure the social share prompt -->
<style>label[for="face_tweet_is_facebook"]{display:none;}</style>
<style>
label[for="user_session_password"] {display: none;}
#user_session_password {display: none;}
label[for="activation_password_confirmation"] {display: none;}
#activation_password_confirmation {display: none;}
label[for="activation_password"] {display: none;}
#activation_password {display: none;}
.oauth-links:has(a.login-button-facebook) {display: none;}
.oauth-links:has(a.connect-button-facebook) {display: none;}
.signin-with-facebook:has(a[href*="facebook/connect"]) {display: none !important;}
.social_connect:has(a[href*="facebook/connect"]) {display: none !important;}
a[href*="facebook/connect"] {display: none !important;}
.hidden-first-word {display: none !important;}
*:has(.hidden-first-word):first-letter {
text-transform: uppercase;
}
.content-user-sessions-new-wide hr {
display: none;
}
.sign-in-with-email .or-button {
display: none;
}
</style>
<script>
NB.appConfig.ishomepage = true;
</script>
<link href="https://italiaviva.online/wp-content/cssExt/iv/changes.css" rel="stylesheet" />
<style>
.share-button {
font-size: 24px;
padding: 6px 12px;
min-width: 50px;
display: inline-block;
text-align: center;
}
@media screen and (max-width: 768px) {
.mobile-image {
display: block !important;
}
.desktop-image {
display: none !important;
}
}
@media screen and (min-width: 768px) {
.mobile-image {
display: none !important;
}
.desktop-image {
display: block !important;
}
}
</style>
<script type="text/plain" data-cookieconsent="marketing">
!(function (f, b, e, v, n, t, s) {
if (f.fbq) return;
n = f.fbq = function () {
n.callMethod ? n.callMethod.apply(n, arguments) : n.queue.push(arguments);
};
if (!f._fbq) f._fbq = n;
n.push = n;
n.loaded = !0;
n.version = "2.0";
n.queue = [];
t = b.createElement(e);
t.async = !0;
t.src = v;
s = b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t, s);
})(window, document, "script", "https://connect.facebook.net/en_US/fbevents.js");
fbq("init", "507759413337907");
fbq("track", "PageView");
</script>
<!--
fbq("init", "1350773008623228");-->
<!-- <noscript><img height="1" width="1" style="display: none" src="https://www.facebook.com/tr?id=1350773008623228&ev=PageView&noscript=1" /></noscript>
<noscript><img height="1" width="1" style="display: none" src="https://www.facebook.com/tr?id=507759413337907&ev=PageView&noscript=1" /></noscript> -->
<meta name="google-site-verification" content="iDHMgl35sNGErW1tL4uAtdYrY7ybSWr1WjIuEfMh1q8" />
<script type="text/javascript">
var onloadCallback = function () {
grecaptcha.render("codice", {
sitekey: "6LebCdsUAAAAAP1azwDebtdE_t12XpuxTmT0mfOe",
});
};
</script>
<script async src="https://www.googletagmanager.com/gtag/js?id=DC-10094253"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "DC-10094253");
</script>
<script src="https://italiaviva.online/wp-content/jsExt/iv/jquery.steps.min.js"></script>
<script src="https://italiaviva.online/wp-content/jsExt/iv/jquery.cookie.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css" integrity="sha512-tS3S5qG0BlhnQROyJXvNjeEM4UpMXHrQfTGmbQ1gKmelCxlSEBUaxhRBj/EFTzpbP4RVSrpEikbmdJobCvhE3g==" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.theme.default.min.css" integrity="sha512-sMXtMNL1zRzolHYKEujM2AqCLUR9F2C4/05cdbxjjLSRvMQIciEPCQZo++nk7go3BtSuK9kfa/s+a4f4i5pLkw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="https://ivsupport.ivdigitaltech.net/file_librerie/theme_v2/themev2.css?v=8" />
<style>
.cantieri_futuro .page-content {
padding: 6rem 0 6rem !important;
}
.cantieri_futuro:not(.archivio_cantieri) .page-content .container {
padding-right: 470px !important;
}
.cantieri_futuro .hero-cantieri_futuro {
padding-top: 10rem !important;
}
</style>
<!-- _headend.html -->
<script data-rel="INTERESSI" type="text/javascript">
let CONTINENTI = {
'africa': 'Africa',
'asia': 'Asia',
'Oceania': 'Oceania',
'europe': 'Europa',
'sudamerica': 'Sud America',
'nordamerica': 'Nord America'
}
var CATINTERESSI = {
"AMBIENTE": ["cantiere_greenact"],
"CRESCITA": [
"cantiere_turismo",
"crescita_cantiere",
"madeinitaly_cantiere",
"cantiere_mezzogiorno",
"cantiere_commercio",
"cantiere_fiscopolitichebilancio"
],
"ESTERO": [
"cantiere_europa",
"Italia nel mondo_cantiere",
"cantiere_estero",
"cantiere_affariesteri"
],
"FAMIGLIA": [
"cantiere_familyact",
"cantiere_giovani",
"pariopportunita_cantiere",
"Sport_cantiere"
],
"FORMAZIONE": [
"scuola_cantiere",
"Intelligenza Artificiale_cantiere",
"cantiere_universita",
"cantiere_formazioneistruzione",
"cantiere_innovazione"
],
"GIUSTIZIA": [
"cantiere_giustizia"
],
"INFRASTRUTTURE": [
"cantiere_rigenerazioneurbana",
"Terremoto_cantiere",
"cantiere_infrastrutture"
],
"ISTITUZIONI": [
"cantiere_montagnaareeinterne",
"cantiere_democrazia",
"pubblicamministrazione_cantiere",
"cantiere_sicurezza",
"cantiere_pubblicaamministrazione"
],
"LAVORO": [
"agricoltura_e_pesca_cantiere",
"cantiere_impresa",
"cantiere_terzosettore",
"cantiere_lavoro"
],
"SANITÀ": [
"cantiere_sanita"
],
"SOCIETA": [
"cantiere_cultura",
"cantiere_societaaperta",
"Informazione_cantiere"
]
};
const INTERESSI = {
"cantiere_sanita": "Sanità",
"cantiere_turismo": "Turismo e Salute",
"crescita_cantiere": "Crescita e Fisco",
"madeinitaly_cantiere": "Made in Italy",
"cantiere_mezzogiorno": "Mezzogiorno",
"cantiere_familyact": "Famiglia",
"cantiere_giovani": "Giovani",
"pariopportunita_cantiere": "Pari Opportunità e disabilità",
"Sport_cantiere": "Sport, Benessere e Invecchiamento attivo",
"cantiere_giustizia": "Giustizia",
"scuola_cantiere": "Area: Formazione",
"Intelligenza Artificiale_cantiere": "Innovazione e Trasferimento tecnologico",
"cantiere_universita": "Università e Ricerca",
"cantiere_greenact": "Ambiente",
"cantiere_rigenerazioneurbana": "Rigenerazione urbana",
"Terremoto_cantiere": "Terremoto, ricostruzione, dissesto idrogeologico e prevenzione",
"cantiere_infrastrutture": "Infrastrutture, mobilità e logistica",
"cantiere_montagnaareeinterne": "Aree Interne",
"cantiere_democrazia": "Istituzioni ed Enti Locali",
"cantiere_pubblicaamministrazione": "Pubblica Amministrazione",
"pubblicamministrazione_cantiere": "Pubblica Amministrazione",
"cantiere_sicurezza": "Sicurezza e Difesa",
"agricoltura_e_pesca_cantiere": "Agricoltura e pesca",
"cantiere_impresa": "Impresa e Artigianato",
"cantiere_terzosettore": "Terzo settore, impresa sociale, cooperazione e volontariato",
"cantiere_lavoro": "Lavoro e Professioni",
"cantiere_europa": "Europa",
"Italia nel mondo_cantiere": "Politica estera e cooperazione internazionale",
"cantiere_estero": "Comunità Italiani all'Estero",
"cantiere_cultura": "Cultura, Bellezza e Sport",
"cantiere_societaaperta": "Società inclusiva e Disabilità",
"Informazione_cantiere": "Informazione, Comunicazione, Rai",
"cantiere_commercio": "Commercio",
"cantiere_fiscopolitichebilancio": "Fisco e Politiche di Bilancio",
"cantiere_affariesteri": "Affari Esteri",
"cantiere_formazioneistruzione": "Formazione e Istruzione",
"cantiere_innovazione": "Innovazione, Start Up, Digitalizzazione"
};
var CATINTERESSI_COLOR = {
"SANITÀ": "#971E1F",
"CRESCITA": "#F94144",
"FAMIGLIA": "#F3722C",
"GIUSTIZIA": "#F8961E",
"FORMAZIONE": "#F9C74F",
"AMBIENTE": "#90BE6D",
"INFRASTRUTTURE": "#43AA8B",
"ISTITUZIONI": "#4D908E",
"LAVORO": "#52838F",
"ESTERO": "#2C3D58",
"SOCIETÀ": "#622E3C"
};
const INTERESSI_COLOR = {
"cantiere_sanita": "#971e1f",
"cantiere_turismo": "#f94144",
"cantiere_commercio": "#f94144",
"cantiere_fiscopolitichebilancio": "#f94144",
"crescita_cantiere": "#f94144",
"madeinitaly_cantiere": "#f94144",
"cantiere_mezzogiorno": "#f94144",
"cantiere_familyact": "#f3722c",
"cantiere_giovani": "#f3722c",
"pariopportunita_cantiere": "#f3722c",
"Sport_cantiere": "#f3722c",
"cantiere_giustizia": "#f8961e",
"scuola_cantiere": "#f9c74f",
"cantiere_formazioneistruzione": "#f9c74f",
"cantiere_innovazione": "#f9c74f",
"Intelligenza Artificiale_cantiere": "#f9c74f",
"cantiere_universita": "#f9c74f",
"cantiere_greenact": "#90be6d",
"cantiere_rigenerazioneurbana": "#43aa8b",
"Terremoto_cantiere": "#43aa8b",
"cantiere_infrastrutture": "#43aa8b",
"cantiere_montagnaareeinterne": "#4d908e",
"cantiere_democrazia": "#4d908e",
"pubblicamministrazione_cantiere": "#4d908e",
"cantiere_sicurezza": "#4d908e",
"cantiere_pubblicaamministrazione": "#4d908e",
"agricoltura_e_pesca_cantiere": "#52838f",
"cantiere_impresa": "#52838f",
"cantiere_terzosettore": "#52838f",
"cantiere_lavoro": "#52838f",
"cantiere_europa": "#2c3d58",
"Italia nel mondo_cantiere": "#2c3d58",
"cantiere_estero": "#2c3d58",
"cantiere_affariesteri": "#2c3d58",
"cantiere_cultura": "#622e3c",
"cantiere_societaaperta": "#622e3c",
"Informazione_cantiere": "#622e3c"
}
</script>
<script type="text/javascript">
(function(c,l,a,r,i,t,y){
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
})(window, document, "clarity", "script", "mmnby8eata");
</script>
<!-- /_headend.html -->
<script type="text/javascript">
var url = document.location.href;
var array = url.split("/");
if (array[array.length - 1] == "azione_italia_viva_calenda_ecco_il_programma_elettorale") {
document.location.href = "/programma_elettorale_azione_italia_viva_calenda";
}
</script>
</head>
<body
class="iv2 iv2-theme aware-theme v2-theme page-type-basic page-pages-show-basic-wide
homepage home js"
>
<div class="smooth-container">
<div id="screen-video" class="">
<div id="pause-button">X</div>
<iframe id="fullscrn-video" src="//www.youtube-nocookie.com/embed/NL-QdWaC5d8?enablejsapi=1&version=3&playerapiid=ytplayer" frameborder="0" allowfullscreen></iframe>
</div>
<div id="screen-video2" class="">
<div id="pause-button2">X</div>
<iframe id="fullscrn-video2" src="//www.youtube-nocookie.com/embed/UfDeW0GC4IM?enablejsapi=1&version=3&playerapiid=ytplayer" frameborder="0" allowfullscreen></iframe>
</div>
<div id="screen-video3" class="">
<div id="pause-button3">X</div>
<iframe id="fullscrn-video3" src="//www.youtube-nocookie.com/embed/RcUcDS8eFvY?enablejsapi=1&version=3&playerapiid=ytplayer" frameborder="0" allowfullscreen></iframe>
</div>
<!-- _sidebar-menu.html -->
<style>
ul.user-menu li a {
font-family: "Montserrat",sans-serif;
font-size: 18px;
font-weight: 700;
line-height: 26px;
color: #4faad3;
}
ul.user-menu li span {
font-family: "Montserrat",sans-serif;
font-size: 18px;
font-weight: 700;
line-height: 26px;
color: #fff;
}
ul.user-menu li.username span {
font-family: "Montserrat",sans-serif;
font-size: 18px;
font-weight: 700;
line-height: 26px;
color: #fa9f00;
}
ul li.login-button,
ul.user-menu li.login-button {
text-align: center;
}
ul li a.button.login,
ul.user-menu li a.button.login {
font-family: "Montserrat",sans-serif;
background-color: #0470BB;
text-align: center;
color: #fff;
display: inline-block;
}
@media screen and (min-width: 768px){
ul.user-menu {display: none !important;}
}
#topnav a#tesseramento {
padding: 4px;
margin: 0 10px;
background-color: #d00007;
background-image: url('https://assets.nationbuilder.com/themes/5d9d646645de94b073bb679a/attachments/original/1637308883/tesseramento_2022.png?1637308883');
background-size: 150%;
background-repeat: no-repeat;
background-position: center -212px;
font-size: 16px;
color: #fff;
}
@media screen and (max-width:991px) {
#topnav a#tesseramento,
#topnav a#sostienici {
margin:0px 0px;
text-align: center;
line-height: normal;
padding: 4px 0px;
padding-bottom: 10px;
}
#topnav a#sostienici {
background-color: #f5007d;
color: #ffffff;
}
ul li.login-button a.button.login {
display: block;
width: 100%;
font-weight: bold;
}
}
</style>
<div id="sidr" style="display:none">
<div class="close">
<a href="#"><img src="https://assets.nationbuilder.com/themes/5d9d646645de94b073bb679a/attachments/original/1602806506/ico-close-sidebar.png?1602806506" width="23" alt="Close" /></a>
</div>
<ul id="topnav" class="topnav desktop-nav">
<li class="login-button"><a class="button login" href="/login">Accedi</a></li>
<li class=" drop">
<a href="/conosci" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Conosci</a>
<ul class="sub">
<li><a href="/carta_dei_valori_home">Carta dei Valori</a></li>
<li><a href="/statuto_italiaviva">Statuto</a></li>
<li><a href="/congresso2023">Congresso 2023</a></li>
<li><a href="/la_nostra_squadra">La nostra squadra</a></li>
<li><a href="/organi_di_italia_viva">Organi nazionali</a></li>
</ul>
</li>
<li class=" drop">
<a href="/partecipa" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Partecipa</a>
<ul class="sub">
<li><a href="/eventi">Eventi</a></li>
<li><a href="/comitati">Comitati</a></li>
<li><a href="/cantieri_di_futuro">Cantieri di Futuro</a></li>
<li><a href="/petizioni">Petizioni</a></li>
<li><a href="/campagne">Campagne</a></li>
<li><a href="/2x1000">2x1000</a></li>
<li><a href="/scuola_2024">Scuola Estiva</a></li>
<li><a href="/materiali">Materiali e grafiche</a></li>
<li><a href="/mille-piazze">1000 Piazze</a></li>
</ul>
</li>
<li class=" drop">
<a href="/leggi" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Leggi</a>
<ul class="sub">
<li><a href="/le_interviste">Interviste </a></li>
<li><a href="/news_dal_territorio">News dal territorio</a></li>
<li><a href="/enews">Enews </a></li>
<li><a href="/contributi">Contributi</a></li>
<li><a href="/caffe_europeo">Caffè Europeo</a></li>
<li><a href="/news_dalla_primavera_delle_idee">News dalla Primavera delle Idee</a></li>
</ul>
</li>
<li >
<a href="/iscriviti_mail">Iscrizione/Tesseramento</a>
</li>
<li >
<a href="/sostienici">Sostienici</a>
</li>
</ul>
</div>
<!-- /_sidebar-menu.html -->
<!-- if page.slug == 'home_lv2' or themeV2Tag == "themev2" -->
<!-- _iv2_nav.html -->
<nav class="menu-nav" role="navigation">
<div class="max-container">
<div class="navbar-header">
<!--<a class="navbar-brand" href="/"><img alt="Italia Viva" src="https://assets.nationbuilder.com/comitaticivici/sites/39/meta_images/original/ItaliaViva_Logo_Header_2.png?1571224286"></a>-->
<a class="navbar-brand" href="/"><img alt="Italia Viva" src="https://assets.nationbuilder.com/themes/5d9d646645de94b073bb679a/attachments/original/1628247770/iv2_menu_logo.png?1628247770"></a>
<a id="simple-menu" href="#sidr" class="menu-link navbar-toggle collapsed">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<div class="mobile_cta">
<a id="subscribeNow" href="/tesseramento-2024" data-slug="home">Tesserati<br/>subito</a>
<a href="/sostienici" class="mobile_sostienici">Sostienici</a>
</div>
</div>
<div id="menu-collapse" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class=" dropdown">
<a href="/conosci" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Conosci <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><a href="/carta_dei_valori_home">Carta dei Valori</a></li>
<li><a href="/statuto_italiaviva">Statuto</a></li>
<li><a href="/congresso2023">Congresso 2023</a></li>
<li><a href="/la_nostra_squadra">La nostra squadra</a></li>
<li><a href="/organi_di_italia_viva">Organi nazionali</a></li>
</ul>
</li>
<li class=" dropdown">
<a href="/partecipa" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Partecipa <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><a href="/eventi">Eventi</a></li>
<li><a href="/comitati">Comitati</a></li>
<li><a href="/cantieri_di_futuro">Cantieri di Futuro</a></li>
<li><a href="/petizioni">Petizioni</a></li>
<li><a href="/campagne">Campagne</a></li>
<li><a href="/2x1000">2x1000</a></li>
<li><a href="/scuola_2024">Scuola Estiva</a></li>
<li><a href="/materiali">Materiali e grafiche</a></li>
<li><a href="/mille-piazze">1000 Piazze</a></li>
</ul>
</li>
<li class=" dropdown">
<a href="/leggi" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Leggi <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><a href="/le_interviste">Interviste </a></li>
<li><a href="/news_dal_territorio">News dal territorio</a></li>
<li><a href="/enews">Enews </a></li>
<li><a href="/contributi">Contributi</a></li>
<li><a href="/caffe_europeo">Caffè Europeo</a></li>
<li><a href="/news_dalla_primavera_delle_idee">News dalla Primavera delle Idee</a></li>
</ul>
</li>
<li >
<a href="/iscriviti_mail" class="iscriviti_mail">Iscrizione/Tesseramento</a>
</li>
<li >
<a href="/sostienici" class="sostienici">Sostienici</a>
</li>
<!--<li class="iv2-login" style='margin-left:5px'><a class='sostienici' href="/scuolaestiva2023">Scuola Estiva 23: Iscriviti</a></li>-->
<li class="iv2-login"><a href="/login">Accedi</a></li>
</ul>
</div>
</div>
</nav>
<!-- /_iv2_nav.html -->
<div class="container">
<!-- _features.html -->
<!-- /_features.html -->
</div>
<div class="main-container" id="middle">
<div class="main clearfix ">
<!-- _columns_1.html -->
<div class="column content-pages-show-basic-wide">
<div class="columns-1-flash"><div id="flash_container">
</div>
</div>
<!-- VIDEO HERO TEST-->
<div class="container-fluid iv2__hero--container addClass_test">
<div class="iv2__hero-video-bg">
<div class="video">
<div class="video__container">
<video class="desktop" preload="auto" autoplay="" playsinline="" muted="" loop="">
<source src="https://ivsupport.ivdigitaltech.net/video_iv/home_iv_desktop_v10.mp4" type="video/mp4">
</video>
<video class="mobile" preload="auto" autoplay="" playsinline="" muted="" loop="">
<source src="https://ivsupport.ivdigitaltech.net/video_iv/home_iv_mobile_v10.mp4" type="video/mp4">
</video>
</div>
</div>
</div>
</div>
<!-- /VIDEO HERO -->
<script type="text/javascript">
let _isLoggedOrActivated = localStorage.getItem("activation_login_action");
if(_isLoggedOrActivated ==="activated" || _isLoggedOrActivated==="loggedin") {
localStorage.removeItem("activation_login_action");
document.location = 'https://www.italiaviva.it/account_dashboard';
}
</script>
<div class="timeline">
<!-- MODULO RESTA IN CONTATTO -->
<div class="container">
<div class="row">
<div class="iv2--form iv2--form__newsletter iv2-primary iv2-linear-gradient after-hero">
<h4 class="title" style="display: none;">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Beatae, dolorem,
molestiae.</h4>
<div class="autocomplete-cap">
<form id="rimani_in_contatto_v2_page_new_signup_form" class="ajaxForm signup_form" method="POST" action="/forms/signups" enctype="multipart/form-data"><input name="authenticity_token" type="hidden" value="78aQMuXavSOPKwD7pvh9hVmaRStaLJwZgnuqDc0L39c="/><input name="page_id" type="hidden" value="8975"/><input name="return_to" type="hidden" value="https://www.italiaviva.it/rimani_in_contatto_v2"/><div class="email_address_form" style="display:none;" aria-hidden="true"><p><label for="email_address">Optional email code</label><br/><input name="email_address" type="text" class="text" id="email_address" autocomplete="off"/></p></div>
<div id="newsletter_formv2" class="row fields-narrow-row newhomeform" style="opacity: 0;">
<div class="address-fields" style="margin-bottom:2em;">
<!-- AUTOCOMPLETE CAP FIELDS -->
<div class="autocomplete-cap">
<div class="autocomplete-components">
<!-- Home fields -->
<div class="billing">
<!-- select nazione - NASCOSTA -->
<label style="display:none" id="nazione_label">
<div class="original_naz" style="display:none;">
<input class="naz iv2--form__field setaddress_country" placeholder="* Nazione" value="IT" id="signup_home_address_country_code" name="signup[home_address_attributes][country_code]" type="text" value="IT" />
</div>
<select class="iv2--form__field select-field select_nazione" id="select_nazione"></select>
</label>
<!-- CAP hide field -->
<div class="form-group col-md-12" style="display:none">
<label>Codice postale</label>
<input type="hidden" class="cap_code" value="">
<input class="cap_code hidden-fields setaddress_zip iv2--form__field" placeholder="Codice postale" required="required" data-requiredtext="Cap obbligatorio" id="signup_home_address_zip" name="signup[home_address_attributes][zip]" type="text" />
</div>
<div class="row fields-narrow-row">
<div id="autocomplete_cap_hint" class="col-md-12">
<small class="cap_hint">
<em>
Digita almeno 2 numeri del cap per mostrare l'elenco
</em>
<b>
Il CAP deve essere scelto dall'elenco, in caso di intenso traffico, l'elenco di selezione potrebbe comparire più lentamente.
</b>
<p class="emailAd">
Assicurati di inserire il tuo indirizzo email personale
</p>
</small>
</div>
<div class="col-md-6">
<label for="signup_email">
<input required="required" class="iv2--form__field" id="signup_email" name="signup[email]" placeholder="Indirizzo email" type="email" />
</label>
</div>
<div class="col-md-6">
<div class="control-group">
<!-- CAP - autocomplete_cap_field -->
<label id="autocomplete_cap_field">
<div class="autocomplete debounced">
<input type="text"
class="autocomplete-input"
placeholder="* Cap/Zip code"
aria-label="Cap/Zip code"
value=""
required="required"
autocomplete="off">
<ul class="autocomplete-result-list"></ul>
</div>
</label>
<!-- Estero check hide field -->
<label class="estero_check">
<input class="allowed estero" type="checkbox" value="1" name="estero"> Cap Estero?
</label>
</div>
</div>
</div>
<!-- address and number -->
<div class="address">
<label>
<input class="set_address_trigger setaddress_address1 set_address iv2--form__field" placeholder="* Indirizzo" id="signup_home_address_address1" name="signup[home_address_attributes][address1]" type="text" />
</label>
</div>
<div class="house_number">
<label>
<input class="iv2--form__field set_number
setaddress_street_number" placeholder="* Numero civico" id="signup_custom_values_streetnumber_custom" name="signup[custom_values][streetnumber]" type="text" />
</label>
</div>
<!-- select/input regione -->
<label id="regione">
<select class="iv2--form__field select-field select_regione" id="select_regione"></select>
<!-- campo regione nascosto se IT -->
<div class="estero_field" id="original_reg" style="display:none;">
<input class="reg setaddress_county iv2--form__field" id="signup_home_address_county" name="signup[home_address_attributes][county]" type="text" />
</div>
</label>
<!-- select/input provincia -->
<label id="provincia">
<select class="iv2--form__field select-field select_province" id="select_province"></select>
<!-- campo provincia nascosto se IT -->
<div class="estero_field" id="original_prov" style="display:none;">
<input class="prov setaddress_state iv2--form__field" placeholder="* Sigla provincia" id="signup_home_address_state" name="signup[home_address_attributes][state]" type="text" />
</div>
</label>
<!-- select/input citta -->
<label id="citta">
<select class="iv2--form__field select-field select_citta" id="select_citta"></select>
<!-- campo città nascosto se IT -->
<div class="estero_field" id="original_citta" style="display:none;">
<input class="com setaddress_city iv2--form__field" placeholder="* Città" id="signup_home_address_city" name="signup[home_address_attributes][city]" type="text" />
</div>
</label>
</div>
<!-- Home fields -->
</div>
</div>
<!-- AUTOCOMPLETE CAP -->
</div>
<div class="consent hidden-fields">
<p><a href="#">Letta l’informativa</a> resa ai sensi dell’art. 13 del GDPR e della normativa
nazionale in materia di
protezione dei dati personali acconsento al trattamento dei miei dati personali:</p>
<label for="consents_101_1">
<input type="checkbox" value="1" name="consents[101]"
id="consents_101_1" required="required">
<span>
per la gestione della iniziativa promossa da Italia Viva, compreso l’invio di informazioni sullo stato della medesima
</span>
</label>
<label for="consents_102_1">
<input type="checkbox" value="1" name="consents[102]"
id="consents_102_1" required="required">
<span>
per ricevere informazioni sulle attività di Italia Viva e delle sue articolazioni mediante newsletter, tecniche di comunicazione a distanza o strumenti di contatto tradizionali
</span>
</label>
</div>
</div>
<button type="submit" name="nw_form_submit" class="iv2--form__submit iv2-button iv2-primary">
Rimani in contatto
</button>
</form>
<!-- selects functions -->
<script id="selects_functions" type="text/javascript">
// Show/Hide selects [regione,provincia,comune]
window.hideSelects = false;
const prefix = "signup_";
const nbFieldsPetitionID = {
address: prefix + 'home_address_address1',
number: prefix + 'custom_values_streetnumber_custom',
country: prefix + 'home_address_country_code',
/*custom_regione: prefix + 'signup_custom_values_regione_custom',*/
regione: prefix + 'home_address_county',
state: prefix + 'home_address_state',
city: prefix + 'home_address_city',
zip: prefix + 'home_address_zip',
custom_zip: 'custom_values_codice_postale_custom',
}
const selectFieldsPetitionID = {
country: 'select_nazione',
regione: 'select_regione',
state: 'select_province',
city: 'select_citta',
}
const urlCdnPath = 'https://ivsupport.ivdigitaltech.net/api/cdn/rest/';
function checkRequired(form)
{
let required = false;
let firstElemRequired = null;
let requiredMessage = [];
if (!form) {
console.log('no form');
return false;
}
for (let i = 0; i < form.elements.length; i++) {
form.elements[i].classList.remove('required');
if (form.elements[i].type === 'radio' && form.elements[i].hasAttribute('required')) {
if ((form.elements[i].checked === true)
) {
form.elements[i].style.border = '1px solid #ced4da';
required = false;
break;
} else {
form.elements[i].classList.add('required');
if (!firstElemRequired) {
firstElemRequired = form.elements[i];
console.log('[radio]field required fails:', firstElemRequired);
}
console.log('form required:',form.elements[i]);
required = true;
}
}
}
for (let i = 0; i < form.elements.length; i++) {
form.elements[i].classList.remove('required');
form.elements[i].style.border = '1px solid #ced4da';
if (form.elements[i].type !== 'radio') {
if (form.elements[i].value === '' &&
form.elements[i].hasAttribute('required')) {
form.elements[i].classList.add('required');
if(form.elements[i].dataset.requiredtext) {
requiredMessage.push(form.elements[i].dataset.requiredtext);
} else {
requiredMessage.push(form.elements[i].id);
}
if (!firstElemRequired) {
firstElemRequired = form.elements[i];
console.log('field required fails:', firstElemRequired);
}
console.log('[2]form required:',form.elements[i]);
required = true;
}
}
}
if (firstElemRequired && required) {
firstElemRequired.style.boxShadow = '0 0 0 2px red';
console.log(firstElemRequired);
firstElemRequired.addEventListener('focus', () => {
firstElemRequired.style.boxShadow = 'none';
})
alert('Attenzione: sono presenti campi obbligatori');
if (firstElemRequired) {
var body = $("html,body");
if (body) {
body.stop().animate({
// 55px is header nav height
scrollTop: ($(firstElemRequired).offset().top - 100),
easing: 'easeInOutQuad',
}, 1000);
}
}
$('#submitarea .errors').html(
"Si sono verificati errori:<br/>"+requiredMessage.join("<br/>")
);
return true;
}
return false;
}
function checkAmount(form)
{
let amounts = form.querySelectorAll('.donation_amount_option');
const customAmountI = form.querySelector('#donation_amount_other_input');
let customAmount = 0;
if (customAmountI) {
customAmount = customAmountI.value;
}
let amount = 0;
amounts.forEach((item) => {
if (item.checked) {
if (item.value === "") {
amount = parseFloat(customAmount);
} else {
amount = parseInt(item.value);
}
}
});
if (amount < 1) {
alert('Scegli un importo da donare!');
if (customAmountI) {
$("html,body").stop().animate({
// 55px is header nav height
scrollTop: ($(customAmountI).offset().top - 100),
easing: 'easeInOutQuad',
}, 1000);
}
return true;
}
return amount;
}
function setElementValue(element, value)
{
if (document.getElementById(element)) {
document.getElementById(element).value = value;
document.getElementById(element).setAttribute('value', value);
}
}
function fillAddressValues(newvalues)
{
const picks = Object.assign(
{},
{
"country": 'IT',
"city": "",
"county": "",
"state": "",
"zip": ""
},
newvalues ? newvalues : null
);
console.log('got values', picks);
//Imposta i valori testuali:
setElementValue(nbFieldsPetitionID.country, picks.country);
setElementValue(nbFieldsPetitionID.city, picks.city);
setElementValue(nbFieldsPetitionID.regione, picks.county);
//setElementValue(nbFieldsPetitionID.custom_regione, picks.county);
setElementValue(nbFieldsPetitionID.state, picks.state);
setElementValue(nbFieldsPetitionID.zip, picks.zip);
setElementValue(nbFieldsPetitionID.custom_zip, picks.zip);
setElementValue('zip_0', picks.zip);
if (picks.country === 'IT') {
Promise.all([
prefillRegione(picks.county),
prefillProvincia(picks.county, picks.state),
prefillComune(picks.county, picks.state, picks.city)
]
).then((results) => {
console.log('result filled in Selects', results);
}).catch((error) => {
console.log('impossibile attivare prefill, errore', error);
}).finally((v) => {
console.log('reimposta i valori in lista, non si sa mai');
//setElementValue(nbFieldsPetitionID.custom_regione, picks.county);
setElementValue(nbFieldsPetitionID.state, picks.state);
setElementValue(nbFieldsPetitionID.city, picks.city);
});
} else {
nationChange(true); //Estero...
}
}
function prefillRegione(regione)
{
console.log('prefillRegione', regione);
return new Promise((resolve, reject) => {
if (typeof regione === 'undefined') {
reject(false);
}
if ((regione + "").length === 0) {
reject(false);
}
executeAjaxQuery('italia/regioni')
.then((data) => {
const select_regione = $('select#select_regione');
select_regione.empty();
select_regione.append('<option value="">Scegli la regione</option>');
fillSelectOptions(
select_regione,
regione,
{"value": 'regione', 'label': 'regione'},
true,
data
);
resolve(regione);
})
.catch((error) => {
console.log('errore get regioni');
console.log(error);
reject({'dove': 'regione', 'error': error});
});
});
}
function prefillProvincia(regione, prov)
{
console.log('prefillProvincia', regione, prov);
return new Promise((resolve, reject) => {
if (typeof regione === 'undefined') {
reject(false);
}
if ((regione + "").length === 0) {
reject(false);
}
if (typeof prov === 'undefined') {
reject(false);
}
if ((prov + "").length === 0) {
reject(false);
}
executeAjaxQuery('italia/' + regione + '/province')
.then((data) => {
const select_province = $('select#select_province');
select_province.empty();
select_province.append('<option value="">Scegli la provincia</option>');
fillSelectOptions(
select_province,
prov,
{"value": 'targa', 'label': 'targa'},
true,
data
);
resolve(prov)
}).catch((error) => {
console.log('errore get province');
console.log(error);
reject({'dove': 'province', 'error': error});
});
});
}
function prefillComune(regione, prov, city)
{
console.log('prefillComune', regione, prov, city);
return new Promise((resolve, reject) => {
if (typeof regione === 'undefined') {
reject(false);
}
if ((regione + "").length === 0) {
reject(false);
}
if (typeof prov === 'undefined') {
reject(false);
}
if ((prov + "").length === 0) {
reject(false);
}
if (typeof city === 'undefined') {
reject(false);
}
if ((city + "").length === 0) {
reject(false);
}
const select_citta = $('select#select_citta');
select_citta.empty();
select_citta.append('<option value="">--scegli il comune --</option>');
executeAjaxQuery('italia/' + regione + '/' + prov + '/comuni')
.then((data) => {
fillSelectOptions(
select_citta,
city,
{"value": 'denominazione', "label": 'denominazione'},
true,
data
);
resolve(city);
}).catch((error) => {
console.log('errore get comuni');
console.log(error);
reject({'dove': 'comuni', 'error': error});
});
});
}
function manageZipPicked(event)
{
console.log('preso zip?', event);
fillAddressValues(event.picked);
}
function manageZipEsteroChange(event)
{
nationChange(event.details, true);
}
function nationChange(isEstero, fromEvent)
{
let checkbox = document.querySelector('.' + prefix + 'form input[type=checkbox].estero');
console.log('nationChange isEstero',isEstero);
if (isEstero) {
if (!fromEvent) {
checkbox.checked = true;
checkbox.dispatchEvent(new Event('change'));
}
// Mostro i campi al cambio
document.getElementById(nbFieldsPetitionID.country).style.display = 'none';
document.getElementById(nbFieldsPetitionID.regione).closest('.estero_field').style.display = 'block';
document.getElementById(nbFieldsPetitionID.regione).style.display = 'block';
document.getElementById(nbFieldsPetitionID.state).closest('.estero_field').style.display = 'block';
document.getElementById(nbFieldsPetitionID.state).style.display = 'block';
document.getElementById(nbFieldsPetitionID.city).closest('.estero_field').style.display = 'block';
document.getElementById(nbFieldsPetitionID.city).style.display = 'block';
document.getElementById(selectFieldsPetitionID.country).style.display = 'block';
document.getElementById(selectFieldsPetitionID.regione).style.display = 'none';
document.getElementById(selectFieldsPetitionID.state).style.display = 'none';
document.getElementById(selectFieldsPetitionID.city).style.display = 'none';
// Resetto i campi al cambio
document.getElementById(nbFieldsPetitionID.number).value = '';
document.getElementById(nbFieldsPetitionID.address).value = '';
document.getElementById(nbFieldsPetitionID.country).value = '';
document.getElementById(nbFieldsPetitionID.regione).value = 'EE';
//document.getElementById(nbFieldsPetitionID.custom_regione).value = 'EE';
document.getElementById(nbFieldsPetitionID.state).value = 'EE';
document.getElementById(nbFieldsPetitionID.city).value = '';
setElementValue(selectFieldsPetitionID.city, "");
setElementValue(selectFieldsPetitionID.regione, "");
setElementValue(selectFieldsPetitionID.state, "");
} else {
if (!fromEvent) {
checkbox.checked = false;
checkbox.dispatchEvent(new Event('change'));
}
// Nascondo i campi al cambio
document.getElementById(nbFieldsPetitionID.country).style.display = 'none';
document.getElementById(nbFieldsPetitionID.regione).closest('.estero_field').style.display = 'none';
document.getElementById(nbFieldsPetitionID.regione).style.display = 'none';
document.getElementById(nbFieldsPetitionID.state).closest('.estero_field').style.display = 'none';
document.getElementById(nbFieldsPetitionID.state).style.display = 'none';
document.getElementById(nbFieldsPetitionID.city).closest('.estero_field').style.display = 'none';
document.getElementById(nbFieldsPetitionID.city).style.display = 'none';
document.getElementById(selectFieldsPetitionID.country).style.display = 'block';
document.getElementById(selectFieldsPetitionID.regione).style.display = 'block';
document.getElementById(selectFieldsPetitionID.state).style.display = 'block';
document.getElementById(selectFieldsPetitionID.city).style.display = 'block';
// Imposto il valore al cambio
document.getElementById(nbFieldsPetitionID.country).value = this.value;
document.getElementById(nbFieldsPetitionID.country).setAttribute('value', this.value);
}
}
function executeAjaxQuery(url)
{
let secondi = 12*60*1000; //12h di cache;
const d = Math.floor(new Date().getTime()/secondi)*secondi;
let extUrl = encodeURI(urlCdnPath + url);
if(extUrl.indexOf("?")>-1) {
extUrl = extUrl+="&ts="+d;
} else {
extUrl = extUrl+="?ts="+d;
}
return new Promise((resolve, reject) => {
$.ajax({
type: "GET",
method: "GET",
url: extUrl,
success: function (data) {
resolve(data);
},
error: function (xhr, ajaxOptions, thrownError) {
console.log('errore get ajax');
console.log(xhr, ajaxOptions, thrownError);
reject(thrownError);
},
dataType: 'json'
});
});
}
function fillSelectOptions(selectElement, defaultValue, mapping, clearBefore, data)
{
const defValue = defaultValue;
if (clearBefore) {
selectElement.empty();
}
let _localMapping = {
"value": "value",
"label": "label"
};
if (typeof mapping === 'object') {
_localMapping = Object.assign({}, _localMapping, mapping);
}
console.log('fill select with map', _localMapping);
if (selectElement.attr('id') === 'select_regione') {
selectElement.append('<option value="">Scegli la regione</option>');
} else if (selectElement.attr('id') === 'select_province') {
selectElement.append('<option value="">Scegli prima la regione</option>');
} else if (selectElement.attr('id') === 'select_citta') {
selectElement.append('<option value="">Scegli prima la provincia</option>');
} else {
selectElement.append('<option value="">Scegli</option>');
}
let appendPlaceholder = false;
data.forEach(function (item) {
const itValue = typeof (item[_localMapping.value]) !== 'undefined' ? item[_localMapping.value] : false;
const itLbl = typeof (item[_localMapping.label]) !== 'undefined' ? item[_localMapping.label] : false;
//console.log('selectElement', selectElement);
//console.log('fillSelectOptions', itValue, itLbl);
if (!itValue || !itLbl) {
return;
}
if (! appendPlaceholder && selectElement.attr('id') === 'select_province') {
selectElement.empty();
selectElement.append('<option value="">Scegli la provincia</option>');
appendPlaceholder = true;
} else if (! appendPlaceholder && selectElement.attr('id') === 'select_citta') {
selectElement.empty();
selectElement.append('<option value="">Scegli il comune</option>');
appendPlaceholder = true;
}
if (itValue === defValue) {
selectElement.append('<option selected="selected" value="' + itValue + '">' + itLbl + '</option>');
} else {
selectElement.append('<option value="' + itValue + '">' + itLbl + '</option>');
}
});
}
window.addEventListener('load', function () {
//Quando tutto è pronto, imposta i campi nascosti...
if ('IT' === document.getElementById(nbFieldsPetitionID.country).value) {
document.getElementById(selectFieldsPetitionID.country).style.display = 'block';
document.getElementById(selectFieldsPetitionID.regione).style.display = 'block';
document.getElementById(selectFieldsPetitionID.state).style.display = 'block';
document.getElementById(selectFieldsPetitionID.city).style.display = 'block';
// Nascondo i campi al cambio
document.getElementById(nbFieldsPetitionID.country).style.display = 'none';
document.getElementById(nbFieldsPetitionID.regione).style.display = 'none';
document.getElementById(nbFieldsPetitionID.state).style.display = 'none';
document.getElementById(nbFieldsPetitionID.city).style.display = 'none';
document.getElementById(nbFieldsPetitionID.zip).style.display = 'none';
}
//Carica le nazioni ed imposta tutto:
executeAjaxQuery('nazioni')
.then((data) => {
let countryCode = document.getElementById(nbFieldsPetitionID.country);
let select_nazione = $('select#select_nazione');
select_nazione.empty();
select_nazione.append('<option value="">-- scegli --</option>');
data.forEach(function (item) {
let value = item.alpha2.toUpperCase();
if (countryCode.value === value) {
select_nazione.append('<option selected="selected" value="' + value + '">' + item.name + '</option>');
} else {
select_nazione.append('<option value="' + value + '">' + item.name + '</option>');
}
});
console.log('ho country?', countryCode.value);
if (countryCode && countryCode.value) {
select_nazione.value = countryCode.value;
}
if (true) {
setTimeout(function () {
console.log('forza primo init del checkbox', select_nazione.value);
let checkbox = document.querySelector('form.' + prefix + 'form input[type=checkbox].estero');
checkbox.checked = false;
if (select_nazione.value !== 'IT') {
checkbox.checked = true;
}
checkbox.dispatchEvent(new Event('change'));
}, 300);
}
select_nazione.on('change', function (evt) {
nationChange('IT' !== this.value, false);
setElementValue(nbFieldsPetitionID.country, this.value); //Imposta il valore dopo aver resettato tut
});
})
.catch((error) => {
console.log('errore get nazioni', error);
}).finally(() => {
//Esegui il prefill dei valori se country è it:
const countryCode = document.getElementById(nbFieldsPetitionID.country);
const city = document.getElementById(nbFieldsPetitionID.city);
const prov = document.getElementById(nbFieldsPetitionID.state);
const reg = document.getElementById(nbFieldsPetitionID.regione);
const zip = document.getElementById(nbFieldsPetitionID.zip);
if (countryCode && countryCode.value === 'IT') {
const _prefilledValues = {
"country": countryCode.value
}
if (city && city.value) {
_prefilledValues['city'] = city.value;
}
if (prov && prov.value) {
_prefilledValues['state'] = prov.value;
}
if (reg && reg.value) {
_prefilledValues['county'] = reg.value;
}
if (zip && zip.value) {
_prefilledValues['zip'] = zip.value;
}
console.log('forse ci sono dati precaricati', _prefilledValues);
fillAddressValues(_prefilledValues);
}
});
});
document.addEventListener('DOMContentLoaded', function () {
//Carica prima possibile gli eventi
const select_province = $('select#select_province');
const select_citta = $('select#select_citta');
const select_regione = $('select#select_regione');
const text_regione = $('#' + nbFieldsPetitionID.regione);
const text_zipcode = $(".cap_autocomplete_prefix input.zipfield");
//Collega il campo regione al campo billing.regione
/*
text_regione.on('change', function (evt) {
document.getElementById(nbFieldsPetitionID.custom_regione).value = this.value;
document.getElementById(nbFieldsPetitionID.custom_regione).setAttribute('value', this.value);
});
*/
//Collega il campo zip al campo custom_zip
text_zipcode.on('change', function (evt) {
document.getElementById(nbFieldsPetitionID.zip).value = this.value;
document.getElementById(nbFieldsPetitionID.zip).setAttribute('value', this.value);
});
// Campio città
select_citta.on('change', function (evt) {
console.log(this.value);
document.getElementById(nbFieldsPetitionID.city).value = this.value;
document.getElementById(nbFieldsPetitionID.city).setAttribute('value', this.value);
});
select_province.on('change', function (evt) {
//Imposta la scelta della provincia,
document.getElementById(nbFieldsPetitionID.state).value = this.value;
document.getElementById(nbFieldsPetitionID.state).setAttribute('value', this.value);
//Azzera la città
document.getElementById(nbFieldsPetitionID.city).value = "";
document.getElementById(nbFieldsPetitionID.city).setAttribute('value', '');
let select_reg = document.querySelector('#select_regione');
let valueReg = select_reg.value.replace('/', '~');
let select_citta = $('select#select_citta');
select_citta.empty();
select_citta.append('<option value="">attendere...</option>');
executeAjaxQuery('italia/' + valueReg + '/' + this.value + '/comuni')
.then((data) => {
let city = document.getElementById(nbFieldsPetitionID.city);
fillSelectOptions(
select_citta,
city ? city.value : "",
{"value": 'denominazione', "label": 'denominazione'},
true,
data
);
}).catch((error) => {
console.log('errore get comuni');
console.log(error);
});
});
select_regione.on('change', function (evt) {
//Imposta la scelta della regione
document.getElementById(nbFieldsPetitionID.regione).value = this.value;
document.getElementById(nbFieldsPetitionID.regione).setAttribute('value', this.value);
//document.getElementById(nbFieldsPetitionID.custom_regione).value = this.value;
//document.getElementById(nbFieldsPetitionID.custom_regione).setAttribute('value', this.value);
//Azzera le scelte:
document.getElementById(nbFieldsPetitionID.city).value = "";
document.getElementById(nbFieldsPetitionID.city).setAttribute('value', '');
document.getElementById(nbFieldsPetitionID.state).value = "";
document.getElementById(nbFieldsPetitionID.state).setAttribute('value', '');
let select_citta = $('select#select_citta');
select_citta.empty();
select_citta.append('<option value="">attendere...</option>');
let select_province = $('select#select_province');
select_province.empty();
select_province.append('<option value="">attendere...</option>');
if ('' !== this.value) {
executeAjaxQuery('italia/' + this.value + '/province')
.then((data) => {
let state = document.getElementById(nbFieldsPetitionID.state);
console.log('responso get province');
let select_province = $('select#select_province');
select_province.empty();
select_province.append('<option value="">-- scegli la provincia --</option>');
fillSelectOptions(
select_province,
state ? state.value : "",
{"value": 'targa', 'label': 'targa'},
true,
data
);
}).catch((error) => {
});
}
});
//Fill Regioni..
executeAjaxQuery('italia/regioni')
.then((data) => {
//let regione = document.getElementById(nbFieldsPetitionID.custom_regione);
let select_regione = $('select#select_regione');
fillSelectOptions(
select_regione,
"",
{"value": 'regione', 'label': 'regione'},
true,
data
);
}).catch((error) => {
console.log('errore get regioni');
console.log(error);
});
});
</script>
<script id="submit_validation" type="text/javascript">
const FORM_TYPE = 'form.signup_form';
let form = document.querySelector(FORM_TYPE);
let submit = document.querySelector(FORM_TYPE + ' .iv2--form__submit');
let address = document.querySelector('.address input.set_address');
let house_number = document.querySelector('.house_number input.set_number');
// Replace address onload
if (address && house_number) {
var countNumber = house_number.value.toString().length;
console.log('countNumber', countNumber)
let addressOnly = address.value;
if (countNumber > 0) {
addressOnly = address.value.slice(0, -countNumber);
}
addressOnly.replace(house_number.value, '');
addressOnly.replace(',', '');
console.log('house_number.value', house_number.value);
console.log('addressOnly', addressOnly);
if ('' !== addressOnly) {
address.value = addressOnly;
address.setAttribute('value', addressOnly);
}
}
// submit Validation
submit.addEventListener('click', function (evt) {
evt.preventDefault();
evt.stopImmediatePropagation();
if (checkRequired(form)) {
return false;
}
// Add street number to address field
if (address && house_number) {
if (-1 === address.value.indexOf(house_number.value)) {
address.value = address.value + ', ' + house_number.value;
address.setAttribute('value', address.value);
console.log('address.value', address.value);
}
}
setTimeout(() => {
console.log('Submit Form');
form.submit();
}, 500)
});
</script>
<!--/ selects functions -->
<!-- open/hide hidden field -->
<script type="text/javascript">
function showHiddenFields()
{
let inputCap = document.querySelector('#autocomplete_cap_field .autocomplete .autocomplete-input');
if (inputCap) {
inputCap.addEventListener('focus', function (evt) {
let hiddenFields = inputCap.closest('#newsletter_formv2').querySelector('.consent.hidden-fields');
if (!hiddenFields.classList.contains('open')) {
$(hiddenFields).slideToggle(function () {
hiddenFields.classList.add('open');
});
}
});
}
}
window.addEventListener('load', function () {
showHiddenFields();
});
let estero = document.querySelector('.estero_check .estero');
estero.addEventListener('change', (evt) => {
if (evt.target.checked) {
document.getElementById(nbFieldsPetitionID.address).value = 'indirizzo provvisorio'
} else {
document.getElementById(nbFieldsPetitionID.address).value = ''
}
})
</script>
<!-- autocomplete-components assets -->
<!-- css -->
<link rel="stylesheet" href="https://ivsupport.ivdigitaltech.net/file_librerie/autocomplete-cap/style.css?v=v5">
<style id="customization">
.estero_check {
font-size: 1.3rem;
line-height: 1.6;
font-weight: 400;
margin-top: 1em
}
.autocomplete-components .autocomplete .autocomplete-input {
padding-left: 10px !important;
}
#autocomplete_cap_hint .cap_hint { font-size: 12px; text-align: left; line-height: 12px; display: block; margin-bottom: 1em; }
#autocomplete_cap_hint .cap_hint em,
#autocomplete_cap_hint .cap_hint b {display: block; margin-bottom: 5px; opacity: 0.8; text-align: left; }
.billing [class*="col-"].no-pad-left {
padding-left: 0;
}
.billing [class*="col-"].no-pad {
padding: 0;
}
@media screen and (max-width: 991px) {
.billing [class*="col-"] {
width: 100%;
padding: 0 !important;
}
}
</style>
<!-- js -->
<script id="autocomplete" src="https://ivsupport.ivdigitaltech.net/file_librerie/autocomplete-cap/autocomplete.min.js"></script>
<script id="autocompleteComponents" src="https://ivsupport.ivdigitaltech.net/file_librerie/autocomplete-cap/autocompleteComponents.js?v=v5"></script>
<script id="createAutocomplete" type="text/javascript">
const suggestmunicipalicy = true
createAutocomplete('.autocomplete.debounced', '.autocomplete-input', 500, suggestmunicipalicy);
</script>
<!--/ autocomplete-components assets -->
</div>
</div>
</div>
</div>
<div class="container iv2--container">
<div class="row">
<div class="section-title">
<h2>News</h2>
<a class="iv2-button view-all" href="/leggi">Vedi tutte</a>
</div>
<!-- blocco news per Desktop -->
<div class="desktop-news col-md-6">
<div class="iv2--news big-news iv2-primary">
<!--
1 news format BIG tag: inhomepage
-->
<!--
1 news format BIG tag: inhomepage
-->
<!--
1 news format BIG tag: inhomepage
-->
<!--
1 news format BIG tag: inhomepage
-->
<!-- 1 news format BIG -->
<a class="block-link big_news" href="/boschi_da_dario_proposta_lucida_ma_necessario_il_proporzionale">
<!-- _include_image_by_word.html -->
<img src="https://assets.nationbuilder.com/comitaticivici/pages/21268/attachments/original/1737786403/big.jpeg?1737786403"/>
<!-- /_include_image_by_word.html -->
<div class="tags">
<!-- _print_allowedtags.html -->
<span class="tag iv2-secondary parlamento">parlamento</span>
<!-- /_print_allowedtags.html -->
</div>
<div class="contents">
<!--<time class="time">25/01/25</time>-->
<h2 class="title">Boschi: "Da Dario proposta lucida ma è necessario il proporzionale"</h2>
<!--<p class="excerpt">Intervista a Maria Elena Boschi per «Repubblica» del 25-01-2025
di Serena Riformato</p>-->
</div>
</a>
</div>
<div class="iv2--news title-news iv2-primary">
<!-- 1 news format TITLE -->
<div class="news iv2-primary">
<a href="/enews_1011_lunedi_27_gennaio_2025">
<div class="title">Enews 1011 lunedì 27 gennaio 2025</div>
<!--<time class="time">27/01/25</time>-->
</a>
</div>
<!-- 1 news format TITLE -->
<div class="news iv2-primary">
<a href="/enews_1010_lunedi_20_gennaio_2025">
<div class="title">Enews 1010 lunedì 20 gennaio 2025</div>
<!--<time class="time">20/01/25</time>-->
</a>
</div>
</div>
</div>
<div class="desktop-news col-md-6">
<div class="iv2--news block-news iv2-secondary --news_dal_territorio">
<!-- 1 news format BLOCK -->
<a href="/iv_concluso_voto_congresso_renzi_risultato_straordinario">
<div class="image">
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<img src="https://assets.nationbuilder.com/comitaticivici/pages/12904/attachments/original/1697401411/list.jpeg?1697401411"/>
<!-- /_include_image_by_word.html -->
<div class="tags">
<!-- _print_allowedtags.html -->
<!-- /_print_allowedtags.html -->
</div>
</div>
<div class="contents">
<h2 class="title">IV: CONCLUSO VOTO CONGRESSO, RENZI 'RISULTATO STRAORDINARIO</h2>
<!--<p class="excerpt"></p>-->
<!--<span class="read-more">Leggi di più</span>-->
</div>
</a>
</div>
<div class="iv2--news block-news iv2-secondary --contributi">
<!-- 1 news format BLOCK -->
<a href="/gli_emendamenti_di_italia_viva_alla_legge_di_bilancio_2025">
<div class="image">
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<img src="https://assets.nationbuilder.com/comitaticivici/pages/19519/attachments/original/1731506830/list.jpg?1731506830"/>
<!-- /_include_image_by_word.html -->
<div class="tags">
<!-- _print_allowedtags.html -->
<!-- /_print_allowedtags.html -->
</div>
</div>
<div class="contents">
<h2 class="title">Gli emendamenti di Italia Viva alla Legge di Bilancio 2025</h2>
<!--<p class="excerpt">La Legge di Bilancio 2025 di Giorgia Meloni alza le tasse e tradisce anni di promesse fatte da Fratelli d'Italia, Lega...</p>-->
<!--<span class="read-more">Leggi di più</span>-->
</div>
</a>
</div>
</div>
<!-- blocco news per Mobile (da 991px in giù) -->
<div class="col-md-12 mobile-tablet-news">
<div class="iv2--carousel owl-carousel owl-theme">
<div class="item iv2--news block-news iv2-secondary">
<!-- 1 news format BLOCK -->
<a href="/boschi_da_dario_proposta_lucida_ma_necessario_il_proporzionale">
<div class="image">
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<img src="https://assets.nationbuilder.com/comitaticivici/pages/21268/attachments/original/1737786403/list.jpeg?1737786403"/>
<!-- /_include_image_by_word.html -->
<div class="tags">
<!-- _print_allowedtags.html -->
<span class="tag iv2-primary parlamento">parlamento</span>
<!-- /_print_allowedtags.html -->
</div>
</div>
<div class="contents">
<h2 class="title">Boschi: "Da Dario proposta lucida ma è necessario il proporzionale"</h2>
<!--<p class="excerpt">Intervista a Maria Elena Boschi per «Repubblica» del 25-01-2025
di Serena Riformato</p>-->
<!--<span class="read-more">Leggi di più</span>-->
</div>
</a>
</div>
<div class="item iv2--news block-news iv2-secondary">
<!-- 1 news format BLOCK -->
<a href="/enews_1011_lunedi_27_gennaio_2025">
<div class="image">
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<img src="https://assets.nationbuilder.com/comitaticivici/pages/21334/attachments/original/1737981391/list.jpeg?1737981391"/>
<!-- /_include_image_by_word.html -->
<div class="tags">
<!-- _print_allowedtags.html -->
<span class="tag iv2-primary enews">Enews</span>
<!-- /_print_allowedtags.html -->
</div>
</div>
<div class="contents">
<h2 class="title">Enews 1011 lunedì 27 gennaio 2025</h2>
<!--<p class="excerpt">La nuova Enews di Matteo Renzi </p>-->
<!--<span class="read-more">Leggi di più</span>-->
</div>
</a>
</div>
<div class="item iv2--news block-news iv2-secondary">
<!-- 1 news format BLOCK -->
<a href="/iv_concluso_voto_congresso_renzi_risultato_straordinario">
<div class="image">
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<img src="https://assets.nationbuilder.com/comitaticivici/pages/12904/attachments/original/1697401411/list.jpeg?1697401411"/>
<!-- /_include_image_by_word.html -->
<div class="tags">
<!-- _print_allowedtags.html -->
<!-- /_print_allowedtags.html -->
</div>
</div>
<div class="contents">
<h2 class="title">IV: CONCLUSO VOTO CONGRESSO, RENZI 'RISULTATO STRAORDINARIO</h2>
<!--<p class="excerpt"></p>-->
<!--<span class="read-more">Leggi di più</span>-->
</div>
</a>
</div>
<div class="item iv2--news block-news iv2-secondary">
<!-- 1 news format BLOCK -->
<a href="/gli_emendamenti_di_italia_viva_alla_legge_di_bilancio_2025">
<div class="image">
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<img src="https://assets.nationbuilder.com/comitaticivici/pages/19519/attachments/original/1731506830/list.jpg?1731506830"/>
<!-- /_include_image_by_word.html -->
<div class="tags">
<!-- _print_allowedtags.html -->
<!-- /_print_allowedtags.html -->
</div>
</div>
<div class="contents">
<h2 class="title">Gli emendamenti di Italia Viva alla Legge di Bilancio 2025</h2>
<!--<p class="excerpt">La Legge di Bilancio 2025 di Giorgia Meloni alza le tasse e tradisce anni di promesse fatte da Fratelli d'Italia, Lega...</p>-->
<!--<span class="read-more">Leggi di più</span>-->
</div>
</a>
</div>
</div>
</div>
</div>
</div>
<!-- /BLOCCO NEWS Desktop/Mobile -->
<!-- blocco dona -->
<style>
.dona_banner{background:#071b3c;margin-bottom:1.5em;padding:10px 0;}
.dona_banner .container {padding:0;}
.dona_banner img {max-height:230px;}
.dona_banner .row {margin: 0;}
.dona_banner .row .banner {padding: 2rem;}
.dona_banner .row .banner.dona img {max-height: 138px;}
.dona_banner .row .banner a {display: flex;flex-direction: column;align-items:center;}
.dona_banner .row .banner .testo {font-size:18px;color:#fff;line-height:24px;display:block;max-width: 400px;}
.dona_banner .flexbox .testo {font-size:32px;color:#fff;line-height:normal;display:block;max-width: 400px;}
.dona_banner .row .banner .testo .h {color: #00DE7B!important;}
.dona_banner .flexbox .testo .h {color: #00DE7B!important;}
</style>
<div class="container-fluid">
<div class="dona_banner">
<div class="container">
<div class="row">
<div class="col-md-6 banner dona">
<a href="https://www.italiaviva.it/sostienici">
<img alt="dona a italiaviva ogni contributo è importante" src="https://assets.nationbuilder.com/themes/5d9d646645de94b073bb679a/attachments/original/1675868242/dona-iv.jpg?1675868242">
<span class="testo">
Le attività ed i successi che portiamo avanti dipendono
dall'impegno <span class="h">di ognuno di noi</span>.
</span>
<span class="testo">Ogni contributo è <span class="h">importante</span>.</span>
</a>
</div>
<div class="col-md-6 banner">
<a href="https://www.italiaviva.it/2x1000"><img alt="se ci sei dona il 2x1000 a italiaviva" src="https://assets.nationbuilder.com/themes/5d9d646645de94b073bb679a/attachments/original/1675869913/2x1000-iv.jpg?1675869913"></a>
</div>
</div>
</div>
</div>
</div>
<!-- /blocco dona -->
<!-- BLOCCO CAMPAGNE - Desktop/Mobile -->
<div class="container iv2--container campagne collapsible">
<div class="row">
<div class="section-title">
<h2>Campagne</h2>
<a class="iv2-button view-all" href="/campagne">Vedi tutte</a>
</div>
<div class="col-md-12">
<div class="iv2--carousel owl-carousel owl-theme">
<!-- 1 news format CAMPAGNE -->
<div class="item iv2--news iv2--news__campagne block-news">
<a class="block-link collapsible__content" href="/legge_di_bilancio_le_proposte_del_terzo_polo" data-tags="">
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<img src="https://assets.nationbuilder.com/comitaticivici/pages/12406/attachments/original/1669285777/header.png?1669285777" alt="header.png">
<div class="contents">
<h2 class="title">Legge di bilancio - Le proposte del terzo polo</h2>
</div>
</a>
</div>
<div class="item iv2--news iv2--news__campagne block-news">
<a class="block-link collapsible__content" href="/family_act" data-tags="">
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<img src="https://assets.nationbuilder.com/comitaticivici/pages/10868/attachments/original/1649250788/family_act_card01.jpg?1649250788" alt="family_act_card01.jpg">
<div class="contents">
<h2 class="title">Family Act</h2>
</div>
</a>
</div>
<div class="item iv2--news iv2--news__campagne block-news">
<a class="block-link collapsible__content" href="/un_anno_dalla_parte_delle_donne" data-tags="">
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<img src="https://assets.nationbuilder.com/comitaticivici/pages/10623/attachments/original/1646673298/header_1600x500_-_un_anno_dalla_parte_delle_donne.jpg?1646673298" alt="header_1600x500_-_un_anno_dalla_parte_delle_donne.jpg">
<div class="contents">
<h2 class="title">Un anno dalla parte delle donne</h2>
</div>
</a>
</div>
<div class="item iv2--news iv2--news__campagne block-news">
<a class="block-link collapsible__content" href="/legge_di_bilancio_2022_le_proposte_di_italia_viva" data-tags="">
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<img src="https://assets.nationbuilder.com/comitaticivici/pages/10226/attachments/original/1646665038/list_570x200_-_proposte_iv_legge_di_bilancio2022.jpg?1646665038" alt="list_570x200_-_proposte_iv_legge_di_bilancio2022.jpg">
<div class="contents">
<h2 class="title">Legge di Bilancio 2022, le proposte di Italia Viva</h2>
</div>
</a>
</div>
</div>
</div>
</div>
</div>
<div class="container iv2--container raccolta_fondi collapsible">
<div class="row">
<div class="section-title">
<h2>Raccolte fondi</h2>
<a class="iv2-button view-all" href="/campagne#raccolte_fondi">Vedi tutte</a>
</div>
<!-- blocco campagne per Mobile (da 991px in giù) mobile-tablet-news -->
<div class="col-md-12">
<div class="iv2--carousel owl-carousel owl-theme">
<div class="item iv2--news iv2--news__campagne block-news">
<!-- 1 news format CAMPAGNE -->
</div>
<div class="item iv2--news iv2--news__campagne block-news">
<!-- 1 news format CAMPAGNE -->
</div>
<div class="item iv2--news iv2--news__campagne block-news">
<!-- 1 news format CAMPAGNE -->
</div>
<div class="item iv2--news iv2--news__campagne block-news">
<!-- 1 news format CAMPAGNE -->
</div>
</div>
</div>
</div>
</div>
<!-- /BLOCCO CAMPAGNE - Desktop/Mobile -->
<!-- BLOCCO EVENTI - Desktop/Mobile -->
<div class="container iv2--container events collapsible">
<div class="row">
<div class="section-title">
<h2>Eventi</h2>
<a class="iv2-button view-all" href="/eventi">Vedi tutti</a>
</div>
<!-- blocco eventi per Desktop -->
<!-- blocco news per Mobile (da 991px in giù) mobile-tablet-news -->
<div class="col-md-12 ">
<div class="iv2--carousel owl-carousel owl-theme">
<div class="item iv2--news block-news iv2-secondary op0">
<!-- 1 news format EVENTI -->
<span style="display: none;">/assemblea_citta_di_napoli_incontro_programmatico Assemblea Citta Di Napoli Incontro programmatico</span>
<a class="read-more collapsible__content" href="/assemblea_citta_di_napoli_incontro_programmatico">
<div class="image">
</div>
<div class="contents">
<h2 class="title">Assemblea Citta Di Napoli Incontro programmatico</h2>
<!--<p class="excerpt"></p>-->
<!--<span class="read-more">Leggi di più</span>-->
</div>
</a>
</div>
<div class="item iv2--news block-news iv2-secondary op1">
<!-- 1 news format EVENTI -->
<span style="display: none;">/il_veneto_ha_rinunciato_alla_mobilita_sostenibile Il Veneto ha rinunciato alla mobilità sostenibile?</span>
<a class="read-more collapsible__content" href="/il_veneto_ha_rinunciato_alla_mobilita_sostenibile">
<div class="image">
</div>
<div class="contents">
<h2 class="title">Il Veneto ha rinunciato alla mobilità sostenibile?</h2>
<!--<p class="excerpt"></p>-->
<!--<span class="read-more">Leggi di più</span>-->
</div>
</a>
</div>
<div class="item iv2--news block-news iv2-secondary op2">
<!-- 1 news format EVENTI -->
</div>
<div class="item iv2--news block-news iv2-secondary op3">
<!-- 1 news format EVENTI -->
</div>
</div>
</div>
</div>
</div>
<!-- /BLOCCO EVENTI - Desktop/Mobile -->
<!-- BLOCCO PETIZIONI -->
<div class="container iv2--container petizioni collapsible">
<div class="row">
<div class="section-title">
<h2>Petizioni</h2>
<a class="iv2-button view-all" href="/petizioni">Vedi tutte</a>
</div>
<div class="col-md-12">
<style id="petition_piechart_style">
.petition-piechart {
margin: 10px 0;
display: flex;
flex-direction: row;
align-items: center;
width: 100%;
justify-content: space-between;
}
.petition-text {
font-size: 1.5rem;
line-height: 1.2;
padding: 1rem;
margin: 0;
font-weight: 700;
}
.percent {
font-size: 1.3rem;
color: #fff;
font-weight: 700;
}
.btnpetition {
padding: 6px;
background: #dc0070;
color: #fff;
text-align: center;
max-width: 120px;
margin-top: 10px;
}
.piechart {
display: block;
width: 80px;
flex: 1 0 80px;
max-width: 80px;
height: 80px;
border-radius: 50%;
}
.piechart {
display: flex;
justify-content: center;
align-items: center;
}
</style>
<div class="iv2--carousel owl-carousel owl-theme">
<!-- 1 news format PETIZIONI -->
<div class="item iv2--news iv2--news__campagne block-news collapsible__content">
<a class="block-link" href="/petizione_salvini">
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<img src="https://assets.nationbuilder.com/comitaticivici/pages/18463/attachments/original/1736881008/list.jpg?1736881008"/>
<!-- /_include_image_by_word.html -->
<div class="petition-piechart">
<div class="piechart" style="background-image: conic-gradient(#dc0070 76.18%, #0d548e 0 calc(100% - 76.18%))">
<span class="percent">76.18%</span>
</div>
<div class="petition-text">
<span>7.618 Firme</span><br>
<span>Obiettivo: 10.000</span>
<div class="btnpetition">Firmare ora</div>
</div>
</div>
<div class="contents">
<h2 class="title">Salvini si deve dimettere</h2>
</div>
</a>
</div>
<div class="item iv2--news iv2--news__campagne block-news collapsible__content">
<a class="block-link" href="/petizione_garantire_il_credito_d_imposta_per_la_zes_unica">
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<img src="https://assets.nationbuilder.com/comitaticivici/pages/16583/attachments/original/1721894239/list.jpg?1721894239"/>
<!-- /_include_image_by_word.html -->
<div class="petition-piechart">
<div class="piechart" style="background-image: conic-gradient(#dc0070 16.35%, #0d548e 0 calc(100% - 16.35%))">
<span class="percent">16.35%</span>
</div>
<div class="petition-text">
<span>327 Firme</span><br>
<span>Obiettivo: 2.000</span>
<div class="btnpetition">Firmare ora</div>
</div>
</div>
<div class="contents">
<h2 class="title">Bisogna garantire il credito d'imposta al 60% per la Zes unica. Facciamo tornare il Sud a crescere!</h2>
</div>
</a>
</div>
<div class="item iv2--news iv2--news__campagne block-news collapsible__content">
<a class="block-link" href="/petizione_michele_emiliano_deve_dimettersi">
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<img src="https://assets.nationbuilder.com/comitaticivici/pages/13878/attachments/original/1715428921/list.jpeg?1715428921"/>
<!-- /_include_image_by_word.html -->
<div class="petition-piechart">
<div class="piechart" style="background-image: conic-gradient(#dc0070 39.22%, #0d548e 0 calc(100% - 39.22%))">
<span class="percent">39.22%</span>
</div>
<div class="petition-text">
<span>1.961 Firme</span><br>
<span>Obiettivo: 5.000</span>
<div class="btnpetition">Firmare ora</div>
</div>
</div>
<div class="contents">
<h2 class="title">Michele Emiliano deve dimettersi </h2>
</div>
</a>
</div>
<div class="item iv2--news iv2--news__campagne block-news collapsible__content">
<a class="block-link" href="/petizione_dimissioni_donatella_di_cesare">
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<!-- /_include_image_by_word.html -->
<!-- _include_image_by_word.html -->
<img src="https://assets.nationbuilder.com/comitaticivici/pages/13185/attachments/original/1709821023/list.jpeg?1709821023"/>
<!-- /_include_image_by_word.html -->
<div class="petition-piechart">
<div class="piechart" style="background-image: conic-gradient(#dc0070 80.5%, #0d548e 0 calc(100% - 80.5%))">
<span class="percent">80.5%</span>
</div>
<div class="petition-text">
<span>805 Firme</span><br>
<span>Obiettivo: 1.000</span>
<div class="btnpetition">Firmare ora</div>
</div>
</div>
<div class="contents">
<h2 class="title">Donatella Di Cesare deve dimettersi dalla cattedra di filosofia teoretica dell’Università “La Sapienza”</h2>
</div>
</a>
</div>
</div>
</div>
</div>
</div>
<!-- MODULO DONA -->
<style>
.collapsible {
transition: opacity linear 300ms;
}
.collapsible.fadeout {
opacity: 0;
}
.sostieni-section.iv2--form__footer {
padding: 0;
}
.sostieni-section.iv2--form__footer .iv2--form {
width: 100%;
max-width: 100%;
background-color: #f5007d !important;
background-image: linear-gradient(to left,#f5007d 0,#0d548e 100%) !important;
padding: 5rem;
}
.sostieni-section.iv2--form__footer .iv2--form h4 {
text-align: center;
font-size: 2.5rem;
font-weight: 700;
max-width: 700px;
margin: 0 auto;
}
.sostieni-section.iv2--form__footer .iv2--form p {
text-align: center;
margin-top: 1em;
font-size: 1.7rem;
}
.sostieni-section.iv2--form__footer .iv2--form .custom_link {
max-width: 100%;
text-align: center;
color: #fff;
margin: 0.5em;
}
.sostieni-section.iv2--form__footer .iv2--form .custom_link:hover {
color: #dc0070;
}
.sostieni-section.iv2--form__footer .iv2--form .actions {
display: flex;
align-items: center;
justify-content: space-evenly;
max-width: 991px;
margin: 2em auto;
flex-wrap: wrap;
}
.colDraghi img {
width: 100%;
height: 30vh;
display: inline-block;
object-fit: cover;
}
.colDraghi {
padding: 0;
}
.colDraghi .iv2--form {
height: 30vh;
display: flex;
flex-direction: column;
justify-content: center;
}
.colDraghi .iv2-button {
font-size: 2rem;
}
.colDraghi .actions {
display: flex;
flex-direction: row;
Flex-wrap: wrap;
}
.colDraghi .actions a {
padding: 0.8rem 2rem;
}
.reclutamento2022 .colDraghi img {
width: 100%;
height: 30vh;
display: inline-block;
object-fit: contain;
margin:0.3em;
}
</style>
<div class="sostieni-section container-fluid iv2--form__footer">
<div class="row">
<div class="iv2--form iv2--form__dona iv2-primary">
<h4>Ogni contributo è importante, Sostieni Italia Viva</h4>
<div class="actions">
<a href="https://www.italiaviva.it/sostieni_italiaviva" class="iv2--form__submit iv2-button iv2-primary custom_link">Donazione mensile</a>
<a href="https://www.italiaviva.it/sostieni" class="iv2--form__submit iv2-button iv2-primary custom_link">Donazione singola</a>
</div>
<p>Le attività, i progetti, le campagne ed i successi che Italia Viva porta avanti dipendono dall'impegno di ognuno di noi.</p>
</div>
</div>
</div>
<!-- MODULO DONA -->
</div>
<div class="kc_fab_wrapper"></div>
<script type="text/javascript">
const fadeOutItem = function(item) {
item.addEventListener('transitionend', () => item.remove());
item.classList.add('fadeout');
}
document.addEventListener('DOMContentLoaded',(e)=>{
[...document.querySelectorAll('.iv2--container.collapsible')].forEach((container)=>{
//collapsible__content
console.log('check collapsible block');
if([...container.querySelectorAll('.collapsible__content')].length===0) {
console.log('hide collapsible block');
fadeOutItem(container);
}
});
})
</script>
</div>
<!-- .column -->
<!-- /_columns_1.html -->
</div>
<!-- .main -->
</div>
<!-- .main-container -->
<footer>
<div class="container ">
<div class="row">
<style>
@media (max-width: 768px) {
.logo_edp_mobile {
display: flex;
align-items: center;
justify-content: center;
}
}
</style>
<div class="col-md-6 logo_edp_mobile">
<a href="https://www.italiaviva.it/manifesto_pde"><img src="https://assets.nationbuilder.com/comitaticivici/pages/494/attachments/original/1734343409/IT_W.png?1734343409" width="250px" /></a>
</div>
<div class="col-md-6 footer-right text-right">
<!-- if page.slug != 'home_lv2' and themeV2Tag != "themev2" -->
<style>
.social i.fab {
color: #fff;
font-size: 3rem;
margin: 0 5px;
}
</style>
<div class="contact-bar social">
<a target="_blank" href="//www.facebook.com/italiaviva">
<i class="fab fa-facebook"></i>
</a>
<a target="_blank" href="//twitter.com/italiaviva">
<i class="fab fa-twitter"></i>
</a>
<a target="_blank" href="//www.instagram.com/italiaviva">
<i class="fab fa-instagram"></i>
</a>
<a target="_blank" href="//www.youtube.com/channel/UCKt-o-Aq8dcfW_yX-hM6guA">
<i class="fab fa-youtube"></i>
</a>
<a target="_blank" href="http://t.me/italiaviva_official">
<i class="fab fa-telegram"></i>
</a>
<a target="_blank" href="https://www.linkedin.com/company/italia-viva/">
<i class="fab fa-linkedin-in"></i>
</a>
<br />
</div>
<!-- endif -->
<a href="/privacy" target="_blank">Privacy</a> | <a href="/cookie_policy" target="_blank">Cookie Policy</a><br />
<a href="/statuto_italiaviva" target="_blank">Statuto</a> | <a href="/trasparenza" target="_blank">Trasparenza</a><br />
Realizzato con <a href="http://nationbuilder.com/" target="_blank">NationBuilder</a><br />
<br />
</div>
</div>
</div>
<!-- container -->
</footer>
</div>
<div id="fb-root"></div>
<script type="text/plain" data-cookieconsent="marketing">
window.fbAsyncInit = function() {
FB.init({
appId : 1679673749184434,
channelUrl : "//italiaviva.nationbuilder.com/channel.html",
status : true,
version : "v18.0",
cookie : true,
xfbml : true
});
};
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s);
js.id = id;
js.async = true;
js.src = "//connect.facebook.net/en_US/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<script src="https://assets.nationbuilder.com/assets/liquid-6fda76e47cd1a46bec92e2adac0a0453c78638197e234d7667c2ff4366c5a44a.js"></script>
<style>
.emailsug {
font-weight: bold;
color: darkred;
font-size: 110%;
}
.erroremail {
border-color: darkred !important;
color: darkred !important;
}
</style>
<script src="https://ivsupport.ivdigitaltech.net/file_librerie/emailmain.js"></script>
<script src="https://www.italiaviva.it/themes/39/5d9d646645de94b073bb679a/0/attachments/15923841641734343506/default/bootstrap.js"></script>
<!-- <script src="imagesloaded.pkgd.min.js"></script> -->
<script src="https://italiaviva.online/wp-content/jsExt/iv/imagesloaded.pkgd.min.js"></script>
<!-- <script src="isotope.pkgd.min.js"></script> -->
<script src="https://italiaviva.online/wp-content/jsExt/iv/isotope.pkgd.min.js"></script>
<script>
$(document).ready(function () {
var $container = $('.container-posts')
if($container) {
$container.isotope({
itemSelector: '.post-item',
layoutMode: 'masonry',
masonry: {columnWidth: $container.width() / 3}
});
}
});
jQuery(function () {
var $elems = $('.animateblock');
var $elemsleft = $('.animateblock-left');
var $elemslower = $('.animateblock-lower');
var winheight = $(window).height();
//var fullheight = $(document).height();
$(window).scroll(function () {
animate_elems();
});
function animate_elems() {
wintop = $(window).scrollTop();
$elems.each(function () {
$elm = $(this);
if ($elm.hasClass('animatedd')) {
return true;
}
topcoords = $elm.offset().top;
if (wintop > (topcoords - (winheight * .75))) {
$elm.addClass('animatedd');
}
});
$elemsleft.each(function () {
$elm = $(this);
if ($elm.hasClass('animatedd')) {
return true;
}
topcoords = $elm.offset().top;
if (wintop > (topcoords - (winheight * .75))) {
$elm.addClass('animatedd');
}
});
$elemslower.each(function () {
$elm = $(this);
if ($elm.hasClass('animatedd')) {
return true;
}
topcoords = $elm.offset().top;
if (wintop > (topcoords - (winheight * .75))) {
$elm.addClass('animatedd');
}
});
}
});
</script>
<script src="https://italiaviva.online/wp-content/jsExt/iv/sidr.js"></script>
<script>
const limitlist =[
'consents_101_1',
'consents_101_1_donor',
'consents_102_1',
'consents_102_1_donor',
'petition_signature_signup_custom_values_gdpr_acceptance_newsletter_custom',
'petition_signature_signup_custom_values_gdpr_acceptance_base_custom',
];
const enableLockG = function() {
limitlist.map((i)=>{
[].forEach.call(document.querySelectorAll('#'+i), function (im) {
im.checked = true;
});
});
[].forEach.call(document.querySelectorAll('.consentform'), function (im) {
im.style.display = 'none';
});
if(document.getElementById('#petition_signature_signup_custom_values_gdpr_acceptance_newsletter_custom')) {
document.getElementById('#petition_signature_signup_custom_values_gdpr_acceptance_newsletter_custom').value = 1;
}
if(document.getElementById('#petition_signature_signup_custom_values_gdpr_acceptance_base_custom')) {
document.getElementById('#petition_signature_signup_custom_values_gdpr_acceptance_base_custom').value = 1;
}
if(document.getElementById('#petition_signature_signup_custom_values_gdpr_acceptance_version_custom')) {
document.getElementById('#petition_signature_signup_custom_values_gdpr_acceptance_version_custom').value = 'v.LUGLIO2020';
}
}
jQuery(document).ready(function () {
$('#simple-menu').sidr({
side: 'right',
onOpen: function (name) {
$("#sidr").css("visibility", "visible");
}
});
$("#site,#sidr .close a").on("click", function (e) {
$.sidr('close');
});
$("#site").show();
const checkGDPRNeeds = localStorage.getItem('logged_gdpr');
if(checkGDPRNeeds) {
const _ms = document.querySelectorAll('input[type=email]');
[].forEach.call(_ms, function (ms) {
ms.addEventListener('change',function(e) {
if(e.target.value.toLowerCase() == checkGDPRNeeds) {
enableLockG();
}
});
});
}
});
</script>
<script src="//code.jquery.com/ui/1.12.1/jquery-ui.min.js"></script>
<script>
jQuery(document).ready(function () {
var accordion = jQuery("#accordion");
if (accordion && accordion.length > 0) {
accordion.accordion({
active: false,
collapsible: true,
});
}
});
</script>
<script>
var mn = jQuery(".menu-nav");
mns = "nav-scrolled";
hdr = jQuery(".menu-nav").height();
var scrollHeight = 0;
$(window).scroll(function () {
if ($(this).scrollTop() > 0) {
mn.addClass(mns);
} else {
mn.removeClass(mns);
}
});
</script>
<script>
jQuery(document).ready(function () {
$(".play-video").click(function () {
$("#screen-video").fadeIn(500);
$("#fullscrn-video")[0].contentWindow.postMessage('{"event":"command","func":"' + "playVideo" + '","args":""}', "*");
});
jQuery("#pause-button").click(function () {
$("#screen-video").fadeOut(500);
});
jQuery("#pause-button").on("click", function () {
$("#fullscrn-video")[0].contentWindow.postMessage('{"event":"command","func":"' + "stopVideo" + '","args":""}', "*");
});
jQuery(function () {
jQuery("#fullscrn-video").css({
width: $(window).innerWidth() + "px",
height: jQuery(window).innerHeight() + "px",
});
jQuery(window).resize(function () {
jQuery("#fullscrn-video").css({
width: $(window).innerWidth() + "px",
height: jQuery(window).innerHeight() + "px",
});
});
});
jQuery(".play-video2").click(function () {
jQuery("#screen-video2").fadeIn(500);
jQuery("#fullscrn-video2")[0].contentWindow.postMessage('{"event":"command","func":"' + "playVideo" + '","args":""}', "*");
});
jQuery("#pause-button2").click(function () {
jQuery("#screen-video2").fadeOut(500);
});
jQuery("#pause-button2").on("click", function () {
jQuery("#fullscrn-video2")[0].contentWindow.postMessage('{"event":"command","func":"' + "stopVideo" + '","args":""}', "*");
});
jQuery(function () {
jQuery("#fullscrn-video2").css({
width: jQuery(window).innerWidth() + "px",
height: jQuery(window).innerHeight() + "px",
});
jQuery(window).resize(function () {
jQuery("#fullscrn-video2").css({
width: jQuery(window).innerWidth() + "px",
height: jQuery(window).innerHeight() + "px",
});
});
});
jQuery(".play-video3").click(function () {
jQuery("#screen-video3").fadeIn(500);
jQuery("#fullscrn-video3")[0].contentWindow.postMessage('{"event":"command","func":"' + "playVideo" + '","args":""}', "*");
});
jQuery("#pause-button3").click(function () {
jQuery("#screen-video3").fadeOut(500);
});
jQuery("#pause-button3").on("click", function () {
jQuery("#fullscrn-video3")[0].contentWindow.postMessage('{"event":"command","func":"' + "stopVideo" + '","args":""}', "*");
});
jQuery(function () {
jQuery("#fullscrn-video3").css({
width: jQuery(window).innerWidth() + "px",
height: jQuery(window).innerHeight() + "px",
});
jQuery(window).resize(function () {
jQuery("#fullscrn-video3").css({
width: jQuery(window).innerWidth() + "px",
height: jQuery(window).innerHeight() + "px",
});
});
});
});
/* Flash translations */
$("#flash .notice:contains('Your signature was removed')").text("La tua firma è stata rimossa");
$("#errorExplanation h2:contains('1 error occurred while processing this form.')").text("Attento! Ci sono stati degli errori durante l'iscrizione");
$("#errorExplanation h2:contains('errors occurred while processing this form.')").text("Attento! Ci sono stati degli errori durante l'iscrizione");
$(".errorExplanation h2:contains('1 error occurred while processing this form.')").text("Attento! Ci sono stati degli errori durante l'iscrizione");
$(".errorExplanation h2:contains('errors occurred while processing this form.')").text("Attento! Ci sono stati degli errori durante l'iscrizione");
$("#errorExplanation ul li:contains('Password and email do not match')").text("Password ed e-mail non corrispondono");
$(".error-message:contains('Password and email do not match')").text("Password ed e-mail non corrispondono");
$(".form-errors ul li:contains('Email1 is required')").text("Un indirizzo email è richiesto");
$(".form-errors ul li:contains('Email is required')").text("Un indirizzo email è richiesto");
$(".form-errors ul li:contains('Email is too short')").text("L'indirizzo mail inserito è troppo corto");
$(".form-errors ul li:contains('Email should look like an email address')").text("L'indirizzo mail non appare nel formato corretto");
$(".form-errors ul li:contains('First name is required')").text("Un nome è richiesto");
$(".form-errors ul li:contains('Last name is required')").text("Un Cognome è richiesto");
$(".form-errors ul li:contains('Email already has an account. You can reset your password if you forgot it')").text("L'indirizzo mail indicando è già in uso. Puoi resettare la tua password, in caso l'avessi dimenticata");
$("#flash .notice:contains('Please check your e-mail for a link to activate your account')").text("Controlla la tua casella di posta elettronica, dovresti trovare una mail con un link per attivare il tuo account");
$("#flash .notice:contains('Your account is activated')").text("Il tuo account è attivo!");
$("#flash .notice:contains('Account settings updated')").text("Le impostazioni dell'account sono state aggiornate");
$("body").on("DOMSubtreeModified", ".error-message", function () {
//console.log('un errore');
$("span.error-message:contains('Password confirmation non coincide con la conferma')").text("Le due password non coincidono");
});
$("body").on("DOMSubtreeModified", ".form-errors", function () {
var errore = $("#errorExplanation ul li").text();
if (errore == "Address1 non può essere lasciato in biancoAddress1 non può essere lasciato in bianco") {
$("#errorExplanation ul li").text("Via non può essere lasciato in biancoAddress1 non può essere lasciato in bianco");
}
if (errore == "Password confirmation non coincide con la conferma") {
$("#errorExplanation ul li").text("Le due password non coincidono");
}
if (errore == "Your card was declined") {
$("#errorExplanation ul li").text("La tua carta è stata rifiutata");
}
});
$(document).ajaxComplete(function (event, request, settings) {});
</script>
<script>
if (window.location.pathname === "/login") {
$(".analytics-consent").hide();
}
</script>
<style>
.mobile_cta,
.mobile_sostienici,
#subscribeNow {
display: none;
}
@media screen and (max-width: 768px) {
.iv2 .analytics-consent {
background-color: trans important;
max-height: 0px;
}
.iv2 .analytics-banner {
padding: 10px 10px !important;
}
.mobile_cta {
position: fixed;
top: 64px;
left: 0;
right: 0;
margin: 0 auto;
width: 100%;
max-width: 95%;
display: flex !important;
flex-direction: row;
justify-content: space-around;
}
.mobile_sostienici,
#subscribeNow {
background-color: #f5007d;
font-size: 14px;
text-align: center;
color: #fff !important;
font-weight: bold;
display: block;
padding: 6px 10px;
-webkit-box-shadow: 1px 4px 6px 0px rgba(0, 0, 0, 0.91);
box-shadow: 1px 4px 6px 0px rgba(0, 0, 0, 0.91);
margin: 0 5px;
display: flex;
align-items: center;
justify-content: center;
}
}
</style>
<script>
function checkEsteroAddressFields() {
var select_nazione = document.getElementById("select_nazione");
var select_citta = document.getElementById("select_citta");
var select_regione = document.getElementById("select_regione");
var select_province = document.getElementById("select_province");
if (select_nazione) {
if (select_nazione.selectedIndex > -1 && typeof select_nazione.options[select_nazione.selectedIndex] !== "undefined") {
var currentNazione = select_nazione.options[select_nazione.selectedIndex].value;
if (currentNazione !== "IT") {
$("#original_prov input").attr("placeholder", "Indica la provincia estera, oppure inserisci EE");
$("#original_reg input").attr("placeholder", "Indica la regione estera, oppure inserisci EE");
$(select_citta).css({ display: "none" });
$(select_province).css({ display: "none" });
$(select_regione).css({ display: "none" });
$("#original_prov").css({ display: "block" });
$("#original_citta").css({ display: "block" });
$("#original_reg").css({ display: "block" });
if (($("#original_prov input").val() + "").length === 0) {
$("#original_prov input").val("EE");
}
if (($("#original_reg input").val() + "").length === 0) {
$("#original_reg input").val("EE");
}
$("#original_prov input").attr("placeholder", "Indica la provincia estera, oppure inserisci EE");
$("#original_reg input").attr("placeholder", "Indica la regione estera, oppure inserisci EE");
} else {
$("#original_prov input").attr("placeholder", "Indica la provincia");
$("#original_reg input").attr("placeholder", "Indica la regione");
}
}
select_nazione.addEventListener("change", function (evt) {
var currentNazione = this.value;
if (currentNazione !== "IT") {
$("#original_prov input").attr("placeholder", "Indica la provincia estera, oppure inserisci EE");
$("#original_reg input").attr("placeholder", "Indica la regione estera, oppure inserisci EE");
} else {
$("#original_prov input").attr("placeholder", "Indica la provincia");
$("#original_reg input").attr("placeholder", "Indica la regione");
}
});
}
}
function initCountryFields() {
var select_nazione = document.getElementById("select_nazione");
checkEsteroAddressFields();
$(".setaddress_country").each(function (i, v) {
//console.log('found address pre-esistente');
let _country = ($(v).val() + "").toUpperCase();
if (_country !== "IT") {
setTimeout(function () {
$("#noAddressFound").trigger("click");
checkEsteroAddressFields();
}, 300);
setTimeout(function () {
$("#noAddressFound").trigger("click");
checkEsteroAddressFields();
}, 500);
}
});
}
function tryInitNazione() {
let nato = $("select#select_nazione");
if (nato) {
if (nato.data("loaded") === true || nato.data("loaded") === "true") {
initCountryFields();
} else {
setTimeout(function () {
tryInitNazione();
}, 600);
}
}
}
jQuery(document).ready(function () {
tryInitNazione();
});
</script>
<script>
$(document).ready(function () {
setTimeout(function () {
//Intercetta tutti gli input type email, tutti i campi con scritto "email"
$("input[name='mail'], input[type='email']").on("blur", function () {
//console.log('hai appena lasciato il campo email...');
let val = $(this).val();
const id = $(this);
if (val && val.length > 0) {
const checkEmail = emailChecker(val);
//console.log('res validator', val);
$(".emailsug").remove();
$(this).removeClass("erroremail");
if (checkEmail && checkEmail.length > 0) {
let divo = $("<div class='emailsug'></div>");
let firstSug = checkEmail[0];
divo.css("cursor", "pointer");
divo.data("correct", firstSug.corrected);
divo.html("Forse intendevi: " + firstSug.corrected + "?");
$(this).addClass("erroremail");
$(this).after(divo);
divo.on("click", function () {
const correctEmail = $(this).data("correct");
$("input.erroremail").val(correctEmail);
$("input.erroremail").removeClass("erroremail");
$(".emailsug").remove();
});
}
}
});
}, 300);
jQuery(".social-feed-fb-button").click(function () {
jQuery(this).addClass("activefeed");
jQuery(".social-feed-tw-button").removeClass("activefeed");
jQuery(".social-feed-ins-button").removeClass("activefeed");
jQuery(".container-fb-feed").show();
jQuery(".container-tw-feed").hide();
jQuery(".container-ins-feed").hide();
});
jQuery(".social-feed-tw-button").click(function () {
jQuery(this).addClass("activefeed");
jQuery(".social-feed-fb-button").removeClass("activefeed");
jQuery(".social-feed-ins-button").removeClass("activefeed");
jQuery(".container-tw-feed").show();
jQuery(".container-fb-feed").hide();
jQuery(".container-ins-feed").hide();
});
jQuery(".social-feed-ins-button").click(function () {
jQuery(this).addClass("activefeed");
jQuery(".social-feed-tw-button").removeClass("activefeed");
jQuery(".social-feed-fb-button").removeClass("activefeed");
jQuery(".container-fb-feed").hide();
jQuery(".container-tw-feed").hide();
jQuery(".container-ins-feed").show();
});
var popupCenter = function (url, title, w, h) {
// Fixes dual-screen position Most browsers Firefox
var dualScreenLeft = window.screenLeft !== undefined ? window.screenLeft : screen.left;
var dualScreenTop = window.screenTop !== undefined ? window.screenTop : screen.top;
var width = window.innerWidth ? window.innerWidth : document.documentElement.clientWidth ? document.documentElement.clientWidth : screen.width;
var height = window.innerHeight ? window.innerHeight : document.documentElement.clientHeight ? document.documentElement.clientHeight : screen.height;
var left = width / 2 - w / 2 + dualScreenLeft;
var top = height / 3 - h / 3 + dualScreenTop;
var newWindow = window.open(url, title, "scrollbars=yes, width=" + w + ", height=" + h + ", top=" + top + ", left=" + left);
// Puts focus on the newWindow
if (window.focus) {
newWindow.focus();
}
};
jQuery("a.popup").on("click", function (e) {
//console.log('click')
var _this = jQuery(this);
popupCenter(_this.attr("href"), _this.find(".text").html(), 580, 470);
e.preventDefault();
});
if (undefined !== $.cookie && $.cookie("the_cookie") == "rally_cookie") {
} else {
jQuery("#disclaimer").fadeIn(300);
setTimeout(function () {
jQuery("#disclaimer").fadeOut(300);
}, 30000);
$(".okcookies").click(function () {
$("#disclaimer").fadeOut(300);
});
if (undefined !== $.cookie) {
$.cookie("the_cookie", "rally_cookie", { expires: 7, path: "/" });
}
}
});
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.6/js/intlTelInput.min.js" integrity="sha512-p7KMhWOBzQOB7XHRi5pMula0Z4n8zxb09+ftlz+4lor1ZwmEp8SGi9Ki/JQ4VTrJEImAyrnw2vnE5faPPu3c0w==" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.6/js/utils.min.js" integrity="sha512-ufUV+vuYIp8gMzUa1sHW3K1BKQjNtUEM9y4icCXB4gPObPQXVyn4bpmVNDbmuWBgcJ3nlNoCBG/ZPn5GIAPuvA==" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.6/css/intlTelInput.min.css" integrity="sha512-yye/u0ehQsrVrfSd6biT17t39Rg9kNc+vENcCXZuMz2a+LWFGvXUnYuWUW6pbfYj1jcBb/C39UZw2ciQvwDDvg==" crossorigin="anonymous" />
<style>
.error-mobile_number {
color: red;
padding: 0 0.5rem;
font-weight: 800;
}
</style>
<script>
$(document).ready(function () {
function convalidaInputTel(input, hiddenInput, mobileInput) {
let currentID = $(input).attr("id");
let numberType = mobileInput.getNumberType();
if (currentID) {
jQuery(input).removeClass("attenzione");
$(hiddenInput).val(mobileInput.getNumber());
console.log(mobileInput);
if (mobileInput.isValidNumber()) {
if (countryData && countryData.iso2 == "it") {
if (numberType === intlTelInputUtils.numberType.MOBILE) {
jQuery(".error-mobile_number").css("display", "none");
} else {
jQuery(input).addClass("attenzione");
jQuery(".error-mobile_number").html("Il formato del numero inserito non è valido");
jQuery(".error-mobile_number").css("display", "block");
}
} else {
jQuery(".error-mobile_number").css("display", "none");
}
} else {
jQuery(input).addClass("attenzione");
jQuery(".error-mobile_number").html("Il formato numero inserito non è valido");
jQuery(".error-mobile_number").css("display", "block");
}
return;
}
if ($(input).val().length === 0) {
$(input).addClass("attenzione");
} else {
$(input).removeClass("attenzione");
}
}
let telFields = document.querySelectorAll('input[type="tel"]');
if (telFields) {
telFields.forEach(function (inputTel) {
$(inputTel).after('<span class="error-mobile_number"></span>');
let inputID = inputTel.getAttribute("id");
if (undefined !== window.intlTelInput) {
let mobileInput = window.intlTelInput(inputTel, {
hiddenInput: inputID,
initialCountry: "it",
placeholderNumberType: "Cellulare",
preferredCountries: ["it", "fr", "de", "es", "ch", "gb"],
localizedCountries: {
af: "Afghanistan",
al: "Albania",
dz: "Algeria",
ad: "Andorra",
ao: "Angola",
ag: "Antigua e Barbuda",
sa: "Arabia Saudita",
ar: "Argentina",
am: "Armenia",
au: "Australia",
at: "Austria",
az: "Azerbaigian",
bs: "Bahamas",
bh: "Bahrein",
bd: "Bangladesh",
bb: "Barbados",
be: "Belgio",
bz: "Belize",
bj: "Benin",
bt: "Bhutan",
by: "Bielorussia",
mm: "Birmania",
bo: "Bolivia",
ba: "Bosnia ed Erzegovina",
bw: "Botswana",
br: "Brasile",
bn: "Brunei",
bg: "Bulgaria",
bf: "Burkina Faso",
bi: "Burundi",
kh: "Cambogia",
cm: "Camerun",
ca: "Canada",
cv: "Capo Verde",
td: "Ciad",
cl: "Cile",
cn: "Cina",
cy: "Cipro",
co: "Colombia",
km: "Comore",
kp: "Corea del Nord",
kr: "Corea del Sud",
ci: "Costa d'Avorio",
cr: "Costa Rica",
hr: "Croazia",
cu: "Cuba",
dk: "Danimarca",
dm: "Dominica",
ec: "Ecuador",
eg: "Egitto",
sv: "El Salvador",
ae: "Emirati Arabi Uniti",
er: "Eritrea",
ee: "Estonia",
et: "Etiopia",
fj: "Figi",
ph: "Filippine",
fi: "Finlandia",
fr: "Francia",
ga: "Gabon",
gm: "Gambia",
ge: "Georgia",
de: "Germania",
gh: "Ghana",
jm: "Giamaica",
jp: "Giappone",
dj: "Gibuti",
jo: "Giordania",
gr: "Grecia",
gd: "Grenada",
gt: "Guatemala",
gn: "Guinea",
gw: "Guinea-Bissau",
gq: "Guinea Equatoriale",
gy: "Guyana",
ht: "Haiti",
hn: "Honduras",
in: "India",
id: "Indonesia",
ir: "Iran",
iq: "Iraq",
ie: "Irlanda",
is: "Islanda",
mh: "Isole Marshall",
sb: "Isole Salomone",
il: "Israele",
it: "Italia",
kz: "Kazakistan",
ke: "Kenya",
kg: "Kirghizistan",
ki: "Kiribati",
kw: "Kuwait",
la: "Laos",
ls: "Lesotho",
lv: "Lettonia",
lb: "Libano",
lr: "Liberia",
ly: "Libia",
li: "Liechtenstein",
lt: "Lituania",
lu: "Lussemburgo",
mk: "Macedonia del Nord",
mg: "Madagascar",
mw: "Malawi",
my: "Malaysia",
mv: "Maldive",
ml: "Mali",
mt: "Malta",
ma: "Marocco",
mr: "Mauritania",
mu: "Mauritius",
mx: "Messico",
fm: "Micronesia",
md: "Moldavia",
mn: "Mongolia",
me: "Montenegro",
mz: "Mozambico",
na: "Namibia",
nr: "Nauru",
np: "Nepal",
ni: "Nicaragua",
ne: "Niger",
ng: "Nigeria",
no: "Norvegia",
nz: "Nuova Zelanda",
om: "Oman",
nl: "Paesi Bassi",
pk: "Pakistan",
pw: "Palau",
pa: "Panama",
pg: "Papua Nuova Guinea",
py: "Paraguay",
pe: "Per\u00f9",
pl: "Polonia",
pt: "Portogallo",
mc: "Monaco",
qa: "Qatar",
gb: "Regno Unito",
cd: "RD del Congo",
cz: "Rep. Ceca",
cf: "Rep. Centrafricana",
cg: "Rep. del Congo",
do: "Rep. Dominicana",
ro: "Romania",
rw: "Ruanda",
ru: "Russia",
kn: "Saint Kitts e Nevis",
lc: "Saint Lucia",
vc: "Saint Vincent e Grenadine",
ws: "Samoa",
sm: "San Marino",
st: "S\u00e3o Tom\u00e9 e Pr\u00edncipe",
sn: "Senegal",
rs: "Serbia",
sc: "Seychelles",
sl: "Sierra Leone",
sg: "Singapore",
sy: "Siria",
sk: "Slovacchia",
si: "Slovenia",
so: "Somalia",
es: "Spagna",
lk: "Sri Lanka",
us: "Stati Uniti",
za: "Sudafrica",
sd: "Sudan",
ss: "Sudan del Sud",
sr: "Suriname",
se: "Svezia",
ch: "Svizzera",
sz: "Swaziland",
tj: "Tagikistan",
tz: "Tanzania",
th: "Thailandia",
tl: "Timor Est",
tg: "Togo",
to: "Tonga",
tt: "Trinidad e Tobago",
tn: "Tunisia",
tr: "Turchia",
tm: "Turkmenistan",
tv: "Tuvalu",
ua: "Ucraina",
ug: "Uganda",
hu: "Ungheria",
uy: "Uruguay",
uz: "Uzbekistan",
vu: "Vanuatu",
ve: "Venezuela",
vn: "Vietnam",
ye: "Yemen",
zm: "Zambia",
zw: "Zimbabwe",
},
});
$(inputTel).val(mobileInput.getNumber());
inputTel.addEventListener("change", function () {
let hidden = inputTel.nextElementSibling;
convalidaInputTel(this, hidden, mobileInput);
});
}
});
}
});
</script>
<!-- if page.slug == 'home_lv2' or themeV2Tag == "themev2" -->
<!-- OWL scripts -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js" integrity="sha512-bPs7Ae6pVvhOSiIcyUClR7/q2OAsRiovw4vAkX+zJbw3ShAeeqezq50RIIcIURq7Oa20rW2n2q+fyXBNcU9lrw==" crossorigin="anonymous"></script>
<!-- /OWL scripts -->
<!-- iv2 theme scripts -->
<script src="https://ivsupport.ivdigitaltech.net/file_librerie/theme_v2/themev2.js"></script>
<!-- /iv2 theme scripts -->
<!-- endif -->
<style>
.header-sm-small {
}
a.iv2-button.iv2-primary,
.iv2 .container-petition #petition-form form a.submit-button {
width: fit-content;
color: #fff;
}
@media screen and (max-width: 991px) {
.header-sm-small,
.iv2 .iv2--container.hero-news .iv2--news.header-basic.header-sm-small {
min-height: 30vh !important;
}
}
</style>
<!-- check page kind Basic -->
<!-- Autocomplete assets -->
<style>
.iv2--form.iv2-secondary form label select.required,
.iv2--form.iv2-secondary form label input[type="email"].required,
.iv2--form.iv2-secondary form label input[type="text"].required,
.iv2--form.iv2-secondary form label input[type="number"].required,
.iv2--form.iv2-secondary form label input[type="date"].required,
.iv2--form.iv2-secondary form label input[type="tel"].required {
border-bottom: 1px solid red !important;
}
.donation-v2-custom .donation-other-input-container {
max-width: 50%;
width: 100%;
height: 50px;
}
.iv2--form__dona .donation-v2-custom.donation_choices label {
flex: 1 0 100%;
width: 100%;
max-width: 50%;
position: relative;
text-align: center;
margin: 0 !important;
height: 50px;
}
@media screen and (max-width: 991px) {
.donation-v2-custom .donation-other-input-container {
max-width: 100%;
}
.iv2--form__dona .donation-v2-custom.donation_choices label {
max-width: 100%;
}
}
.page-type-donation-v2 .donation-v2-custom .donation-other-input-container #donation_amount_other_input {
height: 50px;
width: 100%;
}
.openever {
display: block !important;
}
.zipbox {
position: relative;
max-width: 300px;
width: 100%;
display: inline-block;
}
.zipbox.full {
max-width: 100%;
width: 100%;
}
.zip::-webkit-outer-spin-button,
.zip::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
.zipbox .zip {
-moz-appearance: textfield;
max-width: 100%;
width: 100%;
height: 30px;
line-height: 30px;
border: 2px solid #999;
}
.zipbox.success .zip {
border-color: greenyellow;
}
.zipbox.loading .zip {
opacity: 0.5;
}
.zipbox.loading.error::after,
.zipbox.error::after {
position: absolute;
content: "Errore" !important;
font-size: 12px;
color: #fff !important;
right: 10px;
top: 10px;
}
.zipbox.success::after {
position: absolute;
content: "Ok";
font-size: 12px;
color: #fff !important;
right: 10px;
top: 10px;
}
.zipbox.loading.success::after,
.zipbox.loading::after {
position: absolute;
content: "...";
font-size: 2rem;
color: #fff !important;
right: 10px;
top: 0;
}
.zipbox.error .zip {
border-color: red;
}
.autocomplete-suggestions {
text-align: left;
cursor: default;
border: 1px solid #ccc;
border-top: 0;
background: #fff;
box-shadow: -1px 1px 3px rgba(0, 0, 0, 0.1);
/* core styles should not be changed */
position: absolute;
display: none;
z-index: 9999;
max-height: 254px;
overflow: hidden;
overflow-y: auto;
box-sizing: border-box;
}
.autocomplete-suggestions + .autocomplete-suggestions {
display: none;
}
.autocomplete-suggestion {
position: relative;
padding: 0 0.6em;
line-height: 30px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-size: 1.2rem;
color: #000;
}
.autocomplete-suggestion b {
font-weight: 700;
color: #13528e;
}
.autocomplete-suggestion.selected {
background: #f0f0f0;
}
</style>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-autocomplete/1.0.7/jquery.auto-complete.min.js" integrity="sha512-TToQDr91fBeG4RE5RjMl/tqNAo35hSRR4cbIFasiV2AAMQ6yKXXYhdSdEpUcRE6bqsTiB+FPLPls4ZAFMoK5WA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script type="text/javascript">
(function ($) {
/**
* Response Data
*/
let responseData = null;
/**
* autoCompleteSource
*/
let autoCompleteSource = [];
/**
* initAutoComplete
*/
let initAutoComplete = false;
/**
* fields calss
*/
let fieldsClass = {
estero: "estero",
naz: "naz",
reg: "reg",
prov: "prov",
com: "com",
zip: "zip",
capCode: "cap",
};
/**
* Promise Reduce
* @param data
*/
function reduce(data) {
data
.reduce((promise, func, index) => {
return promise.then((val) => {
return func(val);
});
}, Promise.resolve())
.then(() => {
/* -- */
})
.catch((err) => {
//console.log(err);
});
}
/**
* setResponseData
*/
function setResponseData(response) {
responseData = response;
}
/**
* Ajax Request
*
* @param route
* @param data
* @param append
* @param resolve
*/
function ajaxRequest(route, data, append, resolve) {
let ajaxResponse = "";
$.ajax({
url: route,
async: false,
cache: false,
dataType: "json",
type: "GET",
/**
* Before Send
*/
beforeSend: function (jqXHR, settings) {
jqXHR.setRequestHeader("rest_api_nonce", data.nonce);
}.bind(this),
/**
* Success
*/
success: function (response, textStatus, jqXHR) {
if (append) {
ajaxResponse = response;
resolve(ajaxResponse);
}
}.bind(this),
/**
* Error
*/
error: function (jqXHR, textStatus, errorThrown) {
console.error("error: " + errorThrown);
}.bind(this),
/**
* Complete
*/
complete: function () {}.bind(this),
});
}
/**
* zipClass add/remove success/error
*
* @param action
* @param zipField
* @param zipBox
*/
function zipClass(action, zipField, zipBox) {
if ("add" === action) {
zipBox.classList.add("success");
zipBox.classList.remove("error");
zipField.classList.add("success");
zipField.classList.remove("error");
} else if ("remove" === action) {
zipBox.classList.add("error");
zipBox.classList.remove("success");
zipField.classList.add("error");
zipField.classList.remove("success");
}
}
/**
* onlyUnique unique array value
*/
function onlyUnique(value, index, self) {
return self.indexOf(value) === index;
}
/**
* keyup Zip
*/
function keyUpZip(capID, cap, naz, reg, prov, com, capCode) {
let capInput = cap;
let nazInput = naz;
let regInput = reg;
let provInput = prov;
let comInput = com;
let capCodeField = capCode;
if (capInput) {
capInput.setAttribute("required", "required");
// On load reset value
regInput.value = "";
provInput.value = "";
comInput.value = "";
if (nazInput.value === "it" && autoCompleteSource.length <= 0) {
// init
let response = [
function () {
return new Promise(function (resolve, reject) {
ajaxRequest("https://ivsupport.ivdigitaltech.net/api/dash/suggestcap/00", {}, true, resolve);
});
},
function (response) {
return new Promise(function (resolve, reject) {
setResponseData(response);
if (response.length > 0) {
autoCompleteSource = [];
response.forEach((item) => {
autoCompleteSource.push([item.cap, item.cap + " - " + item.comune + " (" + item.provincia + ")", item.regione, item.provincia, item.comune]);
});
autoCompleteSource = autoCompleteSource.filter(onlyUnique);
//console.log('Init autoCompleteSource', autoCompleteSource);
}
});
},
];
reduce(response);
}
let init = null;
capInput.addEventListener(
"keyup",
debounce(function (evt) {
initAutoComplete = false;
let zipField = capInput;
let capCodeField = capCode;
let zipInValue = capInput.value;
let zipBox = zipField.closest(".zipbox");
if (nazInput.value === "IT" && zipInValue.length >= 2) {
let response = [
function () {
return new Promise(function (resolve, reject) {
let time = new Date().getTime();
ajaxRequest("https://ivsupport.ivdigitaltech.net/api/dash/suggestcap/" + zipInValue + "?v=" + time, {}, true, resolve);
//console.log("send request >>> https://ivsupport.ivdigitaltech.net/api/dash/suggestcap/" + zipInValue + '?v=' + time);
});
},
function (response) {
return new Promise(function (resolve, reject) {
setResponseData(response);
if (response.length === 0) {
//console.log('Error: Empty zip data');
zipField.value = "";
zipClass("remove", zipField, zipBox);
} else {
if (response.length > 0) {
autoCompleteSource = [];
response.forEach((item) => {
autoCompleteSource.push([item.cap, item.cap + " - " + item.comune + " (" + item.provincia + ")", item.regione, item.provincia, item.comune]);
});
autoCompleteSource = autoCompleteSource.filter(onlyUnique);
zipBox.classList.add("loading");
zipBox.classList.remove("error");
zipBox.classList.remove("success");
}
//console.log('Success: zip data');
zipClass("add", zipField, zipBox);
}
});
},
];
reduce(response);
}
if (nazInput.value === "IT" && evt.which !== 8 && isNaN(String.fromCharCode(evt.which))) {
zipBox.classList.remove("loading");
zipField.value = "";
}
if ("" === zipInValue && zipInValue.length === 0) {
zipBox.classList.remove("loading");
zipField.value = "";
}
if (nazInput.value === "IT" && zipInValue.length > 5) {
zipBox.classList.remove("loading");
zipField.value = "";
}
if (nazInput.value === "IT") {
if (zipInValue.length > 5) {
// limit number.
//console.log('zipInValue ZERO')
zipField.value = zipField.value.slice(0, 5);
zipClass("remove", zipField, zipBox);
if (zipInValue.length > 5) {
zipClass("add", zipField, zipBox);
}
} else if (zipInValue.length > 5) {
zipClass("remove", zipField, zipBox);
} else if (nazInput.value === "IT" && zipInValue.length >= 0 && zipInValue.length <= 5) {
zipBox.classList.add("loading");
} else if (zipInValue.length < 5) {
zipClass("remove", zipField, zipBox);
} else {
zipClass("add", zipField, zipBox);
}
} else {
// No IT check
zipBox.classList.remove("loading");
if ("" === zipInValue) {
zipClass("remove", zipField, zipBox);
} else {
zipClass("add", zipField, zipBox);
}
}
if (nazInput.value === "IT" && zipInValue.length > 1 && zipInValue.length < 5) {
//console.log('initAutoComplete', initAutoComplete);
//console.log('autoCompleteSource', autoCompleteSource.length);
//console.log('PRE initAutoComplete>>>>>>>>>>>>>>>', init);
if (autoCompleteSource.length > 0 && !initAutoComplete && null === init) {
//console.log('autoComplete Init', autoCompleteSource);
let body = document.getElementsByTagName("body")[0];
// autoComplete
init = $("#" + capID).autoComplete({
minChars: 0,
source: function (term, suggest) {
term = term.toLowerCase();
let choices = autoCompleteSource;
let suggestions = [];
for (i = 0; i < choices.length; i++) {
if (~(choices[i][0] + " " + choices[i][1]).toLowerCase().indexOf(term)) {
suggestions.push([choices[i][0], choices[i][1], choices[i][2], choices[i][3], choices[i][4]]);
}
}
//console.log('suggestions count', suggestions.length);
//console.log('suggestions', suggestions);
suggest(suggestions);
let duplicate = $(".autocomplete-suggestions + .autocomplete-suggestions");
if (duplicate) {
//console.log(capID, duplicate)
duplicate.remove();
}
},
renderItem: function (item, search) {
body.classList.add("renderAutoComplete");
search = search.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
let re = new RegExp("(" + search.split(" ").join("|") + ")", "gi");
return (
'<div class="autocomplete-suggestion" ' +
'data-cap="' +
item[0] +
'" ' +
'data-string="' +
item[1] +
'" ' +
'data-reg="' +
item[2] +
'" ' +
'data-prov="' +
item[3] +
'" ' +
'data-com="' +
item[4] +
'" ' +
'data-val="' +
search +
'">' +
item[1].replace(re, "<b>$1</b>") +
"</div>"
);
},
onSelect: function (e, term, item) {
const jsonValue = {
country: "IT",
county: item[0].getAttribute("data-reg"),
state: item[0].getAttribute("data-prov"),
city: item[0].getAttribute("data-com"),
zip: item[0].getAttribute("data-cap"),
};
if (nazInput) {
$(capInput).val("IT");
}
if (regInput) {
$(regInput).val(item[0].getAttribute("data-reg"));
}
if (provInput) {
$(provInput).val(item[0].getAttribute("data-prov"));
}
if (comInput) {
$(comInput).val(item[0].getAttribute("data-com"));
}
$(capInput).val(item[0].getAttribute("data-cap"));
//console.log('capCode', capID, capCodeField, item[0].getAttribute('data-cap'));
if (capCodeField) {
$(capCodeField).val(item[0].getAttribute("data-cap"));
}
if (document.createEvent) {
let event = document.createEvent("HTMLEvents");
event.initEvent(capID + "_zip_pick", true, true);
event.eventName = capID + "_zip_pick";
event.picked = jsonValue;
document.dispatchEvent(event);
} else {
let event = document.createEventObject();
event.eventName = capID + "_zip_pick";
event.eventType = capID + "_zip_pick";
event.picked = jsonValue;
document.fireEvent("on" + event.eventType, event);
}
zipBox.classList.remove("loading");
setTimeout(function () {
body.classList.remove("renderAutoComplete");
}, 800);
},
});
//console.log('initAutoComplete>>>>>>>>>>>>>>>', init);
initAutoComplete = true;
//console.log('autoComplete init', initAutoComplete, '#' + capID);
}
}
}, 300)
);
}
}
function debounce(callback, interval) {
let debounceTimeoutId;
return function (...args) {
clearTimeout(debounceTimeoutId);
debounceTimeoutId = setTimeout(() => callback.apply(this, args), interval);
};
}
/**
* IV_autocomplete
*/
const IV_autocomplete = {
/**
* Init
* @param capID the cap ID
* @param cap input HTML element
* @param naz input HTML element
* @param reg input HTML element
* @param prov input HTML element
* @param com input HTML element
*/
init: function (capID, cap, naz, reg, prov, com, capCode) {
/**
* keyUpZip
*/
keyUpZip(capID, cap, naz, reg, prov, com, capCode);
},
};
/**
* Load event
*/
window.addEventListener("load", () => {
// Get all forms in "autocomplete-cap" wrapper
let formsAutocompleteCap = document.querySelectorAll(".autocomplete-cap form");
if (formsAutocompleteCap) {
formsAutocompleteCap.forEach((form, index) => {
let notITCheckbox = form.querySelector("." + fieldsClass.estero);
let zip = form.querySelector("." + fieldsClass.zip);
let zipID = fieldsClass.zip + "_" + index;
let originalValue = "";
if (zip) {
// Set id for multi autocomplete init
let oldID = zip.id;
originalValue = zip.value;
if (oldID) {
zip.setAttribute("old-id", oldID);
}
if (originalValue) {
zip.setAttribute("old-value", originalValue);
}
zip.setAttribute("id", zipID);
zip.setAttribute("autocorrect", "off");
zip.setAttribute("spellcheck", false);
zip.setAttribute("autocomplete", "off");
form.setAttribute("autocomplete", "off");
}
let naz = form.querySelector("." + fieldsClass.naz);
let reg = form.querySelector("." + fieldsClass.reg);
let prov = form.querySelector("." + fieldsClass.prov);
let com = form.querySelector("." + fieldsClass.com);
let capCode = form.querySelector("." + fieldsClass.capCode);
if (zip && naz && reg && prov && com) {
// Not IT checkboxes
if (notITCheckbox) {
//console.log('verifica se siamo esteri...');
if (notITCheckbox.checked) {
naz.value = "";
//zip.value = '';
}
// On change init autoComplete
notITCheckbox.addEventListener("change", (evt) => {
//console.log('estero checked: ', evt.target.checked);
const checkEvent = new CustomEvent(zipID + "_estero_change", {
detail: evt.target.checked,
});
document.dispatchEvent(checkEvent);
if (!evt.target.checked) {
naz.value = "IT";
//zip.value = '';
initAutoComplete = false;
IV_autocomplete.init(zipID, zip, naz, reg, prov, com, capCode);
} else {
$(zip).autoComplete("destroy");
naz.value = "";
//zip.value = '';
}
});
}
// on load init autoComplete
//console.log('inizializza comunque...');
IV_autocomplete.init(zipID, zip, naz, reg, prov, com, capCode);
} else {
//console.log('some field are empty or missing', zip , naz , reg , prov , com);
}
});
}
});
})(window.jQuery);
</script>
<!-- /Autocomplete assets -->
<style>
.kc_fab_wrapper {
bottom: 48px !important;
}
#radiopanel {
transition: height linear 300ms, opacity linear 300ms;
left: 0px;
bottom: 0px;
right: 0px;
padding-top: 10px;
color: #fff;
position: fixed;
z-index: 100000;
height: 56px;
background: #000060;
border-top: 1px solid #cccccc;
}
#radiopanel img {
margin-right: 5px;
margin-left: 5px;
}
#radiopanel a {
font-weight: bold;
color: #fff;
text-decoration: none;
}
#radiopanel a span {
color: #fff;
}
#radiopanel.opened {
height: 50vh !important;
}
#radiopanel.fade-out {
opacity: 0;
}
#radiocontent iframe {
width: 100%;
height: calc(50vh - 50px);
}
@media screen and (max-width: 1024px) {
#radiopanel a span {
display: none;
}
}
</style>
<div id="radiopanel">
<div class="header">
<div class="left">
<a href="https://www.italiaviva.it/2x1000">
<img src="https://assets.nationbuilder.com/themes/5d9d646645de94b073bb679a/attachments/original/1675869913/2x1000-iv.jpg?1675869913" style="height: 42px; margin: 0" />
</a>
<a href="https://www.italiaviva.it/sostienici">
<span style="display: inline; background-color: #dc0070; padding: 6px; color: #fff">Sostieni</span>
</a>
</div>
<div class="center" style="flex: 1 0 50%; display: flex; justify-content: flex-end">
<a href="https://radioleopolda.it" target="_blank" title="Ascolta RadioLeopolda">
<img
width="32"
height="32"
src="https://radioleopolda.it/wp-content/uploads/2021/12/cropped-Risorsa-1.png"
alt=""
title="Radio Leopolda"
srcset="https://radioleopolda.it/wp-content/uploads/2021/12/cropped-Risorsa-1.png 512w, https://radioleopolda.it/wp-content/uploads/2021/12/cropped-Risorsa-1-480x480.png 480w"
sizes="(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 512px, 100vw"
class="wp-image-184"
/>
</a>
<a href="#" id="toogle-radio">Ascolta <i class="fas fa-chevron-up"></i></a>
<div class="right" style="margin-left: 15px">
<a href="#" id="close-radio"><i class="fas fa-times"></i></a>
</div>
</div>
</div>
<div id="radiocontent"></div>
</div>
<script>
document.addEventListener("DOMContentLoaded", function () {
const openerRadio = document.getElementById("toogle-radio");
document.getElementById("close-radio").addEventListener("click", function () {
const c = document.getElementById("radiopanel");
c.classList.add("fade-out");
setTimeout(function () {
document.getElementById("radiopanel").remove();
}, 500);
});
openerRadio.addEventListener("click", function () {
const c = document.getElementById("radiopanel");
if (c.classList.contains("opened")) {
c.classList.remove("opened");
openerRadio.innerHTML = 'Ascolta <i class="fas fa-chevron-up"></i>';
document.getElementById("radiocontent").innerHTML = "";
} else {
c.classList.add("opened");
openerRadio.innerHTML = 'Chiudi <i class="fas fa-chevron-down"></i>';
document.getElementById("radiocontent").innerHTML = '<iframe scrolling="0" allow="autoplay" frameborder="no" src="https://share.xdevel.com/player/2716"></iframe>\n';
}
});
});
</script>
<script src="https://js.sentry-cdn.com/32fe3f5a5411467c8c147bc3c28d536a.min.js" crossorigin="anonymous"></script>
<script>
Sentry.onLoad(function() {
Sentry.setContext("pageslug", {
name: "home"
});
});
function mostraSentryDialog() {
Sentry.setContext("pageerror", {
name: "home"
});
Sentry.showReportDialog({
"lang":'it',
'title':"Si è verificato un problema?",
'subtitle':'Il nostro team sarà informato tempestivamente!',
'subtitle2':'Se ci vuoi aiutare spiegaci cosa è successo sotto.',
'labelName':'Nome',
'labelEmail':'Email',
'labelComments':'Spiegaci meglio il tuo problema',
'labelClose':'Chiudi',
'labelSubmit':'Invia',
'successMessage':'Grazie per averci contattato!'
});
}
</script>
<script>
// $(".iv2--form.iv2-primary form label input[type=text], .iv2--form.iv2-primary form label input[type=email]").hide();
$(".analytics-banner").css("bottom", $("#radiopanel").height() + parseInt($("#radiopanel").css("padding-top")) + "px");
$("footer").css("margin-bottom", $("#radiopanel").height() + parseInt($("#radiopanel").css("padding-top")) + "px");
if ($(window).width() > 767) {
if ($(".breadcrumb").length > 0) {
$(".iv2 .menu-nav .navbar-nav>li>a").addClass("darker");
$(".main-container").css("padding-top", $(".menu-nav").height() + "px");
} else {
$(".header-basic").css("padding-top", parseInt($(".header-basic").css("padding-top")) + $(".menu-nav").height() + "px");
}
}
$(document).ready(function () {
setTimeout(function () {
$(".iv2--form.iv2-primary form label input[type=text], .iv2--form.iv2-primary form label input[type=email]").val("").blur();
$("#newsletter_formv2").addClass("show");
}, 2000);
});
</script>
<script>
$(document).ready(function () {
if ($(".consentform").css("display", "none")) {
// $(".consentform").closest('form').find('input[type="submit"]').prop('disabled', false);
}
});
</script>
<style>
.iv2 .menu-nav .navbar-nav > li > a.darker {
color: #333 !important;
}
.sentrybtn {
display: block;
clear: both;
width: 100%;
font-size: 90%;
text-align: center;
}
#petition-form .sentrybtn {
color: #fff;
}
</style>
<style>
.navbar-header {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
}
.navbar-toggle {
margin-bottom: 0 !important;
margin-top: 0 !important;
margin-left: auto !important;
}
.page-type-donation-v2 .menu-nav .navbar-nav > li > a {
color: #333 !important;
}
.navbar-toggle .icon-bar {
background: #fff !important;
}
.nav-scrolled .navbar-toggle .icon-bar {
background: #333 !important;
}
.iv2 .menu-nav .navbar-header .navbar-brand img {
opacity: 1 !important;
}
#newsletter_formv2 {
transition: opacity 0.3s;
}
#newsletter_formv2.show {
opacity: 1 !important;
}
.iv2-button.style2 {
padding: 1rem 3rem;
background: #dc0070;
color: #fff;
box-shadow: none;
}
p.emailAd {
margin: 10px auto;
font-weight: bold;
padding: 6px;
border: 2px solid #dc0070;
display: inline-block;
}
#autocomplete_cap_hint .cap_hint,
#autocomplete_cap_field .cap_hint {
text-align: center;
}
.header-basic .container,
.ac-header-intro {
text-align: center;
padding-left: 24px;
padding-right: 24px;
}
.header-basic h2.headline,
.ac-header-intro h2 {
padding: 6px 12px;
border: 7px solid #0470bb;
margin: 24px 0;
}
.header-basic h2.headline:before,
.ac-header-intro h2:after {
display: none;
}
#radiopanel {
display: flex;
flex-direction: column;
flex-wrap: wrap;
padding: 12px 24px;
}
#radiopanel .header {
width: 100%;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
}
#radiopanel #radiocontent {
width: 100%;
display: flex;
}
#radiopanel.opened {
height: calc(50vh + 48px) !important;
}
#radiopanel.opened .header {
margin-bottom: 24px;
}
#radiopanel {
border: none;
}
.analytics-banner .container-flex .content {
font-size: 20px;
line-height: 26px;
}
.analytics-banner {
background-color: rgba(13, 84, 142, 0.9) !important;
}
.analytics-banner:before {
content: "CHIUDI";
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
font-size: 20px;
line-height: 20px;
position: absolute;
top: 0;
left: 50%;
padding: 12px 18px;
transform: translate(-50%, -50%);
background: #05015b;
color: #fff;
cursor: pointer;
}
.analytics-consent .submit button {
background: #dc0070 !important;
text-transform: uppercase;
color: #fff;
font-size: 24px;
line-height: 24px;
font-weight: 600;
border-radius: 0;
}
.analytics-consent {
max-height: 0px !important;
}
.analytics-consent .dismiss button {
display: none;
}
@media screen and (max-width: 767px) {
.iv2 .analytics-banner {
padding: 10px 10px !important;
}
.iv2 .analytics-banner:before {
content: "X";
font-size: 16px;
padding: 10px 20px !important;
}
.analytics-banner .container-flex {
padding: 10px 0 0 0 !important;
}
.analytics-banner .container-flex .content {
font-size: 10px;
line-height: 14px;
margin-bottom: 0px;
display: -webkit-box;
-webkit-line-clamp: 2; /* number of lines to show */
line-clamp: 2;
-webkit-box-orient: vertical;
text-overflow: ellisis;
}
.analytics-consent .submit {
margin: 0px auto 0 auto;
}
.analytics-consent .dismiss {
display: none;
}
.analytics-consent .submit button {
margin-left: 0 !important;
margin-right: 0 !important;
font-size: 12px !important;
line-height: 12px;
}
.breadcrumb {
margin: 0;
padding: 8px;
line-height: 14px;
font-size: 14px;
}
.breadcrumb li.active,
.breadcrumb li a {
font-size: 12px;
line-height: 14px;
}
a.navbar-brand img {
width: 80px !important;
}
.main-container {
padding-top: 76px;
}
.navbar-header {
background: #fff;
}
.navbar-header .navbar-toggle .icon-bar {
background: #333 !important;
}
.container {
padding-left: 0;
padding-right: 0;
}
.header-basic {
padding-top: 60px;
padding-bottom: 60px;
}
.header-basic h2.headline {
font-size: 24px;
line-height: 30px;
border: 4px solid #0470bb;
}
.header-basic h2.headline:before {
display: none;
}
.iv2-button.style2 {
font-size: 1.5rem;
}
#radiopanel {
padding: 8px 10px;
}
.container-full-post .share-bar a,
.share-bar a {
margin: 8px;
}
.share-bar {
text-align: center !important;
margin-bottom: 36px;
}
.container-full-post .share-bar {
margin-bottom: 0;
}
.header-basic.header-basic-post .headline {
font-size: 28px;
line-height: 32px;
}
.container-full-post .content {
padding-left: 18px;
padding-right: 18px;
}
h2,
.h2 {
font-size: 24px;
line-height: 28px;
}
#petition-form .sentrybtn {
font-size: 14px;
line-height: 16px;
}
.content blockquote,
.text-content blockquote {
margin-top: 24px;
margin-bottom: 24px;
padding-top: 18px;
padding-bottom: 18px;
}
}
table {
width: 100%;
}
</style>
<script>
$(".analytics-banner")
.before()
.click(function () {
$(".analytics-consent").hide();
});
</script>
<!-- _popup_tessera_2024.html -->
<!-- /_popup_tessera_2024.html -->
<script>
if ( window.self !== window.top ) {
var referrer_origin = "";
if ( window.location.origin !== referrer_origin ) {
var xhttp = new XMLHttpRequest();
var params = "iframe_req_path=" + window.location.pathname + "&referrer_origin=" + referrer_origin;
xhttp.open("GET", "iframe_requests?" + params, true);
xhttp.send();
}
}
</script>
<script>(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'90b0c4da0ae4d705',t:'MTczODQwMDYxMy4wMDAwMDA='};var a=document.createElement('script');a.nonce='';a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script></body>
</html>