html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    font-size: 10pt;
    overflow: hidden;
}

.mapLabel {
    font-size: 12pt;
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
    color: red;
    pointer-events: none;
}

.popupFrame {
    display: block;
    position: absolute;
    border: solid 1px black;
    border-radius: 5px;
    background-color: rgba(240, 240, 241, 0.7);
    backdrop-filter: blur(5px);
    box-shadow: 1px 1px 5px 0 #000000;
}

.popupCenter {
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
}

#hiddenItems {
    position: absolute;
    display: block;
    left: -900px;
    top: -900px;
    width: 640px;
    height: 640px;
    overflow: hidden;
}

#clickDisplayFrame {
    left: 10px;
    width: 25%;
    height: 25%;
    bottom: 30px;
    pointer-events: none;
    visibility: hidden;
    /* these lines are for debugging to make sure the click map aligns with the real map */
    /*left:0;
    right:0;
    bottom:0;
    top:0;
    background-color:transparent !important;
    border:none;
    backdrop-filter:none;*/
}

.canvasHidden {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    visibility: hidden;
    pointer-events: none;
}

#clickDisplayFrame > canvas {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100% !important;
    height: 100% !important;
    visibility: inherit;
}

#map {
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
}

#logoTSG {
    display: block;
    position: absolute;
    height: 40px;
    right: 60px;
    bottom: 60px;
}

#logoEyewitness {
    display: block;
    position: absolute;
    height: 40px;
    right: 20px;
    bottom: 20px;
}

#header {
    left: 10px;
    top: 10px;
    right: 10px;
    height: 40px;
}

    #header > div {
        float: left;
        margin-top: 10px;
        margin-left: 10px;
        margin-right: 10px;
    }

        #header > div select {
            height: 21px;
        }

        #header > div input[type=checkbox] {
            margin-bottom: 7px;
            vertical-align: middle;
        }

        #header > div input[type=range] {
            margin-top: -1px;
            vertical-align: middle;
        }

        #header > div > span {
            line-height: 22px;
            user-select: none;
        }

        #header > div > label {
            user-select: none;
        }

#txtSearch {
    width: 256px;
}

#mediaTypes {
    right: 10px;
    top: 80px;
    bottom: 150px;
    width: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 5px;
}


    #mediaTypes > label {
        display: block;
        min-width: 100%;
        line-height: 28px;
        white-space: nowrap;
        transition: background-color 0.4s ease-in;
        user-select: none;
    }

        #mediaTypes > label:hover {
            background-color: #b4dfff;
            transition: none;
        }

        #mediaTypes > label > div {
            display: inline-block;
            width: 24px;
            text-align: center;
        }

        #mediaTypes > label input {
            margin-bottom: 7px;
            vertical-align: middle;
        }

        #mediaTypes > label img {
            margin-bottom: -3px;
        }

#captureImage {
    display: none;
}

#loading {
    padding: 0 64px 0 64px;
    font-size: 18pt;
    font-weight: bold;
    line-height: 80px;
    text-align: center;
}

.overlay-layer {
    position: absolute;
    pointer-events: none;
}

/* The popup bubble styling. */
.popup-bubble {
    /* Position the bubble centred-above its parent. */
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-50%, calc((100% + 10px) * -1));
    /* Style the bubble. */
    background-color: white;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 1px 1px 5px 0 #000000;
    font-size: 10pt;
    white-space: nowrap;
    pointer-events: all;
}

    .popup-bubble .close {
        position: absolute;
        right: 2px;
        top: 1px;
        cursor: pointer;
        font-weight: bold;
        font-family: Webdings;
    }

/* The parent of the bubble. A zero-height div at the top of the tip. */
.popup-bubble-anchor {
    /* Position the div a fixed distance above the tip. */
    position: absolute;
    width: 100%;
    bottom: 8px;
    left: 0;
    pointer-events: none;
}

    /* This element draws the tip. */
    .popup-bubble-anchor::after {
        pointer-events: none;
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        /* Center the tip horizontally. */
        transform: translate(-50%, -10px);
        /* The tip is a https://css-tricks.com/snippets/css/css-triangle/ */
        width: 0;
        height: 0;
        /* The tip is 8px high, and 12px wide. */
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 8px solid white;
    }

.popup-container {
    cursor: auto;
    height: 0;
    position: absolute;
    pointer-events: none;
}
