@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
}

* {
  margin: 0;
  padding: 0;
  font-family: "Montserrat";
  line-height: 1.3;
  letter-spacing: -0.5px;
  font-size: 15px;
}

/* Couleurs */
:root {
  --blue-color: #1572b9;
  --green-color: #4cae3c;
  --red-color: #ae3c3c;
}

p {
  margin: 0;
  padding: 0;
}

.htmx-indicator {
  display: none;
}

.htmx-request .htmx-indicator {
  display: inline-block;
}

.htmx-request.htmx-indicator {
  display: inline-block;
}

input::file-selector-button {
  font-size: 15px;
  font-weight: normal;
  text-decoration: none;
  border: 1px solid var(--blue-color);
  padding: 2px 15px;
  margin: 5px;
  text-align: center;
  color: #fff;
  border-radius: 3px;
  background-color: var(--blue-color);
}

.error {
  color: red;
}

*::-webkit-scrollbar {
  display: none;
}

.custom-details {
  padding-left: 5px;
  color: var(--green-color);
  font-weight: bold;
  border-top: solid 1px lightgrey;
}

.custom-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  user-select: none;
  margin: 5px 0;
}

.custom-details summary::-webkit-details-marker {
  display: none;
}

.custom-details .arrow {
  transition: transform 0.3s ease;
}

.custom-details[open] .arrow {
  transform: rotate(-90deg);
}

.body {
  height: calc(100svh);
  overflow-y: hidden;
}

.chargement {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  height: 100svh;
  width: 100svw;
  top: 0;
  left: 0;
  z-index: 999;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
}

.charg {
  position: fixed;
  height: 100svh;
  width: 100svw;
  top: 0;
  left: 0;
  display: none;
  z-index: 999;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
}

.charg_chargement {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bon_signature {
  background-color: white;
  border: 1px solid #000;
  width: 300px;
  height: 150px;
}

.corpschantiers {
  height: calc(100svh - 45px);
  overflow-y: scroll;
}

.corps {
  height: calc(100svh - 77px);
  overflow-y: scroll;
}

.message {
  transform: translateY(-25px);
  animation-duration: 10s;
  animation-name: message;
  transition: transform 500ms;
}

.message:hover {
  transform: translateY(0px);
  animation-duration: 500ms;
}

@keyframes message {
  0% {
    transform: translateY(-100px);
  }
  10% {
    transform: translateY(0px);
  }
  90% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-25px);
  }
}

.div_point_anim {
  animation: point_anim 1s infinite;
}

@keyframes point_anim {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(0, 0) rotate(5deg);
  }
  50% {
    transform: translate(0, 0) rotate(0eg);
  }
  75% {
    transform: translate(0, 0) rotate(-5deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

.compte {
  max-height: calc(100svh - var(--hauteur-menu) - var(--hauteur-footer));
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  flex-wrap: wrap;
  align-content: flex-start;
}

.compte_connection {
  width: calc(100% - 10px);
  max-width: 500px;
  height: auto !important;
  padding: 10px;
  margin-top: 20px;
  background-color: white;
  display: flex;
  flex-direction: column;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
  border-radius: 5px;
}

.compte_connection input {
  margin-bottom: 10px;
}

.compte_connection button {
  margin-bottom: 10px;
  font-size: 15px;
  border: 1px solid var(--blue-color);
  color: white;
  border-radius: 3px;
  background-color: var(--blue-color);
  padding: 5px;
}

.compte_connection button:hover {
  background-color: white;
  color: black;
}

.compte_connection button:active {
  box-shadow: inset -2px -2px 3px rgba(255, 255, 255, 0.6), inset 2px 2px 3px rgba(255, 255, 255, 0.6);
}

.compte_connection p {
  text-align: right;
  margin: 10px;
  color: black;
}

.compte_connection a {
  text-align: right;
  margin: 10px;
  color: var(--melpro-color);
  text-decoration: underline;
}

.compte_connection img {
  width: 300px;
  margin-bottom: 20px;
}

.compte_inscription {
  width: calc(100% - 10px);
  max-width: 500px;
  height: auto !important;
  padding: 10px;
  margin-top: 20px;
  background-color: white;
  display: flex;
  flex-direction: column;
  height: auto !important;
}

.compte_inscription input {
  margin-bottom: 10px;
}

.compte_inscription button {
  margin-bottom: 10px;
}

.compte_inscription p {
  text-align: right;
  margin: 10px;
  color: black;
}

.devis_devi {
  display: flex;
  flex-direction: column;
}

.devis_devi p {
  margin: 0;
  min-height: 20px;
}

.devis_devi h2 {
  margin: 0;
  font-size: 1.5rem;
}

.devis_devi_pages {
  overflow: scroll;
}

.devis_devi_pages_page {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  height: fit-content;
  height: 1414px;
  width: 100svw;
  max-width: 1000px;
  margin: 20px;
}

.devis_devi_pages_page_entete {
  display: flex;
  flex-direction: row;
}

.devis_devi_pages_page_entete_gauche {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 50%;
}

.devis_devi_pages_page_entete_gauche img {
  height: 100px;
}

.devis_devi_pages_page_entete_droite {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 50%;
}

.devis_devi_pages_page_titre {
  padding: 30px 0 10px 0;
}

.devis_devi_pages_page_commentaire {
  padding: 10px 0;
}

.devis_devi_pages_page_pied {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
}

.devis_devi_pages_page_pied p {
  padding: 0 10px;
}

.devis_devi_pages_page_numpage {
  position: absolute;
  bottom: 5px;
  right: 5px;
}

.header {
  display: flex;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  width: 100%;
  height: 45px;
  background-color: var(--blue-color);
  color: white;
}

.header_recherche {
  padding: 3px;
  border-radius: 5px;
  border: none;
}

.header svg {
  height: 25px;
  width: 25px;
  margin: 5px;
  fill: white;
}

.header p {
  font-size: 1rem;
  margin: 0;
}

.header_titre {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
}

.header_flex {
  display: none;
  position: fixed;
  width: 100svw;
  height: 100svh;
  top: 0;
  left: 0;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.header_flex_menu {
  display: flex;
  flex-direction: column;
  background-color: white;
  color: black;
  padding: 0;
  width: auto;
  min-width: 250px;
  height: 100%;
  overflow-y: scroll;
}

.header_flex_menu svg {
  height: 25px;
  width: 25px;
  margin: 5px;
  fill: black;
}

.header_flex_menu_chantier {
  display: flex;
  align-items: center;
  padding: 2px 5px;
  color: var(--blue-color);
  text-decoration: none;
}

.header_flex_menu_chantier svg {
  fill: var(--blue-color);
}

.header_flex_menu_chantier p {
  font-weight: bold;
  margin: 0 5px;
}

.header_flex_menu_menu {
  display: flex;
  align-items: center;
  padding: 2px 5px;
  color: var(--green-color);
  text-decoration: none;
}

.header_flex_menu_menu svg {
  fill: var(--green-color);
}

.header_flex_menu_menu p {
  font-weight: bold;
  margin: 0 5px;
}

.header_flex_menu_dansmenu {
  display: flex;
  align-items: center;
  padding: 2px 10px;
  color: var(--green-color);
  text-decoration: none;
}

.header_flex_menu_dansmenu svg {
  fill: var(--green-color);
}

.header_flex_menu_dansmenu p {
  font-weight: bold;
  margin: 0 5px;
}

.header_flex_menu_urgent {
  display: flex;
  align-items: center;
  padding: 2px 5px;
  color: red;
  text-decoration: none;
}

.header_flex_menu_urgent svg {
  fill: red;
}

.header_flex_menu_urgent p {
  font-weight: bold;
  margin: 0 5px;
}

@media screen {
  .admin_print {
    position: fixed;
    display: flex;
    top: 5px;
    right: 5px;
    z-index: 2;
  }
  .admin_print_print {
    display: flex;
    align-items: center;
    padding: 5px 20px;
    margin-right: 5px;
    text-decoration: none;
    color: white;
    background-color: var(--blue-color);
    border: none;
    border-radius: 5px;
  }
  .admin_print_print svg {
    height: 25px;
    margin: 3px 10px 3px 0;
    fill: white;
  }
  .admin_print_pdf {
    display: flex;
    align-items: center;
    padding: 5px 20px;
    margin-right: 5px;
    text-decoration: none;
    color: white;
    background-color: var(--blue-color);
    border: none;
    border-radius: 5px;
  }
  .admin_print_pdf svg {
    height: 25px;
    margin: 3px 10px 3px 0;
    fill: white;
  }
  .admin_mail {
    display: flex;
    align-items: center;
    padding: 5px 20px;
    margin-right: 5px;
    text-decoration: none;
    color: white;
    background-color: var(--green-color);
    border: none;
    border-radius: 5px;
  }
  .admin_mail svg {
    height: 25px;
    margin: 3px 10px 3px 0;
    fill: white;
  }
}

@media print {
  .devis_devi_pages_page {
    margin: 0;
  }
  .admin_print {
    display: none;
  }
  .devis_devi_pages_page {
    page-break-before: always;
    page-break-inside: avoid;
  }
  .devis_devi_pages_page:first-of-type {
    page-break-before: auto;
  }
}

.cards {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100svw;
  height: 100svh;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.cards_client {
  z-index: 10;
}

.cards_lieu {
  z-index: 20;
}

.cards_card {
  display: flex;
  flex-direction: column;
  max-width: calc(100svw - 40px);
  max-height: calc(100svh - 40px);
  background-color: white;
  margin: 5px;
}

.cards_card_entete {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  background: linear-gradient(to right, #1572b9 20%, white 90%);
  width: 100%;
  height: 45px;
  margin-bottom: 10px;
}

.cards_card_entete p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 5px;
  padding: 0;
  min-width: 100px;
  width: 100%;
  text-align: center;
  color: white;
  font-size: 25px;
}

.cards_card_entete svg {
  fill: red;
  margin: 5px;
  width: 30px;
  cursor: pointer;
}

.cards_card_corps {
  display: flex;
  justify-content: space-between;
  margin: 5px 10px;
  width: calc(100% - 20px);
}

.cards_card_corps input {
  height: 30px;
}

.cards_card_corps select {
  height: 30px;
}

.cards_card_corps_colonne30 {
  display: flex;
  flex-direction: column;
  width: calc(30% - 5px);
}

.cards_card_corps_colonne50 {
  display: flex;
  flex-direction: column;
  width: calc(50% - 5px);
}

.cards_card_corps_colonne70 {
  display: flex;
  flex-direction: column;
  width: calc(70% - 5px);
}

.cards_card_corps_colonne100 {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.cards_card_corps_date {
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
}

.cards_card_corps_type {
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
}

.cards_card_corps_text {
  padding: 0 0 0 3px;
  margin: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
}

.cards_card_boutons {
  display: flex;
  flex-direction: column;
  margin: 10px;
  overflow-y: scroll;
}

.cards_card_boutons_bouton {
  border: 1px solid var(--blue-color);
  margin: 5px 0 0 0;
  padding: 5px;
  text-align: center;
  color: white;
  border-radius: 3px;
  background-color: var(--blue-color);
  cursor: pointer;
}

.cards_card_boutons_bouton:active {
  box-shadow: inset -2px -2px 3px rgba(255, 255, 255, 0.6), inset 2px 2px 3px rgba(0, 0, 0, 0.6);
}

.cards_card_boutons_bouton:hover {
  background-color: white;
  color: var(--blue-color);
}

.cards_card_boutons_bouton2 {
  border: 1px solid var(--green-color);
  margin: 5px 0 0 0;
  padding: 5px;
  text-align: center;
  color: white;
  border-radius: 3px;
  background-color: var(--green-color);
  cursor: pointer;
}

.cards_card_boutons_bouton2:active {
  box-shadow: inset -2px -2px 3px rgba(255, 255, 255, 0.6), inset 2px 2px 3px rgba(0, 0, 0, 0.6);
}

.cards_card_boutons_bouton2:hover {
  background-color: white;
  color: var(--green-color);
}

.cards_card_clients {
  display: flex;
  flex-direction: column;
  margin: 5px 0 0 0;
  padding: 5px;
  border-radius: 5px;
  border: solid 1px var(--green-color);
  cursor: pointer;
}

.cards_card_clients_zones {
  display: flex;
  flex-direction: row;
}

.cards_card_clients_zones_zone50 {
  width: 50%;
}

.cards_card_clients_bouton {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 5px 0 0 0;
  padding: 5px;
  background-color: var(--green-color);
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.accueil {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  height: calc(100svh - 45px);
  width: 100%;
  overflow-y: scroll;
}

.accueil_statut {
  width: calc((100% / 6) - 4px);
  margin: 2px;
  height: calc((100% / 2) - 4px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.accueil_statut_titre {
  font-size: 18px;
  text-align: center;
  font-weight: bold;
}

.accueil_statut_chantiers {
  overflow-y: scroll;
  background-color: white;
  margin: 2px 0;
}

.accueil_statut_chantiers::-webkit-scrollbar {
  display: none;
}

.accueil_statut_chantiers_chantier {
  width: calc(100% - 2px);
  background-color: white;
  border: solid grey 1px;
  border-radius: 5px;
  text-align: left;
  padding: 0 2px;
  margin: 2px;
  font-size: 18px;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
  cursor: pointer;
}

.accueil_statut_chantiers_chantier_titre {
  padding: 0;
  margin: 0;
  overflow: hidden;
  white-space: nowrap;
}

.accueil_statut_chantiers_chantier_action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  margin-bottom: 2px;
}

.accueil_statut_chantiers_chantier_action svg {
  height: 15px;
  margin-left: 2px;
}

.accueil_statut_chantiers_chantier_action_action {
  font-size: 0.8rem;
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 5px;
}

.accueil_statut_chantiers_chantier_action_tarif {
  font-size: 0.8rem;
  margin-right: 5px;
  white-space: nowrap;
}

.chantier_entete {
  width: 100%;
}

.chantier_entete_select {
  width: 100%;
}

.chantier_entete_input {
  width: 100%;
}

.chantier_detail {
  width: 100%;
}

.chantier_detail_onglets {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.chantier_detail_onglets_onglet {
  border: 1px solid #0c73b8;
  text-align: center;
  color: #fff;
  border-radius: 3px 3px 0 0;
  background-color: var(--blue-color);
  padding: 3px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  margin: 5px 5px 0 5px;
  border-bottom: 0;
}

.chantier_detail_onglets_onglet_select {
  color: black;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.5) 2.4px -2.4px 3.2px;
}

.chantier_detail_corps {
  background-color: white;
  width: 100svw;
  height: 100%;
}

.chantier_detail_corps_clien {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  width: 100%;
}

.chantier_detail_corps_client {
  display: flex;
  flex-direction: column;
  padding: 5px;
  border-bottom: solid 1px var(--green-color);
}

.chantier_detail_corps_client_titre {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  white-space: nowrap;
}

.chantier_detail_corps_client_titre svg {
  fill: var(--green-color);
}

.chantier_detail_corps_client_details {
  display: flex;
  flex-wrap: wrap;
  margin: 5px 0 5px 5px;
}

.chantier_detail_corps_client_details svg {
  fill: var(--blue-color);
}

.chantier_detail_corps_client_zone {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  white-space: nowrap;
  max-width: 100%;
}

.chantier_detail_corps_client_zone a {
  text-decoration: none;
}

.chantier_detail_corps_client_zone p {
  margin: 0 0 0 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chantier_detail_corps_client_zone svg {
  height: 25px;
  width: 25px;
  margin: 0 5px;
}

.chantier_detail_corps_finance {
  display: flex;
  width: 625px;
  flex-wrap: wrap;
  padding: 5px;
  border-bottom: solid 1px var(--green-color);
}

.chantier_detail_corps_finance_details {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 0;
}

.chantier_detail_corps_finance_zone {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  white-space: nowrap;
  max-width: 100%;
  padding: 0 5px;
}

.chantier_detail_corps_finance_zone a {
  text-decoration: none;
}

.chantier_detail_corps_finance_zone p {
  margin: 0 5px 0 0;
  color: var(--green-color);
}

.chantier_detail_corps_finance_zone svg {
  height: 25px;
  width: 25px;
  margin: 0 5px;
  fill: var(--blue-color);
}

.chantier_detail_corps_finance_zone input {
  max-width: 100%;
  margin: 2px 0;
  color: black;
}

.chantier_detail_corps_finance_zone select {
  max-width: 100%;
  margin: 2px 0;
  color: black;
}

.chantier_detail_corps_commentaire {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.chantier_detail_corps_commentaire_zone {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.chantier_detail_corps_commentaire_zone p {
  width: fit-content;
  z-index: 2;
  margin: 5px 5px -8px 10px;
  padding: 0 5px;
  background-color: white;
  color: var(--green-color);
}

.chantier_detail_corps_commentaire_zone textarea {
  width: calc(100% - 10px);
  min-height: 50svh;
  font-size: large;
  margin: 0 5px;
  padding: 2px;
}

.chantier_action_corps {
  background-color: white;
  width: calc(100% - 2px);
  height: calc(100svh - 140px);
}

.chantier_action_corps_ajout {
  display: flex;
  width: 100%;
  justify-content: space-evenly;
  padding: 5px 0;
}

.chantier_action_corps_ajout div {
  display: flex;
  flex-direction: column;
  padding: 5px;
  cursor: pointer;
}

.chantier_action_corps_ajout div svg {
  height: 30px;
}

.chantier_action_corps_actions {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-top: solid 1px var(--blue-color);
}

.chantier_action_corps_actions_action {
  margin: 0 2px;
  display: flex;
  align-items: center;
  border-bottom: solid 1px var(--blue-color);
  padding: 2px;
}

.chantier_action_corps_actions_action_date {
  white-space: nowrap;
  margin: 0;
  padding: 0 2px;
  width: 90px;
}

.chantier_action_corps_actions_action_type {
  white-space: nowrap;
  margin: 0;
  padding: 0 2px;
  width: 150px;
  color: var(--blue-color);
}

.chantier_action_corps_actions_action_commentaire {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  padding: 0 2px;
  width: calc(100% - 170px);
}

.chantier_action_corps_actions_action_user {
  font-size: 16px !important;
  white-space: nowrap;
  margin: 0;
  padding: 0 2px;
}

.chantier_produit_corps {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  width: 100%;
  height: calc(100svh - 77px);
  background-color: white;
}

.chantier_produit_corps_entete {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px;
}

.chantier_produit_corps_entete_ajout {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
}

.chantier_produit_corps_entete_ajout div {
  cursor: pointer;
}

.chantier_produit_corps_entete_total {
  white-space: nowrap;
}

.chantier_produit_corps_entete p {
  margin: 0 5px;
}

.chantier_produit_corps_produits {
  max-height: 100%;
  overflow-y: hidden;
}

.chantier_produit_corps_produits::-webkit-scrollbar {
  display: none;
}

.chantier_produit_corps_produits_produit {
  background-color: var(--blue-color);
  border-radius: 7px 0 0 0;
  margin-top: 2px;
  position: relative;
  display: block;
  padding: 2px 0 2px 15px;
  border-right: none;
  box-sizing: border-box;
  font-family: Helvetica Neue, Helvetica, Arial;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
}

.chantier_produit_corps_produits_produit_zonetitre {
  display: flex;
  align-items: center;
}

.chantier_produit_corps_produits_produit_zonetitre_titre {
  width: 100%;
}

.chantier_produit_corps_produits_produit_zonetitre_titre input {
  font-weight: bold;
  background-color: transparent;
  border: none;
  width: 100%;
}

.chantier_produit_corps_produits_produit_zonetitre_pictos {
  display: flex;
  align-items: center;
}

.chantier_produit_corps_produits_produit_zonetitre_pictos_blanc {
  height: 25px;
  margin: 0 15px;
  fill: white;
  cursor: pointer;
}

.chantier_produit_corps_produits_produit_zonetitre_pictos_rouge {
  height: 25px;
  margin: 0 25px;
  fill: red;
  cursor: pointer;
}

.chantier_produit_corps_produits_produit_finzonetitre {
  height: 5px;
  margin-bottom: 2px;
  background-color: var(--blue-color);
}

.chantier_produit_corps_produits_produit_zoneproduit {
  background-color: white;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.125);
  box-sizing: border-box;
  font-family: Helvetica Neue, Helvetica, Arial;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  align-items: center;
  width: 100%;
}

.chantier_produit_corps_produits_produit_zoneproduit_devis {
  display: flex;
}

.chantier_produit_corps_produits_produit_zoneproduit_marge {
  display: none;
  width: 540px;
}

.chantier_produit_corps_produits_produit_zoneproduit_admin {
  display: flex;
}

.chantier_produit_corps_produits_produit_zoneproduit_produit {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

.chantier_produit_corps_produits_produit_zoneproduit_produit_designation {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 480px);
  text-align: left;
  color: white;
  font-size: 16px;
  padding: 5px 0 5px 5px;
  font-weight: bold;
  border-radius: 0 5px 5px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chantier_produit_corps_produits_produit_zoneproduit_produit_quantite {
  width: 70px;
  text-align: right;
  border: none;
  background-color: transparent;
  padding-right: 5px;
}

.chantier_produit_corps_produits_produit_zoneproduit_produit_unite {
  width: 90px;
  text-align: left;
  margin: 0;
  padding: 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chantier_produit_corps_produits_produit_zoneproduit_produit_remise {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 70px;
}

.chantier_produit_corps_produits_produit_zoneproduit_produit_remise input {
  width: 100%;
  text-align: right;
  border: none;
  background-color: transparent;
  padding-right: 5px;
}

.chantier_produit_corps_produits_produit_zoneproduit_produit_tarif {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 80px;
}

.chantier_produit_corps_produits_produit_zoneproduit_produit_tarif input {
  width: 100%;
  text-align: right;
  border: none;
  background-color: transparent;
  padding-right: 5px;
}

.chantier_produit_corps_produits_produit_zoneproduit_produit_black {
  width: 20px;
  margin: 0 10px;
  fill: black;
  transform: rotate(90deg);
  cursor: pointer;
}

.chantier_produit_corps_produits_produit_zoneproduit_produit_blue {
  width: 20px;
  height: 100%;
  margin: 0 10px;
  fill: var(--blue-color);
  cursor: pointer;
}

.chantier_produit_corps_produits_produit_zoneproduit_produit_rouge {
  width: 20px;
  height: 100%;
  margin: 0 10px;
  fill: red;
  cursor: pointer;
}

.chantier_produit_corps_produits_produit_zoneproduit_produit_soustotal {
  width: 90px;
  margin: 0;
  padding: 0 5px;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chantier_produit_corps_produits_produit_zoneproduit_stock {
  display: flex;
  align-items: center;
}

.chantier_produit_corps_produits_produit_zoneproduit_stock svg {
  height: 30px;
  margin: 0 5px;
}

.chantier_produit_corps_produits_produit_zoneproduit_commentaires {
  display: flex;
}

.chantier_produit_corps_produits_produit_zoneproduit_commentaires input {
  text-align: left;
  border: none;
  background-color: transparent;
  font-size: 14px;
  padding: 0 0 0 5px;
  width: 100%;
  color: red;
}

.chantier_produit_corps_produits_produit_zoneproduit_commentaires p {
  font-style: italic;
  white-space: normal;
  margin: 0 5px;
}

.chantier_produit_corps_total {
  text-align: right;
  width: calc(100% - 5px);
  margin-top: 5px;
}

.chantier_piecejointe_corps {
  background-color: white;
  width: calc(100% - 2px);
  height: calc(100svh - 140px);
}

.chantier_piecejointe_corps_ajout {
  display: flex;
  width: 100%;
  justify-content: space-evenly;
  padding: 5px 0;
}

.chantier_piecejointe_corps_ajout div {
  display: flex;
  flex-direction: column;
  padding: 5px;
  cursor: pointer;
}

.chantier_piecejointe_corps_ajout div input {
  display: none;
}

.chantier_piecejointe_corps_ajout div button {
  display: none;
}

.chantier_piecejointe_corps_ajout div svg {
  height: 30px;
}

.chantier_photo_corps {
  background-color: white;
  width: calc(100% - 2px);
  height: 100%;
}

.chantier_photo_corps_ajout {
  display: flex;
  width: 100%;
  justify-content: space-evenly;
  padding: 5px 0;
}

.chantier_photo_corps_ajout div {
  display: flex;
  flex-direction: column;
  padding: 5px;
  cursor: pointer;
}

.chantier_photo_corps_ajout div input {
  display: none;
}

.chantier_photo_corps_ajout div button {
  display: none;
}

.chantier_photo_corps_ajout div svg {
  height: 30px;
}

.chantier_photo_corps_zone {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-height: calc(100% - 50px);
  overflow-y: scroll;
  border-top: solid 1px var(--blue-color);
}

.chantier_photo_corps_zone_card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  margin: 2px;
  max-width: calc(20% - 4px);
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
  border-radius: 2px;
}

.chantier_photo_corps_zone_nocard {
  width: 100%;
  text-align: center;
  margin: 10px;
}

.chantier_plan {
  position: relative;
  height: 100%;
}

.chantier_plan_menu {
  display: flex;
  align-items: center;
  position: absolute;
  z-index: 1;
  height: 38px;
  background-color: white;
  border-radius: 0 0 5px 0;
  box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}

.chantier_plan_menu svg {
  height: 30px;
  margin: 4px;
  cursor: pointer;
}

.chantier_plan_deplacer {
  display: none;
  align-items: center;
  position: absolute;
  z-index: 1;
  height: 38px;
  background-color: white;
  border-radius: 0 0 5px 0;
  box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}

.chantier_plan_deplacer svg {
  height: 30px;
  margin: 4px;
  cursor: pointer;
}

.chantier_plan_plan {
  width: 100%;
  height: calc(100% - 38px);
  overflow: hidden;
  margin: 0;
  padding: 0;
  position: relative;
  background-color: white;
}

.chantier_plan_plan_menus {
  position: fixed;
  display: none;
  width: 300px;
  height: 300px;
  z-index: 10;
  border-radius: 50%;
  box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}

.chantier_plan_plan_menus_triangle {
  position: absolute;
  display: flex;
  justify-content: flex-end;
  width: 300px;
  height: 300px;
  background: #ffffff99;
  fill: grey;
  clip-path: path("M 150,75 L 150,0 A 150,150 0,0,1 300,150 L 225,150 A 75,75 0,0,0 150,75 L 150,150 z");
  transition: background 1s, fill 1s;
}

.chantier_plan_plan_menus_triangle svg {
  height: 60px;
  width: 60px;
  margin: 42px;
}

.chantier_plan_plan_menus_triangle1 {
  transform: rotateZ(-90deg);
}

.chantier_plan_plan_menus_triangle1 svg {
  transform: rotateZ(90deg);
}

.chantier_plan_plan_menus_triangle1:hover {
  background: var(--blue-color);
  fill: white;
}

.chantier_plan_plan_menus_triangle1:hover ~ .chantier_plan_plan_menus_rond1 {
  background: var(--blue-color);
  color: white;
}

.chantier_plan_plan_menus_triangle2 {
  transform: rotateZ(0deg);
}

.chantier_plan_plan_menus_triangle2 svg {
  transform: rotateZ(0deg);
}

.chantier_plan_plan_menus_triangle2:hover {
  background: var(--blue-color);
  fill: white;
}

.chantier_plan_plan_menus_triangle2:hover ~ .chantier_plan_plan_menus_rond2 {
  background: var(--blue-color);
  color: white;
}

.chantier_plan_plan_menus_triangle3 {
  transform: rotateZ(90deg);
}

.chantier_plan_plan_menus_triangle3 svg {
  fill: red;
  transform: rotateZ(-90deg);
}

.chantier_plan_plan_menus_triangle3:hover {
  background: var(--red-color);
  fill: white;
}

.chantier_plan_plan_menus_triangle3:hover svg {
  fill: white;
}

.chantier_plan_plan_menus_triangle3:hover ~ .chantier_plan_plan_menus_rond3 {
  background: var(--red-color);
  color: white;
}

.chantier_plan_plan_menus_triangle4 {
  transform: rotateZ(180deg);
}

.chantier_plan_plan_menus_triangle4 svg {
  transform: rotateZ(180deg);
}

.chantier_plan_plan_menus_triangle4:hover {
  background: var(--blue-color);
  fill: white;
}

.chantier_plan_plan_menus_triangle4:hover ~ .chantier_plan_plan_menus_rond4 {
  background: var(--blue-color);
  color: white;
}

.chantier_plan_plan_menus_rond {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 300px;
  background: transparent;
  color: transparent;
  clip-path: path("M 150,150 L 150,74 A 76,76 0,0,1 150,226 A 76,76 0,0,1 150,74 z");
  transition: background 1s, color 1s;
}

.chantier_plan_plan_menus_rond p {
  font-size: 1.5rem;
  text-align: center;
  margin: 0;
}

.chantier_plan_plan_canvas {
  cursor: crosshair;
}

.chantier_plan_plan_canvas_point {
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  transform-origin: bottom center;
  width: 30px;
  height: 48px;
  font-weight: bold;
  font-size: 0.8rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: nowrap;
  padding-top: 7px;
}

.chantier_plan_plan_canvas_petitpoint {
  width: 15px !important;
  height: 24px !important;
  font-size: 0.4rem !important;
  padding-top: 4px !important;
  opacity: 0.5;
  transform: translate(7.5px, 24px);
}

.chantier_plan_titre {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: linear-gradient(to right, #1572b9 20%, white 90%);
  padding: 5px;
}

.chantier_plan_titre p {
  width: 100%;
  text-align: center;
  font-weight: bold;
  margin: 0;
  color: white;
}

.chantier_plan_titre_fermer {
  margin: 2px;
}

.chantier_plan_titre_fermer svg {
  height: 30px;
  display: flex;
  align-items: center;
  fill: red;
}

.chantier_plan_soustitre {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: #1572b9;
  padding: 5px;
}

.chantier_plan_soustitre p {
  width: 100%;
  text-align: center;
  font-weight: bold;
  margin: 0;
  color: white;
}

.chantier_plan_plans {
  display: flex;
  position: fixed;
  z-index: 3;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.5);
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.chantier_plan_newpoint {
  display: flex;
  position: fixed;
  z-index: 2;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.5);
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.chantier_plan_points {
  display: flex;
  position: fixed;
  z-index: 2;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.5);
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.chantier_plan_etats {
  display: flex;
  position: fixed;
  z-index: 2;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.5);
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.chantier_plan_familles {
  display: flex;
  position: fixed;
  z-index: 2;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.5);
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.chantier_plan_corps {
  background-color: white;
  width: calc(100% - 2px);
  height: 100%;
}

.chantier_plan_corps_ajout {
  display: flex;
  width: 100%;
  justify-content: space-evenly;
  padding: 5px 0;
}

.chantier_plan_corps_ajout div {
  display: flex;
  flex-direction: column;
  padding: 5px;
  cursor: pointer;
}

.chantier_plan_corps_ajout div input {
  display: none;
}

.chantier_plan_corps_ajout div button {
  display: none;
}

.chantier_plan_corps_ajout div svg {
  height: 30px;
}

.chantier_plan_corps_zone {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-height: calc(100% - 50px);
  overflow-y: scroll;
  border-top: solid 1px var(--blue-color);
}

.chantier_plan_corps_zone_card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  margin: 2px;
  max-width: calc(20% - 4px);
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
  border-radius: 2px;
}

.chantier_plan_corps_zone_nocard {
  width: 100%;
  text-align: center;
  margin: 10px;
}

.chantier_liste_corps {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  width: calc(100% - 2px);
  height: calc(100svh - 75px);
  background-color: white;
}

.chantier_avancement_corps {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  width: calc(100% - 2px);
  height: calc(100svh - 75px);
  background-color: white;
}

.liste_produits {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 10;
  width: 100vw;
  height: 100svh;
  top: 0;
  left: 0;
  background-color: #ffffffbd;
}

.liste_produits_box {
  display: flex;
  flex-direction: column;
  background-color: white;
  height: 95vh;
  width: 95vw;
  overflow-y: scroll;
  box-shadow: rgba(21, 114, 185, 0.4) 0px 2px 4px, rgba(21, 114, 185, 0.3) 0px 7px 13px -3px, rgba(21, 114, 185, 0.2) 0px -3px 0px inset;
  border-radius: 10px;
}

.liste_produits_box::-webkit-scrollbar {
  display: none;
}

.liste_produits_box_titres {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--blue-color);
  margin-bottom: 10px;
  padding: 5px;
}

.liste_produits_box_titres p {
  width: 100%;
  text-align: center;
  font-weight: bold;
  margin: 0;
}

.liste_produits_box_titres_fermer {
  margin: 10px;
}

.liste_produits_box_titres_fermer svg {
  height: 30px;
  display: flex;
  align-items: center;
  fill: red;
}

.liste_produits_box_categorie {
  width: 100%;
  text-align: center;
  font-weight: bold;
  margin: 0;
}

.liste_produits_box_corps {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
}

.liste_produits_box_corps_categorie {
  display: flex;
  margin: 5px;
  padding: 10px;
  align-items: center;
  border-left: solid 10px black;
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.liste_produits_box_corps_categorie_nom {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.liste_produits_box_corps_categorie_nom_description {
  text-align: left;
  margin: 0 2px 0 0;
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.liste_produits_box_corps_article {
  display: flex;
  flex-direction: column;
  margin: 5px;
  padding: 10px;
  max-width: 100%;
  border-left: solid 10px var(--blue-color);
  background-color: rgba(21, 114, 185, 0.4);
  border-radius: 5px;
  cursor: pointer;
}

.liste_produits_box_corps_article_nom {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.liste_produits_box_corps_article_nom_description {
  text-align: left;
  margin: 0 2px 0 0;
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.add_produits {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 10;
  width: 100vw;
  height: 100svh;
  top: 0;
  left: 0;
  background-color: #ffffffbd;
}

.add_produits_box {
  display: flex;
  flex-direction: column;
  background-color: white;
  overflow-y: scroll;
  box-shadow: rgba(21, 114, 185, 0.4) 0px 2px 4px, rgba(21, 114, 185, 0.3) 0px 7px 13px -3px, rgba(21, 114, 185, 0.2) 0px -3px 0px inset;
  border-radius: 10px;
}

.add_produits_box::-webkit-scrollbar {
  display: none;
}

.add_produits_box_titre {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--blue-color);
  margin-bottom: 10px;
  padding: 5px;
}

.add_produits_box_titre p {
  width: 100%;
  text-align: center;
  font-weight: bold;
  margin: 0;
  color: white;
}

.add_produits_box_titre_admin {
  margin: 2px;
}

.add_produits_box_titre_admin svg {
  height: 30px;
  display: flex;
  align-items: center;
  fill: black;
}

.add_produits_box_titre_fermer {
  margin: 2px;
}

.add_produits_box_titre_fermer svg {
  height: 30px;
  display: flex;
  align-items: center;
  fill: red;
}

.add_produits_box_zone {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  margin: 5px;
}

.add_produits_box_zone p {
  white-space: nowrap;
  margin: 0 5px 0 0;
}

.add_produits_box_zone_designation {
  width: 100%;
  padding: 0 5px;
}

.add_produits_box_zone_quantite {
  width: 100%;
  padding: 0 10px;
}

.add_produits_box_zone_tarif {
  width: 100%;
  padding: 0 10px;
}

.add_produits_box_zone_bouton {
  width: 100%;
  border: none;
  background-color: transparent;
  padding: 10px;
}

.add_produits_box_zone_bouton svg {
  height: 25px;
  transform: rotate(90deg);
  margin: 0;
  cursor: pointer;
}

.add_produits_box_products {
  display: flex;
  flex-direction: column;
  margin: 5px;
  overflow-y: scroll;
}

.add_produits_box_products_article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px;
  margin: 2px;
  background-color: #ffffff;
  border: solid 1px black;
  border-radius: 5px;
  color: black;
}

.add_produits_box_products_article_titre {
  white-space: nowrap;
  margin: 0 5px 0 0;
}

.add_produits_box_products_article_bouton {
  border: none;
  background-color: white;
  border-radius: 5px;
}

.add_produits_box_products_article_bouton svg {
  height: 25px;
  transform: rotate(90deg);
  margin: 3px;
  cursor: pointer;
}

.add_produits_box_products_product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px;
  margin: 2px;
  background-color: #b7b7b7;
  border-radius: 5px;
  color: white;
}

.add_produits_box_products_product_titre {
  width: calc(100% - 81px);
  margin: 0 5px 0 0;
}

.add_produits_box_products_product_bouton {
  border: none;
  background-color: white;
  border-radius: 5px;
}

.add_produits_box_products_product_bouton svg {
  height: 25px;
  transform: rotate(90deg);
  margin: 3px;
  cursor: pointer;
}

.add_produits_box_products_compose {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  border-bottom: solid 1px;
  padding: 3px;
  margin: 2px;
  background-color: #8d8d8d;
  border-radius: 5px;
  color: white;
}

.add_produits_box_products_compose_compose {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
}

.add_produits_box_products_compose_compose_titre {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 5px;
}

.add_produits_box_products_compose_compose_bouton {
  border: none;
  background-color: white;
  border-radius: 5px;
}

.add_produits_box_products_compose_compose_bouton svg {
  height: 25px;
  transform: rotate(90deg);
  margin: 3px;
  cursor: pointer;
}

.add_produits_box_products_compose_composants {
  width: 100%;
  margin: 0;
}

.add_produits_box_products_compose_composants_composant {
  margin: 0 0 0 5px;
  white-space: nowrap;
}

.add_produits_box_products_groupe {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  border-bottom: solid 1px;
  padding: 3px;
  margin: 2px;
  background-color: #5f5f5f;
  border-radius: 5px;
  color: white;
}

.add_produits_box_products_groupe_compose {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
}

.add_produits_box_products_groupe_compose_titre {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 5px;
}

.add_produits_box_products_groupe_compose_bouton {
  border: none;
  background-color: white;
  border-radius: 5px;
}

.add_produits_box_products_groupe_compose_bouton svg {
  height: 25px;
  transform: rotate(90deg);
  margin: 3px;
  cursor: pointer;
}

.add_produits_box_products_groupe_composants {
  width: 100%;
  margin: 0;
}

.add_produits_box_products_groupe_composants_composant {
  margin: 0 0 0 5px;
}

.styled_blue {
  border: 1px solid var(--blue-color);
  text-align: center;
  color: #fff;
  border-radius: 3px;
  background-color: var(--blue-color);
  width: calc(100% - 10px);
  padding: 5px;
  margin: 1px 5px;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
}

.styled_blue:active {
  box-shadow: inset -2px -2px 3px rgba(255, 255, 255, 0.6), inset 2px 2px 3px rgba(0, 0, 0, 0.6);
}

.styled_blue:hover {
  background-color: white;
  color: black;
}

.styled_green {
  border: 1px solid var(--green-color);
  text-align: center;
  color: #fff;
  border-radius: 3px;
  background-color: var(--green-color);
  width: calc(100% - 10px);
  padding: 5px;
  margin: 1px 5px;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
}

.styled_green:active {
  box-shadow: inset -2px -2px 3px rgba(255, 255, 255, 0.6), inset 2px 2px 3px rgba(0, 0, 0, 0.6);
}

.styled_green:hover {
  background-color: white;
  color: black;
}

.styled_red {
  border: 1px solid var(--red-color);
  text-align: center;
  color: #fff;
  border-radius: 3px;
  background-color: var(--red-color);
  width: calc(100% - 10px);
  padding: 5px;
  margin: 1px 5px;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
}

.styled_red:active {
  box-shadow: inset -2px -2px 3px rgba(255, 255, 255, 0.6), inset 2px 2px 3px rgba(0, 0, 0, 0.6);
}

.styled_red:hover {
  background-color: white;
  color: black;
}

.styledOnglet {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue-color);
  text-align: center;
  color: #fff;
  border-radius: 3px 3px 0 0;
  background-color: var(--blue-color);
  padding: 3px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  margin: 5px 5px 0 5px;
  border-bottom: 0;
  text-decoration-line: none;
  white-space: nowrap;
}

.styledOnglet svg {
  height: 20px;
  fill: white;
}

.styledOnglet:hover {
  background-color: white;
  color: black;
  text-decoration-line: none;
}

.styledOnglet:hover svg {
  fill: black;
}

.styledOngletSelect {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue-color);
  text-align: center;
  color: black;
  border-radius: 3px 3px 0 0;
  background-color: white;
  padding: 3px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  margin: 5px 5px 0 5px;
  border-bottom: 0;
  text-decoration-line: none;
  white-space: nowrap;
  box-shadow: rgba(0, 0, 0, 0.5) 2.4px -2.4px 3.2px;
}

.styledOngletSelect svg {
  height: 20px;
  fill: black;
}

.styledOngletSelect:hover {
  color: black;
  text-decoration-line: none;
}

.styledOngletUnselect {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border: 1px solid lightgrey;
  text-align: center;
  color: black;
  border-radius: 3px 3px 0 0;
  background-color: lightgrey;
  padding: 3px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  margin: 5px 5px 0 5px;
  border-bottom: 0;
  text-decoration-line: none;
  white-space: nowrap;
}

.styledOngletUnselect svg {
  height: 20px;
  fill: grey;
}

#chantier_details {
  background-color: white;
  width: calc(100% - 2px);
  height: calc(100svh - 140px);
}

#chantier_details_plan {
  width: 100%;
  height: calc(100% - 28px);
  overflow: hidden;
  margin: 0;
  padding: 0;
  position: relative;
  background-color: white;
}

#chantier_details_plan_canvas {
  scale: 1;
  background-size: cover;
  position: relative;
  transform-origin: top left;
  top: 0px;
  left: 0px;
  box-shadow: rgba(0, 46, 170, 0.4) 2px 2px, rgba(0, 46, 170, 0.3) 4px 4px, rgba(0, 46, 170, 0.2) 6px 6px, rgba(0, 46, 170, 0.1) 8px 8px, rgba(0, 46, 170, 0.05) 10px 10px;
}

.afficherphoto {
  display: none;
}

/*Onglet plan*/
.chantier_details_menu {
  height: 38px;
  display: flex;
  align-items: center;
}

.picto {
  margin: 5px;
}

.fondfiltre {
  color: white;
  margin-left: -10px;
  margin-top: 21px;
}

.filtre {
  margin-left: -24px;
  margin-top: 16px;
}

#chantier_details_plan {
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
  position: relative;
  background-color: white;
}

#chantier_details_plan_canvas {
  scale: 1;
  background-size: cover;
  position: relative;
  transform-origin: top left;
  top: 0px;
  left: 0px;
  box-shadow: rgba(0, 46, 170, 0.4) 2px 2px, rgba(0, 46, 170, 0.3) 4px 4px, rgba(0, 46, 170, 0.2) 6px 6px, rgba(0, 46, 170, 0.1) 8px 8px, rgba(0, 46, 170, 0.05) 10px 10px;
}

#cadre_position {
  display: flex;
  position: absolute;
  width: 33vw;
  max-width: 200px;
  top: 0;
  right: 0;
  background-size: cover;
  background-color: rgba(255, 255, 255, 0.5);
}

#cadre_rouge {
  display: flex;
  position: absolute;
  border: solid 2px red;
  background-color: transparent;
}

#chantier_details_point {
  display: none;
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.5);
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#pas_plan {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 45px;
}

@keyframes tilt-shaking {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(5deg);
  }
  50% {
    transform: rotate(0eg);
  }
  75% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@media screen and (max-width: 1500px) {
  * {
    font-size: 15px;
  }
  .accueil_statut {
    width: calc((100% / 5) - 4px);
  }
  .chantier_photo_corps_zone_card {
    max-width: calc(25% - 4px);
  }
}

@media screen and (max-width: 1300px) {
  * {
    font-size: 14px;
  }
  .accueil_statut {
    width: calc((100% / 4) - 4px);
  }
  .chantier_photo_corps_zone_card {
    max-width: calc(33% - 4px);
  }
}

@media screen and (max-width: 1100px) {
  * {
    font-size: 13px;
  }
  .accueil_statut {
    width: calc((100% / 3) - 4px);
  }
  .chantier_photo_corps_zone_card {
    max-width: calc(50% - 4px);
  }
}

@media screen and (max-width: 900px) {
  * {
    font-size: 12px;
  }
  .accueil_statut {
    width: calc((100% / 2) - 4px);
  }
  .chantier_detail_corps_client {
    width: 100%;
  }
  .chantier_detail_corps_finance {
    width: 100%;
  }
  .chantier_detail_corps_commentaire {
    flex-direction: column;
  }
  .chantier_photo_corps_zone_card {
    max-width: calc(100% - 4px);
  }
}

@media screen and (max-width: 700px) {
  * {
    font-size: 11px;
  }
  .accueil {
    overflow-y: scroll;
  }
  .accueil_statut {
    width: calc(100% - 4px);
    height: auto;
  }
  .accueil_statut_chantiers {
    overflow-y: hidden;
  }
  .cards_card_entete {
    margin-bottom: 2px;
  }
  .header_titre {
    display: none;
  }
  .header_recherche {
    max-width: 100%;
  }
  .liste_produits_box_corps_article {
    width: 100%;
    margin: 1px;
    padding: 5px;
  }
  .liste_produits_box_corps_categorie {
    width: 100%;
    margin: 1px;
    padding: 5px;
  }
  .styledOnglet p {
    display: none;
  }
  .styledOngletSelect p {
    display: none;
  }
  .styledOngletUnselect p {
    display: none;
  }
}
