body {
    font-family: Arial, sans-serif;
}

.map-area {
    cursor: pointer;
}

.map-marker {
    stroke: #485E2A;
    stroke-width: 1px;
    fill: yellowgreen;
    cursor: pointer;
}


.map-hint {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 250px;
    transform: translate(-50%, -100%) translateY(-176.02px); /* Centers the map-hint horizontally and positions it above the marker */
}

.map-hint.show {
    display: block;
}

.map-hint .arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid white; /* Changed to point the arrow downward */
    bottom: -5px; /* Position the arrow at the bottom of the map-hint */
    left: 50%;
    transform: translateX(-50%);
}

.close-map-hint {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    outline: none; /* Remove default outline */
}

.close-map-hint:focus {
    text-decoration: underline; /* Add underline when focused */
}

.map-hint-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.map-hint-inner img {
    width: 75px;
    height: 75px;
    border-radius: 50%; /* Makes the image round */
}

.map-marker-label {
	display: none;
    position: absolute;
    background-color: #fff;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-align: center;
    max-width: 250px;
}

.map-marker-label.show {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(-1px);
}

#map-list-links > a {
    text-decoration: underline;
}

#map-list-links > a:hover {
    text-decoration: none !important;
}

@media (max-width: 768px) {
    .map-hint {
        transform: translate(-50%, -100%) translateY(-85.883px)!important;
    }
}
