.mapme-hotspot-map {
    margin: 0 0 2rem;
    position: relative;
}

.mapme-hotspot-map__image {
    display: block;
    height: auto;
    max-width: 100%;
    width: 100%;
}

.mapme-hotspot-map__hotspot-overlay {
    height: 100%;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 2;
}

.mapme-hotspot-map__hotspot-shape {
    fill: rgba(18, 119, 128, 0.32);
    opacity: 0;
    stroke: #0f5f68;
    stroke-linejoin: round;
    stroke-width: 4;
    transition: opacity 160ms ease;
    vector-effect: non-scaling-stroke;
}

.mapme-hotspot-map__hotspot-shape.is-active {
    opacity: 1;
}

.mapme-hotspot-map__image[usemap] {
    cursor: pointer;
}

.mapme-hotspot-map__popup-templates {
    display: none;
}

.mapme-hotspot-map__popup {
    background: #fff;
    border: 1px solid #c7d1d3;
    border-radius: 4px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    color: #1d2327;
    display: none;
    font-size: 14px;
    line-height: 1.45;
    max-width: min(320px, calc(100vw - 32px));
    padding: 0.85rem 1rem 0.9rem;
    position: absolute;
    z-index: 4;
}

.mapme-hotspot-map__popup::before {
    background: #fff;
    border-left: 1px solid #c7d1d3;
    border-top: 1px solid #c7d1d3;
    content: "";
    height: 10px;
    left: 16px;
    position: absolute;
    top: -6px;
    transform: rotate(45deg);
    width: 10px;
}

.mapme-hotspot-map__popup.is-open {
    display: block;
}

.mapme-hotspot-map__popup-close {
    background: transparent;
    border: 0;
    color: #50575e;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 0.1rem;
    position: absolute;
    right: 0.35rem;
    top: 0.25rem;
}

.mapme-hotspot-map__popup-content {
    padding-right: 1rem;
}

.mapme-hotspot-map__popup-content > :first-child {
    margin-top: 0;
}

.mapme-hotspot-map__popup-content > :last-child {
    margin-bottom: 0;
}

.mapme-hotspot-map__popup-content img {
    height: auto;
    max-width: 100%;
}
