:root { 
  --colBody:lightyellow;/*#CCE6F0"*/
  --colDivMenu:#A5E8FA ;/*#C1E1F7;*/
  --colAside:lightyellow;;
  --colMenu:whitesmoke;;
  --colHoverMenu:lightgray;/*#CDF1FA;*/
  --colBandeau:#023368ff;
}

#compteur {
  margin-left: 10px;
  font-size: 11px; 
  font-style: italic;
}


#divBIA,#divAIPBIA,#divContact {
  margin-bottom: 10px;
  margin-right: 10px;
	background-color: var(--colDivMenu);
	padding-bottom : 10px;
	/*border:1px solid #54B1CC;*/
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); 
}

#main{
  width : 100%; 
  height: auto; 
  padding :20px 20px 30px 20px;
  font-size:0.9em;
  display : block;
  overflow: auto;
}

#mainDiv {
  width : 100%; 
  height: 500px; 
  display: flex;
}

#mainSousDiv {
  flex : 2.5;
}

#paramQuiz{
  margin-left: 20px;
  margin-right: 20px; 
  min-width: 650px;
  max-width: 800px;
  padding : 10px;
  
  background-color: var(--colAside);
  border: 1px solid #bcc;
  border-radius: 6px; 
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); 
  font-size:1em;
}

#popup {
  background: var(--colBandeau);  
  padding-left: 10px;
  color:white;
}

#recherche{
  margin-left: 10px;
  max-height: 25px;
  max-width: 100px; 
}

#tBureau td{
  width: 130px; 
  text-align: center;
  padding: 10px;
  font-size:1em;
}



#tLogo td{
  width: 250px; 
  text-align: center;
  padding: 10px;
  border: none;
}

#tLogo img{
  height: 60px;
  width: auto;
}




aside {
  display: flex;
  flex : 1;
  flex-direction: column;
  margin-right: 40px;
  margin-left: 5px;
  margin-bottom: 30px;
  padding-top: 15px;
  background-color:var(--colAside);
  border:4px solid gray;
  /*min-height: 90px;*/
  overflow-y: auto;
  padding-left:10px;
}

body {
  max-width: 97%;
  height: 100%; 
  padding-left: 20px;
  padding-right: 35px;
  font-size:0.9em;
  background-color: var(--colBody);
}
 


footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height:30px;
  background:  var(--colBandeau);
  color: white;
  font-size: 0.8em;  
  font-style: oblique;
  text-align: left;
  padding-left: 20px;
  padding-bottom: 15px;
  z-index: 100;
}


h3 {
  margin-left: 15px;
}

header{
   margin-left : -25px;
   background-color: var(--colBandeau);
   color : white;
}

header img {
      width: 100%;     /* occupe toute la largeur */
      height: auto;    /* garde les proportions */
      display: block;  /* supprime l'espace sous l’image */
    }

header h2 {
      text-align: center;
      flex : 1;
    }

hr{
    padding-left: 0px;
  }


html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1; /* tout l’espace disponible */
  padding-bottom: 60px;
}

inputContact, textarea {
    width: 50%;
    padding: 8px;
    margin-top: 4px;
    margin-bottom: 12px;
    border: 2px solid blue;
    border-radius: 4px;
  }



select {
  height: 25px;
  width : auto;
  background-color: lightyellow; /*var(--colMenu);*/
  border: 1px solid #bcc;
  border-radius: 4px;
  font-size: 1em;
  padding-bottom: 4px;
  padding-left: 10px;
  /*box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); */
  
  /* Supprimer l’apparence par défaut (Chrome/Firefox) */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
table {
  border-collapse: collapse;
  cursor: pointer;
 }

tr {
  height: 25px;
 }

td {
  text-align: left;
  font-size: 0.85em;
  width : 380px;
  border: 1px solid black;
  padding-left: 10px;
  padding-right: 8px;
 }


.button {
  width: 150px;
  height: 28px;
  margin-bottom: 10px;
  margin-right: 10px;
  margin-left: 10px;
  /*background-color: var(--colMenu);*/
  background-color: whitesmoke;
  border: 1px solid #bcc;
  border-radius: 6px; 
  font-size: 1em; 
  cursor: pointer;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); 
  transition: all 0.5s ease-out;
}

.button:hover, .button:focus {
 /* color : darkred;
  background-color: var(--colDivMenu);*/
}

.button:active {
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2); 
  transform: translateY(1px);
  background-color:#faeabb;
}

.btnInscription{
  width: 500px;
  height: 40px;
  display: block;
  margin : auto;
  margin-top: 20px;
  padding-left :20px;
  padding-right :20px;
  background-color: var(--colMenu);
  border: 1px solid #bcc;
  border-radius: 6px; 
  font-size: 1em; 
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);  
 }

 .contact-form{
  padding-left: 100px;
  padding-bottom: 20px;
 }

 .contact-champ{
  margin-bottom: 25px;


 }


.dropdown {
  display: none;
  position: relative;

  font-size: 0.9em; 
  background-color: var(--colMenu);/*lightyellow;*/
  border: 1px solid #ccc;
  margin-bottom : 10px;
  box-shadow: 0px 2px 5px rgba(0,0,0,0.2);
  margin-top: -10px;
  margin-left: 12px;
  z-index: 1000;
}

.dropdown div {
  padding : 5px 10px 5px 10px;
  cursor: pointer;
  font-size: 1.1em;
}

.dropdown div:hover {
  background-color: var(--colHoverMenu);
}



.flecheMenu{
  font-size:15px;
  color: blue; 
  font-weight: bold; 
  margin-top: 10px
}


  .highlight {
    background-color: #ffe066;
    font-weight: bold;
  }


.iconDownload{
  max-width:20px; 
  vertical-align:middle;
  
}

.iconDLgris{

  margin-left: 25px;
  vertical-align:middle;
  cursor:pointer;
  width: 20px;
  height: 17px;
  background-image: url(../docBIA/icnDownload-gris.png);
  background-size: cover;  
  background-position: center;
}


.imprimer {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
      color: black;
      text-decoration: none;
      font-size: 0.8em;  
    }

.imprimer:hover {
      text-decoration: underline;
    }

.imprimer .icone {
      font-size: 25px;
    }

.menuBandeau {
  font-size: 1em;
  list-style: none;     
  padding-right: 10px;
  margin: 5px 15px 12px 30px;
  display: flex;           
  gap: 30px;  
  cursor: default;            
  
}
.menuBandeau li a {
  text-decoration: none;  
  color: white;
  padding: 8px;
  width: auto;
}

.menuBandeau li a:hover {
  background: gray;        /* Effet au survol */
  border-radius: 5px;
  text-decoration: underline; 
}

.popup {
      position: fixed;
      padding: 5px 10px 5px 10px;
      border-radius: 5px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.3);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.5s ease;
    }

.popup.show {
      opacity: 1;
      pointer-events: auto;
    }

 .styleLien {
    color: white;  
    font-size: 1em;
    text-decoration: none; 
  }

.styleLien:hover {
    text-decoration: underline; 
  }


.styleContact {
    color : black;
    margin-left: 10px;
    text-decoration: none;
  }

.styleContact:hover {
    text-decoration: underline;
  }

.tabFormation{
  border: none;
  width:650px; 
  margin-left: 50px;
}

.tabFormation td{
  border: none;
  margin : 0 auto;
} 

.tabFormTD1{
  font-size: 1em;
  /*font-weight: bold;*/
}

.td0{
  width: 180px;
  border: none;
 }


.tabQuiz{
  margin-bottom: 15px;
  margin-left: 5%;
}

.tabQuiz tr{
  height: 25px;
}
  .td0 a img{
  cursor: zoom-in;
  width:180px;
 }

.td1{
  height: 10px; 
  text-align: center;
  font-size: 0.8em;
  width : 40px;
  border: 1px solid black;
  padding-left: 10px;
  padding-right: 8px;
 }

 .td2{
  
  font-size: 0.8em;
  min-width: 200px;
  border: 1px solid black;
  padding-left: 10px;
  padding-right: 8px;
 }

.tFormateurs{
  margin-top: 45px;
  
}

.tFormateurs td{
  width: 120px;
  min-width: 120px; 
  text-align: center;
  font-size:1em;
  border : none;
}

.tRQuiz {
  height: 10px;
  
  border-collapse: separate;
  
 }

 .tRQuiz tr {
  
  
 }

.tRQuiz tr td{
  width:15px; 
  border: none;
  background-color: lightgray;
  cursor: pointer;
 }

.txtVideo{
  font-size: 0.9em;
}


/*smartphone*/
@media screen and (width <= 768px) {
/* header h2 {
      text-align: center;
     flex:1;
    }*/

  footer {
    display: none;
  }

  #mainSousDiv {
    order:2;
  }

  #choixQ{
    display: block;
    max-height: 24px;
  }

   #divBIA{
   /* color : red;*/
   }


  aside {
  order : 1;
  flex-direction: column;
  min-height: 180px;
  margin-bottom: 10px;
  }

  #mainDiv {
  flex-direction: column;
  }

  #paramQuiz{
  font-size:1em;
  }

 .button {
  width: 150px;
  height: 24px;
  font-size: 1.1em; 
  }

  .btnInscription{
  width: 350px;
  height: 30px;
  padding-left :10px;
  padding-right :10px;
 }


 .contact-form{
  padding-left: 30px;
  padding-bottom: 20px;
 }

 .fancybox__caption {
      font-size: 20px;      
      font-weight: bold;   
      color: #ffcc00;       
      text-align: center;  
      background: rgba(0, 0, 0, 0.6); /* fond semi-transparent */
      padding: 10px;
      border-radius: 8px;
    }

  .menuBandeau { 
  /*flex-direction: column;*/ 
  list-style: none;
  padding: 0px;   
  font-size: 0.85em;              
  }

  .menuBandeau li a {
  padding: 0px;
  
  }


#paragraphe1{
  display: none;
  transition: opacity 0.5s ease;
}
  .styleLien {
    font-size: 1.2em;
  }

  .tabFormation{
  border: none;
  width:600px; 
  margin-left: 0px;
  }
  .tabQuiz{
  margin-left: 0%;
  }

  .td0 {
    width:140px;
   }

   .td0 a img{
    width:140px;
   }

 /* .tabQuiz{
 font-size: 1.2em;   
 color : darkblue;
  }

  .tRQuiz {
  height: 25px;
  font-size: 1.5em;  
 }


.tRQuiz tr td{
  width:25px;
  height: 25px; 
 }*/



}
