#chambres-img-map {
    position: relative;
}

#chambres-img-map .chambre-item {
    position: absolute;
    top: var(--top);
    left: var(--left);
    z-index: 100
}

#chambres-img-map .chambre-item .tooltip-trigger {
    width: 6px;
    height: 6px;
    border-radius: 100%;
    background: #5BBBDC;
    display: block;
    cursor: pointer;
    box-shadow: 0 0 0 2px #5BBBDC;
    -webkit-transition: box-shadow 0.2s;
    -moz-transition: box-shadow 0.2s;
    transition: box-shadow 0.2s
}

#chambres-img-map .chambre-item .tooltip-trigger:after {
    pointer-events: none;
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    content: '';
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    opacity: 0;
    top: -4px;
    left: -4px;
    padding: 0;
    z-index: 10;
    border: 1px dashed #5BBBDC;
}

#chambres-img-map .chambre-item.featured {
    pointer-events: none;
}

#chambres-img-map .chambre-item.unavailable .tooltip-trigger {
    background: #ABABAB;
    box-shadow: 0 0 0 4px #ABABAB;
}

#chambres-img-map .chambre-item.unavailable .tooltip-trigger:after {
    border-color: #ABABAB;
}

#chambres-img-map .chambre-item.featured .tooltip-trigger {
    background: #FF5656;
    box-shadow: 0 0 0 4px #FF5656;
}

#chambres-img-map .chambre-item.featured .tooltip-trigger:after {
    border-color: #FF5656;
}

#chambres-img-map .chambre-item.in_progress .tooltip-trigger:after,
#chambres-img-map .chambre-item .tooltip-trigger:hover:after,
.hover-active .tooltip-trigger:after {
    opacity: 1;
    -webkit-animation: spinAround 9s linear infinite;
    -moz-animation: spinAround 9s linear infinite;
    animation: spinAround 9s linear infinite
}

.map-legnd div:before {
    content: '';
    width: 14px;
    height: 14px;
    display: inline-block;
    background: #5BBBDC;
    border-radius: 50px;
    position: absolute;
    left: 0;
    top: 3px;
}

.map-legnd div {
    font-size: 12px;
    position: relative;
    padding-left: 21px;
    margin-right: 15px;
}

.map-legnd div.this-chambre:before {
    background: #FF5656;
}

.map-legnd div.unavailable-chambre:before {
    background: #ABABAB;
}

/*@media screen and (max-width: 540px) {
    
    #chambres-img-map .chambre-item,
    .map-legnd {
        display: none;
    }
}*/

@media screen and (min-width: 541px) {

    #chambres-img-map .chambre-item .tooltip-trigger {
        width: 12px;
        height: 12px;
        box-shadow: 0 0 0 4px #5BBBDC;
    }

    #chambres-img-map .chambre-item .tooltip-trigger:after {
        width: 25px;
        height: 24px;
        top: -8px;
        left: -8px;
        border: 2px dashed #5BBBDC;
    }
}

@-webkit-keyframes spinAround {
    from {
        -webkit-transform: rotate(0deg)
    }

    to {
        -webkit-transform: rotate(360deg)
    }
}

@-moz-keyframes spinAround {
    from {
        -moz-transform: rotate(0deg)
    }

    to {
        -moz-transform: rotate(360deg)
    }
}

@keyframes spinAround {
    from {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg)
    }
}