
/* ------ GENERAL ----------- */
html, body {
    height: 100%;
    width: 100%;
    font-family: 'Raleway';
  }
#map { height: 100%;}
#map_quartieri {
  height: 300px;
  border-radius: 15px;
}


/* -------------MAPLIBRE-POPUP------------------------------------------------- */
.maplibregl-popup-content{
  border-radius: 10%;
  width: 300px;
  line-height: 15px;
  font-family: 'Raleway';
}
.maplibregl-popup-content h6{
  color: #F8B133;
  font-weight: 600;
}
.maplibregl-popup-content .subt{
  font-weight: 600;
  font-size: larger;
}
.maplibregl-popup-content .inf{
  line-height: 5px;
}
.maplibregl-popup-close-button {
  display: none; 
}
.tag {
  border-radius: 50px;
  font-size: 12px;
  background-color: #F8B133; /* Colore di sfondo quando selezionato */
  color: #ffffff; /* Colore del testo quando selezionato */
  border-color: transparent;
  width: auto;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 1px;
  padding-bottom: 1px;
  margin-right: 2px;
  margin-bottom: 2px;
}
.tag_hide{
  display: none;
}

/* --------- MENU VERTICALE -------------------------------------------------- */
.map-overlay {
  font: 12px/20px 'Raleway';
  position: absolute;
  width: 87px;
  top: 10px;
  left: 10px;
  padding: 10px;
}
.map-overlay2 {
  font: 12px/20px 'Raleway';
  position: absolute;
  width: 79px;
  top: 10px;
  right: 10px;
  padding: 10px;
}
.map-overlay3 {
  font: 12px/20px 'Raleway';
  position: absolute;
  width: 79px;
  top: 80px;
  right: 10px;
  padding: 10px;
}
.map-overlay .map-overlay-inner {
  background-color: #F8B133;
  /* box-shadow: 0px 0px 7px 3px rgba(19, 23, 255, 0.596); */
  border-radius: 100px;
}
.map-overlay2 .map-overlay2-inner {
  background-color: #F8B133;
  /* box-shadow: 0px 0px 7px 3px rgba(19, 23, 255, 0.596); */
  border-radius: 100px;
}
.map-overlay3 .map-overlay3-inner {
  background-color: #F8B133;
  /* box-shadow: 0px 0px 7px 3px rgba(19, 23, 255, 0.596); */
  border-radius: 100px;
}
.b {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #F8B133;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease;
  cursor: pointer;
}
.b:hover{
  background-color: #ffffff;
  transition: background-color 0.3s ease;
}
.b.active {  /* Stile per il pulsante attivo */
  background-color: #ffffff;
}
.b:hover img {
  filter: brightness(0) saturate(100%) invert(61%) sepia(94%) saturate(520%) hue-rotate(1deg) brightness(110%) contrast(96%);
}
.b.active img {  /* Stile per l'immagine attiva */
  filter: brightness(0) saturate(100%) invert(61%) sepia(94%) saturate(520%) hue-rotate(1deg) brightness(110%) contrast(96%);
}
.b_riep:hover {
  background-color: #ffffff;
  transition: background-color 0.3s ease;
  cursor: pointer;
}
.b_riep.active {  /* Stile per il pulsante attivo */
  background-color: #ffffff;
}
.b_riep:hover img {
  filter: brightness(0) saturate(100%) invert(61%) sepia(94%) saturate(520%) hue-rotate(1deg) brightness(110%) contrast(96%);
}
.b_riep.active img {  /* Stile per l'immagine attiva */
  filter: brightness(0) saturate(100%) invert(61%) sepia(94%) saturate(520%) hue-rotate(1deg) brightness(110%) contrast(96%);
}
.b_logout img{
  transition: background-color 0.3s ease;
  cursor: pointer;
}
.b_logout:hover {
  background-color: #ffffff;
  transition: background-color 0.3s ease;
  cursor: pointer;
}
.b_logout:hover img {
  filter: brightness(0) saturate(100%) invert(61%) sepia(94%) saturate(520%) hue-rotate(1deg) brightness(110%) contrast(96%);
}


/* OUTER TABS */
.tab{
  position: absolute;
  left: 85px;
  top: 10px;
  background-color: rgb(255, 255, 255);
  border-radius: 15px;
  width: 325px;
}
.tab_riepilogo{
  position: absolute;
  right: 75px;
  top: 10px;
  background-color: rgb(255, 255, 255);
  border-radius: 15px;
  width: 300px;
}

/* INNER TABS */
.filtri_categorie {
    background-color: #EEEEEE;
    border-radius: 30px;
    width: 260px;
    display: inline-block;
}
.form-check-input {
  border-radius: 50% !important;
  width: 18px !important;
  height: 18px !important;
  background-color: #ffffff !important;
}
.form-check-input[type="checkbox"]:checked {
  border-radius: 50% !important;
  width: 18px !important;
  height: 18px !important;
  background-color: #F8B133 !important;
  background-image: none !important;
  border-color: rgb(142, 142, 142);
}
.form-check-input:hover {
  background-color: #FCD188 !important;
}
.form-check-input[type="checkbox"]:checked:hover {
  background-color: #FCD188 !important;
}
.bottoni_filtri {
    border-radius: 50px;
    font-size: 12px;
}
.bottoni_filtri:hover {
  background-color: #FCD188 !important;
}
input[type="checkbox"]:checked + label.bottoni_filtri {
  background-color: #F8B133; /* Colore di sfondo quando selezionato */
  color: #ffffff; /* Colore del testo quando selezionato */
  border-color: transparent;
}
.bottoni_filtri_riep {
  border-radius: 50px;
  font-size: 12px;
  background-color: #F8B133; /* Colore di sfondo quando selezionato */
  color: #ffffff; /* Colore del testo quando selezionato */
  border-color: transparent;
  width: auto;
}
.bottoni_quartieri {
  border-radius: 50px;
  font-size: 12px;
  color: #ffffff; /* Colore del testo quando selezionato */
  border-color: transparent;
  width: auto;
}
.reset {
  border-radius: 30px;
  background-color: white;
  border: solid 2px #F8B133;
  font-weight: bold;
}
.reset:hover {
  border-radius: 30px;
  background-color: #F8B133;
  color: black;
  border: solid 2px #F8B133;
  font-weight: bold;
}
.news_post {
  border-radius: 10px;
  background-color: #EEEEEE;
}
.small-close {
  position: relative;
  top: 60%;
  right: 3px;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  padding: 0;
}

/* PREFERENZE */
.accordion-button {
  background-color: #EEEEEE !important;
  color: #F8B133 !important;
  border-radius: 30px !important;
  box-shadow: none !important;
  outline: solid 2px #F8B133 !important;
  max-height: 35px !important;
}
.accordion-button:not(.collapsed) {
  background-color: white!important;
  color: #F8B133 !important;
  box-shadow: none !important;
  border-radius: 30px !important;
  outline: solid 2px #F8B133 !important;
  max-height: 35px !important;
}
.accordion-button:hover {
  background-color: #F8B133 !important;
  color: white !important;
  border-radius: 30px !important;
  box-shadow: none !important;
  outline: solid 2px #F8B133 !important;
  max-height: 35px !important;
}
.accordion-button:not(.collapsed):hover {
  background-color: #F8B133 !important;
  color: white !important;
  box-shadow: none !important;
  border-radius: 30px !important;
  outline: solid 2px #F8B133 !important;
  max-height: 35px !important;
}
.accordion-header {
  box-shadow: none !important;
  outline: none !important;
  max-height: 40px;
  border: none !important;
}
.accordion {
    outline: none !important;
    border: none !important;
}
.accordion-item {
    outline: none !important;
    border: none !important;
}
.accordion-body {
  background-color: #ffffff !important;
  color: #444 !important;
}
.pref_categ {
    background-color: #EEEEEE;
    border-radius: 30px;
    width: 235px;
    margin-bottom: -8px;
}
.pref_target {
    background-color: #F8B133;
    border-radius: 30px;
    color: white;
}
.marbot {
  margin-bottom: 4px;
}
.martop {
  margin-top: 15px;
}