/* ----- PAGE FORMULAIRE ----- */
#form__wrapper{
  padding-top: var(--normal-margin);
  border-top: 4px solid #FFF;
}


#form__wrapper p:first-child{
  margin-top: 0;
}

#form__wrapper p{
  margin-bottom: 0;
  letter-spacing: 0;
  font-size: 0.9em;
}

#form__wrapper p:first-child::first-letter{
  font-family: inherit;
  font-size: 1em;
  float: none;
  margin:0;
  line-height: 1.4;
}



#form__wrapper h1{
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: var(--normal-margin);
}

#form__wrapper .languages{
  margin-bottom: var(--normal-margin);
  text-align: center;
}

#form__wrapper .languages li{
  display: inline-block;
  border: 1px solid var(--backgroundColor);
  border-radius: 20px;
  padding: 5px 10px 3px 10px;
  font-size: 0.8em;
  text-align: center;
  color: var(--backgroundColor);
  transition: all 0.2s linear;
}

#form__wrapper .languages li.active{
  background: var(--backgroundColor);
  color: #FFF;
}

#form__wrapper .languages li:hover{
  background: var(--backgroundColor);
  color: #FFF;
}

.formulaire__text-intro{
  font-size: 0.9em;
  line-height: 1.4;
  margin-bottom: var(--normal-margin);
}

.application-form fieldset{
  padding: var(--normal-margin);
  font-size: 0.9em;
  margin-top: var(--normal-margin);
  margin-bottom: calc(var(--normal-margin) * 2);
}

#form__wrapper legend{
  font-weight: bold;
}

.application-form label {
  display: block;
  /*font-weight: bold;*/
  /*margin-bottom: 0.25em;*/
  font-size: 0.9em;
}

.application-form label .help{
  margin-bottom: 20px;
}

.application-form .label-checkboxes,
.application-form .label-checkbox{
  margin-bottom: var(--small-margin);
  text-decoration: underline;
}

.application-form label.tarif2-checkbox{
  margin-left: 2rem;
}

.application-form label.hidden{
  display: none;
}

.application-form input[type="text"],
.application-form input[type="email"],
.application-form input[type="url"],
.application-form input[type="file"],
.application-form input[type="website"] {
  width: 100%;
  padding: 0.5em;
  margin-bottom: 5px;
  box-sizing: border-box;
}

.application-form abbr[title="required"] {
  font-size: 0.8em;
  text-decoration: none;
  /*margin-left: -5px;*/
}

.application-form .help {
  display: block;
  font-size: 0.75em;
  color: rgb(200, 200, 200);
  font-weight: normal;
  margin-top: 0.25em;
}

.application-form input[type="checkbox"] {
  margin-right: 0.5em;
}

.application-form .form-element {
  margin-bottom: 1em;
}

.application-form .form-element h3{
  margin-top: var(--normal-margin);
  margin-bottom: 10px;
  font-size: 27px;
}

.application-form input[type="submit"],
.application-form button {
  background-color: #FFF;
  color: #000;
  padding: 0.75em 1.5em;
  cursor: pointer;
  font-size: 1em;
  border-radius: 0;
  margin-top: var(--normal-margin);
  width: 200px;
  margin:auto;
  display: block;
}

.application-form input[type="submit"]:hover{
  background: var(--mainColor);
  color: var(--hoverTextColor);
}

.application-form  .code-postal,
.application-form  .tel-portable,
.application-form .email,
.application-form .code-postal-du-representant,
.application-form .email-1-du-representant,
.application-form .tel-portable-1-du-representant,
.application-form .tel-1-de-la-personne-de-confiance{
  margin-right: 5%;
}

.application-form .code-postal,
.application-form .ville,
.application-form .email,
.application-form .email-2,
.application-form .tel-portable,
.application-form .tel-portable-2,
.application-form .code-postal-du-representant,
.application-form .ville-du-representant,
.application-form .email-1-du-representant,
.application-form .email-2-du-representant,
.application-form .tel-portable-1-du-representant,
.application-form .tel-portable-2-du-representant,
.application-form .tel-1-de-la-personne-de-confiance,
.application-form .tel-2-de-la-personne-de-confiance{
  display: inline-block;
  vertical-align: top;
  width: 45%;
}

.liste-des-cours .cours-option{
  border-top: 1px solid #FFF;
  padding: 15px 3px 5px;
}

/* page de candidatures */
body[data-template="formcoursresults"] h1,
body[data-template="candidaturesacceptees"] h1{
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: var(--normal-margin);
  margin-top: var(--normal-margin);
  background: white;
  max-width: 62em;
  padding: 2rem 0;
  color: #000;
}

.submissions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 1rem;
  padding: 1rem 0;
  max-width: 62em;
  margin: auto;
  margin-bottom: 200px;
}

.submission {
  border: 3px solid #FFF;
  background: #FFF;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s ease;
  font-size: 1rem;
  color:#000;
}

.submission:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.submission h2 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1rem;
  color: #000;
}

.submission ul {
  padding: 0;
  margin:  0;
}

.submission li {
  margin-bottom: 1rem;
}

.submission a {
  color: blue;
  text-decoration: none;
}

.submission a:hover {
  text-decoration: underline;
}

.submission .submissions_cours{
  margin-top: 10px;
  margin-bottom: 20px;
}

.submissions_cours li{
  list-style: disc;
   margin-left: 15px;
   margin-bottom: 10px;
}

.resultats-liste{
  max-width: 62em;
  margin: auto;
  background: #FFF;
  padding: 0.8em;
  padding-bottom: 0.5em;
  margin-bottom: var(--small-margin);
}

.resultats-liste h2{
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  color: #000;
  margin:0;
}

.resultats-liste li{
  display: inline-block;
  font-size: 12px;
  color: #000;
}

.resultats-liste-reste{
  max-width: 62em;
  margin: auto;
  margin-bottom: 40px;
  padding: 1rem;
  text-align: center;
  color: #FFF;
}

.resultats-liste-reste p{
  font-size: 27px;
  margin: 0;
  margin-bottom: 10px;
}

.resultats-candidature{
  display: flex;
  flex-wrap: wrap;
  max-width: 62em;
  margin: auto;
}

.resultats-candidature > ul{
  width: 45%;
}

.candidature-status{
  position: relative;
}

.icon-sent{
  position: absolute;
  right: 0;
  top:0;
}



/*.liste-acceptes li:after,
.liste-refuses li:after{
  content: ',';
}

.liste-acceptes li:last-child:after,
.liste-refuses li:last-child:after{
  content: '';
}*/

.download-cv{
  width: 300px;
  margin: auto;
  background: white;
  padding: 1em;
  margin-top: var(--big-margin);
  margin-bottom: var(--normal-margin);
  font-size: 20px;
}

.download-cv a{
  color: #333;
  font-weight: bold;
  text-align: center;
  display: block;
}

.alert{
  background: red;;
  padding: 1em;
  margin-bottom: var(--big-margin);
  color: #FFF;
  font-weight: bold;
  text-align: center;
}

.alert li{
  margin-bottom: 10px;
}

.success{
  background: springgreen;
  padding: 1em;
  margin-bottom: var(--big-margin);
  font-weight: bold;
  text-align: center;
}

.success p{
  color: #000;
}

.formulaire__text-rgpd{
  margin-top: var(--big-margin);
  font-size: 0.55em;
}

.formulaire__text-rgpd p{
  font-size: 0.55em;
  line-height: 1.4;
  margin-bottom: 0.55em;
}

.update-form{
  border-top: 1px solid #000;
  padding: 5px 0 15px 0;
}

.update-form button{
  background: #FFF;
  border: 1px solid #000;
  color: #000;
  padding: 3px 15px;
  margin-top: 10px;
  cursor: pointer;
}

.update-form button:hover{
  background: var(--mainColor);
  color:#FFF;
  border-color: #FFF;
}

.update-form p{
  margin-bottom: 5px;
  margin-top: 10px;
}

/* FICHE ELEVE */

#fiche__eleve{
  padding: 100px 0;
  color: #000;
  font-size: 18pt;
  line-height: 1.4;
}

#fiche__eleve h2{
  font-size: 1em;
}

#fiche__eleve h1,
#fiche__eleve h2,
#fiche__eleve h3{
    color: #000;
}

#fiche__eleve h1,
#fiche__eleve p,
#fiche__eleve h2{
  margin: 0;
}

#fiche__eleve h2{
  margin-top: 40px;
}

#fiche__eleve .page{
  width: 21cm;
  height: 29.7cm;
  background: #FFF;
  margin: auto;
  padding: 1cm;
  position: relative;
}

#fiche__eleve .fiche_adresse{
  max-width: 14cm;
}

#fiche__eleve .id-photo{
  width: 5cm;
  position: absolute;
  top: 1cm;
  right: 1cm;
}

#fiche__eleve .fiche_cours{
  margin-left: 0.6cm;
}

#fiche__eleve .fiche_cours li{
  list-style: disc;
  margin-top: 10px;
  margin-bottom: 10px;
}

#fiche__eleve .fiche_print{
  position: fixed;
  top: 50px;
  right: 50px;
  padding: 10px;
  font-size: 20px;
}


@media print{
  @page{
    size: A4;
    margin: 1cm;
  }

  body{
    background: transparent;
  }

  main{
    margin-bottom:0;
    min-height: none;
  }

  #fiche__eleve{
    padding: 0;
  }

  #fiche__eleve .page{
    background:  transparent;
    margin: 0;
    padding: 0;
  }

  #fiche__eleve .id-photo{
    top: 0cm;
    right: 0cm;
  }

  #fiche__eleve .fiche_print{
    display: none;
  }

}






