body.selecteur {
  display: flex;
  flex-direction: column;
	height: 100vh;
}

html::-webkit-scrollbar, body::-webkit-scrollbar  { display: none !important; }
html, body { -ms-overflow-style: none !important; scrollbar-width: none !important; }

p.legende-selecteur {
  display: block;
  font-size: 0.6vw;
  line-height: 1vw;
  text-transform: uppercase;
  padding: 0 0 1vh 0;
  text-align: center;
}

.selecteur .col.bottom { justify-content: center; }

#selecteur {
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: stretch;
	overflow: scroll;
}

#selecteur::-webkit-scrollbar { display: none !important; }
#selecteur { -ms-overflow-style: none !important; scrollbar-width: none !important; }

#selecteur-visuel {
  flex: 2;
  flex-direction: column;
  display: flex;
  justify-content: center;
	height: 100%;
}

#selecteur-tableau {
  flex: 1;
	height: 100%;
	display: flex;
  flex-direction: column;
  padding: 0 0vw;
  margin: 0 4vw;
}

#selecteur-tableau-contenu {
	position: relative;
	top: 0px;
	vertical-align: top;
	overflow-y: scroll;
}

#selecteur-tableau-contenu::-webkit-scrollbar { display: none !important; }
#selecteur-tableau-contenu { -ms-overflow-style: none !important; scrollbar-width: none !important; }

/* TABLEAU */

ul.intercalaire-batiment {
  display: table;
  width: 100%;
  table-layout: fixed;
  position: relative;
  padding: 0;
  transition-duration: 0.4s;
  cursor: pointer;
  padding: 2vh 0;
}

ul.intercalaire-batiment li {
  display: table-cell;
}

.intercalaire-batiment p {
  text-transform: uppercase;
  font-size: 0.8vw;
  line-height: 0.8vw;
  letter-spacing: 0.5vw;
  margin: 0vh 0;
  font-family: 'SansRegular', serif;
  background-color: white;
}

ul.intercalaire-batiment li:nth-child(2) {
  border-bottom: 2px solid var(--color-gris-fonce);
}

table.lot {
	display: table;
	width: 100%;
	table-layout: fixed;
	cursor: pointer;
  margin: 1vh auto;
  transition-duration: 0.4s;
}

table.lot:hover {
	background-color: var(--color-gris-light);
}

table.lot.open {
  margin: 2vh 0;
  background-color: var(--color-gris-light);
}

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

table.lot tr td {
  position: relative;
	padding: 0.5vh;
	vertical-align: top;
  border: 2px solid var(--color-gris-fonce);
}

table.lot tr td:nth-child(1),
table.lot tr td:nth-child(2),
table.lot tr td:nth-child(3),
table.lot tr td:nth-child(4) {
  width: 18%;
}

table.lot tr td p {
  font-family: 'SansRegular', serif;
	text-transform: uppercase;
	font-size: 1vw;
	line-height: 1.3vw;
}

table.lot tr td p sup {
	text-transform: uppercase;
	font-size: 0.5vw;
	line-height: 0.5vw;
}

table.lot tr td p i {
	display: block;
	font-size: 0.5vw;
	line-height: 0.6vw;
	letter-spacing: 0.1vw;
}

table.lot tr:nth-child(1) td:last-of-type {
  text-align: right;
}

table.lot tr:nth-child(1) td:last-of-type p span {
  display: inline-block;
  width: 0.8vw;
  height: 1.6vw;
  vertical-align: middle;
  margin-right: 0.2vw;
}

table.lot.disponible tr:nth-child(1) td:last-of-type { background-color: var(--color-selecteur-dispo); }
table.lot.réservé tr:nth-child(1) td:last-of-type { background-color: var(--color-selecteur-reser); }
table.lot.vendu tr:nth-child(1) td:last-of-type { background-color: var(--color-selecteur-vendu); }

table.lot tr:nth-child(2) td:last-of-type {
  background-color: var(--color-gris-fonce);
}

table.lot tr:nth-child(2) td:last-of-type p {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  color: white;
  text-align: center;
  font-size: 0.8vw;
  line-height: 0.9vw;
  transform: translate(-50%,-50%);
  width: 100%;
}

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

/* FILTRES */

li.filtres {

}

li.filtres table {
  table-layout: fixed;
  margin: 0 auto;
}

li.filtres table tr td p {
  text-align: center;
  font-size: 0.7vw;
  line-height: 0.9vw;
  letter-spacing: 0.05vw;
  text-transform: uppercase;
}

li.filtres table tr td p a {
  cursor: pointer;
  display: block;
  padding: 0.2vw 0.3vw;
  box-shadow: inset 0 0 0 2px var(--color-gris-fonce);
  margin: 0 0.1vw;
  font-family: 'SansRegular', sans-serif;
  background-color: white;
}

li.filtres table tr td p a.active {
  background-color: var(--color-gris-fonce);
  color: white;
}

li.filtres table tr td p a.active.dispo {
  background-color: var(--color-selecteur-dispo);
  box-shadow: inset 0 0 0 2px var(--color-selecteur-dispo);
  color: var(--color-gris-fonce);
}

li.filtres table tr td p a.active.reser {
  background-color: var(--color-selecteur-reser);
  box-shadow: inset 0 0 0 2px var(--color-selecteur-reser);
  color: var(--color-gris-fonce);
}

li.filtres table tr td p a.active.vendu {
  background-color: var(--color-selecteur-vendu);
  box-shadow: inset 0 0 0 2px var(--color-selecteur-vendu);
  color: var(--color-gris-fonce);
}

li.filtres table tr:last-child td p {
  text-align: right;
  font-family: 'SansRegular', sans-serif;
  font-size: 0.5vw;
  line-height: 0.6vw;
  margin-top: 0.6vh;
}

/* 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-etage,
#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-etage img, #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: #49453e; }
.cls-3 { fill: #a7bf73; }
.cls-4 { fill: #b0c1c0; }

.cls-6 { fill: #b4d380; }
.cls-7 { fill: #777167; }
.cls-8 { fill: #635e55; }
.cls-9 { fill: #a8c178; }
.cls-10 { fill: #fbc367; }
.cls-12 { fill: #ccc; }
.cls-13 { isolation: isolate; }
.cls-14 { fill: #a9c476; }
.cls-15 { fill: #d3ccc2; }
.cls-16 { fill: #c06980; }
.cls-17 { fill: #898989; }
.cls-18 { fill: #d6d4a7; }
.cls-19 { fill: #b7b7b7; }
.cls-20 { fill: #fff; }
.cls-22 { fill: #808181; }
.cls-23 { fill: #635d53; }
.cls-24 { fill: #666; }
.cls-27 { fill: #968871; }
.cls-28 { mix-blend-mode: multiply; }
.cls-28, .cls-29 { fill: #d3d3d3; }
.cls-30 { fill: #b7afa3; }
.cls-31 { fill: #938d7c; }
.cls-32 { fill: #d6d6c9; }
.cls-33 { fill: grey; }
.cls-34 { fill: #d1e0e0; }
.cls-35 { fill: #776d5e; }
.cls-36 { fill: #706b5e; }
.cls-37 { fill: #e8e8e8; }
.cls-38 { fill: #6e6f6e; }

.cls-25 { fill: red; } /* gauche */
.cls-5 { fill: green; } /* droite */
.cls-16 { fill: yellow; } /* top */

/* TEINTES LOT */

g.lot polygon.cls-16, g.lot path.cls-16 { fill: #E8E8E8; transition-duration: 0.2s; } /*+*/
g.lot polygon.cls-5, g.lot path.cls-5 { fill: #D6D6D6; transition-duration: 0.2s; } /*++*/
g.lot polygon.cls-25, g.lot path.cls-25 { fill: #B5B5B5; transition-duration: 0.2s; } /*+++*/

g.lot.polyDisponible polygon.cls-16, g.lot.polyDisponible path.cls-16 { fill : rgba(197,228,194,1); }
g.lot.polyDisponible polygon.cls-5, g.lot.polyDisponible path.cls-5 { fill : rgba(174,202,170,1); }
g.lot.polyDisponible polygon.cls-25, g.lot.polyDisponible path.cls-25 { fill : rgba(147,173,145,1); }

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

g.lot.polyVendu polygon.cls-16, g.lot.polyVendu path.cls-16 { fill : rgba(242,155,153,1); }
g.lot.polyVendu polygon.cls-5, g.lot.polyVendu path.cls-5 { fill : rgba(216,132,132,1); }
g.lot.polyVendu polygon.cls-25, g.lot.polyVendu path.cls-25 { 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-16, g.lot.polyDisponible.polyClic path.cls-16 { fill : rgba(137,206,156,1); }
g.lot.polyDisponible.polyClic polygon.cls-5, g.lot.polyDisponible.polyClic path.cls-5 { fill : rgba(117,175,131,1); }
g.lot.polyDisponible.polyClic polygon.cls-25, g.lot.polyDisponible.polyClic path.cls-25 { fill : rgba(87,130,97,1); }

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

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

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

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

g.lot.polyVendu:hover polygon.cls-16, g.lot.polyVendu:hover path.cls-16 { fill : rgba(237,106,97,1); }
g.lot.polyVendu:hover polygon.cls-5, g.lot.polyVendu:hover path.cls-5 { fill : rgba(207,90,87,1); }
g.lot.polyVendu:hover polygon.cls-25, g.lot.polyVendu:hover path.cls-25 { 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-10 { fill: #000000; opacity: 0; }
g.masque:hover .cls-10 { 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,-10vh); }
g.etage.etageMoins { transform: translate(0px,0px); }

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