


.dot {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    background: #fff;
    --min-hotspot-opacity: 0;
}

.dim {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    color: rgba(0, 0, 0, 0.8);
    display: block;
    font-family: Futura, Helvetica Neue, sans-serif;
    font-size: 18px;
    font-weight: 700;
    max-width: 128px;
    overflow-wrap: break-word;
    padding: 0.5em 1em;
    position: absolute;
    width: max-content;
    height: max-content;
    transform: translate3d(-50%, -50%, 0);
    --min-hotspot-opacity: 0;
}

.show {
    --min-hotspot-opacity: 1;
}

.hide {
    display: none;
}

.hotspot {
    display: none;
    width: 20px;
    height: 20px;
    border-radius: 10px;
    border: none;
    background-color: blue;
    box-sizing: border-box;
    pointer-events: none;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    color: orangered;
}

.hotspot[slot="hotspot-1"] {
    --min-hotspot-opacity: 0;
    background-color: red;
}

.hotspot[slot="hotspot-9"] {
    --min-hotspot-opacity: 0;
    background-color: red;
}


.hotspot[slot="hotspot-foot"]:not([data-visible]) {
    background-color: transparent;
    border: 3px solid blue;
}

.HotspotAnnotation {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    color: rgba(0, 0, 0, 0.8);
    display: none; /* changed from 'block' to 'none' to make hostspot clickable thru a click function */
    font-family: Futura, Helvetica Neue, sans-serif;
    font-size: 12px;
    font-weight: 700;
    left: calc(100% + 1em);
    max-width: 128px;
    overflow-wrap: break-word;
    padding: 0.5em 1em;
    position: absolute;
    top: 50%;
    width: max-content;
}


.annotation {
    background-color: #ffffff;
    position: absolute;
    transform: translate(30px, 20px);
    border: 4px solid saddlebrown;
    border-radius: 10px;
    padding: 20px;
    margin: 20px;
    display: none; /* changed from 'block' to 'none' to make hostspot clickable thru a click function */
}

/* This keeps child nodes hidden while the element loads */
:not(:defined) > * {
    display: none;
}
