/*
* Hotspot
*
*/
.HotspotPlugin_Hotspot {
    height: 20px;
    width: 20px;
    position: absolute;
    background: transparent;
    border: 1px solid white;
    border-radius: 50%;
    cursor: pointer;
    z-index: 200;
    margin-left: -10px;
    margin-top: -10px;
    transition: all 0.2s cubic-bezier(0.25, 0.87, 0.85, 1.08);
}

@media screen and (max-width: 1440px) {
    .HotspotPlugin_Hotspot {
        height: 15px;
        width: 15px;
        margin-left: -8px;
        margin-top: -8px;
    }
}


/*
* Hotspot content
*
*/
.HotspotPlugin_Hotspot>div {
    width: 350px;
    font-size: 15px;
    height: auto;
    padding: 15px;
    display: none;
    /* Required */
}

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

.HotspotPlugin_Hotspot>div>.Hotspot_Title {
    background: rgb(255, 255, 255);
    height: 20px;
    font-weight: bold;
    padding: 4px 10px;
}

.HotspotPlugin_Hotspot>div>.Hotspot_Message {
    border-radius: 3px;
    background: rgb(255, 255, 255);
    height: fit-content;
    padding: 10px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.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;
}

/*
* Action buttons - `admin` mode
*
*/
button.HotspotPlugin_Save,
button.HotspotPlugin_Remove,
button.HotspotPlugin_Send {
    position: absolute;
    bottom: -35px;
    color: #fff;
    display: inline-block;
    padding: 4px 6px;
    font-size: 14px;
    text-align: center;
    border-radius: 4px;
}

button.HotspotPlugin_Save {
    left: 0px;
    background-color: #5cb85c;
}

button.HotspotPlugin_Remove {
    left: 80px;
    background-color: #d9534f;
}

button.HotspotPlugin_Send {
    left: 180px;
    background-color: #5bc0de;
}

.hotspot-info__wrapper {
    display: flex;
}

.hotspot-info__wrapper .hotspot-img {
    flex: 0 0 33%;
    margin-right: 10px;
}

.hotspot-info__wrapper .hotspot-img img {
    object-fit: cover;
    margin: 0 !important;
}

.hotspot-info__wrapper .hotspot-info {
    flex: 0 0 66%;
}

.hotspot-info__wrapper .hotspot-title {
    font-weight: bold;
}

.HotspotPlugin_Hotspot:hover {
    z-index: 999;
}

.HotspotPlugin_Hotspot .mode1 {
    transform: translate(calc(-100% + 7px), calc(-100% + 7px));
    margin: 0 !important;
}

.HotspotPlugin_Hotspot .mode2 {
    transform: translateX(calc(-100% + 7px));
    margin: 0 !important;
}

.HotspotPlugin_Hotspot .mode3 {
    transform: translateY(calc(-100% + 7px));
}

.HotspotPlugin_Hotspot> :not(:where(.mode3, .mode2, .mode1)) {
    transform: translate(7px);
}