.fill-window {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.obstacle-icon {
    background: magenta;
    color: white;
    font-weight: bold;
    border: 1px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.9;
    cursor: auto;
}

.obstacle-icon.long {
    background: red;
}

.obstacle-icon.short {
    background: blue;
}

.obstacle-icon.both {
    /* https://css-tricks.com/stripes-css/ */
    background: repeating-linear-gradient(
        45deg,
        red,
        red 14.414px,
        blue 14.414px,
        blue 28.828px
    );
}

.clickable {
    cursor: pointer;
}

.not-clickable {
    cursor: auto !important;
}

.legend {
    background-color: white;
    z-index: 1000;
    font-family: sans-serif;
    overflow: hidden;
    /* padding: 1em; */
    box-sizing: border-box;
}

.legend button {
    position: fixed;
    top: 0;
    right: 0;
    margin: 1em;
}

.legend #gallery {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.legend img {
    aspect-ratio: auto;
    max-width: 100vw;
}

.legend iframe {
    width: 100%;
    height: calc(100% - 50px);
    margin-top: 50px;
    border: none;
}

.legend #list-content {
    padding: 1em;
    font-family: monospace;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.legend #list-body {
    padding-bottom: 2em;
}

button {
    cursor: pointer;
}

.obstacle-popup {
    white-space: pre-wrap;
}

.usr-distance-marker-short {
    border: 2px solid #4444FF;
}

.usr-distance-marker-long {
    border: 2px solid #FF4444;
}

.dist-marker {
    cursor: auto;
    /* background: none; */
    /* text-shadow: -1px 1px 2px white, 0px 1px 2px white, 1px 1px 2px white, -1px 0px 2px white, 1px 0px 2px white, -1px -1px 2px white, 0px -1px 2px white, 1px -1px 2px white; */
}