html {
    width: 100%;
    max-width: 650px;
    min-width: 320px;
    overflow: hidden;
}

body {
    width: 100%;
    /*font-family: "Lucida Sans"; !important;*/
}

.container {
    width: 100%!important;
    overflow: auto;
    /*height: 100vh;*/
    max-height: 1500px;
}

#content {
    min-height: 723px;
}

@media (max-width: 650px) {
    #content {
        min-height: calc(1.15 * 100vw);
    }
}

#map-container svg {
    max-width: 650px;
}

svg {
    cursor: pointer;
}

.d3-tip {
    line-height: 1;
    padding: 6px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
}

/* Creates a small triangle extender for the tooltip */
.d3-tip:after {
    box-sizing: border-box;
    display: inline;
    font-size: 10px;
    width: 100%;
    line-height: 1;
    color: rgba(0, 0, 0, 0.8);
    content: "\25BC";
    position: absolute;
    text-align: center;
}

/* Style northward tooltips specifically */
.d3-tip.n:after {
    margin: -2px 0 0 0;
    top: 100%;
    left: 0;
}

#checkbox-wrapper {
    display: none;
}

.tablink {
    width: 33%;
    text-align: center;
}

#schlussbalken {
    position: relative;
    width: 100%;
    height: 10px;
    margin: 10px 0 10px 0;
    background-color: #697d91;
    border-radius: 3px;
}

/* Style the tab */
.tab {
    overflow: hidden;
}

/* Style the buttons that are used to open the tab content */
.tab td {
    float: left;
    outline: none;
    cursor: pointer;
    padding: 5px 10px 5px 10px;
    transition: 0.3s;
    width: 33.3333%;
    font-size: 14px;
    height: 40px;
    text-align: center;
    vertical-align: middle;
    line-height: 200%;
    border-radius: 4px 4px 0 0;
    background-color: #697d91;
    color: white;
    display : inline-block;
    border: 1px solid lightgray;
}

#selectResult tr {
    border-bottom: none;
}

#oneLine {
    line-height: 40px;
}

.tab td:hover, .dropdown-button:hover, #infoButton:hover {
    background-color: #96a5b3;
}

.selected {
    color: black!important;
    font-weight: bold;
    background-color: white!important;
    border-bottom: none!important;
}

#content {
    border: 1px solid lightgray;
    border-top: none;
    border-radius: 0 0 5px 5px;
    padding: 10px;
}

#checkbox-wrapper [type="checkbox"].filled-in:checked+span:not(.lever):after {
    background-color: #697d91;
    border-color: #697d91;
}

#checkbox-wrapper span {
    line-height: 20px;
}

.show-ambulant:hover {
    color: #697d91;
}

