/*!
Theme Name: Design Comuni Italia Child
Template: design-comuni-wordpress-theme-main
Author: Plantict.it
Description: Design Comuni Italia è il tema di WordPress per i siti dei Comuni Italiani. Rispetta le linee guida di design dell’Agenzia per l’Italia digitale rilasciate dal Team per la Trasformazione Digitale. Utilizza Bootstrap Italia.
Version: 1.0.0
License: AGPL 3.0 or later
Text Domain: design_comuni_italia
*/
/** immagini e allineamenti wp **/
/* =WordPress Core
-------------------------------------------------------------- */
/**
 * ALL
 * yellow poste:       #E0DE1B
 * yellow poste scuro: #D0CE1F
 */

/* COLORI BOOTSTRAP */
.bg-primary {
  background-color: #E0DE1B !important;
}
.bg-gare{
    background-color: #FFF0C7;
    color: black;
}
.bg-bandi{
    background-color: #E0F5FF;
    color: black;
}
/* MAIN */
main{
    background-image: url('/wp-content/uploads/2025/11/container-bg.jpg');
    background-position: left top;
    background-repeat: no-repeat;
	padding-bottom: 50px;
}

/* BUTTONS BOOTSTRAP */
.btn-primary {
  color: black;
  background-color: #E0DE1B;
}
.btn-primary:hover {
	background-color: #B0AE0C;
}
/* button */
.it-header-wrapper .nav-item.dropdown button {
  color: black;
}
.btn img {
  transition: filter 0.3s ease;
}
.btn:hover img {
  filter: brightness(0) invert(1);
}

/* LABEL */
@media (min-width: 576px) {
    .btn-label {
        font-size: 1rem;
        color: black;
    }
}

/*  BORDERS */
.border-primary {
    border-color: #E0DE1B!important;
}
/* BREADCRUMB */
.cmp-breadcrumbs .breadcrumb-container .breadcrumb .breadcrumb-item a {
  color: black;
}

/* LISTS */
dd, ol, ul {
  margin: 0 0 0 20px;
  padding: 0;
  list-style: disc;
}
ul li, ol li, dl dd {
  margin-bottom: 15px;
}
ul>li>ul>li{
  list-style: circle;
}
/* list breadcrumb */
ol.breadcrumb {
  margin: 0;
}
/* ACCORDION */
.accordion-body {
    padding: 12px;
}
.accordion-item {
    border-bottom: 1px solid lightgray;
    padding-bottom:23px;
}
.accordion-item:last-of-type{
    border-bottom: 0;
}
.accordion-header {
    padding: 0 0 0 12px;
    border-top:0;
}
.accordion-header .accordion-button {
    padding: 0;
}
.accordion-header .accordion-button,
.accordion-header .accordion-button:not(.collapsed){
    color: black;
}
.accordion-header .accordion-button:after {
    content: "+";
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 12px;
    margin-top: 24px;
    padding-top: 8px;
    color: black;
    font-size: 20px;
    font-weight: 400;
    text-align: center;
    background-color: #E0DE1B;
    transform: scaleY(1);
}
.accordion-header .accordion-button:not(.collapsed):after {
    content: "-";
    transform: scaleY(-1);
}

/* CALL TO ACTION */
.it-cta-wrapper {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 3px 3px 4px 3px #f7f6f4;
}
/*div.call-to-action::after{
    content: "";
    position: absolute;
    bottom: -25px;
    left: 0;
    width: 100%;
    height: 25px;
    background: linear-gradient(to bottom, #f7f6f4, #ffffff);
}*/

/* CONTENT */
@media (min-width: 1400px) {
  .row.hero-title {
    padding: 0 14px;
  }
}

/* SLIM HEADER */
/* Motto */
.it-header-slim-wrapper-content p {
  font-size: 14px;
  margin-top: 12px;
}
/* Fascia top */
@media (min-width: 992px) {
    .it-header-slim-wrapper {
        height: 50px;
    }
}
.it-header-slim-wrapper {
  background: white;
  border-bottom: 1px solid #E0DE1B;
}

/* link admin */
.it-header-slim-wrapper .it-header-slim-wrapper-content a {
  color: black;
}

/* fascia nav */
@media (min-width: 992px) {
  .it-header-navbar-wrapper, .navbar {
    background: white;
  }
  .navbar .navbar-collapsable .menu-wrapper .navbar-nav {
	margin-top: 15px;
  }
  /* div grand */	
  .menu-wrapper .it-brand-text {
    padding: 0 0 0 14px;
	margin-top: -65px;
  }
}



/* link menù */
.it-header-wrapper .navbar .navbar-collapsable .navbar-nav li.nav-item a.nav-link {
    font-weight: 600;
	text-decoration: none;
}
/* link active */
.navbar-nav li {
  position: relative;
}
.navbar-nav li:has(a.active)::after,
.navbar-nav li:hover::after{
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background-color: #000;
  position: absolute;
  bottom: -15px;
  left: 0;
}

/* after nav */
@media (min-width: 992px) {
    #header-nav-wrapper::after {
      content: "";
      position: absolute;
      bottom: -25px;
      left: 0;
      width: 100%;
      height: 25px;
      background: linear-gradient(to bottom, #f7f6f4, #ffffff);
    }
}

/* HERO */
.hero{
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 300px;
}                      


/* HERO HOME PAGE */
/* section */
@media (min-width: 992px) {
    section.home.it-hero-wrapper {
        min-height: 450px;
        height: 450px;
        margin-bottom: 60px;
    }
}
.it-hero-wrapper .text{
    margin-left: 5px;
    padding: 20px 0;
}
.it-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* opacità 50% */
  z-index: 1;
}

/* MENU' */
/* link color */
@media (min-width: 992px) {
  .navbar .navbar-collapsable .navbar-nav li.nav-item a.nav-link, .navbar .navbar-collapsable .navbar-nav li.nav-item button.nav-link {
    color: black;
  }
}
/* PAGINATORE */
h2.screen-reader-text{
	display: none;
}
.nav-links>a{
	padding:15px;
}
/* FOOTER */
/* bg 1 */
.it-footer-main, .it-footer-small-prints {
  background-color: #E0DE1B;
}
/* a */
.it-footer a {
  color: black;
}
/* color */
.it-footer-main {
  color: black;
}
/* logo */
.it-footer-main .it-brand-text p {
  font-weight: bold;
  line-height: 25px;
  margin-top: 10px;
}
/* footer menù */
footer.it-footer ul.footer-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 0;
}
/* bg 2 */
footer .it-footer-main.footer-bottom {
  background-color: #D0CE1F;
  margin-top: 0;
}