.room_device {
    position: relative;
}

.room_image, .room_filter {
    width: 260px;
    height: 130px;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 5px;
}


.room_measures {
    float: right;
}

.room_device:hover .room_measure .room_data, .room_device:hover .room_measure .icone {
    opacity: 1;
}

.room_measure {
    color: var(--texte-info);
    float: right;
}

.room_measure .room_data {
    opacity: 0.5;
}

.room_image {
    background-position: center;
    background-repeat: no-repeat;
    background-size: 260px  auto;
    -moz-box-shadow: 0 0 5px 1px rgba(var(--noir), 0.25);
    -webkit-box-shadow: 0 0 5px 1px rgba(var(--noir), 0.25);
    box-shadow: 0 0 5px 1px rgba(var(--noir), 0.25);
    opacity: 0.75;
}

.room_filter {
    background-color: rgba(var(--noir), 1);
    opacity: 0.25;
}

.room_shade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 260px;
    height: 68px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    background: -webkit-linear-gradient(top, rgba(var(--noir), 0), rgba(var(--noir), 0.40));
}

.room_infos, .room_infos_noimg {
    position: absolute;
    top: 10px;
    left: 10px;
}

.room_infos .name {
    color: var(--texte-info);
    opacity: 1 !important;
}
.room_infos .room .couleur {
    color: rgba(255, 255, 255, 0.5);
}

.room_infos .room img.icone, .room_infos .infos img {
    filter: invert(100%);
    opacity: 0.5;
}

.room_device:hover .room_image {
    opacity: 1;
}

.room_bibliotheque, .room_bureau, .room_chambre, .room_chambre_de_blandine, .room_chambre_du_bas, .room_cuisine, .room_garage, .room_inconnue, .room_palier, .room_salon, .room_sejour, .room_escalier {
    transition: filter .2s linear;
    -webkit-transition: filter .2s linear;
    -moz-transition: filter .2s linear;
    filter: grayscale(100%);
}

.room_device:hover .room_bibliotheque, .room_device:hover .room_bureau, .room_device:hover .room_chambre, .room_device:hover .room_chambre_de_blandine, .room_device:hover .room_chambre_du_bas, .room_device:hover .room_cuisine, .room_device:hover .room_garage, .room_device:hover .room_inconnue, .room_device:hover .room_palier, .room_device:hover .room_salon, .room_device:hover .room_sejour, .room_device:hover .room_escalier {
    filter: grayscale(100%);
}

.room_bibliotheque {
    background-image: url('/img/rooms/bibliotheque.jpg');
}

.room_bureau {
    background-image: url('/img/rooms/bureau.jpg');
}

.room_chambre {
    background-image: url('/img/rooms/chambre.jpg');
}

.room_chambre_de_blandine {
    background-image: url('/img/rooms/chambre_de_blandine.jpg');
}

.room_chambre_du_bas {
    background-image: url('/img/rooms/chambre_du_bas.jpg');
}

.room_cuisine {
    background-image: url('/img/rooms/cuisine.jpg');
}

.room_cuisine {
    background-image: url('/img/rooms/cuisine.jpg');
}

.room_garage {
    background-image: url('/img/rooms/garage.jpg');
}

.room_inconnue {
    background-image: url('/img/rooms/inconnue.jpg');
}

.room_palier {
    background-image: url('/img/rooms/palier.jpg');
}

.room_salon {
    background-image: url('/img/rooms/salon.jpg');
}

.room_sejour {
    background-image: url('/img/rooms/sejour.jpg');
}

.room_escalier {
    background-image: url('/img/rooms/escalier.jpg');
}
