/* Default CSS */

    figcaption {
      position: absolute !important;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0 0 0 0);
      white-space: nowrap;
      border: 0;
    }

    body {              
      margin:auto; 
      padding:5px;
      color:#000000;
      background-color:#FFFFFF;
      background-repeat:no-repeat;
      background   
      text-align:center;
      max-width:640px;                      
      font-family:Arial;
    }
    a  { color:#0000FF; }
    a:visited { color:#800080; }
    a:hover { color:#008000; }
    a:active { color:#FF0000; }
    p { text-align:left;
	  font-size:110%; }
	h1 { visibility: hidden; position: absolute; }                
    h2 { text-align:center; }   
    h3 { text-align:left; margin-top:24px; font-size: 130%; }
	h4 { text-align:left; font-weight:bold; font-size: 110%; margin-top:16px; }     
    h5 { text-align:center; margin-top:2px; font-size: 110%; }       
    ul, ol { text-align:left;
	     font-size:110%; 
         margin-bottom:-4px; }
    li { margin-bottom:4px; }
	sup { font-size:60%; }
    img { }       
  figure { margin-left:0; padding-left:0; }
    .math {
      font-family: "KaTeX_Main", "Cambria Math", "DejaVu Serif", serif;
      font-size: 1.05em;
      vertical-align: middle;
      display: inline-block;
      padding: 0 2px;
      color: #222;
    }    

	.follow-div {
	  wigth:100%; 
	  height:10px;
	  background-color:black;
	  margin-bottom:30px;
	  border-radius:5px;
	}
	.table {
  	  display: table;
    }
    .row {
      display: table-row;
    }

   .cell {
     display: table-cell;
   }
   .cell h3 {
     padding-left:10px;
	 padding-right:15px;
   }
   .h3link {
     vertical-align:top;
	 padding-bottom:40px;
   }
   .imglink img {
     padding-left:5px;
   }  
   .row a {
   	 text-decoration:none;
   }
   .tabcenter{
      margin-left:auto;
      margin-right:auto;
   }
    .feature_image img{  
       display: block;
       margin-left: auto;
       margin-right: auto;
       height: 100%;
       width: 100%;    
       aling:center;
    }       
	.image-legend {            
      width:100%;
      text-align:center;
      font-size:12px;
      margin-bottom:-8px;
    }
	

	.menu-button {
	  position: fixed;
	  top: 0px;
  	  right: 0px;
  	  width: 40px;
  	  padding: 5px;
  	  z-index: 100;
  	  background: #ffffff;
  	  font-family: sans-serif;
	} 
	          
    .menu-button a, 
    .menu-button h1 {
      font-size: 1.2em;
      display: block;
      margin: 0 0;
      color: white;
    }   
    
     .Language-menu {
      font-family: sans-serif;
      padding: 5px;;
      width: 30px;
      height:30px;
      z-index: 100;
      position: fixed;
      background: black;
	  width: 40px;
	  border-radius:5px; 
	  top: 5px;
      right: 5px; 
	  display: flex;
	  align-items: center;
  	  justify-content: center;
    }
    
    .Language-menu a, 
    .Language-menu h5 {
      font-size: 1.0em;
      display: block;
      padding-top:1px;
      margin: 0 0;
      color: black; 
      text-decoration:none;
	  line-height: 1;
	  display: block;
	  color: white;
    }   
    .Language-menu a { line-height: 30px; }
	
    .container {
      display: flex;
      flex-wrap: wrap;
      width: 100%;
      justify-content: space-between;
      align-content: space-between;
    }     
    .container p {
      margin-top:4px;
    }         
	.sectionmenu {
      display: flex;
      flex-wrap: wrap;
      width: 100%;
      justify-content: space-between;
      align-content: space-between;
    }     
    .sectionmenu p {
      margin-top:4px;
    }         
    .sectionmenu {
      background-color:#eeeeee;
      border-radius:5px;
    }            
    .sectionmenu p,                                                                                                                                               
    .sectionmenu a,
    .sectionmenu a:link,
    .sectionmenu a:active,
    .sectionmenu a:visited { 
      font-size: 1.3em;
      font-weight:bold;
      text-decoration: none;
      color: black;
      text-align:left;  
    }      
    .sectionmenu p {
      margin: 4px; 
      margin-bottom:8px;
      font-style:italic;  
      font-size: 0.8em;
      font-weight:normal; 
      color:#555555;
    }
                     
    .share-logo {  
      display:inline-block;                           
      height:34px;
      width:34px;
      margin-top:6px;
      margin-right:13px;
      background-image:url('images/share-logo.png');
    }                        
    .facebook {  
      display:inline-block;                           
      height:34px;
      width:34px;
      margin-top:6px;
      margin-right:13px;
      background-image:url('images/share_button.jpg');
      background-position: -1px -36px;
    }                        
    .facebook:hover { background-position: -1px -143px; }
    .twitter {  
      display:inline-block;                           
      height:34px;
      width:34px;              
      margin-top:6px;
      margin-right:13px;
      background-image:url('images/share_button.jpg');
      background-position: -117px -37px;
    }    
    .twitter:hover { background-position: -118px -144px; }  
    .mail {  
      display:inline-block;                           
      height:34px;
      width:34px;              
      margin-top:6px;
      margin-right:13px;
      background-image:url('images/share_button.jpg');
      background-position: -1195px -35px;
    }    
    .mail:hover { background-position: -1195px -143px; } 

    .article {
      border-radius:5px;   
      margin-left:6px;
      margin-top:4px;         
      max-width:75%;
    }
	.article p {
	  text-align: left;
    }
    .article_img {
      background:white;
      width: 80px;
      padding-left:4px;
    }       
    .article_img img {
      width: 80px;
      height: 80px;
      border-radius:5px;

    } 
	 .references {
      border-radius:5px;   
      margin-left:6px;
      margin-top:4px;         
      max-width:100%;
    }
    .spacer {
      background:white;
      margin-top:-5px;
      height:6px;
      width:100%;
    }  
    
  .g-recaptcha {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    line-height: 22px;
    background-color: #f7f7f7;
    border:2px solid black;
    padding: 0px;
    margin-bottom: 15px;
    margin-top: -3px;
    width:100%;
    box-sizing: border-box;
    outline:0;
  }    
 
  .feedback-input {
    color:black;
    font-family: Helvetica, Arial, sans-serif;
    font-weight:500;
    font-size: 18px;
    border-radius: 5px;
    line-height: 22px;
    background-color: transparent;
    border:2px solid black;
    transition: all 0.3s;
    padding: 13px;
    margin-bottom: 15px;
    width:100%;
    box-sizing: border-box;
    outline:0;
  }
  .feedback-input { border:2px solid black; }  
  .feedback-input:focus { border:2px solid gray; }
  
  textarea {
    height: 150px;
    line-height: 150%;
    resize:vertical;
  }
  
  [type="submit"] {
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    background:black;
    border-radius:5px;
    border:0;
    cursor:pointer;
    color:white;
    font-size:24px;
    padding-top:10px;
    padding-bottom:10px;
    transition: all 0.3s;
    margin-top:10px;
    font-weight:700;
  }
  [type="submit"]:hover { background:gray; }  
  
  
  
  
  
    .buttonbox { 
	display: flex;
	justify-content: center;
    align-items: center;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: white;
    text-decoration: none;
    background: black;
    border-radius: 5px;
    padding: 10px 0;
    margin-top: 10px;
    transition: all 0.3s;
    width: 100%;
    } 
	a.buttonbox,
	a.buttonbox:link,
	a.buttonbox:visited,
	a.buttonbox:hover,
	a.buttonbox:active {
	display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: white !important;
    text-decoration: none;
    background: black;
    border-radius: 5px;
    padding: 12px 0;
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
    line-height: normal; 
	transition: background 0.3s ease;
    }
	a.buttonbox:hover {
	  background: #7E7E7E;
	}
    
    .image000 { max-width:423px; max-height:317px;; } 
/* Default CSS */
/* Generated by the CoffeeCup HTML Editor - www.coffeecup.com */

    body {              
      margin:auto; 
      padding:5px;
      color:#000000;
      background-color:#FFFFFF;
      background-repeat:no-repeat;
      text-align:center;
      max-width:640px;                      
      font-family:Arial;
    }
    a  { color:#0000FF; }
    a:visited { color:#800080; }
    a:hover { color:#008000; }
    a:active { color:#FF0000; }
    p { text-align:left;
	  font-size:110%; }
	h1 { visibility: hidden; position: absolute; }                
    h2 { text-align:center; }   
    h3 { text-align:left; margin-top:24px; font-size: 130%; }
	h4 { text-align:left; font-weight:bold; font-size: 110%; margin-top:16px; }     
    h5 { text-align:center; margin-top:2px; font-size: 110%; }       
    ul, ol { text-align:left;
	     font-size:110%; 
         margin-bottom:-4px; }
    li { margin-bottom:4px; }
	sup { font-size:60%; }
    img { }       
    .math { font-family:Times New Roman; }
	.follow-div {
	 width:100%; 
	  height:10px;
	  background-color:black;
	  margin-bottom:30px;
	  border-radius:5px;
	}
	.table {
  	  display: table;
    }
    .row {
      display: table-row;
    }

   .cell {
     display: table-cell;
   }
   .cell h3 {
     padding-left:10px;
	 padding-right:15px;
   }
   .h3link {
     vertical-align:top;
	 padding-bottom:40px;
   }
   .imglink img {
     padding-left:5px;
   }  
   .row a {
   	 text-decoration:none;
   }
   .tabcenter{
      margin-left:auto;
      margin-right:auto;
   }
    .feature_image img{  
       display: block;
       margin-left: auto;
       margin-right: auto;
       height: 100%;
       width: 100%;    
       align:center;
    }       
	.image-legend {            
      width:100%;
      text-align:center;
      font-size:12px;
      margin-bottom:-8px;
    }
	          
    .menu-button {
      background: transparent;
      padding: 5px;;
      width: 50px;
      z-index: 100;
      position: fixed;
      top: 0px;
      left: 0px;
    }
    
    .menu-button a, 
    .menu-button h1 {
      font-size: 1.2em;
      display: block;
      margin: 0 0;
      color: white;
    }   
    .menu-button {
      font-family: sans-serif;
      background: #ffffff;
      padding: 5px;;
      width: 40px;
      z-index: 100;
      position: fixed;
      top: 0px;
      right: 0px;
    }
    
     .Language-menu {
      font-family: sans-serif;
      background: #800080;
      padding: 5px;;
      width: 30px;
      height:30px;
      z-index: 100;
      position: fixed;
      top: 3px;
      right: 3px;
	  border-radius:5px;  
    }
    
    .Language-menu a, 
    .Language-menu h1 {
      font-size: 1.2em;
      display: block;
      padding-top:1px;
      margin: 0 0;
      color: black; 
      text-decoration:none;
    }   
    .Language-menu {
      font-family: sans-serif;
      background: black;
      padding: 5px;;
      width: 40px;
      z-index: 100;
      position: fixed;
      top: 5px;
      right: 5px;
    }
    
    .Language-menu a, 
    .Language-menu h1 {
      font-size: 1.2em;
      display: block;
      margin: 0 0;
      color: white;
    }
 
    .container {
      display: flex;
      flex-wrap: wrap;
      width: 100%;
      justify-content: space-between;
      align-content: space-between;
    }     
    .container p {
      margin-top:4px;
    }         
	.sectionmenu {
      display: flex;
      flex-wrap: wrap;
      width: 100%;
      justify-content: space-between;
      align-content: space-between;
    }     
    .sectionmenu p {
      margin-top:4px;
    }         
    .sectionmenu {
      background-color:#eeeeee;
      border-radius:5px;
    }            
    .sectionmenu p,                                                                                                                                               
    .sectionmenu a,
    .sectionmenu a:link,
    .sectionmenu a:active,
    .sectionmenu a:visited { 
      font-size: 1.3em;
      font-weight:bold;
      text-decoration: none;
      color: black;
      text-align:left;  
    }      
    .sectionmenu p {
      margin: 4px; 
      margin-bottom:8px;
      font-style:italic;  
      font-size: 0.8em;
      font-weight:normal; 
      color:#555555;
    }
                     
    .share-logo {  
      display:inline-block;                           
      height:34px;
      width:34px;
      margin-top:6px;
      margin-right:13px;
      background-image:url('images/share-logo.png');
    }                        
    .facebook {  
      display:inline-block;                           
      height:34px;
      width:34px;
      margin-top:6px;
      margin-right:13px;
      background-image:url('images/share_button.jpg');
      background-position: -1px -36px;
    }                        
    .facebook:hover { background-position: -1px -143px; }
    .twitter {  
      display:inline-block;                           
      height:34px;
      width:34px;              
      margin-top:6px;
      margin-right:13px;
      background-image:url('images/share_button.jpg');
      background-position: -117px -37px;
    }    
    .twitter:hover { background-position: -118px -144px; }  
    .mail {  
      display:inline-block;                           
      height:34px;
      width:34px;              
      margin-top:6px;
      margin-right:13px;
      background-image:url('images/share_button.jpg');
      background-position: -1195px -35px;
    }    
    .mail:hover { background-position: -1195px -143px; } 

    .article {
      border-radius:5px;   
      margin-left:6px;
      margin-top:4px;         
      max-width:75%;
    }
	.article p {
	  text-align: left;
    }
    .article_img {
      background:white;
      width: 80px;
      padding-left:4px;
    }       
    .article_img img {
      width: 80px;
      height: 80px;
      border-radius:5px;

    } 
	 .references {
      border-radius:5px;   
      margin-left:6px;
      margin-top:4px;         
      max-width:100%;
    }
    .spacer {
      background:white;
      margin-top:-5px;
      height:6px;
      width:100%;
    }  
    
  .g-recaptcha {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    line-height: 22px;
    background-color: #f7f7f7;
    border:2px solid black;
    padding: 0px;
    margin-bottom: 15px;
    margin-top: -3px;
    width:100%;
    box-sizing: border-box;
    outline:0;
  }    
 
  .feedback-input {
    color:black;
    font-family: Helvetica, Arial, sans-serif;
    font-weight:500;
    font-size: 18px;
    border-radius: 5px;
    line-height: 22px;
    background-color: transparent;
    border:2px solid black;
    transition: all 0.3s;
    padding: 13px;
    margin-bottom: 15px;
    width:100%;
    box-sizing: border-box;
    outline:0;
  }
  .feedback-input { border:2px solid black; }  
  .feedback-input:focus { border:2px solid gray; }
  
  textarea {
    height: 150px;
    line-height: 150%;
    resize:vertical;
  }
  
  [type="submit"] {
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    background:black;
    border-radius:5px;
    border:0;
    cursor:pointer;
    color:white;
    font-size:24px;
    padding-top:10px;
    padding-bottom:10px;
    transition: all 0.3s;
    margin-top:10px;
    font-weight:700;
  }
  [type="submit"]:hover { background:gray; }  
  
  
  
  
  
    .buttonbox { 
	display: flex;
	justify-content: center;
    align-items: center;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: white;
    text-decoration: none;
    background: black;
    border-radius: 5px;
    padding: 10px 0;
    margin-top: 10px;
    transition: all 0.3s;
    width: 100%;
    } 
	a.buttonbox,
	a.buttonbox:link,
	a.buttonbox:visited,
	a.buttonbox:hover,
	a.buttonbox:active {
	display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: white !important;
    text-decoration: none;
    background: black;
    border-radius: 5px;
    padding: 12px 0;
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
    line-height: normal; 
	transition: background 0.3s ease;
    }
	a.buttonbox:hover {
	  background: #7E7E7E;
	}
	
	.download { 
	  display: block; 
	  background-color:lightgray; 
	  width: 100%;
	  margin:0px;
	}
	
    
	.lang-version-title { 
	  width:100%; 
	  text-align:center;
	  margin-top:-17px;
	  font-size:small 
	}
	.lang-version { 
	  width:100%; 
	  text-align:center;
	  font-size:small 
	}
	.lang-button { max-width:40px; }
	.sharebox {
      display: flex;
      flex-wrap: wrap;
      width: 100%;
      justify-content: space-between;
      align-content: space-between;
	  background-color:#eeeeee;
	  border-radius:5px;
	  padding-top:5px;
	 }
	 .sharebox h3 {
	  margin-top:10px;
	  margin-left:10px; 
	}
	 
	.left-arrow {
	  width:17px;
	  height:17px;
	  margin-top:20px;
	  margin-left:18px;
	}
	.right-arrow {
	  width:17px;
	  height:17px;
	  margin-top:20px;
	  margin-right:18px;
    }
	.bottom-box { max-width:140px; }
	.bottom-div { margin-bottom:20px; }
	
    .image000 { max-width:423px; max-height:317px;; } 
	.image002 { max-width:252px; }
	.image003 { max-width:375px; }
	.image004 { max-width:429px; }
	.image005 { max-width:513px; }
	.image006 { max-width:618px; }
	.image007 { max-width:425px; }
	.image008 { max-width:398px; }
	.image009 { max-width:461px; }
	.image010 { max-width:520px; }
	.image011 { max-width:520px; }
	.image012 { max-width:520px; }
	.image016 { max-width:423px; }
	.image017 { max-width:630px; }
	.image018 { max-width:490px; }
	.image019 { max-width:630px; }
	.image020 { max-width:630px; }
	.image021 { max-width:630px; }
	.image022 { max-width:630px; }
	.image023 { max-width:630px; }
	.image025 { max-width:570px; }
	.image027 { max-width:500px; }
	.image028 { max-width:630px; }
	.image029 { max-width:430px; }
	.image030 { max-width:250px; }
	.image031 { max-width:630px; }
	.image032 { max-width:500px; }
	.image033 { max-width:500px; }
	.image034 { max-width:630px; }
	.image035 { max-width:630px; }
	.image036 { max-width:120px; max-height:120px; }
	.image037 { max-width:630px; }
	.image038a { max-width:120px; max-height:120px; }
	.image038b { max-width:320px; max-height:120px; }
	.image038c { max-width:120px; max-height:120px; }
	.image039 { max-width:630px; }
	.image040 { max-width:630px; }
	.image041 { max-width:630px; }
	.image042 { max-width:630px; }
	.image043 { max-width:630px; }
	.image044 { max-width:630px; }
	.image045 { max-width:630px; }
	.image046 { max-width:630px; }
	.image047 { max-width:630px; }
	.image048a { max-width:125px; max-height:90px; }
	.image048b { max-width:100px; max-height:100px; }
	.image048c { max-width:100px; max-height:100px; }
	.image048d { max-width:125px;max-height:90px; }
	.image049 { max-width:630px; }
	.image050 { max-width:500px; }
	.image051 { max-width:630px; }
	.image052 { max-width:630px; }
	.image053 { max-width:630px; }
	.image054 { max-width:400px; }
	.image055 { max-width:630px; }
	.image056 { max-width:630px; }
	.image057 { max-width:630px; }
	.image058 { max-width:630px; }
	.image059 { max-width:630px; }
	.image060 { max-width:630px; }
	.image061 { max-width:330px; }
	.image062 { max-width:630px; }
	.image063 { max-width:630px; }
	.image064a { max-width:300px; max-height:140px; }
	.image064b { max-width:150px; max-height:140px; }
	.image065 { max-width:330px; }
	.image066 { max-width:290px; }
	.image067 { max-width:290px; }
	.image068 { max-width:430px; }
	.image069 { max-width:125px; max-height:125px; }
	.image070 { max-width:430px; max-height:125px; }
	.image071 { max-width:630px; }
	.image072 { max-width:630px; }
	.image073 { max-width:500px; }
	.image074 { max-width:630px; }
	.image075 { max-width:530px; }
	.image076 { max-width:256px; }
	.image015 { max-width:356px; }
	.image076 { max-width:618px; }
	.image077 { max-width:618px; }
    .image078 { max-width:550px; }
    .image079 { max-width:500px; }
	.image080 { max-width:600px; }
	

	.faireundon { max-width:150px; padding:18px; }	
	.donate { max-width:140px; padding:18px; }	
	.centrage { text-align: center; }
	
	.article a,
	.references a {
	  display: block; /* pour forcer le contexte de bloc */
	  text-align: left;
	}
	
	
	/* ============================= */
/* Ajouts pour contact_me.php    */
/* ============================= */

/* Conteneur du formulaire */
.contact-form {
  max-width: 600px;
  margin: auto;
}

/* Compteur de caractères et timer */
.char-count,
#token-timer {
  font-size: 16px;
  margin: 2px 0;
}

/* Barres de progression */
.progress-container,
.progress-time {
  width: 100%;
  background: #ddd;
  height: 6px;
  margin: 4px 0;
}
.progress-bar {
  height: 6px;
  width: 0;
}

/* Bouton de fermeture de la page d'envoi */
.close-message-btn {
  display: inline-block;
  float: right;
  margin-bottom: 10px;
}
.close-message-btn img {
  width: 32px;
  height: 32px;
  cursor: pointer;
}

/* Formulaire contact - améliorations */

/* Limite la largeur réelle des inputs et textarea */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* Ajuste l'espacement entre la barre et la zone de texte */
.progress-container {
  margin-bottom: 8px;
}

/* Positionne correctement le bouton fermeture à l'intérieur du bloc centré */
.close-message-btn {
  display: block;
  text-align: right;
  margin-bottom: 10px;
  width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Assure que le champ honeypot est bien invisible */
.sr-only {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
	


.close-button-new {
  position: fixed;
  top: 5px;       /* même marge que Menu */
  left: 5px;      /* aligné à gauche */
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  background-color: white;
  border-radius: 6px;
  padding: 4px 8px;
  z-index: 1000;
}

.close-button-new img {
  width: 24px;
  height: 24px;
}

.close-button-new .close-text {
  font-size: 16px;
  font-weight: bold;
  color: #000;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .close-button-new .close-text {
    display: none;
  }
}
	


.menu-button-new {
  position: fixed;
  top: 5px;       /* moins d'espace au-dessus */
  left: 5px;      /* collé au bord gauche */
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  background-color: white;
  border-radius: 6px;
  padding: 4px 8px;
  z-index: 1000;
}

.menu-button-new img {
  width: 24px;
  height: 24px;
}

.menu-button-new .menu-text {
  font-size: 16px;
  font-weight: bold;
  color: #000;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .menu-button-new .menu-text {
    display: none;
  }
}


/* ============================= */
/* Ajouts pour contact_me.php    */
/* ============================= */

.contact-form {
  max-width: 600px;
  margin: auto;
}

/* Texte du compteur et du timer */
.char-count,
#token-timer {
  font-size: 16px;
  margin: 0;
}

/* Barres de progression */
.progress-container,
.progress-time {
  width: 100%;
  background: #ddd;
  height: 6px;
  margin: 2px 0;
}
.progress-bar {
  height: 6px;
  width: 0;
}

/* Bouton de fermeture */
.close-message-btn {
  display: block;
  text-align: right;
  margin-bottom: 10px;
  width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.close-message-btn img {
  width: 32px;
  height: 32px;
  cursor: pointer;
}

/* Champs */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.contact-form .feedback-input {
  margin-bottom: 8px;
}

/* Espacement réduit sous Email */
.contact-form input[type="email"] {
  margin-bottom: 2px !important;
}

/* Timer collé sous Email */
#token-timer {
  margin-top: 0 !important;
  margin-bottom: 2px !important;
}

/* Barre bleue (temps restant) */
.progress-time {
  margin-top: 0 !important;
  margin-bottom: 10px !important; /* espace avant "2000 caractères restants" */
}

/* Texte "2000 caractères restants" */
.char-count {
  margin-top: 0 !important;
  margin-bottom: 2px !important; /* même espacement que timer/barre bleue */
  display: block;
}

/* Barre grise (caractères restants) */
.progress-container {
  margin-top: 0 !important;
  margin-bottom: 12px !important; /* réduit à 12px */
}

/* Bouton envoyer */
.contact-form [type="submit"] {
  margin-top: 8px;
}




/* Boutons Menu / Fermer – version plus grande et lisible */
/* Boutons Menu / Fermer – version plus grande et lisible, sans ombre */
/* Boutons Menu / Fermer – grands et lisibles, sans ombre */
.close-button-new,
.menu-button-new {
  padding: 5px 7px;       /* grande zone cliquable */
  border-radius: 10px;      /* angles doux */
  background-color: white;  /* fond blanc pour visibilité */
  transition: background-color 0.2s ease;
}

.close-button-new img,
.menu-button-new img {
  width: 36px;   /* icône bien visible */
  height: 36px;
}

/* Effet visuel au survol */
.close-button-new:hover,
.menu-button-new:hover {
  background-color: #f0f0f0; /* gris très clair au hover */
}





.donate-box {
  width: 100%;
  max-width: 640px; /* même largeur que les autres boutons */
  margin: 15px auto;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  cursor: pointer;
  display: block;
  text-align: center;
}
.donate-box img {
  width: 100%;
  display: block;
  margin-bottom: 20px;
}


.donate-banner {
  position: relative;
  display: block;
  width: 100%;
  max-width: 640px; /* comme les boutons */
  margin: 5px auto 20 auto; /* même espacement que les autres boutons */
  margin-bottom: 20px;
  border-radius: 5px;
  overflow: hidden;
}

.donate-banner img {
  display: block;
  width: 100%;
  height: auto; /* conserve les proportions */
}

.donate-banner .donate-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #000;
  color: #fff; /* texte toujours blanc */
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  opacity: 1;
  transition: background-color 0.2s, opacity 0.3s;
}

/* Effet au survol */
.donate-banner .donate-button:hover {
  background-color: #666; /* gris moyen */
}

/* Effet lors du clic (mousedown) */
.donate-banner .donate-button:active {
  background-color: #666;
}



/* ============================= */
/* Newsletter archive styles */
/* ============================= */
.newsletter-archives {
  margin-top: 40px;
}

/* Newsletter card */
.newsletter-archive {
  background: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 25px;
  color: #000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Title box */
.newsletter-archive h4 {
  margin: 0 0 15px 0;
  padding: 10px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  color: #000;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.newsletter-header,
.newsletter-body,
.newsletter-footer {
  margin-top: 10px;
}

.newsletter-archive.hidden {
  display: none;
}

/* Show more button */
button.see-more {
  display: block;
  margin: 35px auto 60px auto;
  padding: 9px 18px;
  background: #000;
  color: #fff;
  border: none;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.3s ease;
}
button.see-more:hover {
  background: #333;
}

/* Scroll to top button */
.scroll-top-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: none;
  background: #000;
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1000;
  transition: background 0.3s ease;
}
.scroll-top-btn:hover {
  background: #333;
}

/* FAQ Global section */
#faq {
  max-width: 640px;
  margin: 0 auto;
  padding: 0; /* was 1rem */
}

/* Intro paragraph */
#faq .faq-intro {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #444;
}

/* Main title */
#faq h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: #222;
}

/* Section titles */
#faq h3 {
  font-size: 1.3rem;
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
  color: #333;
/*  border-bottom: 2px solid #ddd; */
  padding-bottom: 0.15rem;
  text-align: left;
}

/* Question titles */
#faq .faq-item h4 {
  font-size: 1,2rem;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
  color: #444;
}

#faq p {
  margin-left: 10px;
}

/* Lists */
#faq ul,
#faq ol {
  margin: 0.25rem 0 0.5rem 1.0rem;
}

/* List style */
#faq li {
  margin-bottom: 0.1rem;
}

/* Q&A blocks */
.faq-item {
  padding: 0.25rem 0;
/*  border-left: 3px solid #eee; */
  padding-left: 0.8rem;
}
#faq h3 {
  display: block;
  font-size: 1.3rem;
  font-weight: bold;
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
  margin-left: 0;
  padding-left: 0;
  color: #333;
/*  border-bottom: 2px solid #ddd; */
  padding-bottom: 0.15rem;
  line-height: 1.4;
  text-align: left;
}
#faq h3::before,
#faq h3::after {
  content: none !important;
}






/* Q&A ==================== */

/* Formulaire en colonne et centré */
.category-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 24px 0;
}

/* Label centré */
.category-label {
  font-size: 1.2em;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
  text-align: center;
}

/* Sélecteur stylisé */
.category-select {
  padding: 6px 12px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #f9f9f9;
  min-width: 220px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.3s, background-color 0.3s;
}

.category-select:hover {
  border-color: #888;
  background-color: #f0f0f0;
}

.category-select:focus {
  outline: none;
  border-color: #555;
  background-color: #fff;
}


.card {
  max-width: 640px;
  margin: auto;
  padding: 8px;
  border: 1px solid #444;          /* bordure gris foncé */
  background-color: #f0f0f0;       /* fond gris clair */
  border-radius: 8px;              /* coins arrondis */
  margin-bottom: 10px;
}

.moderation-btn {
  font-size: 0.8em;
  padding: 4px 8px;
  margin: 2px;
  background: none;
  background-color: black; /*transparent;*/ /* <-- ajout nécessaire */
  color: #ffffff;
  border: none;
  outline: none;                 /* <-- facultatif mais propre */
  cursor: pointer;
  border-radius: 6px; /* ← coins arrondis */
}
.moderation-btn.green i { color: #27ae60; }
.moderation-btn.red i { color: #c0392b; }
.moderation-btn.white i { color: #ffffff; } /*#333; }*/
.moderation-btn:hover i { text-shadow: 0 0 2px rgba(0,0,0,0.3); }
.toggle-btn i {
  font-size: 1em;
  margin: 0;
}

.moderation-btn:hover {
  background-color: #777; 
}

.question-text,
.answer-text {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  margin-top: 0;
  padding-top: 0;
  pointer-events: none;
}

.answer-category {
  color: #a00;         /* Rouge foncé */
  font-weight: bold;   /* Gras */
}

.question-text.visible,
.answer-text.visible {
  max-height: 1000px; /* hauteur suffisante pour tous les cas */
  opacity: 1;
  margin-top: 8px;
  padding-top: 4px;
  pointer-events: auto;
}

.pagination-controls {
  text-align: center;
  margin: 10px 0;
}

.pagination-link {
  display: inline-block;
  margin: 0 4px;
  padding: 4px 8px;
  border: 1px solid #888;
  border-radius: 4px;
  cursor: pointer;
}

.pagination-link.active {
  background-color: #444;
  color: white;
  font-weight: bold;
}

.pagination {
  text-align: center;
  margin: 10px 0;
}
.pagination-btn {
  margin: 0 4px;
  padding: 4px 8px;
  font-size: 0.9em;
  cursor: pointer;
}
.pagination-btn.active {
  background-color: #007bff;
  color: white;
  border-radius: 4px;
  cursor: default;
}


.user-table {
  border-collapse: collapse;
  width: 100%;
}

.user-table th,
.user-table td {
  border: 1px solid #999;
  padding: 8px;
  text-align: left;
}

.log-entry {
  padding: 6px;
  margin-bottom: 4px;
  border-left: 4px solid #888;
  background-color: #f9f9f9;
}

.log-entry strong {
  color: #2a2a2a;
}

.log-entry .timestamp {
  font-size: 0.85em;
  color: #555;
  margin-right: 6px;
}

.suspended-row {
  background-color: #ffdddd;
}

.toggle-block {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  text-align:left; 
  margin-top:8px;
  margin-left:0px;
}
.toggle-block.visible {
  max-height: 23500px;
  opacity: 1;
}
.moderation-btn {
  font-size: 0.85em;
  padding: 4px 8px;
  margin: 2px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.moderation-btn i { pointer-events: none; }

.btn-suspend        { background-color: #ffc107; color: #000; } /* jaune */
.btn-unsuspend      { background-color: #28a745; color: #fff; } /* vert */
.btn-promote        { background-color: #007bff; color: #fff; } /* bleu */
.btn-demote         { background-color: #cc5500; color: #fff; } /* rouge orangé */
.btn-delete         { background-color: #dc3545; color: #fff; } /* rouge */
.btn-remove-avatar  { background-color: #17a2b8; color: #fff; } /* cyan */
.btn-approve        { background-color: #198754; color: #fff; } /* vert foncé */

.moderation-btn.green {
  background-color: #28a745;
  color: white;
}
.moderation-btn.green i {
  color: white !important;
}

.text-muted {
  color: #bbb;
}

#userFilterForm {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* centre horizontalement */
  gap: 12px 16px; /* espace entre lignes et colonnes */
  margin-bottom: 12px;
  border: 1px solid #888;
  border-radius: 6px;
  padding: 12px;
  background: #f0f0f0;
  max-width: 640px;
  box-sizing: border-box;
}

#userFilterForm > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 5px;
}

.avatar-thumb {
  height:30px; 
  display:inline-block;
}

/* Largeurs spécifiques */
#filterUsername,
#filterEmail {
  width: 240px;
}

#filterDate {
  width: 100px;
}

#userFilterForm input[type="text"],
#userFilterForm select {
  padding: 6px 10px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #fff;
  color: #333;
  transition: border-color 0.2s ease;
}

#userFilterForm input:focus,
#userFilterForm select:focus {
  border-color: #666;
  outline: none;
}


.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0;
  font-size: 15px;
}

.pagination-btn {
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  color: #333;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
  background-color: #e0e0e0;
}

.pagination-btn:disabled {
  background-color: #ddd;
  color: #999;
  cursor: default;
}

.pagination-select {
  padding: 6px 10px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  color: #333;
  cursor: pointer;
}

.pagination-select:focus {
  outline: none;
  border-color: #888;
}

/* Liens seuls ou en début de ligne → icône + marge */
/* Scopes : rendu, preview, éditeurs inline (hors iframe) */
.anw-body p > a:only-child,
.anw-body p > a:first-child,
.anw-body p > a:first-child:nth-last-child(2),
.preview p > a:only-child,
.preview p > a:first-child,
.preview p > a:first-child:nth-last-child(2),
.ck-content p > a:only-child,
.ck-content p > a:first-child,
.ck-content p > a:first-child:nth-last-child(2),
.ql-editor p > a:only-child,
.ql-editor p > a:first-child,
.ql-editor p > a:first-child:nth-last-child(2),
.note-editable p > a:only-child,
.note-editable p > a:first-child,
.note-editable p > a:first-child:nth-last-child(2) {
  /* on stylise directement le lien */
  display: inline-flex;      /* permet alignement & pseudo-élément propre */
  align-items: center;
  margin-left: 20px;         /* décalage à gauche demandé */
  position: relative;
}

/* Icône "lien" avant le texte du lien */
.anw-body p > a:only-child::before,
.anw-body p > a:first-child::before,
.anw-body p > a:first-child:nth-last-child(2)::before,
.preview p > a:only-child::before,
.preview p > a:first-child::before,
.preview p > a:first-child:nth-last-child(2)::before,
.ck-content p > a:only-child::before,
.ck-content p > a:first-child::before,
.ck-content p > a:first-child:nth-last-child(2)::before,
.ql-editor p > a:only-child::before,
.ql-editor p > a:first-child::before,
.ql-editor p > a:first-child:nth-last-child(2)::before,
.note-editable p > a:only-child::before,
.note-editable p > a:first-child::before,
.note-editable p > a:first-child:nth-last-child(2)::before {
  content: "🔗";
  margin-right: 6px;         /* petit espace entre icône et texte du lien */
  line-height: 1;
}



blockquote{
  text-align: left;
  background: #F4F7FA !important;      /* bleu clair */
  border-left: 5px solid #B7D6FF !important;
  border-radius:6px;
  padding:10px 12px;
  margin:6px 0;
  color:#333;
}

.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px);
  white-space: nowrap;
}
