/** Hotspot **/
.HotspotPlugin_Hotspot {
    height: 20px;
    width: 20px;
    position: absolute;
    background: transparent;
    /* border: 2px solid #000; */
    border-radius: 50%;
    cursor: pointer;
    z-index: 200;
    margin-left: -10px;
    margin-top: -10px;
}

/** Hotspot content **/
.HotspotPlugin_Hotspot > div {
    border-radius: 8px;
    /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.2); */
    top: 50%;
    /* display:none; */
    font-size: 10px;
    height: auto;
    left: 50%;
    /* max-width: 175px; */
    padding: 1rem;
    position: absolute;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
        -o-transform: translate(-50%,-50%);
            transform: translate(-50%,-50%);
    width: max-content;
    z-index: 999999;
}

/* .HotspotPlugin_Hotspot > div:before {
    border-top: 10px solid #ffffff;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    bottom: -4px;
    content: '';
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
} */

.HotspotPlugin_Hotspot:hover > div {
    display: block; /* Required */
}

.HotspotPlugin_Hotspot > div > .Hotspot_Title {
    background-color: rgba(255, 58, 45, 0.75);
    color: #ffffff;
    font-size: 14px;
    border-radius: .2rem;
    line-height: 1;
    padding: .5rem 1rem;
    margin-bottom: 0.25rem;
    text-align: center;
}
.HotspotPlugin_Hotspot:hover > div > .Hotspot_Title{
    background-color: #ffffff;
    color: #333333;
}
.HotspotPlugin_Hotspot > div > .Hotspot_Message {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    text-align: center;
    font-size: 14px;
    border: 5px solid var(--primary);
    background-color: var(--secondary);
    color: #ffffff;
    transform: translateX(-50%);
    left: 50%;
    padding: 1rem;
    width: 200px;
    max-width: 200px;
    z-index: 9999;
    transition: all .2s linear;
    top: 100%;
}
.HotspotPlugin_Hotspot:hover > div .Hotspot_Message{
    display: block;
    opacity: 1;
    visibility: visible;
    top: 50px;
}
.HotspotPlugin_Hotspot_Hidden {
    display: none!important;
    visibility: hidden!important;
}

/** Hotspots immediately after creation - admin-mode **/
.HotspotPlugin_Hotspot_Unsaved {
    background: #4E6FF3;
}

/** Overlay used in the admin-mode**/
span.HotspotPlugin_Overlay {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.4);
    top: 0px;
    left: 0px;
    cursor: pointer;
}
span.HotspotPlugin_Overlay > p {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.4);
    margin-top: 0px;
    padding: 20px;
    text-align: center;
}

#theElement-0, 
#theElement-a, 
#theElement-b {
    position: relative;
}


@media screen and (max-width: 991px) {
    .HotspotPlugin_Hotspot > div {
        border-radius: 4px;
        max-width: 140px;
        padding: .5rem;
        /* width: 140px; */
    }
    .HotspotPlugin_Hotspot > div > .Hotspot_Title {
        font-size: 10px;
        padding: .25rem .5rem;
    }
    .HotspotPlugin_Hotspot > div > .Hotspot_Message {
        font-size: 10px;
        padding: .5rem;
        width: 150px;
        max-width: 130px;
    }
}