/* Generalized new skin map styles */
html,
body {
    height: 100%;
    width: 100%;
    margin: 0;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

svg {
    height: 100%;
    width: 100%;
}

#svg-container {
    height: 100%;
    width: 100%;
    cursor: auto;
    overflow: auto;
    touch-action: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#svg-container::-webkit-scrollbar {
    display: none;
}

#svg-container.draggable {
    cursor: grabbing;
}

#svg-content {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#svg-content.is-zoomed {
    display: block;
}

#site-type-display {
    margin-left: 10px;
}

#_SwimmingPool,
#_bathhouse,
#_ampitheater,
#_playground {
    cursor: pointer;
}

.interactive {
    cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
    .interactive:hover {
        opacity: 0.5;
    }
}

.tap-armed {
    opacity: 0.5 !important;
}

.tap-hint {
    position: fixed;
    z-index: 1002;
    left: 0;
    top: 0;
    transform: translate(-50%, calc(-100% - 10px));
    background: #fff;
    color: #222;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 120ms ease-out;
}

.tap-hint.visible {
    opacity: 1;
    visibility: visible;
}

.tap-hint.below {
    transform: translate(-50%, 10px);
}

.loader {
    width: 60px;
    aspect-ratio: 2;
    --_g: no-repeat radial-gradient(circle closest-side, #000 90%, #0000);
    background:
        var(--_g) 0% 50%,
        var(--_g) 50% 50%,
        var(--_g) 100% 50%;
    background-size: calc(100%/3) 50%;
    animation: l3 1s infinite linear;
}

@keyframes l3 {
    20% {
        background-position: 0% 0%, 50% 50%, 100% 50%
    }

    40% {
        background-position: 0% 100%, 50% 0%, 100% 50%
    }

    60% {
        background-position: 0% 50%, 50% 100%, 100% 0%
    }

    80% {
        background-position: 0% 50%, 50% 50%, 100% 100%
    }
}

.view-controls {
    position: absolute;
    top: 80px;
    right: 73px;
    z-index: 1000;
}

.zoom-controls {
    position: absolute;
    top: -2px;
    right: 70px;
    z-index: 1000;
}

.zoom-controls button {
    width: 30px;
    height: 30px;
    margin: 5px;
    color: black;
    background-color: white;
    border: 1px solid grey;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ipads/Tabs screen General Media Query */
@media only screen and (max-width:961px) {
    .zoom-controls {
        right: 25px;
        top: 45px;
    }

    .view-controls {
        top: 123px;
        right: 30px;
    }
}

/* Mobile screen General Media Query */
@media only screen and (max-width: 480px) {
    .zoom-controls {
        top: 85px;
        right: 10px;
    }

    .view-controls {
        top: 160px;
        right: 15px;
    }
}
