html, body{
    overflow-x: hidden;
}

/*color*/
.bg_l_blue{background-color: #f4f6fc;}
.bg_m_blue{background-color: #dde4f7;}
.blue, #donation-form h3{color: #004ec1;}
.d_blue, #donation-form{color: #002F74;}
.bg_blue{background-color: #004ec1;}
.white{color:#fff}
/* end color */

.border_right_1{
    border-right: 1px solid;
}
.border_bottom_1{
    border-bottom: 1px solid !important;
}
.border_top_1{border-top: 1px solid !important;}
.border_left_1{border-left: 1px solid;}
.border_m_blue{border-color: #dde4f7 !important;}
.border_blue{border-color: #004ec1 !important;}
.border_white{border-color: white;}
.bg_bottom_right{background-position: bottom right ;}
.bg_bottom_left{background-position: bottom left ;}
.bg_top_right{background-position: top right ;}
.bg_center{background-position: center;}
.bg_no_repeat{background-repeat: no-repeat ;}
.bg_contain{background-size: contain;}
.bg_cover{background-size: cover;}
.bg_size_50{background-size: 50%;}
.after_border_vert_1:after{content: '';height: 100%;width: 1px;position: absolute;top: 0;left: 75%;}
.after_border_m_blue:after{background-color: #dde4f7;}
.w-45{width: 45%;}
.w-55{width: 55%;}
.w-40{width: 40%;}
.w-60{width: 60%;}
.w-35{width: 35%;}
.object_fit_cover{object-fit: cover;}
.object_fit_contain{object-fit: content;}
.pointer{cursor: pointer;}
.border_0{border: 0 !important;}
.ps_5perc{padding-left: 5%;}
.pe_5perc{padding-right: 5%;}
.w-33{width: 33%;}
.ratio_img_progetti{padding-top: 60%;background-size: cover;background-repeat: no-repeat;}
.opacity_1{opacity: 1;}
.extrabold{font-weight: 900;}
.h_100_vh{height: 100vh;}
.text-underline{text-decoration: underline !important;}
.border_radius_6{border-radius: 6px;}
.overflow_hidden{overflow: hidden;}
.underline_hover:hover{text-decoration: underline !important;}
body, a{
    color: #004ec1;
}
body{
    padding-top: 89px;
}
.btn_blue, #gform_submit_button_1{
    background-color: #004ec1;
    color: #fff;
    font-weight: bold;
    padding-left: 1.8rem;
    padding-right: 1.8rem;
    border:1px solid #004ec1;
    transition: .3s;
}
.btn_blue:hover, #gform_submit_button_1:hover{
    border:1px solid #004ec1;
    background-color: #fff;
    color: #004ec1;
}
.btn_blue.btn_not_hover:hover{
    background-color: #004ec1;
    color: #fff;
    border:1px solid #004ec1;
}
.btn_white{
    background-color: #fff;
    color: #004ec1;
    font-weight: bold;
    padding-left: 1.8rem;
    padding-right: 1.8rem;
    border:1px solid #fff;
    transition: .3s;
}
.btn_white:hover{
    border:1px solid #fff;
    background-color: #004ec1;
    color: #fff;
}
.btn_white#close_menu{
    border:1px solid #fff;
    background-color: #004ec1;
    color: #fff;
}
video{
    pointer-events: none;
}


.accordion-item{
    border: 0;
    border-bottom: 1px solid #004ec1;
}
.accordion-button:focus{box-shadow: none;}
.accordion-button:not(.collapsed){
    background-color: transparent;
}
.accordion-button:after{
    background-image: url(/wp-content/uploads/2025/07/angledown.svg);
}
.accordion-button:not(.collapsed):after{
    transform: rotate(180deg);
    background-image: url(/wp-content/uploads/2025/07/angledown.svg);
}
.accordion-body{padding-left: 0;padding-right: 0;}
.accordion-button{color: #004ec1;font-weight: 700;border: 0 !important;  outline: none;  box-shadow: none !important;border-radius: 0 !important;padding: 1.5rem 0;font-size: 1.2rem;}
.accordion-item{color: #004ec1;}

.toggle_ssn, .toggle_priv{width: 50px;  height: 24px;  border-radius: 30px;  background-color: #004ec1;transition: .3s;}

.toggle_ssn:after{
    content: '';
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    transition: .3s;
}
.toggle_priv:after{
    content: '';
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: .3s;
    right: 2px;
    transition: .3s;
}
a:hover .underline_hover{
    text-decoration: underline;
}
.nav-link{color: #004ec1;margin-bottom: 0;border-radius: 0 !important;text-align: left;}
.nav-pills .nav-link.active{background-color: #004ec1;  border-radius: 0 !important;  margin-bottom: 0;text-decoration: underline;}
.nav-pills .nav-link.active:before{content: '';position: absolute;left: -200%;top: -1px;width: 200%;background-color: #004ec1;height: calc(100% + 2px);}
.nav-pills .nav-link{position: relative;}
.nav-pills .nav-link:before{content: '';position: absolute;left: -200%;top: -1px;width: 200%;background-color: #004ec1;height: 1px;}
.nav-pills .nav-link:after{content: '';position: absolute;left: -200%;bottom: -1px;width: 200%;background-color: #004ec1;height: 1px;}

.a_news_img:hover .news_img{background-size: 120%;transition: .5s;background-repeat: no-repeat;}
.a_news_img .news_img{background-size: 100%;transition: .5s;background-repeat: no-repeat;}
.modal_team .btn-close{background-image: url('/wp-content/uploads/2025/07/Close.svg');opacity: 1;position: absolute;right: 20px;}
.banner_newsletter_close.btn-close{background-image: url('/wp-content/uploads/2025/07/Close.svg');opacity: 1;position: absolute;right: 20px;top:20px}
.filter_news{background: none;border: none;margin: 0;font-weight: 800;position:relative}
.filter_news.active{color: white;}
.filter_news:before{content: '';width: calc(100% + 20px);height:  calc(100% + 10px);position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);border-radius: 6px;}
.filter_news.active:before{background-color: #004ec1;}
.search_bar{background-color: #fff;  color: #004ec1 !important;font-weight: 400;outline: none;box-shadow: none;box-shadow: none !important;}
.search_bar::placeholder{color: #004ec1;opacity: .5;}
.page-template-tpl_contatti label{text-align: left;color: #002f74;margin-bottom: 10px;font-weight: 600;width: 100%;}
.page-template-tpl_contatti .wpcf7-list-item{margin-left: 0 !important;}
.wpcf7 input{padding:15px 10px;border:1px solid #004ec1;border-radius: 10px;width:100%}
.wpcf7-form p{width: 100%;text-align: left;}
.banner_newsletter label, .banner_newsletter input:not([type="checkbox"]):not([type="submit"]), .page-template-tpl_contatti label, .page-template-tpl_contatti ßinput:not([type="checkbox"]):not([type="submit"]){width: 100%;}
.banner_newsletter p{margin-bottom:0}
.banner_newsletter .wpcf7-spinner{position: absolute;}
.language-switcher {
    display: flex;
    align-items: center;
    font-family: 'Anaheim', sans-serif;
    gap: 0.5rem;
    justify-content: flex-end;
}
.language-switcher .lang-link {
    color: #004ec1; /* Scegli il colore primario del tuo tema */
    text-decoration: none;
    opacity: 1;
    transition: opacity .2s;
}
.language-switcher .lang-link.active {
    opacity: 0.6;
    pointer-events: none; /* La lingua attiva non è cliccabile */
    cursor: default;
}
.language-switcher .lang-link:hover {
    text-decoration: underline;
}
.site-header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050; /* più alto dei menu, modali ecc. */
    /* transizione opzionale per effetto smooth */
    transition: box-shadow .2s;
}
.menu_page{
    position: fixed !important;
    top: 0;
    width: 100%;
    z-index: 2000;
    transition: .3s;
}
.marquee {
  overflow: hidden;
  width: 100%;
  position: relative;
  height: 120px; /* regola a piacere */
}
.marquee-content {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
@keyframes marquee {
  0% { transform: translateX(0);}
  100% { transform: translateX(-50%);}
}
.marquee-content img {
  margin-right: 48px;
  height: 90px; /* o quello che vuoi */
  width: auto;
}
.btn_ssn, .btn_priv, .btn_ssn:hover, .btn_priv:hover{
    background-color: transparent !important;
    color: #004ec1 !important;
    border: 1px solid #004ec1 !important;
}
.col_btn_ssn .btn:hover, .col_btn_priv .btn:hover{
    background-color: #004ec1 !important;
    color: #fff !important;
    font-weight: bold !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    border: 1px solid #004ec1 !important; 
} 
.banner_newsletter{top: 200px;right: -100%;transition: .5s;}
.banner_newsletter_visible{right: 0;transition: .5s;}
.banner_dona_ora{top: 75%;transform: translateY(-50%);right: 0;}
.banner_dona_ora .btn{font-weight: 600;border-top-right-radius: 0;border-bottom-right-radius: 0;padding-left: 3.3rem;padding-right: 3.3rem;border: 1px solid #fff;border-right:0 ;}
.banner_dona_ora .btn:hover{border: 1px solid #004EC1;border-right:0 ;}
.mobile-news-swiper .swiper-button-next, .mobile-news-swiper .swiper-button-prev{color: white;}
.mm-amount.is-active {background-color: #004EC1; color: white;}
.banner_newsletter{width: 500px;}
.page-id-1778 .gform_title{display: none;}
.sib_signup_form input{color:#fff}
.language-switcher{display: none;}
.page-id-1778 .banner_dona_ora, .page-id-1778 .btn_dona_footer{display: none !important;}

#CybotCookiebotDialogPoweredbyCybot {display:none!important}