.ol-popup {
    position: absolute;
    background-color: white;
    -webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    padding: 0;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    min-width: 320px !important;
    font-size: 60% !important;
    padding: 18px 0 14px 0;
}

.ol-popup .ol-popup-content {
    padding: 0 20px 0 20px;
}

.ol-popup:after, .ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.ol-popup:after {
    border-top-color: white;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}
.ol-popup:before {
    border-top-color: #cccccc;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}
.ol-popup-closer {
    text-decoration: none;
    color: #9d9d9d;
    position: absolute;
    top: 3px;
    right: 8px;
    margin: 0 0 2px 2px;
}
.ol-popup small {
    white-space: nowrap;
}

.geolocate_button {
    bottom: 35px !important;
    left: .5em !important;
}

.map_memo_button {
    top: 15px !important;
    right: .5em !important;
}

.ol-rotate {
    top: 45px !important;
}

#popup-content {
    text-align: center;
}
.mapboxgl-popup-content {
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    min-width: 280px;
    font-size: 150%;
}
.mapbox-custom-control {
    position: relative;
    top: -90vh;
    padding: 110px 0 0 .35em;
}

.mapbox-custom-control button {
    border-radius: 8px;
    border: 0;
    font-size: 75%;
    background-color: white;
}

.ol-control-transparent {
    background: none !important;
}
.ol-control-transparent button {
    border-radius: 4px;
    border: 1px;
    background-color: white;
    outline: 1px solid var(--ol-subtle-background-color);
}
.ol-control-transparent button:hover {
    outline: 1px solid var(--ol-subtle-foreground-color);
}
.ol-box {
    background-color: white;
    padding: 10px;
    border-radius: 4px;
    outline: 1px solid var(--ol-subtle-background-color);
    font-size: 60%;
    position: relative;
    left: 60px;
    top: -130px;
}
.ol-box:hover {
    outline: 1px solid var(--ol-subtle-foreground-color);
    transition: all .25s ease;
}

.track-info, .point-info {
    display: none !important
}

.layerswitch_button {
    top: 105px !important;
    left: .5em !important;
}
.ol-touch .layerswitch_button {
    top: 155px !important;
}

.default_view_button {
    bottom: 35px !important;
    right: .5em !important;
}

#mapbox-map-canvas, #map-canvas {
    height: 90vh;
    width: 100% !important;
        position: relative;
}

.canvas-with-elevation {
    height: 75vh !important;
}

#pathway_elevation {
    height: 25vh !important;
}
#pathway_elevation_container {
    height: 25vh !important;
}

div.elevation_tooltip {
  position: absolute;
  text-align: center;
  padding: 1em;
  font: 60% sans-serif;
  background: lightsteelblue;
  border: 0;
  border-radius: 8px;
  pointer-events: none;
}

.grid .tick {
    stroke: lightgrey;
    opacity: 0.1;
}
.grid path {
    stroke-width: 0;
}

.layer > * {
    text-align: top;
    font-size: 85% !important;
}
.panel > ul {
    margin: .5em;
}
.layer > input {
    margin: .55em .5em 0 0;
}

