ul.lot, ul.legende {
  display: table;
  width: 100%;
  table-layout: auto;
}

ul.lot {
  cursor: pointer;
}

ul.lot li, ul.legende li {
  display: table-cell;
  transition-duration: 0.4s;
}

ul.legende li:nth-child(1), ul.lot li:nth-child(1) { width: 4%; }
ul.legende li:nth-child(2), ul.lot li:nth-child(2) { width: 6%; }
ul.legende li:nth-child(3), ul.lot li:nth-child(3) { width: 8%; }
ul.legende li:nth-child(4), ul.lot li:nth-child(4) { width: 12%; }
ul.legende li:nth-child(5), ul.lot li:nth-child(5) { width: 13%; }
ul.legende li:nth-child(6), ul.lot li:nth-child(6) { width: 8%; }
ul.legende li:nth-child(7), ul.lot li:nth-child(7) { width: 14%; }
ul.legende li:nth-child(8), ul.lot li:nth-child(8) { width: 14%; }
ul.legende li:nth-child(9), ul.lot li:nth-child(9) { width: 4%; }
ul.legende li:nth-child(10), ul.lot li:nth-child(10) { width: 4%; }
ul.legende li:nth-child(11), ul.lot li:nth-child(11) { width: 4%; }
ul.legende li:nth-child(12), ul.lot li:nth-child(12) { width: 8%; }

ul.lot li:nth-child(12) { text-align: center; }

ul.lot li p {
  font-family: 'sans-light', sans-serif;
  font-size: 16px;
  line-height: 20px;
  padding: 10px;
}

ul.legende li p {
  font-family: 'sans-light', sans-serif;
  font-size: 11px;
  line-height: 14px;
  padding: 4px 10px;
}

ul.lot li:nth-child(5) p,
ul.lot li:nth-child(6) p,
ul.lot li:nth-child(7) p { font-family: 'sans-bold', sans-serif; }

ul.lot li:nth-child(2) p,
ul.lot li:nth-child(9) p,
ul.lot li:nth-child(10) p,
ul.lot li:nth-child(11) p { font-family: 'sans-regular', sans-serif; }

ul.lot li:nth-child(5) p span {
  display: inline-block;
  margin-left: 10px;
  font-size: 80%;
  font-family: 'light', sans-serif;
}

ul.lot li, ul.legende li {
  border-bottom: 1px solid var(--color-projet-corpo);
} ul.lot li:nth-child(1), ul.legende li:nth-child(1) { border-bottom: none; }

ul.lot.active li {
  border-bottom: 3px solid var(--color-projet-corpo);
  border-top: 2px solid var(--color-projet-corpo);
} ul.lot.active li:nth-child(1) { border-bottom: none; border-top: none; }

ul.lot li:nth-child(1) p span {
  display: inline-block;
  width: 6px;
  height: 20px;
  vertical-align: middle;
}

ul.lot li.dispo p span { background-color: var(--color-projet-dispo); }
ul.lot li.reser p span { background-color: var(--color-projet-reser); }
ul.lot li.vendu p span { background-color: var(--color-projet-vendu); }

ul.lot li:nth-child(12) span {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: white;
  box-shadow: inset 0 0 0 1px var(--color-projet-corpo);
  vertical-align: middle;
}

ul.lot li:nth-child(12).active span {
  background-color: var(--color-projet-corpo);
  background-image: url('../svg/pictogramme-coche.svg');
  background-size: 80%;
  background-position: center;
}
