/* ============================================================
   stades-spectateurs — stylefoot
   Redesign 2025 : sobre, lisible, style stade sous les projecteurs
   Palette : blanc / gris clair / orange #e65100 / bleu nuit #1a237e
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: #f0f2f5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 13px;
  color: #222;
  width: 100%;
}

#global {
  position: absolute;
  width: 100%;
  background: #fff;
}

/* ── BANDEAU HAUT ── */
#menuhaut {
  width: 100%;
  background: #1a237e;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 16px;
  border-bottom: 3px solid #e65100;
  text-align: center;
  position: relative;
}

.btn-home {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 22px;
  text-decoration: none;
  line-height: 1;
}


/* ── WRAPPER COLONNES (ancre l'alignement menus/corps) ── */
#content-area {
  position: relative;
}

/* ── MENU GAUCHE ── */
#menugauche {
  position: absolute;
  top: 0;
  margin-top: 0;
  left: 0%;
  width: 13%;
  background-color: #f3f4f8;
  border-right: 1px solid #dde3ea;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 12px;
}

#menugauche h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: #fff;
  background-color: #1a237e;
  border-left: 3px solid #e65100;
  margin: 0;
  padding: 6px 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#menugauche a {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  display: block;
  color: #333;
  text-align: left;
  line-height: normal;
  height: auto;
  width: auto;
  margin: 0;
  padding: 5px 8px 5px 12px;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background 0.15s, color 0.15s;
}

#menugauche a:hover {
  background: #fff3e0;
  color: #e65100;
  border-left-color: #e65100;
  text-decoration: none;
}

#menugauche ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  text-align: left;
}

#menugauche li h2 {
  margin: 0;
  padding: 6px 8px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  background-color: #1a237e;
  border-left: 3px solid #e65100;
  width: 100%;
  letter-spacing: 0.5px;
}

#menugauche li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #ececec;
}

#menugauche li a {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  color: #333;
  text-align: left;
  line-height: normal;
  width: auto;
  margin: 0;
  padding: 5px 8px 5px 12px;
}

#pub {
  margin: auto;
  width: 100%;
  display: none;
  z-index: 4;
}

#corps {
  position: relative;
  margin-top: 0;
  margin-left: 15%;
  width: 70%;
  z-index: 4;
  overflow-x: auto;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#dwindow {
  position: absolute;
  background-color: #fff3e0;
  border: 1px solid #9fa8da;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  z-index: 44;
}

#pubvertical {
  position: absolute;
  top: 520px;
  left: 0px;
  width: 150px;
}

/* ── MENU DROITE ── */
#menudroite {
  position: absolute;
  top: 0;
  margin-top: 0;
  right: 0;
  width: 13%;
  background-color: #f3f4f8;
  border-left: 1px solid #dde3ea;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 12px;
}

#menudroite h1 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  background-color: #1a237e;
  border-left: 3px solid #e65100;
  width: 100%;
  margin: 0;
  padding: 6px 8px;
  letter-spacing: 0.5px;
}

#menudroite h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: #fff;
  background-color: #1a237e;
  border-left: 3px solid #e65100;
  margin: 0;
  padding: 6px 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#menudroite a {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  color: #333;
  text-align: left;
  line-height: normal;
  height: auto;
  width: auto;
  margin: 0;
  padding: 5px 8px;
  text-decoration: none;
  transition: background 0.15s;
}

#menudroite a:hover {
  background: #fff3e0;
  color: #e65100;
  text-decoration: none;
}

#menudroite ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  text-align: left;
}

#menudroite li h2 {
  margin: 0;
  padding: 6px 8px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  background-color: #1a237e;
  width: 100%;
}

#menudroite li {
  display: block;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #ececec;
}

#menudroite li a {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 11px;
  color: #333;
  text-align: left;
  line-height: normal;
  width: auto;
  margin: 0;
  padding: 3px 4px;
}

#patience {
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: #fff3e0;
  padding: 10px;
  width: 80px;
  height: 80px;
  background-position: center center;
  border: 2px solid #e65100;
  border-radius: 6px;
  z-index: 4;
}

/* ── LIENS ── */
a, a:visited, a:link, a:active {
  color: #283593;
  text-decoration: none;
}

a.normal, a.normal:active, a.normal:hover, a.normal:link, a.normal:visited {
  text-decoration: underline;
}

a:hover {
  color: #e65100;
  text-decoration: underline;
}

a.retour {
  display: block;
  position: absolute;
  left: 50%;
  text-decoration: none;
  color: #283593;
  width: 70px;
}

a.retour:link {
  display: block;
  position: absolute;
  left: 50%;
  color: #283593;
  text-decoration: none;
  width: 70px;
}

a.retour:hover {
  display: block;
  position: absolute;
  left: 50%;
  color: #e65100;
  text-decoration: underline;
  width: 70px;
}

a.retour:active {
  display: block;
  position: absolute;
  left: 50%;
  color: #283593;
  text-decoration: none;
  width: 70px;
}

/* ── TITRES GLOBAUX ── */
h1 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  background-color: #e65100;
  width: 100%;
  margin: 0 0 8px 0;
  padding: 7px 12px;
  border-radius: 2px;
}

h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 600;
  text-align: left;
  font-size: 12px;
  color: #fff;
  background-color: #283593;
  margin: 0 0 5px 0;
  padding: 5px 10px;
  border-radius: 2px;
}

th {
  background-color: #1a237e;
  color: #fff;
  font-weight: 600;
  padding: 6px 8px;
  font-size: 11px;
  text-transform: uppercase;
}

td.division2 {
  background-color: #fff3e0;
}

td.division3 {
  background-color: #fff3e0;
}

select {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px 6px;
  font-size: 12px;
  color: #333;
  z-index: -3;
}

option {
  z-index: -3;
}

img {
  border: 0;
}

p {
  line-height: normal;
  text-align: center;
  height: auto;
  width: auto;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 1px;
  margin-left: 1px;
}

/* ── CLASSES UTILITAIRES ── */
.lien {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 11px;
  font-style: italic;
  color: #283593;
  text-decoration: underline;
  height: auto;
  width: auto;
  white-space: normal;
  list-style-type: circle;
  text-align: left;
  list-style-position: inside;
  cursor: pointer;
}

.imagecote {
  position: relative;
  float: right;
}

.menuitem {
  background-color: #fff3e0;
  border: 1px solid #9fa8da;
}

#menu {
  position: relative;
  width: 10%;
  height: 70%;
  z-index: 4;
  left: 0%;
  top: 2%;
  float: left;
}

#haut {
  position: relative;
  width: 100%;
  height: 10%;
  z-index: 3;
  left: 0%;
  top: 0%;
}

#bas {
  position: relative;
  width: 100%;
  height: 10%;
  z-index: 3;
  left: 0%;
  top: 2%;
  clear: left;
}

.liens {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 11px;
  color: #283593;
  text-decoration: underline;
}

.liens-liste h2 {
  font-size: 13px;
  color: #fff;
  background-color: #1a237e;
  padding: 6px 10px;
  margin: 16px 0 4px;
  border-left: 3px solid #e65100;
}

.lien-item {
  border-bottom: 1px solid #dde3ea;
  padding: 8px 4px;
}

.lien-item a {
  display: block;
  font-weight: 600;
  color: #e65100;
  margin-bottom: 4px;
  word-break: break-all;
}

.lien-item p {
  margin: 0;
  font-size: 12px;
  color: #333;
  line-height: 1.5;
}

.soustitre {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  color: #1a237e;
  background-color: #fff3e0;
  border-left: 3px solid #e65100;
  padding: 4px 10px;
}

.titre {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  background-color: #e65100;
  padding: 5px 10px;
  border-radius: 2px;
  width: 100%;
}

.titremenu {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 11px;
  display: block;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  background-color: #1a237e;
  border-left: 3px solid #e65100;
  width: 100%;
  padding: 6px 8px;
  letter-spacing: 0.5px;
}

.soustitremenu {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: normal;
  display: block;
  font-size: 12px;
  color: #333;
  background-color: #fff3e0;
  width: 100%;
  padding: 3px 8px;
}

/* ── BLOCS (page d'accueil) ── */
.bloc {
  background-color: #fff;
  border: 1px solid #dde3ea;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  flex: 1 1 0;
  min-width: 180px;
  text-align: left;
  color: #333;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  transition: box-shadow 0.2s;
  width: 400px;
  height: auto;
}

.bloc:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.13);
}

.bloc h1 {
  font-size: 12px;
  background-color: #e65100;
  padding: 9px 10px;
  border-radius: 6px 6px 0 0;
}

.bloc h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  background-color: #e65100;
  width: 100%;
  margin: 0 0 8px 0;
  padding: 9px 10px;
  border-radius: 6px 6px 0 0;
  letter-spacing: 0.8px;
}

.bloc h2::before {
  content: "\25CF  ";
  font-size: 8px;
  vertical-align: middle;
  opacity: 0.7;
}

.bloc ul {
  list-style-type: none;
  margin: 0;
  padding: 0 12px 8px 12px;
}

.bloc li {
  list-style-type: none;
  padding: 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 12px;
  line-height: 1.4;
}

.bloc li:last-child {
  border-bottom: none;
}

.bloc li a {
  display: block;
  color: #1a237e;
  padding: 6px 8px 6px 20px;
  position: relative;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
}

.bloc li a::before {
  content: "\203A";
  position: absolute;
  left: 8px;
  color: #e65100;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  top: 5px;
}

.bloc li a:hover {
  background: #fff3e0;
  color: #e65100;
  padding-left: 24px;
  text-decoration: none;
}

.bloc_photo {
  background-color: #f3f4f8;
  margin-top: 10px;
  margin-left: 3px;
  margin-right: 3px;
  width: 15%;
  height: 160px;
  border-style: solid;
  border-color: #1a237e;
  border-width: 1px;
  text-align: left;
  float: left;
}

.bloc_photo p {
  font-size: 10px;
}

.bloc_photo img {
  font-size: 10px;
  max-width: 99%;
}

.gabarit {
  width: 100%;
  margin: auto;
  height: 310px;
}

.gabarit p {
  line-height: normal;
  text-align: left;
  margin: 0 0 1px 1px;
}

.gabarit h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  background-color: #e65100;
  width: 100%;
  margin: 1px;
}

#bloc-stades {
  float: left;
  height: 310px;
}

#bloc-affluences {
  float: right;
  height: 310px;
}

#gabarit2 {
  margin-top: 20px;
}

#menu_haut_championnat {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
  margin-bottom: 12px;
  padding: 6px 0;
}

#menu_haut_championnat a {
  display: inline-block;
  padding: 5px 10px;
  background-color: #1a237e;
  color: #fff;
  border-radius: 3px;
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
}

#menu_haut_championnat a:hover {
  background-color: #283593;
  text-decoration: none;
}

#menu_haut_championnat a.active {
  background-color: #e65100;
}

/* ── NAVIGATION ANNÉES ── */
#listeannee {
  background-color: #fff3e0 !important;
  width: 100% !important;
  max-width: 100% !important;
  color: #333;
  padding: 8px 10px;
  margin-bottom: 10px;
  border: 1px solid #9fa8da;
  border-radius: 3px;
  text-align: center;
  font-size: 13px;
  line-height: 1.9;
  box-sizing: border-box;
}

#listeannee a {
  color: #283593;
  margin: 0 3px;
  text-decoration: none;
}

#listeannee a:hover {
  color: #e65100;
  text-decoration: underline;
}

/* ── TABLE .classement ── */
table.classement {
  border-collapse: separate;
  border-spacing: 3px 0;
  width: 75%;
  font-size: 12px;
  margin-bottom: 14px;
  background-position: center top;
}

table.classement tr {
  background-color: #fff;
  transition: background 0.1s;
}

table.classement tr:nth-child(even) {
  background-color: #f9fafb;
}

table.classement tr:hover {
  background-color: #fff3e0;
}

table.classement td {
  padding: 5px 8px;
  border-bottom: 1px solid #eee;
  color: #333;
}

table.classement tr.titre td,
table.classement td.titre {
  background-color: #283593;
  color: #ecf0f1;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 10px;
  border: none;
  border-radius: 3px;
  text-align: center;
}

/* ── TABLE .coupe ── */
table.coupe {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  margin-bottom: 14px;
  border: 1px solid #dde3ea;
  background-color: #fff;
}

table.coupe tr {
  background-color: #fff;
  transition: background 0.1s;
}

table.coupe tr:nth-child(even) {
  background-color: #f9fafb;
}

table.coupe tr:hover {
  background-color: #fff3e0;
}

table.coupe td {
  padding: 5px 8px;
  border-bottom: 1px solid #eee;
  border-right: 1px solid #eee;
  color: #333;
}

table.coupe tr.titre {
  background-color: #fff;
  color: #fff;
  font-weight: 700;
  text-align: center;
}

table.coupe tr.titre td {
  background-color: #283593;
  color: #ecf0f1;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 12px;
  border: none;
  text-align: center;
}

table.coupe tr.soustitre,
table.coupe tr.soustitre th {
  background-color: #3949ab;
  color: #fff;
  font-weight: 600;
  text-align: left;
}

table.coupe tr.soustitre td {
  background-color: #3949ab;
  color: #fff;
  font-weight: 600;
  padding: 5px 8px;
  font-size: 11px;
}

table.coupe tr.titreintermediaire {
  background-color: #283593;
  color: #fff;
  font-weight: 600;
  text-align: left;
}

table.coupe tr.titreintermediaire td {
  background-color: #283593;
  color: #fff;
  padding: 5px 8px;
  font-size: 11px;
}

table.coupe td.division2 {
  background-color: #fff3e0;
  border-color: #fff;
}

table.coupe td.division3 {
  background-color: #fff3e0;
  border-color: #fff;
}

table.coupe tr.classement {
  background-color: #fff3e0;
}

table.coupe tr.classement td {
  background-color: #fff3e0;
}

/* ── TABLE .listeItems ── */
table.listeItems {
  border-color: #1a237e;
  background-color: #f3f4f8;
  border-width: 2px;
  border-collapse: collapse;
}

table.listeItems a, table.coupe a {
  text-align: left;
  display: inline;
}

table.coupe td.titretable,
table.listeItems td.titretable {
  background-color: #1a237e;
  color: #fff;
}

table.coupe tr, table.listeItems tr {
  background-color: #f3f4f8;
}

table.listeItems tr.titre {
  border-color: #c5cae9;
  color: #fff;
  font-weight: bold;
  text-align: center;
  background-color: #283593;
  border-width: 0px;
}

/* ── TABLE .standard ── */
table.standard {
  border-color: #1a237e;
  background-color: #fff3e0;
  border-width: 2px;
}

table.standard td {
  border-color: #fff;
  background-color: #c5cae9;
  border-width: 2px;
}

table.standard td.division2 {
  border-color: #fff;
  background-color: #9fa8da;
  border-width: 2px;
}

table.standard td.division3 {
  border-color: #fff;
  background-color: #999999;
  border-width: 2px;
}

/* ── TRI DE COLONNES ── */
.sortcol {
  cursor: pointer;
  padding-right: 20px;
  background-repeat: no-repeat;
  background-position: right center;
}

.sortasc {
  background-color: #fff3e0;
  background-image: url(up.gif);
}

.sortdesc {
  background-color: #fff3e0;
  background-image: url(down.gif);
}

.nosort {
  cursor: default;
}

table a {
  display: inline;
}
table a:link {
  display: inline;
}
table a:visited {
  display: inline;
}
table a:hover {
  display: inline;
}
table a:active {
  display: inline;
}

table.bordures td {
  border-width: 1px;
}

/* ── HAMBURGER (caché sur desktop) ── */
.btn-menu-toggle { display: none; }

/* ── PANEL AFFLUENCE (caché sur desktop) ── */
#panel-affluence { display: none; }
#panel-affluence-overlay { display: none; }

.club-select-mobile { display: none; }
.club-list-desktop { display: block; }
#menu-overlay { display: none; }

.club-navbox {
  border: 1px solid #c0c8f0;
  border-radius: 4px;
  margin-bottom: 10px;
  font-size: 13px;
  width: 100%;
}

.club-navbox-header {
  background-color: #1a237e;
  color: #fff;
  padding: 7px 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 3px 3px 0 0;
  user-select: none;
}

.club-navbox-header:hover {
  background-color: #283593;
}

.club-navbox-body {
  display: none;
  flex-wrap: wrap;
  padding: 6px;
  gap: 4px;
  background: #fff;
  z-index: 200;
}


.club-navbox-body.open {
  display: flex;
}

.club-navbox-body a {
  display: inline-block;
  padding: 4px 8px;
  background-color: #1a237e;
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
  font-size: 11px;
  white-space: nowrap;
}

.club-navbox-body a:hover {
  background-color: #283593;
  text-decoration: none;
}

.club-navbox-body a.active {
  background-color: #e65100;
}

.cnb-selected-label {
  padding: 4px 8px;
  font-size: 11px;
  font-style: italic;
  color: #555;
}

#menu-pays {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
  margin-bottom: 12px;
  padding: 6px 0;
}

#menu-pays a {
  display: inline-block;
  padding: 5px 10px;
  background-color: #1a237e;
  color: #fff;
  border-radius: 3px;
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
}

#menu-pays a:hover {
  background-color: #283593;
  text-decoration: none;
}

#menu-pays a.active {
  background-color: #e65100;
}

/* ── RESPONSIVE MOBILE ── */
@media only screen and (max-width: 600px) {

  .club-navbox-body.navbox-list.open {
    flex-direction: column;
  }

  .club-navbox-body.navbox-list a {
    white-space: normal;
  }

  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }

  #global {
    width: 100%;
    overflow-x: hidden;
  }

  #corps {
    overflow-x: auto;
  }

  #menuhaut {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 11px;
    height: 44px;
    letter-spacing: 1px;
    padding: 0 4px;
    overflow: hidden;
  }

  .btn-home { display: none; }

  #menuhaut span {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60%;
    text-align: center;
    letter-spacing: 1px;
  }

  #menuhaut .btn-menu-toggle:last-child {
    margin-left: auto;
  }

  .btn-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    padding: 0 10px;
    height: 44px;
    line-height: 1;
    flex-shrink: 0;
  }

  #pub {
    display: none;
  }

  #menugauche {
    position: fixed;
    top: 44px;
    left: 0;
    width: 75%;
    max-width: 280px;
    height: calc(100vh - 44px);
    overflow-y: auto;
    z-index: 999;
    margin: 0;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
  }

  #menugauche.open {
    transform: translateX(0);
  }

  #menugauche li {
    display: block;
  }

  #menugauche li a {
    display: block;
  }

  #corps {
    position: relative;
    top: 0;
    margin-left: 0;
    margin-top: 44px;
    width: 100%;
    overflow-x: visible;
  }

  #corps table {
    width: 100% !important;
    box-sizing: border-box;
  }

  #corps form select,
  #corps form input[type=submit],
  #corps form input[type=text] {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 6px;
  }

  .matrix-scroll {
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
  }

  .matrix-scroll table {
    width: auto !important;
    font-size: 6px !important;
  }

  .matrix-scroll table th,
  .matrix-scroll table td {
    font-size: 6px !important;
    padding: 1px !important;
  }

  .matrix-scroll table th {
    color: #fff !important;
  }

  .table-scroll {
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
  }

  .table-scroll table {
    width: auto !important;
  }

  #corps img:not(.barre-affluence) {
    width: 98%;
  }

  #menudroite {
    position: fixed;
    top: 44px;
    right: 0;
    width: 75%;
    max-width: 280px;
    height: calc(100vh - 44px);
    overflow-y: auto;
    z-index: 999;
    margin: 0;
    padding: 0;
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }

  #menudroite.open {
    transform: translateX(0);
  }

  #menudroite li {
    display: block;
  }

  #menudroite li a {
    display: block;
  }

  #menu-overlay {
    display: none;
    position: fixed;
    top: 44px;
    left: 0;
    width: 100%;
    height: calc(100vh - 44px);
    background: rgba(0,0,0,0.5);
    z-index: 998;
  }

  #menu-overlay.active {
    display: block;
  }

  #dwindow {
    position: absolute !important;
    opacity: 1;
    background-color: #fff3e0;
    border: 1px solid #9fa8da;
    z-index: 44;
  }

  #listeannee {
    font-size: 10px;
  }

  table {
    width: 100%;
  }

  table.coupe, sortable, standard, listeItems {
    width: 100% !important;
    font-size: 8px;
  }

  .soustitre {
    font-size: 10px;
  }

  #listeclub {
    width: 98% !important;
    float: none !important;
    margin-left: 0 !important;
  }

  #moyenne {
    float: none !important;
    margin-left: 0 !important;
    width: 98% !important;
  }

  #liste-affluences {
    float: none !important;
    margin-left: 0 !important;
    width: 98% !important;
  }

  .club-list-desktop {
    display: none !important;
  }

  .club-select-mobile {
    display: block !important;
  }

  #sortable-table-1 {
    width: 100% !important;
  }

  #listepays {
    width: 98% !important;
    margin-left: 0% !important;
  }

  #listepays table.sortable, listeItems {
    width: 98% !important;
    font-size: 10px !important;
  }

  #listepays table tr {
    display: inline;
  }

  #menu-pays {
    gap: 4px;
    padding: 4px 0;
  }

  #menu-pays a {
    font-size: 11px;
    padding: 4px 8px;
  }

  .bloc_photo {
    margin-top: 1%;
    margin-left: 1%;
    margin-right: 1%;
    width: 30%;
    height: 160px;
    float: left;
  }

  table.tableaux-classements,
  table.tableaux-classements > tbody,
  table.tableaux-classements > tbody > tr,
  table.tableaux-classements > tbody > tr > td {
    display: block !important;
    width: 100% !important;
  }

  #panel-affluence {
    display: block;
    position: fixed;
    top: 44px;
    right: 0;
    width: 85%;
    max-width: 320px;
    height: auto;
    max-height: calc(100vh - 44px);
    overflow-y: auto;
    z-index: 1001;
    background: #fff;
    border-left: 2px solid #1a237e;
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }

  #panel-affluence.open {
    transform: translateX(0);
  }

  #panel-affluence-close {
    background: #1a237e;
    color: #fff;
    padding: 10px 16px;
    font-size: 20px;
    cursor: pointer;
    text-align: right;
  }

  #panel-affluence-content {
    padding: 10px;
    font-size: 12px;
    overflow-x: auto;
  }

  #panel-affluence-overlay {
    position: fixed;
    top: 44px;
    left: 0;
    width: 100%;
    height: calc(100vh - 44px);
    background: rgba(0,0,0,0.5);
    z-index: 1000;
  }

  #panel-affluence-overlay.active {
    display: block;
  }

}
