


table {
	background: white;
	font-size: 100%;
	color: black;
}
a {
	text-decoration: none;
	color: #002bb8;
	background: none;
}




A:link { color: #1A0DAB; }
A:visited { color: #4B11A8; }
A:hover { color: #660099; text-decoration: underline; }





a.stub {
	color: #772233;
}
a.new, #p-personal a.new {
	color: #ba0000;
}
a.new:visited, #p-personal a.new:visited {
	color: #a55858;
}

img {
	border: none;
	vertical-align: middle;
}
p {
	margin: .3em 0 .4em 0;
	line-height: 1.4em;
}
p img {
	margin: 0;
}

hr {
	height: 1px;
	color: #aaa;
	background-color: #aaa;
	border: 0;
	margin: .2em 0 .2em 0;
}

h1, h2, h3, h4, h5, h6 {
	color: #800000;
	background: none;
	font-weight: normal;
	margin: 0;
	padding-top: .20em;
	padding-bottom: .17em;
}
h1 { font-size: 160%; border-bottom: 1px solid #aaa; font-weight: bold;}
h2 { font-size: 140%; border-bottom: 1px solid #aaa; font-weight: bold;}
h3, h4, h5, h6 {
	font-weight: bold;
}
h3 { font-size: 124%; }
h4 { font-size: 109%; }
h5 { font-size: 95%; }
h6 { font-size: 84%;  }


body {
    font-family: 'Helvetica', sans-serif;    
    font-size: 12px;
    background: #ffffff 0 0 no-repeat;
    color: black;
    margin-top: 2px; 
    margin-bottom: 4px;
    margin-left: 4px;
    margin-right: 0px;
    padding: 0;
}

.separateur {
  float:left;
  width:99%;
  color:#dddddd;    
  border-bottom:solid 2px #aaaaaa;        
  padding-left: 0px;
  padding-top:2px;
  padding-bottom:2px;
  margin-top: 4px;
  margin-bottom: 4px;
  clear: both;
  
}


.separateurMarque {
  float: left;
  width: 99%;
  color: black;
  background-color: #bbbbbb;  
  border-top: solid 1px #bbbbbb;  
  border-left: solid 1px #bbbbbb;
  padding-right: 0px;
  padding-left: 0px;
  padding-top: 2px;
  padding-bottom: 2px;
  margin-top: 5px;
  margin-bottom: 5px;   
  clear: both;
}


/* utilise pour les LEADERBOARD */
.zonePubLeaderboard {
  float: left;
  width: min(98%, 800px);
  xxxxxxxxxxxxxxx_max-width: 500px;  
  background-color: #eeeeee;  
  min-height: 2px;
  xxxxxxxxxx_min-width: 400px;  
  display: flex;
  align-items: center;
  justify-content: center;
}


.bloc-A {
  float:left;
  width:68px;
  border-top:solid 5px #ffffff;  
  border-left:solid 1px #dddddd;
  padding-left:0px;  
  clear: both;
}

.bloc-B {
  float:left;
  width:31px;
  border-top:solid 5px #ffffff;  
  border-left:solid 1px #bbbbbb;
  padding-left:0px;  
  text-align: right; 
  padding-right: 3px;
  
}

.bloc-C {
  float:left;
  width:50px;
  border-top:solid 5px #ffffff;  
  border-left:solid 1px #bbbbbb;
  padding-left:0px;
  
}

.bloc-D {
  float:left;
  width:245px;  
  border-top:solid 5px #ffffff; 
  border-bottom:solid 3px #ffffff;  
   
  border-left:solid 1px #bbbbbb;
  padding-left:5px;
  padding-right:3px;
}

.bloc-E {
  float:left;
  width:45px;
  border-top:solid 5px #ffffff;  
  border-left:solid 1px #bbbbbb;
  padding-left:0px;  
  
}

.bloc-E-bis {
	padding-top:4px;
	}


.bloc-F {
  float:left;
  width:30px;
  border-top:solid 5px #ffffff;  
  border-left:solid 1px #bbbbbb;
  padding-left:0px;
  
}

.bloc-G {
  float:left;
  width:340px;
  border-top:solid 5px #ffffff;  
  border-left:solid 1px #bbbbbb;
  padding-left:5px;
  
}

.bloc-H {
  float:left;
  width:340px;
  border-top:solid 5px #ffffff;  
  border-left:solid 1px #bbbbbb;
  padding-left:5px;
}

@media screen and (max-width: 500px) {
    .bloc-A { display: both; }
    .bloc-E-bis { display: both; }    
	.bloc-E { clear: both }

	.video-playlist { max-width: 700px; width: 100%; height: auto; aspect-ratio: 16 / 9; }	
}

 @media screen and (min-width: 501px) and (max-width: 768px) {  
    .bloc-A { display: both; }
    .bloc-E-bis { display: both; }        	  
	
.video-playlist { max-width: 700px; width: 100%; height: auto; aspect-ratio: 16 / 9; }	

}	
	 	
@media screen and (min-width: 769px) and (max-width: 100000px) {


   .points_short { display: none; }
    .bloc-E-ter { display: none; }       
   .displayed_on_mobile { display: none; }          	
   .td_comment { width: 285px; }
   /* .video-playlist { width: 700px; height: 394px;} */
   .video-playlist { max-width: 700px; width: 100%; height: auto; aspect-ratio: 16 / 9; }     
   
    .my_toggle_button {  display: none;  }     	
}
        
@media screen and (max-width: 768px) {
   .points_long { display: none; }
   .points_short { display: unset; }      
   .hidden_on_mobile { display: none; }      
   .displayed_on_mobile { display: unset; }          	
   .td_comment { width: 150px; }
      
}


#contents
{
background: #fff;
border: 1px solid #888888;
border-top: none;
clear: both;
margin: 0px;
padding: 15px;
} 


.decoration_gold {
border-style: solid;
border-width: 1px;
border-color: #000;
background-color: #f6f39e;
color: #000;
font-weight: bold;
margin-left: 1px; margin-right: 1px; margin-top: 0px; margin-bottom: 0px;
padding-left: 2px; padding-right: 2px; padding-top: 2px; padding-bottom: 2px;
font-size: 9px;
line-height: 1.9em;
display: inline;
}

.decoration_gold:hover {
background-color: #e8ffff;
color: #000;
border-color: #000;
}


.retrait {
margin-left: 10px; margin-right: 0px; margin-top: 0px; margin-bottom: 0px;
padding-left: 0px; padding-right: 0px; padding-top: 0px; padding-bottom: 0px;
 }

   table.prettytable {
      margin:1em 1em 1em 0;
      background:#e5e5e5;
      border:1px #AAA solid;
      border-collapse:collapse;
      }

   table.prettytable th, table.prettytable td {
      border:1px #AAA solid;
      padding:0.3em 0.3em 0.3em 0.3em;
      }

   table.prettytable th {
      background:#F2F2F2;
      text-align:center;
      }

   table.prettytable caption {
      margin-left:inherit;
      margin-right:inherit;
      }



/* boite onglets pub Amazon */

.tabbox { position: relative; top: 0; left: 0; width: 159px; height: 240px; }
		
.tabbox h2 { position: relative; margin: 0; left: 123px; padding: 0; width: 35px; border: solid #000; border-width: 1px 1px 0 0; 
				z-index: 2; background: #CECECE; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; 
				font-size: 12pt; }
.tabbox .last h2 { border-bottom-width: 1px; }
		
.tabbox h2 a { display: block; padding: 3px; margin: 0 1px 0 0; font-size: 8px; color: #000; text-decoration: none; }
.tabbox h2 a:hover { background: #FFC; }
		
.tabbox .tabpanel { position: absolute; top: 0; left: 0px; width: 122px; height: 240px; padding: 0px; 
				background: #eeeeee; border: 1px solid #000; border-top: 1px solid #000; z-index: 1; display: none; }
		
.tabbox .selected .tabpanel { display: block; }
.tabbox .selected h2 a { background: #eeeeee; margin: 0; cursor: default; }




ul.menu {
list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: xxxxcenter;
}

ul.menu li {
  flex-shrink: 0;           /* ✅ Empêche le redimensionnement */
  padding: 8px 14px;
  background-color: #f2f2f2;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 14px;
  white-space: nowrap;      /* ✅ Évite le retour à la ligne dans le texte */
}

    ul.menu li:hover {
      background-color: #d9d9d9;
    }

    ul.menu li.selected {
      background-color: #ff8888;
      color: white;
      font-weight: bold;
    }

/* debut cercles chart positions */    
    .chart-position-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.chart-position {
  display: inline-block;
  text-align: center;
  font-size: 0;
  width: 40px;
}

.chart-circle {
  width: 18px;
  height: 18px;
  line-height: 18px;
  border-radius: 50%;
  border: 1px solid #aaaaaa;
  color: #000;
  font-weight: bold;
  font-size: 9pt;
  margin: 0 auto;
}

.chart-label {
  font-size: 9px;
  color: #000000;
  margin-top: 2px;
}

/* fin cercles chart positions */

/* debut diodes */

.graphical-points {
  display: flex;
  flex-direction: column-reverse;
  width: 20px;
  gap: 1px;
}

.bar {
  height: 3px;
  border-radius: 2px;
}

.bar.on {
  background-color: #3ebc3e;
}

.bar.off {
  background-color: #777;
}
   
 /* fin diodes */
 
 
 /* debut square adsense */
.ad-square-banner {
  width: 98%;
  max-width: 800px;
  position: relative;
  min-height: 280px;
  background: #f4f4f4;
  margin: 0; 
}

@media (max-width: 768px) {
  .ad-square-banner {
    min-height: 344px;
  }
}

.ad-square-banner .ad-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 14px;
  background: #e0e0e0;
  z-index: 1;
}

.ad-square-banner .adsbygoogle {
  position: relative;
  z-index: 2;
}
 
 /* fin square adsense */
 
 
 
 
 
/* === Container principal === */
#navlist {
  display: flex;
  flex-wrap: wrap;        /* permet aux onglets de passer sur plusieurs lignes si nécessaire */
  gap: 2px;               /* léger espace entre onglets */
  border-bottom: 0px solid #888;
  margin: 10px 0px 0px 0px;
  padding: 4px 10px 5px 10px;
  background: #ffffff;
  font-family: Arial, sans-serif;
  list-style: none;       /* supprime bullets */
}

/* === Liste et items === */
#navlist ul,
#navlist li {
  display: inline-block;  /* horizontal */
  margin: 0;
  padding: 0;
  list-style: none;
  vertical-align: top;
}

/* === Liens principaux === */
#navlist a:link,
#navlist a:visited {
  display: inline-block;
  padding: 4px 8px;
  background: #e0e0e0;          /* fond moderne */
  border: 1px solid #888;
  border-bottom: 1px solid #fff; /* effet onglet */
  border-radius: 4px 4px 0 0;    /* coins arrondis en haut */
  font-weight: bold;
  font-size: 1.1em;
  line-height: 1.4;
  color: #555;
  text-decoration: none;

  white-space: normal;            /* permet le wrapping du texte */
  word-break: break-word;         /* coupe les mots trop longs */
  max-width: 200px;               /* largeur max onglet, ajustable */
  transition: all 0.2s ease;      /* animation hover */
}

/* Hover */
#navlist a:hover {
  background: #ddd;
  color: #c00;
}

/* Onglet actif */
#navlist a#current,
#navlist a:visited#current,
body.section-1 #navlist li#nav-1 a,
body.section-2 #navlist li#nav-2 a,
body.section-3 #navlist li#nav-3 a,
body.section-4 #navlist li#nav-4 a {
  background: #ffeeee;
  border-color: #441111;
  border-bottom: 1px solid #fff;
  color: #000;
}

/* === Sous-menus === */
#navlist ul[id^="subnav-"] {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  padding: 4px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 100;
}

/* Affichage du sous-menu actif */
body.section-1 #subnav-1,
body.section-2 #subnav-2,
body.section-3 #subnav-3,
body.section-4 #subnav-4 {
  display: block;
}

/* Liens sous-menu */
#navlist ul a {
  display: inline-block;
  padding: 2px 10px;
  background: #fff;
  border: none;
  border-left: 1px solid #888;
  font-size: 0.9em;
  font-weight: bold;
  color: #999;
  line-height: 1.2;
  text-decoration: none;

  white-space: normal;
  word-break: break-word;
}

#navlist ul a:hover {
  color: #f00 !important;
}

/* === Responsive léger pour mobile === */
@media (max-width: 600px) {
  #navlist a {
    max-width: 120px;        /* chaque onglet peut wrapper sur petits écrans */
  }
}


/* === WIDGET SORT BY === */


#sort-container {
    /* Exemple : placer à droite avec un peu de marge */
    display: flex;       /* ou inline-flex si tu veux à côté d’autres éléments */
    justify-content: flex-start;  /* alignement horizontal */
    align-items: center;        /* alignement vertical */
    margin: 8px 0px 0px 10px;          /* ajustable selon besoin */
}


#sort-widget {
  display: inline-flex;
  align-items: center;
  background: #f3f3f3;
  border: 1px solid #dddddd;
  border-radius: 4px;
  padding: 4px 8px;
  font-weight: 600;
  gap: 6px;
}

#sort-widget label {
  margin: 0;
  color: #555;
  white-space: nowrap;
}

#sort-widget select {
  background: #fff;
  border: 1px solid #666;
  border-radius: 4px;
  padding: 2px 6px;
  font-weight: 400;
  color: #555;
  cursor: pointer;
  min-width: 150px;
  white-space: normal; 
  word-break: break-word;
  transition: all 0.2s ease;
}

#sort-widget select:hover {
  border-color: #004080; /* couleur hover remplacée */
  color: #000000;
}

/* Optionnel : style pour mobile */
@media (max-width: 600px) {
  #sort-widget select {
    min-width: 120px; /* ajuste pour écrans petits */
  }
}


h1 .subtitle {
  display: block;
  font-size: 0.8em;
  font-weight: bold;
  margin-top: 0.2em;     
  line-height: 1; 
}
