html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.bg-menu {
    background-color: #4b545c
}

.delete-menu {
    position: absolute;
    background: white;
    padding: 3px;
    color: #666;
    font-weight: bold;
    border: 1px solid #999;
    font-family: sans-serif;
    font-size: 12px;
    box-shadow: 1px 3px 3px rgba(0, 0, 0, 0.3);
    margin-top: -10px;
    margin-left: 10px;
    cursor: pointer;
}

.delete-menu:hover {
    background: #eee;
}


.file-drop-area {
    position: relative;
    display: flex;
    align-items: center;
    /*width: 450px;*/
    max-width: 100%;
    padding: 25px;
    border: 1px dashed rgba(255,255,255,0.4);
    border-radius: 3px;
    transition: .2s;
}

.choose-file-button {
    flex-shrink: 0;
    background-color: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 3px;
    padding: 8px 15px;
    margin-right: 10px;
    font-size: 12px;
    text-transform: uppercase;
}

.file-message {
    font-size: small;
    font-weight: 300;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-input {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    widows: 100%;
    cursor: pointer;
    opacity: 0;
}

.legend-color-box {
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 10px;
    border: 1px solid #000;
}

.legend-color-gray {
    background-color: gray;
}

.legend-color-red {
    background-color: red;
}

.legend-color-blue {
    background-color: blue;
}

.legend-color-green {
    background-color: green;
}

.legend-color-yellow {
    background-color: yellow;
}

.legend-color-orange {
    background-color: orange;
}

/* Aggiungi questi stili al tuo file CSS */
.nav-link.active {
    font-weight: bold; /* Cambia il testo in grassetto */
    color: #007bff !important; /* Cambia il colore del testo */
    text-decoration: underline; /* Sottolinea il link attivo */
}

/* css per la visualizzazione del tasto fullscreen su IPhone */
.gm-fullscreen-control {
    display: block !important;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 999;
}

/* Marker centrale per crea-edita accesso */
.center-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10%; /* Sostituisci con la dimensione desiderata */
    height: auto; /* Mantiene il rapporto d'aspetto */
    transform: translate(-50%, -50%);
    object-fit: contain; /* Facoltativo, assicura che l'immagine rimanga proporzionata */
}

.map-container {
    position: relative;
    text-align: center; /* Centra gli elementi figli orizzontalmente */
}

.center-button {
    margin-top: 10px; /* Sposta il pulsante leggermente pił in basso */
    position: relative;
}

/* stili aggiuntivi bootstrap - progressbar */
.progress-bar-orange {
    background-color: orange !important;
}

.progress-bar-yellow {
    background-color: yellow !important;
}
