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

#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;
  transform: translateY(15%);
  overflow: visible;
}

/* SVG */

.cls-1 { fill: none; }
.cls-2 { fill: #677277; }
.cls-3 { fill: #aacc9a; }

.cls-5 { fill: #fffffa; }
.cls-6 { fill: #c5beb9; }
.cls-7 { fill: #cde5fc; }
.cls-8 { fill: #d3edc8; } /* HERBE TOIT */
.cls-9 { fill: #e0e0e0; }
.cls-10 { fill: #f9f8e8; }

.cls-13 { fill: #ccc; }
.cls-14 { fill: #8a814d; }
.cls-15 { fill: #f2f2f2; }
.cls-16 { fill: #a1bf94; }
.cls-18 { fill: #a9c49b; }
.cls-19 { fill: #fff; }
.cls-20 { fill: #f9f9f9; }
.cls-21 { fill: #f0fceb; }
.cls-22 { fill: #858585; }

.cls-24 { fill: #f2f2f2; }
.cls-25 { fill: #909ea5; }
.cls-26 { fill: #bad8ad; }
.cls-27 { fill: #efefe6; }
.cls-28 { fill: #90a584; }
.cls-29 { fill: #d8d8d8; }
.cls-30 { fill: #6dc6a2; } /* MASQUE */
.cls-31 { fill: rgba(0,0,0,0.4); } /* CACHE */
.cls-32 { fill: #d3d3d3; }
.cls-33 { fill: #d3edc8; }
.cls-34 { fill: #e8e8e8; }

.cls-12 { fill: #cccccc; } /* + */
.cls-23 { fill: #d3d3d3; } /* ++ */
.cls-4 { fill: #858585; } /* +++ */

/* TEINTES LOT */

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

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

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

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

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

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

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

g.lot.polyVendu:hover polygon.cls-12, g.lot.polyVendu:hover path.cls-12 { fill : rgba(237,106,97,1); }
g.lot.polyVendu:hover polygon.cls-23, g.lot.polyVendu:hover path.cls-23 { fill : rgba(207,90,87,1); }
g.lot.polyVendu:hover polygon.cls-4, g.lot.polyVendu:hover path.cls-4 { 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-30 { fill: #000000; opacity: 0; }
g.masque:hover .cls-30 { 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,-800px); }
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;
  border-radius: 14px;
  overflow: hidden;
}

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;
  position: relative;
}

table.lot tr td p {
  display: inline-block;
  padding: 0.2vh;
  text-transform: uppercase;
  color: var(--color-gris-fonce);
  font-family: 'bold', 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.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 td:last-of-type { background-color: var(--color-selecteur-dispo); cursor: pointer; }
table.lot.réservé tr:last-of-type td:last-of-type { background-color: var(--color-selecteur-reser); cursor: pointer; }
table.lot.loué tr:last-of-type td: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 td:last-of-type {
  padding: 0;
}

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

a.telecharger-fl {
  position: absolute;
  display: block;
  height: 100%;
  width: 100%;
  text-align: center;
  font-size: 0.8vw;
}

a.telecharger-fl span {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  font-family: 'bold', sans-serif;
  text-transform: uppercase;
}

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.hideBatiment { display: none; }
g.lot.hideType { display: none; }

/* MENU FILTRES */

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

#menu-filtres li {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
}

#menu-filtres li:nth-child(1) { width: 25%; text-align: left; }
#menu-filtres li:nth-child(2) { width: 50%; text-align: center; }
#menu-filtres li:nth-child(3) { width: 25%; text-align: right; }

#menu-filtres li p.select-bt {
  display: inline-block;
  vertical-align: middle;
  width: 3.5vw;
  height: 3.5vw;
  background-color: rgba(0,0,0,0.2);
  border-radius: 100%;
  padding: 0;
  transition-duration: 0.4s;
}

#menu-filtres li p.select-bt:hover {
  background-color: var(--color-selecteur-dispo);
}

#menu-filtres li p {
  background-position: center;
  background-repeat: no-repeat;
  background-size: 50%;
}

#menu-filtres li.bt-retour p.select-bt { background-image: url('../svg/picto-retour.svg'); }
#menu-filtres li.bt-filtres p.select-bt { background-image: url('../svg/picto-filtres.svg'); }

/* 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: 8px 0 6px 0;
  box-shadow: inset 0 0 0 2px #3d7353;
  font-family: 'bold', sans-serif;
  font-size: 0.8vw;
  line-height: 0.8vw;
  text-transform: uppercase;
  color: #3d7353;
  border-radius: 15px;
}

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

#bloc-filtres ul li.active p {
  background-color: #3d7353;
  color: white;
  box-shadow: inset 0 0 0 2px #3d7353;
}

#bloc-filtres ul li:first-of-type p {
  margin-left: 0px;
  box-shadow: none;
  text-transform: none;
  font-family: 'bold', serif;
  font-size: 1.2vw;
  color: #3d7353;
  text-transform: uppercase;
}
#bloc-filtres ul li:last-of-type p { margin-right: 0px; }

a.validation-filtres {
  display: block;
  background-color: #3d7353;
  text-align: center;
  padding: 0.8vw 0 0.7vw 0;
  font-family: 'bold', 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;
  border-radius: 100px;
} a.validation-filtres:hover { background-color: var(--color-gris-fonce); }

/* Intercalaires */

.intercalaire-batiment {
  position: relative;
  padding: 0.2vh 0;
  transition-duration: 0.4s;
  cursor: pointer;
  width: 100%;
  text-align: center;
}

.intercalaire-batiment p {
  position: relative;
  display: inline-block;
  margin: 0 auto;
  padding: 8px 20px 6px 20px;
  font-size: 0.8vw;
  line-height: 1vw;
  letter-spacing: 0.5vw;
  font-family: 'bold', sans-serif;
  text-transform: uppercase;
  background-color: white;
  border-radius: 15px;
  color: #666;
  border: 2px solid #666;
  text-align: center;
}

.intercalaire-batiment.active p {
  background-color: #666;
  color: white;
}
