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

* {
  font-family: "Montserrat";
}

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

:root {
  --black-color: black;
  --white-color: white;
  --red-color: red;
  --grey-color: #aaaaaa;
  --green-color: #00b400;
  --purple-color: purple;
  --actif-color: orange;
  --innactif-color: #cacaca;
  --fontscroll-color: #e9e9e9;
  --admin-color: #364150;
}

.styled_actif {
  display: flex;
  align-items: center;
  font-weight: normal;
  text-decoration: none;
  border: 1px solid var(--actif-color);
  padding: 2px 15px;
  margin: 1px 5px;
  text-align: center;
  color: var(--black-color);
  border-radius: 3px;
  background-color: var(--actif-color);
}

.styled_actif svg {
  fill: var(--black-color);
  width: 1rem;
  height: 1rem;
}

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

.styled_actif:hover {
  text-decoration: none;
  background-color: var(--black-color);
  color: var(--actif-color);
}

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

.styled_innactif {
  display: flex;
  align-items: center;
  font-weight: normal;
  text-decoration: none;
  border: 1px solid var(--innactif-color);
  padding: 2px 15px;
  margin: 1px 5px;
  text-align: center;
  color: var(--black-color);
  border-radius: 3px;
  background-color: var(--innactif-color);
}

.styled_innactif svg {
  fill: var(--black-color);
  width: 1rem;
  height: 1rem;
}

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

.styled_red {
  display: flex;
  align-items: center;
  font-weight: normal;
  text-decoration: none;
  border: 1px solid red;
  padding: 2px 15px;
  margin: 1px 5px;
  text-align: center;
  color: var(--black-color);
  border-radius: 3px;
  background-color: red;
}

.styled_red svg {
  fill: var(--black-color);
  width: 1rem;
  height: 1rem;
}

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

.styled_red:hover {
  text-decoration: none;
  background-color: var(--black-color);
  color: red;
}

.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);
}

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

.htmx-indicator {
  display: none;
}

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

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

.noresponsive {
  display: none;
}

.admin {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  max-width: 100svh;
  max-width: 90svw;
  overflow-x: hidden;
  overflow-y: scroll;
  background-color: var(--admin-color);
}

.admin_bouton {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.admin_bouton svg {
  height: 30px;
  width: 30px;
  margin: 5px;
  fill: var(--white-color);
}

.admin_menu {
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.admin_menu_bouton {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.admin_menu_bouton svg {
  height: 30px;
  width: 30px;
  margin: 5px;
  fill: var(--white-color);
}

.admin_menu_bouton_actif {
  text-decoration: none;
  color: var(--white-color);
  background-color: #ffffff21;
}

.admin_menu_bouton_actif:hover {
  text-decoration: none;
  color: var(--white-color);
}

.admin_menu_bouton_innactif {
  text-decoration: none;
  color: var(--white-color);
  background-color: transparent;
}

.admin_menu_bouton_innactif:hover {
  text-decoration: none;
  color: var(--white-color);
  background-color: #ffffff21;
}

.admin_menu_bouton_title {
  min-width: 200px;
  margin: 0 10px 0 0;
  padding: 0;
  border: none;
  background-color: transparent;
  text-align: left;
  color: white;
}

.admin_menu_bouton_titre {
  margin-left: 20px;
}

.form_titre {
  display: flex;
  align-items: center;
  width: calc(100% - 40px);
  margin-left: 40px;
}

.form_titre_retour_svg {
  height: 30px;
  margin: 0 0 0 10px;
}

.form_titre_texte {
  width: calc(100% - 35px);
  text-align: center;
  color: var(--actif-color);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.form_corps {
  width: 100%;
}

.form_corps_zone {
  display: flex;
  flex-wrap: wrap;
}

.form_corps_zone_form {
  display: flex;
  flex-direction: column;
  width: 50%;
  padding: 10px;
}

.form_corps_zone_form_colonne {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 10px 0 0 0;
}

.form_corps_zone_form_ligne {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
}

.form_corps_zone_form_ligne_label {
  margin: 0 5px 0 0;
  font-weight: bold;
  color: var(--actif-color);
  white-space: nowrap;
}

.form_corps_zone_form_ligne_input {
  width: 100%;
}

.form_corps_zone_form_photos {
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.form_corps_zone_form_photos_images {
  display: flex;
  flex-direction: column;
  margin: 2px;
}

.form_corps_zone_form_photos_images_image {
  max-width: 100%;
  max-height: 200px;
}

.form_corps_zone_form_boutons {
  width: 100%;
  text-align: right;
}

.form_corps_zone_form2 {
  background-color: var(--innactif-color);
}

.home {
  position: fixed;
  height: 30px;
  width: 30px;
  padding: 5px;
  top: 30px;
  left: 30px;
  z-index: 100;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  color: #000000;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}

.haut {
  position: fixed;
  visibility: hidden;
  height: 30px;
  width: 30px;
  padding: 5px;
  bottom: 30px;
  left: calc(50% - 20px);
  z-index: 100;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  color: #000000;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}

.header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 100svh;
  padding: 0;
  margin: 0;
}

.header_titres {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  padding: 0;
  margin: 0;
}

.header_success {
  display: flex;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 80px;
  z-index: 998;
  width: calc(100% - 90px);
  background-color: rgba(0, 255, 0, 0.9);
  color: white;
  padding: 5px;
}

.header_error {
  display: flex;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 80px;
  z-index: 998;
  width: calc(100% - 90px);
  background-color: rgba(255, 0, 0, 0.9);
  color: white;
  padding: 5px;
}

@media screen and (max-width: 800px) {
  * {
    font-size: 10px;
  }
  .header_titres {
    flex-direction: column;
  }
  .form_corps_zone_form {
    width: 100%;
  }
  .noresponsive {
    display: none;
  }
  .styled_actif p {
    display: none;
  }
  .styled_innactif p {
    display: none;
  }
  .styled_red p {
    display: none;
  }
}
