/*
Theme Name: FCRF MAIN SITE
Theme URI:
Author: Alessio Bertolani per Fondazione CR Firenze
Author URI:
Description: Startertheme with font Awesome 5.15.4 e Bootstrap 5.3.8
Version: 2.0.1
Requires PHP: 7.3
Tested up to: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, right-sidebar, custom-header, custom-menu, editor-style, featured-images, sticky-post, translation-ready
Text Domain: fcrf

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* redere visibile navbar con admin-bar */
/*.admin-bar .navbar {top:32px;}*/


/* IMPOSTAZIONI GENERALI
-------------------------------------*/


body{
  display: flex;
  /* aggiungi 100% vertical height */
  min-height: 100vh;
  flex-direction: column;
  font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 1.15rem;
    line-height: 1.4;
  font-weight: 300;
  color: #222;
  background:#fff;
}

b, strong {
  font-weight: 600;
}

.main-content {
  flex:1;
}

a {
  color: #333;
  text-decoration:underline;
}

a:hover {color:#333;}


.content-main a {
  color: #222;
  text-decoration:underline;
}


h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Be Vietnam Pro', sans-serif;
  color: #231f20;
  font-weight: 400;
}

h2 a {color:#333;}

.display-4 {font-size: 3rem !important;}

.h-100 a:hover {text-decoration: none !important;}

input,
textarea {
  padding: 5px 10px;
}

hr {
  opacity: inherit !important;
}

/* HELPERS
-------------------------------------*/

.margin-top {margin-top:20px;}
.margin-bottom {margin-bottom:170px;}

/* per transizione menu */
.animate {
  -webkit-transition: all 0.4s ease-in-out;
 -moz-transition: all 0.4s ease-in-out;
 -o-transition: all 0.4s ease-in-out;
 transition: all 0.4s ease-in-out;
}

.modal-backdrop {z-index:inherit;}

.seo-title {position:absolute; top:-1000px;}
.absolute-top {top: -63px;}


/* ACCESSIBILITA
-------------------------------------*/

/* salto dei contenuti ripeuti */

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
  transition: top 0.3s;
}
.skip-link:focus {
  top: 0;
}


/* BACK TO TOP
-------------------------------------*/


.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  z-index: 1000;
  padding: 10px 15px;
  font-size: 20px;
  border-radius: 20px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}



/* BOTTONI
-------------------------------------*/


button:focus {outline:none;}

.btn {font-family: 'Be Vietnam Pro', sans-serif;}

.btn-outline-light {
  text-transform:uppercase;
  font-size:13px;
  font-weight:bold;
  padding: 15px 30px;
}


/* hover del pulsante */
.btn-outline-light:hover{
  border: 1px solid transparent;
  background: #C9974D ;
  color:#fff;
}


/* pulsanti missioni */

.btn-primary-in1 {
  /*background-image: linear-gradient(to right, #09346A , #E23B93);*/
  background: #f0910b;
  font-size: 16px;
  padding: 11px 39px;
  border: none;
  font-weight: 500;
  border: none;
  border-radius:50px;
  color: #fff;
}


.btn-primary-in1:hover {
  background: #f0910b;
  padding: 11px 39px;
  border: none;
  border-radius:50px;
  color: #fff;
}

.btn-outline-primary-in1 {
  background: transparent;
  font-size: 16px;
  padding: 11px 39px;
  border: 2px solid #f0910b;
  font-weight: 500;
  border-radius: 50px;
  color: #f0910b;
}

.btn-outline-primary-in1:hover {
  background: transparent;
  font-size: 16px;
  padding: 11px 39px;
  border: 2px solid #f0910b;
  font-weight: 500;
  border-radius: 50px;
  color: #f0910b;
}

.btn-primary-in2 {
  background: #db0010;
  font-size: 16px;
  border-radius: 0px;
  padding: 11px 39px;
  border: none;
  font-weight: 500;
  border: none;
  border-radius: 50px;
  color: #fff;
}

.btn-primary-in2:hover {
  background: #db0010;
  padding: 11px 39px;
  border: none;
  border-radius:50px;
  color: #fff;
}

.btn-outline-primary-in2 {
  background: transparent;
  font-size: 16px;
  padding: 11px 39px;
  border: 2px solid #db0010;
  font-weight: 500;
  border-radius: 50px;
  color: #db0010;
}

.btn-outline-primary-in2:hover {
  background: transparent;
  font-size: 16px;
  padding: 11px 39px;
  border: 2px solid #db0010;
  font-weight: 500;
  border-radius: 50px;
  color: #db0010;
}

.btn-primary-in3 {
  background: #3598bb;
  font-size: 16px;
  border-radius: 0px;
  padding: 11px 39px;
  border: none;
  font-weight: 500;
  border: none;
  border-radius: 50px;
  color: #fff;
}

.btn-primary-in3:hover {
  background: #3598bb;
  padding: 11px 39px;
  border: none;
  border-radius:50px;
  color: #fff;
}

.btn-outline-primary-in3 {
  background: transparent;
  font-size: 16px;
  padding: 11px 39px;
  border: 2px solid #3598bb;
  font-weight: 500;
  border-radius: 50px;
  color: #3598bb;
}

.btn-outline-primary-in3:hover {
  background: transparent;
  font-size: 16px;
  padding: 11px 39px;
  border: 2px solid #3598bb;
  font-weight: 500;
  border-radius: 50px;
  color: #3598bb;
}

.btn-primary-in4 {
  background: #4d935f;
  font-size: 16px;
  border-radius: 0px;
  padding: 11px 39px;
  border: none;
  font-weight: 500;
  border: none;
  border-radius: 50px;
  color: #fff;
}

.btn-primary-in4:hover {
  background: #4d935f;
  padding: 11px 39px;
  border: none;
  border-radius:50px;
  color: #fff;
}

.btn-outline-primary-in4 {
  background: transparent;
  font-size: 16px;
  padding: 11px 39px;
  border: 2px solid #4d935f;
  font-weight: 500;
  border-radius: 50px;
  color: #4d935f;
}

.btn-outline-primary-in4:hover {
  background: transparent;
  font-size: 16px;
  padding: 11px 39px;
  border: 2px solid #4d935f;
  font-weight: 500;
  border-radius: 50px;
  color: #4d935f;
}


.btn-secondary {
  background:#655e59;
  border-color:#655e59;}

.btn-iscriviti {border-radius: 0px 6px 6px 0px !important;}


.btn-outline-primary-header {
  border:2px solid #333;
  padding: 10px 30px;
  color:#fff !important;
  border-radius: 50px !important;
}


.prop-body-alt .btn-outline-primary-header {
  border:2px solid #fff;
  padding: 10px 30px;
  color:#fff !important;
  border-radius: 50px !important;
  font-size: 18px;
  text-decoration: none;
}


.btn-outline-primary {
  border:2px solid #7F1F1C;
  color:#7F1F1C !important;
  border-radius: 50px !important;
}


.btn-outline-primary:hover {
  background:#7F1F1C;
  border:2px solid #7F1F1C;
  color:#fff !important;
}

.btn-secondary {
  background: #80715D;
  border:none;
}

.btn-secondary:hover {
  background: #80715D;
}

.btn-outline-secondary {
  border:2px solid #fff;
  padding: 9px 20px;
  color:#fff !important;
  border-radius: 4px !important;
}

.btn-outline-secondary:hover {
  border:2px solid #fff;
  background: #fff;
  padding: 9px 20px;
  color:#333 !important;
  border-radius: 4px !important;
}

.btn-light {
  padding: 0 !important;
}

.btn-light.menu-custom a  {color:#333 !important;}


.btn-link {
  color: #222 !important;
  text-decoration: none !important;
  font-size: 18px;
}

.btn-link-alt {
  color: #222 !important;
  text-decoration: none !important;
  font-size: 18px;
  margin-top: -10px;
  border:2px solid #222;
  min-width: 120px;
  border-radius:20px;
}

.btn-link-alt:hover {
  color:#222;
  border:2px solid #222;
}

.btn-link-alt2 {
  color: #7F201C !important;
  text-decoration: none !important;
  background: transparent;
  margin-top: -10px;
  min-width: 140px;
  border-radius:50px;
  border: 2px solid #7F201C;
}

.btn-link-alt2:hover {
  color:#7F201C;
  background: transparent;
  border: 2px solid #7F201C;
}

.btn-home {
  color: #1d223f !important;
  padding: 0;
}

.btn-dx {
  float:right;
}

/* UTILITIES
-------------------------------------*/

blockquote {
  font-family: 'Be Vietnam Pro', sans-serif;
  margin: 0 2rem 3rem;
  padding-left: 1rem;
  font-style: italic;
  border-left: 2px solid #575757;
}

.wp-block-image img {
  height: auto;
}


/* CERCA NEL SITO
-------------------------------------*/


.form-control:focus {background:transparent; }



/* =====================================
   MENU MOBILE
   ===================================== */

/* Bottone hamburger mobile */
.fcrf-burger-btn {
    border: 0;
    background: transparent;
    padding: 0;
    margin-left: auto;
    margin-right: 16px;
    line-height: 1;
    transform: translateY(-2px);
}

.fcrf-burger-icon {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 22px;
}

.fcrf-burger-icon span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background-color: #000;
}

/* Allinea verticalmente logo, menu desktop e hamburger */
.navbar.bg-custom .container {
    display: flex;
    align-items: center;
}

.navbar.bg-custom .navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
}

/* Offcanvas mobile */
.fcrf-mobile-offcanvas {
    background-color: #1f1f1f;
    color: #f5f5f5;
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
}

.fcrf-mobile-nav-wrapper {
    margin-top: 1rem;
}

/* X di chiusura (mobile e mega) */
.fcrf-offcanvas-close {
    font-size: 3.2rem !important;
    line-height: 1;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    background: none;
    color: #ffffff !important;
}

/* Backdrop per tutti gli offcanvas (mobile + mega) */
.offcanvas-backdrop.show {
    opacity: 0.7 !important;
    background-color: #000 !important;
}

/* --- NAV MOBILE: PRIMO LIVELLO --- */

.fcrf-mobile-nav > .menu-item {
    margin-bottom: .25rem;
}

.fcrf-mobile-nav > .menu-item > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .35rem 1.5rem;
    font-size: 1.4rem;
    font-weight: 400;
    color: #f5f5f5;
    text-decoration: none;
}

.fcrf-mobile-nav > .menu-item > a:hover,
.fcrf-mobile-nav > .menu-item > a:focus {
    text-decoration: none;
    color: #ffffff;
}

/* Chevron per le voci con submenu */
.fcrf-mobile-nav .menu-item-has-children {
    position: relative;
}

.fcrf-submenu-toggle {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-left: auto;
}

.fcrf-submenu-toggle i {
    font-size: 1.4rem;
    pointer-events: none;
    transition: transform 0.2s ease;
    transform-origin: center;
}

.fcrf-submenu-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.fcrf-submenu-toggle:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* --- NAV MOBILE: SECONDO LIVELLO --- */

/* reset pallini */
.fcrf-mobile-nav .sub-menu,
.fcrf-mobile-nav .sub-menu .menu-item {
    list-style: none !important;
    margin-left: 0 !important;
}

/* stato base: nascosto, con transizione */
.fcrf-mobile-nav .sub-menu {
    padding-left: 2rem;
    margin-top: .2rem;
    margin-bottom: .75rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity .25s ease, max-height .25s ease;
}

/* menu aperto */
.fcrf-mobile-nav .menu-item.is-open > .sub-menu {
    opacity: 1;
    max-height: 500px; /* valore abbastanza alto per tutti i casi */
}

.fcrf-mobile-nav .sub-menu .menu-item > a {
    display: block;
    padding: .2rem 0;
    font-size: 1.2rem;
    color: #f5f5f5;
    text-decoration: none;
}

.fcrf-mobile-nav .sub-menu .menu-item > a:hover,
.fcrf-mobile-nav .sub-menu .menu-item > a:focus {
    text-decoration: underline;
}

/* --- SEARCH MOBILE (campo con lente dentro) --- */

.fcrf-mobile-search {
    padding: 0 2.5rem;
}

.fcrf-mobile-search-form .fcrf-search-field-wrapper {
    position: relative;
    width: 100%;
}

/* Campo “pillola” */
.fcrf-mobile-search-form .search-field {
    width: 100%;
    padding: 0.9rem 1.2rem 0.9rem 3.0rem; /* spazio a sinistra per la lente */
    border-radius: 999px;
    border: none;
    background-color: #d7d7d7;
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
}

.fcrf-mobile-search-form .search-field::placeholder {
    color: #9a9a9a;
}

/* Lente dentro il campo */
.fcrf-mobile-search-form .search-submit {
    position: absolute;
    left: 1.0rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    font-size: 1.3rem;
    color: #555;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fcrf-mobile-search-form .search-field:focus,
.fcrf-mobile-search-form .search-submit:focus {
    outline: none;
    box-shadow: none;
}

/* Logo in fondo al menu mobile */
.fcrf-mobile-logo img {
    max-width: 180px;
    height: auto;
    opacity: .95;
}

.fcrf-mobile-logo {
    padding-bottom: 2.5rem;
}

/* Hamburger bianco su header trasparente / navbar dark */
.navbar.navbar-dark .fcrf-burger-icon span,
body.header-trasp-active .fcrf-burger-icon span {
    background-color: #ffffff !important;
}

/* =====================================
   MEGA MENU DESKTOP
   ===================================== */

/* Bottone mega-menu: icona + testo in verticale */
.fcrf-mega-btn {
  padding: 0;
  border: 0;
  background: transparent;
}

/* Wrapper icona + label */
.fcrf-mega-toggle-inner {
   display: flex;
    flex-direction: column;   /* icona sopra, testo sotto */
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1;
}

/* Icona hamburger del mega-menu */
.fcrf-mega-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.fcrf-mega-icon span {
    width: 25px;
    height: 3px;
    background-color: currentColor;
    border-radius: 4px;
}

/* Label "Menu" sotto l’icona */
.fcrf-mega-label {
    font-size: 0.9rem;
    margin-top: 10px;
    text-align: center;
    color: currentColor;
    line-height: 1;
}

/* Versione bianca per header trasparente */
body.header-trasp-active .fcrf-mega-btn,
body.header-trasp-active .fcrf-mega-btn .fcrf-mega-icon span,
body.header-trasp-active .fcrf-mega-label {
    color: #fff !important;
}

/* --- Offcanvas mega-menu (pannello dx) --- */

.fcrf-desktop-mega-offcanvas {
    background-color: #121212;
    color: #fff;
}

/* larghezza “equilibrata” */
#fcrfDesktopMegaOffcanvas.offcanvas-end {
    width: 45vw !important;
    max-width: 560px !important;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    #fcrfDesktopMegaOffcanvas.offcanvas-end {
        width: 60vw !important;
        max-width: 560px !important;
    }
}

/* padding orizzontale interno */
.fcrf-desktop-mega-offcanvas .offcanvas-body {
    padding-left: 50px !important;
    padding-right: 50px !important;
}

/* --- Struttura lista mega-menu --- */

/* ul principale */
.fcrf-desktop-mega {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* reset li */
.fcrf-desktop-mega .menu-item {
    margin: 0;
    padding: 0;
    border: none;
}

/* sub-menu */
.fcrf-desktop-mega .sub-menu {
    list-style: none !important;
    margin: 8px 0 0;
    padding: 0;
}

/* Prima riga livello 1 con linea */
.fcrf-desktop-mega > .menu-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding: 12px 0 18px;
}

/* Nessuna linea sui figli */
.fcrf-desktop-mega .sub-menu > .menu-item {
    border: none;
    padding: 4px 0;
}

/* Link primo livello */
.fcrf-desktop-mega a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
}

.fcrf-desktop-mega a:hover {
    opacity: 0.85;
}

/* Link secondo livello: più piccoli e indentati */
.fcrf-desktop-mega .sub-menu > .menu-item > a {
    font-size: 0.95rem;
    padding-left: 28px;
    opacity: 0.95;
}

/* --- Pulsante + / − per aprire i sottomenu --- */

/* li con figli: spazio per l’icona */
.fcrf-desktop-mega-offcanvas .menu-item-has-children {
    position: relative;
    padding-right: 40px;
}

/* link di primo livello cliccabile */
.fcrf-desktop-mega-offcanvas .menu-item-has-children > a {
    display: inline-block;
    width: auto;
    cursor: pointer;
}

/* bottone +/− */
.fcrf-desktop-mega-offcanvas .fcrf-desktop-submenu-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 32px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0;
}

/* animazione icona */
.fcrf-desktop-mega-offcanvas .fcrf-desktop-submenu-toggle i {
    transition: transform 0.25s ease;
    transform-origin: center;
}

/* ruota il + di 45° quando aperto (classe is-open aggiunta via JS) */
.fcrf-desktop-mega-offcanvas .menu-item.is-open > .fcrf-desktop-submenu-toggle i {
    transform: rotate(45deg);
}

/* --- Search nel mega-menu desktop --- */

.fcrf-desktop-mega-search-form .fcrf-desktop-search-field-wrapper {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
}

.fcrf-desktop-mega-search-form .search-field {
    flex: 1;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.22);
    background-color: #1b1b1b;
    color: #fff;
    padding: 0.55rem 0.9rem;
    font-size: 0.95rem;
}

.fcrf-desktop-mega-search-form .search-field::placeholder {
    color: rgba(255,255,255,0.6);
}

.fcrf-desktop-mega-search-form .search-submit {
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.22);
    background-color: transparent;
    color: #fff;
    padding: 0.45rem 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fcrf-desktop-mega-search-form .search-submit:hover {
    background-color: rgba(255,255,255,0.08);
}


/******************************/


.navbar-nav {
  font-family: 'Be Vietnam Pro', sans-serif;
}

.bg-custom {
  background: transparent;
  font-size:22px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") !important;
}

.prop-body .navbar .menu-custom .dropdown-menu a {color: #333 !important;}


/* background custom per toggler icon */
.navbar-dark .navbar-toggler {border:none;}

/* applicazione classe is-scrolled come indicato in scripts.js */
/*.prop-body.is-scrolled .navbar {
  box-shadow: 0px 7px 30px 0px rgba(0, 0, 0, 0.3);
  height:90px;
  background: #0e333e;
}*/

.prop-body-alt .navbar-social a {color:#fff !important;}
.prop-body-alt .navbar-social a:hover {color:#749719 !important;}
.nav-custom {padding-left:80px;padding-right:80px;}

/*#bs5navbar {
  position:relative;
  display:none !important;
}*/

.bg-primary {background: #0e333e!important}

.navbar-brand {width: 210px;}

/*.navbar-brand img {width:90%;}*/

.nav-link {
  font-size:18px;
  }

  ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #999 !important;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #999 !important;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #999 !important;
}
:-moz-placeholder { /* Firefox 18- */
  color: #999 !important;
}

.navbar-dark .navbar-nav .nav-link {color: #fff;}
.navbar-dark .navbar-nav .active>.nav-link, .navbar-dark .navbar-nav .nav-link.active {color: #ccc;}
.navbar-dark .navbar-nav .nav-link:hover {color: #ccc;}

.navbar-light a {
  color:#222 !important;
  font-weight: 500;
  text-decoration: none;
  font-size: 18px;
}


.navbar-light a:hover {
  color:#7F1F1C !important;
}
.navbar-light .nav-link.active {color:#7F1F1C !important;}


/* MENU DROPDOWN
-------------------------------------*/

.dropdown-menu {
  background: #fff;
  border-radius: 6px;
  min-width: 270px;
  box-shadow: 0px 0px 40px rgb(29 58 83 / 10%);
  border: none;
  padding-top: 15px;
  padding-bottom: 15px;
}

.dropdown-menu a {color: #333;}

.prop-body.dropdown-item .navbar .menu-custom a {
    color: #333;
}

/* attiva hover su parent menu */

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item.active {
  background-color:#fff;
  color: #333;
  
}

.dropdown-item {
  width:95%;
  margin: 0 auto;
}

.dropdown-item:hover {
  color: #7F1F1C !important;
  border-radius: 6px;
  background: #f2f2f2;
}

/* per accesibilita */

.dropdown-toggle:focus {
  outline: 3px solid #0056b3; /* Colore con contrasto elevato */
  outline-offset: 3px;
}

/* per accesibilita */

.menu-item-has-children:hover > .dropdown-menu,
.menu-item-has-children:focus-within > .dropdown-menu {
    display: block;
    visibility: visible;
    opacity: 1;
}




/* SLIDER
-------------------------------------*/

.carousel,
.carousel-inner,
.carousel-item{height:600px;}


.carousel-custom {
  bottom: 0 !important;
  text-align: left !important;
}


.slider-big h2 {
  font-size:3.5rem;
  line-height:3.9rem;
  color: #fff;
}

.slider-big .carousel-text p {
    font-weight:300;
    font-size:18px;
    line-height: 26px;
}

.slider-big .carousel-caption {
  max-width:100%;
  left:0px;
  right:0;
}


/* FOCUS
-------------------------------------*/

.focuses {margin-top:40px;}
.focus {
  border-left: 4px solid #333;
  margin-bottom:20px;
}

.focus h3 {
  font-size:24px;
  font-weight:bold;
}

.focus h3 a {color:#333;}

.focus .text-link {
  font-size:12px;
  color: #333;
}

.focus .text-intro {
  font-size: 12px;
  margin-bottom:5px;
  text-transform:uppercase;
  opacity: 0.5;
}


/* CARD
-------------------------------------*/

.card-img-overlay {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.8));
}

.card-img-overlay:hover {
  box-shadow: 0 0 6px 0 rgba(0,0,0,.8);
}

.card-title {
  font-weight: 600;
}

.card-text {
  font-size: 16px;
  line-height: 22px;
}

.card-info {
  font-size: 15px;
  line-height:21px;
  margin-top: 20px;
}

.card-info a {
  color: #7F8C95;
}

.card-body a {
  text-decoration: none !important;
}

.card-cover {
  border-radius: 0;
  min-height: 300px;
  padding: 30px;
  position: relative;
}

.card-cover .card-title {
  font-size: 12px;
  text-transform: uppercase;
  opacity: 0.9;
  font-weight: 300;
}

.card-cover a {
  color: #fff;
  text-decoration: none;
}

.card-cover .card-text {
  font-size: 26px;
  line-height: 28px;
  max-width: 290px;
  font-weight: bold;
}

.card-cover .card-link {
  position: absolute;
  bottom: 10px;
  right: 30px;
}

.card-category {
  box-shadow: 0 0 1rem rgba(0,0,0,.15)!important;
  border:none;
}

.footer-categoria {
  background: #fff;
  border-top: none;
  padding-top: 0px;
  border-radius: 1rem !important;

}

.footer-categoria a {
  color: #333;
  font-size: 16px;
  text-decoration: none;
}


/* CARD BANDI TEMATICI
-------------------------------------*/

/* Box comune */
.stato-bando-box {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 15px;
  border-radius: 15px;
  font-size: 0.9rem;
  color: #fff; 
  z-index: 10;
  font-weight: bold;
}

/* Stato "in corso"  */
.stato-bando-box.in-corso {
  background-color: rgba(40, 167, 69, 0.8); 
  color: #fff;
}

/* Stato "non in corso" */
.stato-bando-box.non-in-corso {
  background-color: rgba(220, 53, 69, 0.8);
  color: #fff;
}

/* Stato "sospeso" */
.stato-bando-box.sospeso {
  background-color: rgba(216, 127, 3, 0.8);
  color: #fff;
}

/* NEWS CARD
-------------------------------------*/

.card-news {
  /*border: none;*/
  border-radius: 1rem !important;
}

.card-news-eventi {
  border-top: 1px solid #f2f2f2;
}

.card-meta {
  font-size:16px;
  color: #555;
}

.card-news .card-meta a {
  text-transform: uppercase;
  font-weight: bold;
}

.card-news .card-title {
  color: #333;
}

.card-news a:hover {text-decoration: none;}

.card-news .card-text {
  font-weight: 300;
}

.card-text p {
  display:initial !important;
}

.card-news .card-info {
  border-top: 1px solid #ddd;
  color: #666;
  padding: 10px;
  font-size: 12px;
}



article h2,h3,h4,h5,h6 {
  margin-bottom:20px;
}


/* CARD EVENTI
-------------------------------------*/

.card-eventi {
  border:none;
  background-color: #f2f2f2;
  border-radius: 25px;
}

.card-eventi-alt {
  border:none;
  border-radius:0px;
  background-color: transparent;
}

.card-eventi-alt img {
  width:inherit !important;
}

.card-appuntamenti {
  border:none;
  background-color: #f2f2f2;
  border-radius: 25px;
}

.card-appuntamenti-alt {
  border:none;
  border-radius:0px;
  background-color: transparent;
}

.imm-articolo-appuntamenti {
  border-radius: 25px;
}

.box-eventi-data {
  border-right:1px #ddd dashed;
  text-align: center;
}

.box-eventi-data-alt {
  text-align: center;
}

.box-eventi-data-alt p {
  font-size:15px;
  line-height:20px;
  text-transform:uppercase;
  font-weight:bold;
}
 
.box-eventi-titolo {
  border-right:1px #ddd dashed;
}

.box-eventi-data p {font-weight:bold;}

/* CARD HOME
-------------------------------------*/

.card.card-home {
  border:none !important;
}

.card-home .card-title {
  font-weight: bold;
  margin-top: -1.25rem;
}

.card-body.card-primopiano {
  padding: 1.25rem 0rem !important;
}

.card-body.card-secondopiano {
  padding: 1.25rem 0rem !important;
}

/* PAGINA HOME
-------------------------------------*/

.home .bg-custom {
  z-index: 2;
}

.card-evidenza {
  border:4px solid #f2f2f2 !important;
  border-radius:25px;
  /*box-shadow: 0 0 6px 0 rgba(0,0,0,.1);*/
}

/*.card-evidenza:hover {
  box-shadow: 0 0 6px 0 rgba(0,0,0,.3);
}*/


.card-eventi {
  border: none;
}

.ui-e--highlighted-text {
  margin: 0;
}

.ui-e-headline-text {
  position: relative;
}

.ui-e-headline-highlighted {
  z-index: 1;
  position: relative;
  white-space: nowrap;
}

.ui-e-headline-text svg {
  position: absolute;
    top: auto;
    left: 50%;
    width: 106%;
    height: 100%;
    transform: translate(-50%);
    overflow: visible;
}

.ui-e-headline-text path {
    stroke: #f0506e;
    stroke-width: 40;
}

/* per le persone */

.ui-e--highlighted-text-persone {
  margin: 0;
}

.ui-e-headline-text-persone {
  position: relative;
}

.ui-e-headline-highlighted-persone {
  z-index: 1;
  position: relative;
  white-space: nowrap;
}

.ui-e-headline-text-persone svg {
  position: absolute;
    top: auto;
    left: 50%;
    width: 106%;
    height: 100%;
    transform: translate(-50%);
    overflow: visible;
}

.ui-e-headline-text-persone path {
    stroke: #f0910b;
    stroke-width: 40;
}

.numeri-home {
  border-right: 2px solid #ABB8C3;
}


/* PAGINA AREA STAMPA
-------------------------------------*/


.card-stampa {
  border-radius: 6px;
}


/* PAGINA GENERICA
-------------------------------------*/


.pagina {
  border-top: 1px solid #ddd;
}


.align-items-center {
    -webkit-box-align: center!important;
    -ms-flex-align: center!important;
    align-items: center!important;
}



.pagina-title {
  font-weight:600;
  font-size: 3rem;
}

.pagina-title-image {
  color:#fff;
  font-weight:600;
  font-size: 3.5rem;
}


.testata-noimage {
  margin-top: -128px;
  padding-top: 150px;
}


.call-to-action-boxsingle-page {
  padding:260px 0px 180px 0px;
}

/* PAGINA STAFF
-------------------------------------*/


.contatti-staff {
  color: #666;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 18px;
}


/* PAGINA GENERICA TESTATA TRASPARENTE
-------------------------------------*/

.testata-noimage-trasp {
  background-image: url(img/grafica-grigia.jpg);
  background-repeat: no-repeat, repeat;
  background-position: center;
  background-color: #80715D;
  background-size: cover;
  padding-top: 200px;
}

.testata-noimage-trasp h1 {
  color: #fff;
}

/* PAGINA GENERICA INIZIATIVE
-------------------------------------*/

.trattino-sx {
    display: block;
    border-top-width: 2px;
    border-top-style: solid;
    overflow: hidden;
    width: 22px;
    border-color: #7F1F1C;
    float: left;
    margin-top: 13px;
    margin-right: 10px;
  }

    .cosa-e {
        font-weight: bold;
        margin-left: 10px;
        float: left;
        display: contents;
    }


.call-to-action-iniziative {
  text-align: center;
  padding-top:380px;
  padding-bottom:250px;
}



/* PAGINA FONDAZIONE
-------------------------------------*/

.box-fondazione {
  border: 1px solid #e7e7e7;
}

.box-fondazione p {
  font-size: 16px;
  line-height: 24px;
}

.box-fondazione a {
  text-decoration: none;
  font-size: 24px;
}

.me-lg-n5 {
  margin-right: -7rem!important;
}


/* PAGINA PROGETTI
-------------------------------------*/

.progetti-noimage {
  background-image: url(img/grafica-rossa.jpg);
  background-color: #892201;
  padding-top: 200px;
  background-repeat: no-repeat, repeat;
  background-position: center;
  background-size: cover;
}

.call-to-action-boxsingle-progetti {
  padding:250px 0px 220px 0px;
}

.pagina-title-progetti {
  font-weight:bold;
  color:#fff;
}

.schede_progetti-template .footer {margin-top:-70px !important;}
.post-template-single-full .footer {margin-top:-45px !important;}
.post-template-single-standard .footer {margin-top:-2px !important;}
.post-template-single .footer {margin-top:-2px !important;}

.settore h3 {
  color: #5FCA6C;
  font-weight: bold;
  margin-bottom: 20px;
}


/* PAGINA MISSIONI
-------------------------------------*/

.box-miss-bt-rg {
  border-bottom-right-radius: 15px;
  background: #f2f2f2; 
  position:relative; 
}

.box-miss-top-lft {
  border-top-left-radius: 15px;
  background: #f2f2f2;
}

.box-miss-top-rg {
  border-top-right-radius: 15px;
  background: #f2f2f2;
}


.box-miss-bt-lft {
  border-bottom-left-radius: 15px;
  background: #f2f2f2;
}

.briciola {
  font-size: 20px;
  text-decoration:underline;
}


/* PAGINA SINGOLA MISSIONE
-------------------------------------*/

.card-missioni {
  background-color: transparent !important;
  border: none !important;
}

.box-bandi p {
  margin-top:-12px;
}

.titolo-missioni {
  color: #fff;
  font-size: 3.5rem;
  font-weight: 600;
}

.carousel-missioni,
.carousel-inner-missioni,
.carousel-item-missioni {
  height:450px;
}

.carousel-inner-missioni {
  border-radius: 8px;
}

.margin-bottom-missioni{
  margin-bottom: 70px;
}

.slider-big h3 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #fff;
}

.margin-bottom-missioni a {
  text-decoration: none !important;
}

.descrizione-azione {
  font-size: 14px; 
  line-height:19px;
}

.descrizione-scadenza {
  font-size: 14px; 
  line-height:19px;
}

/* CARD PROGETTI
-------------------------------------*/


a.card.hover-effect {
  overflow: hidden;
}

.card.hover-effect, img.hover-effect {
    transition: top 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    top: 0;
    position: relative;
}

.card-progetti {
  border-radius: 0.375rem;
  border:none;
}

a:hover.card-progetti {
  box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
  color: #EB5566;
  text-decoration: none;}

a.card-progetti {color:#0e333e;}


/* BLOCKQUOTE POST-EVIDENZA
-------------------------------------*/

.two-blockquote {
  margin-top: 100px;
  margin-bottom: 100px;
}

.two-blockquote p {
  font-weight: 300;
}

.two-blockquote blockquote {
  border-left: 10px solid #A8EE12;
  padding-left: 20px;
}


.two-blockquote blockquote strong {
  font-size: 40px;
  font-weight: bold;
}

.two-blockquote blockquote:nth-child(1) {
  border-left: 10px solid #02EEE3;
  padding-left: 20px;
}


/* TESTIMONIALS
-------------------------------------*/

.testimonials blockquote {
  font-size: 44px;
  color: #333;
  font-weight: bold;
  line-height: 46px;
}

.testimonials a {font-weight: bold;}

.testimonials blockquote:before {
  content: "\201c";
  font-size: 150px;
  position: absolute;
  top: -20px;
  left: -50px;
  font-family: 'Be Vietnam Pro', sans-serif;
  color:#ddd;
}


/* CALL TO ACTION JUMBTRON
-------------------------------------*/

.call-to-action-box {
  padding:360px 0px 90px 0px;
}

.call-to-action-artigiani {
  text-align: center;
  padding-top: 190px;
  padding-bottom: 140px;
}

.cta-title {
  font-size: 56px;
  color:#fff;
  font-weight: 600;
}

.cta-text {
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto;
}


/* PAGINA BLOG
-------------------------------------*/

.titoli-news {
  font-weight:600;
}

.meta-articoli {
  font-size:16px;
  color:#35525B;
}

.imm-articolo {
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
}

.imm-articolo-blog {
  border-radius: 8px;
}

.testo-news {
  font-size: 16px;
  line-height: 24px;
}

/* PAGINA ARCHIVIO CATEGORIA
-------------------------------------*/

.category .testata-news {padding-top:220px;}
.category .testata-news h1 {
  margin-bottom:15px;
  font-weight: 600;
}


/* PAGINA BANDI
-------------------------------------*/

.box-filtro {
  border: 5px solid #f2f2f2 !important; 
  border-radius:50px;
  /*box-shadow:0 0 6px 0 rgb(0 0 0 / 10%);*/
}


/* PAGINA ARCHIVIO BANDI E PROGETTI
-------------------------------------*/

.titoli-bandi-progetti {
  font-weight: bold;
}

.bandi-noimage {
  background: #7F725D;
  padding-top: 200px;
}


/* PAGINA NEWSLETTER
-------------------------------------*/

.box-newsletter #email {
  border-radius: 50px;
  border: 1px solid #ccc;
  width: 100%;
}

.box-newsletter #campo1 {
  border-radius: 50px;
  border: 1px solid #ccc;
  width: 100%;
}

.box-newsletter #campo2 {
  border-radius: 50px;
  border: 1px solid #ccc;
  width: 100%;
}

.box-newsletter button {
  border-radius: 50px;
  padding: 10px 30px;
  background: #7f1f1c;
  border: none;
  color: #fff;
}

.box-newsletter input {
  margin-right: 10px;
}

.box-newsletter label {
  display: block;
}


/* SINGOLO POST STANDARD
-------------------------------------*/

.margin-single {
  margin-top: 70px;
}

.articolo-alto {
  background:#fff;
  border-radius:6px 6px 6px 6px;
  box-shadow: 0 0 6px 0 rgba(0,0,0,.1);
}

.contenuto-post {
  background:#f4f4f5;
}

.titolo-single {
  font-weight:700;
  font-size:3.5rem;
  color:#fff;
  max-width: 80%;
}

.titolo-single-si {
  font-weight:600;
  font-size:3.5rem;
  color:#fff;
  max-width: 90%;
}

.categoria-post {
  text-transform:uppercase;
}

/*con immagine */

.categoria-post a {
  background: transparent;
  color: #fff;
  font-size: 14px;
  padding: 6px 12px 6px 12px;
  border: 2px solid #fff;
  text-transform: uppercase;
  border-radius: 4px;
  text-decoration: none;
}

.categoria-post a:hover {
  text-decoration: none;
  background: #749719;
  border: 2px solid #749719;
}

/*senza immagine */

.categoria-post-si a {
  background: transparent;
  color: #fff;
  font-size: 16px;
  padding: 6px 12px 6px 12px;
  border: 2px solid #fff;
  text-transform: uppercase;
  border-radius: 4px;
  text-decoration:none;
}

.categoria-post-si a:hover {
  text-decoration: none;
  background: #e76e4c;
  border: 2px solid #e76e4c;
}

.categoria-post-si p {margin-bottom: 0.8rem !important;}

.excerpt-articolo {
  color:#fff;
  font-weight: 200;
  /*line-height:2.3rem;*/
}

.articolo h4 {margin-bottom:30px;}
.articolo h3 {margin-bottom:30px;}

.articolo {background:#fff;}

.data-categoria {
  font-size: 15px;
  color: #fff;
  text-transform: uppercase;
}

.data-categoria-si {
  font-size: 14px;
  color: #fff;
  text-transform: uppercase;
  margin-top:-10px;
}

.icona-data {padding-right:5px;}

.icona-categoria {
  padding-right:5px;
  margin-left:25px;
}

.icona-autore {
  margin-left:20px;
  padding-right:5px;
}

.social-btn {
  font-size:1.2rem;
  color:#999;
}

.firma-autore {font-size:16px;}
.text-condividi {font-size:15px;}

.articolo img {
  width:100%;
  height: auto;
  border:none !important;
  /*border-radius:4px;*/
}

.footer-post {
  background-color: #0e333e;
  color:#fff;
}


.divisore-articolo {
  height:1px;
  width:200px;
  text-align:left;
  color:#EB5566;
  background:#EB5566;
}

.tags-articolo {margin-bottom:40px;}



.tags-articolo a {
    padding: 0.3rem 1rem;
    background-color: #fff;
    border: 1px solid #333;
    color: #333;
    margin: 5px;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    display:inline-block;
    text-decoration: none;
}

.tags-articolo a:hover {
  text-decoration:none;
  background: #333;
  color: #fff;
}


/* altezza box con immagine */

.call-to-action-boxsingle {
  padding:240px 0px 60px 0px;
}

/* altezza box senza immagine */

.call-to-action-boxsingleni {
  padding: 230px 0px 130px 0px;
  background-color: #729dbf;
  background-size: cover;
  background-repeat: no-repeat;
}

.cta-titlesingle {
  font-size: 56px;
  color:#fff;
}

.cta-textsingle {
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto;
}

.testata-articolo .jumbotron {margin-bottom:0px !important;}

.testata-articolo-alt .jumbotron {
  margin-bottom:0px !important;
    background-color: #72767b;
    background-size: cover;
    background-repeat: no-repeat;
}


.rpwwt-post-title:hover {
  color: #7F1F1C !important;
}

.post h3 {margin-bottom:25px;}

.tag-box {
  margin-bottom:15px;
  padding-top:15px;
  border-top: 1px solid #ececec;
}

.condividi-post {margin-top:20px;}
.post-correlati {margin-top:30px;}

.relpost-block-single {
  padding:0px !important;
  margin:6px !important;
}



/* SINGOLO POST CLASSIC
-------------------------------------*/

.single-classic h3 {
  font-size: 1.5rem;
  line-height: 1.2;
}


.img-classic {
  border-radius: 8px;
}

.categoria-classic a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-left: 5px;
}

.data-classic {
  font-size: 14px;
}

.next-previous-classic a {
  text-decoration: none;

}

.next-previous-classic {
  font-size: 16px;
  line-height: 22px !important;
}

.prec-succ-classic {
  text-transform: uppercase;
  font-size: 14px;
  font-weight:300;
  opacity: 0.7;
  margin-bottom: 5px !important;
}


/* SINGOLO POST FULL
-------------------------------------*/

.post-full {margin-top:-100px;}

.call-to-action-boxsingle-full {
  padding:260px 0px 80px 0px;
}

.call-to-action-boxsingle-fullsi {
  padding:230px 0px 80px 0px;
}

.titolo-single-full {
  font-weight:bold;
  font-size:3.5rem;
  color:#fff;
}

.titolo-single-fullsi {
  font-weight:bold;
  font-size:3.5rem;
  color:#fff;
}

.categoria-post-full a {
  background: transparent;
    color: #fff;
    font-size: 16px;
    padding: 6px 12px 6px 12px;
    border: 2px solid #fff;
    border-radius: 4px;
    text-transform: uppercase;
    text-decoration:none;
  }

.categoria-post-full a:hover {
  text-decoration: none;
  background: #749719;
  border: 2px solid #749719;
  border-radius: 0px;
}

.categoria-post-fullsi a {
    background: transparent;
    color: #fff;
    font-size: 16px;
    padding: 6px 12px 6px 12px;
    border: 2px solid #fff;
    border-radius: 6px;
    text-transform: uppercase;
  }

  .categoria-post-fullsi a:hover {
    text-decoration: none;
    background: #e76e4c;
    border: 2px solid #e76e4c;
    border-radius: 6px;
  }


.next-prev-post {
  background:#ececec;}

.box-previous {border:1px solid #fff;}
.box-next {border:1px solid #fff;}

.prec-succ {
  color:#fff;
  font-weight:200;
  text-transform:uppercase;
  font-size:14px;
  margin-bottom: 0px;
  opacity: 0.4;
}

.next-previous a {
  color:#fff;
  text-decoration: none;
}

.icona-tag {color:#333;}

.titolo-tag {
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}


/* SINGOLO POST IMAGE
-------------------------------------*/

.title-image {
  font-size: 22px;
}

.entry-attachment {
  width: auto;
}


/* SINGOLO POST BANDO
-------------------------------------*/


.briciola a {
  color: #fff;
  text-decoration: none;
}

.settore-bando-arte {
  font-size: 16px;
  background: #c7a7a7;
  color: #772122;
  padding:6px 10px;
  border-radius:99px;
  font-weight: 500;
  width: auto;
}

.uagb-icon-list__outer-wrap .settore-bando-arte {
  padding:6px 10px;
}

.stato-bando-aperto-scheda {
    font-size: 16px;
    background: #EFFCE8;
    color: #8CD93A;
    padding: 6px 10px;
    border-radius: 99px;
}

.uagb-icon-list__outer-wrap .stato-bando-aperto-scheda {
  padding:6px 10px;
}

.titolo-bando {
  font-weight: 600;
  font-size: 3.5rem;
  color: #fff;
}

/* COMMENTI
-------------------------------------*/

.comments textarea {width:100%;}
.comments label {min-width:80px;}
.comment .reply {
  border-bottom: 1px solid #ccc;
  margin-bottom:30px;
  padding-bottom:10px;
}
.comments ul,
.comments ol {list-style-type:none;}
.comment-author img {border-radius: 999px;}

/* input textarea
-------------------------------------*/

input,
textarea {
  padding: 5px 10px;
}

/* Widgets Sidebar
-------------------------------------*/

.widgettitle {
  font-size: 18px !important;
}


.widget_search {padding:10px;}
.widget_search .screen-reader-text {display:block;}
.widget_search #s {
  width: 70%;
float: left;
border-radius: 50px 0px 0px 50px;
border: 1px solid #bbbb;
}

.widget li {
  list-style-type: none;
  margin-bottom:10px;
  line-height:1.4em;
}
.widget a {
  color:#333;
  text-decoration: none;
}
.widget a:hover {color:#EB5566;}


/* plugin post with thumbanil */
.rpwwt-widget ul li {
    padding: 5px 10px 5px 0px;
    margin: 0 0 0.5em !important;
    font-size:16px;
}

.rpwwt-post-date {
  font-size:14px;
  color:#999;
  margin-top:5px;
}

.rpwwt-widget ul li img {
  border-radius:8%;
  margin: .1em 1em .1em 0 !important;
  width: 100px !important;
  height: 100px !important;
}

.widg_tit {
  position:relative;
  overflow: hidden;
}

.widg_tit_footer {
  position:relative;
  overflow: hidden;
}

.titolo-widget {
  display: block;
  font-size: 18px;
  border-left: 3px solid #7F1F1C;
  padding-left: 15px;
}

.trattino-titolo {
    display: block;
    border-top-width: 2px;
    border-top-style: solid;
    overflow: hidden;
    margin-top: 0.5em;
    width: 50px;
    border-color:#7F1F1C;
  }

  .cat-item {
    border-bottom:1px solid #ddd;
    padding-bottom:15px;
    padding-top:5px;
  }

  .widget_search #searchsubmit {
    color:#fff;
    border:1px solid #7F1F1C;
    width: 30%;
    float: left;
    background: #7F1F1C;
    border-radius: 0px 50px 50px 0px;
}

.footer .widget_search #searchsubmit {
  color:#fff;
  border:1px solid #C9974D;
  width: 30%;
  float: left;
  background:#C9974D;
  padding-bottom: 5px;
}

.footer .widget_search {padding: 0px 10px 0px 10px;}

.widget select {
  width:100%;
  border-radius: 50px;
  border: 1px solid #ddd;
  padding: 10px;
}

.widget-sidebar {
  padding: 40px 30px 40px 30px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid #eee;
}

.footer-social a {color: #1d223f !important;}


/* Widgets Sidebar Footer
-------------------------------------*/


.titolo-widget-footer {
 font-weight: 600;
}



/* paginazione
-------------------------------------*/

.pagination {
  margin-bottom:30px;
  margin-top:30px;
  justify-content: center;
}

.pagination-blog {
  margin-bottom:30px;
  margin-top:30px;
}

.page-numbers {
  display:inline-block;
  padding:10px 15px;
  background: #fff;
  box-shadow: 0 0 6px 0 rgb(0 0 0 / 10%);
  text-decoration: none;
  border-radius: 6px;
}

.page-numbers:hover {
  background: #575757;
  color: #fff;
}

.page-numbers.current {
  background: #575757;
  color: #fff;
}

/* stile generale wordpress
-------------------------------------*/

.post img {
  max-width:100%;
  height:auto;
}


/* pulsanti condivisione social
-------------------------------------*/


/* Contenitore share */
.fcrf-share {
    gap: 1rem;
}

/* Label "Condividi:" */
.fcrf-share-label {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #5a5a5f;
}

/* Gruppo di bottoni */
.fcrf-share-group .btn-share {
    /* dimensione quadrata */
    width: 52px;
    height: 52px;
    padding: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background-color: #f2f1f6; /* stesso colore del background */
    color: #4a4a4f;

    font-size: 1.3rem;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.15s ease,
        color 0.2s ease;
}

/* Hover / focus */
.fcrf-share-group .btn-share:hover,
.fcrf-share-group .btn-share:focus {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #202020;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

/* Stato active (click) */
.fcrf-share-group .btn-share:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

/* Versione mobile: un filo meno spaziosa */
@media (max-width: 575.98px) {
    .fcrf-share {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .fcrf-share-group .btn-share {
        width: 46px;
        height: 46px;
        border-radius: 12px;
        font-size: 1.1rem;
    }
}


/* Articoli recenti sul widget a destra in singolo post
-------------------------------------*/


/* Contenitore lista */
.fcrf-recent-posts {
    margin: 0;
    padding: 0;
}

/* Ogni item */
.fcrf-recent-item {
    gap: 1rem;
}

/* Thumbnail */
.fcrf-thumb-wrapper {
    display: block;
    width: 95px;
    height: 95px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 12px;
}

.fcrf-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Txt */
.fcrf-recent-title {
    display: block;
    font-size: 1.05rem;
    color: #1d1d1f;
    line-height: 1.3;
    text-decoration: none;
}

.fcrf-recent-title:hover {
    text-decoration: underline;
    color:#222 !important;
}

.fcrf-recent-date {
    margin-top: 4px;
    color: #6c6c73;
    font-size: 0.9rem;
}

/* Mobile tweaks */
@media (max-width: 575.98px) {
    .fcrf-thumb-wrapper {
        width: 80px;
        height: 80px;
    }

    .fcrf-recent-title {
        font-size: 1rem;
    }
}



/* ------------------------------------------------------------
FOOTER
-------------------------------------------------------------- */

.footer-alto {
  background-image: url("img/sfondo_newsletter2.png");
  background-color: #575757;
}


.footer-basso {
  color: #444;
  font-size: 16px;
  line-height: 25px;
  margin-top:50px;
}

.footer-sito {
  color: #ddd;
}

.footer-sito h3 {
  color:#fff;
}

.footer-sito a {
  color:#444;
  text-decoration: none;
}

.footer-sito ul {
  text-align: left;
  padding-left: 0px;
}

.footer-sito a:hover {
  color:#333;
}

.margin-footer {
  margin-top:40px;
  margin-bottom: 40px;
}

.footer label {
  font-size:18px;
  line-height:24px;
}


.logo-footer {margin-top:-100px;}

.footer input {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.footer #email {
  width: 100% !important;
  border-radius: 10px;
  height:45px;
  border: none !important;
}

.footer .btn-primary {
  border:1px solid #892200;
  background:#fff;
  border-radius: 20px;
  color: #892200;
}

input.inserisci-email .footer {
  width:100%;
  border-radius:0px !important;
}


.footer h5 {line-height:1.5 !important;}

.boxnewsl {
  border-left:1px solid #ccc;
padding-left:25px; }

.footer-menu {
  background: #005584;
  border-top:1px solid #fff;
}

.footer-menu a {
  color: #fff;
}

#kt-info-box .footer {
  margin: 0 auto !important;
}

.social-footer {
  color: #444;
}

.footer-social {
  text-align: left;
}


/* ------------------------------------------------------------
Media query Tablet
-------------------------------------------------------------- */

@media (max-width:998px) {
  .navbar-social {flex-direction:row !important;}
  .form-control {width:inherit;}
}

@media (max-width:998px) {
  .icon-search {display:none}
}


/* nascondi campo ricerca normale sopra i 998px */

@media (min-width:998px) {
  .cerca-mobile {display:none}
}

@media (min-width:998px) {
  .titoli-home {
    font-size: 19px;
    line-height: 26px;
  }
}

@media (max-width:1180px) {
  .searchandfilter select.sf-input-select  {
    width: 271px !important;
  }
}

@media (max-width:1366px) {
  .searchandfilter select.sf-input-select  {
    width: 328px !important;
  }
}


.icon-search-mobile {
  color:#fff;
  background:transparent;
  border:none;
  font-size:22px;
  margin-right:10px;
}

@media (max-width:998px) {
  .call-to-action-pagina1 {
    padding-top:200px;
    padding-bottom:200px;
  }
}


@media (max-width:998px) {
  .navbar-social {
    margin-right:0px;
  }
}

@media (max-width:998px) {
  .nav-custom {
    padding-left:15px;padding-right:15px;
  }
}

@media (max-width:998px) {
  .testata-articolo {
    margin-top:-21px;
  }
}


@media (max-width:998px) {
  .content-articolo {
    padding-top:70px;
  }
}


@media (max-width:998px) {
  .scheda-intro h3 {
    max-width:100%;
    font-size: 1.45rem;
  }
}

@media (max-width:998px) {
  .footer-sx {
    background-image: none;
  }
}


@media (max-width:998px) {
  .footer-dx {
    background-image: none;
  }
}

@media (max-width:998px) {
  .logo-footer {
    margin-top: -115px;
  }
}


@media (max-width:998px) {
.wp-pagenavi span  {
  margin:0px;
  border:0px;
  }
}

@media (max-width:998px) {
.wp-pagenavi a  {
  margin:0px;
  border:0px;
  }
}

@media (max-width:998px) {
  .slider-big h2 {
    font-size:2.3rem;
  }
}



@media (max-width:998px) {
.btn-beneficiari {
  display:none;
  }
}


@media (max-width:998px) {
  .descrizione-azione {
    display:none;
    }
  }


@media only screen and (max-width: 998px) {
  #rmp_menu_trigger-76670 {
    display: none !important;
  }
}

@media only screen and (max-width: 1024px) {
  #rmp_menu_trigger-76670 {
    display: none !important;
  }
}

  @media (max-width:1024px) {
    .descrizione-azione {
      display:none;
      }
    }

@media (max-width:1024px) {
  .slider-big h2 {
    font-size:2.3rem;
  }
}



@media (max-width:1024px) {
.wp-pagenavi span  {
  margin:0px;
  border:0px;
  }
}

@media (max-width:1024px) {
.wp-pagenavi a  {
  margin:0px;
  border:0px;
  }
}


@media (max-width:1024px) {
.searchandfilter select.sf-input-select {
  width: 268px !important;
  }
}


@media (max-width:1200px) {
  .um-directory .um-member-directory-header .um-member-directory-header-row.um-member-directory-filters-bar {
    padding: 15px 20px 30px 20px;
  }
}



@media (max-width:1200px) {
  .um-profile-body {
    max-width:940px !important;
  }
}

@media (max-width:1200px) {
  .um-profile-nav {
    margin-left:20px;
  }
}


@media (max-width:1200px) {
  .navbar-brand img {
    width:85%;
  }
}



/* ------------------------------------------------------------
Media query Smartphone
-------------------------------------------------------------- */


@media (max-width:767px) {
  .slider-big h2 {
    font-size:2.3rem;
    line-height:2.7rem;
  }
}

@media (max-width:767px) {
  .box-progetto-primopiano {
    text-align:center;
    padding-top:70px;
    padding-bottom:70px;
  }
}

@media (max-width:767px) {
  .icon-search {display:none}
}


@media (max-width:767px) {
  .cerca-navbar {display:none}
}

@media (max-width:767px) {
  .call-to-action-pagina1 {
    padding-top:200px;
    padding-bottom:200px;
    /*margin-top:30px;*/
  }
}

@media (max-width:767px) {
  .call-to-action-pagina2 {
    margin-top:30px;
  }
}


@media (max-width:767px) {
  .blocco-dx {
    padding-left:0px;
    padding-right:0px;
  }
}

@media (max-width:767px) {
  .navbar-social {
    margin-right:0px;
  }
}


@media (max-width:767px) {
  .nav-custom {
    padding-left:15px;padding-right:15px;
  }
}

@media (max-width:767px) {
  .excerpt-articolo {
    font-size:1.1em;
  }
}


@media (max-width:767px) {
  .testata-articolo {
    margin-top:-21px;
  }
}



@media (max-width:767px) {
  .tasti-social  {
    text-align:left;
  }
}


@media (max-width:767px) {
  .content-articolo {
    padding-top:70px;
  }
}


@media (max-width:767px) {
  .call-to-action-boxsingle {
    padding:180px 0px 30px 0px;
  }
}

@media (max-width:767px) {
  .tags-articolo a {
    padding: 3px;
    margin: 5px;
    font-size: 14px;
    font-weight: 600;
  }
}


@media (max-width:767px) {
  .scheda-intro h3 {
    max-width:100%;
    font-size: 1.45rem;
  }
}

@media (max-width:767px) {
  .kt-tabs-wrap .wp-block-kadence-tab {
    padding:20px !important;
  }
}


@media (max-width:767px) {
  .footer-sx {
    background-image: none;
  }
}

@media (max-width:767px) {
  .footer-dx {
    background-image: none;
  }
}


@media (max-width:767px) {
  .titolo-single-full {
    font-size:2.3rem;
  }
}

@media (max-width:767px) {
  .call-to-action-boxsingle-full {
    padding: 160px 0px 80px 0px;
  }
}

@media (max-width:767px) {
  .titolo-single {
    font-size: 2.0rem;
  }
}


@media (max-width:767px) {
  .call-to-action-boxsingle-progetti  {
    padding:185px 0px 135px 0px;
    border-radius: 0px;
  }
}

@media (max-width:767px) {
  .immagine-progetto {
    min-height:150px;
  }
}


@media (max-width:767px) {
  .logo-footer {
    margin-top: -125px;
  }
}

@media (max-width:767px) {
  .titolo-single-si {
    font-size:2.3rem;
  }
}

@media (max-width:767px) {
  .slider-big .carousel-text p {
    font-weight:300;
    font-size:18px;
    line-height: 26px;
  }
}

@media (max-width:767px) {
  .navbar-collapse {
    background: #AA3338;
    padding-left: 25px;
    padding-top: 10px;
  }
}

@media (max-width:767px) {
  .carousel-control-next-icon {
    display:none;
  }
}

@media (max-width:767px) {
  .carousel-control-prev-icon {
    display:none;
  }
}

@media (max-width:767px) {
  #cn-notice-text {
    font-size:11px !important;
    line-height: 20px !important;
  }
}



@media (max-width:767px) {
  .searchandfilter input {
    width:320px;
  }
}

@media (max-width:767px) {
  .searchandfilter label {
    padding: 5px 0px;
  }
}



@media (max-width:767px) {
  .sdropdown:hover .dropdown-menu  {
    display: block;
  }
}


@media (max-width:767px) {
  .sdropdown:hover .dropdown-menu  {
    display: block;
  }
}

@media (max-width:767px) {
.navbar-brand img  {
    width:80%;
  }
}

@media (max-width:767px) {
.progetti-attivita  {
    margin-top:66px;
  }
}

@media (max-width:767px) {
.sezione-news  {
    margin-top:66px;
  }
}




@media (max-width:767px) {
.call-to-action-attivita  {
  text-align:center;
  padding-top: 100px;
  padding-bottom: 100px;
  width:inherit;
  }
}

@media (max-width:767px) {
.call-to-action-attivita h1  {
  color:#fff;
  }
}

@media (max-width:767px) {
.call-to-action-attivita h2  {
  color:#fff;
  }
}

@media (max-width:767px) {
.call-to-action-attivita h3  {
  color:#fff;
  }
}

@media (max-width:767px) {
.call-to-action-attivita h4  {
  color:#fff;
  }
}

@media (max-width:767px) {
.call-to-action-attivita h5  {
  color:#fff;
  }
}




@media (max-width:767px) {
.spazio-attivita  {
  padding-top: 30px;
  padding-bottom: 30px;
  }
}

@media (max-width:767px) {
.call-to-action-box  {
  padding:170px 0px 40px 0px;
  }
}

@media (max-width:767px) {
.wp-pagenavi span  {
  margin:0px;
  border:0px;
  }
}

@media (max-width:767px) {
.wp-pagenavi a  {
  margin:0px;
  border:0px;
  }
}

@media (max-width:767px) {
#az-tabs  {
  font-size: 14px;
  line-height:22px;
  }
}

@media (max-width:767px) {
.call-to-action-artigiani  {
  padding-top: 160px;
  padding-bottom: 100px;
  }
}

@media (max-width:767px) {
.boxnewsl  {
  padding-left:0px;
  border-left:none;
  }
}

@media (max-width:767px) {
.carousel, .carousel-inner, .carousel-item  {
  height:450px;
  }
}


@media (max-width:767px) {
.margin-bottom  {
  margin-bottom:130px;
  }
}

@media (max-width:767px) {
.call-to-action-home  {
  padding-top:100px;
  padding-bottom:100px;
  }
}

@media (max-width:767px) {
.call-to-action-iniziative  {
  padding-top:70px;
  padding-top:70px;
  }
}

@media (max-width:767px) {
.home-siamo {
  padding-top: 30px;
  padding-bottom: 30px;
  }
}

@media (max-width:767px) {
.wpcf7-text {
  width:100%;
  }
}

@media (max-width:767px) {
.wpcf7-form-control-wrap textarea {
  width:100%;
  border-radius:6px;
  border: 1px solid #ccc;
  }
}

@media (max-width:767px) {
.footer input {
  font-size:16px;
  }
}

@media (max-width:767px) {
.mc4wp-form-fields input {
  font-size:15px;
  }
}

@media (max-width:767px) {
#cookie-notice .cn-button {
  font-size: 14px;
  }
}

@media (max-width:767px) {
.testata-tassonomie {
  padding-top: 250px;
  }
}

@media (max-width:767px) {
.contatta-footer {
  display:none;
  }
}

@media (max-width:767px) {
.um-col-121 {
  width: 100% !important;
  }
}

@media (max-width:767px) {
.um-col-122 {
  width: 100% !important;
  }
}

@media (max-width:767px) {
.um-profile-body {
  margin-left: 15px !important;
  padding-left: 15px !important;
  width:88% !important;
  }
}

@media (max-width:767px) {
.um-profile-nav {
  margin-left: 15px !important;
  }
}

@media (max-width:767px) {
.carousel-home .trattino-sx  {
  display:none;
  }
}

@media (max-width:767px) {
.titolo-colorato {
  color:#fff;
  }
}

@media (max-width:767px) {
.btn-home {
  color:#fff !important;
  }
}

@media (max-width:767px) {
.icona-colorata {
  color:#fff;
  }
}

@media (max-width:767px) {
.pulsante-dx {
  float:left;
  }
}

@media (max-width:767px) {
.chisiamo {
  margin-top:73px;
  padding-top:10px;
  padding-bottom:60px;
  }
}

@media (max-width:767px) {
.mt-n3 {
  margin-top: -0.5rem!important;
  }
}

@media (max-width:767px) {
.pt-sm-10 {
  padding-top: 2rem!important;
  }
}

@media (max-width:767px) {
.curva-right {
  background-image: none;
  }
}

@media (max-width:767px) {
.pagina-title {
  font-size: 2.0rem;
  }
}

@media (max-width:767px) {
.float-right {
  float:left;
  }
}

@media (max-width:767px) {
.display-4  {
  font-size:2.7rem !important;
  }
}


@media (max-width:767px) {
.intro-iniziative  {
  padding-top: 1rem;
  padding-bottom: 0.5rem;
  }
}


@media (max-width:767px) {
.categoria-post  {
  display:none;
  }
}

@media (max-width:767px) {
#rmp-search-box-13039 .rmp-search-box  {
  border-radius:4px;
  border:none;
  height: 40px;
  }
}


@media (max-width:767px) {
.evidenza-home  {
  box-shadow: inherit;
  border-radius: inherit;
  }
}

@media (max-width:767px) {
.evidenza-home  {
  box-shadow: inherit;
  border-radius: inherit;
  }
}

@media (max-width:767px) {
.slider-home  {
  padding:0px;
  }
}


@media (max-width:767px) {
.me-lg-n5  {
  margin-right: 0rem !important;
  }
}


@media (max-width:767px) {
.btn-beneficiari {
  display:none !important;
  }
}

@media (max-width:767px) {
.searchandfilter select.sf-input-select {
  width: 340px !important;
  background: #f2f2f2;
  border:1px solid #333 !important;
  border-radius: 20px;
  }
}

@media (max-width:767px) {
  .page-id-68916 .searchandfilter select.sf-input-select {
    border:none !important;
    width: 320px !important;
    height: 35px !important;
    }
  }

  @media (max-width:767px) {
    .page-id-68916 .searchandfilter ul li {
      margin: 0px 0px 20px 0px !important;
      }
    }


  @media (max-width:767px) {
    .page-id-60655 .searchandfilter select.sf-input-select {
      border:none !important;
      width: 320px !important;
      height: 35px !important;
      }
    }


    @media (max-width:767px) {
      .page-id-60655 .searchandfilter ul li {
        margin: 0px 0px 20px 0px !important;
        }
      }



@media (max-width:767px) {
  .descrizione-azione {
    display:none;
    }
  }


@media (max-width:767px) {
  .margin-single {
    margin-top: 20px;
    }
  }

@media (max-width:767px) {
  .widget-sidebar {
    border:none;
    }
  }

  @media (max-width:767px) {
    .numeri-home {
      border-right:none;
      }
    }

@media (max-width:767px) {
  .pagina-title-image {
    font-size: 2.3rem;
    }
  }

@media (max-width:767px) {
  .titolo-bando {
    font-size: 2.3rem;
    }
  }

@media (max-width:767px) {
  .footer-basso {
    text-align:center;
    margin-top: 20px;
    }
  }

@media (max-width:767px) {
  .footer-sito ul {
    text-align:center;
    }
  }


@media (max-width:767px) {
  .footer-social {
    text-align:center;
    }
  }

@media (max-width:767px) {
  .margin-footer {
    margin-top:20px;
    margin-bottom:20px;
    }
  }

@media (max-width:767px) {
  .iniziative-pag {
    padding-top:50px;
    padding-bottom:40px;
    }
  }

@media (max-width:767px) {
  .box-miss-bt-rg {
    border-radius: 0px;
    }
  }

  @media (max-width:767px) {
    .box-miss-top-lft {
      border-radius: 0px;
      }
    }

@media (max-width:767px) {
  .box-miss-top-rg {
    border-radius: 0px;
    }
  }


@media (max-width:767px) {
  .box-miss-bt-lft {
    border-radius: 0px;
    }
  }

@media (max-width:767px) {
  .testata-noimage-trasp {
    padding-top:150px;
    }
  }

@media (max-width:767px) {
  .box-filtro {
    border: none !important; 
    border-radius:0px;
    box-shadow: none;
    }
  }


@media (max-width:767px) {
  .is-menu {
    display:none !important;
    }
  }

@media (max-width:767px) {
  .briciola {
    font-size: 18px;
    }
  }


@media (max-width:767px) {
  .wpml-ls-legacy-dropdown {
    margin: 0 auto;
    }
  }

@media (max-width:767px) {
  .box-eventi-data  {
    text-align:left;
    border-right: none;
    }
  }


@media (max-width:767px) {
  .box-eventi-data p  {
    font-weight: normal;
    }
  }

  @media (max-width:767px) {
    .box-eventi-titolo  {
      border-right: none;
      }
    }


@media (max-width:767px) {
  .imm-articolo-blog {
    display: none;
    }
  }

@media (max-width:767px) {
  .btn-link-alt {
    display: none;
    }
  }

  @media (max-width:767px) {
  .btn-link-alt2 {
    display: none;
    }
  }


  @media (max-width:767px) {
    .box-eventi-data-alt {
      text-align: left;
      font-weight:normal;
      }
    }


    @media (max-width:767px) {
      .box-eventi-data-alt p {
        font-weight:normal;
        }
      }


@media (max-width:767px) {
  select[name='_sft_anno-comunicato[]'] {
  border: 0px solid !important;
  }
}


@media (max-width:767px) {
  .absolute-top {
  top: -32px;
  }
}

@media (max-width:767px) {
  .page-id-54456 select[name='_sft_missioni[]'] {
  border: 3px solid #ddd !important;
  }
}

@media only screen and (max-width: 767px) {
  #rmp_menu_trigger-76670 {
    display: none !important;
  }
}
  

@media (min-width: 1400px) {
  .container-xxl { max-width: 1600px; } /* o 1500/1536/1600 */
}

/* WordPress Core styles
-------------------------------------------------------------- */


.bypostauthor {
  border-left: 3px solid #ddd;
  padding-left:20px;
}

.gallery-caption {
  padding:5px;
  font-size:14px;
  line-height:22px;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 15px 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}


/* ------------------------------------------------------------
plugin aggiuntivi
-------------------------------------------------------------- */

div.advgb-tab-body {
  padding: 40px 30px 30px 30px;
  background:#fff;
  border: 1px solid #dee2e6 !important;
}

li.advgb-tab.ui-tabs-active a {color:#333 !important}
.advgb-tab.ui-state-default.ui-corner-top {
  background-color:transparent !important;
  border:none !important;
}

.advgb-tab.ui-state-default.ui-corner-top a {
  color:#EB5566 !important;
}

.advgb-tab.ui-state-default.ui-corner-top a:hover {
  border-top:1px solid #dee2e6 !important;
  border-left:1px solid #dee2e6 !important;
  border-right:1px solid #dee2e6 !important;
  border-radius:4px 4px 0px 0px !important;

  margin: -1px -1px -1px -1px;
}

.advgb-tab.ui-state-default.ui-corner-top.ui-tabs-active.ui-state-active {
  background-color:#fff !important;
  border-top:1px solid #dee2e6 !important;
  border-left:1px solid #dee2e6 !important;
  border-right:1px solid #dee2e6 !important;
  border-radius:4px 4px 0px 0px !important;
}

.advgb-tab.ui-state-default.ui-corner-top.ui-tabs-active.ui-state-active a {color:#333 !important;}

.advgb-tab.ui-state-default.ui-corner-top.ui-tabs-active.ui-state-active a:hover {
  border-top:none !important;
  border-left:none !important;
  border-right:none !important;
  border-radius:none !important;
  margin: 0px 0px 0px 0px !important;
}



/*** KADENCE BLOCKS ***/

.tab-settori .kt-tabs-layout-vtabs>.kt-tabs-title-list  {
  width: 20% !important;
}

.kb-gallery-caption-style-below .kadence-blocks-gallery-item .kadence-blocks-gallery-item-inner .kadence-blocks-gallery-item__caption {
  padding: 20px 10px 10px 10px !important;
}

.kb-gallery-ul .kadence-blocks-gallery-item .kadence-blocks-gallery-item-inner .kadence-blocks-gallery-item__caption {
  text-align: left !important;
  font-size: 18px !important;
  font-family: inherit !important;
}

li.kt-tab-title-active {
  font-weight:bold;
  /*border-left: 2px solid #000;*/
}


.tab-settori .kt-tabs-layout-vtabs>.kt-tabs-content-wrap {
  width: 80% !important;
}


/* Grid style */
.display-posts-listing.grid {
	display: grid;
	grid-gap: 16px;
}

.display-posts-listing.grid .title {
	display: block;
  margin-top:20px;
  margin-bottom:20px;
}

.display-posts-listing.grid .title {
  color: #0e333e !important;
  font-size: 26px !important;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: bold;
}

.display-posts-listing.grid img {
	display: block;
	max-width: 100%;
	height: auto;
}

@media (min-width: 600px) {
	.display-posts-listing.grid {
		grid-template-columns: repeat( 2, 1fr );
	}
}

@media (min-width: 1024px) {
	.display-posts-listing.grid {
		grid-template-columns: repeat( 3, 1fr );
	}
}

.listing-item {padding:20px;background:#fff;}

.mega-current-menu-item a {
  color:#5FCA6C !important;
}

.grecaptcha-badge {display:none !important;}

.display-posts-listing.grid .title {
  font-size:22px !important;
}

.display-posts-listing.grid .excerpt {
  font-size:16px !important;
}


.player {height:inherit !important;}


.embed-container {
        position: relative;
        padding-bottom: 56.25%;
        overflow: hidden;
        max-width: 100%;
        height: auto;
    }

    .embed-container iframe,
    .embed-container object,
    .embed-container embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

#cookie-notice {
  font-size:16px !important;
  line-height: 25px !important;
  opacity: 0.8;
}

#cookie-notice a {
  color: #fff !important;
  text-decoration: underline;
}

#cn-notice-buttons a {
  color: #333 !important;
  text-decoration: none !important;
}

#cn-notice-text {display:inline-blocK;}

.destination-email {display:none !important;}

.uagb-icon-list-repeater a {color:#749719;}

.wp-block-gallery.is-cropped .blocks-gallery-item img {border-radius: 6px;}

/* plugin responsive menu */

.prop-body-alt .responsive-menu-pro-inner {background-color: #fff !important;}
.prop-body-alt .responsive-menu-pro-inner::before {background-color: #fff !important;}
.prop-body-alt .responsive-menu-pro-inner::after {background-color: #fff !important;}
.prop-body-alt.is-scrolled .responsive-menu-pro-inner {background-color: #0076b8 !important;}
.prop-body-alt.is-scrolled .responsive-menu-pro-inner::before {background-color: #0076b8 !important;}
.prop-body-alt.is-scrolled .responsive-menu-pro-inner::after {background-color: #0076b8 !important;}
.prop-body.is-scrolled .responsive-menu-pro-inner {background-color: #fff !important;}
.prop-body.is-scrolled .responsive-menu-pro-inner::after {background-color: #fff !important;}
.prop-body.is-scrolled .responsive-menu-pro-inner::before {background-color: #fff !important;}
.prop-body.is-scrolled button#responsive-menu-pro-button {top: 5px !important;}
.is-scrolled button#responsive-menu-pro-button {top: 5px !important;}
#responsive-menu-pro-container #responsive-menu-pro li.responsive-menu-pro-item a .responsive-menu-pro-subarrow {
  background-color: transparent !important;
  border-left: none !important;
}

#responsive-menu-pro li a {font-weight:500;}


.letter-title {display:none;}
.az-links {display:none;}
.back-to-top {display:none;}


/* plugin wp_pagenavi */

.wp-pagenavi a, .wp-pagenavi span  {
  padding: 8px 10px !important;
  font-size: 18px;
}

.wp-pagenavi a {
  text-decoration: none;
}

.wp-pagenavi a:hover {
  background-color: #575757;
  color: #fff;
  border-radius: 6px;
}

.wp-pagenavi span.current {
  background-color: #575757;
  color: #fff;
  border-radius: 6px;
}


.wp-block-cover .wp-block-cover__inner-container .pulsante_gut {text-align: center !important;}

.mc4wp-form-fields input {
    border-radius: 6px 0px 0px 6px;
    border: 1px solid #bbbb;
    padding: 7px 10px 8px 10px;
  }

  .mc4wp-form-fields a {
    color: #333;
    text-decoration: underline;
  }
.max-1-columns ul {margin-bottom:0;}

.wp-block-media-text__media img {
  height: auto;
}


/* PLUGIN GRAVITY FORMS */

.gform_wrapper label.gfield_label {
  font-weight: inherit !important;
}

.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
  width:100%;
  border-radius: 25px;
  border: 1px solid #ccc;
}

.gform_wrapper.gravity-theme .gform_footer input {
  background: #fff;
  border: 2px solid #7f1f1c;
  border-radius: 50px;
  color: #7f1f1c;
  padding: 8px 30px 8px 30px;
}

.gform_wrapper.gravity-theme .gform_page_footer input {
  background: #0078B2;
  border: none;
  border-radius: 4px;
  color: #fff;
  padding: 8px 20px 8px 20px;
}

.gform_wrapper.gravity-theme .gfield textarea.large {
  border-radius: 25px;
  border: 1px solid #ccc;
}

.gfield_consent_label {
  display: inline !important;
}

.gform_wrapper.gravity-theme .gfield select.large {
  border-radius: 25px;
  border: 1px solid #ccc;
}



/* SEARCH AND FILTER */

.searchandfilter select.sf-input-select {
  width: 388px;
  border: none;
  font-size: 18px !important;
  height:42px;
  padding: 9px;
  background: #fff;
}

select[name="_sft_territorio"] {
  background: #000;
}

.sf-level-0.sf-item-0 {
  background: #fff;
}

.searchandfilter input {
    width: 320px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 16px;
}


.searchandfilter ul li {
  display:inline-block;
  margin: 0px 20px 0px 0px;
}

.searchandfilter ul {
  padding-left: 0 !important;
}


.chosen-container-single .chosen-single {
  background: #fff !important;
  border: none !important;
  height: 40px;
  border-radius: 0px !important;
  line-height: 40px;
  z-index: 1;
}

.chosen-container-single .chosen-single div b {
  background: url(/wp-content/plugins/search-filter-pro/public/assets/css/chosen-sprite.png) 0 10px no-repeat !important;
}

.chosen-container-single .chosen-drop {
  border: 1px solid #ddd !important;
  padding: 15px 5px 5px 5px;
  margin-top: 0px !important;
  z-index: 0;
  -webkit-box-shadow: none !important;
}

.chosen-container.chosen-with-drop .chosen-drop {
  z-index: 1;
}

.chosen-container-single .chosen-single span {
  font-size:20px;
  text-align: left;
}


select[name='_sft_territorio[]'] {
  border-left: 1px solid #ddd !important;
}

select[name='_sft_stato_bando[]'] {
  border-left: 1px solid #ddd !important;
}

.page-id-54456 select[name='_sft_missioni[]'] {
  border-left: 1px solid #ddd !important;
}

select[name='_sft_anno-comunicato[]'] {
  width: 380px !important;
}

select[name='_sft_settore-comunicato[]'] {
  width: 380px !important;
}

select[name='_sft_istituzione-comunicato[]'] {
  width: 380px !important;
}


/* Regole specifiche per Firefox */
@-moz-document url-prefix() {
  select[name='_sft_istituzione-comunicato[]'] {
    width: 320px !important; /* Imposta il valore desiderato solo per Firefox */
  }
}

/* Regole specifiche per Firefox */
@-moz-document url-prefix() {
  select[name='_sft_settore-comunicato[]'] {
    width: 320px !important; /* Imposta il valore desiderato solo per Firefox */
  }
}

/* Regole specifiche per Firefox */
@-moz-document url-prefix() {
  select[name='_sft_anno-comunicato[]'] {
    width: 320px !important; /* Imposta il valore desiderato solo per Firefox */
  }
}



.sf-field-taxonomy-anno-comunicato {
  border: 1px solid #ddd;
  margin: 0px 0px 10px 0px !important;
  border-radius: 6px;
  padding: 6px 0 !important;
}

.sf-field-taxonomy-settore-comunicato {
  border: 1px solid #ddd;
  margin: 0px 0px 10px 0px !important;
  border-radius: 6px;
  padding: 6px 0 !important;
}

.sf-field-taxonomy-istituzione-comunicato {
  border: 1px solid #ddd;
  margin: 0px 0px 10px 0px !important;
  border-radius: 6px;
  padding: 6px 0 !important;
}

.sf-field-submit {
  display: block !important;
  margin: 0px !important;
}

input[name="_sf_submit"] {
    width: 100% !important;
    border-radius: 6px;
    background: #222;
    color: #fff;
    border: none;
    font-size: 16px;
    height: 50px;
}

.sf-field-reset {
  margin: 0px !important;
}


/* COOKIE NOTICE */

#cookie-notice {
  background: #575757 !important;
  opacity:1 !important;
}

.cn-buttons-container {
  margin-bottom:20px;
}

.cn-text-container {
  padding-top:25px;
  padding-bottom:25px;
}

.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img {
  border-radius:4px;
  border: 2px solid #fff;
}

.uagb-post-grid .is-grid.uagb-post__equal-height .uagb-post__inner-wrap {
    box-shadow: 0 0 6px 0 rgb(0 0 0 / 10%);
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.uagb-post__image:first-child {
  margin-bottom: 25px;
}

.uagb-post-grid .uagb-post-grid-byline {
  margin-bottom: 0px !important;
}

.uagb-post__image-position-background .uagb-post__image {
  box-shadow: 0 0 6px 0 rgb(0 0 0 / 10%);
  border-radius: 4px;
}

.uagb-post-pagination-wrap a {
  text-decoration: none;
}

.box-verticale .uagb-post__inner-wrap {
    padding:0px !important;
}

.box-verticale-evidenza .uagb-post__inner-wrap {
    padding:0px !important;
}

.box-verticale-altri .uagb-post__inner-wrap {
    padding:0px !important;
}

.box-verticale .uagb-post__text .uagb-post__title {
  padding-top:250px !important;
  text-transform: uppercase;
}

.box-verticale-evidenza .uagb-post__text .uagb-post__title {
  padding-top:322px !important;
  text-transform: uppercase;
}

.box-verticale-altri .uagb-post__text .uagb-post__title {
  padding-top:171px !important;
  text-transform: uppercase;
}

.box-verticale .uagb-post__text {
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 8px;
}

.box-verticale-evidenza .uagb-post__text {
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 8px;
}

.box-verticale-altri .uagb-post__text {
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 8px;
}


.grid-gute {
  box-shadow: 0 0 6px 0 rgb(0 0 0 / 10%);
}


/* ADD TO ANY */

.addtoany_list.a2a_kit_size_32 a:not(.addtoany_special_service)>span {
  height: 35px;
    line-height: 35px;
    width: 35px;
    border-radius: 50px;
    padding: 5px;
}

/* CUSTOM LAYOUTS */

.cl-layout {
  font-family: 'Be Vietnam Pro', sans-serif !important;
}

.cl-template a {
  font-family: 'Be Vietnam Pro', sans-serif !important;
}


.breadcrumbs span[property="name"] {
    display: inline-block;
    padding: 0;
    margin-top: -3px;
    vertical-align: middle;
    max-width: 60px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

mark {
  padding: 0 !important;
}

.uagb-post-grid .uagb-post__image img {
  border-radius: 15px;
  height: auto;
}

.ui-datepicker:not(.gform-legacy-datepicker):not(.gform-theme-datepicker) {
  width:350px !important;
}

.bordo.wp-block-cover .has-background-dim:not([class*=-background-color]) {
  border-radius: 6px !important;
}

.bordo.wp-block-cover .wp-block-cover__image-background {
  border-radius: 6px !important;
}

.uagb-timeline__outer-wrap .uagb-timeline__field a {
  text-decoration: underline !important;
}

.box-home .kt-inside-inner-col:before {
  border-radius: 6px;
}



.box-home .wp-block-cover__image-background img {
  border-radius: 6px;
}


/* YVORY SEARCH
-------------------------------------*/

.is-menu {
  top:6px;
  left: 8px;
}
.navbar-light .is-menu path.search-icon-path {fill: #333 !important;}
.navbar-dark .is-menu path.search-icon-path {fill: #fff !important;}
.is-form-style input.is-search-input {
  border-radius: 25px;
  box-shadow: 0 0 6px 0 rgb(0 0 0 / 10%);
  border: 1px solid #ddd;
  font-size: 18px!important;
  height: 50px;
}

.is-popup-search-form form.is-ajax-search {
  margin: 40px auto 0;
}

.is-popup-search-form form {
  width: 55%;
}

div.is-ajax-search-result {
  background: #fff !important;
  border-radius: 6px;
  margin-top: 10px;
}

#is-popup-wrapper {
      height:128px !important;
}

.admin-bar #is-popup-wrapper {
  height:170px !important;
}

.admin-bar .is-popup-search-form {
  margin: 70px auto 0 !important;
}

.admin-bar .popup-search-close {
  margin: 80px 70px 0 0 !important;
}

.is-ajax-search-post .is-title a {
  font-size: 16px !important;
}

.is-ajax-search-result a {
  color: #7F1F1C !important;
  font-weight: 500 !important;
}

body .popup-search-close:before, body .search-close:before {
  border-color: #fff !important;
}

.popup-search-close:before, .search-close:before {
  border-left: 2px solid #fff !important;
}

body .popup-search-close:after, body .search-close:after {
  border-color: #fff !important;

}

.popup-search-close:after, .search-close:after {
  border-left: 2px solid #fff !important;
}

.popup-search-close:after {
  height: 25px !important;
}

.popup-search-close:before {
  height: 25px !important;
}

.popup-search-close {
  margin: 50px 70px 0 0 !important;
}

div.is-ajax-search-result {
  box-shadow: 0 0 6px 0 rgb(0 0 0 / 10%);
}

.rmp-search-box {
  border-radius: 25px !important;
}

.is-form-style button.is-search-submit {
  position: absolute;
  top: 7px;
  right: 55px;
  
}

.is-form-style input.is-search-submit, .is-search-icon {
  border: none;
  background: transparent;
}

.is-form-style {
  margin-right: -20px;
}

.is-form-style input.is-search-submit, .is-search-icon:hover {
  background: transparent;
}

.wp-block-kadence-posts .loop-entry .post-thumbnail img {
  border-radius:6px !important;
}

.wp-block-kadence-posts .loop-entry .entry-header .entry-title {
  font-weight: 600;
}

.wp-block-kadence-posts .loop-entry .entry-header .entry-title a {
  text-decoration: none;
}

.rmp-menu-subarrow {
    font-size: 25px;
}

.rmp-submenu-open {
    margin-top:15px;
}

.prop-body-alt .rmp-trigger-text {
    color: #fff !important;
}