.lg-hotspot {
    position: absolute;
    margin: 0;
    padding: 0;
    transform: translate(-50%, -50%);
    z-index: 0;
    cursor: pointer;
}

.lg-hotspot__button {
    height: 34px;
    width: 34px;
    padding: 0px;
    border-radius: 100%;
    border: 1px solid #e7302a;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 999;
    animation: button-pulse 2s ease-in-out infinite;
}

.lg-hotspot__button:after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    content: "";
    display: block;
    height: 16.8px;
    width: 16.8px;
    border-radius: 100%;
    border: 3px solid white;
    background-color: #e7302a;
    transition: border-color 1s linear;
}

.lg-hotspot__label {
    position: fixed;
    width: 100vw;
    max-width: 450px;
    margin: 0 auto;

    padding: 0 0 1.1em 0;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-family: "Open Sans", sans-serif;
    font-size: 14.5px;
    line-height: 1.45em;
    z-index: -1;
    pointer-events: none;
    border-radius: 2px;
    user-select: none;
    opacity: 0;
    transition: all 0.1s linear;
}

.lg-hotspot__label h4 {
    margin: 0;
    padding: 0.65em 24px;
    background-color: #555;
    font-size: 1.1em;
    font-weight: normal;
    letter-spacing: 0.02em;
    color: white;
    border-radius: 2px 2px 0 0;
}

.lg-hotspot__label p {
    margin: 0;
    padding: 1.1em 24px 0 24px;
    color: #333;
}

.lg-hotspot--top-left .lg-hotspot__label {
    top: 24px;
    left: 24px;
}

.lg-hotspot--top-right .lg-hotspot__label {
    top: 24px;
    right: 24px;
}

.lg-hotspot--bottom-right .lg-hotspot__label {
    right: 24px;
    bottom: 24px;
}

.lg-hotspot--bottom-left .lg-hotspot__label {
    bottom: 24px;
    left: 24px;
}

@keyframes button-pulse {
    0% {
        transform: scale(1, 1);
        opacity: 1;
    }

    40% {
        transform: scale(1.15, 1.15);
        opacity: 1;
    }

    100% {
        transform: scale(1, 1);
        opacity: 1;
    }
}





.hotspot-popup-container {
    display: none;
}

.hotspot-popup-container.active {
    display: block;
}

.hotspot-popup-content {
    z-index: 20;
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 400px;
    animation: enterAnim 450ms ease;
}

.hotspot-popup-content-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hotspot-popup-content-top-close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 10px;
}

.hotspot-popup-content-top-close-modal>img {
    width: 15px;
}


.hotspot-popup-background {
    z-index: 10;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.14);
}


@keyframes enterAnim {

    from {
        top: 20%;
        opacity: 0;
    }

    to {
        top: 40%;
        opacity: 1;
    }

}