/* Mobile jusqu'à 899px */

html,
body {
  margin: 0px;
  padding: 0px;
}

body {
  color: #d0d0d0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 15px;
  background-color: #1c1d1f;
}

/* -------------------------- */
/* DEBUT - BALISES GENERIQUES *//* -------------------------- */


a {
  color: #b1dcfb;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px; /*0.875rem;*/
  text-decoration: none;
  font-weight: bold;
}

ol,
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

ul.erreur {
  font-weight: bold;
  color: #dd0000;
}

img {
  margin: 0px;
  border: 0px;
}

textarea {
border-radius: 4px;
}

input[type="text"],
input[type="password"],
input[type="number"],
select {
  border: 1px solid #494949;
  border-radius : 4px;
  color: #d0d0d0;
  background-color: #191b1c;

}

input:focus,
select:focus,
textarea:focus,
.search-group:focus-within {
    outline: none;
    border-color: #5d6da6;
    box-shadow: 0 0 6px rgba(93, 109, 166, 0.5);
    transition: all 0.2s ease;
}

.search-group:focus-within input,
.search-group:focus-within select {
    outline: none;
    border-color: transparent;
    box-shadow: none;
}

/* --- Mise en forme --- */
.centrer {
  text-align: center;
}

.gras {
  text-shadow: 0.2px 0px;
  font-weight: bold;
}

.souligner {
  text-decoration: underline;
}
.italique {
  font-style: italic;
}
.red {
  color: #dd0000;
}
.noir {
  color: #000000;
}

.avertissement {
  font-weight: bold;
  padding: 4px;
  color: red;
  margin-bottom: 15px;
  text-align: center;
  display: block;
}

.avertissement img {
  width: 18px;
  vertical-align: sub;
}

video {
  min-height: 100px !important;
  max-width: 400px;
}

#message {
  color: #d0d0d0;
  background-color: #191b1c;
}

#messagemp {
  color: #d0d0d0;
  background-color: #191b1c;
  margin: 4px;
}

#destinataire {
  color: #d0d0d0;
  background-color: #191b1c;
  margin: 10px;
}

.inputBoutonV {
  vertical-align: sub;
  margin-left: 6px;
}

.messageOptions {
  float: right;
}

.surMessage {
  display: flex;
  align-items: center;
  margin: 0 2px;
  gap: 3px;
}

.ajouterLignes {
  margin-left: auto;
  color: #d0d0d0;
  font-size: 18px;
  cursor: pointer;
  background: none;
  border: none;
}

#logorisibank {
  float: right;
  margin-right: 10px;
}

/* Epinglage */

.epingler {
  position: sticky;
  background: #262a33;
  border-radius: 3px;
  padding: 4px;
  line-height: 22px;
  top: 0;
  z-index: 3;
}

.epingler a {
  display: block;
  color: #d0d0d0;
}

#desc {
  font-style: italic;
  font-weight: normal;
  padding-left: 25px;
}

#croixE {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: none;
  border: none;
  color: red;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}

/* Barre d'outils */

.barre-outils {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
	margin-bottom: 25px;
    padding: 0 5px;
    box-sizing: border-box;
}

.ligne-bbcode {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(18px, calc(10px + 1.2vw), 25px);   
    width: 100%;
    margin-bottom: 10px;
}

.bouton-bbcode {
    cursor: pointer;
    display: inline-block;
    flex-shrink: 0;
}

.barre-outils .bouton-bbcode {
    margin-left: 0;
}

#btn-plus-options {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
	cursor: pointer;
	font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.2s;
}

.eplus-transition {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   gap: clamp(18px, calc(10px + 1.2vw), 25px);
   width: 100%;
   max-height: 500px;
   overflow: hidden;
   transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out, margin 0.4s;
   opacity: 1;
   margin: 10px 0;
}

.eplus-transition.masquer {
    max-height: 0;
    opacity: 0;
    margin-bottom: 0;
    pointer-events: none;
}

#palette {
  height: 25px;
  width: 25px;
  border-radius: 2px;
  vertical-align: super;
  padding: 0px;
  background: #ffffff;
}

#mentions {
  background-color: #525baf;
  padding: 1px;
  border-radius: 2px;
}

#mentionList {
  display: none;
  font-weight: bold;
  position: absolute;
  right: 2.5%;
  top: 39px;
  max-height: 320px;
  list-style-type: none;
  cursor: pointer;
}

.psMentions {
  padding: 2px 6px;
  line-height: 33px;
}

.psMentions:nth-child(even) {
  background-color: #1f2125;
}

.psMentions:nth-child(odd) {
  background-color: #141212;
}

.psMentions:first-child {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.psMentions:last-child {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

/* Recherche avancée */

.search {
	position: relative;
	box-sizing: border-box;
	margin: 23px 6px;
}

#ligneComplete {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 5px;
	width: 100%;
}

.search-form {
	display: flex;
	align-items: center;
	flex: 0 1 auto;
	min-width: 0;
	gap: 5px;
	padding-right: 0;
}

.search input,
.search select {
	height: 30px;
	outline: none;
}

.search-group {
    display: flex;
	height: 30px;
    align-items: center;
    flex: 1;
    min-width: 0;
	background: #191b1c;
    border: 1px solid #494949;
    border-radius: 4px;
}

#rechercheInput {
    width: 100%;
    max-width: 125px;
    min-width: 50px;
    padding: 0 4px;
    border: none;
    box-sizing: border-box;
}

#listRecherche {
    border: none;
    box-sizing: border-box;
    cursor: pointer;
    flex-shrink: 0;
}

.botn-icon {
	height: 30px;
	padding: 0 10px;
	border: none;
	background: linear-gradient(150deg, #000000, #2a2a2a);
	color: white;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
	border-radius: 4px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	-webkit-tap-highlight-color: transparent;
	transition: transform 0.12s ease, filter 0.12s ease;
	flex-shrink: 0;
	white-space: nowrap;
}


.botn-icon:active {
	transform: scale(0.97);
	filter: brightness(0.95);
}

.botn-icon img {
	width: 18px;
	height: 18px;
	display: block;
}

.refresh-btn {
	position: static;
}

#OptionsMessage {
  margin-top: 14px;
  width: 100%;
  max-width: 400px;
}

.input-wrapper {
  margin-top: 14px;
  position: relative;
  width: 100%;
}

#topicInput {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 32px 8px 8px;
  font-size: 14px;
}

#topicSuggestions {
  background-color: #292a2d;
  position: absolute;
  z-index: 3;
  max-width: 95%;
  border-radius: 4px;
  margin-top: 10px;
}

#topicSuggestions::before {
  content: "";
  position: absolute;
  top: -19px;
  left: 5em;
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent #292a2d transparent;
}

.suggestion-item {
  line-height: 40px;
  font-size: 13px;
  color: #fff;
  padding: 0 10px;
  cursor: pointer;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


#croixR {
  color: red;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  user-select: none;
}

/* SONDAGE */

.sondageform {
  list-style: none;
  padding: 0;
  margin: 0 5px;
}

.sondageform li {
  margin: 20px 0;
}

#fsondage label {
  margin-left: 10px;
  font-size: 1.2em;
}

#fsondage input[type="text"] {
  width: 80%;
  height: 20px;
}

.sondage {
  width: 100%;
  min-height: 161px;
}

.bodysondage {
  padding-left: 5px;
}

.boutonSondage {
  margin: 10px 5px 5px 5px;
  background-color: #ebdbdb;
  border: 2px solid #ebdbdb;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

.lreponses {
  width: 95%;
  padding-top: 10px;
  padding-bottom: 10px;
}

.lreponses input {
  margin-right: 0.6em;
}

.lreponses label {
  position: relative;
  bottom: 1px;
  overflow-wrap: anywhere;
}

.options {
  margin-right: 126px;
  display: inline-table;
  overflow-wrap: anywhere;
}

.voixpourcent {
  display: inline;
  position : absolute;
  right : 5.5%;
  cursor : pointer;
  user-select : none;
  -webkit-tap-highlight-color : transparent;
}

h5 {
  color: #e5e7eb;
  font-size: 1.5em;
  margin: 0.6em 0 0.5em 0;
}

#barrepleine {
  background-color: #2a3440;
  height: 15px;
  width: 95%;
  display: inline-block;
  border-radius: 4px;
}

#barreajustable {
  background-color: #3cb894;
  height: 15px;
  border-radius: 4px;
}

.barre-1 #barreajustable { background-color: #3cb894; }
.barre-2 #barreajustable { background-color: #FF8800; }
.barre-3 #barreajustable { background-color: #AA66CC; }
.barre-4 #barreajustable { background-color: #FF7563; }
.barre-5 #barreajustable { background-color: #FFBB33; }

.voixpourcent .lvotants {
  position : absolute;
  right : 0;
  top : 100%;
  padding : 4px;
  border-radius : 4px;
  color : white;
  font-weight : bold;
  background-color : #323438;
  font-size : 12px;
  font-style : italic;
  z-index : 10;
  max-width : 150px;
  opacity : 0;
  visibility : hidden;
  transition : opacity 0.2s ease, visibility 0.2s;
  pointer-events : none;
}

.voixpourcent .lvotants.actif {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* SONDAGE FIN */

/* Début halloffame */

.plusmoins {
  display: inline-flex;
  width: 100%;
  margin-top: 5px;
}

/* Boutons de base (Actif, Bloqué, Voté) */

.pcounter,
.pblock {
  background: transparent;
  border: none;
  padding: 0px;
  display: flex;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

/* Positionnement du chiffre (value) */
.pcounter .value,
.pblock .value {
  position: absolute;
  font-size: 10px;
  font-weight: bold;
  color: #9f1d1d;
  transform: translate(-0.5px, 5.25px); 
  pointer-events: none; /* Empêche le texte de gêner le clic sur l'étoile */
}

/* L'infobulle "Vote interdit !" */
.pcounter.b .voteint {
  position: absolute;
  padding: 4px;
  width: 71px;
  margin-left: 9em;
  color: #fff;
  border-radius: 4px;
  background-color: #323438;
  visibility: hidden;
  font-size: 12px;
  font-style: italic;
  z-index: 20;
}

/* Affichage de l'infobulle au focus/clic */
.pcounter.b:focus .voteint {
  visibility: visible;
}

/* Curseur interdit pour la classe b */
.pcounter.b {
  cursor: not-allowed;
}

.hidden {
  display: none;
}

.etoileurs {
  position: relative;
  display: flex;
  border-radius: 3px;
  font-weight: bold;
  color: #3cb894;
  align-items: center;
  width: 100%;
  user-select: none;
}

.zonetap {
  margin-left: auto;
  padding: 2px 8px;
  font-size: 11px;
  color: #777777;
  cursor: pointer;
}

/* Infobulle "letoileurs" */
.etoileurs .letoileurs {
  position: absolute;
  bottom: 0;
  left: 23px;
  padding: 4px;
  border-radius: 4px;
  color: white;
  background-color: #323438;
  font-size: 12px;
  font-style: italic;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: all 0.2s ease;
  pointer-events: none;
}

.etoileurs .letoileurs.actif {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.conteneur-bouton {
  -webkit-tap-highlight-color: transparent;
}

/* --- Base de l'étoile --- */
.star-svg {
    width: 20px;
    height: 20px;
    stroke: #FFAB42;
    stroke-width: 5;
    stroke-linejoin: round;
    stroke-linecap: round;
    vertical-align: middle;
    transition: all 0.3s ease;
}

/* --- Cas 1 : Pas voté (< 4 étoiles) --- */
.pcounter:not(.hof) .star-svg {
    fill: none;
    opacity: 0.3;
}

/* --- Cas 2 : Voté (< 4 étoiles) --- */
.pblock:not(.hof) .star-svg {
    fill: #FFAB42;
    opacity: 1;
}

/* --- Cas 3 : Propre message (< 4 étoiles) --- */
.pcounter.b:not(.hof) .star-svg {
    stroke: #ccc;
    fill: none;
    opacity: 0.3;
    cursor: not-allowed;
}

/* Glow Doré et agrandissement pour TOUS les messages à 4+ */
.hof .star-svg {
    stroke: #FFB300; 
    /* Utilisation du RGB de #FFB300 : 255, 179, 0 */
    filter: drop-shadow(0px 0px 3px rgba(255, 179, 0, 0.9)) drop-shadow(0px 0px 8px rgba(255, 179, 0, 0.6));
    opacity: 1; 
}

/* Si 4+ mais pas voté (ou vote interdit sur son propre message) : vide mais contour doré */
.hof.pcounter .star-svg,
.hof.pcounter.b .star-svg {
    fill: none;
}

/* Si on a voté ET que c'est 4+ : Remplissage Doré */
.hof.pblock .star-svg {
    fill: #FFB300;
}

/* 1. Animation Classique (1 à 3 étoiles) : Petit pop avec léger glow orange */
@keyframes starExplosionNormal {
    0% { transform: scale(1); }
    50% { 
        transform: scale(1.4); 
        filter: drop-shadow(0px 0px 5px rgba(255, 171, 66, 0.8)); /* Glow orange temporaire */
    }
    100% { transform: scale(1); filter: drop-shadow(0px 0px 0px rgba(255, 171, 66, 0)); }
}

.animate-normal .star-svg {
    animation: starExplosionNormal 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* 2. Animation Hall Of Fame (4 étoiles et +) : Gros pop avec glow doré intense */
@keyframes starExplosionHof {
    0% { transform: scale(1); }
    50% { 
        transform: scale(1.4); 
        filter: drop-shadow(0px 0px 6px rgba(255, 179, 0, 1)) drop-shadow(0px 0px 15px rgba(255, 179, 0, 0.8)); 
    }
    100% { 
        transform: scale(1); 
        filter: drop-shadow(0px 0px 3px rgba(255, 179, 0, 0.9)) drop-shadow(0px 0px 8px rgba(255, 179, 0, 0.6)); 
    }
}

.animate-hof .star-svg {
    animation: starExplosionHof 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.pcounter.b .star-svg {
    cursor: not-allowed;
}

/* Message édité */

.edition {
  color: #b1aca2;
  font: italic 10px Arial;
  margin: 0px 15px 0 15px;
  cursor: pointer;
  user-select : none;
}

.original {
  display: none;
  border: 1px solid #232323;
  border-radius: 5px;
  background-color: #33596f;
  padding: 4px;
  width: 93%;
  margin: 10px auto 3px;
  font-style: italic;
  overflow-wrap: break-word;
}

/* Outils */
.vfavoris,
.pfavoris,
.bcopier {
  background: transparent;
  font-weight: bold;
  font-size: 14px;
  border: none;
  cursor: pointer;
  color: #d0d0d0;
}

#list_msg ul .outils {
  display: none;
  background: #262a33;
  position: absolute;
  line-height: 30px;
  border-radius: 4px;
  z-index: 1;
}

.outils li {
  font-weight: bold;
  padding: 4px;
}

.outils input[type="text"] {
  width: 170px;
  margin-left: -5px;
}

.outils li img {
  vertical-align: sub;
  padding-right: 14px;
  filter: invert(100%);
}

.outils li a:active img,
.outils li button:active img {
    transform: scale(1.2);
}
.outils li a img,
.outils li button img {
    transition: transform 0.15s ease;
}

.favorisA {
  margin-bottom: -4px;
  filter: invert(100%);
  height: 18px;
}

.outils-link {
  margin-right: 4px;
  padding-bottom: 5px;
  cursor: pointer;
  user-select : none;
}

.outils-link:active {
  -webkit-tap-highlight-color: transparent;
}

.date .outils-link a {
  margin-left: 0.5em;
  color: #d0d0d0;
  font-size: 14px;
}

/* Fin Outils */

.cacher {
  display: none;
}
.montrer {
  display: block;
  margin: 4px;
}
.toggle-spoiler {
  margin: 5px;
  width: 75px;
  background-color: #fd374e;
  border: 2px solid #fd374e;
  border-radius: 4px;
  font-weight: bold;
  color: white;
}

#nomt {
  position: absolute;
  left: 40px;
}

.lienMessage {
  margin-top: 5px;
}

.lienMessage a,
#nomt a {
  color: #b1aca2;
  font: normal 11px Arial;
}

#imageposte {
  max-width: 80%;
  max-height: 350px;
}

#stickers {
  max-width: 80px;
}

.pseudoclr {
  font-weight: bold;
  color: #e8e6e2;
}
.alerteco {
  font-weight: bold;
  color: orange;
}
.nbMessageNonlu a {
  font-size: 110%;
  font-weight: bold;
  color: #c70060;
}

.sepb {
  color: #b1aca2;
}
#smileys {
  display: none;
}

#smile {
  background: #1c1d1f;
  border-collapse: collapse;
  width: 100%;
}

#smile td {
  cursor: pointer;
  border: solid thin;
  border-color: #232323;
  height: 50px;
  width: 25%;
}

#smile td img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#smile tr {
  width: 100%;
}

.iavatar img {
  min-height: 40px;
  max-width: 40px;
  max-height: 45px;
  border-radius: 15%;
  float: left;
  margin-top: 7px;
  padding: 5px;
}

/* Barre de menu mobile */

/* =========================================
   UTILITAIRES & COMMUN (Base)
   ========================================= */
   
#menu,
#menu a {
  color: #ffffff;
  font-size: 15px;
  font-weight: bold;
}

.position-relative {
  position: relative;
}
.cursor-pointer {
  cursor: pointer;
}

.mobile-center {
  margin: auto;
}

/* Badge rouge (Notifs/MP) commun aux deux versions */
.badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: red;
  color: white;
  border-radius: 50%;
  padding: 2px 5px;
  font-size: 10px;
}

/* Images et icônes */
.nav-icon img,
.nav-avatar img {
  vertical-align: middle;
  display: block;
}
.nav-icon {
  margin-left: 5px;
  margin-right: 5px;
}

.deco-btn
{
 margin-left: 2px;
 margin-right: 2px;
 padding: 3px;
}

/* Sous-menus (Cachés par défaut) */
.submenu {
  display: none;
  position: absolute;
  right: 0;
  top: 93%;
  background: #18191b;
  font-size: 14px;
  color: #333;
  border-radius: 0 0 8px 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 2000;
  white-space: nowrap;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: left;
  cursor: pointer;
}
.submenu li {
  padding: 8px;
}

.submenu li a,
.submenu li.notif-action {
}

.notif-action {
  font-size: 10px;
  display: flex;
  flex-direction: row-reverse;
  font-weight: normal;
}

.has-submenu.actif .submenu {
  display: block;
}

.notification-list {
  position: absolute;
  background: #18191b;
  right: -3em;
  border-radius: 0px 4px 4px 4px;
  z-index: 1;
}

.notification-list li {
  padding: 10px;
  cursor: pointer;
}

/* =========================================
   BARRE MOBILE (Affichée par défaut)
   ========================================= */
#barremobile {
  background: #1b1d21;
  height: 33px;
  font-size: 14px;
  color: #ffffff;
  font-weight: bold;
  margin-bottom: 35px;
  -webkit-tap-highlight-color: transparent;
  /* Flexbox pour l'alignement */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px;
}

/* Groupes gauche et droite mobile */
.mobile-left,
.mobile-right {
  display: flex;
  align-items: center;
  gap: 15px;
}
.mobile-right .nav-avatar img {
  width: 2em;
  height: 2em;
  border-radius: 50%;
}

/* Menu slide-out (Hamburger) */
#mobile-menu {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background: #181818;
  transition: left 0.3s ease;
  z-index: 3000;
  padding-top: 50px;
}
#mobile-menu.open {
  left: 0;
}
#mobile-menu ul {
  list-style: none;
  padding: 0;
}
#mobile-menu li a {
  display: block;
  padding: 15px;
  color: white;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
body.menu-open {
  overflow: hidden;
}
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 2900;
}
#overlay.active {
  display: block;
}
#close-menu {
  position: absolute;
  top: 5px;
  left: 8px;
  background: none;
  border: none;
  color: white;
  font-size: 22px;
  cursor: pointer;
}

/* --- Membres connectés --- */
#connectes {
  padding: 4px;
  font-weight: bold;
  color: #d0d0d0;
}

/* --- Pied de page --- */
#pied {
  background: #181818;
  padding: 17px 0;
  color: #d0d0d0;
  text-align: center;
  font: normal 15px Helvetica, Arial, sans-serif;
}

#pied a {
  color: #face00;
}

/* ----------------------------- */
/* FIN - POSITIONNEMENT DU SITE  */
/* ----------------------------- */

/* -------------------------------- */
/* DEBUT - Elements Globaux au site */
/* ------------------------------- */



/* --- Système de pagination --- */
.page {
  display: flex;
  flex-wrap: wrap;
  color: #000000;
  justify-content: center;
  margin: 10px 3px;
  gap: clamp(3px, 1vw, 9px);
}

.page a {
  text-decoration: none;
  font-size: 13px;
  background: #232323;
  color: #fff;
  border-color: #232323;
  border-radius: 4px;
  padding: 4px;
  margin: 5px;
}

#pageActuelle {
  color: #ffffff;
  background: #21669a;
  border-color: #21669a;
  padding: 4px;
  font-weight: bold;
  font-size: 13px;
  margin: 5px;
}

.pageActuelle {
  color: #000000;
  background: orange;
  padding-left: 1px;
  padding-right: 1px;
  font-weight: bold;
  font-size: 15px;
}
.citer {
  border: 1px solid #232323;
  border-radius: 5px;
  background-color: #33596f;
  padding: 4px;
  width: 93%;
  margin: 3px auto;
  font-style: italic;
}
.quote {
  border-radius: 3px;
  background-color: #5c2124;
  padding: 2px;
}

/* --- Lignes de Séparation --- */
.separate {
  height: 1px;
  margin-top: 5px;
  margin-bottom: 5px;
}

/* --- Système de pagination forum ---*/

.pagination {
  display: flex;
  justify-content: right;
  gap: 10px;
  margin: 10px 6px;
  flex-wrap: wrap;
}

/* --- Couleur grades --- */
.admin {
  color: #cc0000;
}

.moderateur {
  color: #191970;
}

/* ------------------------------ */
/* FIN - Elements Globaux au site */
/* ------------------------------ */

/* -----------------------------  */
/* DEBUT - STYLE DES FORMULAIRES  */
/* -----------------------------  */
  .formulaire {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .formulaire li {
    margin: 20px 0;
  }
  
  .formulaire li.center {
    text-align: center;
  }  

/* ---------------------------- */
/* FIN - STYLE DES FORMULAIRES  */
/* ---------------------------- */

/* ---------------- */
/* DEBUT - Bloc n°0 */
/* ---------------- */

.bloc3 h2 {
  font-size: 0.85em;
  background: #232323;
  color: #ffffff;
  padding-left: 4px;
  padding-top: 3px;
  font-family: Arial, sans-serif;
  height: 19px;
  margin: 0;
}

.bloc h3 {
  font-size: 14px;
  background: #3c3c3c;
  color: #ffffff;
  padding-left: 5px;
  padding-top: 8px;
  font-family: Helvetica, Arial, sans-serif;
  height: 25px;
  margin: 0;
  text-transform: uppercase;
}

.bloc .texte {
  font-size: 14px;
  padding: 4px;
  background: #202324;
  border: 1px solid #bddfef;
  border-left: none;
  border-right: none;
  margin-bottom: 15px;
}

/* -------------- */
/* FIN - Bloc n°0 */
/* -------------- */

/* ---------------- */
/* DEBUT - Bloc n°1 */
/* ---------------- */
.bloc1 h3 {
  display: none;
}

.bloc1 .texte {
  font-size: 15px;
  padding: 4px;
  background: #1c1d1f;
  margin-bottom: 10px;
  overflow-wrap: break-word;
}

.bloc1 label {
  font-weight: bold;
  margin: 2.5px;
  color: #d0d0d0;
}
/* ---------------- */
/* FIN - Bloc n°1 */
/* ---------------- */

/* ---------------- */
/* DEBUT - Bloc n°2 */
/* ---------------- */

.bloc2 h3 {
  font-size: 14px;

  background: #191b1c;
  color: #d0d0d0;
  padding-left: 5px;
  padding-top: 8px;
  font-family: Helvetica, Arial, sans-serif;
  height: 25px;
  margin: 0;
  text-transform: uppercase;
}

.bloc2 .texte {
  font-size: 15px;
  padding: 4px;
  background: #191b1c;
  border: 3px solid #232323;
  margin: 0;
  margin-bottom: 15px;
}

/* -------------- */
/* FIN - Bloc n°2 */
/* -------------- */

/* ---------------- */
/* DEBUT - Bloc n°3 */
/* ---------------- */

.bloc3 h3 {
  font-size: 14px;
  background: #2a2d2f;
  color: #ffffff;
  padding-left: 5px;
  padding-top: 8px;
  font-family: Helvetica, Arial, sans-serif;
  height: 25px;
  margin: 0;
  text-transform: uppercase;
}

.bloc3 h3 a {
  color: #fff;
}

.bloc3 .texte {
  font-size: 15px;
  padding: 4px;
  background: #000000;
  border: 1px solid #bddfef;
  margin-bottom: 15px;
}
/* -------------- */
/* FIN - Bloc n°3 */
/* -------------- */

/* --- Topic --- */
.decalage {
  margin-left: 16px;
}

.blocTitre {
margin: 37px 0;
}

.titreSujet {
  text-align: center;
  color: orange;
  font-size: 16px;
  font-weight: bold;
}

.titrePetit {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-size: 14px;
  font-style: italic;
  font-weight: bold;
}

.barre-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 15px 5px;
}

.barre-actions.reverse {
  flex-direction: row-reverse;
}

.barre-actions.center {
  justify-content: center;
}

.barre-actions.end {
  justify-content: end;
}

.barre-botn {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  outline: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.barre-botn-primary {
   background: #0f1d4d;
   color: white;
}

.barre-botn-secondary {
  background: transparent;
  color: white;
  border: 1px solid #34343c;
}

.barre-botn:active {
  transform: scale(0.97);
}

/* --- Design listage topic --- */
.pseudo {
  color: #ece8e4;
}

.navig_sujets td {
  font-weight: bold;
  padding: 8px 3px;
}

.sousSujet {
  color: black;
  font-size: 0.8em;
  margin: 0;
  position: absolute;
}

#liste_topics {
  margin-bottom: 15px;
}

#liste_topics p,
h3 {
  margin: 0;
  padding: 0;
}

#liste_topics h3 {
  font-size: 15px;
  color: #e8e6e2;
  text-align: center;
  background: #2a2d2f;
  padding: 8px 3px;
}

#liste_topics ul {
  border-bottom: solid 2px #232323;
}

#liste_topics li {
  font-weight: bold;
  background: #191b1c;
  border-top: solid 1.5px #232323;
  position: relative;
}

#liste_topics li.n2 {
  background: #1f2125;
  border-top: solid 1.5px #232323;
}

#liste_topics li a {
  display: block;
  padding: 5px 3px;
  text-decoration: none;
}

#liste_topics a strong {
  color: #a8bdbc;
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
  overflow: hidden;
}

#liste_topics img {
  margin-right: 6px;
}

#liste_topics br {
  display: none;
}

#liste_topics a strong span {
  color: #d7e8dc;
}

#liste_topics .dtm,
.dt {
  float: right;
  color: #d0d0d0;
  font-size: 11px;
  margin-top: 2px;
  position: absolute;
  right: 3px;
  bottom: 5px;
}

#liste_topics .pseudo {
  font-size: 13px;
  margin-left: 22px;
}

#liste_topics .nbgras {
  font-size: 110%;
  font-weight: bold;
  color: #ca4b4b;
}

/* Fin - listage topic */

/* --- Listage des messages --- */

#list_msg {
  margin-bottom: 25px;
}
#list_msg ul {
  background: #191b1c;
  padding: 0 3px 2px 5px;
  line-height: 18px;
  margin: 0;
  /*   border-bottom: solid 5px #232323 ; */
}
#list_msg ul.m2 {
  background: #1f2125;
}
#list_msg h3 {
  padding: 12px 0 5px 0;
}
.cdv {
  font-size: 13px;
  color: #fff;
  padding: 2px 3px 1px 3px;
  background: #6ebd1a;
}
.alert {
  color: #fff;
  padding: 2px 5px 1px 5px;
  font-weight: bold;
  background: #c30;
}
.date {
  color: #b1aca2;
  font-size: 11px;
  font-weight: bold;
  border-bottom: solid 1px #232323;
  padding-bottom: 5px;
  margin-bottom: 5px;
}
.date a {
  color: #b1aca2;
  font-size: 11px;
  font-weight: bold;
  margin-right: 4px;
}
.mob {
  color: #f30;
}
.suite {
  color: #c00;
  font-weight: bold;
}
.post {
  overflow-wrap: break-word;
  line-height: 1.2;
}

.post a span {
  position: absolute;
  left: -9999em;
  letter-spacing: -1em;
}

/* Style du lien "Lire la suite" */

.read-more {
  position: relative;
  text-align: center;
  margin: 5px auto -5px;
}
.read-more a {
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
}
.read-more::before {
  content: "";
  position: absolute;
  bottom: 23px;
  left: 0;
  right: 0;
  height: 50px;
  pointer-events: none;
}
.m1 .read-more::before {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #191b1c);
}
.m2 .read-more::before {
  background: linear-gradient(to bottom, rgba(233, 239, 250, 0), #1f2125);
}
.collapse {
  max-height: 350px;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}
.expand {
  max-height: unset;
  overflow: visible;
  transition: max-height 0.5s ease-in;
}

#list_msg p.centrer {
  font-weight: bold;
  margin: 8px;
}
/* Fin - Listage des messages */

/*Debut - Article */

.article {
  text-align: center;
  border: 1px solid #232323;
  border-radius: 10px;
  background-color: #33596f;
  padding: 4px;
  width: 93%;
  max-width: 500px;
  margin: auto;
  margin-bottom: 4px;
}

.article_image img {
  margin-top: 10px;
  border-radius: 6px;
  text-align: center;
  max-width: 75%;
  max-height: 200px;
}

.article_titre {
  margin-top: 8px;
  padding: 2%;
  width: 96%;
  font-size: 18px;
  font-weight: bold;
}

.article_url {
  margin-top: 10px;
  font-size: 10px;
}

.article_description {
  margin-top: 10px;
  font-size: 14px;
  font-style: italic;
}

/*pour cacher les élements bureau sur la version mobile */

tr.bureau,
.dtbureau,
.nbbureau,
.membresl,
#barrebureau {
  display: none;
}

@media only screen and (min-width: 900px) {
  body {
    width: auto;
    position: relative;
    min-height: 90.6vh;
    padding-bottom: 5.5rem;
  }



  /*pour cacher les élements mobile sur la version bureau */

  .dtm,
  .nbmobile,
  #barremobile,
  #haut {
    display: none;
  }

  #imageposte {
    max-width: 65%;
    max-height: 350px;
  }

  #bodysansbarre {
    width: 750px;
    margin-left: auto;
    margin-right: auto;
  }

  /*barre menu bureau */

  #menu {
    position: sticky;
    top: 0;
    z-index: 2500;
  }

  #barrebureau {
    display: flex;
	margin-bottom: 20px;
    background: #232323;
    height: 50px;
    width: 100%;
    justify-content: center;
  }

  .bureau-container {
    width: 750px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
  }

  .bureau-left,
  .bureau-right {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 30px;
  }

  .bureau-left a,
  .pseudo-text {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
  }

  .bureau-right .nav-avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
  }

  .user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .bureau-left .submenu {
    top: 34px;
    right: auto;
  }
  
  .submenu {
    background: #232323
	 }


  /*forum bureau */

  .dtbureau {
    display: block;
  }

  .nbbureau {
    display: block;
    color: #d0d0d0;
    font-size: 13px;
    position: absolute;
    right: 16%;
    bottom: 6px;
  }

  .dtbureau a {
    color: #a8bdbc;
    font-size: 11px;
    position: absolute;
    right: 0.2em;
    bottom: 3px;
  }

  tr.bureau {
    display: block;
    background: #2a2d2f;
    margin: -2px;
    padding: 5px 4px;
    border-radius: 8px 8px 0px 0px;
  }

  table,
  tbody {
    width: 100%;
  }

  th.col2 {
    width: 39%;
  }

  th.col3 {
    width: 18%;
  }

  th.col4 {
    width: 6%;
  }

  th.col5 {
    width: 9%;
  }

  #rechercheInput {
	max-width: unset;
	width: 30ch;
  }

  #liste_topics a strong {
    display: unset;
  }

  #liste_topics .pseudo {
    position: absolute;
    left: 62%;
    bottom: 6px;
  }

  #liste_topics li a {
    padding: 0.4em 0.5em; /*hauteur des lignes des sujets*/
  }

  #liste_topics img {
    margin-right: 0.8em;
  }

  #liste_topics ul {
    border-bottom: solid 2px #191b1c;
    border-radius: 7px;
  }
  #liste_topics h3 {
    display: none;
    border-radius: 8px 8px 0px 0px;
  }
  #liste_topics .dt {
    margin-right: 0.3em;
    bottom: unset;
    color: #a8bdbc;
  }

  #list_msg ul {
    margin-bottom: 1em;
  }
  #list_msg {
    margin-top: 18px;
  }
  #message {
    width: 75%;
  }

  .m1 {
    border-radius: 0.3em;
    scroll-margin-top: 3.5em;
  }

  .m2 {
    border-radius: 0.3em;
    scroll-margin-top: 3.5em;
  }

  .post {
    margin: 0.6em 0.6em 0em 0.6em;
  }

  .iavatar img {
    margin-left: 0.6em;
  }

  .pseudo,
  .date a,
  .outils-link {
    margin-left: 0.5em;
  }

  li.date.recherche,
  li.post.recherche {
    margin-left: 1em;
  }

  .lienMessage a {
    display: flex;
    flex-direction: row-reverse;
  }

  .bloc1 .texte {
    padding: 7px;
    background: #191b1c;
    border-radius: 0.3em;
  }

  .bloc2 h3,
  .bloc2 .texte {
    border: unset;
    border-radius: 5px;
    margin: 0.5em 0em;
    padding-left: 0.4em;
  }

  .citer,
  .original {
    border-color: #1c1e20;
    background-color: #2f3236;
  }

  .plusmoins {
    flex-direction: row-reverse;
  }
  
   .etoileurs {
    flex-direction: row-reverse;
  }

  .etoileurs .letoileurs {
    left: unset;
    right: 30px;
  }

  .pcounter,
  .pcounterb {
    width: 2em;
    padding: 1px;
  }

  .pblock {
    width: 2em;
    padding: 1px;
  }

  .pcounterb .voteint {
    margin-left: -9em;
  }

  #pied {
    position: absolute;
    bottom: 0;
    width: 100%;
  }

  #nomt {
    position: unset;
    margin-left: 8px;
    width: 100%;
  }
  
  .epingler {
    top: 3.3em;
    z-index: 3;
}
}

@media only screen and (min-width: 1200px) {
  body {
    width: 100%;
  }
  
  .bureau-container {
    width: 1050px;
  }

  #bodysansbarre {
    width: 1050px;
    margin-left: auto;
    margin-right: auto;
  }

  #connectes {
    display: none;
  }

  #corps {
    width: 750px;
  }

  /*liste connectés bureau*/
  .membresl {
    display: block;
    width: 240px;
    position: sticky;
    top: 153px;
    float: right;
  }
  .membreslT {
    background: #2a2d2f;
    padding: 5px 4px;
    border-radius: 8px 8px 0px 0px;
    text-align: center;
  }

  .listeb {
    background: #191b1c;
    padding: 5px 4px;
    border-radius: 0px 0px 8px 8px;
    text-align: center;
    line-height: 1.2em;
  }

  .listeb a {
    color: #a8bdbc;
  }


}

@media (hover: hover) and (pointer: fine) {

  a:hover {
    color: #f7734a;
  }
    
.voixpourcent:hover .lvotants {
opacity: 1;
visibility: visible;
pointer-events: auto;
}
  /* Interaction etoile : Survol quand on peut voter */
	.pcounter:not(.b):hover .star-svg {
    opacity: 1;       
    stroke-width: 6; 
    transform: scale(1.1);
  }
	
.zonetap{
display : none;
}

.conteneur-bouton:hover ~ .letoileurs {
  opacity : 1;
  visibility : visible;
  transform : translateY(0);
  transition-delay : 0.1s;
}

  .has-submenu:hover .submenu {
    display: block;
  }
  
    .listeb a:hover {
    color: #f7734a !important;
  }

  #liste_topics a strong:hover {
    color: #f7734a;
  }

  .dtbureau a:hover {
    color: #f7734a;
  }
  
  #prefs li a:hover {
  color: #ff6600;
}
.barre-botn:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
  color: unset;
}

.page a:hover {
  text-decoration: none;
  font-size: 13px;
  color: #ff5500;
}

.suggestion-item:hover {
  background-color: #3f4042;
  border-radius: 10px;
}

.botn-icon:hover {
	filter: brightness(1.05);
	transform: scale(1.05);
	color: unset;
}

#btn-plus-options:hover {
    transform: scale(1.2);
    color: #000;
}
.epingler a:hover {
  color: #d0d0d0;
}

}


