* {
    box-sizing: border-box;
}

.hotspotsInteractivo2 {
    --colorMarca1: #016d38;
    --colorMarca2: #ffdc5d;
    --colorMarca3: #e5e5e5;
    --colorTexto: #333333;

    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: center;
}

.hotspotsInteractivo2 .lg-container {
    position: relative;
}

.hotspotsInteractivo2 .lg-image {
    display: block;
    height: 100%;
    width: 650px;
    max-width: 100%;
}

.hotspotsInteractivo2 .lg2-hotspot {
    position: absolute;
    margin: 0;
    padding: 0;
    transform: translate(-50%, -50%);
    z-index: 0;
    width: 8%;
}

@media (max-width: 576px) {
    .hotspotsInteractivo2 .lg2-hotspot {
        width: 10%;
    }
}

.hotspotsInteractivo2 .lg2-hotspot.visto_v2 {
    position: absolute;
}

.hotspotsInteractivo2 .lg2-hotspot.visto_v2::after {
    content: '✓';
    position: absolute;
    top: -5px;
    right: -5px;
    background: green;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.hotspotsInteractivo2 .lg2-hotspot--selected {
    z-index: 2;
}

.hotspotsInteractivo2 .lg2-hotspot--selected .lg2-hotspot__label_v2 {
    display: flex;
}

.hotspotsInteractivo2 .lg2-hotspot__close_v2 {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--colorMarca1);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 20px;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    transform: scale(1);
    transition: transform 0.3s;
}

.hotspotsInteractivo2 .lg2-hotspot__close_v2:hover {
    transform: scale(1.05);
}

.hotspotsInteractivo2 .lg2-hotspot__button {
    position: relative;
}

.hotspotsInteractivo2 .lg2-hotspot__button img {
    width: 100%;
    z-index: 1;
    cursor: pointer;
    transform: scale(1);
    animation: pulse2 1.5s ease-in-out infinite;
    border-radius: 50%;
    box-shadow: 0 0 2px 0 var(--colorMarca2);
    transition: transform .3s;
}

.hotspotsInteractivo2 .lg2-hotspot:hover .lg2-hotspot__button img,
.hotspotsInteractivo2 .lg2-hotspot:active .lg2-hotspot__button img {
    transform: scale(1.05);
}

.hotspotsInteractivo2 .hotspots-item.visto_v2 .lg2-hotspot__button img {
    box-shadow: 0 0 0 2px var(--colorMarca1);
    animation: none;
}

.hotspotsInteractivo2 .hotspots-item.visto_v2 .lg2-hotspot__button img::before {
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    animation: none;
}

.hotspotsInteractivo2 .lg2-hotspot__label_v2 {
    position: absolute;
    width: 250px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-size: 20px;
    line-height: 1.2;
    z-index: -1;
    border-radius: 5px;
    user-select: none;
    display: none;
    flex-flow: column;
    transition: all 0.1s linear;
}

@media (max-width: 576px) {
    .hotspotsInteractivo2 .lg2-hotspot__label_v2 {
        width: 200px;
    }
}

.hotspotsInteractivo2 .lg2-hotspot__label_v2.left {
    right: calc(100% - 50px);
    transform: translateX(-10px);
}

.hotspotsInteractivo2 .lg2-hotspot__label_v2.right {
    left: calc(100% - 50px);
    transform: translateX(10px);
}

.hotspotsInteractivo2 .lg2-hotspot__label_v2.top {
    bottom: 100%;
    transform: translateY(-10px);
}

.hotspotsInteractivo2 .lg2-hotspot__label_v2.bottom {
    top: 100%;
    transform: translateY(10px);
}

.hotspotsInteractivo2 .lg2-hotspot__label_v2 .lg2-hotspot__title_v2 {
    margin: 0;
    padding: 10px 20px 10px 10px;
    background-color: var(--colorMarca2);
    font-size: 24px;
    font-weight: normal;
    color: white;
    border-radius: 5px 5px 0 0;
    border-bottom: 3px solid var(--colorMarca1);
    text-align: center;
    font-weight: bold;
}

.hotspotsInteractivo2 .lg2-hotspot__label_v2 p {
    margin: 0;
    padding: 15px;
    color: var(--colorTexto);
}

.hotspotsInteractivo2 .lg2-item1 {
    top: 8.7%;
    left: 42%;
}

.hotspotsInteractivo2 .lg2-item2 {
    top: 22.4%;
    left: 42%;
}

.hotspotsInteractivo2 .lg2-item3 {
    top: 87%;
    left: 24.5%;
}

.hotspotsInteractivo2 .lg2-item4 {
    top: 87%;
    left: 37.5%;
}

.hotspotsInteractivo2 .lg2-item5 {
    top: 87%;
    left: 51%;
}

.hotspotsInteractivo2 .lg2-item6 {
    top: 49.4%;
    left: 94.9%;
}

@keyframes pulse2 {
    0% {
        transform: scale(1);
        box-shadow: 0 0 2px 0 var(--colorMarca2);
    }

    40% {
        transform: scale(1.1);
        box-shadow: 0 0 0 3px var(--colorMarca2);
    }
    
    100% {
        transform: scale(1);
        box-shadow: 0 0 2px 0 var(--colorMarca2);
    }
}
