@font-face {
font-family: "MegalopolisExtra";
font-weight: 200;
src: url("MegalopolisExtra-Regular.woff2") format("woff2"),
     url("MegalopolisExtra-Regular.woff") format("woff"),
     url("MegalopolisExtra-Regular.eot") format("embedded-opentype")
}
@font-face {
font-family: "Montserrat";
font-weight: 200;
src: url("Montserrat-Regular.ttf") format("truetype"),
}
@font-face {
font-family: "Montserrat";
font-weight: 200;
src: url("Montserrat-Bold.ttf") format("truetype"),
}

.bg1 { background-color: #55BDAF; }
.bg2 { background-color: #4E6E89; }
.bg3 { background-color: #EBB527; color: black; }
.bg4 { background-color: #CC3224; }

/* @keyframes color {
  0%   { background: #55BDAF; }
  17%  { background: #4E6E89; }
  33%  { background: #EBB527; }
  50%  { background: #CC3224; }
  67%  { background: #EBB527; }
  83%  { background: #4E6E89; }
  100% { background: #55BDAF; }
}*/

:root {
  /* 1 > 2 */
    --rdc-m2: matrix(.8, 0, -0.4, .4, 0, 120);
    --rdc-m3: matrix(.8, 0, -0.4, .4, 0, 240);
    --rdc-m4: matrix(.8, 0, -0.4, .4, 0, 240);
    
    --rdc-a1: 0;
    --rdc-a2: .3;
    --rdc-a3: .3;
    --rdc-a4: 0;
    
    --floor1-m2: matrix(.8, 0, -0.4, .4, 0, 0);
    --floor1-m3: matrix(.8, 0, -0.4, .4, 0, 120);
    --floor1-m4: matrix(.8, 0, -0.4, .4, 0, 120);
    
    --floor1-a1: 1;
    --floor1-a2: .6;
    --floor1-a3: .3;
    --floor1-a4: 0;
    
    --floor2-m2: matrix(.8, 0, -0.4, .4, 0, -120);
    --floor2-m3: matrix(.8, 0, -0.4, .4, 0, 0);
    --floor2-m4: matrix(1, 0, 0, 1, 0, 0);
    
    --floor2-a1: 0;
    --floor2-a2: .3;
    --floor2-a3: .6;
    --floor2-a4: 1;
}

img.map {
    position: absolute;
    opacity: 0;
    animation-duration: 2s;
    /*animation-iteration-count: 1;*/
}

img.map.sel {
  opacity: 1;
}

.selected-floor {
   opacity: 1;
}

@keyframes rdc {
  0%   {transform: matrix(1, 0, 0, 1, 0, 0); opacity: var(--rdc-a1);}
  33% {transform: var(--rdc-m2); opacity: var(--rdc-a2)}
  66% {transform: var(--rdc-m3); opacity: var(--rdc-a3)}
  100% {transform: var(--rdc-m4); opacity: var(--rdc-a4)}
}

@keyframes floor1 {
   0%   {transform: matrix(1, 0, 0, 1, 0, 0); opacity: var(--floor1-a1);}
  33% {transform: var(--floor1-m2); opacity: var(--floor1-a2)}
  66% {transform: var(--floor1-m3); opacity: var(--floor1-a3)}
  100% {transform: var(--floor1-m4); opacity: var(--floor1-a4)}
}

@keyframes floor2 {
   0%   {transform: matrix(1, 0, 0, 1, 0, 0); opacity: var(--floor2-a1);}
  33% {transform: var(--floor2-m2); opacity: var(--floor2-a2)}
  66% {transform: var(--floor2-m3); opacity: var(--floor2-a3)}
  100% {transform: var(--floor2-m4); opacity: var(--floor2-a4)}
}

.w3-shadow {
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16),0 2px 10px 0 rgba(0, 0, 0, 0.12) !important; /* 0.16 0.12 */
}

.w3-card-dark {
  /*box-shadow: 0 2px 5px 0 rgba(255, 255, 255, 0.16),0 2px 10px 0 rgba(255, 255, 255, 0.12) !important; /* 0.16 0.12 */
  background-color: #343a40;
}

/*.perm-bg {
  background: #55BDAF;
  animation: color 15s infinite linear;
}*/

.required::after{
  color: red;
  content: ' *';
}

.canceled {
    position: relative;
    background: rgba(204, 50, 36, 0.45);
    padding: 10px 0px;
    cursor: not-allowed;
}

.nw {
  white-space: nowrap;
}

.canceled label  {
  text-decoration: line-through;
}

.canceled input  {
  pointer-events: none;
  color: #aaa;
}

/* .canceled::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  background: #CC3224;
}

.canceled::before {
    content: "ANNULÉ";
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    background: #CC3224;
    color: white;
    padding: 2px 6px;
    font-size: 0.8em;
    z-index: 2;
} */

input {
  margin: .5rem .5rem .5rem 0 !important;
}

.ml-5 {
  margin-left: .5rem !important;
}


/* Style the list items */
ul li.sel {
  position: relative;
  padding: 12px 8px 12px 40px !important;
  transition: 0.2s;
}

.selectable {
  cursor: pointer;
}

/* Darker background-color on hover */
ul li.sel:hover {
  background: #ddd;
}

/* When clicked on, add a background color and strike out text */
ul li.sel.checked {
  background: #888;
  color: #fff;
}

/* Add a "checked" mark when clicked on */
ul li.sel.checked::before {
  content: '';
  position: absolute;
  border-color: #fff;
  border-style: solid;
  border-width: 0 2px 2px 0;
  top: 16px;
  left: 20px;
  transform: rotate(45deg);
  height: 15px;
  width: 7px;
}

/* The Close Button */
.modal-close {
  color: #aaaaaa;
  float: right;
  font-size: 40px;
  font-weight: bold;
}

.modal-close:hover,
.modal-close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

summary.check {
  font-weight:bold;
}

summary.dispo {
  color: green;
}
summary.resa {
  color: orange;
}

details {
    margin-bottom: 15px;
}

.container {
  padding: 16px;
  margin-bottom: 30px;
}

.container ul {
  margin: 0;
  margin-top: 30px;
  list-style: none;
  position: relative;
  padding: 1px 100px;
  font-size: 13px;
}

.container ul li {
  position: absolute;
  max-width: 250px;
  margin-right: 50%;
  right: 70px;
  /*padding: 14px;
  border-radius: 6px;
  max-width: 250px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.12), 0 2px 2px rgba(0, 0, 0, 0.08);
  margin-right: 50%;
  right: 70px;
  text-align: right;
  word-wrap: break-word;*/
}

.container ul li > span.label {
  padding: 14px;
  border-radius: 6px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.12), 0 2px 2px rgba(0, 0, 0, 0.08);
  text-align: right;
  word-wrap: break-word;
  background-color: transparent;
}

.container ul li.right > span.label {
  text-align: left;
}

.container ul li.right {
  margin-left: 50%;
  margin-right: 0;
  left: 70px;
  right: auto;
  text-align: left;
}

.container ul li > span.number {
  width: 2px;
  background: black;
  top: 0;
  position: absolute;
  right: -50px;
}

.container ul li.right > span.number {
  right: auto;
  left: -50px;
}

.container ul li > span.number:before, .container ul li > span.number:after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid #fff;
  position: absolute;
  background: #86b7e7;
  left: -5px;
}

.container ul li > span.number.before:before, .container ul li > span.number.after:after {
  background: red;
}

.container ul li span.number:before {
  top: -10px;
}

.container ul li span.number:after {
  top: 100%;
}

.container div .title, .container div .type {
  font-weight: 600;
  font-size: 12px;
}

.container div .info {
  font-weight: 300;
}
.container div > div {
  margin-top: auto;
}

.container span.number span {
  position: absolute;
  font-size: 10px;
  font-weight: bold;
  right: 10px;
}

.container li.right > span span {
  right: auto;
  left: 10px;
}

.container span.number span:first-child {
  top: -10px;
}

.container span.number span:last-child {
  top: 100%;
}

select {
  padding: 8px !important;
}

input:disabled {
  cursor: not-allowed;
}

.public {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* prepare wrapper element */
.numbercontainer {
  display: inline-block;
  position: relative;
}

/* position the unit to the right of the wrapper */
.numbercontainer::after {
  position: absolute;
  top: 2px;
  right: .5em;
  transition: all .05s ease-in-out;
}

/* move unit more to the left on hover or focus within
   for arrow buttons will appear to the right of number inputs */
.numbercontainer:hover::after,
.numbercontainer:focus-within::after {
  right: 1.5em;
}

/* handle Firefox (arrows always shown) */
@supports (-moz-appearance:none) {
  .numbercontainer::after {
    right: 1.5em;
  }
}

/* set the unit abbreviation for each unit class */
.eur::after {
  content: '€';
}

.progress-bar {
  height: 8px;
  background-color: #CC3224; /* ou toute autre couleur */
  width: 100%;
  animation: shrink 3s linear forwards;
}

@keyframes shrink {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  top: -8px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.bdot {
    display: none;
}

@media (max-width: 600px) {
    .btn-text {
        display: none;
    }

    .bdot {
        display: inline;
    }

    .bdot::after {
        content: ".";
    }

    /*.w3-left {
      float: right !important;
    }*/
}