html, body {
    height: 100%;
    margin: 0;
}

.map-container {
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.map-menu {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 160px;
    padding: 12px;
    background-color: rgba(255,255,255,0.7);
    border: 1px solid #d5d7da;
    border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
}

.map-menu select {
    width: calc(100% - 20px);
}

.map-menu .search-button {
    display: inline-block;
    float: right;
    background: url('/gfx/2017/symbol-search.png') no-repeat;
    background-size: 14px;
    -webkit-background-size: 14px;
    width: 14px;
    height: 14px;
    cursor: pointer;
}

.map-menu .search-input {
    width: 100%;
    display: none;
    margin-top: 4px;
    line-height: 20px;
    border: 1px solid #d5d7da;
    border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
}

text {
    font-family: Verdana, sans-serif;
    font-size: 20px;
    text-anchor: middle;
}

.field > text {
    font-size: 80px;
}

text {
    alignment-baseline: central;
}

text {
    dominant-baseline: central;
}

text {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

svg {
    overflow: visible;
}

path {
    fill: #e7eaee;
    fill-opacity: 0.8;
    stroke: #999999;
}

polyline {
    fill: none;
    stroke: #999999;
}

/*
svg.grave:hover > path {
    fill: #1499d0;
    fill-opacity: 1.0;
}

svg.grave:hover > text {
    fill: #ffffff;
}
*/

svg.grave > text:hover {
    cursor: pointer;
    text-decoration: underline;
}

svg.selected > path {
    stroke: #ffffff;
    fill: #989ea6;
    fill-opacity: 0.8;
}

svg.fill1 > path {
    fill: #aaaaaa;
}

svg.fill2 > path {
    fill: #cccccc;
}

svg.fill3 > path {
    fill: #aacccc;
}

svg.fill4 > path {
    fill: #ccaacc;
}

svg.fill5 > path {
    fill: #ccccaa;
}

svg.fill6 > path {
    fill: #ccaaaa;
}

svg.fill7 > path {
    fill: #aaccaa;
}

svg.fill8 > path {
    fill: #aaaacc;
}

svg.primary > path {
    stroke: #ffffff;
    fill: #1499d0;
    fill-opacity: 1.0;
}

svg.primary > text {
    fill: #ffffff;
}

svg.far-away .grave > text {
    display: none;
}

svg.far-away polyline {
    stroke-width: 3;
}

svg.normal polyline {
    stroke-width: 2;
}

svg.closse polyline {
    stroke-width: 1;
}

svg.close .grave > text {
    font-size: 10px;
}

svg.close .field > text {
    display: none;
}

@media print {
    .map-menu {
        display: none;
    }
}