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; }

#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 2vw;
}

#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; }

/* ALERT */

p.alert-selecteur {
	display: block;
	padding: 2.5vh;
	font-size: 0.9vw;
	line-height: 1.6vw;
	text-align: justify;
	color: var(--color-projet-corpo);
	box-shadow: inset 0 0 0 2px var(--color-projet-corpo);
	margin-bottom: 2vh;
}

p.alert-selecteur img {
  display: inline-block;
  vertical-align: middle;
  width: 4vw;
}

/* TABLEAU */

.intercalaire-batiment {
  position: relative;
  padding: 0.6vh 0;
  border-top: 1px solid var(--color-gris-fonce);
  transition-duration: 0.4s;
  cursor: pointer;
}

.intercalaire-batiment:hover {
  background-color: rgba(0,0,0,0.1);
}

.intercalaire-batiment p {
  text-transform: uppercase;
  font-size: 0.9vw;
  line-height: 0.9vw;
  letter-spacing: 0.5vw;
  margin: 1vh 0;
}

table.lot {
	display: table;
	width: 100%;
	table-layout: fixed;
	border-top: 1px solid var(--color-gris-fonce);
	cursor: pointer;
}


table.lot:hover {
	border-top: 3px solid var(--color-gris-fonce);
	border-bottom: 2px solid var(--color-gris-fonce);
}

table.lot.open {
  border-top: 6px solid var(--color-gris-fonce);
	border-bottom: 5px solid var(--color-gris-fonce);
}

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

table.lot tr td {
	padding: 1vh 0;
	vertical-align: top;
}

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

table.lot tr:nth-child(1) td:nth-child(1) p { font-family: 'SansMedium', serif; }

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 p span { background-color: var(--color-selecteur-dispo); }
table.lot.réservé tr:nth-child(1) td:last-of-type p span { background-color: var(--color-selecteur-reser); }
table.lot.vendu tr:nth-child(1) td:last-of-type p span { background-color: var(--color-selecteur-vendu); }

table.lot tr:nth-child(1) td:last-of-type p img {
  display: inline-block;
  vertical-align: middle;
  width: 4vw;
}

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

/* FILTRES */

#selecteur-visuel-filtres {
	display: table;
  margin: 0.2vh auto 2vh auto;
	width: 95%;
	vertical-align: middle;
	text-align: center;
}

#selecteur-visuel-filtres ul {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
}

#selecteur-visuel-filtres ul li {
	position: relative;
	display: inline-block;
	float: center;
	box-shadow: inset 0 0 0 1px var(--color-projet-corpo);
	padding: 0.5vw;
	margin: 0.05vw;
	font-family: 'SansRegular', sans-serif;
	text-transform: uppercase;
	font-size: 0.55vw;
	line-height: 0.55vw;
	letter-spacing: 0.02vw;
	color: var(--color-projet-corpo);
}

#selecteur-visuel-filtres ul li.off {
	font-size: 0.7vw;
	line-height: 0.7vw;
	letter-spacing: 0.1vw;
	box-shadow: none;
}

#selecteur-visuel-filtres ul li.filtre {
	box-shadow: inset 0 0 0 1px var(--color-gris-clair);
	color: var(--color-gris-clair);
  border-radius: 6px;
}

#selecteur-visuel-filtres ul li.filtre::before {
	content: '';
	display: block;
	position: absolute;
	top: 0px;
	right: 0px;
	width: 0.6vw;
	height: 0.6vw;
	background-color: var(--color-projet-corpo);
	transform: translate(0, -50%);
	background-image: url('../svg/picto-croix-blanche-bold.svg');
	background-position: center;
	background-repeat: no-repeat;
	background-size: 60%;
	opacity: 0;
	transition-duration: 0.2s;
  border-radius: 6px;
}

#selecteur-visuel-filtres ul li.filtre.active::before {
	opacity: 1;
}

#selecteur-visuel-filtres ul li.filtre.active {
	box-shadow: inset 0 0 0 1px var(--color-projet-corpo);
	color: var(--color-projet-corpo);
}

#selecteur-visuel-filtres ul li.filtre.active.dispo {
	box-shadow: inset 0 0 0 1px var(--color-selecteur-dispo);
	color: var(--color-selecteur-dispo);
}

#selecteur-visuel-filtres ul li.filtre.dispo::before {
	background-color: var(--color-selecteur-dispo);
}

#selecteur-visuel-filtres ul li.filtre.active.reser {
	box-shadow: inset 0 0 0 1px var(--color-selecteur-reser);
	color: var(--color-selecteur-reser);
}

#selecteur-visuel-filtres ul li.filtre.reser::before {
	background-color: var(--color-selecteur-reser);
}

#selecteur-visuel-filtres ul li.filtre.active.vendu {
	box-shadow: inset 0 0 0 1px var(--color-selecteur-vendu);
	color: var(--color-selecteur-vendu);
}

#selecteur-visuel-filtres ul li.filtre.vendu::before {
	background-color: var(--color-selecteur-vendu);
}

/* 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: #bcb1a0; }
.cls-2 { fill: none; }
.cls-3 { fill: #a2a2a1; }
.cls-5 { fill: #8a918f; }
.cls-7 { fill: #939393; }
.cls-8 { fill: #878889; }
.cls-9 { fill: #878787; }
.cls-9, .cls-10, .cls-11, .cls-12, .cls-13 { mix-blend-mode: multiply; }
.cls-14 { fill: #ddd; }
.cls-15 { fill: #a6bf7a; }
.cls-16 { fill: #e4eff4; }
.cls-17 { fill: #c2c1c1; }
.cls-18 { fill: #a09f9a; }
.cls-10 { fill: #cac9c9; }
.cls-19 { fill: #e5d9ca; }
.cls-20 { fill: #adaca3; }
.cls-21 { fill: #7c7c7d; }
.cls-22 { fill: #847b70; }
.cls-23 { fill: #f4f4f4; }
.cls-24 { fill: #a3a3a2; }
.cls-25 { fill: #c9d6d3; }
.cls-26 { fill: #afa394; }
.cls-27 { fill: #6d6d6c; }
.cls-28, .cls-13 { fill: #d1d0d1; }
.cls-29 { fill: #66465f; }
.cls-30 { fill: #929292; }
.cls-31 { fill: #d8d8d8; }
.cls-33 { fill: #999084; }
.cls-34 { fill: #9d9d9d; }
.cls-35 { fill: #c9c0b5; }
.cls-36 { isolation: isolate; }
.cls-37 { fill: #9a6a91; }
.cls-38 { fill: #ad8d65; }
.cls-39 { fill: #7f8968; }
.cls-42 { fill: #636363; }
.cls-43 { fill: #eeeae6; }
.cls-44 { fill: #dadada; }
.cls-45 { fill: #969696; }
.cls-46 { fill: #fff; }
.cls-47 { fill: #f7d9c1; }
.cls-12, .cls-48 { fill: #bfbebe; }
.cls-49 { fill: #eac4a9; }
.cls-50 { fill: #d5e5b6; }
.cls-51 { fill: #c6d39c; }
.cls-52 { fill: #b4cd89; }
.cls-53 { fill: #b6b6b5; }
.cls-54 { fill: #65465f; }
.cls-55 { fill: #e2e2e1; }
.cls-56 { fill: #8b8b8b; }
.cls-57 { fill: #aaafaf; }
.cls-58 { fill: #92918d; }
.cls-59 { fill: #8c9971; }
.cls-60 { fill: #f2f2f2; }
.cls-61 { fill: #626262; }
.cls-62 { fill: #999185; }
.cls-63 { fill: #afafaf; }
.cls-64 { fill: #a7729c; }
.cls-65 { fill: #8c8c8c; }
.cls-66 { fill: #6a6a69; }
.cls-67 { fill: #7d7d7e; }
.cls-68 { fill: #6a6a6a; }
.cls-69 { fill: #ecf5f9; }
.cls-70 { fill: #dcdcdc; }
.cls-71 { fill: #bcc4c2; }
.cls-72 { fill: #a2a1a1; }
.cls-73 { fill: #d5e4af; }
.cls-74 { fill: #6c4b66; }
.cls-75 { fill: #c7c6c6; }
.cls-76 { fill: #f7d9c1; }
.cls-77 { fill: #9dad80; }
.cls-78 { fill: #cdcccc; }
.cls-79 { fill: #a6719b; }
.cls-80 { fill: #a8739d; }

.cls-4 { fill: #CCC; } /* Masque Sol */
.cls-32 { fill: #f08ab7; } /* Masque Select */

.cls-40 { fill: #4bb8a3; } /* Top */
.cls-41 { fill: #7ec7bd; } /* Right */
.cls-6 { fill: #279983; } /* Left */

/* TEINTES LOT */

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

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

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

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

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

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

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

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

g.lot.polyVendu:hover polygon.cls-41, g.lot.polyVendu:hover path.cls-41 { fill : rgba(237,106,97,1); }
g.lot.polyVendu:hover polygon.cls-40, g.lot.polyVendu:hover path.cls-40 { fill : rgba(207,90,87,1); }
g.lot.polyVendu:hover polygon.cls-6, g.lot.polyVendu:hover path.cls-6 { 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-32 { fill: #000000; opacity: 0; }
g.masque:hover .cls-32 { 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; }

/* LEGENDE */

ul#selecteur-legende {
  position: absolute;
  display: table;
  table-layout: fixed;
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: 10%;
}

ul#selecteur-legende li {
  display: table-cell;
  vertical-align: bottom;
  padding: 2vw 0vw 2vw 2vw;
  text-align: right;
}

ul#selecteur-legende li:nth-child(1) { width: 10%; text-align: center; }

ul#selecteur-legende li p img {
  width: 4vw;
}

ul#selecteur-legende li p {
  font-size: 0.7vw;
  line-height: 1vw;
  letter-spacing: 0.07vw;
  text-transform: uppercase;
}

/* FORMULAIRE */

#fenetre-formulaire {
  position: absolute;
  top: -200vh;
  left: 50%;
  width: 84%;
  max-width: 1000px;
  height: auto;
  background-color: white;
  transform: translate(-50%, -50%);
  border: 2px solid var(--color-projet-tonique);
  box-shadow: 0 0 0 30px white;
  z-index: 1000;
  transition-duration: 1s;
} #fenetre-formulaire.active { top: 50%; }

#fenetre-formulaire-contenu {
  font-family: 'SansRegular', sans-serif;
  position: relative;
  width: 90%;
  margin: 4vh auto;
  color: var(--color-gris-moyen);
}

table#tableauLotDemande {
  width: 100%;
  margin: 0 auto 2vh auto;
  table-layout: fixed;
}

table#tableauLotDemande thead tr td {
  padding: 0 0 2vh 0;
}

table#tableauLotDemande tr td {
  padding: 0.4vh 0;
}

table#tableauLotDemande tr td {
  font-size: 0.8vw;
  line-height: 1vw;
  text-transform: uppercase;
}

p.intro-formulaire-demande {
  text-align: center;
  text-transform: uppercase;
  font-size: 1vw;
  line-height: 1.4vw;
}

#fermeture-demande {
  position: absolute;
  width: 3vh;
  height: 3vh;
  top: 0px;
  right: 0px;
  background-color: var(--color-projet-tonique);
  cursor: pointer;
}

#fermeture-demande span {
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: white;
  width: 60%;
  height: 2px;
  transition-duration: 0.4s;
}

#fermeture-demande span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
#fermeture-demande span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }

#fermeture-demande:hover span:nth-child(1) { transform: translate(-50%, -50%) rotate(-45deg); }
#fermeture-demande:hover span:nth-child(2) { transform: translate(-50%, -50%) rotate(45deg); }
