@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
/* Import de la font Roboto depuis Google Fonts et on l'applique sur tous les éléments de la page */
body * {
   font-family: 'Roboto', sans-serif;
}
/* On applique un gris plus clair sur les paragraphes */
p {
   color: #313332;
}

.image-mise-en-avant {
  display: none;
}

*{
  font-family: Avenir, sans-serif;
}
fieldset{
  background-color: RGBa(240, 160, 0, 0.2);
}
legend{
  font-weight: bold;
}
.champ{
  margin-bottom: 10px;
}
textarea{
  width: 80%;
  height: 100px;
}

input{
  width: 150px;
}
input[type="radio"], input[type="checkbox"]{
  width: auto;
}
input[type="submit"]{
  width: 100px;
}

h1{
  color: #dd3b00;
}
h2{
  color: #fd6730;
}

li{
  color: #6F6C6D;
  padding-bottom: 10px;
}

.center{
  text-align: center;
}

.classSelect{
  margin: 2px;
}

.sous-conteneur-image{
  flex-basis: 50%;
  padding: 10px 1px;
  text-align: center;
  box-sizing: border-box;
}
.flex-basis40{
  flex-basis: 40%;
}

.conteneur-image{
  max-width: 95%;
  min-width: 100px;
  height: auto;
  box-sizing: content-box;
  margin: 2px 0 10px;
}
.shadow{
    box-shadow: 10px 10px 10px lightgray;
}

.enveloppe-container{
  margin: 20px auto;
  line-height: 1.6;
}
.enveloppe-image{
  margin-right: 15px; /* Ajoute un espacement entre l'image et le texte */
  margin-left: 15px; /* Ajoute un espacement entre l'image et le texte */
  border-radius: 10px;
  width: 150px; /* Ajuste la taille de l'image */
}
.image-float-right{
  float: right; /* Permet d'envelopper le texte autour de l'image */
}
.image-float-left{
  float: left; /* Permet d'envelopper le texte autour de l'image */
}
.small {
	width: 64px;
	height: auto;
}

/*
.pageOnglet{
  display: none;
}*/

.zone-question{
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
  align-items: center;
}

.conteneur-question{
  max-width: 350px;
  text-indent: each-line;
  line-height: 140%;
} 

.texte-titre{
  margin: 0 0 10px 0;
  line-height: 140%;
  font-weight: bold;
}

.texte-question{
  margin: 0 0 10px 0;
  line-height: 150%;
}

.conteneur-checkbox{
  margin: 0 0 10px 0;
}

.flex-right{
	display: flex;
    justify-content: flex-end;
	align-items: baseline;
	/*height: 50px;*/
	/*flex-direction: column-reverse;*/
	flex-wrap: wrap-reverse;
	margin-right: 20px;
}

.flex-left{
	display: flex;
    /*justify-content: flex-start;*/
	align-items: flex-start; /*baseline;*/
	/*height: 50px;*/
	/*flex-direction: column-reverse;*/
	/*flex-wrap: wrap-reverse;*/
	margin-left: 20px;
	gap: 10px;
	width: 100%;
}

/*
input[type=checkbox]{
  transform: scale(2);
  margin: 0 10px 10px 10px;
}
*/
.checkboxLarge{
	transform: scale(2);
	margin: 10px 10px 10px 10px;
}

label{
  display: contents;
}

.extended-label {
    display: block;              /* Permet la largeur et la hauteur automatiques */
    text-align: left;         /* Justifie le texte */
    word-break: break-word;      /* Coupe les mots si nécessaire */
}

button{
  width: 100px;
  height: 50px;
}
.button-popup{
  width: 200px;
  margin: 5px;
}
.entete{
  margin: 0 0 10px 0;
}

.pageNbr{
  margin: 0 10px 0 10px;
}

/* Bouton Close*/
.container-close{
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
}

.image-close{
  display: block;
  width: 25px;
  height: auto;
}


 /* Modal popup*/
/*.modal {
  display: none;
}*/


.modalTheme{
  display: none;
}
.modal-back {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba( 0, 0, 0, .25 )
}
.modal-container {
  padding: 25px;
  background: white;
}

/*
          Modal Scrollable
 */
.modal-main {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 50px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal-text {
  background-color: white;
  margin: 5% auto;
  padding: 20px;
  width: 80%;
  max-width: 600px;
  max-height: 80vh;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.modal-scroll {
  overflow-y: auto;
  flex-grow: 1;
  padding-right: 30px;
}

.flex {
  display: flex;
  align-items: center;
}

.ligne {
  flex-flow: row wrap;
}

.fin {
  justify-content: flex-end;
}

.space {
  justify-content: space-around;
}

.center {
  justify-content: center;
}

.button-icon {
  width: 25px;
  height: auto;
}

.quote {
  background-color: #61CE70;
  color: white;
  font-size: medium;
}

.border {
  border: 1px solid #6EC1E4;
  padding: 10px;
  margin-bottom: 5px;
}






.tooltip-container {
    position: absolute;
    background-color: #333;
    color: #fff;
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 4px;
    white-space: normal;       /* Permet les retours à la ligne */
    max-width: 400px;          /* Limite la largeur */
    text-align: justify;       /* Justifie le texte */
    pointer-events: none; /* Empêche de bloquer la souris */
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 1000;
	width: 500px;
	height: auto;
}

.texte-zoom {
    display: inline-block;      /* nécessaire pour que transform fonctionne bien */
    transition: transform 0.3s ease; /* animation fluide */
}

.texte-zoom:hover {
    transform: scale(1.1);
}

/* CF7 Forms*/
.cf7_right{
  display: block;
  text-align: right;
}

.cf7_red{
  color: blue;
}

/* Champs de saisie texte */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
  background-color: #f5f5f5; /* gris clair */
  border: 1px solid #ccc;   /* bordure douce */
  padding: 8px;
  border-radius: 5px;
}




@media screen and (max-width: 980px){
  .modal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 80%;
    transform: translate(-50%, -30%)
  }
  
  .tooltip-container {
        max-width: 200px; /* Réduit un peu la largeur */
        left: 0; /* On garde le point d'ancrage à gauche */
        transform: translateX(-100px); /* Décalage supplémentaire */
        font-size: 13px; /* Taille légèrement réduite */
    }
}

@media screen and (min-width: 980px) and (max-width: 1600px){
  fieldset{
    margin: 0 10% 0 10%;
  }
  .entete{
    margin: 0 10% 0 10%;
  }
  .modal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
  }
}

@media screen and (min-width: 1600px){
  .conteneur-question{
    max-width: 600px;
  }
  fieldset{
    margin: 0 10% 0 10%;
  }
  .entete{
    margin: 0 10% 0 10%;
  }
  .modal-container {
    position: fixed;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%)
  }
} 
