body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  font-size: 12px;
}

h1 {
  text-align: left;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 10px;
}

th,
td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: center;
}

th {
  background: #f0f0f0;
}

input::placeholder {
  font-size: 0.7rem;
}

.container {
  display: flex;
  align-items: center;
  margin-bottom: 50px;
  background-color: rgb(116, 204, 239);
}

.logo {
  max-width: 100px;
  height: auto;/
}

h1 {
  margin-left: 30%;
  font-size: 2rem;
}

.aligned-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.aligned-table th,
.aligned-table td {

  width: 40%;
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
  box-sizing: border-box;
}


.large-row {
  display: flex;
  align-items: flex-start;
  text-align: center;
}

@media (max-width: 800px) {
  .large-row {
    display: block;
    margin-bottom: 10px;
  }

  .large-row input {
    width: 100%;
    box-sizing: border-box;
  }
}

.signature-canvas {
  flex-grow: 1;
  border: 1px solid #000;
}

button {
  margin-left: auto;
}

input[type="text"] {
  width: 100%;
  box-sizing: border-box;
}

.input-bilan {
  height: 50px;
    display: inline-block;
}

.red-text {
  color: red;
}

.italic {
  font-style: italic;
}

.green-background {
  background-color: rgb(159, 242, 159);
}

.next-button {
  bottom: 20px;
  /* Espacement par rapport au bas de la fenêtre */
  right: 20px;
  /* Espacement par rapport au côté droit de la fenêtre */
  background-color: rgb(38, 176, 186);
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
  margin-top: 20px;
}


.open-button {
  bottom: 20px;
  /* Espacement par rapport au bas de la fenêtre */
  right: 20px;
  /* Espacement par rapport au côté droit de la fenêtre */
  background-color: rgb(38, 176, 186);
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
  margin-top: 20px;
  margin-left: 10px;
}

.next-button:hover {
  background-color: rgb(9, 146, 187);
}

@media (min-width: 800px) {
  .next-button {
    position: fixed;
  }
}

.final-button {
  background-color: rgb(38, 176, 186);
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
  margin-top: 20px;
}


.final-button:hover {
  background-color: rgb(9, 146, 187);
}

@media print {
  body {
    font-size: 11pt;
  }

  th,
  th {
    font-size: 10pt;
  }

  .page:last-child {
    page-break-after: avoid;
  }
}

.cas {
  border: 2px solid red;
  padding: 20px;
  margin: 20px auto;
}

.icons {
  display: flex;
  margin-bottom: 20px;
}

.icons img {
  width: 50px;
  height: 50px;
}

.checkboxes {
  display: flex;
  flex-direction: column;
}

.checkboxes label {
  margin-bottom: 10px;
}

@media (min-width: 600px) {
  .taches {
    display: flex;
  }

  .sign {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .date {
    margin-bottom: 5px;
  }

  canvas {
    width: 100%;
    max-height: 200px;
  }
}

.cas {
  border: 2px solid red;
  padding: 20px;
  width: 400px;
  margin: 20px auto;
}

.icons {
  display: flex;
  margin-bottom: 20px;
}

.icons img {
  width: 50px;
  height: 50px;
}

.checkboxes {
  display: flex;
  flex-direction: column;
}

.checkboxes label {
  margin-bottom: 10px;
}

.page-break {
  page-break-after: always;
}

.security-img {
  float: left;
  margin-right: 20px;
}

.security-img img {
  width: 150px;
  height: auto;
}

.checkboxes {
  display: flex;
  flex-direction: column;
}

.checkboxes label {
  margin-bottom: 10px;
}

.red-text-block {
  color: red;
  display: block;
  margin-bottom: 10px;
}

.table-check {
  th {
    text-align: left;
    padding: 8px;
  }

  td {
    text-align: left;
  }
}

.no-bullet {
  list-style-type: none;
  padding-left: 0;
}

/* Media query pour les écrans de moins de 450px de large */
@media (max-width: 450px) {
  .cas {
    width: 100%;
    /* Assurez-vous que le div prend toute la largeur disponible */
    box-sizing: border-box;
    /* Inclure le padding et les bordures dans la largeur totale */
  }

  .cas h2,
  .cas .icons,
  .cas .checkboxes {
    width: 100%;
    /* Assurez-vous que les éléments internes prennent toute la largeur */
    text-align: center;
    /* Centre le texte et les icônes */
  }

  .cas .checkboxes th,
  .cas .checkboxes td {
    display: block;
    /* Change l'affichage pour revenir à la ligne */
    width: 100%;
    /* Assurez-vous que les éléments prennent toute la largeur */
    text-align: left;
    /* Alignez le texte à gauche */
  }
}

/* Media query pour les écrans de moins de 600px de large */
@media (max-width: 600px) {

  .aligned-table th,
  .aligned-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .aligned-table tr {
    display: flex;
    flex-direction: column;
  }

  .aligned-table th {
    background-color: #f0f0f0;
    /* Exemple de couleur de fond pour les en-têtes */
    font-weight: bold;
  }

  .sign {
    margin-bottom: 20px;
    /* Ajoutez une marge pour espacer les sections */
  }


}

.show-consignes {
  background: #f44336;
  color: white;
}


@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  margin: 15% auto;
  padding: 20px;
  width: 80%;
  background-color: #fefefe;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal-content {
  animation: fadeIn 0.3s ease;
}

.bold {
  font-weight: bold;
}

#photo-container img {
  max-width: 200px;
  margin: 10px;
}

#photo-input {
  margin: 10px;
}

#formation-prevue {
  margin: 10px;
  min-height: 100px;
  min-width: 500px;
}