.head-banner{
    background-color: rgb(0, 0, 0);
    padding-top: 8rem;
    padding-bottom: 8rem;
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
}

.sezione-icone{
    padding-top: 7rem;
    padding-bottom: 7rem;
}

.bi{ 
    font-size: 60px;
}

html {
    margin: 0px;
    height: 100%;
    width: 100%;
 }
 
 body {
    margin: 0px;
    min-height: 100%;
    width: 100%;
 }
#mapid {
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0; 
    padding: 0; 
  }


#legend {
    position: absolute;
    bottom: -0px;
    left: -3px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 5px;
    z-index: 1000;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
    cursor: pointer;
}

#showLegendButton {
    position: absolute;
    bottom: 0px;
    left: 0px; 
    z-index: 1000;
    background-color: transparent;
    border-color: transparent;
    
}

#legend:hover {
    opacity: 1;
    background-color:beige;
}
#legend h5 {
    margin-top: 0;
    margin-bottom: 10px;
}

.legend-hidden {
    display: none;
}

.legend-toggle-box {
    display: none;
    margin-top: 10px;
    text-align: center;
}

.buttonsize{
    height: 16px;
    width: 16px;
    margin-left: -7.8rem;
    margin-top: -0.45rem;
    display: flex;
    align-items: center;
    background-color: transparent;
    border-color: transparent;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000; 
    display: none;
}

#fileModal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    display: none;
}
#main-content {
    display: flex;
    height: calc(100vh - 56px);
}

#map-container {
    flex: 1;
    position: relative;
}

.info-container {
    position: absolute;
    right: 0;
    top: 0;
    width: 300px;
    height: 100%;
    background-color: white;
    border-left: 1px solid #aaaaaa;
    padding: 20px;
    overflow-y: auto;

}
.hidden {
    display: none;
}
.info-container.visible {
    display: block;
}

.info-container.hidden {
    display: block;
}


.trail-info {
    display: none;
    padding-left: 10px;
}

.btn-outline-danger{
    display: none;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 3px;
    padding-bottom: 3px;
    position: relative;
    left: 3px;
}

.btn-i{
    display: none;
    padding-left: 50px;
    position: absolute;
    bottom: 0px;
    left: 0px; 
    z-index: 1000;
    background-color: rgba(69, 188, 69, 0.754);
    border-color: transparent;
}
.scroll-container {
    width: 100%;
    height: 550px;
    overflow-y: scroll;
    border: 1px solid #ccc;
    padding: 10px; 
    box-sizing: border-box;
}

.content {
    width: 350px;
    height: 500px;
    text-align: justify;
    text-justify: inter-word;
}

nav li {
    display: inline-block;
  }
  
  nav li button {  
    background-color: #4CAF50;
    color: white;
    padding: 5px 10px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
  }
  
  nav li button:hover {
    background-color: #45a049;
  }
