#data-container {
    min-width: 80%;
    max-width: 100%;
    padding-bottom: 5px;
}

.filter-container {
    justify-content: space-evenly;
    margin-top: 5px;
    margin-bottom: 5px;
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    background-color: #333;
    padding: 20px;
    border-radius: 12px;
    flex-wrap: wrap;
    row-gap: 4px;
}

.filter-top {
    display: flex;
    margin-bottom: 16px;
}

.filter-container button {
    flex: 1 1 10px;
    background-color: darkcyan;
    border: 0;
    border-radius: 8px;
    margin-right: 15px;
    margin-left: 15px;
}

#map-link-container {
    margin-top: 12px;
}

.map-button {
    width: 14%;
}

.filter-container input,
.filter-container select {
    flex: 1 1 200px;
    padding: 10px 15px;
    font-size: 16px;
    border: 2px rgba(0, 139, 139, 0.5) solid;
    border-radius: 8px;
    transition: border-color 0.3s ease;
    background-color: transparent;
    color: white;
    min-width: 0;
    margin-left: 15px;
    margin-right: 15px;
}

.filter-container input:focus,
.filter-container select:focus {
    outline: none;
    border-color: darkcyan;
}

.filter-container button:active {
    background-color: rgba(0, 139, 139, 0.5);
}

.num {
    margin-top: 6px;
    margin-bottom: 6px;
    max-width: 150px;
    margin-left: auto;
    margin-right: auto;
    background-color: #333;
    border-radius: 8px;
}

table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    min-width: 85%;
    max-width: 100%;
    text-align: left;
}

thead {
    position: sticky;
    top: 0;
}

thead.nosticky {
    position: relative;
}

th {
    background-color: darkcyan;
    padding: .7vw;
}

td {
    padding: .7vw;
}

tr.even {
    background-color: rgb(60, 60, 60);
}

td.uguale {
    width: 50%;
}

hr.solid {
    width: auto;
}

@media (max-width: 768px) {
    .filter-container {
        padding: 12px;
        width: calc(100% - 30px);
        margin-left: auto;
        margin-right: auto;
    }

    .filter-top {
        row-gap: 8px;
        flex-direction: column;
    }

    .filter-container input,
    .filter-container select,
    .filter-container button {
        flex: unset;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
    }

    #data-container {
        overflow-x: scroll;
    }

    th,
    td {
        font-size: 2.4vw;
    }
}

@media (max-width: 512px) {
    th {
        position: sticky;
    }

    th,
    td {
        font-size: 3.6vw;
        padding: 1vw;
    }

    td:first-child,
    th:first-child {
        padding-left: 5px;
    }

    .mobile-hidden {
        display: none;
    }

    table {
        min-width: 100%;
    }
}

button {
    background-color: rgb(60, 60, 60);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-family: inherit;
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:disabled {
    cursor: not-allowed;
}

a {
    color: rgb(0, 215, 215);
}

a.no-decoration {
    text-decoration: none;
    color: inherit;
}

input::placeholder {
    color: white;
}

img {
    margin-top: 10px;
    width: 150px;
}

/* Questo pezzo qui fixa il dropdown su alcuni browser*/
.filter-container select option {
    background-color: rgb(60, 60, 60);
    color: white;
}

footer {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
}