.postcode-filter-container input {
    width: 330px;
}

.leaflet-container .leaflet-control-attribution {
    color: white;
}

.leaflet-control-attribution.leaflet-control {
    width: 100%;
    text-align: center;
    margin-bottom: 3px;
}

.leaflet-bottom.leaflet-right {
    width: 390px;
}

.leaflet-bottom.leaflet-right a {
    color: white;
}

h3.leaflet-control-content-title {
    margin-bottom: 5px;
    padding-bottom: 5px;
}

.election-date-title {
    display: inline-block;
    width: 90px;
}

.extra-info-data {
    width: 340px;
    max-width: 100%;
    table-layout: fixed;
}

.extra-info-data td, .extra-info-data th {
    padding: 5px;
    vertical-align: top;

    overflow-x: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    cursor: default;
}

.extra-info-data th {
    padding-left: 0;
}

.extra-info-data.properties td, .extra-info-data.properties th {
    width: 170px;
}

.extra-info-data.station-data th, .extra-info-data.crowdedness-information th, .extra-info-data.opening-hours th {
    width: 155px;
}

.extra-info-data.deviating-opening-hours th {
    width: 90px;
}

.extra-info-data.deviating-opening-hours td, .extra-info-data.station-data td, .extra-info-data.crowdedness-information td, .extra-info-data.opening-hours td {
    width: auto;
}

/*
#legend-footer {
   min-width: 205.75px;
   width: 100%;
   padding-top: 20px;
   background-color: #00a1e1;
   color: white;
   padding-bottom: 35px;
}
*/


#legend-footer {
    position: absolute;
    bottom: 0;
    padding: 15px 0 25px 0;
    min-width: 205.75px;
    width: 100%;
    left: 0;
    background-color: #00A1E1;
}

#legend-footer a {
    color: white;
}

.leaflet-container .leaflet-control-attribution {
    background: none;
}

#bureau-wrapper {
    z-index: 30000;
    position: fixed;
    top: 0;
    bottom: 0;
    max-width: 100%;
    overflow: hidden;
    box-shadow: -3px 0 15px 0 rgba(0,0,0,.25);
    right: -390px;
    background-color: #FFF;
    width: 390px;
    /*height: 100%;*/
}

#bureau-wrapper-content {
    overflow-y: scroll;
    overflow-x: hidden;
    position: absolute;
    top: 0; bottom: 0;
    width: 100%;
    height: auto;
    margin: 70px 0 80px 0;
}

.bureau-header {
    height: 70px;
    background-color: #00a1e1;
    padding-top: 22px;
    color: white;
    font-weight: bold;
}
.toggle-bureau-close {
    cursor: pointer;
    font-size: 18px;
    line-height: 18px;
    padding: 4px 20px 20px;
    background-color: #00a1e1;
}
.bureau-content {
    background-color: white;
    /*
     overflow-y: scroll;
     height: 84%;
     width: 100%;
     */
}
#menu-title {
    font-size: large;
    padding-left: 51.5px;
}
.bureau-hours {
    margin: 7px 0px !important;
}
.extra-information-title-with-caret {
    margin-top: 15px !important;
}
.crowdedness-title {
    margin-top: 15px !important;
}
/*
.dropdown-toggle {
    position: absolute!important;
    right: 0;
}
*/

.navbar-fixed-top {
    position: fixed;
}

.map {
    /* deze css zou je willen als er ooit css niet goed gaat bijv de header wordt te klein, dan wordt de kaart niet uit de scherm geduwd */
    position: absolute;
    width: 100%;
    left: 0;
    top: 70px;
    bottom: 0;
    height: auto;
}

/*
Deze code gebriuk je als je custom titels in de menu wil zetten ipv de standaard woord 'Menu'
@media (max-height: 760px) {
    .bureau-content {
        height: 81%;
    }
}
@media (max-width: 460px) {
    #bureau-title {
        padding-left: 0;
    }
    .toggle-bureau-close {
        width: 100%;
        padding: 0;
        padding-top: 4px;
    }
    .bureau-header {
        height: 78px;
    }
}*/

/*Hier zit de css code voor als je de footer altijd onderaan de wrapper wil hebben staan. Ipv onderaan de legenda content*/
@media (min-height: 745px) {
    #legend-footer {
        /*
         position: absolute;
         bottom: 0px;
         padding-bottom: 35px;
         min-width: 205.75px;
         width: 100%;
         left: 0;
         */
    }
}
@media (max-height: 780px) {
    #legend-footer {
        /*padding-top: 40px;*/
    }
}


#municipal_totals {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#municipal_totals_table table thead,
#municipal_totals_table table tfoot {
    position: sticky;
}

#municipal_totals_table table thead {
    inset-block-start: 0; /* "top" */
}

#municipal_totals_table table tfoot {
    inset-block-end: 0; /* "bottom" */
}

#municipal_totals_table {
    overflow: auto;
}

#municipal_totals_table table {
    width: 100%;
}

.municipal_total_table thead th, .municipal_total_table tfoot th {
    background-color: #00A1E1;
    color: white;
    font-weight: bold;
}

.municipal_total_table th, .municipal_total_table td {
    padding: 2px 8px;
    font-size: 16px;
}

#municipal_totals_table .municipal_total_table th, #municipal_totals_table .municipal_total_table td {
    padding: 8px;
}

#municipal_totals_table {
    border: 2px solid #00A1E1;
}

#municipal_totals_table:hover {
    cursor: default;
}

#municipal_totals_table table tbody tr:nth-of-type(2n+1) {
    background-color: rgba(0,0,0,.02);
}

#municipal_totals_table table tbody td {
    border-top: 1px solid #E4E7ED;
}

#municipal_totals_table table img {
    max-width: 32px;
    max-height: 32px;
}

#municipal_totals_table table .align-right {
    text-align: right;
}

#municipal_totals_table table th:last-child, #municipal_totals_table table td:last-child {
    padding-right: 16px;
}

@media (max-width: 640px) {
    #municipal_totals * {
        font-size: 12px;
    }
}

#bureau-wrapper-content > div:nth-child(1) > span > a {
    color: white;
}

.map {
    top: 0;
}
