.search-result {
    border: 2px solid #444444;
    border-radius: 8px;
    width: 20vw;
    margin: auto;
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 10px;
    cursor: pointer;
    display: inline-block;
    transition: border-color 0.1s;
}

.search-result:hover,
.search-result:active {
    border-color: rgb(204, 132, 0);
}

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

th {
    background-color: rgb(204, 132, 0);
}

td.uguale {
    width: 50%;
}

th,
td {
    padding: .7vw;
    padding-top: .6vw;
    padding-bottom: .6vw;
    text-align: left;
}

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

.bus-card-red {
    background-color: rgb(55, 14, 14) !important;
}

tr.even .bus-card-red {
    background-color: rgb(75, 14, 14) !important;
}

.bus-card-yellow {
    background-color: rgb(55, 55, 0) !important;
}

tr.even .bus-card-yellow {
    background-color: rgb(75, 75, 0) !important;
}

.bus-card-green {
    background-color: rgb(14, 55, 14) !important;
}

tr.even .bus-card-green {
    background-color: rgb(14, 75, 14) !important;
}

a {
    color: orange;
}

a.bianco {
    color: white;
    text-decoration: none;
}

a.rosso,
a.giallo {
    text-decoration: none;
}

a.rosso div {
    background-color: rgb(55, 14, 14) !important;
    border-color: #713131;
    color: white;
}

a.giallo div {
    background-color: rgb(55, 55, 0) !important;
    border-color: rgb(83, 83, 44);
    color: white;
}

a.biancosott {
    color: white;
}

.green-bold {
    color: green;
    font-weight: bold;
}

.red-bold {
    color: rgba(255, 50, 50, 1);
    font-weight: bold;
}

div#map-container {
    margin: 24px;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

div#map-container a {
    background-color: rgb(204, 132, 0);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    padding: 0px 8px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.1s ease;
}

div#map-container iframe {
    width: 60%;
    border: 0px;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .search-result {
        display: block;
        width: 96.5%;
    }

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

    table {
        width: 100%;
    }

    nav#rcodes-nav ul:last-child li {
        margin-right: 20px;
    }

    nav#rcodes-nav ul li:last-child {
        margin-right: 20px;
    }

    div#map-container iframe {
        width: 80%;
    }
}

@media (max-width: 512px) {

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

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

    table {
        margin-top: 10px;
    }

    div#map-container iframe {
        width: 99%;
    }

    div#map-container {
        margin-left: 0px;
        margin-right: 0px;
    }
}

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

div.search-result div {
    margin-left: 10px;
    margin-right: 10px;
}