@charset "UTF-8";
.modal {
  z-index: 2;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  align-items: center;
  justify-content: center;
  background-color: rgba(128, 128, 128, 0.5);
}
@media screen and (min-width: 700px) {
  .modal {
    top: 50%;
  }
}
.modal:not([hidden]) {
  display: flex;
}
@media screen and (min-width: 700px) {
  .modal:not([hidden]) {
    align-items: flex-start;
    transform: translate(0%, -50%);
  }
}
.modal .modal-content {
  background-color: var(--jra-background);
  display: flex;
  flex-direction: column;
  border-radius: 5px;
  align-items: center;
  margin: auto;
}
.modal.modal-photo .modal-content {
  height: 100vh;
  width: 100vw;
  justify-content: flex-start;
}
.modal.modal-photo .modal-content > div:first-child h3 {
  display: flex;
  align-items: center;
  margin: 3vh 0;
}
.modal.modal-photo .modal-content > div:first-child h3::after {
  right: -20px;
  display: block;
  position: relative;
  width: 1em;
  height: 1em;
  background-color: var(--jra-black);
  content: " ";
  -webkit-mask: url("https://dev2.jra.tools/inventaire/img/circle-question.svg");
  -webkit-mask-position: center center;
  -webkit-mask-repeat: no-repeat;
}
.modal.modal-photo .modal-content > .camera {
  position: relative;
  display: flex;
  justify-content: center;
  align-self: center;
  height: 50vh;
}
@media screen and (max-height: 600px) and (max-width: 400px) {
  .modal.modal-photo .modal-content > .camera {
    scale: 0.75 1;
    height: 300px;
  }
}
.modal.modal-photo .modal-content > .camera.empty {
  background-image: url("../img/carrousel_img_scan/1.png");
  width: 300px;
  height: 300px;
  background-repeat: no-repeat;
  background-position: left;
  background-size: contain;
  margin-top: -100px;
}
.modal.modal-photo .modal-content > div:nth-last-child(2) {
  width: 100%;
  margin-top: 10px;
  color: var(--jra-input-color);
}
.modal.modal-photo .modal-content > div:nth-last-child(2) p {
  margin: 10px;
  text-align: center;
}
.modal.modal-photo .modal-content > div:nth-last-child(2) .stranger-checkbox {
  margin-left: 15px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.modal.modal-photo .modal-content > div:nth-last-child(2) .vin-switch:has(#vin:checked) ~ .stranger-checkbox {
  opacity: 0;
  pointer-events: none;
}
.modal.modal-photo .modal-content > div:nth-last-child(2) span {
  font-size: 1.5em;
}
.modal.modal-photo .modal-content > div:nth-last-child(2) button {
  font-size: 1em;
  width: -moz-fit-content;
  width: fit-content;
  height: -moz-fit-content;
  height: fit-content;
  background: none;
  border: none;
  text-decoration: underline;
  color: var(--jra-input-color);
}
.modal.modal-photo .modal-content > div:last-child {
  min-height: 60px;
  max-height: 60px;
  min-width: 100vw;
  bottom: 0;
  background-color: var(--jra-black);
  color: var(--jra-white);
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}
.modal.modal-photo .modal-content > div:last-child button {
  width: -moz-fit-content;
  width: fit-content;
  height: -moz-fit-content;
  height: fit-content;
  background: none;
  border: none;
  text-decoration: underline;
  color: var(--jra-white);
}
.modal.modal-photo .modal-content > div:last-child button.take-photo,
.modal.modal-photo .modal-content > div:last-child input.take-photo {
  position: absolute;
  top: -45px;
  width: 100px;
  height: 100px;
  justify-self: center;
  display: flex;
  border: solid var(--jra-black) 8px;
  border-radius: 50%;
  background-color: var(--jra-lightblue);
  background-image: url("https://dev2.jra.tools/inventaire/img/camera.svg");
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center;
}
.modal.modal-photo .modal-content > div:last-child button.take-photo.active,
.modal.modal-photo .modal-content > div:last-child input.take-photo.active {
  background-image: url("https://dev2.jra.tools/inventaire/img/check.png");
}
.modal.modal-photo .modal-content > div:last-child button.take-photo:hover,
.modal.modal-photo .modal-content > div:last-child input.take-photo:hover {
  background-color: var(--jra-lightblue-hover);
}
.modal.modal-photo .modal-content > div:last-child .toggle-flash {
  position: absolute;
  top: -90px;
  right: 40px;
  width: 80px;
  height: 80px;
  justify-self: center;
  display: flex;
  border: solid var(--jra-black) 8px;
  border-radius: 50%;
  background-color: var(--jra-input-color);
  background-image: url("https://dev2.jra.tools/inventaire/img/flash.svg");
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center;
}
.modal.modal-photo .modal-content > div:last-child .toggle-flash.active {
  background-color: var(--jra-yellow);
}
.modal.modal-photo .modal-content > div:last-child .toggle-flash.active::after {
  -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 90%, 63% 90%, 68% 100%, 73% 90%, 0% 90%);
          clip-path: polygon(0% 0%, 100% 0%, 100% 90%, 63% 90%, 68% 100%, 73% 90%, 0% 90%);
  opacity: 0;
  width: 200px;
  height: 5em;
  padding: 2px;
  padding-bottom: 1em;
  background-color: var(--jra-lightgrey);
  color: var(--jra-input-color);
  content: "Le flash à été activé, si rien ne c'est passé, veuillez activer votre lampe torche dans le menu de votre portable";
  position: absolute;
  bottom: 100%;
  right: -35px;
  display: block;
  animation: 15s infobulle-show;
}
@keyframes infobulle-show {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@media (min-width: 300px) and (max-width: 500px) {
  .modal.modal-photo .modal-content > div:last-child .toggle-flash.active::after {
    -webkit-clip-path: polygon(0% 0%, 95% 0%, 95% 40%, 100% 50%, 95% 60%, 95% 100%, 0% 100%);
            clip-path: polygon(0% 0%, 95% 0%, 95% 40%, 100% 50%, 95% 60%, 95% 100%, 0% 100%);
    padding-bottom: 2px;
    padding-right: 20px;
    bottom: initial;
    right: 100%;
  }
}
@media screen and (max-height: 420px) {
  .modal.modal-photo .modal-content {
    justify-content: center;
  }
  .modal.modal-photo .modal-content > div:first-of-type,
  .modal.modal-photo .modal-content > div:nth-of-type(3),
  .modal.modal-photo .modal-content > .bottom-menu {
    position: absolute;
    width: 100vh;
  }
  .modal.modal-photo .modal-content > div:first-of-type {
    top: 0;
    bottom: inherit !important;
    left: 10vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
  }
  .modal.modal-photo .modal-content > div:first-of-type h3 {
    justify-content: center;
    font-size: 5vh !important;
    color: #FFF;
  }
  .modal.modal-photo .modal-content > div:first-of-type h3::after {
    background-color: #FFF;
  }
  .modal.modal-photo .modal-content > div:first-of-type .zone-selector {
    width: 55% !important;
  }
  .modal.modal-photo .modal-content > div:first-of-type .zone-selector select {
    font-size: 5vh !important;
  }
  .modal.modal-photo .modal-content .camera {
    position: absolute;
    top: 0;
    left: 0;
    height: 90vh;
    width: -moz-fit-content;
    width: fit-content;
  }
  .modal.modal-photo .modal-content > div:nth-of-type(3) {
    bottom: 20vh;
    top: inherit !important;
    left: 10vw;
    margin: 0;
  }
  .modal.modal-photo .modal-content > div:nth-of-type(3) .vin-switch {
    font-size: 6vh !important;
    color: var(--jra-lightgrey) !important;
  }
  .modal.modal-photo .modal-content > div:nth-of-type(3) .vin-switch-instruction {
    display: none;
  }
  .modal.modal-photo .modal-content .bottom-menu {
    min-height: 45px !important;
    max-height: 45px !important;
  }
  .modal.modal-photo .modal-content .bottom-menu .modal-close,
  .modal.modal-photo .modal-content .bottom-menu .modal-save {
    min-width: -moz-fit-content !important;
    min-width: fit-content !important;
    width: 120px !important;
    margin: 5px 0 !important;
    font-size: 5vh !important;
  }
  .modal.modal-photo .modal-content .bottom-menu .take-photo {
    top: -55vh !important;
    right: 20px;
    width: 90px !important;
    height: 90px !important;
  }
}
@media screen and (max-height: 350px) {
  .modal.modal-photo .modal-content .camera {
    height: 100vh;
  }
}
.modal.modal-update-photo, .modal.modal-error-photo {
  z-index: 103;
}
.modal.modal-error-photo .modal-content, .modal.modal-update-photo .modal-content {
  width: 50vw;
}
@media screen and (max-width: 700px) {
  .modal.modal-error-photo .modal-content, .modal.modal-update-photo .modal-content {
    height: 100vh;
    width: 100vw;
    transform: initial;
  }
}
@media (min-width: 300px) and (max-width: 500px) {
  .modal.modal-error-photo .modal-content, .modal.modal-update-photo .modal-content {
    height: 140vh;
  }
}
.modal.modal-error-photo .modal-content > div:nth-child(2), .modal.modal-update-photo .modal-content > div:nth-child(2) {
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media screen and (max-width: 700px) {
  .modal.modal-error-photo .modal-content > div:nth-child(2), .modal.modal-update-photo .modal-content > div:nth-child(2) {
    margin-bottom: 10px;
  }
}
.modal.modal-error-photo .modal-content > div:nth-child(2) img, .modal.modal-update-photo .modal-content > div:nth-child(2) img {
  width: 100%;
  max-height: 50vh;
  -o-object-fit: cover;
     object-fit: cover;
}
.modal.modal-error-photo .modal-content > div:nth-child(2) .zone-selector, .modal.modal-update-photo .modal-content > div:nth-child(2) .zone-selector {
  margin: 12px auto;
  justify-content: center;
}
.modal.modal-error-photo .modal-content > div:nth-child(2) .immat, .modal.modal-update-photo .modal-content > div:nth-child(2) .immat {
  margin: 12px auto;
  text-align: center;
  font-size: 2vw;
  border: none;
  border-bottom: solid 1px var(--jra-fontcolor);
  text-transform: uppercase;
}
@media screen and (max-width: 700px) {
  .modal.modal-error-photo .modal-content > div:nth-child(2) .immat, .modal.modal-update-photo .modal-content > div:nth-child(2) .immat {
    font-size: 5vw;
  }
}
.modal.modal-error-photo .modal-content > div:nth-child(2) .immat:focus-visible, .modal.modal-update-photo .modal-content > div:nth-child(2) .immat:focus-visible {
  outline: none;
  border-bottom: solid 2px var(--jra-fontcolor);
}
.modal.modal-error-photo .modal-content > div:nth-child(2) .immat::-moz-placeholder, .modal.modal-update-photo .modal-content > div:nth-child(2) .immat::-moz-placeholder {
  color: var(--jra-grey);
}
.modal.modal-error-photo .modal-content > div:nth-child(2) .immat::placeholder, .modal.modal-update-photo .modal-content > div:nth-child(2) .immat::placeholder {
  color: var(--jra-grey);
}
@media (min-width: 300px) and (max-width: 500px) {
  .modal.modal-error-photo .modal-content > div:nth-child(2) .immat, .modal.modal-update-photo .modal-content > div:nth-child(2) .immat {
    margin-bottom: 200px;
  }
}
@media screen and (max-width: 700px) {
  .modal.modal-error-photo .modal-content > div:nth-child(2) .immat, .modal.modal-update-photo .modal-content > div:nth-child(2) .immat {
    margin-bottom: initial !important;
  }
}
.modal.modal-error-photo .modal-content #scroll_pointer, .modal.modal-update-photo .modal-content #scroll_pointer {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: red;
  top: 50%;
  opacity: 0;
}
.modal.modal-error-photo .modal-content .bottom-menu, .modal.modal-update-photo .modal-content .bottom-menu {
  gap: 30px;
}
@media screen and (min-width: 700px) {
  .modal.modal-error-photo .modal-content .bottom-menu, .modal.modal-update-photo .modal-content .bottom-menu {
    display: flex !important;
    width: 50vw;
    position: initial;
  }
  .modal.modal-error-photo .modal-content .bottom-menu .modal-close, .modal.modal-update-photo .modal-content .bottom-menu .modal-close {
    padding: 1vh 1vw !important;
  }
}
.modal.modal-error-photo .modal-content .stranger-checkbox, .modal.modal-update-photo .modal-content .stranger-checkbox {
  margin-bottom: 20px;
}
.modal.modal-error-photo .modal-content .stranger-checkbox, .modal.modal-error-photo .modal-content .shouldBeBox, .modal.modal-update-photo .modal-content .stranger-checkbox, .modal.modal-update-photo .modal-content .shouldBeBox {
  margin-left: 15px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
@media screen and (min-width: 700px) {
  .modal.modal-error-photo .modal-content .stranger-checkbox, .modal.modal-error-photo .modal-content .shouldBeBox, .modal.modal-update-photo .modal-content .stranger-checkbox, .modal.modal-update-photo .modal-content .shouldBeBox {
    padding-bottom: 20px;
  }
}
.modal.modal-reset-password .modal-content {
  max-width: 390px;
  margin: auto 5px;
  padding: 20px 30px 30px;
}
.modal.modal-reset-password .modal-content > div {
  display: flex;
  justify-content: center;
  width: 100%;
}
.modal.modal-reset-password .modal-content > div:first-child {
  flex-direction: column;
  align-items: center;
  padding: 0 10px;
}
.modal.modal-reset-password .modal-content > div:last-child {
  justify-content: space-around;
}
.modal.modal-reset-password .modal-content > div:last-child div {
  width: 40%;
  margin: 0;
}
@media screen and (min-width: 605px) {
  .modal.modal-reset-password .modal-content > div:last-child div input {
    opacity: 0.9;
  }
  .modal.modal-reset-password .modal-content > div:last-child div input:hover {
    opacity: 1;
    cursor: pointer;
  }
}
.modal.modal-confirm-save .modal-content {
  margin: 0 3vw;
  padding: 2vh 10vw !important;
  text-align: center;
}
.modal.modal-confirm-save .modal-content > div {
  width: 80%;
}
.modal.download-modal .modal-content {
  padding: 5vh 6vw !important;
  text-align: center;
  max-width: 40vw !important;
}
.modal.download-modal .modal-content > div:nth-of-type(2) {
  display: flex;
  gap: 5vw;
  width: 100%;
}
.modal.download-modal .modal-content .form-input:has(input[type=button]), .modal.download-modal .modal-content input[type=button] {
  cursor: pointer;
}
.modal.send-mail-modal .modal-content {
  text-align: center;
}
.modal.send-mail-modal .modal-content > div:nth-of-type(2) {
  width: 100%;
}
.modal.modal-photo .zone-selector, .modal.modal-add-vin .zone-selector, .modal.modal-set-zone .zone-selector {
  justify-content: center;
  padding: 0;
}
.modal.modal-photo .zone-selector select, .modal.modal-add-vin .zone-selector select, .modal.modal-set-zone .zone-selector select {
  width: 100%;
  margin-bottom: 2vh;
  border: 1px solid;
  border-radius: 5px;
}
.modal.modal-photo #hidden_vin, .modal.modal-add-vin #hidden_vin, .modal.modal-set-zone #hidden_vin {
  opacity: 0;
}
.modal.download-modal button, .modal.send-mail-modal button, .modal.modal-help button {
  width: -moz-fit-content;
  width: fit-content;
  height: -moz-fit-content;
  height: fit-content;
  background: none;
  border: none;
  text-decoration: underline;
  color: var(--jra-input-color);
}
.modal.modal-zone .modal-content, .modal.modal-set-zone .modal-content, .modal.modal-add-vin .modal-content, .modal.download-modal .modal-content, .modal.send-mail-modal .modal-content, .modal.modal-help .modal-content {
  width: 90%;
  padding: 5vh 10vw;
}
@media screen and (min-width: 700px) {
  .modal.modal-zone .modal-content, .modal.modal-set-zone .modal-content, .modal.modal-add-vin .modal-content, .modal.download-modal .modal-content, .modal.send-mail-modal .modal-content, .modal.modal-help .modal-content {
    width: 50%;
    padding: 2vh 2vw;
  }
}
.modal.modal-zone .modal-content h5, .modal.modal-set-zone .modal-content h5, .modal.modal-add-vin .modal-content h5, .modal.download-modal .modal-content h5, .modal.send-mail-modal .modal-content h5, .modal.modal-help .modal-content h5 {
  margin: 0 0 3vh;
  font-size: 5vw;
}
@media screen and (min-width: 700px) {
  .modal.modal-zone .modal-content h5, .modal.modal-set-zone .modal-content h5, .modal.modal-add-vin .modal-content h5, .modal.download-modal .modal-content h5, .modal.send-mail-modal .modal-content h5, .modal.modal-help .modal-content h5 {
    font-size: 24px !important;
  }
}
.modal.modal-zone .modal-content .form-input:has(#createZone), .modal.modal-set-zone .modal-content .form-input:has(#createZone), .modal.modal-add-vin .modal-content .form-input:has(#createZone), .modal.download-modal .modal-content .form-input:has(#createZone), .modal.send-mail-modal .modal-content .form-input:has(#createZone), .modal.modal-help .modal-content .form-input:has(#createZone) {
  margin: 2vh 0;
}
.modal.modal-zone .modal-content button#cancelZone, .modal.modal-zone .modal-content button#closeHelp, .modal.modal-zone .modal-content button#cancelVIN, .modal.modal-zone .modal-content button#cancelDownload, .modal.modal-zone .modal-content button#cancelSend, .modal.modal-set-zone .modal-content button#cancelZone, .modal.modal-set-zone .modal-content button#closeHelp, .modal.modal-set-zone .modal-content button#cancelVIN, .modal.modal-set-zone .modal-content button#cancelDownload, .modal.modal-set-zone .modal-content button#cancelSend, .modal.modal-add-vin .modal-content button#cancelZone, .modal.modal-add-vin .modal-content button#closeHelp, .modal.modal-add-vin .modal-content button#cancelVIN, .modal.modal-add-vin .modal-content button#cancelDownload, .modal.modal-add-vin .modal-content button#cancelSend, .modal.download-modal .modal-content button#cancelZone, .modal.download-modal .modal-content button#closeHelp, .modal.download-modal .modal-content button#cancelVIN, .modal.download-modal .modal-content button#cancelDownload, .modal.download-modal .modal-content button#cancelSend, .modal.send-mail-modal .modal-content button#cancelZone, .modal.send-mail-modal .modal-content button#closeHelp, .modal.send-mail-modal .modal-content button#cancelVIN, .modal.send-mail-modal .modal-content button#cancelDownload, .modal.send-mail-modal .modal-content button#cancelSend, .modal.modal-help .modal-content button#cancelZone, .modal.modal-help .modal-content button#closeHelp, .modal.modal-help .modal-content button#cancelVIN, .modal.modal-help .modal-content button#cancelDownload, .modal.modal-help .modal-content button#cancelSend {
  width: 100%;
  height: 3.5em;
  border-radius: 5px;
  padding: 2vh 2vw;
  color: #b6b6b6;
  background-color: var(--jra-white);
  font-size: 0.75em;
  font-weight: 700;
  border: 1px solid #b6b6b6;
  padding-inline: 15px;
  transition: 250ms;
  text-transform: uppercase;
  text-decoration: none;
}
.modal.modal-zone .form-input:has(#input_vin), .modal.modal-set-zone .form-input:has(#input_vin), .modal.modal-add-vin .form-input:has(#input_vin), .modal.download-modal .form-input:has(#input_vin), .modal.send-mail-modal .form-input:has(#input_vin), .modal.modal-help .form-input:has(#input_vin) {
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-transform: uppercase;
}
.modal.modal-zone .form-input:has(#input_vin) #input_vin, .modal.modal-set-zone .form-input:has(#input_vin) #input_vin, .modal.modal-add-vin .form-input:has(#input_vin) #input_vin, .modal.download-modal .form-input:has(#input_vin) #input_vin, .modal.send-mail-modal .form-input:has(#input_vin) #input_vin, .modal.modal-help .form-input:has(#input_vin) #input_vin {
  width: 100%;
  padding: 0;
  text-align: center;
  font-size: 3.5vw;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.modal.modal-zone .form-input:has(#input_vin) #input_vin::-webkit-calendar-picker-indicator, .modal.modal-set-zone .form-input:has(#input_vin) #input_vin::-webkit-calendar-picker-indicator, .modal.modal-add-vin .form-input:has(#input_vin) #input_vin::-webkit-calendar-picker-indicator, .modal.download-modal .form-input:has(#input_vin) #input_vin::-webkit-calendar-picker-indicator, .modal.send-mail-modal .form-input:has(#input_vin) #input_vin::-webkit-calendar-picker-indicator, .modal.modal-help .form-input:has(#input_vin) #input_vin::-webkit-calendar-picker-indicator {
  display: none !important;
}
.modal.modal-zone .form-input:has(#input_vin) label::after, .modal.modal-set-zone .form-input:has(#input_vin) label::after, .modal.modal-add-vin .form-input:has(#input_vin) label::after, .modal.download-modal .form-input:has(#input_vin) label::after, .modal.send-mail-modal .form-input:has(#input_vin) label::after, .modal.modal-help .form-input:has(#input_vin) label::after {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3.5vw;
  color: var(--jra-green);
  border-radius: 5px;
  content: "Conforme";
}
.modal.modal-zone .form-input:has(#input_vin) label:has(+ input.error)::after, .modal.modal-set-zone .form-input:has(#input_vin) label:has(+ input.error)::after, .modal.modal-add-vin .form-input:has(#input_vin) label:has(+ input.error)::after, .modal.download-modal .form-input:has(#input_vin) label:has(+ input.error)::after, .modal.send-mail-modal .form-input:has(#input_vin) label:has(+ input.error)::after, .modal.modal-help .form-input:has(#input_vin) label:has(+ input.error)::after {
  font-size: 3.5vw;
  color: var(--jra-red);
  content: "Non conforme";
}
@media screen and (max-height: 420px) {
  .modal#helpModal h5 {
    font-size: 6vh !important;
  }
  .modal#helpModal p {
    margin: 3vh 0 !important;
    font-size: 4.5vh !important;
  }
  .modal#helpModal button {
    height: inherit !important;
    margin-top: 3vh !important;
    font-size: 3.5vh !important;
  }
}

#photoUpdateModal h3 {
  text-align: center;
}
#photoUpdateModal h2 {
  font-size: 14px;
  text-align: center;
  margin: 5px;
}

.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  opacity: 0.5;
  background-color: gray;
  z-index: 5;
}/*# sourceMappingURL=Modal.css.map */