/* --------- GENERAL ----------- */
body {
  margin: 0;
  padding: 0;
}
html, body, #map {
  height: 100%;
}


/* -----------------HOMEPAGE ELEMENTS--------------- */
#sezione_progetto {
    /* outline: 1px solid black; */
    margin-top: -4rem;
    /* background: linear-gradient(#d1dace, #f1f1f1); */
    background: linear-gradient(#f1d495, #f2f2f2);
}
#sezione_progetto h1 {
  font-size: 2rem;
  animation: fadeInDown 1s ease-out;
}
#sezione_progetto p {
  animation: fadeIn 1.5s ease-out;
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
#icon1 {
    color: rgb(48, 110, 246);
}
#icon1:hover {
    color: rgb(255, 255, 255);
}
#header {
  background:url('../images/sfondo2.jpg') center no-repeat;
  background-size: cover;
  min-height: 600px;
}
.col_itin {
    background: linear-gradient( rgba(119,191,216, 0.800), rgba(119,191,216, 0.800) ), url("../images/servizio1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}
.col_itin:hover {
    background: linear-gradient( rgba(119,191,216, 0.400), rgba(119,191,216, 0.400) ), url("../images/servizio1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}
.col_archiv {
    background: linear-gradient( rgba(131, 124, 184, 0.799), rgba(131, 124, 184, 0.804) ), url("../images/servizio2.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}
.col_archiv:hover {
    background: linear-gradient( rgba(131, 124, 184, 0.408), rgba(131, 124, 184, 0.404) ), url("../images/servizio2.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}


/* -------------- GENERAL LAYOUT --------------- */
.map-overlay_back {
  font: 12px/20px 'Raleway';
  position: absolute;
  top: 18px;
  left: 25px;
}
.map-overlay_back .map-overlay_back-inner {
  background-color: #1fc438;
  box-shadow: 0px 0px 7px 3px rgba(19, 23, 255, 0.596);
  border-radius: 100px;
}
.map-overlay_stats {
  font: 12px/20px 'Raleway';
  position: absolute;
  top: 152px;
  left: 25px;
}
.map-overlay_stats .map-overlay_stats-inner {
  background-color: #1fc438;
  box-shadow: 0px 0px 7px 3px rgba(19, 23, 255, 0.596);
  border-radius: 100px;
}
.map-overlay_time {
  font: 12px/20px 'Raleway';
  position: absolute;
  top: 85px;
  left: 25px;
}
.map-overlay_time .map-overlay_time-inner {
  background-color: #1fc438;
  box-shadow: 0px 0px 7px 3px rgba(19, 23, 255, 0.596);
  border-radius: 100px;
}
.map-overlay_puntatore {
  font: 12px/20px 'Raleway';
  position: absolute;
  top: 155px;
  left: 25px;
}
.map-overlay_puntatore .map-overlay_puntatore-inner {
  background-color: #1fc438;
  box-shadow: 0px 0px 7px 3px rgba(19, 23, 255, 0.596);
  border-radius: 100px;
}
.tab {
  position: absolute;
  left: 70px;
  top: 1px;
  background-color: rgb(255, 255, 255);
  border-radius: 15px;
  width: 250px;
  z-index: 2;
}
.b {
    width: 50px;      /* o la dimensione che vuoi */
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.b:hover{
  background-color: #ffffff;
  transition: background-color 0.3s ease;
  cursor: pointer;
}
.b.active {
  background-color: #ffffff;
}
.icon-expand {
    font-size: 2em; /* oppure usa % se vuoi in base al contenitore padre */
}
.b:hover .icon-expand {
    color: #1fc438; /* blu, puoi cambiare con qualsiasi colore */
}
.ol-zoom {
    left: unset;
    right: 15px;
    top: 15%;
}
.triggered {
  background-color: #ff0303 !important;
  outline: 1px solid white;
}

/* ------------ LEGENDA ------------------- */
.map-overlay_legend {
  font: 12px/20px 'Raleway';
  position: absolute;
  top: 80%;
  left: 20px;
}
.map-overlay_legend .map-overlay_legend-inner {
  background-color: #ffffff;
  box-shadow: 0px 0px 7px 3px rgba(19, 23, 255, 0.596);
  border-radius: 10px;
}
.b_legend {
    width: 150px;      /* o la dimensione che vuoi */
    height: 120px;
}
.legend div span {
  border-radius: 0%;
  display: inline-block;
  height: 15px;
  margin-right: 15px;
  width: 40px;
  background-color: transparent;
}


/* --------------- LAYER SWITCHER -------------- */
.layer-switcher {
    background-color: transparent;
}
.layer-switcher .panel {
    background-color: rgba(255, 252, 251, 0.939) !important;
    color: rgb(15, 15, 15) !important;
    border-radius: 10px !important;
    border: 0px solid #eee;
}
 .layer-switcher button {
    /* background-color: rgb(0, 0, 0) !important; */
    border-radius: 30px;
    /* outline: solid 2px #ffffff; */
    cursor: pointer;
    outline: solid 2px #000000 !important;
}
.layer-switcher .group button {
  outline: solid 2px #00000000 !important;
}
.layer-switcher button:hover {
    background-color: rgb(255, 255, 255) !important;
    border-radius: 30px !important;
    outline: solid 2px #000000 !important;
}
/*
.layer-switcher.shown button {
    background-color: #ff0000 !important;
    outline: solid 2px #ffffff !important;
    left: 30px !important;
    top: 0px !important;
    position: absolute !important;
    width: 25px;
    height: 25px;
    cursor: pointer;
}
.layer-switcher.shown.layer-switcher-activation-mode-click button:hover {
    background-color: #000000 !important;
    outline: solid 2px #ffffff !important;
    color: #eee;
} */


/* --------- CANVAS ------------- */
#myChart {
  max-height: 250px;
}
#offcanvasBottom {
  height: 350px;
  transition: 1s;
}
