html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

#map {
    height: 100%;
    width: 100vw;
}

/* table for dataset properties */

table {
    font-size: 0.9em;
}

td:first-child {
    font-weight: bold;
}

tr:nth-child(2n-1) {
    background-color: #eee;
}

/* buttons for dataset popup */

p.dialog-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 5px;
}

p.dialog-buttons a {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    background-color: #555;
    color: white;
    border-radius: 5px;
    padding: 5px;
    padding-right: 7px;
    padding-bottom: 3px;
}

p.dialog-buttons a.delete-button {
    color: white;
    background-color: #ff4242;
}

p.dialog-buttons a svg {
    height: 1em;
    fill: currentColor;
    position: relative;
    top: -1px;
}

/* buttons on the right hovering over the map */

p.button-right-hover-box {
    font-size: 13px;
    margin: 0;
    padding-left: 4px;
    padding-bottom: 3px;
}

p.button-right-hover-box a {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    background-color: #555;
    color: white;
    border-radius: 5px;
    padding: 5px 7px 3px 6px;
    margin-top: 3px;
}

p.button-right-hover-box a svg {
    height: 1em;
    fill: currentColor;
    position: relative;
    top: -1px;
}

/* side-by-side comparison popup */

#fullscreen-popup {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 10000;
    top: 0;
    background: #333;
    color: white;
    overflow-y: scroll;
}

#fullscreen-popup-close-button {
    position: absolute;
    top: 0.4em;
    right: 0.5em;
    padding: 0em 0.3em 0.1em 0.3em;
    font-size: 2.5em;
    text-decoration: none;
    color: #818181;
}

#fullscreen-popup-close-button:hover {
    color: #f1f1f1;
}

#fullscreen-popup h1 {
    padding: 20px;
    margin: 0;
}

#fullscreen-popup p {
    padding: 0 0 20px 20px;
    margin: -10px 0 0 0;
}

#label-comparison {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    padding-top: 0;
}

#label-comparison .pos-labels,
#label-comparison .neg-labels {
    flex: 1;
}

#label-comparison .thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#label-comparison h2 {
    padding: 0;
    padding-bottom: 20px;
    margin: 0;
}

#label-comparison .pos-labels h2 {
    color: #00F0FF;
}

#label-comparison .neg-labels h2 {
    color: #F44336;
}

/* bottom overlay */

#bottom-overlay {
    height: 10%;
    width: 100%;
    position: fixed;
    z-index: 1000;
    bottom: 0;
}
