/*
Theme Name: FCRF Portale
Theme URI:
Author: Alessio Bertolani
Author URI:
Description: Startertheme with font Awesome 6.6.0 e Bootstrap 5.3.6
Version: 3.0
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-portale
Domain Path: /languages

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: "Plus Jakarta Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 1.20rem;
  line-height: 1.5;
  color: #212121;
  background: #F2F1F6;
}


b, strong {
  font-weight: 700;
}

.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: "Plus Jakarta Sans", sans-serif;
  font-optical-sizing: auto;
  color: #212121;
  line-height: 1.2;
}


/* Forza i colori dei titoli in dark-mode */
.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode h4,
.dark-mode h5,
.dark-mode h6 {
  color: #fff; 
}

.dark-mode .card-evidenza-body h5 {
  color: #212121 !important;
}

.dark-mode .card-evidenza h5 {
  color: #212121 !important;
}

/*.dark-mode .wp-block-kadence-iconlist {
  color: #212121;
}*/

.dark-mode .dark-mod-inv h4 {
  color:#212121 !important;
}

.dark-mode .dark-mod-inv {
  color:#212121 !important;
}

input,
textarea {
  padding: 5px 10px;
  border:none;
  border-radius:20px;
}

hr {
  opacity: inherit !important;
}


/* DARK MODE
-------------------------------------*/

.dark-mode {
  background-color: #212121; /* Sfondo scuro */
  color: #ffffff;           /* Testo chiaro */
}

.dark-mode a {
  color: #fff !important; /* Personalizza il colore dei link in dark-mode */
}

.dark-mode .navbar {
  background-color: #212121;
  color: #fff;
}


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

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

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



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

.btn-primary {
  background: #FF5722;
}

/* selettore per darkmode */

.btn-darkmode {
  background-color: transparent;
  border: none;
  cursor: pointer;
  /* Se vuoi, aggiungi altre proprietà come padding, margini, transition ecc. */
}

.btn-darkmode i {
  color: #333; 
}

.dark-mode .btn-darkmode i {
  color: #fff;
}


.dark-mode .navbar-nav .nav-link {
  color: #ffffff !important;
}


/* Di default mostri solo il logo "chiaro" */
.logo-light {
  display: inline-block;
}
.logo-dark {
  display: none;
}

/* Quando il body ha la classe .dark-mode, mostra il logo "scuro" */
.dark-mode .logo-light {
  display: none !important;
}
.dark-mode .logo-dark {
  display: inline-block !important;
}



/* Stile di base (light mode) del pulsante */
.btn-proponi {
  border: 1px solid #444; 
  color: #444;
  text-decoration: none;
}

.btn-proponi i {
  background: #FF5722;
  color: #fff;
  transition: background-color 0.3s ease;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  padding: 12px 17px;
}

.btn-proponi i:hover {
  background: #f33c04;
}

.dark-mode .btn-proponi {
  color: #fff !important;       
}

.dark-mode .btn-proponi:hover {
  color: #fff !important;       
}

.dark-mode .btn-proponi i {
  background: #FF5722; 
  color: #fff !important;
}

.dark-mode .btn-proponi i:hover {
  background: #f33c04;
}



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

button:focus {outline:none;}

.btn-outline-light {
  text-transform:uppercase;
  font-weight:bold;
  padding: 0px;
}


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

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


.btn-outline-primary-header {
  padding: 5px 25px;
  color:#fff !important;
  border:none;
}


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


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


.btn-outline-primary:hover {
  background:#F85723;
  border:2px solid #F85723;
  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;
}

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

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

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

.btn-dx {
  float:right;
}


/* ANIMAZIONI
-------------------------------------*/

.my-animated-div {
  /* Stato iniziale */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.my-animated-div.animate-in {
  /* Stato finale */
  opacity: 1;
  transform: translateY(0);
}


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

blockquote {
  margin: 0 2rem 3rem;
  padding-left: 1rem;
  font-style: italic;
  border-left: 2px solid #575757;
}

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

/* FORM NEWSLETTER
-------------------------------------*/


form[name="myForm"] {
  display: flex;
  flex-direction: column;
  max-width: 300px; /* Modifica la larghezza massima a seconda delle tue esigenze */
}

form[name="myForm"] label {
  margin-bottom: 10px; /* Spazio tra la label e il campo */
}

form[name="myForm"] input[type="text"],
form[name="myForm"] input[type="submit"] {
  margin-bottom: 15px; /* Spazio sotto gli input e il pulsante */
}

form[name="myForm"] input[type="submit"] {
  align-self: flex-start; /* Allinea il pulsante a sinistra, o usa center per centrarlo */
}



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


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



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

.bg-custom {
  background: transparent;
}

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

.navbar-brand {width: 370px;}

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

  ::-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;
  text-decoration: none;
}


.navbar-light a:hover {
  color:#000 !important;
}
.navbar-light .nav-link.active {
  font-weight: bold;
}


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

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

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


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

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


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


.slider-big h2 {
  color: #fff;
}

.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-weight:bold;
}

.focus h3 a {color:#333;}

.focus .text-link {
  color: #333;
}

.focus .text-intro {
  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: 700;
}

.card-text {
  font-size: 0.85em;
  line-height: 1.4;
}

.card-info {
  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 {
  text-transform: uppercase;
  opacity: 0.9;
  font-weight: 300;
}

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

.card-cover .card-text {
  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: #fff;
  text-decoration: none;
}

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

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

.card-meta {
  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;
}



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

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

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

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

.box-eventi-data-alt p {
  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: 10px solid rgba(255, 255, 255, 0.5);
  border-radius:25px;
  /*box-shadow: 0 0 6px 0 rgba(0,0,0,.1);*/
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.card-evidenza-body {
  flex-grow: 1; /* Fa crescere il contenitore per riempire lo spazio disponibile */
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
}

.footer-card {
  margin-top: auto;
}


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



/* 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-image {
  font-weight:700;
}

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


/* SINGLE PROGETTO
-------------------------------------*/


.box-categoria-progetto-uno {
  display: inline-block;
  border: 1px solid #666;
}

.categoria-progetto-uno a {
  text-decoration: none;
  font-size: 0.9em;
}


.categoria-progetto-text-uno a {
  font-size: 0.9em;
  line-height:1.1em;
  text-decoration: none;
  display:inline-block;
}


.box-categoria-progetto {
  display: inline-block;
  border: 1px solid #666;
}

.categoria-progetto a {
  color:#fff;
  text-decoration: none;
  font-size: 0.9em;
}


.categoria-progetto-text a {
  font-size: 0.9em;
  line-height:1.1em;
  text-decoration: none;
  display:inline-block;
}

.sotto-titoli {
  font-size: 1.5rem;
  line-height: 1.5em;

}


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


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

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


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

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

.testimonials a {font-weight: bold;}

.testimonials blockquote:before {
  content: "\201c";
  position: absolute;
  top: -20px;
  left: -50px;
  color:#ddd;
}


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

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

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

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

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


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

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


.imm-articolo {
  border-radius: 20px;
}

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

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



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


.argomento-progetti {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 15px;
  border-radius: 15px;
  font-size: 0.8em;
  color: #222; 
  z-index: 10;
  font-weight: bold;
  background-color: rgba(255, 255, 255, 0.8); 
}

.icon-cittadinanza-consapevole {
  color: #FF5733; /* Arancione */
}
.icon-educazione-relazionale {
  color: #28A745; /* Verde */
}
.icon-comunicazione-e-storytelling {
  color: #007BFF; /* Blu */
}
.icon-steam {
  color: #007bff; /* Giallo */
}

.icon-default {
  color: #6C757D; /* Grigio */
}

.icon-cittadinanza-consapevole,
.icon-educazione-relazionale,
.icon-comunicazione-e-storytelling,
.icon-steam,
.icon-default {
    font-size: 0.95em;
    vertical-align: middle;
}


.category-label {
  display: inline-flex; 
  align-items: center; 
  margin-bottom: 0px;
}

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

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


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

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

.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 {
  color:#fff;
  max-width: 80%;
}

.titolo-single-si {
  color:#fff;
  max-width: 90%;
}

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

/*con immagine */

.categoria-post a {
  background: transparent;
  color: #fff;
  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;
  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 {
  color: #fff;
  text-transform: uppercase;
}

.data-categoria-si {
  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;
}

.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 {
    color: #333;
    font-weight: 600;
    display:inline-block;
    text-decoration: underline;
}


/* altezza box con immagine */

.call-to-action-boxsingle {
  padding:260px 0px 260px 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 {
  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 {
  font-weight:600;
}

.rpwwt-post-title:hover {
  text-decoration:underline;
  color:#212121;
}

.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.5em;
  line-height: 1.2;
}


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

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

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

}

.next-previous-classic {
  font-size: 1em;
  line-height: 1.2;
}

.prec-succ-classic {
  font-size: 0.9em;
  font-weight:500;
  opacity: 0.8;
  margin-bottom: 5px !important;
}

.precedente-successivo a {
  text-decoration: none;
}


/* 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: 0.9em;
    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: 0.9em;
    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:0.8em;
  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: 0.9em;
    font-weight: bold;
    margin-bottom: 10px;
}


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

.title-image {
  font-size: 1.1em;
}

.entry-attachment {
  width: auto;
}


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


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

.widgettitle {
  font-size: 1.1em !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:0.9em;
}

.swiper-content {
  border-radius:25px; 
}

.rpwwt-post-date {
  font-size:0.9em;
  color:#444;
  margin-top:5px;
}

.rpwwt-widget ul li img {
  border-radius:20px;
  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: 1em;
}

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

  .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: 0px 30px 40px 30px;
  margin-bottom: 20px;
}

.footer .widget-sidebar {
  padding: 0px;
  margin-bottom:0px;
}

.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;
  margin-right:5px;
}

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

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

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

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



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


.footer-alto {
  color: #fff;
  margin-top: 50px;
  position: relative; /* necessario per il posizionamento del ::before */
  background-color: #1A344F; /* il colore di sfondo base */
  overflow: hidden; /* opzionale per contenere eventuali overflow */
}

.footer-alto::before {
  content: '';
  background-image: url('/wp-content/themes/fcrf-portale/img/background_newsletter2.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.2; /* imposta l'opacità desiderata solo sull'immagine */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.footer-alto > * {
  position: relative; /* necessario per stare sopra il ::before */
  z-index: 1;
}


.footer-alto li a {
  color: #fff;
}

.footer-alto h2 {
  color: #fff;
}


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

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



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

.footer label {
  font-size: 1em;
  line-height:1.2;
}


.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:none;
  background:#FF5722;
}

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

.icona-footer {
  color: #FF5722;
}

/* ------------------------------------------------------------
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: 330px !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-proponi {
  display:none;
  }
}


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

  @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: 270px !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;
  }
}

@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:190px 0px 130px 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:115px;
  }
}

@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-proponi {
  display:none !important;
  }
}

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

@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; 
    border-radius:0px;
    box-shadow: none;
    }
  }

  @media (max-width:767px) {
    .box-filtro {
      border: none; 
      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) {
  .searchandfilter ul li {
    margin: 0px 20px 0px 10px !important;
    }
  }


@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) {
    .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;
  }
}

  

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

.dark-mode .wp-block-kadence-pane .kt-accordion-header-wrap .kt-blocks-accordion-header {
  color:#fff !important;
}

.dark-mode .kt-blocks-accordion-icon-trigger:before {
  background:#fff !important;
}

.dark-mode .kt-blocks-accordion-icon-trigger:after {
  background:#fff !important;
}


.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-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: 390px;
  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 20px;
}

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

.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;
}
.wp-element-button {
  border-radius:25px;
  background-color: transparent;
  color: #FF5722;
  padding-right:15px;
  padding-left:15px;
  border:1px solid #FF5722;
}


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


.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: 25px;
  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;
}


.wpcf7-submit {
  background: #37505d;
  color: #fff;
  padding: 10px 30px 10px 30px;
}

.uagb-timeline__events-inner-new {
  border-radius:25px !important;
}

.wp-block-search__label {
  display:none;
}