/* AJUSTEMENT PAGE SELECTEUR */

html { margin: 0px; overflow-x: hidden; }
body { margin: 0px; overflow: hidden; }

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

body.selecteur {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* SELECTEUR */

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

body.selecteur #menu-principal {
  flex-shrink: 0;
}

#selecteur-complet {
  flex: 1;
  display: flex;
  width: 100%;
  overflow: hidden;
  min-height: 0;
}

#selecteur-gauche {
  position: relative;
  flex: 0 0 30%;
  min-width: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
}

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

#selecteur-droite {
    position: relative;
    flex: 1;
    margin: 0 2vw 2vw 0.5vw;
}

#selecteur-fond {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#selecteur-fond img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    border-radius: 0 6vw 0 6vw;
}

#selecteur-droite svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#selecteur-nord {
  position: absolute;
  bottom: 3vw;
  left: 3vw;
  width: 3.5vw;
  height: 3.5vw;
  background-image: url('../svg/picto-nord.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

#selecteur-deco-1 {
  position: absolute;
  top: 3.5vh;
  right: -4px;
  width: 10vw;
}

/* INTERCALAIRES  */

div.intercalaire-batiment {
  width: 90%;
  margin: 1px auto;
}

div.intercalaire-batiment p {
  display: block;
  padding: 1vw;
  background-color: var(--color-gris-clair);
  border-radius: 1vw 1vw 0 0;
  font-family: 'SansRegular', sans-serif;
  font-size: 0.9vw;
  line-height: 1.2vw;
  text-transform: uppercase;
  letter-spacing: 0.2vw;
}

div.intercalaire-batiment p b {
  font-family: 'SansMedium', sans-serif;
}

div.intercalaire-batiment-fin {
  display: block;
  height: 2vh;
  width: 90%;
  margin: 1px auto;
  background-color: var(--color-gris-clair);
  border-radius: 0 0 1vw 1vw;
  margin-bottom: 3vh;
}

/* TABLEAU */

div.lot {
  width: 90%;
  margin: 1px auto;
  background-color: var(--color-gris-light);
  transition-duration: 0.2s;
}

div.lot.disponible:hover, div.lot.disponible.show {
  margin: 10px auto;
}

div.lot ul {
  display: table;
  width: 100%;
}

div.lot ul li {
  display: table-cell;
  padding: 0.5vw;
  border: 1px solid white;
  vertical-align: middle;
}

div.lot ul li p {
  font-family: 'SansMedium', sans-serif;
  font-size: 0.7vw;
  line-height: 0.8vw;
  text-transform: uppercase;
  color: rgba(0,0,0,0.8);
}

div.lot ul li:last-of-type p {
  color: white;
}

div.lot ul li p span {
  display: block;
  font-family: 'SansLight', sans-serif;
  font-size: 0.5vw;
  line-height: 0.7vw;
  letter-spacing: 0.05vw;
  margin: 0 0 0.2vh 0;
}

div.lot ul li p i {
  display: inline-block;
  font-family: 'SansLight', sans-serif;
  font-size: 0.5vw;
  line-height: 0.7vw;
  letter-spacing: 0.05vw;
  margin: 0 0 0 0.2vw;
}

div.lot.hide ul.ligne:nth-child(2) { display: none; }
div.lot.show ul.ligne:nth-child(2) { display: table; }

div.lot ul.ligne:nth-child(1) li:nth-child(1) { width: 18%; }
div.lot ul.ligne:nth-child(1) li:nth-child(2) { width: 16%; }
div.lot ul.ligne:nth-child(1) li:nth-child(3) { width: 16%; }
div.lot ul.ligne:nth-child(1) li:nth-child(4) { width: 22%; }
div.lot ul.ligne:nth-child(1) li:nth-child(5) { text-align: center; color: white; }

div.lot.disponible ul.ligne:nth-child(1) li:nth-child(5) { background-color: var(--color-selecteur-dispo); }
div.lot.reserve ul.ligne:nth-child(1) li:nth-child(5) { background-color: var(--color-selecteur-reser); }
div.lot.vendu ul.ligne:nth-child(1) li:nth-child(5) { background-color: var(--color-selecteur-vendu); }

div.lot ul li.dl p {
  font-size: 0.6vw;
  line-height: 0.7vw;
}

div.lot ul li.dl a {
  display: table;
  width: 100%;
  table-layout: auto;
  cursor: pointer;
}

div.lot ul li.dl a p {
  display: table-cell;
  vertical-align: middle;
  color: var(--color-selecteur-dispo);
  transition-duration: 0.4s;
}

div.lot ul li.dl a:hover p {
  color: var(--color-gris-fonce);
}

div.lot ul li.dl a p img {
  display: inline-block;
  vertical-align: middle;
  width: 1vw;
  margin-right: 0.5vw;
}

/* SVG */

.cls-1 { opacity: 0; }
.cls-2 { opacity: 0; stroke-width: 2px; stroke: #FFF; }
.cls-2:hover { opacity: 0.8; }

polygon { transition-duration: 0.6s; }
.polyClick { opacity: 0.9; }
.polyOver { opacity: 0.6; }

.polyDispo { fill: var(--color-selecteur-dispo); }
.polyReser { fill: var(--color-selecteur-reser); }
.polyVendu { fill: var(--color-selecteur-vendu); }

/* FILTRES */

#selecteur-filtres {
  position: relative;
  width: 100%;
  background-color: white;
  margin-bottom: 20px;
}

#selecteur-filtres ul {
  position: relative;
  display: table;
  width: 90%;
  table-layout: fixed;
  margin: 0 auto;
  text-align: center;
}

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

#selecteur-filtres ul.disponibilite {
  border-radius: 0 1vw 0 1vw;
  overflow: hidden;
  table-layout: auto;
}

#selecteur-filtres ul.disponibilite li { background-color: var(--color-gris-clair); border-left: 1px solid white; border-right: 1px solid white; }
#selecteur-filtres ul.disponibilite li.dispo.active { background-color: var(--color-selecteur-dispo); }
#selecteur-filtres ul.disponibilite li.reser.active { background-color: var(--color-selecteur-reser); }
#selecteur-filtres ul.disponibilite li.vendu.active { background-color: var(--color-selecteur-vendu); }
#selecteur-filtres ul.disponibilite li.dispo.active p { color: white; }
#selecteur-filtres ul.disponibilite li.reser.active p { color: white; }
#selecteur-filtres ul.disponibilite li.vendu.active p { color: white; }

#selecteur-filtres ul.disponibilite li p {
  display: block;
  text-transform: uppercase;
  font-size: 0.7vw;
  line-height: 0.8vw;
  font-family: "SansRegular", sans-serif;
  color: var(--color-gris-fonce);
  padding: 1.2vh 0;
}

#selecteur-filtres ul.disponibilite li:nth-child(1) p {
  font-family: "SansMedium", sans-serif;
  font-size: 0.65vw;
  letter-spacing: 0.1vw;
  color: var(--color-gris-fonce);
}

#selecteur-filtres ul.disponibilite li p span {
  display: inline-block;
  margin: 0 10px 0 0;
  font-family: "sansMedium", sans-serif;
}

#selecteur-filtres ul.disponibilite li:nth-child(1) p span {
  display: inline-block;
  vertical-align: middle;
  width: 1vw;
}

#selecteur-filtres ul.filtre li {
  cursor: pointer;
  transition-duration: 0.4s;
  border-right: 1px solid white;
  background-color: var(--color-gris-light);
}

#selecteur-filtres ul.filtre li:first-child { border-radius: 0 0 0 1vw; }
#selecteur-filtres ul.filtre li:last-child { border-radius: 0 0 1vw 0; }

#selecteur-filtres ul.filtre li.active {
  background-color: var(--color-gris-fonce);
}

#selecteur-filtres ul.filtre li p {
  display: block;
  text-transform: uppercase;
  font-size: 0.7vw;
  line-height: 1.7vw;
  letter-spacing: 1px;
  font-family: "sansMedium", sans-serif;
  color: var(--color-gris-fonce);
  padding: 5px 0;
  margin: 0;
}

#selecteur-filtres ul.filtre li.active p {
  color: white;
}

#selecteur-filtres p.titre-filtre {
  display: block;
  width: 90%;
  margin: 1vh auto 1px auto;
  font-size: 0.5vw;
  line-height: 1vw;
  letter-spacing: 0.3vw;
  font-family: "sansRegular", sans-serif;
  color: var(--color-gris-fonce);
  text-transform: uppercase;
  text-align: center;
  background-color: var(--color-gris-light);
  border-radius: 1vw 1vw 0 0;
  padding: 0.6vh 0;
}

a.validation-filtres {
  display: block;
  width: 90%;
  margin: 1vh auto 2vh auto;
  padding: 1vh 0;
  text-align: center;
  font-family: "SansMedium", sans-serif;
  color: var(--color-gris-fonce);
  background-color: var(--color-gris-light);
  text-transform: uppercase;
  letter-spacing: 0.2vw;
  cursor: pointer;
  transition-duration: 0.4s;
  font-size: 0.7vw;
  line-height: 1vw;
  border-radius: 1vw;
}

a.validation-filtres:hover {
  background-color: var(--color-gris-clair);
}

.filtre-hide { display: default !important; }
.filtre-hide.hide { display: none !important; }

p.legende-selecteur {
  display: block;
  text-transform: uppercase;
  width: 90%;
  margin: 0vh auto 1vh auto;
  font-size: 0.55vw;
  line-height: 1.0vw;
  text-align: center;
}

p.legende-selecteur-mo {
  display: block;
  text-transform: uppercase;
  width: 90%;
  margin: 0vh auto 1vh auto;
  font-size: 0.65vw;
  line-height: 1.0vw;
  text-align: center;
}

/* BOX UP */

#selecteur-box-up {
  position: absolute;
  display: block;
  top: 50%;
  left: 50%;
  opacity: 0;
  width: auto;
  z-index: 1000;
  border-radius: 1vw;
  z-index: 100000;
}

#selecteur-box-up.hide {
  top: -800px !important;
  left: 800px !important;
  opacity: 0 !important;
}

#selecteur-box-up table {
  position: relative;
  table-layout: fixed;
  width: auto;
  background-color: white;
  margin: 0;
  transition-duration: 0.4s;
  text-align: center;
  border-radius: 1vw;
  overflow: hidden;
}

#selecteur-box-up table tr td {
  padding: 0.4vw 0.5vw;
}

#selecteur-box-up table tr td p {
  display: inline-block;
  padding: 3px 10px;
  font-family: "SansLight", sans-serif;
  font-size: 1vw;
  line-height: 1.2vw;
  text-align: center;
  text-transform: uppercase;
  color: var(--color-gris-fonce);
}

#selecteur-box-up table tbody.disponible tr td p { color: var(--color-selecteur-dispo); }
#selecteur-box-up table tbody.réservé tr td p { color: var(--color-selecteur-reser); }
#selecteur-box-up table tbody.vendu tr td p { color: var(--color-selecteur-vendu); }

#selecteur-box-up table tr:nth-child(1) td p {
  color: white !important;
  font-family: "SansMedium", sans-serif;
}

#selecteur-box-up table tr:nth-child(2) td p span {
  font-family: "SansMedium", sans-serif;
}

#selecteur-box-up table tbody.disponible tr:nth-child(1) { background-color: var(--color-selecteur-dispo); }
#selecteur-box-up table tbody.réservé tr:nth-child(1) { background-color: var(--color-selecteur-reser); }
#selecteur-box-up table tbody.vendu tr:nth-child(1) { background-color: var(--color-selecteur-vendu); }

#selecteur-box-up::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  display: inline-block;
  height: 1vh;
  width: 100%;
  transform: translate(-50%, 0px);
  z-index: 100;
  background-image: url('../svg/box-up-selecteur.svg');
  background-position: center -1px;
  background-size: contain;
  background-repeat: no-repeat;
}

.hidePiece { display: none !important; }
.hideEtage { display: none !important; }
.hideBatiment{ display: none !important; }
.hideDispo { display: none !important; }
