#selecteur {
  display: flex;
  flex-direction: row;
  height: 100vh;
  width: 100vw;
}

#selecteur-gauche, #selecteur-droite {
  position: relative;
  flex: 1;
  box-shadow: inset 0 0 0 0px blue;
}

#selecteur-gauche {
  flex: 0 0 30%;
  overflow: scroll;
  -ms-overflow-style: none !important; scrollbar-width: none !important;
  padding-left: 5vw;
}

/* SELECTEUR ILLUSTRATION */

#selecteur-visuel-illustration {
  position: relative;
  flex: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

#selecteur-visuel-fixe-appt {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#selecteur-visuel-fixe-appt svg {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* SVG */

.cls-1 { fill: none; }
.cls-2 { fill: #e0e0e0; }
.cls-3 { opacity: .5; }
.cls-3, .cls-4 { fill: #b7b7b7; mix-blend-mode: multiply; }
.cls-4 { opacity: .2; }
.cls-5 { fill: #adc99d; }
.cls-6 { fill: #f088b6; }
.cls-7 { fill: #577152; }
.cls-8 { fill: #5b5b5b; }
.cls-9 { fill: #ffd400; } /* Selection */
.cls-10 { fill: #9f0b58; }
.cls-11 { fill: #cecece; }
.cls-12 { fill: #85a572; }
.cls-13 { fill: #4d616d; }
.cls-14 { fill: #e5e5e5; }
.cls-15 { fill: #8b8b8c; }
.cls-16 { fill: #ced5dd; }
.cls-17 { fill: #797e84; }
.cls-18 { isolation: isolate; }
.cls-19 { fill: #d6aea8; }
.cls-20 { fill: #8eb986; }
.cls-21 { fill: #fff; }
.cls-22 { fill: #98af8b; }
.cls-23 { fill: #e5e4df; }
.cls-24 { opacity: .3; }
.cls-25 { fill: #f2f2f2; }
.cls-26 { fill: #6b6b6b; }
.cls-27 { fill: #aab3bc; }
.cls-28 { fill: #e6007e; }
.cls-29 { fill: #b1d39f; }
.cls-30 { fill: #475b3b; }
.cls-31 { fill: #d3d3d3; }
.cls-32 { fill: #afafaf; }
.cls-33 { fill: #e8e8e8; }
.cls-34 { fill: #8eb985; }

/* 34 > 28 */
/* 32 > 10 */

/* TEINTES LOT */
/*
g.lot polygon.cls-6, g.lot path.cls-6 { fill: #E8E8E8; transition-duration: 0.2s; }
g.lot polygon.cls-34, g.lot path.cls-34 { fill: #D6D6D6; transition-duration: 0.2s; }
g.lot polygon.cls-32, g.lot path.cls-32 { fill: #B5B5B5; transition-duration: 0.2s; }
*/
g.lot.polyDisponible polygon.cls-6, g.lot.polyDisponible path.cls-6 { fill : rgba(197,228,194,1); }
g.lot.polyDisponible polygon.cls-28, g.lot.polyDisponible path.cls-28 { fill : rgba(174,202,170,1); }
g.lot.polyDisponible polygon.cls-10, g.lot.polyDisponible path.cls-10 { fill : rgba(147,173,145,1); }

g.lot.polyReserve polygon.cls-6, g.lot.polyReserve path.cls-6 { fill : rgba(252,217,177,1); }
g.lot.polyReserve polygon.cls-28, g.lot.polyReserve path.cls-28 { fill : rgba(226,197,168,1) ; }
g.lot.polyReserve polygon.cls-10, g.lot.polyReserve path.cls-10 { fill : rgba(196,164,130,1); }

g.lot.polyVendu polygon.cls-6, g.lot.polyVendu path.cls-6 { fill : rgba(242,155,153,1); }
g.lot.polyVendu polygon.cls-28, g.lot.polyVendu path.cls-28 { fill : rgba(216,132,132,1); }
g.lot.polyVendu polygon.cls-10, g.lot.polyVendu path.cls-10 { fill : rgba(191,107,107,1); }



g.lot { transition-duration: 0.4s; cursor: pointer; opacity: 1; }

g.lot.polyDisponible:hover, g.lot.polyDisponible.polyClic,
g.lot.polyReserve:hover, g.lot.polyReserve.polyClic,
g.lot.polyVendu:hover, g.lot.polyVendu.polyClic {
  transform: translate(0 , -14px);
  opacity: 1;
}

g.lot.polyDisponible.polyClic polygon.cls-6, g.lot.polyDisponible.polyClic path.cls-6 { fill : rgba(137,206,156,1); }
g.lot.polyDisponible.polyClic polygon.cls-28, g.lot.polyDisponible.polyClic path.cls-28 { fill : rgba(117,175,131,1); }
g.lot.polyDisponible.polyClic polygon.cls-10, g.lot.polyDisponible.polyClic path.cls-10 { fill : rgba(87,130,97,1); }

g.lot.polyDisponible:hover polygon.cls-6, g.lot.polyDisponible:hover path.cls-6 { fill : rgba(137,206,156,1); }
g.lot.polyDisponible:hover polygon.cls-28, g.lot.polyDisponible:hover path.cls-28 { fill : rgba(117,175,131,1); }
g.lot.polyDisponible:hover polygon.cls-10, g.lot.polyDisponible:hover path.cls-10 { fill : rgba(87,130,97,1); }

g.lot.polyReserve.polyClic polygon.cls-6, g.lot.polyReserve.polyClic path.cls-6 { fill : rgba(252,205,142,1); }
g.lot.polyReserve.polyClic polygon.cls-28, g.lot.polyReserve.polyClic path.cls-28 { fill : rgba(209,170,124,1) ; }
g.lot.polyReserve.polyClic polygon.cls-10, g.lot.polyReserve.polyClic path.cls-10 { fill : rgba(163,131,93,1); }

g.lot.polyReserve:hover polygon.cls-6, g.lot.polyReserve:hover path.cls-6 { fill : rgba(252,205,142,1); }
g.lot.polyReserve:hover polygon.cls-28, g.lot.polyReserve:hover path.cls-28 { fill : rgba(209,170,124,1); }
g.lot.polyReserve:hover polygon.cls-10, g.lot.polyReserve:hover path.cls-10 { fill : rgba(163,131,93,1); }

g.lot.polyVendu.polyClic polygon.cls-6, g.lot.polyVendu.polyClic path.cls-6 { fill : rgba(237,106,97,1); }
g.lot.polyVendu.polyClic polygon.cls-28, g.lot.polyVendu.polyClic path.cls-28 { fill : rgba(207,90,87,1); }
g.lot.polyVendu.polyClic polygon.cls-10, g.lot.polyVendu.polyClic path.cls-10 { fill : rgba(169,73,71,1); }

g.lot.polyVendu:hover polygon.cls-6, g.lot.polyVendu:hover path.cls-6 { fill : rgba(237,106,97,1); }
g.lot.polyVendu:hover polygon.cls-28, g.lot.polyVendu:hover path.cls-28 { fill : rgba(207,90,87,1); }
g.lot.polyVendu:hover polygon.cls-10, g.lot.polyVendu:hover path.cls-10 { fill : rgba(169,73,71,1); }

g.lot.hidePiece { display: none; }
g.lot.hideBatim { display: none; }
g.lot.hideEtage { display: none; }
g.lot.hideDispo { display: none; }

/* MASQUE */
g.masque .cls-9 { fill: #000000; opacity: 0; }
g.masque:hover .cls-9 { fill: #000000; opacity: 0.2; }

/* ETAGE */
g.etage { transform: translate(0px,0px); transition-duration: 1s;}
g.etage.etageSelect { transform: translate(0px,0px); }
g.etage.etagePlus { transform: translate(0px,-250px); }
g.etage.etageMoins { transform: translate(0px,0px); }

/* MASQUE LES ELEMENTS DE DECORATION */
.etageSelect g.decosvg,
.etageSelect g.masque { display: none; }

/* TABLEAU */

table.lot {
  display: table;
  width: 100%;
  background-color: var(--color-gris-light);
  table-layout: fixed;
  border: 1px solid white;
  margin: 1vh 0;
  transition-duration: 0.2s;
  cursor: pointer;
}

table.lot:hover {
  margin: 2vh 0;
}

table.lot tr:nth-child(2), table.lot tr:nth-child(3) { display: none; }
table.lot.open tr:nth-child(2), table.lot.open tr:nth-child(3) { display: table-row; }

table.lot tr {
  transition-duration: 0.4s;
}

table.lot tr td {
  border: 1px solid white;
  padding: 0.4vh;
}

table.lot tr td p {
  display: inline-block;
  padding: 0.2vh;
  text-transform: uppercase;
  color: var(--color-gris-fonce);
  font-family: 'SansMedium', sans-serif;
  font-size: 0.9vw;
  line-height: 1.2vw;
  width: 100%;
}

table.lot tr td p i {
  display: block;
  font-size: 0.55vw;
  line-height: 0.8vw;
}

table.lot tr td p i b {
  color: var(--color-selecteur-vendu);
}

table.lot tr:first-of-type td:first-of-type p { color: white; }
table.lot.disponible tr:first-of-type td:first-of-type { background-color: var(--color-selecteur-dispo); }
table.lot.réservé tr:first-of-type td:first-of-type { background-color: var(--color-selecteur-reser); }
table.lot.loué tr:first-of-type td:first-of-type { background-color: var(--color-selecteur-vendu); }

table.lot.disponible tr:last-of-type { background-color: var(--color-selecteur-dispo); cursor: pointer; }
table.lot.réservé tr:last-of-type { background-color: var(--color-selecteur-reser); cursor: pointer; }
table.lot.loué tr:last-of-type { background-color: var(--color-selecteur-vendu); cursor: pointer; }

table.lot.réservé.open tr:last-of-type { display: none; }
table.lot.loué.open tr:last-of-type { display: none; }

table.lot.disponible tr:last-of-type:hover {
  background-color: var(--color-gris-fonce);
}

table.lot tr:last-of-type td p {
  text-align: center;
  color: white;
  font-size: 0.8vw;
}

table.lot.hidePiece { display: none; }
table.lot.hideEtage { display: none; }
table.lot.hideBatiment { display: none; }
table.lot.hideType { display: none; }

g.lot.hidePiece { display: none; }
g.lot.hideEtage { display: none; }
g.lot.hideType { display: none; }

/* MENU SELECTEUR */

ul#menu-selecteur {
  display: table;
  width: 100%;
  table-layout: fixed;
  margin-top: 5vh;
}

ul#menu-selecteur li {
  display: table-cell;
}

ul#menu-selecteur li:first-of-type p img {
  display: inline-block;
  width: 10vw;
}

/* MENU FILTRES */

#menu-filtres {
  width: 100%;
  display: table;
}

#menu-filtres li {
  display: table-cell;
  text-align: center;
  border: 6px solid var(--color-gris-fonce);
  vertical-align: middle;
  cursor: pointer;
}

#menu-filtres li.separation { width: 1vw; border: none; }

#menu-filtres li p {
  display: inline-block;
  text-transform: uppercase;
  font-family: 'SansBold', sans-serif;
  color: var(--color-gris-fonce);
  font-size: 1vw;
  line-height: 1.2vw;
  letter-spacing: 0.1vw;
  transition-duration: 0.4s;
  vertical-align: middle;
}

#menu-filtres li:last-of-type {
  transition-duration: 0.4s;
  cursor: pointer;
  background-color: white;
  border: 6px solid var(--color-selecteur-dispo);
  background-color: var(--color-selecteur-dispo);
}

#menu-filtres li:last-of-type:hover {
  border: 6px solid var(--color-gris-fonce);
  background-color: var(--color-gris-fonce);
}

#menu-filtres li:last-of-type p {
  padding: 0 1vw;
}

#menu-filtres li:last-of-type p img {
  display: inline-block;
  width: 1.6vw;
  vertical-align: middle;
}

#menu-filtres li.select-type p {
  display: table;
  width: 100%;
  padding: 0vw;
}

#menu-filtres li.select-type p span {
  display: table-cell;
  transition-duration: 0.4s;
  padding: 1vw 0.2vw;
  vertical-align: middle;
}

#menu-filtres li.select-type p span.active {
  background-color: var(--color-gris-fonce);
  color: white;
}

#menu-filtres li.select-type p span i {
  display: block;
  font-size: 60%;
  line-height: 130%;
  color: var(--color-selecteur-reser);
}

/* FILTRES */

#bloc-filtres {
  display: none;
  width: var(--taille-select-gauche);
  margin: 2vh auto;
} #bloc-filtres.active { display: block; }

#bloc-filtres ul {
  display: flex;
  flex-direction: row;
}

#bloc-filtres ul li {
  flex: 1;
  text-align: center;
  padding: 0px;
}

#bloc-filtres ul li:first-child {
  flex: 0 0 20%; /* Largeur fixe de 20% */
  text-align: center;
}

#bloc-filtres ul li.filtre { cursor: pointer; }

#bloc-filtres ul li:first-of-type {
  text-align: left;
}

#bloc-filtres ul li p {
  display: block;
  margin: 4px;
  padding: 18px 0;
  box-shadow: inset 0 0 0 2px var(--color-gris-fonce);
  font-family: 'SansBold', sans-serif;
  font-size: 0.8vw;
  line-height: 0.8vw;
  text-transform: uppercase;
  color: var(--color-gris-fonce);
}

#bloc-filtres ul li p sup {
  font-size: 0.5vw;
}

#bloc-filtres ul li.active p {
  background-color: var(--color-gris-fonce);
  color: white;
  box-shadow: inset 0 0 0 2px var(--color-gris-fonce);
}

#bloc-filtres ul li:first-of-type p {
  margin-left: 0px;
  box-shadow: none;
  text-transform: none;
  font-family: 'SansBold', serif;
  font-size: 2vw;
  color: var(--color-gris-fonce);
  text-transform: uppercase;
}
#bloc-filtres ul li:last-of-type p { margin-right: 0px; }

a.validation-filtres {
  display: block;
  background-color: var(--color-gris-fonce);
  text-align: center;
  padding: 0.8vw 0 0.7vw 0;
  font-family: 'SansBold', sans-serif;
  text-transform: uppercase;
  font-size: 0.7vw;
  letter-spacing: 0.1vw;
  cursor: pointer;
  margin: 1.4vh 0;
  transition-duration: 0.4s;
  color: white;
} a.validation-filtres:hover { background-color: var(--color-selecteur-dispo); }

p.selecteur-legende {
  text-transform: uppercase;
  font-size: 0.8vw;
  line-height: 1.2vw;
  color: var(--color-gris-moyen);
}
