/*.validé:after{
    V vert de validation
    content: 'V';
    font-weight: bold;
    color: lightgreen;
    margin-left: 10px;
}*/

.red {
  color: red;
}
img {
  width: 200px;
  height: 200px;
}
#logoSBA {
  padding-top: 50px;
  width: 200px;
  height: 150px;
}
#adresse {
  width: 100%;
}

h2 {
  font-size: 1.75em;
}

input {
  margin-right: 30px;
  border-radius: 28px;
  margin-bottom: 10px;
}
input[type="file"] {
  margin-right: 30px;
  border-radius: 0;
  margin-bottom: 10px;
}

select {
  margin-right: 30px;
  border-radius: 28px;
  margin-bottom: 10px;
}

input[type="text"] {
  padding-left: 10px;
}

input[type="radio"] {
  margin-right: 0.325em;
  margin-bottom: 10px;
}
input[type="checkbox"] {
  margin-left: 15px;
  margin-right: 15px;
}

#formulaire > * {
  width: 75vw;
  margin: 0 auto;
}

#progressbar {
  width: 100%;
}

#ligne-nationnalite {
  align-items: center;
}

.obligatoire:after {
  content: "*";
  font-weight: bold;
  color: rgb(139, 0, 0);
  margin-left: 10px;
}

.block table {
  width: 85vw;
}

.choix {
  font-size: 20px;
}

.titre {
  background-color: black;
  color: white;
  margin-left: -16px;
  margin-right: -16px;
  margin-top: -16px;
  margin-bottom: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 12px 12px 0px 0px;
  justify-content: center;
  display: flex;
  text-transform: uppercase;
}

.titreIntro {
  margin-bottom: 16px;
  text-transform: uppercase;
}

#texte {
  color: rgb(139, 0, 0);
}
.container {
  border-style: solid;
  border-width: 0.005em;
  border-color: black;
}

.col-md-1,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-6,
.col-md-8,
.col-md-12 {
  /*border-style:solid;*/
  border-width: 0.005em;
  border-color: black;
  padding-right: 0px;
  margin-left: 0px;
  margin-right: 0px;
}

/*BLOCS HORAIRES*/

.motif {
  margin-bottom: 10px;
  margin-left: 20px;
}

.enfant {
  margin-top: 30px;
  margin-left: 20px;
  width: 98% !important;
  max-width: inherit;
  padding-right: 2em;
}

.container-demat > label {
  flex: 1;
}

.top {
  margin-top: 2.5em;
}
.bot {
  margin-bottom: 2.5em;
}
.flex {
  display: flex;
}
.pleft20 {
  padding-left: 20px;
}

.mleft20 {
  margin-left: 20px;
}

.jcc {
  justify-content: center;
}
.aic {
  align-items: center;
}
.tac {
  text-align: center;
}
.bot- {
  margin-bottom: 1em;
}
.gras {
  font-weight: bold;
}

.mright20 {
  margin-right: 20px;
}
.souligne {
  text-decoration: underline;
}
.top- {
  margin-top: 15px;
}

.block {
  display: none;
  background-color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5em;
  padding: 1em;
  border-radius: 12px;
  border-width: 1px;
  border-style: solid;
  border-color: black;
}

#btn-supprime-prenom {
  display: none;
}

#reponseHandicap {
  width: 100%;
}

#block-intro {
  display: flex;
  background-color: white;
  margin-bottom: 0.5em;
  padding: 1em;
  border-radius: 12px;
  border-width: 1px;
  border-style: solid;
  border-color: black;
  text-align: center;
}

.file {
  border-radius: 12px;
  border-width: 1px;
}

#block-11 {
  background-color: transparent;
}

.type-fichier {
  padding: 5px;
  border: 1px solid black;
  border-radius: 6px;
  margin-bottom: 10px;
}

/* ICONS */

.icon-oeil:before {
  font-size: 2em;
  color: green;
}

#btn-ajout-prenom,
#btn-supprime-prenom {
  margin-top: 1em;
}

.div-boutton-annule-fichier {
  margin-left: -1px;
}

.btn-supprimer-fichier {
  border-radius: 100px;
  width: 150%;
  color: white;
  background-color: red;
  border-color: red;
  font-weight: bold;
  padding: 0.25em;
}
.file-input-wrapper {
  margin-bottom: 20px;
}

.file-input,
#message-complete {
  display: none;
}

.file-import {
  display: inline-block;
  background-color: #f8f8f8;
  padding: 10px;
  border: 1px solid #ccc;
  cursor: pointer;
}

.file-import:after {
  display: inline-block;
  padding-left: 10px;
}

.file-import:hover {
  background-color: #f0f0f0;
}
.import-icon {
  width: 2em;
  height: 2em;
  margin-bottom: 1em;
  margin-left: 0.5em;
}

.div-icons-fichier > *,
[for="droitImageExterne"] {
  margin-left: 1em;
}

.container-div-icons {
  display: block;
}
.liste-fichiers-fournis,
.div-icons-fichier {
  justify-content: space-around;
  align-items: center;
}

#prevBtn {
  margin-left: 9em;
  margin-bottom: 3em;
}
#nextBtn {
  margin-right: 9em;
  margin-bottom: 3em;
}

#row-signature > * {
  display: flex;
  align-items: center;
}

#label-date-signature,
#label-reglementInterieur {
  margin-bottom: 0;
  display: flex;
}

#container-btn {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 1em;
}

@media only screen and (max-width: 1000px) {
  * {
    box-sizing: border-box;
  }

  #temoinMobile {
    display: none;
  }
  .justificationFichier {
    width: 50%;
    margin-right: 0;
  }
  body {
    width: auto;
    margin: 0;
    padding: 0;
    font-size: 1.5em;
    height: fit-content;
  }
  input,
  .choix,
  .btn,
  label {
    font-size: 1.5em !important;
  }
  select {
    font-size: 1.05em !important;
  }
  [type="checkbox"],
  [type="radio"] {
    scale: 1.5;
  }
  /* fixer une largeur maximale de 100% aux éléments potentiellement problématiques */

  img,
  table,
  td,
  textarea,
  input,
  iframe,
  object,
  embed,
  video {
    max-width: 100%;
  }

  .pourcentage {
    margin-right: 0;
  }

  .prenom {
    margin-right: 0;
  }

  .labelHandicap {
    font-size: 1em;
  }

  /* conserver le ratio des images */

  img {
    height: auto;
  }

  /* gestion des mots longs */

  textarea,
  table,
  td,
  th {
    -webkit-hyphens: auto; /* césure propre */
    -moz-hyphens: auto;
    hyphens: auto;
    word-wrap: break-word; /* passage à la ligne forcé */
  }

  /* Un message personnalisé */

  body:before {
    content: "Version mobile du site";
    display: block;
    text-align: center;
    font-style: italic;
    color: #777;
  }
  #formulaire {
    width: 100vw;
    margin: 0 auto;
  }

  .txt {
    font-size: 1.3em;
  }
  .div-taille {
    width: 50%;
  }
  .inputTaille {
    width: 71%;
  }

  .prenom {
    width: 100%;
  }

  #adherents {
    width: 10%;
  }

  .motifMobile {
    margin-left: 5px;
    font-size: 1.3em;
    margin-top: 17px;
  }

  .mleft0-mobile {
    margin-left: 0;
  }

  #formulaire > * {
    width: 95%;
    margin: 0 auto;
    margin-bottom: 2em;
  }
  #container {
    margin-bottom: 6em;
  }

  #nextBtn {
    margin-right: 1em;
    margin-bottom: 3em;
  }
  #prevBtn {
    margin-left: 1em;
    margin-bottom: 3em;
  }

  #rd_autre_nationalite {
    margin-left: 1em;
  }

 

  .d-flex {
    display: flex;
  }
  .align-items-center {
    align-items: center;
  }
  .form-check {
    display: flex;
    align-items: center;
    margin-left: 10px;
  }
  #label-reglementInterieur {
    margin-left: 5px;
    white-space: normal;
  }
  .ml-2 {
    margin-left: 0.5rem;
  }
  .ml-3 {
    margin-left: 1rem;
  }
  #date-signature {
    margin-left: 0.5em;
  }
  .label-demat {
    margin-left: 0.25em;
  }

  select {
    height: fit-content !important;
  }
  .label-fichier {
    width: 8em;
  }

  #formMutuelle > * {
    margin-bottom: 0.5em;
  }
}
[name="rd_image_interne"],
[name="rd_image_externe"],
[name="rd_ticketsResto"],
[name="rd_choix"],
[name="rd_demat"],
[name="rd_choix"],
[name="rd_nationalite_mobile"],
.rd_sexe,
.rd_charge,
#chk_informations,
.chk_handicap,
#chk_informations,
#reglementInterieur {
  width: auto !important;
  margin-bottom: 0 !important;
}
.div-justificationFichier {
  font-weight: bold;
  color: red;
}

[name="rd_choix"] {
  margin-left: 0.25em;
}

[name="rd_nationalite"] {
  width: auto;
}

#label-date-signature,
#label-lieu-signature {
  margin-left: 0.5em;
}

.div-boutton-confirme-fichier {
  padding-left: 1em;
  padding-right: 0;
}
#formMutuelle {
  color: white;
}

.alerte-suppression-fichier {
  margin-bottom: 7px;
}

[name="rd_bulletin"],
#reglementInterieur {
  margin-top: 0.15em;
}

body {
  margin-bottom: 2em;
}

.block-actif {
  display: block !important;
}

.liste-suggestion {
  display: block;
  position: absolute;
  border: 1px solid black;
  padding: 15px;
  background-color: rgba(255, 255, 255, 0.9);
  margin-top: 5px;
  border-radius: 6px;
  border: 1px solid black;
  margin-left: 15px;
  /* max-height: 8em; */
  overflow-y: auto;
  position: absolute;
  z-index: 100;
}

.liste-suggestion li {
  list-style: none;
}

.suggestion:hover {
  cursor: pointer;
  color: white;
  background-color: rgb(54, 57, 58);
}

.suggestions,
.suggestions-suivi {
  position: absolute;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  display: none;
  max-height: 200px;
  overflow-y: auto;
  z-index: 100;
}

.suggestion {
  cursor: pointer;
  width: 100%;
  margin: 0;
  padding: 2px 2px 2px 6px;
}

.form-group {
  width: 100%;
  margin-bottom: 1em;
}

input,
select {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 28px;
}

/* label {
  margin-bottom: 5px;
  display: block;
} */


.erreur {
  border: 2px solid red; /* Ajoute une bordure rouge de 2 pixels */
  background-color: #ffe6e6; /* Ajoute un fond rouge pâle */
  box-shadow: 0 0 5px rgba(255, 0, 0, 0.5); /* Ajoute une ombre rouge */font-weight: bold;
}

.obligatoire:after {
  content: "*";
  font-weight: bold;
  color: rgb(139, 0, 0);
  margin-left: 10px;
}

.inputPetit {
  width: 100%;
}

#container-prenom {
  display: flex;
  flex-direction: column;
}

.prenom {
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .form-group {
    flex: 1 1 100%;
  }
}
.hide {
  display: none;
}

.div-justification {
  display: flex;
  justify-content: center;
}

.chk-fichier-label {
  display: flex;
  align-items: center;
}

.chk-fichier {
  margin-right: 5px;
  width: fit-content;
  margin-bottom: 0;
}

label {
  margin-bottom: 0;
}
