/*
Theme Name: FCRF_TMM2
Theme URI:
Author: Alessio Bertolani per Fondazione CR Firenze
Author URI:
Description: Startertheme with Bootstrap 5.3.8
Version: 2.1.1
Requires PHP: 8.0
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_tmm2

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.
*/

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

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

body{
  display: flex;
  /* aggiungi 100% vertical height */
  min-height: 100vh;
  flex-direction: column;
  font-family: bilo, sans-serif;
  font-size: 20px;
  line-height: 24px;
  color:#333;
  background:#fff;
}

/*togli padding top solo in home */
body.navbar-trasp {padding-top:0;}

.main-content {
  flex:1;
  background:#f3f7f5;
  z-index: 10;
  padding-bottom: 200px;
  border-radius: 0 0 50% 50%/0 0 5% 5%;
}

a {color: #026c32;}
a:hover {text-decoration:none;}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: degular, sans-serif;
  color: #000;
  font-weight:600;
}
.um-header {
  display: none!important
}

.single-diario h1 {
  font-family: eldwin-script, sans-serif;
  color: #1d223f;
  font-weight:600
}
.single-diario h2 {
  font-family: eldwin-script, sans-serif;
  color: #1d223f;
  font-weight:600
}
.single-diario h3 {
  font-family: eldwin-script, sans-serif;
  color: #1d223f;
  font-weight:600
}
.single-diario h4 {
  font-family: eldwin-script, sans-serif;
  color: #1d223f;
  font-weight:600
}
.single-diario h5 {font-family: eldwin-script, sans-serif;
color: #1d223f;
font-weight:600
}
.single-diario h6 {
  font-family: eldwin-script, sans-serif;
  color: #1d223f;
  font-weight:600
}


.pagina-diario h1 {
  font-family: eldwin-script, sans-serif;
  color: #1d223f;
  font-weight:600
}
.pagina-diario h2 {
  font-family: eldwin-script, sans-serif;
  color: #1d223f;
  font-weight:600
}
.pagina-diario h3 {
  font-family: eldwin-script, sans-serif;
  color: #1d223f;
  font-weight:600
}
.pagina-diario h4 {
  font-family: eldwin-script, sans-serif;
  color: #1d223f;
  font-weight:600
}
.pagina-diario h5 {font-family: eldwin-script, sans-serif;
color: #1d223f;
font-weight:600
}
.pagina-diario h6 {
  font-family: eldwin-script, sans-serif;
  color: #1d223f;
  font-weight:600
}


h2 a {color:#333;font-weight:bold;}

.text-bando {font-weight:300;}

input, textarea {border-radius: 6px;}

blockquote {
  border-left: 8px solid #eeeeee;
  padding-left:35px;
  font-weight: 600;
  margin-top: 35px;
  margin-bottom: 35px;
  padding-top: 15px;
  padding-bottom: 15px;
}


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

.margin-top {margin-top:50px;}
.margin-bottom {margin-bottom:150px;}


/* 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;}

/*img {
    vertical-align: middle;
    border-style: none;
    width: 100%;
    height: auto;
}*/

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



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

.btn {font-family: degular, 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: #F45B69;
  color:#fff;
}


.btn-primary {
  text-transform:uppercase;
  font-size:18px;
  font-weight:bold;
  border:none;
  background: #fabc3b;
  border-radius: 50px;
  padding:13px 35px;
  color: #000;
}

.btn-primary:hover {
  background: #eaa820;
  color: #000 !important;
}

.btn-secondary {
  text-transform:uppercase;
  font-size:16px;
  font-weight:bold;
  border:none;
  background: #fabc3b;
  border-radius: 50px;
  padding: 10px 20px;
  color: #000;
}

.btn-secondary:hover {
  background: #eaa820;
  color: #000 !important;
}

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

.btn-outline-primary {
  text-transform: uppercase;
  font-size:18px;
  font-weight: bold;
  border:2px solid #fabc3b;
  border-radius: 50px;
  color:#000 !important;
  padding:13px 26px;
}

.btn-outline-primary:hover {
  background:#fabc3b;
  border:2px solid #fabc3b;
  color:#000 !important;
  padding:13px 26px;
}


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


.trattino {
  width: 100px;
  height: 4px;
  margin-bottom: 20px;
  background:#026C32;
}

.trattino-center {
  width: 100px;
  height: 4px;
  margin-bottom: 20px;
  background:#026C32;
  margin: 0 auto;
}


/* CERCA NEL SITO IN NAVBAR
-------------------------------------*/

.cerca-navbar {position:absolute;right:0;}


.searchbar{
    margin-bottom: auto;
    margin-top: auto;
    /*height: 60px;*/
    background-color: #fff;
    border-radius: 30px;
    padding: 3px;
    }

    .search_input{
    color: #1f2732;
    border: 0;
    outline: 0;
    background: none;
    width: 0;
    padding:0;
    caret-color:transparent;
    /*line-height: 40px;*/
    transition: width 0.4s linear;
    }

    .searchbar:hover > .search_input{
    padding: 0 10px;
    width: 250px;
    caret-color:red;
    transition: width 0.4s linear;
    }

    .searchbar:hover > .search_icon{
    background: white;
    color: #e74c3c;
    }

    .search_icon{
    height: 40px;
    width: 40px;
    float: right;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color:white;
    }


  .btn-cerca-top {padding:6px 8px 5px 7px;}





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

.boxcerca {
  background:#000;
  width:100%;
}


.controllo {
  border-radius: .25rem 0 0 .25rem;
  border-color:#999;
}

.btn-cerca {
  border-radius: 0 .25rem .25rem 0;
  border:1px solid #00569d;
  background:#00569d;
  color:#fff;
  height:60px;
}

.modal-dialog.cerca {
  margin:0;
  max-width:100%;
}

.modal-content.cerca {
  border-radius: 0 !important;
  /*min-height:200px;*/
  background:#333;
}


.modal-body.cerca {
  padding:0;
}

.form-control.form-cerca {
  border-radius: 0.25rem 0 0 0.25rem;
  border:1px solid #00569d;
  font-size:1.45rem;
  height:60px;
}


.icon-search {
  color:#333;
  background:transparent;
  border:none;
  font-size:18px;
  /*margin-right:10px;*/
}

.icon-search-modal {
  color:#fff;
  background:transparent;
  border:none;
  font-size:24px;
}

.icon-search-modal.btn {
  text-align:right;
  top:0;
}





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

.navbar {
  /*border-bottom: 1px solid #ddd;*/
  font-family: degular, sans-serif;
}

#bs4navbar {position:relative;}

.navbar.is-scrolled .bg-custom {
  box-shadow: 0px 7px 30px 0px rgba(0, 0, 0, 0.3);
  height:90px;
  background: #BEB8EB;
}



.menu-custom a {
  color: #333 !important;
  text-transform: uppercase;
}

.menu-custom a:hover {color: #026c32 !important;}
.navbar-social a {color:#333;}
.navbar-social a:hover {color:#026c32 !important;}

.prop-body .bg-custom {background:#f3f7f5 !important;}
.prop-body.is-scrolled .bg-custom {background:#BEB8EB !important;}
.prop-body .navbar .menu-custom a {color:#000 !important;}
.prop-body .navbar .menu-custom a:hover {color:#026c32 !important;}
.prop-body.is-scrolled .navbar .menu-custom a {color:#333 !important;}
.prop-body.is-scrolled .navbar .menu-custom a:hover {color:#026c32 !important;}

.prop-body-alt .bg-custom {background:#f3f7f5 !important;}
.prop-body-alt.is-scrolled .bg-custom {background:#BEB8EB !important;}
.prop-body .navbar-social a {color:#000 !important;}
.prop-body .navbar-social a:hover {color:#026c32 !important;}
.prop-body.is-scrolled .navbar-social a {color:#333 !important;}
.prop-body.is-scrolled .navbar-social a:hover {color:#026c32 !important;}


/* background custom per toggler icon */
.prop-body .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");
}


.prop-body-alt.is-scrolled .navbar .menu-custom a {color:#333 !important;}
.prop-body-alt.is-scrolled .navbar .menu-custom a:hover {color:#026c32 !important;}

.prop-body-alt .navbar-social a {color:#333 !important;}
.prop-body-alt .navbar-social a:hover {color:#026c32 !important;}
.prop-body-alt.is-scrolled .navbar-social a:hover {color:#026c32 !important;}


.nav-item.active a {color: #026c32 !important;}
.bg-custom {background: #fff;}



.is-scrolled .navbar {
  box-shadow: 0px 7px 30px 0px rgba(0, 0, 0, 0.3);
  height:90px;
  background: #BEB8EB;
}


/* 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: #BEB8EB;
}


.prop-body-alt.is-scrolled .navbar {
  box-shadow: 0px 7px 30px 0px rgba(0, 0, 0, 0.3);
  background:#BEB8EB;
  height:90px;
  opacity:1;
}


.navbar-brand {width: 136px;}
.is-scrolled .navbar-brand {width:130px;}
.prop-body.is-scrolled .navbar-brand {width:130px;}
.prop-body-alt.is-scrolled .navbar-brand {width:130px;}


.navbar-brand img {width:100%;}

.nav-link {
  font-size:16px;
  font-weight:600;
  letter-spacing: 1.07px;
  }

  ::-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-social a {
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
}


.navbar-light .navbar-toggler {border:none;}
.navbar-dark .navbar-toggler {border:none;}

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


.dropdown-item.active {
  background-color: #026c32 !important;
  color: #fff !important;
}

.dropdown-item.active:hover {color:#fff !important;}

.prop-body .navbar .menu-custom .dropdown-menu.show a {color:#333 !important;}
.prop-body .navbar .menu-custom .dropdown-menu.show .dropdown-item:hover {
  background-color: #ececec !important;
  color:#026c32 !important;
}
.prop-body .navbar .menu-custom .dropdown-menu.show.active {
  background-color: #026c32 !important;
    color: #fff !important;
  }


/* =====================================
   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: #24944b;
}

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


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

/* Offcanvas mobile */
.fcrf-mobile-offcanvas {
    background-color: #24944b;
    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;
}


/* Allinea link + toggle su una riga */
.fcrf-mobile-nav > .menu-item-has-children {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.fcrf-mobile-nav > .menu-item-has-children > a {
  flex: 1 1 auto;
}

/* il bottone toggle resta a destra, con padding coerente */
.fcrf-mobile-nav > .menu-item-has-children > .fcrf-submenu-toggle {
  margin-right: 1.5rem;
}

/* --- 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;
}


/* --- FIX: submenu sotto al parent (offcanvas) --- */

/* Il parent può restare flex, ma deve poter mandare a capo il submenu */
.fcrf-mobile-nav .menu-item-has-children {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

/* Link occupa tutta la riga disponibile */
.fcrf-mobile-nav .menu-item-has-children > a {
  flex: 1 1 auto;
}

/* Toggle resta a destra */
.fcrf-mobile-nav .menu-item-has-children > .fcrf-submenu-toggle {
  flex: 0 0 auto;
  margin-left: .5rem;
}

/* Submenu: va a capo e prende tutta la larghezza */
.fcrf-mobile-nav .menu-item-has-children > .sub-menu {
  flex: 0 0 100%;
  width: 100%;
}

/* --- 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;
}

/* Search mobile: focus visibile */
.fcrf-mobile-search-form .search-field:focus-visible {
  outline: 3px solid #1b1b1b;
  outline-offset: 2px;
}

.fcrf-mobile-search-form .search-submit:focus-visible {
  outline: 3px solid #1b1b1b;
  outline-offset: 4px;
  border-radius: 999px;
}

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

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


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

.carousel,
.carousel-inner,
.carousel-item{height:650px;}
.slider-big h3 {
  font-size: 3.2rem !important;
  font-weight:bold;
  color:#fff;
  /*max-width:700px;*/
}

.slider-big .carousel-text p {
    /*font-weight:300;*/
    font-size:22px;
    /*max-width:700px;*/
}

.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;
}


/* TWO COLUMNS (pre evidenza)
-------------------------------------*/

.two-columns-title {
  font-size:40px;
  font-weight:bold;
  line-height:43px;
  color:#444;
}

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


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

.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;
}



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

.call-to-action-home {

  padding-top:300px;
  padding-bottom:300px;
  /*min-height:100vh;*/
}


  @media (min-width:767px) {
    .offset-md-n3 {
    margin-left: -26%;
    }
  }

.box-info-al {
  top:160px;
  left:60px;
  z-index:0;
  position:fixed;
  z-index:9999995;
}

.icona-info {
  transform: rotate(-90deg);
  display:inline-block;
  text-transform:uppercase;
  font-weight:bold;
  font-size:16px;
  margin-top: 30px;
  margin-left: -18px;
}

.box-step {
  border-radius: 34px;
  box-shadow: 7px 5px 15px 0 rgba(60, 61, 160, 0.1);
  width:95%;
}

.info-step {
  position:absolute;
  top:21%;
  left:-20px;
  width:100px;
  height:100px;
  background: #83c78c;
  border-radius:50%;
}

.info-step p {
  font-family: degular, sans-serif;
  font-size:50px;
  font-weight:300;
  color:#067e15;
  margin-top: 33px;
  margin-left: 22px;
}

.Path-2-Copy-4 {
  position: absolute;
  right:15%;
  width: 17%;
  height: 25%;
  transform: rotate(156deg);
  opacity: 0.35;
  border-radius: 91px;
  background-color: rgba(6, 126, 21, 0.27);
}

.Path-2-Copy-2 {
  position: absolute;
  left:15%;
  bottom:10%;
  width: 20%;
  height: 30%;
  transform: rotate(-21deg);
  opacity: 0.35;
  border-radius: 91px;
  background-color: rgba(6, 126, 21, 0.27);
}

.fondazione-box {
  background-image: url("img/bitmap-home-dx.png");
  background-size: auto; background-position: right center;
  background-repeat:no-repeat;
}

.fondazione {
  border-radius:20px;
  box-shadow: 7px 5px 15px 0 rgba(60, 61, 160, 0.1), -3px 2px 24px 0 rgba(0, 0, 0, 0);
}

.Path-4 {
  margin-top:40px;
  width: 1px;
  height: 80px;
  border: solid 1px #000000;
  margin-left:15px;
}

.ultimi-articoli {margin-top:250px;}

.diario-home {
  position:relative;
}

.programma-home {
  background-image: url("img/bitmap-diario.png");
  background-size: auto; background-position: left center;
  background-repeat:no-repeat;
}


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



.pagina {
  /*margin-top: 20px;*/
  /*border-bottom:1px solid #ddd;*/
  background:#f5f5f5;
}

.titolo-pagina {
  font-size:16px;
  font-weight:bold;
  text-transform:uppercase;
  color:#24944b;
}


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

.introduzione-pagina {
  font-size:24px;
  line-height:31px;
}


.call-to-action-pagina1 {
  text-align: center;
  padding-top:280px;
  padding-bottom:280px;
}

.call-to-action-pagina2 {
  text-align: left;
}

.blocco-dx {
  padding-left:30px;
  padding-right:30px;
}


.pagina-title {
  color:#000;
  font-weight:600;
}

.divisore-pagina {
  height:1px;
  width:30%;
  text-align:left;
  color:#F15152;
  background:#F15152;
}

.divisore-pagina-titolo {
  height:2px;
  width:100px;
  text-align:left;
  color:#F15152;
  background:#F15152;
}

.hastag-color {color:#026C32;}

.curva {
  border-top-left-radius: 60% 15%;
  border-top-right-radius: 60% 15%;
  border-bottom-left-radius: 60% 15%;
  border-bottom-right-radius: 60% 15%;
}

.curva-bottom {
  border-bottom-left-radius: 60% 15%;
  border-bottom-right-radius: 60% 15%;
}


.curva-top {
  border-top-left-radius: 50% 3%;
  border-top-right-radius: 50% 3%;
}



.shadow-blocchi {
  box-shadow: 7px 5px 15px 0 rgba(60, 61, 160, 0.1), 5px 2px 24px 0 rgba(0, 0, 0, 0) !important;
}



/* PAGINA PROGETTO
-------------------------------------*/

.fill-white {
    fill: #fff;
}

.left-0 {
    left: 0;
}

.bottom-0 {
    bottom: 0;
}


/* PAGINA PROGETTO
-------------------------------------*/


.page-id-38 h4 {
  font-weight:400 !important;
  line-height:1.4;
}


/* PAGINA PARTECIPA
-------------------------------------*/

.partecipa-desc {
  padding-top:100px !important;
  padding-bottom:100px !important;
}


/* PAGINA DIARIO
-------------------------------------*/

.ultime-uscite {
  border-bottom-right-radius: 30px;
  border-top-right-radius: 30px;
  box-shadow: 7px 5px 15px 0 rgba(60, 61, 160, 0.1), 5px 2px 24px 0 rgba(0, 0, 0, 0) !important;
  background-image: url("img/card-diario-bg-giallo.png");
  background-size: cover; background-position: center center;
}

.diari-passati {
  border-bottom-right-radius: 30px;
  border-top-right-radius: 30px;
  box-shadow: 7px 5px 15px 0 rgba(60, 61, 160, 0.1), 5px 2px 24px 0 rgba(0, 0, 0, 0) !important;
  background-image: url("img/card-diario-bg-bianco.png");
  background-size: cover; background-position: center center;
}

.diario-evidenza {
  border-right:15px solid #000;
  width:93%
}

.diario-evidenza-passati {
  border-right:15px solid #E6E6E6;
  width:93%
}

.arrow-diario a {
  color: #fff;
}

.arrow-diario {
  background:#000;
  border-radius:50px;
  width: 60px;
  height: 60px;
  padding:13px;
}

.arrow-diario-passati a {
  color: #000;
}

.arrow-diario-passati {
  background:#fabc3b;
  border-radius:50px;
  width: 60px;
  height: 60px;
  padding:13px;
}


.pagina-diario h1 {
    font-family: eldwin-script, sans-serif;
    color: #1d223f;
    font-weight: 600;
}

.oval {
  width: 5px;
  height: 5px;
  margin: 2px 6px;
  background-color: #288859;
  display:inline-block;
}


/* PAGINA CONTATTI
-------------------------------------*/

.wpcf7-form label {/*width:100% !important;*/}
.modulo-contatti {
  background: transparent;
}

/* PAGINA ACCEDI CONTATTI
-------------------------------------*/

.box-accedi {
  background:#fee1d3;
  border-radius:40px;
  background-image: url("img/sfondo_box_accedi_sx.png");
  background-size: auto;
  background-position: left right;
  background-repeat:no-repeat;
}




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

.box-progetti {/*background:#1f2732;*/}

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

.pagina-title-progetti {
  /*font-size:55px;*/
  font-weight:bold;
  color:#fff;
}

.introduzione-pagina-progetti {color:#fff;}

.testata-sezione {
  position:relative;
overflow: hidden;}

section.has-divider {
    padding: 0;
}

.divider:not(:first-child) {
    top: 1px;
}

.divider {
    position: relative;
    background:#1f2732;
    margin-top:-33px;
}

.divider svg {
    background: none !important;
    height: 6vw;
}


svg {
    overflow: hidden;
    vertical-align: middle;
}

.divider svg:not([class*='bg']) path {
    fill: #fff;
}


.pattern::before {
  width: 80vw;
height: 80vw;
bottom: -40vw;
left: 25vw;

}

.pattern::after {
  width: 60vw;
height: 60vw;
bottom: -30vw;
left: 80vw;
}


.pattern::before, .pattern::after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
    position: absolute;
    content: "";
    display: block;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10rem;
}

.pattern > * {
    position: relative;
    z-index: 10;
}

/* PAGINA ULTIMATE REGISTRATI
-------------------------------------*/

.raccogli-doc {
  background:#d9ecde;
  border-radius:10px;
}

.content-registrazione {
  background:#fff;
  border-radius:10px;
}


/* PAGINA ULTIMATE MEMBER
-------------------------------------*/

.testata-um {
  padding-top:126px;
  /*background:#BEB8EB;*/
}

.pagina-title-um {
  text-transform:uppercase;
  font-size:1.6rem;
}

.post-full-gruppo {
    margin-top: -80px;
}


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


.intro-paginaprogetti {
  color:#f2f2f2;
  font-size:17px;
  line-height:24px;
}

.box-progetto {
  border:none;
}


.card-progetti {
  border-radius: 0px;
  border:none;
  position: relative;
  /*box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.2);*/
  box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
}


.card-title-progetti {
  font-weight:bold;
}


.card-title-progettiprimopiano {
  font-weight:bold;
  text-align: center;
  font-size:2.45rem;
  color:#fff;
}


.card-text-progetti {
  line-height:24px;
  color:#666;
}

.leggi-progetti {
  color:#333;

}


.btn-progetti {
  background:#F34800;
  color:#fff;
  border:none;
  border-radius:30px;
  text-transform:uppercase;
  font-size:16px;
}

.btn-progetti:hover {
  background: #fff;
  color: #F34800;
  border:none;
  border-radius:30px;
  text-transform:uppercase;
  font-size:16px;
}

.boxprogetto {max-width:440px;padding:0;margin:0 auto;}



/* 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 {
  /* aggiungi contenuto tramite css, qui sotto virgolette */
  content: "\201c";
  font-size: 150px;
  position: absolute;
  top: -20px;
  left: -50px;
  font-family: georgia;
  color:#ddd;
}


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

.call-to-action-box {
  text-align: center;
  padding:200px 0;
}

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

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


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


.card-blog {
  border-radius: 20px;
  border:none !important;
  box-shadow: 7px 5px 15px 0 rgba(60, 61, 160, 0.1);
}

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


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

.card-news {border:0;}

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

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

.card-news .card-meta a:hover {color:#F45B69;}

.card-news .card-title {
  color: #333;
  font-size: 26px;
  line-height: 33px;
  font-weight: bold;
}

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

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

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

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

.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;
}


.content-post {
  border-radius:20px;
  box-shadow: 7px 5px 15px 0 rgba(60, 61, 160, 0.1);
  position: relative;
  background-color: #fff;
}

.content-post-si {

  background-color: #fff;
}

.content-img {
  border-radius:20px 20px 0px 0px;
}



.tasti-social {/*text-align:right;*/}

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

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

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

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

.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;
}

.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;*
}

.immagine-articolo {
 /*margin-top: -85px;*/
}

.footer-post {
  background-color: #1f2732;
  color:#fff;
}

.condividi-post {}

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

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



.tags-articolo a {
    color: #444;
    font-size: 14px;
}

.tags-articolo a:hover {
  text-decoration:none;
}




.call-to-action-boxsingle {
  /*text-align: center;*/
  padding:280px 0px 70px 0px;
}

.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;}

.rpwwt-post-title {
  font-weight: bold;
}

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

.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 FULL
-------------------------------------*/

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

.call-to-action-boxsingle-full {
  /*text-align: center;*/
  padding:220px 0px 80px 0px;
}

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

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

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


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

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

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

.next-previous a {
  color:#333;
  font-weight: 200;
}

.post-correlati {background:#EDF2F4;}
.post-correlati-single {background:#fff;}

/* related post plugin */

.yuzo_related_post .relatedthumb a {
  background:#1f2732;
  color:#fff;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.2);
  border-radius:6px;
  margin-bottom:20px;
}

.yuzo_related_post .relatedthumb a:hover {
  background:#000;
  opacity:0.8;
}

.yuzo_related_post h3 {
  text-align:center;
  margin: 20px 0 80px 0 !important;
}

.yuzo_related_post .relatedthumb {
  margin: 0px 0px 20px 0px !important;
}

.yuzo__text--title {
  font-weight:200 !important;
  margin-top:10px;
}

.yuzo_related_post .relatedthumb.box_shadow_related {box-shadow: none !important;}


.modulo-newsletter-post {}

.icona-tag {color:#1f2732;}

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


/* SINGOLO DIARIO
-------------------------------------*/

.single-diario {
  background: #f3f7f5;
}

.content-diario {
  border-radius:20px;
  box-shadow: 7px 5px 15px 0 rgba(60, 61, 160, 0.1);
  position: relative;
  background-image: url("img/linea-diario.png");
  background-repeat: repeat-y;
  background-position: 4%;
  background-color: #fff;
}

.segnalibro {
  position: absolute;
  top: -11px;
  left:49%;
}


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

#comments {margin-bottom:40px;}
.comments {padding-top:40px;}
.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;
  border: 1px solid #ccc;
}

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

.sidebar-articolo {}

.widget_search {/*background: #1f2732;padding:10px;*/}

.widget_search .screen-reader-text {display:block;}
.widget_search #s {
  width: 70%;
  float: left;
}
.widget_search #searchsubmit {
  width: 30%;
  float: left;
  background:#fff;
  font-size: 14px;
  font-weight: bold;
}

.widget h3 {
  font-size:22px;
  line-height:30px;
  margin-bottom:20px;
  font-family: 'Archivo', sans-serif;
}

.widget ul {
  padding-left:0;
  /*border:1px solid #ddd;
  border-radius: 4px;
  padding: 15px;*/
}

.widget li {
  list-style-type: none;
  margin-bottom:10px;
  /*border-bottom:1px solid #ddd;*/
  /*width:90%;*/
  line-height:1.4em;
}
.widget a {color:#1f2732;}
.widget a:hover {color:#F15152;}


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

#rpwwt-recent-posts-widget-with-thumbnails-2 img {
  border: 1px solid #ddd;
}

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

.rpwwt-widget ul li img {
  border-radius:50%;
  float:right !important;
  margin: .1em .1em .1em 0 !important;
}

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

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

.titolo-widget {
  display: block;
  /*float: left;
  margin-right: 15px;*/
  text-transform: uppercase;
  font-size: 15px;
  font-weight: bold;
}

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

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

  .widget_search #searchsubmit {
    background: #F45B69;
    color:#fff;
    border:1px solid #F45B69;
    font-family: 'Montserrat', sans-serif;
}

.widget select {
  width:100%;
}

.widget-sidebar {
  /*border: 1px solid #ececec;
  border-radius:4px; */
  padding: 0px 20px 20px 20px;
  margin-bottom: 20px;
}


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



.titolo-widget-footer {
    display: block;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
    color:#fff;
}

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

.footer p {
  font-size:14px;
  line-height:22px !important;
}

.footer li a {
  font-size:16px;
  line-height:23px;
}



.footer input {border-radius:0px;}
.footer .widget_search {width:90%;}



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

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

.page-numbers {
  display:inline-block;
  padding:10px 15px;
  border:1px solid #ddd;
  margin-right:4px;
}

/* 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;
    }
}


/* SCHEDA PROGETTO
-------------------------------------*/

.titolo-progetto-ok {
  position:relative;
}

.titolo-progetto-ok:before {
  content: '';
    background-image: url("img/sfondo-testata-progetto.jpg");
    width: 50%;
    height: 250px;
    position: absolute;
    bottom: 30px;
    left: 0;
    -webkit-transform: skewY(3deg);
    transform: skewY(3deg);
    z-index: 4;
}



.titolo-progetto-ok:after {
    content: '';
    background-image: url("img/sfondo-testata-progetto.jpg");
    width: 50%;
    height: 250px;
    position: absolute;
    bottom: 30px;
    right: 0;
    -webkit-transform: skewY(-3deg);
    transform: skewY(-3deg);
    z-index: 4;
}


.call-to-action-boxsingle-progetto {
  /*text-align: center;*/
  padding:400px 0px 30px 0px;
}

.tassonomia-progetto a {color:#fff}

.codice-chiavi a {
  display:inline;
}


.blocco-testata-progetto {
  z-index: 5;
  position:relative;
}

.scheda-title {
  font-size: 3.0rem;
  font-weight:700;
  /*color:#fff;*/

}

.scheda-intro h3 {
  /*font-weight:600;*/
  line-height:1.4em;
  font-weight:200;
  max-width:95%;
}

.testi-info-scheda {color:#535353;}
.testo-info-brevi {font-size:16px;line-height:25px;}

.testo-codice p {display:inline !important;}

.info-progetto {font-size:16px;line-height:25px;}


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

.contenuto-scheda {
  background:#f5f5f5;
}


.img-schedaprogetto {
    padding: .5rem;
    background-color: #f8f9fa;
    border: 0 solid #dee2e6;
    border-radius: .375rem;
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175);
}

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






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

.footer {
  /*background-image: url("img/footer_bg_2.png");**/
  background-color:#1b9546;
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  position:relative;
  margin-top:-350px;
  z-index:1;
  padding-top:350px;
}


.footer-top {
 height: 187px;
 object-fit: contain;
}

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

.footer-sx {
  /*background-image: url("img/footer_bg_2.png");*/
}


.footer .footer-sx{
    background-color: #484349;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    width: 50%;
    height: 150px;
    position: absolute;
    top: -30px;
    left: 0;
    -webkit-transform: skewY(3deg);
    transform: skewY(3deg);
}


.footer-dx {
  /*background-image: url("img/footer_bg_2.png");*/
}

.footer .footer-dx {
    background-color: #484349;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    width: 50%;
    height: 150px;
    position: absolute;
    top: -30px;
    right: 0;
    -webkit-transform: skewY(-3deg);
    transform: skewY(-3deg);
}


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



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

@media (max-width:998px) {
  .navbar-social {flex-direction:row !important;}
  .form-control {width:inherit;}
  .navbar-trasp.is-scrolled .bg-custom {background: #333 !important;}
}

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

}

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


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

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

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

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


@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) {
  .call-to-action-boxsingle {

  }
}

@media (max-width:998px) {
  .navbar-collapse {
    background: #BEB8EB !important;
    padding-left: 25px;
    padding-top:10px;
  }
}



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

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


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

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

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

/* media query per numero di colonne masnory */

@media (max-width:998px) {
  .card-columns  {
    column-count: 2;
  }
}


@media (max-width:998px) {
  .box-info-al {
    display: none;
  }
}

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


/* media query per numero di colonne masnory */

@media (min-width:998px) {
  .card-columns  {
    column-count: 2;
  }
}


@media (max-width:1024px) {
  .box-info-al {
    display: none;
  }
}

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

@media (max-width:1024px) {
  .nav-link {
    font-size:13px;
  }
}

@media (max-width:1024px) {
 #bs4navbar .btn-secondary {
    font-size:13px;
  }
}

@media (max-width:1024px) {
 .navbar-social a {
    font-size:13px;
  }
}


@media (max-width:1024px) {
  .Path-2-Copy-4 {
    display:none;
  }
}


@media (max-width:1024px) {
  .Path-2-Copy-2 {
    display:none;
  }
}







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


@media (max-width:767px) {
  .slider-big h3 {
    font-size:2.7rem !important;
    font-weight:bold;
    color:#fff;
  }
}

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

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

@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) {
  /*.pagina {padding-top:35px;}*/
}

@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:200px 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) {
  .logo-footer {
    margin-top:-120px;
  }
}

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

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

@media (max-width:767px) {
  .prop-body .navbar .menu-custom a {
    color:#333 !important;
  }
}

@media (max-width:767px) {
  .prop-body .navbar-social a {
    color:#333 !important;
  }
}


@media (max-width:767px) {
  .contenuto-pagina {
    margin-top: 50px;
  }
}

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

@media (max-width:767px) {
  .titolo-stream-news {
    margin-top: -50px;
    margin-bottom:30px;
    font-size: 2.3rem;
  }
}

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

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

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

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


@media (max-width:767px) {
  .post h3 {
    font-size:1.5rem;
  }
}

@media (max-width:767px) {
  input {
    width:100%;
  }
}

@media (max-width:767px) {
  textarea {
    width:100%;
  }
}


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

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

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


@media (max-width:767px) {
  .um-activity-widget {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
}


@media (min-width:767px) {
  .d-md-block {
    display: block!important;
  }
}

@media (max-width:767px) {
  .box-info-al {
    display: none !important;
  }
}

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

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


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

@media (max-width:767px) {
  .ultimi-articoli {
    margin-top:80px;
  }
}



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

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

@media (max-width:767px) {
  .main-content {
    border-radius: 0;
    padding-bottom:50px;
  }
}

@media (max-width:767px) {
  .fondazione {
    border-radius: 0;
  }
}


@media (max-width:767px) {
  .pagina-diario h3 {
    font-size: 1.5rem;
  }
}

@media (max-width:767px) {
  .curva {
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
  }
}

@media (max-width:767px) {
  .curva-bottom {
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
  }
}

@media (max-width:767px) {
  .curva-top {
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
  }
}


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


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

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




@media (min-width:767px) {
  .img-home2 {
    display: none;
  }
}


@media (min-width:767px) {
  .menumobile {
    display: none;
  }
}

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

@media (max-width:767px) {
  h2 {
    font-size: 1.7rem;
  }
}

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

@media (max-width:767px) {
  .Path-2-Copy-4 {
    display:none;
  }
}


@media (max-width:767px) {
  .Path-2-Copy-2 {
    display:none;
  }
}





/* media query per numero di colonne masnory */

@media (max-width:767px) {
  .card-columns  {
    column-count: 1;
  }
}


@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;
}

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

.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%; /* Image does not overflow the content area */
    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: 0 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; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.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;
	/* Above WP toolbar. */
}


/* ------------------------------------------------------------
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:#F15152 !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;
}

.kt-blocks-accordion-title {
  padding:20px !important;
  color: #000;
  font-size:20px;
  font-weight: 600;
}


.kt-blocks-accordion-header.kt-accordion-panel-active {
  background: #fff !important;
  /*border: solid 2px rgba(0, 0, 0, 0.4) !important;*/
}

.kt-accordion-panel-inner {
  /*background: #fff;*/
  padding: 20px 40px !important;
}


.kt-tabs-wrap .wp-block-kadence-tab {
    border: 1px solid #dee2e6;
    padding: 20px;
    text-align: left;
    margin-bottom:40px;
}


.wp-block-kadence-pane {
  /*background: #fff;*/
  margin-bottom:15px;
  border: solid 2px rgba(0, 0, 0, 0.4);
  border-radius:20px;
}


.wp-block-kadence-pane.kt-accordion-pane {
  background: #fff !important;
}

.wp-block-kadence-pane .kt-blocks-accordion-header {

  /*border-radius:20px !important;
  border: solid 2px rgba(0, 0, 0, 0.4) !important;*/
  background: transparent !important;
  margin-left:10px;
  width:97%;
}

.kt-accordion-id_86cd60-2f:not( .kt-accodion-icon-style-basiccircle ):not( .kt-accodion-icon-style-xclosecircle ):not( .kt-accodion-icon-style-arrowcircle ) .kt-blocks-accordion-header.kt-accordion-panel-active .kt-blocks-accordion-icon-trigger:after, .kt-accordion-id_86cd60-2f:not( .kt-accodion-icon-style-basiccircle ):not( .kt-accodion-icon-style-xclosecircle ):not( .kt-accodion-icon-style-arrowcircle ) .kt-blocks-accordion-header.kt-accordion-panel-active .kt-blocks-accordion-icon-trigger:before {background:#000 !important;}

.kt-accordion-id_86cd60-2f:not( .kt-accodion-icon-style-basiccircle ):not( .kt-accodion-icon-style-xclosecircle ):not( .kt-accodion-icon-style-arrowcircle ) .kt-blocks-accordion-icon-trigger:after, .kt-accordion-id_86cd60-2f:not( .kt-accodion-icon-style-basiccircle ):not( .kt-accodion-icon-style-xclosecircle ):not( .kt-accodion-icon-style-arrowcircle ) .kt-blocks-accordion-icon-trigger:before {
  background:#000 !important;
}


.wp-block-kadence-tab {background: transparent !important;}


.kt-tab-title {font-size:1.3em !important;}

.kt-tabs-title-list {margin-bottom:25px !important;}

.kt-tabs-title-list li.kt-tab-title-active .kt-tab-title {
  position:relative;
  background:#fabc3b !important;
  color: #000 !important;
  border-radius: 50px !important;
  border: 2px solid #fabc3b !important;
  padding:10px 40px !important;
}

.kt-tabs-title-list li.kt-tab-title-active .kt-tab-title:hover {
  background:#fabc3b !important;
  color: #000 !important;
}

.kt-tabs-title-list li.kt-tab-title-active .kt-tab-title::after {
  content: "";
position: absolute;
bottom: -15px;
left: 43%;
border-style: solid;
border-width: 15px 15px 0;
border-color: #fabc3b transparent;
display: block;
width: 0;
z-index: 1;
}



.kt-tabs-title-list li.kt-tab-title-inactive .kt-tab-title {
  background: transparent;
  color: #000 !important;
  border-radius: 50px !important;
  border: 2px solid #fabc3b !important;
  padding:10px 40px !important;
}

.kt-tabs-title-list li.kt-tab-title-inactive .kt-tab-title:hover {
  background: #fabc3b !important;
  color: #000 !important;
}




.kt-title-text {
  font-family: degular, sans-serif;
  font-size: 18px;
  font-weight: bold;
}

.wp-block-kadence-tab {border:none !important;}
.kt-tabs-title-list li .kt-tab-title {background:transparent !important;}
.kt-tabs-title-list li .kt-tab-title:hover {background:#7798AB !important;color:#fff !important;}


/****** ULTIMATE MEMBER ******/

.um-profile.um .um-profile-headericon a {color:#333 !important;}
.um-profile-nav {
  background: #484349 !important;
  border-radius: 6px 6px 0px 0px !important;
}
.um .um-profile-nav-item.active a {
  background: #fabc3b!important;
  color:#000 !important;
}

.um-member-name a {color:#333 !important;}
.um a.um-button {
  background:#fabc3b !important;
  color:#000;
}

.um-activity-comment-area a.um-button, .um-activity-foot a.um-button {
  font-size: 14px !important;
}

.um .um-item-meta a {color:#026C32 !important;}

.um input[type=submit].um-button {
  background:#fabc3b !important;
  color:#000 !important;
  font-weight:700 !important;
  margin-top:15px;
  width:100% !important;
}

a.um-link-alt {
  font-weight:bold !important;
}

.um-register {margin-top:0px;}
.um-field-area {text-align: left !important;}
.um-button .um-btn-auto-width {background: #33658A !important;}
.um .um-button.um-alt {background:#f5f5f5 !important;}
.um .um-field-label {color:#333 !important;}
.um-field-block {color:#333 !important;}

.um-row-heading {
  font-weight:bold !important;
  color:#000;
  font-size:30px !important;
  font-family: degular, sans-serif;
}

.um-row-heading i:before {
    vertical-align: baseline !important;
}

.um-field-type_terms_conditions {margin-bottom:30px !important;}

.um-postmessage {
  font-size:18px;
  color:#333;
}

.um-single-file-preview {background:#fff;}

.um-modal-header {
  background-color: #BEB8EB !important;
  color:#333 !important;
}
.upload {background:#F45B69 !important;}

.um-modal-btn, .um-modal-btn.disabled {/*background:#F45B69 !important;*/}

.um-right {margin-top: 15px !important;}
.um-field-checkbox-option {color:#666 !important;}

.um-profile .um-profile-body {
  background:#f5f5f5 !important;
  max-width:100% !important;
  padding-left:20px !important;
  padding-right:20px !important;
}

.um-profile-nav-item i {top:11px !important;}
.um-login {margin-top:30px !important;}

/*.um-profile {margin-top:-50px;}*/

.um-activity-ava img {
  width:40px !important;
  height:40px !important;
}

.um-login {

  padding: 20px;

}

.um-account-side li a.current span.um-account-icon {color:#026C32 !important;}
.um a.um-link {color:#026C32 !important;}
.um-account {margin-top:60px !important;}

.um-viewing {margin-top:20px !important;}
.um-activity-widget {
  margin-top: 0px !important;
  padding-top: 35px !important;
  padding-left: 25px;
  padding-right: 25px;
  box-shadow: none !important;
}

.um-activity-head {
  background:#fff !important;
  font-size: 16px !important;
}
.um-activity-bodyinner-photo {background:#fff !important;}
.um-activity-foot {
  background:#fff !important;
  border-bottom: 1px solid #e5e5e5 !important;
}


.um-profile-navbar.um-messaging-bar {
  padding-top:15px;
  padding-bottom:15px;
}


.single-um_groups .um-avatar {
  width:45px;
  height:45px;
}


.um-groups-directory .um-group-item .um-group-image {
    border-radius: 50%;
    margin-right: 10px !important;
  }

  .um-profile .groups_list .um-groups-directory .um-group-item .um-group-image {
    padding-right:inherit !important;
  }

  .um-groups-single .um-group-image-wrap img {
    border-radius:50%;
  }


  div.um .um-profile-body.activity, div.um-activity {
    max-width:800px !important;
  }


/******* GUTENBMBERG *******/

.wp-block-button__link {
  background-color: #fabc3b;
  border-radius: 50px !important;
  color:#000;
  font-size: 18px;
  font-weight: bold;
  font-family: degular, sans-serif;
  margin-top: 15px;
  }

.wp-block-button__link:hover {
  background-color: #eaa820 !important;
  color: #000;
  text-decoration: none;
}

.is-style-outline .wp-block-button__link {
  border:2px solid #F45B69;
  color: #F45B69 !important;
}

.is-style-outline .wp-block-button__link:hover {
  background-color: #F45B69 !important;
  color:#fff !important;
}

.um-activity-bodyinner-txt span.post-excerpt {
  font-size: 16px !important;
}

.um-activity-bodyinner-txt {
  font-size: 16px !important;
}

/***** CONTACT FORM 7 ********/

.wpcf7-submit {
  background:#fabc3b !important;
  color:#000 !important;
  font-size: 18px !important;
  border: none !important;
  text-transform:uppercase;
  font-weight: bold;
  padding: 13px 35px !important;
  width: 100% !important;
  border-radius: 10px !important;
  }

  .wpcf7-submit input {
    /*text-align: center !important;*/
  }


  .wpcf7-text {width: 100% !important;}

  textarea {width:100%;}

  /**** RECAPTCHA GOOGLE *****/

/*.grecaptcha-badge {display:none;}*/
/*.page-id-40 .grecaptcha-badge {display:inherit;}
.page-id-12 .grecaptcha-badge {display:inherit;}*/

/***** COOKIE NOTICE *****/

.cookie-notice-container {
  padding:20px !important;
  text-align:left !important;
}

#cn-notice-text a {
  color:#fff;
  text-decoration:underline;
}

#cookie-notice {
  font-size:15px;
}

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


 /**** RESPONSIVE PRO MENU ****/

button#responsive-menu-pro-button {
   border: 2px solid #067e15 !important;
   border-radius: 50% !important;
 }

 .responsive-menu-pro-accessible .responsive-menu-pro-box {
   margin-top:-3px !important;
 }

 #responsive-menu-pro-container {width:45% !important;}

 #responsive-menu-pro-container #responsive-menu-pro li.responsive-menu-pro-item .responsive-menu-pro-item-link {
   font-family: degular, sans-serif;
   text-transform:uppercase;
   font-weight:bold;
 }


 .wp-block-button__link:active, .wp-block-button__link:focus, .wp-block-button__link:hover, .wp-block-button__link:visited {
   color: #000 !important;
 }


 /***** GRAVITY FORMS ****/

 .gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type=submit], .gform_wrapper .gform_page_footer input.button, .gform_wrapper .gform_page_footer input[type=submit] {
   background: #fabc3b !important;
   color:#000;
   border-radius:8px;
 }

 .gform_wrapper .top_label input.medium, .gform_wrapper .top_label select.medium {
   background: transparent;
    border-bottom: 2px solid #CCB3A8;
    border-top: none;
    border-left: none;
    border-right: none;
 }
