@charset "UTF-8";

body {
  font-family: Roboto, Arial, Verdana, Geneva, Tahoma, sans-serif;
  font-size: 15px;
  background-color: #EFEFEF;
}

h2 {
  color: #141B4D;
}

a:hover,
a:focus {
  text-decoration-style: dashed;
}

header, footer {
  width: 840px;
  margin: 25px auto 0;
}

footer {
  text-align: center;
}

/**
* Custom form styles
*/

header img.questionnaire_entete {
  width: 840px;
  height: auto;
  border-radius: 10px;
}

div.intro {
  border-top: 10px solid #F9CC02;
}

div.info {
  font-style: italic;
}

div.welcome_message, div.information {
  margin: 15px;
  padding: 20px;
  background-color: #F9CC02;
  border-radius: 10px;
}

div.information {
  margin: 0;
  background-color: #F3F4FD;
}

#formulaire_questionnaire, div.intro {
  width: 840px;
  margin: 20px auto;
  padding: 20px;
  background-color: #FFF;
  border-radius: 10px;
}

.acf-field .acf-label label {
  font-size: 17px;
  font-weight: bold;
}

ul.acf-radio-list li label, ul.acf-checkbox-list li label {
  font-size: 15px;
  line-height: 28px;
}

.acf-field .acf-input {
  font-size: 15px;
}

#formulaire_questionnaire .acf-fields > .acf-field {
  border: 0;
}

#formulaire_questionnaire h2 {
  border-bottom: 1px solid #414141;
  padding-bottom: 20px;
}

#formulaire_questionnaire input[type=text] {
  padding: 15px;
  border: 1px solid #CCC;
}

.acf-form-submit {
  text-align: right;
}

div.acf-form-submit input[type=submit].button-primary {
  cursor: pointer;
  padding: 15px;
  border-radius: 10px;
  border: 0;
  background-color: #F9CC02;
  font-size: 1.1em;
}

div.acf-form-submit input[type=submit].button-primary:hover {
  background-color: #141B4D;
  color: #FFFFFF;
}

#filtres label {
  font-size: 16px;
  font-weight: 500;
}

#filtres input[type=text], #filtres select {
  padding: 15px;
  border: 1px solid #CCC;
  border-radius: 15px;
  line-height: 20px;
  margin-top: 5px;
}

#filtres select {
  border-radius: 15px 0 0 15px;
  padding: 10px;
}

#filtres select option {
  line-height: 25px;
  padding: 3px;
}

#filtres .multiple-select {
  display: inline-block;
  position: relative;
  padding: 15px 0 15px 0;
  width: 100%;
}

#filtres .multiple-select summary {
  font-size: 16px;
  padding: 15px;
  background-color: #ddd;
  border-radius: 15px;
  cursor: pointer;
}

#filtres .multiple-select-dropdown {
  z-index: 99;
  width: 420px;
  position: absolute;
  margin-top: -300px;
  min-width: 100%;
  background-color: #eee;
  border-radius: 15px;
}

#filtres .multiple-select label {
  margin: 0;
  font-weight: 300;
  display: block;
}

#filtres .multiple-select label > input + .content {
  padding: 15px;
  display: block;
  cursor: pointer;
}

#filtres .multiple-select label + label {
  border-top: 1px solid #bbb;
}

#filtres .multiple-select label > input:checked + .content, #filtres .multiple-select label:hover {
  background-color: #F9CC02;
}

#filtres .multiple-select label:first-child > input:checked + .content, #filtres .multiple-select label:first-child:hover {
  border-radius: 15px 15px 0 0;
}

#filtres .multiple-select label:last-child > input:checked + .content, #filtres .multiple-select label:last-child:hover {
  border-radius: 0 0 15px 15px;
}

#filtres #close {
  position: absolute;
  margin-left: 130px;
  margin-top: -360px;
  border: 0;
  padding: 15px;
  background-color: #141B4D;
}

#filtres #close:hover {
  background-color: #F9CC02;
}

#filtres input[type=submit] {
  font-size: 16px;
  margin-top: 10px;
  margin-right: 15px;
  margin-bottom: 20px;
  padding: 15px 30px;
  border-radius: 15px;
  border: 0;
  background-color: #F9CC02;
  width: 100%;
}

#filtres input[type=submit]:hover {
  background-color: #141B4D;
}

span.page-numbers.current, span.pastille {
  background-color: #F9CC02;
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 28px;
  border-radius: 15px;
  text-align: center;
}

.video_inverse {
  background-color: #F9CC02;
  display: inline-block;
  padding: 5px 15px;
  font-weight: 500;
}

/* Styles pour l'overlay */

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9); /* Couleur d'arrière-plan semi-transparente */
  z-index: 9999; /* Pour s'assurer que l'overlay est au-dessus de tout autre contenu */
  display: none; /* Caché par défaut */
}

/* Styles pour la balise details ouverte */

details[open] {
  z-index: 10000; /* Pour s'assurer que la balise details est au-dessus de l'overlay */
}

.message_box {
  background-color: #FFFFFF;
  border-bottom: 5px solid #F9CC02;
  padding: 46px 15px 45px;
}
