@charset "UTF-8";
/* Fichier principal : styles.scss	*/
/* ==========================================================================
   STYLES PRINCIPAUX DU SITE « LA COSTELLE »
   Chemin : /assets/scss/styles.scss
   ==========================================================================

   Ce fichier SCSS compile tous les styles du site. Il est organisé par
   sections fonctionnelles selon la méthode SMACSS/BEM adaptée, avec
   séparation claire des responsabilités :

   --------------------------------------------------------------------------
   1. VENDORS    → Librairies externes (normalize.css, reset, etc.)
   2. ABSTRACTS  → Outils SCSS : variables, mixins, fonctions, thèmes
   3. BASE       → Styles de base globaux : polices, typographie, reset, print
   4. COMPONENTS → Blocs UI réutilisables (cadres, boutons, galeries, etc.)
   5. LAYOUT     → Structure du site : header, menus, grilles, footer
   6. PAGES      → Styles spécifiques à certaines pages (contacts, accueil…)
   7. DEBUG      → Outils temporaires ou spécifiques au développement
   --------------------------------------------------------------------------

   Important :
   - Chaque fichier est maintenu de façon modulaire.
   - L’ordre de chargement respecte les dépendances (ex. : variables avant layout).
   - L’extension `.scss` est implicite.
   ========================================================================== */
/* Document
 * ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
:where(html) {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-text-size-adjust: 100%;
       text-size-adjust: 100%; /* 2 */
}

/* Sections
 * ========================================================================== */
/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Edge, Firefox, and Safari.
 */
:where(h1) {
  font-size: 2em;
  margin-block-end: 0.67em;
  margin-block-start: 0.67em;
}

/* Grouping content
 * ========================================================================== */
/**
 * Remove the margin on nested lists in Chrome, Edge, and Safari.
 */
:where(dl, ol, ul) :where(dl, ol, ul) {
  margin-block-end: 0;
  margin-block-start: 0;
}

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Correct the inheritance of border color in Firefox.
 */
:where(hr) {
  box-sizing: content-box; /* 1 */
  color: inherit; /* 2 */
  height: 0; /* 1 */
}

/* Text-level semantics
 * ========================================================================== */
/**
 * Add the correct text decoration in Safari.
 */
:where(abbr[title]) {
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
:where(b, strong) {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
:where(code, kbd, pre, samp) {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
:where(small) {
  font-size: 80%;
}

/* Tabular data
 * ========================================================================== */
/**
 * 1. Correct table border color in Chrome, Edge, and Safari.
 * 2. Remove text indentation from table contents in Chrome, Edge, and Safari.
 */
:where(table) {
  border-color: currentColor; /* 1 */
  text-indent: 0; /* 2 */
}

/* Forms
 * ========================================================================== */
/**
 * Remove the margin on controls in Safari.
 */
:where(button, input, select) {
  margin: 0;
}

/**
 * Remove the inheritance of text transform in Firefox.
 */
:where(button) {
  text-transform: none;
}

/**
 * Correct the inability to style buttons in iOS and Safari.
 */
:where(button, input:is([type=button i], [type=reset i], [type=submit i])) {
  -webkit-appearance: button;
  -moz-appearance: button;
       appearance: button;
}

/**
 * Add the correct vertical alignment in Chrome, Edge, and Firefox.
 */
:where(progress) {
  vertical-align: baseline;
}

/**
 * Remove the inheritance of text transform in Firefox.
 */
:where(select) {
  text-transform: none;
}

/**
 * Remove the margin in Firefox and Safari.
 */
:where(textarea) {
  margin: 0;
}

/**
 * 1. Correct the odd appearance in Chrome, Edge, and Safari.
 * 2. Correct the outline style in Safari.
 */
:where(input[type=search i]) {
  -webkit-appearance: textfield; /* 1 */
  -moz-appearance: textfield;
       appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Safari.
 */
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/**
 * Correct the text style of placeholders in Chrome, Edge, and Safari.
 */
::-webkit-input-placeholder {
  color: inherit;
  opacity: 0.54;
}

/**
 * Remove the inner padding in Chrome, Edge, and Safari on macOS.
 */
::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style upload buttons in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/**
 * Remove the inner border and padding of focus outlines in Firefox.
 */
:where(button, input:is([type=button i], [type=color i], [type=reset i], [type=submit i]))::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus outline styles unset by the previous rule in Firefox.
 */
:where(button, input:is([type=button i], [type=color i], [type=reset i], [type=submit i]))::-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Remove the additional :invalid styles in Firefox.
 */
:where(:-moz-ui-invalid) {
  box-shadow: none;
}

/* Interactive
 * ========================================================================== */
/*
 * Add the correct styles in Safari.
 */
:where(dialog) {
  background-color: white;
  border: solid;
  color: black;
  height: -moz-fit-content;
  height: fit-content;
  left: 0;
  margin: auto;
  padding: 1em;
  position: absolute;
  right: 0;
  width: -moz-fit-content;
  width: fit-content;
}

:where(dialog:not([open])) {
  display: none;
}

/*
 * Add the correct display in all browsers.
 */
:where(summary) {
  display: list-item;
}

/* Cible tous les scrollbars */
::-webkit-scrollbar {
  width: 18px; /* Largeur pour scroll vertical */
  height: 18px; /* Hauteur pour scroll horizontal */
}

/* Couleur de fond du rail */
::-webkit-scrollbar-track {
  background: #eee;
}

/* Couleur de la poignée */
::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 6px;
  border: 2px solid #eee; /* Pour espacer le thumb */
}

/* Optionnel : hover sur le thumb */
::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

/* /assets/scss/abstract/_variables.scss	*/
/*
$lightMenuOptionsColorTxt
$lightMenuOptionsBgColor
$lightMenuOptionsColorTxtHover
$lightMenuOptionsColorTxtActif$menuOptionsColorTxt
$darkMenuOptionsColorTxt
$darkMenuOptionsBgColor
$darkMenuOptionsColorTxtHover
$darkMenuOptionsColorTxtActif
*/
/* /assets/scss/abstract/_themes.scss	*/
:root {
  --desktop-light-color: #1b2c10;
  --desktop-light-colorBg: #ffd;
  --desktop-light-containerBg: #ffffaa;
  --desktop-light-border: #363;
  --desktop-light-borderLight: #448844;
  --desktop-light-link: #930;
  --desktop-light-linkHover: #930;
  --desktop-light-linkVisited: rgb(193.8, 64.6, 0);
  --desktop-light-heading: #242;
  --desktop-light-accent: #930;
  --desktop-light-disabled: rgb(173.4, 193.8, 173.4);
  --desktop-light-inverted: #ffd;
  --desktop-light-highlight: #fea;
  --desktop-light-bandeau: #6a9835;
  --desktop-light-underline: gold;
  --desktop-light-postitTxt: #333;
  --desktop-light-postitBg: #ffeb3b;
  --desktop-light-postitFort: rgb(163.2, 71.4, 45.9);
  --desktop-light-menuTxt: #df6;
  --desktop-light-menuBg: #020304;
  --desktop-light-menuHover: yellow;
  --desktop-light-menuActu: yellow;
  --desktop-dark-color: rgb(222.02, 255, 98.94);
  --desktop-dark-colorBg: #121;
  --desktop-dark-containerBg: #224422;
  --desktop-dark-border: #363;
  --desktop-dark-borderLight: #448844;
  --desktop-dark-link: #930;
  --desktop-dark-linkHover: #930;
  --desktop-dark-linkVisited: #930;
  --desktop-dark-heading: #ccffcc;
  --desktop-dark-accent: #f96;
  --desktop-dark-disabled: rgb(173.4, 193.8, 173.4);
  --desktop-dark-inverted: #121;
  --desktop-dark-highlight: #232;
  --desktop-dark-bandeau: #6a9835;
  --desktop-dark-underline: gold;
  --desktop-dark-postitTxt: #000;
  --desktop-dark-postitBg: #aaff55;
  --desktop-dark-postitFort: rgb(191.25, 63.75, 63.75);
  --desktop-dark-menuTxt: #df6;
  --desktop-dark-menuBg: #020304;
  --desktop-dark-menuHover: yellow;
  --desktop-dark-menuActu: yellow;
  --mobile-light-color: #1b2c10;
  --mobile-light-colorBg: #ffd;
  --mobile-light-containerBg: #ffffaa;
  --mobile-light-border: #363;
  --mobile-light-borderLight: #448844;
  --mobile-light-link: #930;
  --mobile-light-linkHover: #930;
  --mobile-light-linkVisited: #930;
  --mobile-light-heading: #242;
  --mobile-light-accent: #930;
  --mobile-light-disabled: rgb(173.4, 193.8, 173.4);
  --mobile-light-inverted: #ffd;
  --mobile-light-highlight: #ffeeaa;
  --mobile-light-bandeau: #6a9835;
  --mobile-light-underline: gold;
  --mobile-light-postitTxt: #333;
  --mobile-light-postitBg: #ffeb3b;
  --mobile-light-postitFort: rgb(163.2, 71.4, 45.9);
  --mobile-light-menuTxt: #df6;
  --mobile-light-menuBg: #020304;
  --mobile-light-menuHover: #fc0;
  --mobile-light-menuActu: yellow;
  --mobile-dark-color: #deff63;
  --mobile-dark-colorBg: #121;
  --mobile-dark-containerBg: #224422;
  --mobile-dark-border: #363;
  --mobile-dark-borderLight: #448844;
  --mobile-dark-link: #930;
  --mobile-dark-linkHover: #930;
  --mobile-dark-linkVisited: #930;
  --mobile-dark-heading: #ccffcc;
  --mobile-dark-accent: #ff9966;
  --mobile-dark-disabled: rgb(173.4, 193.8, 173.4);
  --mobile-dark-inverted: #121;
  --mobile-dark-highlight: #223322;
  --mobile-dark-bandeau: #6a9835;
  --mobile-dark-underline: gold;
  --mobile-dark-postitTxt: #000;
  --mobile-dark-postitBg: #aaff55;
  --mobile-dark-postitFort: rgb(191.25, 63.75, 63.75);
  --mobile-dark-menuTxt: #df6;
  --mobile-dark-menuBg: #020304;
  --mobile-dark-menuHover: #fc0;
  --mobile-dark-menuActu: yellow;
}

/* ===== Sélection des variables ACTIVES ===== */
/* Desktop + Light */
html.pre-desktop[data-theme=light] {
  --color: var(--desktop-light-color);
  --colorBg: var(--desktop-light-colorBg);
  --containerBg: var(--desktop-light-containerBg);
  --border: var(--desktop-light-border);
  --borderLight: var(--desktop-light-borderLight);
  --link: var(--desktop-light-link);
  --linkHover: var(--desktop-light-linkHover);
  --linkVisited: var(--desktop-light-linkVisited);
  --heading: var(--desktop-light-heading);
  --accent: var(--desktop-light-accent);
  --disabled: var(--desktop-light-disabled);
  --inverted: var(--desktop-light-inverted);
  --highlight: var(--desktop-light-highlight);
  --bandeau: var(--desktop-light-bandeau);
  --underline: var(--desktop-light-underline);
  --postitTxt: var(--desktop-light-postitTxt);
  --postitBg: var(--desktop-light-postitBg);
  --postitFort: var(--desktop-light-postitFort);
  --menuTxt: var(--desktop-light-menuTxt);
  --menuBg: var(--desktop-light-menuBg);
  --menuHover: var(--desktop-light-menuHover);
  --menuActu: var(--desktop-light-menuActu);
}

/* Desktop + Dark */
html.pre-desktop[data-theme=dark] {
  --color: var(--desktop-dark-color);
  --colorBg: var(--desktop-dark-colorBg);
  --containerBg: var(--desktop-dark-containerBg);
  --border: var(--desktop-dark-border);
  --borderLight: var(--desktop-dark-borderLight);
  --link: var(--desktop-dark-link);
  --linkHover: var(--desktop-dark-linkHover);
  --linkVisited: var(--desktop-dark-linkVisited);
  --heading: var(--desktop-dark-heading);
  --accent: var(--desktop-dark-accent);
  --disabled: var(--desktop-dark-disabled);
  --inverted: var(--desktop-dark-inverted);
  --highlight: var(--desktop-dark-highlight);
  --bandeau: var(--desktop-dark-bandeau);
  --underline: var(--desktop-dark-underline);
  --postitTxt: var(--desktop-dark-postitTxt);
  --postitBg: var(--desktop-dark-postitBg);
  --postitFort: var(--desktop-dark-postitFort);
  --menuTxt: var(--desktop-dark-menuTxt);
  --menuBg: var(--desktop-dark-menuBg);
  --menuHover: var(--desktop-dark-menuHover);
  --menuActu: var(--desktop-dark-menuActu);
}

/* Mobile + Light */
html.pre-mobile[data-theme=light] {
  --color: var(--mobile-light-color);
  --colorBg: var(--mobile-light-colorBg);
  --containerBg: var(--mobile-light-containerBg);
  --border: var(--mobile-light-border);
  --borderLight: var(--mobile-light-borderLight);
  --link: var(--mobile-light-link);
  --linkHover: var(--mobile-light-linkHover);
  --linkVisited: var(--mobile-light-linkVisited);
  --heading: var(--mobile-light-heading);
  --accent: var(--mobile-light-accent);
  --disabled: var(--mobile-light-disabled);
  --inverted: var(--mobile-light-inverted);
  --highlight: var(--mobile-light-highlight);
  --bandeau: var(--mobile-light-bandeau);
  --underline: var(--mobile-light-underline);
  --postitTxt: var(--mobile-light-postitTxt);
  --postitBg: var(--mobile-light-postitBg);
  --postitFort: var(--mobile-light-postitFort);
  --menuTxt: var(--mobile-light-menuTxt);
  --menuBg: var(--mobile-light-menuBg);
  --menuHover: var(--mobile-light-menuHover);
  --menuActu: var(--mobile-light-menuActu);
}

/* Mobile + Dark */
html.pre-mobile[data-theme=dark] {
  --color: var(--mobile-dark-color);
  --colorBg: var(--mobile-dark-colorBg);
  --containerBg: var(--mobile-dark-containerBg);
  --border: var(--mobile-dark-border);
  --borderLight: var(--mobile-dark-borderLight);
  --link: var(--mobile-dark-link);
  --linkHover: var(--mobile-dark-linkHover);
  --linkVisited: var(--mobile-dark-linkVisited);
  --heading: var(--mobile-dark-heading);
  --accent: var(--mobile-dark-accent);
  --disabled: var(--mobile-dark-disabled);
  --inverted: var(--mobile-dark-inverted);
  --highlight: var(--mobile-dark-highlight);
  --bandeau: var(--mobile-dark-bandeau);
  --underline: var(--mobile-dark-underline);
  --postitTxt: var(--mobile-dark-postitTxt);
  --postitBg: var(--mobile-dark-postitBg);
  --postitFort: var(--mobile-dark-postitFort);
  --menuTxt: var(--mobile-dark-menuTxt);
  --menuBg: var(--mobile-dark-menuBg);
  --menuHover: var(--mobile-dark-menuHover);
  --menuActu: var(--mobile-dark-menuActu);
}

/* /assets/scss/base/_fonts.scss */
@font-face {
  font-family: "Great Vibes";
  src: url("/assets/fonts/GreatVibes-Regular.woff2") format("woff2"), url("/assets/fonts/GreatVibes-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("/assets/fonts/Lato-Regular.woff2") format("woff2"), url("/assets/fonts/Lato-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("/assets/fonts/Lato-Black.woff2") format("woff2"), url("/assets/fonts/Lato-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("/assets/fonts/Lato-BlackItalic.woff2") format("woff2"), url("/assets/fonts/Lato-BlackItalic.woff") format("woff");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("/assets/fonts/Lato-Bold.woff2") format("woff2"), url("/assets/fonts/Lato-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("/assets/fonts/Lato-BoldItalic.woff2") format("woff2"), url("/assets/fonts/Lato-BoldItalic.woff") format("woff");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("/assets/fonts/Lato-Italic.woff2") format("woff2"), url("/assets/fonts/Lato-Italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("/assets/fonts/Lato-Light.woff2") format("woff2"), url("/assets/fonts/Lato-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("/assets/fonts/Lato-LightItalic.woff2") format("woff2"), url("/assets/fonts/Lato-LightItalic.woff") format("woff");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("/assets/fonts/Lato-Thin.woff2") format("woff2"), url("/assets/fonts/Lato-Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("/assets/fonts/Lato-ThinItalic.woff2") format("woff2"), url("/assets/fonts/Lato-ThinItalic.woff") format("woff");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("/assets/fonts/Roboto-Variablefont_wdth,wght.woff2") format("woff2"), url("/assets/fonts/Roboto-Variablefont_wdth,wght.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("/assets/fonts/Roboto-Italic-Variablefont_wdth,wght.woff2") format("woff2"), url("/assets/fonts/Roboto-Italic-Variablefont_wdth,wght.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "font Awesome 6 Brands";
  src: url("/assets/fonts/fa-brands-400.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "font Awesome 6 Regular";
  src: url("/assets/fonts/fa-regular-400.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "font Awesome 6 Solid";
  src: url("/assets/fonts/fa-solid-900.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: "font Awesome 6 V4 Compatibility";
  src: url("/assets/fonts/fa-v4compatibility.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Dancing";
  src: url("/assets/fonts/DancingScript-Variablefont_wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
}
/*	/assets/scss/base/_forms.scss		*/
/* /assets/scss/abstract/_index.scss	*/
/* /assets/scss/abstracts/_mixins.scss */
/* /assets/scss/abstract/_functions.scss	*/
/* /assets/scss/abstract/_index.scss	*/
/*	/assets/scss/base/_forms.scss		*/
/* /assets/scss/forms/_buttons.scss */
button,
.btn {
  display: inline-block;
  background-color: var(--borderLight);
  color: var(--colorBg);
  font-size: 1rem;
  padding: 0.2rem 1rem;
  border-radius: 0.5rem;
  width: auto;
  cursor: pointer;
  box-shadow: 0.15rem 0.15rem 0.3rem rgba(0, 0, 0, 0.5);
}
button:active,
.btn:active {
  transform: translateY(0.15rem);
  box-shadow: inset 0.15rem 0.15rem 0.3rem rgba(0, 0, 0, 0.5);
}

/*	/assets/scss/base/_forms.scss		*/
/* /assets/scss/forms/_inputs.scss */
input[type],
textarea {
  padding: 0 0 0 0.3rem;
  border: 1px solid var(--border);
  background-color: var(--containerBg);
  border-radius: 0.4rem;
  margin: 0;
}
input[type]:focus,
textarea:focus {
  border-color: var(--border);
  outline: 1px solid var(--borderLight);
}
input[type]::-moz-placeholder, textarea::-moz-placeholder {
  font-family: "Lato", sans-serif; /* Police du placeholder */
  font-size: 0.9rem; /* Taille de la police */
  color: var(--color); /* Couleur du texte */
  opacity: 0.7;
}
input[type]::placeholder,
textarea::placeholder {
  font-family: "Lato", sans-serif; /* Police du placeholder */
  font-size: 0.9rem; /* Taille de la police */
  color: var(--color); /* Couleur du texte */
  opacity: 0.7;
}

textarea {
  overflow-y: auto;
}

input[type=email] {
  margin-right: 0.4rem;
}

input[type=submit],
input[type=button] {
  background-color: var(--borderLight);
  color: var(--colorBg);
  border: none;
  padding: 0;
  border-radius: 0.5rem;
  cursor: pointer;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
  transition: transform 0.05s ease, box-shadow 0.05s ease;
}
input[type=submit]:hover,
input[type=button]:hover {
  background-color: var(--border);
}
input[type=submit]:active,
input[type=button]:active {
  box-shadow: inset 2px 2px 3px rgba(0, 0, 0, 0.5);
}
input[type=submit]:disabled,
input[type=button]:disabled {
  background-color: var(--disabled);
  cursor: not-allowed;
  box-shadow: none; /* Supprimer l'ombre lorsque le bouton est désactivé */
  transform: none; /* Désactiver tout effet de transformation sur le bouton désactivé */
}

/*	/assets/scss/base/_forms.scss		*/
/* /assets/scss/forms/_selects.scss */
select {
  padding: 0;
  border-radius: 0.4rem;
  border: 1px solid var(--border);
  background-color: var(--containerBg);
}
select:focus {
  border-color: var(--border);
  outline: 1px solid var(--borderLight);
}

label {
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}

/*	/assets/scss/base/_forms.scss		*/
/* /assets/scss/abstract/_index.scss	*/
/* /assets/scss/base/_reset.scss */
html {
  font-size: 16px; /* 1rem = 16px */
}

p,
ul {
  text-align: justify;
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/*	/assets/scss/base/_forms.scss		*/
/* /assets/scss/base/_typography.scss */
html {
  box-sizing: border-box;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

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

body {
  overflow-x: hidden;
  overflow-y: auto;
}

/* Fallback anti-flash avant que les variables soient dispos */
html,
body {
  background: #fff;
  color: #111;
}

/* Désactive l’assombrissement automatique et reste cohérent avec le thème actif */
html[data-theme=light] {
  color-scheme: light;
}

html[data-theme=dark] {
  color-scheme: dark;
}

/* Variables par défaut (secours si data-theme tarde) */
:root {
  --bg: #ffffff;
  --fg: #111111;
}

/* Application globale */
html,
body {
  background: var(--colorBg);
  color: var(--color);
}

/* Évite les backgrounds transparents sur les gros conteneurs */
#global,
main,
#menuHorizontal,
footer {
  background: var(--colorBg);
}

/* Icône/menuBurger toujours lisible même si un navigateur tente de recolorier */
#menuBurgerToggle {
  color: var(--color);
}

#menuBurgerToggle svg {
  fill: currentColor;
  stroke: currentColor;
}

body {
  padding: 0;
  margin: 0;
  height: 100vh;
  font-family: "Lato", sans-serif, sans-serif;
}
body.loading {
  display: none;
}

h1,
h2,
.preambule > summary,
h3,
h4,
h5,
h6,
.aditjh > summary,
.aditjbh > summary {
  font-weight: bold;
  margin: 0;
  padding: 0;
}

h1 {
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.2;
  margin-top: 0rem;
  margin-bottom: 0.5rem;
  text-shadow: 1.5px 1.5px 2px rgba(16, 32, 16, 0.3);
  clear: both;
}
h1 span {
  position: relative;
  display: inline-block;
}
h1 span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 0.18rem;
  background-color: var(--underline);
}
h1.no-clear {
  clear: none;
}

h2, .preambule > summary {
  font-weight: 700;
  font-size: clamp(1.35rem, 3.5vw, 1.8rem);
  line-height: 1.2;
  margin-top: 0.9rem;
  margin-bottom: 0.5rem;
}

h3 {
  font-weight: 700;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  line-height: 1.2;
  margin-top: 0.8rem;
  margin-bottom: 0.5rem;
}

h4 {
  font-weight: 700;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  line-height: 1.2;
  margin-top: 0.7rem;
  margin-bottom: 0.5rem;
}

h5 {
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.2;
  margin-top: 0.6rem;
  margin-bottom: 0.5rem;
}

h6, .aditjh > summary,
.aditjbh > summary {
  font-weight: 700;
  font-size: clamp(0.95rem, 1.5vw, 1rem);
  line-height: 1.2;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

h1[id],
h2[id],
.preambule > summary[id],
h3[id],
h4[id],
h5[id],
h6[id],
.aditjh > summary[id],
.aditjbh > summary[id] {
  scroll-margin-top: 1.8rem;
}

p {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  margin-top: 0.6rem;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  line-height: 1.4;
}
p.small {
  font-size: 80%;
}
p.big {
  font-size: 120%;
}

ul,
ol {
  padding-left: 1.5rem;
  margin-top: 0.6rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

li {
  margin-bottom: 0.4rem;
}

cite {
  font-weight: bold;
}

blockquote {
  font-style: italic;
  border-left: 2px solid var(--borderLight);
  padding-left: 1rem;
  margin: 0.5rem 0;
  font-size: clamp(0.85rem, 2vw, 1rem); /* Taille de police par défaut */
  line-height: 1.4;
  color: var(--color);
  background-color: var(--colorBg);
  /* Appliquer la police Dancing uniquement aux blockquotes avec la classe 'bqscript' */
  /* Style pour la source de la citation */
}
blockquote cite {
  display: block; /* Assurer que cite commence sur une nouvelle ligne */
  clear: both;
  margin-top: 0.25rem;
}

pre {
  font-family: "Lato", sans-serif;
  overflow-x: auto;
  text-align: center;
  white-space: pre-wrap;
  line-height: 1.2;
  margin: 0;
  padding: 0;
}

code {
  background: #f5f5f5;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-family: monospace;
  font-size: 0.95rem;
}

kbd {
  background: #eee;
  padding: 0.2rem 0.4rem;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-family: monospace;
  font-size: 0.9rem;
}

em {
  color: var(--accent);
  font-weight: bold;
}

a {
  text-decoration: none;
  color: var(--link);
  font-weight: 700;
}
a:visited {
  color: var(--linkVisited);
  text-decoration: none;
  font-weight: 400;
}
a:visited:hover {
  color: var(--linkVisited);
  text-decoration: underline;
}
a:hover {
  color: var(--linkHover);
  text-decoration: underline;
}
a:active {
  color: var(--accent);
  text-decoration: none;
}

hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 1.5rem 0;
}

strong {
  font-weight: bold;
}

small {
  font-size: 80%;
}

mark {
  background-color: yellow;
  color: black;
}

abbr[title] {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
  cursor: help;
}

dfn {
  font-style: italic;
}

sup,
sub {
  font-size: 0.75rem;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.2em;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin: 1rem 0;
}

th,
td {
  padding: 0.5rem;
  border: 1px solid #ccc;
  text-align: left;
}

thead {
  background-color: var(--colorBg);
}

.bigger {
  font-size: 120%;
}

.smaller {
  font-size: 80%;
}

.manuscrit {
  font-family: "Great Vibes", cursive;
}

.pm,
.nomPropre,
.nom-auteur,
.NOM {
  font-variant: small-caps;
}

.pmb {
  font-variant: small-caps;
  font-weight: bold;
}

.no-line-break,
.no-wrap-text {
  white-space: nowrap;
}

.right-align {
  text-align: right;
}

.badge {
  display: inline-block;
  background-color: red;
  color: yellow;
  border-radius: 50%; /* Crée un cercle */
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px; /* Centrer le texte verticalement */
  font-family: "Roboto", sans-serif;
}

/*	/assets/scss/base/_forms.scss		*/
/* /assets/scss/abstract/_index.scss	*/
/* /assets/scss/base/_utilities.scss */
/* fonctionne avec <br class="clearboth">  */
.clear,
.clearboth {
  clear: both;
  display: block;
  content: "";
}

.clearleft {
  clear: left;
  display: block;
  content: "";
}

.clearright {
  clear: right;
  display: block;
  content: "";
}

/* gestion du <q> pour l'adjonction d'espaces insécables */
q::before {
  content: "« ";
}

q::after {
  content: " »";
}

q {
  quotes: none;
}

#loadingOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: wait;
}
body.show-spinner #loadingOverlay {
  display: flex;
}
#loadingOverlay .spinner {
  width: 8rem;
  height: 8rem;
  border: 0.4rem solid #ccc;
  border-top: 0.4rem solid #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@media screen and (max-width: 950px) {
  #loadingOverlay .spinner {
    width: 3rem;
    height: 3rem;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.center {
  text-align: center;
}

.justify {
  text-align: justify;
}

/* /assets/scss/base/_print.scss */
@media print {
  @page portrait {
    size: A4 portrait;
    margin: 9mm 6mm 10mm 15mm;
  }
  html {
    page: portrait !important;
    color: #111 !important;
  }
  /* 1) Neutralisation globale des bloqueurs de pagination */
  *,
  *::before,
  *::after {
    position: static !important;
    float: none !important;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    transform: none !important;
    filter: none !important;
    contain: none !important;
    /* tue flex/grid/inline-* et multi-colonnes */
    display: block !important;
    -moz-column-count: initial !important;
         column-count: initial !important;
    -moz-columns: auto !important;
         columns: auto !important;
    -moz-column-width: auto !important;
         column-width: auto !important;
    /* autorise la coupure */
    -moz-column-break-inside: auto !important;
         break-inside: auto !important;
    page-break-inside: auto !important;
    /* hygiène visuelle */
    box-shadow: none !important;
    text-shadow: none !important;
    background-image: none !important;
  }
  /* 2) Rétablir les éléments structurés cassés par display:block */
  table {
    display: table !important;
    width: 100% !important;
    border-collapse: collapse;
  }
  thead {
    display: table-header-group !important;
  }
  tbody {
    display: table-row-group !important;
  }
  tr {
    display: table-row !important;
    -moz-column-break-inside: avoid;
         break-inside: avoid;
  }
  td,
  th {
    display: table-cell !important;
  }
  ul,
  ol {
    display: block !important;
    padding-left: 1.4em;
  }
  li {
    display: list-item !important;
  }
  /* 3) Typo & médias */
  body {
    color: #111 !important;
    line-height: 1.45;
    font-size: 12pt;
  }
  /* 4) Éléments qu’on évite de couper */
  figure,
  table,
  img {
    -moz-column-break-inside: avoid;
         break-inside: avoid;
    page-break-inside: avoid;
  }
  h1,
  h2,
  h3 {
    -moz-column-break-after: avoid;
         break-after: avoid;
    page-break-after: avoid;
  }
  p,
  li {
    orphans: 3;
    widows: 3;
  }
  a {
    text-decoration: none !important;
  }
  a,
  em {
    color: #111 !important;
  }
  /* 5) Masquer le chrome (PLACÉ EN DERNIER pour battre la cascade) */
  #headerLaCostelle,
  #bandeauLaCostelle,
  #menuHorizontal,
  #menuVertical,
  #menuh,
  #footerLaCostelle,
  #loadingOverlay,
  #optionsMenu,
  .noprint {
    display: none !important;
  }
  /* Ne jamais imprimer le code/ressources */
  script,
  style,
  link[rel=stylesheet],
  meta,
  title,
  head,
  template,
  noscript,
  svg defs {
    display: none !important;
  }
  /* Si des scripts sont dans le body, s'assurer qu'ils restent invisibles */
  body script {
    display: none !important;
  }
  /* ——— Présentation générale de l’article ——— */
  #iciLaPage {
    width: 189mm;
    max-width: 189mm;
    margin: 0 auto !important;
    font-size: 11pt;
    line-height: 1.3;
    color: #111 !important;
    text-align: justify;
    -webkit-hyphens: auto;
            hyphens: auto; /* césure auto pour éviter les “trous” */
    /* ——— Listes / Table des matières ——— */
    /* Si ta “Table des matières” est un bloc dédié, mets-lui class="toc" */
    /* D. Utility to push a figure to the top of next page if needed */
    /* Remettre <q> et ses pseudo-éléments en inline */
    /* Guillemets français propres */
    /* 2) Le premier bloc après le titre ne doit pas commencer en haut de page */
  }
  #iciLaPage q,
  #iciLaPage a,
  #iciLaPage em,
  #iciLaPage i,
  #iciLaPage strong,
  #iciLaPage b,
  #iciLaPage span,
  #iciLaPage small,
  #iciLaPage time,
  #iciLaPage sup,
  #iciLaPage sub {
    display: inline !important;
    margin: 0 !important;
    white-space: normal !important;
  }
  #iciLaPage span.noprint {
    display: none !important;
  }
  #iciLaPage h1 {
    font-size: 22pt;
    margin: 0 0 5mm 0 !important;
    text-align: center;
    -moz-column-break-after: avoid;
         break-after: avoid;
  }
  #iciLaPage h2 {
    font-size: 14pt;
    margin: 6mm 0 3mm;
    -moz-column-break-after: avoid;
         break-after: avoid;
  }
  #iciLaPage h3 {
    font-size: 12.5pt;
    margin: 5mm 0 3mm;
    -moz-column-break-after: avoid;
         break-after: avoid;
  }
  #iciLaPage ul,
  #iciLaPage ol {
    margin: 0 0 3mm 7mm; /* indentation régulière */
    padding: 0;
  }
  #iciLaPage li {
    margin: 1.2mm 0;
  }
  #iciLaPage .toc {
    -moz-column-count: 2;
         column-count: 2; /* 2 colonnes lisibles */
    -moz-column-gap: 8mm;
         column-gap: 8mm;
  }
  #iciLaPage .toc li {
    -moz-column-break-inside: avoid;
         break-inside: avoid;
  }
  #iciLaPage div.plan-horiz img.plan,
  #iciLaPage figure.photo {
    /* A. Make figures large and centered (override inline max-width) */
    float: none !important;
    margin: 6mm auto !important;
    width: 60% !important;
    max-width: 60% !important; /* override the 352px inline; tweak 140–170mm */
    box-shadow: none !important;
    /* B. Keep figure + caption together using the "table" trick */
    display: table !important; /* helps pagination keep the block together */
    page-break-inside: avoid !important;
    -moz-column-break-inside: avoid !important;
         break-inside: avoid !important;
    /* Si un bloc image doit impérativement commencer en haut de page suivante */
  }
  #iciLaPage div.plan-horiz img.plan.right, #iciLaPage div.plan-horiz img.planleft,
  #iciLaPage figure.photo.right,
  #iciLaPage figure.photoleft {
    float: none !important;
  }
  #iciLaPage div.plan-horiz img.plan img,
  #iciLaPage figure.photo img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    page-break-inside: avoid !important;
    -moz-column-break-inside: avoid !important;
         break-inside: avoid !important;
    margin: 0 auto !important;
    box-shadow: none !important;
    /* C. If a particular figure is very tall, ensure it fits one page */
    max-height: 258mm !important;
    -o-object-fit: contain !important;
       object-fit: contain !important;
  }
  #iciLaPage div.plan-horiz img.plan figcaption,
  #iciLaPage figure.photo figcaption {
    display: table-caption !important; /* binds caption to the table/figure */
    caption-side: bottom !important;
    font-size: 9.5pt;
    font-style: italic;
    text-align: center;
    margin-top: 1mm !important;
    page-break-inside: avoid !important;
    -moz-column-break-inside: avoid !important;
         break-inside: avoid !important;
  }
  #iciLaPage div.plan-horiz img.plan.print-break-before,
  #iciLaPage figure.photo.print-break-before {
    -moz-column-break-before: page !important;
         break-before: page !important;
  }
  #iciLaPage.print-break-before {
    -moz-column-break-before: page !important;
         break-before: page !important;
    page-break-before: always !important;
  }
  #iciLaPage h5.tdm {
    margin-top: -5mm;
    padding: 0;
  }
  #iciLaPage ol.toc-columns {
    -moz-columns: 2 !important;
         columns: 2 !important;
    text-align: left !important;
    -moz-column-gap: 3em !important;
         column-gap: 3em !important;
    line-height: 1 !important;
    font-size: 90% !important;
  }
  #iciLaPage div.menueglise-renvois {
    display: flex !important;
    justify-content: space-around;
    align-items: baseline;
    gap: 0.8em; /* espace entre les deux */
    flex-wrap: nowrap;
    margin-bottom: 1rem;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  #iciLaPage div.menueglise-renvois p.menueglise-renvois {
    display: inline !important;
    font-size: 80%;
  }
  #iciLaPage q,
  #iciLaPage q::before,
  #iciLaPage q::after {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: normal !important;
  }
  #iciLaPage q {
    quotes: "« " " »" "‹ " " ›";
  }
  #iciLaPage q::before {
    content: open-quote;
  }
  #iciLaPage q::after {
    content: close-quote;
  }
  #iciLaPage h1,
  #iciLaPage h2,
  #iciLaPage h3,
  #iciLaPage h4,
  #iciLaPage h5 {
    -moz-column-break-after: avoid !important;
         break-after: avoid !important; /* moderne */
    page-break-after: avoid !important; /* legacy */
  }
  #iciLaPage h1 + *,
  #iciLaPage h2 + *,
  #iciLaPage h4 + *,
  #iciLaPage h5 + * {
    -moz-column-break-before: avoid !important;
         break-before: avoid !important; /* moderne */
    page-break-before: avoid !important; /* legacy */
  }
  #iciLaPage .no-break-inside {
    -moz-column-break-inside: avoid !important;
         break-inside: avoid !important;
  }
  #iciLaPage .print-break-before {
    -moz-column-break-before: page !important;
         break-before: page !important; /* moderne */
    page-break-before: always !important; /* legacy */
  }
  #iciLaPage .print-break-after {
    -moz-column-break-after: page !important;
         break-after: page !important;
    page-break-after: always !important;
  }
  #iciLaPage details:not([open]) {
    display: none; /* ne pas imprimer ceux qui sont fermés */
  }
  #iciLaPage .photosMultiples {
    display: block !important;
    -moz-column-count: initial !important;
         column-count: initial !important;
    /* Même largeur/centrage qu'une figure.photo */
  }
  #iciLaPage .photosMultiples .vitrailchoeur,
  #iciLaPage .photosMultiples .vitrailbascote,
  #iciLaPage .photosMultiples .chaire,
  #iciLaPage .photosMultiples .chemincroix {
    width: 60% !important; /* ou $largeurImage si tu as la variable */
    max-width: 60% !important;
    margin: 0 auto !important;
    float: none !important;
    -moz-column-break-inside: avoid !important;
         break-inside: avoid !important;
    page-break-inside: avoid !important;
    /* Le HTML utilise <label> pour la légende  */
  }
  #iciLaPage .photosMultiples .vitrailchoeur img,
  #iciLaPage .photosMultiples .vitrailbascote img,
  #iciLaPage .photosMultiples .chaire img,
  #iciLaPage .photosMultiples .chemincroix img {
    display: block !important;
    width: 100% !important; /* écrase width=420 */
    max-width: 100% !important;
    height: auto !important; /* écrase height=1200 */
    margin: 0 auto !important;
    border: none !important;
    page-break-inside: avoid !important;
    -moz-column-break-inside: avoid !important;
         break-inside: avoid !important;
    /* si image très haute, réduis pour tenir sur une page */
    max-height: 258mm !important;
    -o-object-fit: contain !important;
       object-fit: contain !important;
  }
  #iciLaPage .photosMultiples .vitrailchoeur label,
  #iciLaPage .photosMultiples .vitrailbascote label,
  #iciLaPage .photosMultiples .chaire label,
  #iciLaPage .photosMultiples .chemincroix label {
    display: table-caption !important;
    caption-side: bottom !important;
    font-size: 9.5pt !important;
    font-style: italic !important;
    text-align: center !important;
    margin-top: 1mm !important;
    -moz-column-break-inside: avoid !important;
         break-inside: avoid !important;
  }
  #iciLaPage .largeurTrombinoscope {
    width: 100%;
  }
  #iciLaPage .largeurTrombinoscope .trombinoscope.fondateurs,
  #iciLaPage .largeurTrombinoscope .trombinoscope.anciens-presidents,
  #iciLaPage .largeurTrombinoscope .trombinoscope.decedes {
    display: flex !important;
    gap: 3rem !important;
    justify-content: center !important;
  }
  #iciLaPage .largeurTrombinoscope .trombinoscope.fondateurs .member,
  #iciLaPage .largeurTrombinoscope .trombinoscope.anciens-presidents .member,
  #iciLaPage .largeurTrombinoscope .trombinoscope.decedes .member {
    -moz-column-break-inside: avoid !important;
         break-inside: avoid !important;
  }
  #iciLaPage .largeurTrombinoscope .trombinoscope.fondateurs .member a.noprint,
  #iciLaPage .largeurTrombinoscope .trombinoscope.anciens-presidents .member a.noprint,
  #iciLaPage .largeurTrombinoscope .trombinoscope.decedes .member a.noprint {
    display: none !important;
  }
  #iciLaPage .largeurTrombinoscope .trombinoscope.conseil-administration {
    display: flex !important;
    gap: 2rem !important;
    justify-content: center !important;
  }
  #iciLaPage .largeurTrombinoscope .trombinoscope.conseil-administration .member-ca {
    -moz-column-break-inside: avoid !important;
         break-inside: avoid !important;
    display: flex !important;
    width: 50%;
  }
  #iciLaPage .largeurTrombinoscope .trombinoscope.conseil-administration .member-ca.president {
    background: var(--containerBg);
  }
  #iciLaPage .largeurTrombinoscope .trombinoscope.conseil-administration .member-ca .info {
    flex: 1 1 auto;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    width: auto;
  }
  #iciLaPage .largeurTrombinoscope .trombinoscope.conseil-administration .member-ca .info em {
    margin-top: 0.25rem;
    font-size: 120%;
  }
  #iciLaPage .largeurTrombinoscope .trombinoscope.conseil-administration .member-ca img.photo {
    flex: 0;
  }
  #iciLaPage table.tbllivredor {
    border: 2px solid #111;
  }
  #iciLaPage table.tbllivredor tr {
    page-break-inside: avoid !important;
    -moz-column-break-inside: avoid !important;
         break-inside: avoid !important;
  }
  #iciLaPage #gmap_canvas {
    page-break-inside: avoid !important;
    -moz-column-break-inside: avoid !important;
         break-inside: avoid !important;
  }
  #iciLaPage table.cures {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    /* forcer l’impression des couleurs */
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  #iciLaPage table.cures thead {
    display: table-header-group !important;
  }
  #iciLaPage table.cures thead th {
    background: #eee !important;
  }
  #iciLaPage table.cures tbody.bloc {
    display: table-row-group !important;
    -moz-column-break-inside: avoid !important;
         break-inside: avoid !important;
    page-break-inside: avoid !important;
  }
  #iciLaPage table.cures tr {
    display: table-row !important;
    border: 2px solid #111 !important;
    -moz-column-break-inside: avoid !important;
         break-inside: avoid !important;
    page-break-inside: avoid !important;
  }
  #iciLaPage table.cures td {
    display: table-cell !important;
    vertical-align: top;
    border: 2px solid #111 !important;
  }
  #iciLaPage table.cures tr.sep > th.sep,
  #iciLaPage table.cures tr.sep > td {
    height: 1rem !important;
    padding: 0 !important;
    border: 0 !important;
    background: white !important;
    border-top: 2px solid var(--border) !important;
  }
  #iciLaPage h1.listeDocuments {
    -moz-column-break-before: page !important;
         break-before: page !important; /* moderne */
    page-break-before: always !important; /* legacy */
  }
  #iciLaPage h3.listeDocuments {
    margin: 3mm 0 1mm 0;
    font-size: 120%;
  }
  #iciLaPage p.listeDocuments {
    margin: 0;
  }
  #iciLaPage p.listeDocuments a::before {
    display: inline !important; /* s'assure qu'il reste sur la même ligne */
    margin-left: 5mm;
  }
  #iciLaPage .simplegallery {
    page-break-inside: avoid !important;
    -moz-column-break-inside: avoid !important;
         break-inside: avoid !important;
  }
  #iciLaPage .gallerydesctext,
  #iciLaPage .gallerystatus,
  #iciLaPage img.navimages {
    display: none !important;
  }
}
/*	/assets/scss/base/_forms.scss		*/
/* /assets/scss/components/_balancement.scss */
.balancement {
  animation: balancement 5s ease-in-out infinite;
  transform-origin: center center;
  display: inline-block;
  padding-right: 0.2em;
}

@keyframes balancement {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(-10deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
/*	/assets/scss/base/_forms.scss		*/
/* /assets/scss/abstract/_index.scss	*/
/* /assets/scss/components/_cadres.scss */
div.cadre {
  text-align: center;
}

.cadre-border,
.cadre-bordure {
  border: 1px solid black;
}

.cadre-shadow {
  box-shadow: 0.3rem 0.3rem 0.3rem rgba(0, 0, 0, 0.5);
}

fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

/*	/assets/scss/base/_forms.scss		*/
/* /assets/scss/components/_scrollbar.scss */
.scrollbar-modern {
  scrollbar-width: thin;
  scrollbar-color: #888 #f0f0f0;
}
.scrollbar-modern::-webkit-scrollbar {
  width: 8px;
}
.scrollbar-modern::-webkit-scrollbar-track {
  background: #f0f0f0;
}
.scrollbar-modern::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 4px;
}

.scrollbar-old {
  scrollbar-width: auto;
  scrollbar-color: auto;
}
.scrollbar-old::-webkit-scrollbar {
  width: 16px;
}
.scrollbar-old::-webkit-scrollbar-track {
  background: #ccc;
}
.scrollbar-old::-webkit-scrollbar-thumb {
  background-color: #333;
}

/*	/assets/scss/base/_forms.scss		*/
/* /assets/scss/components/_tremblement.scss */
/* fait vibrer légèrement avec la classe vibre */
@keyframes tremblement {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(0.3px, -0.3px);
  }
  50% {
    transform: translate(-0.3px, 0.3px);
  }
  75% {
    transform: translate(0.3px, 0.3px);
  }
  100% {
    transform: translate(0, 0);
  }
}
.vibre {
  animation: tremblement 0.15s infinite;
  cursor: pointer;
}

/*	/assets/scss/base/_forms.scss		*/
/* /assets/scss/abstract/_index.scss	*/
/* /assets/scss/components/_photos.scss */
figure.photo {
  display: block;
  margin-bottom: 0.2rem;
}
figure.photo img {
  border: 1px solid black;
  width: 100%;
  height: auto;
}
figure.photo .legendePhotoAuDessus,
figure.photo .legendePhotoSous,
figure.photo .legendePhotoEnDessous {
  font-family: "Lato", sans-serif;
  font-size: 0.8rem;
  font-weight: bold;
  font-style: italic;
}
figure.photo .legendePhotoAuDessous {
  margin: 0px 0 8px 0;
}
figure.photo .legendePhotoSous {
  margin: 0.5rem 0 0.4rem 0;
  display: block;
  padding: 0 0.5rem;
  font-size: 0.9rem;
  color: var(--color) !important;
  text-align: center;
  max-width: 100%;
  white-space: normal !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
figure.photo .legendePhotoEnDessous {
  margin: -8px 0 5px 0;
}

figure.left {
  float: left;
  margin: 0 1.5rem 0.4rem 0;
}

figure.right {
  float: right;
  margin: 0 0 0.4rem 1.5rem;
}

.galeriePhotos {
  display: flex;
  margin-top: 1rem;
  flex-wrap: wrap; /* Permet aux images de passer à la ligne suivante si nécessaire */
  row-gap: 1rem; /* Espacement entre les éléments */
  -moz-column-gap: 2rem;
       column-gap: 2rem;
  justify-content: space-around;
  /* Ajout de flex-basis pour contrôler la taille de base des éléments */
}
.galeriePhotos figure.photo {
  flex-basis: 100%; /* La largeur de base est déterminée par le contenu (image ici) */
}
.galeriePhotos .right,
.galeriePhotos .left {
  margin: 0; /* Supprimer la marge des côtés */
  float: none;
}

/* Media Query pour les petits écrans */
@media screen and (max-width: 600px) {
  /* Supprimer les marges de gauche et de droite en mode portrait/mobile */
  figure.left,
  figure.right {
    margin: 0; /* Supprimer la marge des côtés */
    float: none; /* Arrêter le flot des éléments pour éviter les débordements */
    display: block; /* Faire en sorte que les images s'affichent en block (pas flottant) */
    width: 100%; /* S'assurer que l'image occupe toute la largeur disponible */
  }
  /* Optionnel : pour plus de contrôle sur les images */
  figure.photo {
    max-width: 100%; /* Éviter que la figure dépasse la largeur de son parent */
    margin: auto;
    flex-basis: 100%;
    /* Adapter la taille de l'image si nécessaire */
  }
  figure.photo img {
    max-width: 100%; /* Assurer que l'image ne dépasse pas la largeur du parent */
    height: auto; /* Garder les proportions de l'image */
  }
}
.nobord img {
  border: 0;
}

.photo img.nobord {
  border: 0;
}

img.boxshadow {
  box-shadow: 0.3rem 0.3rem 0.3rem rgba(0, 0, 0, 0.5);
}

img.dropshadow {
  box-shadow: drop-shadow(0.3rem 0.3rem 0.3rem rgba(0, 0, 0, 0.5));
}

.cadre-photo img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/*	/assets/scss/base/_forms.scss		*/
/* /assets/scss/components/_youtube.scss */
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  max-height: 85vh;
  aspect-ratio: 4/3;
  margin: 0.5rem auto;
  box-shadow: 0.3rem 0.3rem 0.3rem rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.video-wrapper iframe.youTube {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: none;
  -o-object-fit: cover;
     object-fit: cover;
}

/*	/assets/scss/base/_forms.scss		*/
/* /assets/scss/components/_simplegallery.scss */
/* Centrer les images de navigation dans le conteneur */
.simplegallery {
  margin: 0 auto; /* Centrer le conteneur horizontalement */
  text-align: center; /* Centrer le contenu à l'intérieur du conteneur */
  box-shadow: 0.3rem 0.3rem 0.3rem rgba(0, 0, 0, 0.5);
  /* Si vous souhaitez les centrer dans un conteneur spécifique */
}
.simplegallery .navimages {
  display: inline-block; /* S'assurer qu'elles sont en ligne */
  margin: 0 auto; /* Centrer horizontalement */
  opacity: 0.8;
  cursor: pointer;
  border: 0; /* Enlever la bordure si présente */
  text-align: center; /* Centrer le texte, mais inutile si ce sont des images */
  vertical-align: middle; /* Assurer un alignement vertical correct */
}
.simplegallery .navpanel,
.simplegallery .gallerydesctext {
  display: flex;
  justify-content: center; /* Centrer horizontalement les éléments à l'intérieur */
  align-items: center; /* Centrer verticalement */
  width: 100%; /* Assurez-vous que le conteneur prend toute la largeur */
}

@media screen and (max-width: 800px) {
  .simplegallery {
    width: 60% !important;
    /* hauteur responsive mais bornée pour garder les contrôles visibles */
    height: clamp(280px, 58vh, 420px) !important;
  }
}
@media screen and (max-width: 800px) and (max-width: 500px) {
  .simplegallery {
    margin: 0;
    padding: 0;
    width: calc(100% - 4px) !important;
    /* hauteur responsive mais bornée pour garder les contrôles visibles */
    height: clamp(220px, 58vh, 420px) !important;
  }
}
/*	/assets/scss/base/_forms.scss		*/
/* /assets/scss/abstract/_index.scss	*/
/* /assets/scss/layout/_fenetre.scss */
#fenetre {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/*	/assets/scss/base/_forms.scss		*/
/* /assets/layout/_bandeau.scss */
html.pre-desktop #bandeauLaCostelle {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  flex-shrink: 0;
  z-index: 10;
  width: 100%;
}
html.pre-desktop #bandeauLaCostelle #menuHorizontal {
  width: 100%;
}
html.pre-desktop #bandeauLaCostelle .bandeauGauche {
  padding-left: 0;
  margin-left: 0;
  width: 200px;
}
html.pre-desktop #bandeauLaCostelle .bandeauGauche a img {
  margin: 0;
  padding: 0;
  display: block;
}
html.pre-desktop #bandeauLaCostelle .bandeauDroit {
  display: flex;
  flex: 1;
  justify-content: space-between;
  flex-wrap: nowrap;
  padding: 0;
  max-width: 100%;
  background-color: #689633;
  background-image: url("/images/bandeau/fond_header_50.png");
  background-repeat: repeat-x;
  background-size: auto 100%;
  overflow: hidden;
}
html.pre-desktop #bandeauLaCostelle .bandeauDroit img.titreLaCostelle {
  margin-left: 1rem;
  padding: 0;
}
html.pre-desktop #bandeauLaCostelle .bandeauDroit img.balancement {
  margin-right: 0rem;
  padding: 0;
}
html.pre-desktop #bandeauLaCostelle .bandeauDroit .titrePortrait,
html.pre-desktop #bandeauLaCostelle .bandeauDroit .titrePaysage {
  display: none;
}

html.pre-mobile #bandeauLaCostelle {
  height: auto;
}
html.pre-mobile #bandeauLaCostelle .bandeauGauche {
  display: none;
}
html.pre-mobile #bandeauLaCostelle .bandeauDroit {
  height: auto;
  /* Mode portrait */
  /* Mode paysage */
}
html.pre-mobile #bandeauLaCostelle .bandeauDroit .titreLaCostelle,
html.pre-mobile #bandeauLaCostelle .bandeauDroit .balancement {
  display: none;
}
html.pre-mobile #bandeauLaCostelle .bandeauDroit .titrePortrait,
html.pre-mobile #bandeauLaCostelle .bandeauDroit .titrePaysage {
  display: flex;
  justify-content: center;
  align-items: center; /* Centre verticalement */
  width: 100%;
  text-align: center; /* Centre horizontalement */
  color: yellow;
  font-style: italic;
  text-shadow: 0.3vw 0.3vw 0.8vw rgb(1, 2, 1), 0 0 2px rgba(255, 255, 255, 0.3);
  background: linear-gradient(to top, #363, #6c6);
  padding-bottom: 0.5vw;
  margin: 0;
}
@media (orientation: portrait) {
  html.pre-mobile #bandeauLaCostelle .bandeauDroit .titrePortrait {
    display: flex;
    font-size: 5.5vw; /* Ajuste la taille pour le portrait */
  }
  html.pre-mobile #bandeauLaCostelle .bandeauDroit .titrePaysage {
    display: none;
  }
}
@media (orientation: landscape) {
  html.pre-mobile #bandeauLaCostelle .bandeauDroit .titrePortrait {
    display: none;
  }
  html.pre-mobile #bandeauLaCostelle .bandeauDroit .titrePaysage {
    display: flex;
    font-size: 2.5vw; /* Ajuste la taille pour le paysage */
  }
}
html.light .bandeauDroit {
  background-image: linear-gradient(to bottom, rgb(79.6292682927, 114.1853658537, 39.8146341463), rgb(132.3365853659, 189.3317073171, 66.6682926829));
}

html.dark .bandeauDroit {
  background-color: #6a9835;
}

/*	/assets/scss/base/_forms.scss		*/
/* /assets/layout/_menuHorizontal.scss */
#menuHorizontal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow-x: auto;
  white-space: nowrap;
  font-size: 0.9rem;
  flex-shrink: 0;
  line-height: 20px;
  background: var(--menuBg) !important;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.75);
  z-index: 2;
}
#menuHorizontal .mhLeft {
  display: flex;
  align-items: center;
  background: var(--menuBg);
}
#menuHorizontal .mhLeft #menuBurgerToggle {
  display: none;
  all: unset;
  padding: 0 1rem 0 1rem;
  color: var(--menuTxt);
  background: var(--menuBg);
  cursor: pointer;
}
#menuHorizontal .mhLeft #menuBurgerToggle:hover {
  color: var(--menuHover);
}
#menuHorizontal .mhRight {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 300px;
  -moz-column-gap: 1.2rem;
       column-gap: 1.2rem;
  min-width: 300px;
  padding-right: 0.2rem;
  background: var(--menuBg);
}
#menuHorizontal .mhRight button {
  all: unset;
  cursor: pointer;
  background-color: var(--menuBg);
  color: var(--menuTxt);
}
#menuHorizontal .mhRight button:hover {
  color: var(--menuHover);
}
#menuHorizontal .mhRight a i {
  transform: translateY(2px);
}
#menuHorizontal .mhRight a {
  display: inline-flex;
  text-decoration: none;
  font-weight: bold;
  color: var(--menuTxt);
  background: var(--menuBg);
  pointer-events: auto;
  padding: 0;
  padding-bottom: -2px;
}
#menuHorizontal .mhRight a:hover {
  color: var(--menuHover);
}
#menuHorizontal #menuOptions {
  padding-right: 0.8rem;
}

html.pre-mobile:not(.menu-visible) #menuHorizontal .mhLeft #menuBurgerToggle {
  display: block;
}

html.pre-desktop #menuHorizontal .mhLeft #menuBurgerToggle {
  display: none;
}

/*	/assets/scss/base/_forms.scss		*/
/* /assets/layout/_menuOptions.scss */
#optionsMenu,
.options-menu {
  display: none;
  position: absolute;
  right: 1.5rem;
  top: 5rem;
  width: 16rem;
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  box-shadow: 0.3rem 0.3rem 0.3rem rgba(0, 0, 0, 0.5);
  z-index: 10;
  padding: 0.5rem;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  color: var(--menuTxt);
  background: var(--menuBg);
}
#optionsMenu.show,
.options-menu.show {
  display: block;
  transform: translateY(0);
  pointer-events: auto;
}
#optionsMenu button,
.options-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: none;
  text-align: left;
  padding: 0.4rem !important;
  cursor: pointer;
  font-size: 0.9rem;
  box-shadow: none;
  background: transparent;
  color: var(--menuTxt);
}
#optionsMenu button:hover,
.options-menu button:hover {
  color: var(--menuHover);
}
#optionsMenu .menu-icon,
.options-menu .menu-icon {
  width: 1.5rem;
  text-align: center;
  flex-shrink: 0;
  padding-right: 1rem;
}
#optionsMenu .menu-label,
.options-menu .menu-label {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#optionsMenu .menu-shortcut,
.options-menu .menu-shortcut {
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--menuTxt);
  filter: brightness(50%);
  flex-shrink: 0;
}
#optionsMenu #windowDimensionsMode,
.options-menu #windowDimensionsMode {
  margin-top: 0.5rem;
  padding-top: 0.3rem;
  border-top: 1px solid var(--menuTxt);
  font-size: 0.85rem;
  color: var(--menuTxt);
  filter: brightness(50%);
  text-align: center;
}

head.dark #optionsMenu {
  color: var(--menuTxt);
  background-color: var(--menuBg);
  border: 2px solid var(--border);
}
head.dark #optionsMenu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: none;
  text-align: left;
  padding: 0.4rem !important;
  cursor: pointer;
  font-size: 0.9rem;
  box-shadow: none;
  background: transparent;
}
head.dark #optionsMenu button:hover {
  color: #ffd700;
}
head.dark #optionsMenu button .menu-icon {
  width: 1.5rem;
  text-align: center;
  flex-shrink: 0;
  padding-right: 1rem;
}
head.dark #optionsMenu button .menu-label {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
head.dark #optionsMenu button .menu-shortcut {
  font-family: monospace;
  font-size: 0.9rem;
  color: rgba(var(--menuTxt), 0.5);
  flex-shrink: 0;
}
head.dark #optionsMenu #windowDimensionsMode {
  background-color: transparent;
  color: rgba(var(--menuTxt), 0.7);
}

#toggleFullscreen {
  display: flex !important;
}

/*	/assets/scss/base/_forms.scss		*/
/* /assets/layout/_toutLeBas.scss  */
#toutLeBas {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: row;
  overflow: hidden;
  height: 100%;
  color: var(--color);
  background: var(--colorBg);
}

/*	/assets/scss/base/_forms.scss		*/
/* /assets/layout/_menuVertical.scss */
html.pre-mobile html.pre-desktop #menuVertical {
  display: none !important;
}

html.pre-desktop #menuVertical {
  position: relative;
  width: 200px;
  flex-shrink: 0;
  min-height: 100%;
  height: 100%;
  z-index: 10;
  background-color: var(--colorBg);
}
html.pre-desktop #menuVertical::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 100%;
  background-image: url("/images/menus/fondmenu_moyen200.png");
  background-repeat: no-repeat;
  background-position: top left;
  filter: drop-shadow(0.3rem 0.3rem 0.3rem rgba(0, 0, 0, 0.5));
  z-index: 1;
  pointer-events: none;
}
html.pre-desktop #menuVertical ul.mainMenuVertical {
  list-style: none;
  margin: 0;
  padding: 0;
}
html.pre-desktop #menuVertical ul.mainMenuVertical li {
  position: relative;
  overflow: visible;
  margin: 0;
  padding: 0;
}
html.pre-desktop #menuVertical ul.mainMenuVertical li.no-submenu > a.menu-link {
  position: relative;
  display: block;
  z-index: 10;
  padding: 0 0 0 0.6rem;
  text-decoration: none;
  font-family: "Lato", sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 1.1rem;
  text-align: left;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--menuTxt);
}
html.pre-desktop #menuVertical ul.mainMenuVertical li.no-submenu > a.menu-link:hover {
  background-image: url("/images/menus/fond_menu_vertical_niveau_1_190.png");
  color: var(--menuHover);
}
html.pre-desktop #menuVertical ul.mainMenuVertical li.no-submenu.actu {
  display: block;
  text-decoration: none;
  color: var(--menuActu);
  font-weight: bold;
  text-indent: 0.5rem;
}
html.pre-desktop #menuVertical ul.mainMenuVertical li.no-submenu.actu:hover {
  background-image: url("/images/menus/fond_menu_vertical_niveau_1_190.png") center left repeat;
  color: var(--menuActu);
}
html.pre-desktop #menuVertical ul.mainMenuVertical li.no-submenu > a.recherche {
  position: relative;
  display: block;
  z-index: 10;
  padding: 0 0 0 0.6rem;
  text-decoration: none;
  font-family: "Lato", sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 1.1rem;
  text-align: left;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--menuTxt);
  background: transparent;
}
html.pre-desktop #menuVertical ul.mainMenuVertical li.no-submenu > a.recherche:hover {
  color: var(--menuHover);
}
html.pre-desktop #menuVertical ul.mainMenuVertical li.has-submenu {
  width: 100%;
}
html.pre-desktop #menuVertical ul.mainMenuVertical li.has-submenu > button.menu-toggle.menu-mobile {
  position: relative;
  display: block;
  width: 100%;
  padding: 0 0 0 10px;
  margin: 0;
  background-color: transparent;
  border-radius: 0 !important;
  box-shadow: none;
  border: none;
  text-align: left;
  z-index: 10;
  cursor: pointer;
  padding: 0 0 0 0.6rem;
  text-decoration: none;
  font-family: "Lato", sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 1.1rem;
  text-align: left;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--menuTxt);
}
html.pre-desktop #menuVertical ul.mainMenuVertical li.has-submenu > button.menu-toggle.menu-mobile:hover {
  background-image: url("/images/menus/fond_menu_vertical_niveau_1_190.png");
  background-size: 100% 100%;
  color: var(--menuHover);
}
html.pre-desktop #menuVertical ul.mainMenuVertical li.has-submenu > button.menu-toggle.menu-mobile.actu {
  display: block;
  text-decoration: none;
  color: var(--menuActu); /* ici menu desktop */
  font-weight: bold;
  font-size: 1rem;
  text-indent: 0.5rem;
}
html.pre-desktop #menuVertical ul.mainMenuVertical li.has-submenu > button.menu-toggle.menu-mobile.actu:hover {
  background-image: url("/images/menus/fond_menu_vertical_niveau_1_190.png") center left repeat;
  color: var(--menuHover);
}
html.pre-desktop #menuVertical ul.mainMenuVertical li.has-submenu ul.sousMenuVertical {
  width: 100%;
  transform: translateY(0);
  will-change: transform;
  max-height: 50vh;
  overflow-y: auto;
}
html.pre-desktop #menuVertical ul.mainMenuVertical li.has-submenu ul.sousMenuVertical li {
  width: 100%;
}
html.pre-desktop #menuVertical ul.mainMenuVertical li.has-submenu ul.sousMenuVertical li a {
  display: block;
  width: 100%;
}
html.pre-desktop #menuVertical ul.mainMenuVertical li.has-submenu ul.sousMenuVertical li a:hover {
  background: url("/images/menus/fond_menu_vertical_niveau_1_190.png");
  background-size: 100% 100%;
  color: var(--menuHover);
}
html.pre-desktop #menuVertical ul.mainMenuVertical li.has-submenu ul.sousMenuVertical li a.sousmenu.actu {
  color: var(--menuActu);
  text-indent: 0.5rem;
}
html.pre-desktop #menuVertical ul.mainMenuVertical li.has-submenu:hover ul.sousMenuVertical {
  display: block;
  opacity: 1;
  visibility: visible;
}
html.pre-desktop #menuVertical ul.mainMenuVertical li.has-submenu:not(:hover) ul.sousMenuVertical {
  display: none;
  opacity: 0;
  visibility: hidden;
}
html.pre-desktop #menuVertical ul.mainMenuVertical .recherche {
  margin: 1.2rem 0 0 0.1rem;
}
html.pre-desktop #menuVertical ul.mainMenuVertical .recherche .fas.fa-search {
  font-style: normal;
  font-size: 1.6rem;
}
html.pre-desktop #menuVertical .divMenuBas {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}
html.pre-desktop #menuVertical .divMenuBas img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  margin-bottom: 1rem;
  z-index: 100;
}
html.pre-desktop #menuVertical .menuScrollable {
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  z-index: 1000;
}
html.pre-desktop #menuVertical .menuScrollable::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 191px;
  height: 100%;
  background-image: url("/images/menus/fondmenu_moyen191.png");
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: top left;
  filter: drop-shadow(0.3rem 0.3rem 0.3rem rgba(0, 0, 0, 0.5));
  z-index: -1;
  pointer-events: none;
  line-height: 1;
}

html.pre-desktop #menuVertical li.has-submenu > ul.sousMenuVertical {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 450px;
  margin-top: -2rem;
  padding: 0.6rem 0;
  background: url("/images/menus/fond_sous_menu_3.png") no-repeat top left;
  background-size: cover;
  box-shadow: 0.3rem 0.3rem 0.3rem rgba(0, 0, 0, 0.5);
  z-index: 20;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  opacity: 0;
  visibility: hidden;
}
html.pre-desktop #menuVertical li.has-submenu > ul.sousMenuVertical li {
  list-style: none;
}
html.pre-desktop #menuVertical li.has-submenu > ul.sousMenuVertical li a {
  padding: 0 0 0 0.6rem;
  text-decoration: none;
  font-family: "Lato", sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 1.1rem;
  text-align: left;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--menuTxt);
}
html.pre-desktop #menuVertical li.has-submenu > ul.sousMenuVertical li a:hover {
  background-image: url("/images/menus/fond_menu_vertical_niveau_1_190.png") center left repeat;
  background-color: var(--menuBg);
  color: var(--menuHover);
}

html.pre-desktop #menuVertical li:hover > ul.sousMenuVertical {
  pointer-events: auto;
  top: 0;
  bottom: auto;
  opacity: 1;
  visibility: visible;
}

html.pre-desktop.dark #menuVertical li.has-submenu > ul.sousMenuVertical {
  background-color: var(--menuBg);
  border: 0px solid var(--border);
}

head.dark #menuVertical .divMenuBas img {
  filter: invert(100%);
}

html.pre-mobile:not(.menu-visible) #menuVertical {
  display: none;
}

/* pas de divMenuBas */
html.pre-mobile.menu-visible #divMenuBas {
  display: none;
}

/* gestion principale du menu mobile */
html.pre-mobile.menu-visible #menuVertical {
  position: absolute;
  top: 0;
  left: 0;
  width: 100¼;
  height: 100vh;
  z-index: 10;
  background-color: var(--menuBg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  padding: 0;
  cursor: pointer;
  /* Liste du menu */
}
html.pre-mobile.menu-visible #menuVertical ul.mainMenuVertical {
  list-style: none;
  margin: 0;
  padding: 0 1rem 0 0;
  width: 100%;
}
html.pre-mobile.menu-visible #menuVertical ul.mainMenuVertical li.no-submenu {
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
  line-height: 1.5;
  /* Liens de menu (liens principaux et boutons de menu) */
}
html.pre-mobile.menu-visible #menuVertical ul.mainMenuVertical li.no-submenu a,
html.pre-mobile.menu-visible #menuVertical ul.mainMenuVertical li.no-submenu .menu-toggle {
  display: block;
  width: 100%;
  margin: 0;
  text-align: left;
  text-decoration: none;
  color: var(--menuTxt);
  background-color: var(--menuBg);
  font-weight: normal;
  border-radius: none;
  padding: 0 0 0 0.6rem;
  text-decoration: none;
  font-family: "Lato", sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 1.1rem;
  text-align: left;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 2;
}
html.pre-mobile.menu-visible #menuVertical ul.mainMenuVertical li.no-submenu a.recherche {
  display: none;
}
html.pre-mobile.menu-visible #menuVertical ul.mainMenuVertical li.has-submenu {
  margin: 0;
  padding: 0;
  /* Sous-menu fermé */
}
html.pre-mobile.menu-visible #menuVertical ul.mainMenuVertical li.has-submenu button {
  all: unset;
  margin: 0;
  padding: 0;
  padding: 0 0 0 0.6rem;
  text-decoration: none;
  font-family: "Lato", sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 1.1rem;
  text-align: left;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 2;
  color: var(--menuTxt);
}
html.pre-mobile.menu-visible #menuVertical ul.mainMenuVertical li.has-submenu button.actu {
  display: block;
  text-decoration: none;
  color: var(--menuActu); /* ici menu desktop */
  font-weight: bold;
  font-size: 1rem;
  text-indent: 0.5rem;
}
html.pre-mobile.menu-visible #menuVertical ul.mainMenuVertical li.has-submenu ul.sousMenuVertical {
  display: none; /* Cacher par défaut */
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  margin: 0;
  padding: 0;
  list-style-type: none; /* Supprime les puces */
  /* Sous-menu ouvert */
}
html.pre-mobile.menu-visible #menuVertical ul.mainMenuVertical li.has-submenu ul.sousMenuVertical a.sousmenu {
  padding: 0 0 0 0.6rem;
  text-decoration: none;
  font-family: "Lato", sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 1.1rem;
  text-align: left;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--menuTxt);
  line-height: 2;
  font-weight: 400;
}
html.pre-mobile.menu-visible #menuVertical ul.mainMenuVertical li.has-submenu ul.sousMenuVertical a.sousmenu.actu {
  color: var(--menuActu);
  padding-left: 1.5rem !important;
}
html.pre-mobile.menu-visible #menuVertical ul.mainMenuVertical li.has-submenu ul.sousMenuVertical li,
html.pre-mobile.menu-visible #menuVertical ul.mainMenuVertical li.has-submenu ul.sousMenuVertical li.has-submenu[aria-expanded=true] ul.sousMenuVertical {
  display: block; /* Afficher le sous-menu */
  max-height: none;
  opacity: 1; /* Rendre visible */
  visibility: visible; /* Le rendre interactif */
  margin: 0 !important;
  padding: 0 1rem 0 0.6rem !important;
  color: green;
}
html.pre-mobile.menu-visible #menuVertical ul.mainMenuVertical li.has-submenu ul.sousMenuVertical li a.sousmenu,
html.pre-mobile.menu-visible #menuVertical ul.mainMenuVertical li.has-submenu ul.sousMenuVertical li.has-submenu[aria-expanded=true] ul.sousMenuVertical a.sousmenu {
  padding: 0 0 0 0.6rem;
  text-decoration: none;
  font-family: "Lato", sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 1.1rem;
  text-align: left;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 2;
  color: var(--menuTxt);
  margin: 0 !important;
  padding: 0 1rem !important;
}

/* souligne les éléments de menu sélectionnés */
html.pre-mobile.menu-visible.light div#fenetre section#toutLeBas aside#menuVertical ul.mainMenuVertical li.has-submenu button.menu-toggle.menu-mobile.actu,
html.pre-mobile.menu-visible.light div#fenetre section#toutLeBas aside#menuVertical ul.mainMenuVertical li.has-submenu ul.sousMenuVertical li a.sousmenu.actu,
html.pre-mobile.menu-visible.dark div#fenetre section#toutLeBas aside#menuVertical ul.mainMenuVertical li.has-submenu button.menu-toggle.menu-mobile.actu,
html.pre-mobile.menu-visible.dark div#fenetre section#toutLeBas aside#menuVertical ul.mainMenuVertical li.has-submenu ul.sousMenuVertical li a.sousmenu.actu {
  display: block;
  text-decoration: none;
  font-style: italic;
  color: var(--menuActu);
  font-weight: bold;
  text-indent: 0.6rem;
}

/* efface le menu si pas visible */
html.pre-mobile:not(.menu-visible) #menuVertical {
  display: none;
}

/* Styles spécifiques aux petits écrans (jusqu'à 400px en portrait) */
@media screen and (max-width: 500px) {
  #menuVertical {
    width: 100vw;
  }
}
@media screen and (max-width: 400px) and (orientation: portrait) {
  #menuVertical {
    width: 100vw;
  }
}
/*	/assets/scss/base/_forms.scss		*/
/* /assets/layout/_pagesLaCostelle.scss */
main#pagesLaCostelle {
  overflow-y: auto;
  display: block;
  height: 100%;
  width: 100%;
  z-index: 1;
  padding: 1.6rem 1rem 0 1.5rem;
  color: var(--color);
  background-color: var(--colorBg);
}
@media screen and (max-width: 900px) {
  main#pagesLaCostelle {
    padding-top: 0.8rem;
    padding-left: 1rem;
    padding-right: 0.75rem;
  }
}
@media screen and (max-width: 500px) {
  main#pagesLaCostelle {
    padding-top: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

head.dark main#pagesLaCostelle em,
head.dark main#pagesLaCostelle a,
head.dark main#pagesLaCostelle .legendePhotoSous {
  color: var(--color);
}
head.dark main#pagesLaCostelle .scroller-vertical,
head.dark main#pagesLaCostelle .scroll-track {
  background: var(--muted);
}
head.dark main#pagesLaCostelle .article-bloc-document a,
head.dark main#pagesLaCostelle .article-bloc-page a,
head.dark main#pagesLaCostelle .centered-content a,
head.dark main#pagesLaCostelle .icon-cell a,
head.dark main#pagesLaCostelle .text-cell a {
  color: var(--accent);
}

main#pagesLaCostelle.scrollbar-modern {
  scrollbar-width: thin;
}
main#pagesLaCostelle.scrollbar-modern::-webkit-scrollbar {
  width: 8px;
}
main#pagesLaCostelle.scrollbar-modern::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 4px;
}

main#pagesLaCostelle.scrollbar-old {
  scrollbar-width: auto;
}
main#pagesLaCostelle.scrollbar-old::-webkit-scrollbar {
  width: 16px;
}
main#pagesLaCostelle.scrollbar-old::-webkit-scrollbar-thumb {
  background-color: #999;
  border-radius: 0;
}

html.pre-mobile main#pagesLaCostelle .menuh {
  display: none;
}

article#iciLaPage {
  display: block;
  width: 100%;
  color: var(--color);
  background-color: var(--colorBg);
}

/*	/assets/scss/base/_forms.scss		*/
/* /assets/layout/_menuhPage.scss */
#menuh {
  display: flex;
  justify-content: flex-start;
  -moz-column-gap: 1rem;
       column-gap: 1rem;
  flex-wrap: wrap;
  font-style: normal;
  font-weight: normal;
  font-size: 0.8rem;
  margin: 0 0 0.5rem 0;
  white-space: nowrap;
  line-height: 1.1;
  padding-left: 1rem;
  color: var(--color);
  background: var(--colorBg);
}
#menuh .titre {
  display: inline-block;
  font-style: italic;
  margin-left: -1rem;
}
@media print {
  #menuh {
    dislay: none;
  }
}

a.menuh {
  line-height: 1.1;
  color: var(--color) !important;
  font-weight: normal;
  white-space: nowrap;
}
a.menuh.selected {
  font-weight: bold;
  text-decoration: none;
}

/*	/assets/scss/base/_forms.scss		*/
/* /assets/layout/_footer.scss */
#footerLaCostelle {
  display: block;
  text-align: center;
  width: 100%;
  line-height: 1.2;
  margin-top: 0.5rem;
}
#footerLaCostelle #baspagecorr {
  font-size: 0.9rem;
  color: var(--color);
  background-image: linear-gradient(to bottom, rgb(181.5951219512, 215.7024390244, 142.2975609756), rgb(132.3365853659, 189.3317073171, 66.6682926829));
  margin: 0 auto;
}
#footerLaCostelle #baspagecorr a.baspagecorra {
  color: var(--color) !important;
}
#footerLaCostelle #baspagecorr .fas.fa-envelope {
  font-size: 120%;
  vertical-align: -1px;
  color: var(--color) !important;
}
#footerLaCostelle .baspage {
  text-align: right;
  font-weight: normal;
  font-style: italic;
  font-size: 60%;
  color: var(--color);
  margin-bottom: 1rem;
  padding-right: 3rem;
}

@media screen and (max-width: 600px) {
  #footerLaCostelle #baspagecorr {
    font-size: 0.7rem;
  }
}
/*	/assets/scss/base/_forms.scss		*/
/* /assets/scss/abstract/_index.scss	*/
/* /assets/scss/layout/_zoom.scss */
:root {
  --vvw: 100vw;
} /* valeur de secours si JS absent */
body.zoomed {
  /* exemples : à adapter à ton site */
  /* si des éléments fixed/sticky gênent pendant le zoom */
}
body.zoomed #global,
body.zoomed #pleine-page,
body.zoomed article {
  inline-size: var(--vvw); /* largeur = viewport visuel */
  max-inline-size: var(--vvw);
  margin-inline: 0;
  padding-inline: 0.5rem; /* petite marge interne */
}
body.zoomed img,
body.zoomed video,
body.zoomed canvas {
  max-width: 100%;
  height: auto;
}
body.zoomed header,
body.zoomed nav {
  position: static; /* ou calcule un décalage avec visualViewport.offset* si besoin */
}

/*	/assets/scss/base/_forms.scss		*/
/* /assets/pages/_pageaccueil.scss */
#iciLaPageAccueil {
  color: var(--color);
  background: var(--colorBg);
  display: flex;
  width: 100%;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0 1rem;
}
#iciLaPageAccueil #texteAccueil {
  flex: 1 1 0;
  min-width: 0;
  background: var(--colorBg);
  margin-right: 1rem;
}
#iciLaPageAccueil #texteAccueil p.enBas .souligne {
  background: yellow;
}
#iciLaPageAccueil #texteAccueil .bloc-photo-texte {
  font-size: 1rem;
  line-height: 1.4;
  margin-top: 0.5rem;
}
#iciLaPageAccueil #texteAccueil .bloc-photo-texte .image-gauche {
  float: left;
  width: 10rem;
  height: auto;
  margin: -0.8rem 1.5rem 2rem -0.6rem;
  border-radius: 50%;
  box-shadow: 0.3rem 0.3rem 0.3rem rgba(0, 0, 0, 0.5);
  -o-object-fit: cover;
     object-fit: cover;
  shape-outside: ellipse(50% 50% at 50% 40%);
  -webkit-shape-outside: ellipse(50% 50% at 50% 40%);
}
@media screen and (max-width: 850px) {
  #iciLaPageAccueil #texteAccueil .bloc-photo-texte .image-gauche {
    width: 8rem;
    margin: -0.5rem 1rem 0rem -0.3rem;
    shape-outside: ellipse(50% 50% at 50% 50%);
    -webkit-shape-outside: ellipse(50% 50% at 50% 50%);
  }
}
@media screen and (max-width: 600px) {
  #iciLaPageAccueil #texteAccueil .bloc-photo-texte .image-gauche {
    width: 6rem;
  }
}
#iciLaPageAccueil #texteAccueil .scroller-vertical {
  height: 6.5rem;
  width: auto;
  overflow: hidden;
  position: relative;
  margin: 0.6rem 0.5rem 0 1rem;
  border: 2px solid var(--border);
  border-radius: 0.5rem;
  box-shadow: 0.3rem 0.3rem 0.3rem rgba(0, 0, 0, 0.5);
  overflow: hidden;
  color: var(--color);
}
#iciLaPageAccueil #texteAccueil .scroller-vertical .scroll-track {
  display: flex;
  padding: 0.03rem 0 0.03rem 0.5rem;
  flex-direction: column;
  font-size: 100%;
  animation: scroll-up 30s linear infinite;
  background: var(--containerBg);
}
#iciLaPageAccueil #texteAccueil .scroller-vertical .scroll-track .article-block-document {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 1rem 1rem 0 0;
  gap: 0.5rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 100%;
  min-width: 0;
}
#iciLaPageAccueil #texteAccueil .scroller-vertical .scroll-track .article-block-document a {
  flex-grow: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  text-decoration: none;
}
#iciLaPageAccueil #texteAccueil .scroller-vertical .scroll-track .article-block-document .icon-cell {
  flex-shrink: 0;
  min-width: 1.4rem;
  text-align: center;
}
#iciLaPageAccueil #texteAccueil .scroller-vertical .scroll-track .article-block-document .auteur-cell {
  min-width: 0;
  flex-shrink: 0;
  font-weight: normal;
  font-style: normal;
  color: var(--color);
}
#iciLaPageAccueil #texteAccueil .scroller-vertical .scroll-track .article-block-document .titre-cell {
  font-style: italic;
  font-weight: bold;
  color: var(--color);
}
#iciLaPageAccueil #texteAccueil .scroller-vertical .scroll-track .article-block-page {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 1rem 0 0;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  text-align: center;
}
#iciLaPageAccueil #texteAccueil .scroller-vertical .scroll-track .article-block-page .centered-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  max-width: 100%;
  overflow: hidden;
}
#iciLaPageAccueil #texteAccueil .scroller-vertical .scroll-track .article-block-page .icon-cell {
  flex: 0 0 auto;
  text-align: center;
}
#iciLaPageAccueil #texteAccueil .scroller-vertical .scroll-track .article-block-page .text-cell {
  flex-grow: 1;
  min-width: 0;
  overflow: hidden;
  font-style: italic;
}
#iciLaPageAccueil #texteAccueil .scroller-vertical .scroll-track .article-block-page .text-cell a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  color: var(--color);
  font-weight: bold;
  text-decoration: none;
  text-align: center;
}
#iciLaPageAccueil #postItQuoiDeNeuf {
  width: 45%; /* Largeur du post-it */
  flex-shrink: 0;
  position: relative; /* <-- cette ligne est essentielle */
  padding: 0 1rem 0 1.5rem; /* Padding à l'intérieur du post-it */
  font-family: "Roboto", sans-serif; /* Police de texte */
  box-shadow: 0.3rem 0.3rem 0.3rem rgba(0, 0, 0, 0.5);
  border-radius: 0px; /* Bords légèrement arrondis pour un effet plus doux */
  font-style: italic;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  transform-origin: top right; /* le point de référence du zoom */
  margin-bottom: 1rem;
  color: var(--postitTxt);
  background: var(--postitBg);
  transform: rotate(1.2deg);
  z-index: 100;
}
#iciLaPageAccueil #postItQuoiDeNeuf::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 4rem;
  height: 2rem;
  background: var(--postitBg);
  filter: brightness(90%);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
#iciLaPageAccueil #postItQuoiDeNeuf:hover {
  transform: scale(1.4) rotate(3deg);
  box-shadow: 1rem 1rem 1rem rgba(0, 0, 0, 0.5);
}
#iciLaPageAccueil #postItQuoiDeNeuf h3 {
  color: darkgreen;
}
#iciLaPageAccueil #postItQuoiDeNeuf li a em,
#iciLaPageAccueil #postItQuoiDeNeuf li em {
  color: var(--postitFort);
}
#iciLaPageAccueil #postItQuoiDeNeuf ul {
  list-style-type: none; /* Supprime les puces par défaut */
  padding-left: 0; /* Enlève le padding à gauche */
}
#iciLaPageAccueil #postItQuoiDeNeuf ul li {
  position: relative; /* Nécessaire pour positionner l'icône */
}
#iciLaPageAccueil #postItQuoiDeNeuf ul li::before {
  content: "▶";
  font-size: 1rem;
  font-style: normal;
  margin-right: 10px;
  color: var(--postitFort);
}
#iciLaPageAccueil #postItQuoiDeNeuf li {
  list-style: none;
  display: flex;
  justify-content: flex-start;
}
#iciLaPageAccueil #postItQuoiDeNeuf li span {
  display: block;
  text-indent: 1.5rem;
  margin-left: -1.3rem;
}
#iciLaPageAccueil #postItQuoiDeNeuf li img {
  float: right;
  max-height: 100%;
  width: auto;
  -o-object-fit: contain;
     object-fit: contain;
  margin-left: 10px;
}

@media screen and (max-width: 850px) {
  #iciLaPageAccueil {
    flex-direction: column;
    gap: 1rem 0;
    padding: 0 0.5rem;
    background: var(--colorBg);
  }
  #iciLaPageAccueil #texteAccueil {
    width: 100%;
    margin-right: 0;
  }
  #iciLaPageAccueil #texteAccueil p.enBas {
    display: block;
  }
  #iciLaPageAccueil #postItQuoiDeNeuf {
    width: 100%;
    transform: rotate(0deg);
    box-shadow: 0.3rem 0.3rem 0.3rem rgba(0, 0, 0, 0.5);
  }
  #iciLaPageAccueil #postItQuoiDeNeuf:hover {
    transform: none;
    box-shadow: 0.3rem 0.3rem 0.3rem rgba(0, 0, 0, 0.5);
  }
}
.popupImportant {
  position: fixed;
  left: 55%;
  top: 60%; /* Centré verticalement */
  width: 70%;
  transform: translate(-50%, -50%); /* Centré horizontalement et verticalement */
  background: var(--containerBg);
  filter: brightness(95%);
  border: 2px solid #666;
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0.3rem 0.3rem 0.3rem rgba(0, 0, 0, 0.5);
  font-size: 1.3rem;
  text-align: center;
  z-index: 99990;
  /* piste infinie */
  /* clé : décaler de -33.333% car on a 3 copies */
}
.popupImportant .banner {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  padding: 0.3rem 0;
  background: transparent;
  margin-bottom: 0.5rem;
}
.popupImportant .marquee {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  will-change: transform;
  animation: slide 12s linear infinite;
}
.popupImportant .marquee span {
  font-weight: 700;
  color: #b30000;
}
@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-33.333%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .popupImportant .marquee {
    animation: none;
  }
}
.popupImportant .close {
  position: absolute; /* Positionne par rapport à #popupImportant */
  top: 10px; /* Ajustez la distance du haut */
  right: 10px; /* Ajustez la distance de la gauche */
  border: none;
  font-size: 1.5rem;
  padding: 0 0.5rem 0 0.5rem;
  font-weight: bold;
  color: white;
  background: red;
  cursor: pointer;
  z-index: 1001;
}

.popupImportant-content {
  font-size: 1.5rem;
}
.popupImportant-content h4 {
  margin-top: 0;
  color: var(--accent);
}

/* BACKDROP pour bloquer les clics derrière et assombrir le fond */
.popup-backdrop {
  position: fixed;
  inset: 0; /* équivaut à top:0; right:0; bottom:0; left:0 */
  background: rgba(0, 0, 0, 0.35);
  /* très bas mais au-dessus du site : */
  z-index: 99980;
  -webkit-backdrop-filter: blur(1px);
          backdrop-filter: blur(1px); /* optionnel : léger flou */
}

@media screen and (max-width: 850px) and (orientation: landscape) {
  .popupImportant {
    left: 50%;
    top: 55%; /* Centré verticalement */
    width: 95%;
    transform: translate(-50%, -50%); /* Centré horizontalement et verticalement */
  }
  .popupImportant-content {
    font-size: 1.2rem;
  }
}
@media screen and (max-width: 450px) {
  .popupImportant {
    left: 50%;
    top: 45%; /* Centré verticalement */
    width: 95%;
    transform: translate(-50%, -50%); /* Centré horizontalement et verticalement */
  }
  .popupImportant-content {
    font-size: 1.15rem;
  }
}
/*	/assets/scss/base/_forms.scss		*/
/*	/assets/scss/pages/_admin.scss	*/
fieldset.quoideneuf,
fieldset.important,
fieldset.fetes,
fieldset.voeux,
fieldset.coord,
fieldset.user-pw,
fieldset.admin-users {
  font-size: 1rem;
  margin: 0 0 1rem 0;
  padding: 0 1rem 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  background: var(--containerBg);
  box-shadow: 0.3rem 0.3rem 0.3rem rgba(0, 0, 0, 0.5);
}
fieldset.quoideneuf .form-row,
fieldset.important .form-row,
fieldset.fetes .form-row,
fieldset.voeux .form-row,
fieldset.coord .form-row,
fieldset.user-pw .form-row,
fieldset.admin-users .form-row {
  display: grid;
  grid-template-columns: 9rem 1fr;
  align-items: center;
  gap: 0.5rem;
}
fieldset.quoideneuf .form-row.espace,
fieldset.important .form-row.espace,
fieldset.fetes .form-row.espace,
fieldset.voeux .form-row.espace,
fieldset.coord .form-row.espace,
fieldset.user-pw .form-row.espace,
fieldset.admin-users .form-row.espace {
  margin-bottom: 0.5rem;
}
fieldset.quoideneuf .form-row.maj,
fieldset.important .form-row.maj,
fieldset.fetes .form-row.maj,
fieldset.voeux .form-row.maj,
fieldset.coord .form-row.maj,
fieldset.user-pw .form-row.maj,
fieldset.admin-users .form-row.maj {
  grid-template-columns: 1fr 9rem;
}
fieldset.quoideneuf legend,
fieldset.important legend,
fieldset.fetes legend,
fieldset.voeux legend,
fieldset.coord legend,
fieldset.user-pw legend,
fieldset.admin-users legend {
  padding: 0 0.4rem;
}
fieldset.quoideneuf label,
fieldset.important label,
fieldset.fetes label,
fieldset.voeux label,
fieldset.coord label,
fieldset.user-pw label,
fieldset.admin-users label {
  display: block;
  margin: 0.4rem 0 0.2rem;
}

/* === Grille 2 colonnes générique pour les zones de saisie + preview === */
fieldset.quoideneuf .saisie,
fieldset.fetes .saisie,
fieldset.voeux .saisie,
fieldset.important .saisie {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 colonnes égales */
  gap: 1rem;
  align-items: stretch; /* hauteurs égales */
  width: 100%;
  margin: 0.7rem 0 1rem 0;
}

/* colonnes “texte” et “aperçu” prennent toute la hauteur */
input[type=text],
input[type=date],
input[type=password] {
  background-color: var(--colorBg);
  padding: 0.3rem 0.5rem;
}

fieldset.quoideneuf textarea,
fieldset.important textarea,
fieldset.fetes textarea,
fieldset.voeux textarea {
  font-family: Lato;
  font-size: 1rem;
  min-height: 10rem;
  background-color: var(--colorBg);
  box-shadow: 0.3rem 0.3rem 0.3rem rgba(0, 0, 0, 0.5);
  padding: 1rem;
}

/* Style commun aux aperçus */
#preview-quoideneuf,
#preview-important,
#preview-fetes,
#preview-voeux {
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  padding: 1rem;
  background: var(--colorBg);
  box-shadow: 0.3rem 0.3rem 0.3rem rgba(0, 0, 0, 0.5);
  overflow: auto;
  background-color: rgb(220, 255, 220);
}

/* Bullets à l’intérieur dans les aperçus */
#preview-quoideneuf ul,
#preview-important ul,
#preview-fetes ul,
#preview-voeux ul {
  list-style-position: inside;
  padding-left: 0rem;
  margin: 0.25rem 0;
}

/* === Cas particulier : fieldset.important (2 colonnes, dates sous chaque colonne) === */
fieldset.important .saisie {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 colonnes égales */
  gap: 1rem;
  align-items: stretch;
  margin: 0.5rem 0;
}

fieldset.important .saisie .dates {
  display: flex;
  flex-direction: column; /* contenu en colonne : textarea/preview + form-row (date) */
  min-width: 0;
}

fieldset.important .saisie textarea,
#preview-important {
  flex: 1 1 auto; /* occupe la hauteur disponible */
  min-height: 10rem;
}

/* ligne date en bas de chaque colonne */
fieldset.important .saisie .dates .form-row {
  margin-top: 0.5rem;
  display: grid;
  grid-template-columns: 10rem 1fr;
  align-items: center;
  gap: 0.5rem;
}

/* table users (inchangé, juste lisible) */
.users-table {
  margin-top: 0.3rem;
}
.users-table th {
  text-align: center;
}
.users-table .fit {
  width: 1%;
  white-space: nowrap;
  text-align: center;
}
.users-table .form-row {
  display: grid;
  grid-template-columns: 1fr 7rem;
  gap: 0.5rem;
  align-items: center;
}

/* --- hotfix onglets --- */
.admin-tabs__tablist {
  z-index: 50;
} /* au-dessus du contenu */
.admin-tabs__panel {
  z-index: 0;
} /* le panel ne recouvre pas la barre */
.admin-tabs__tab {
  position: relative;
  z-index: 1;
}

.admin-tabs__tab[aria-selected=true] {
  z-index: 2;
}

.admin-tabs {
  margin: 0.75rem 0 0;
}

.admin-tabs__tablist {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 0;
  border-bottom: 0;
  position: sticky;
  top: 0;
  background: var(--colorBg, #fff);
  z-index: 50;
  padding: 0.25rem 0.25rem 0;
  -webkit-overflow-scrolling: touch;
}

.admin-tabs__tab {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  line-height: 1.2;
  white-space: normal;
  width: 15%;
  background: var(--panel, #f7f7f9);
  color: var(--color);
  border: 1px solid var(--border);
  border-top-left-radius: 0.6rem;
  border-top-right-radius: 0.6rem;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  padding: 0.5rem;
  position: relative;
  top: 1px;
}

.admin-tabs__tab:hover {
  color: var(--colorBg);
}

.admin-tabs__tab[aria-selected=true] {
  background: var(--containerBg) !important;
  color: var(--color);
  border-bottom: 3px solid transparent;
  z-index: 2;
  margin-bottom: -1px;
  font-weight: 600;
}

.admin-tabs__panel[aria-hidden=true] {
  display: none;
}

.admin-tabs__panel > legend {
  display: none;
}

.actions-submit {
  display: flex;
  justify-content: flex-start;
  align-items: center; /* aligne verticalement bouton + messages */
  gap: 0 1rem; /* espace entre eux */
  padding: 0;
  height: 2rem;
  margin-top: 1rem;
}
.actions-submit .btn-submit {
  flex: 0 0 auto;
  margin-right: 1rem;
  min-width: 8.5rem;
}
.actions-submit .msg {
  flex: 1 1 auto;
  margin: 0;
  width: 100%;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  background: #eee;
  height: 100%;
  min-height: 100%;
  max-height: 5rem;
}
.actions-submit .msg p {
  margin: 0;
  padding: 0;
}
.actions-submit .msg.success {
  background: #e9f7ef;
  border: 1px solid var(--color);
}
.actions-submit .msg.error {
  background: #fff5f5;
  border: 1px solid var(--rouge, red);
}

/*	/assets/scss/base/_forms.scss		*/
/*	/assets/scss/pages/_bigimage.scss	*/
/* Définition générale de #bigimage */
html {
  overflow: hidden;
}

body {
  color: var(--color);
  background: var(--colorBg, red);
}

#bigimage {
  position: relative;
  min-height: 100vh; /* couvre toute la hauteur visible */
  width: 100%;
}
#bigimage #image-info {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centre verticalement le contenu */
  align-items: center; /* Centre horizontalement le contenu */
  position: absolute;
  top: 50%; /* Centrer verticalement */
  left: 50%; /* Centrer horizontalement */
  transform: translate(-50%, -50%); /* Ajuste pour le véritable centrage */
  width: 100%;
  margin-top: 2rem;
}
#bigimage #image-info p {
  font-size: 1.2rem;
  color: var(--color);
  text-align: center;
  margin: 0;
  padding: 0;
  z-index: 0; /* Positionner sous l'image */
}
#bigimage .entete {
  padding-bottom: 0.5rem;
}
#bigimage #image-info p#image-name,
#bigimage #image-info p#image-dimensions {
  font-size: 0.8rem;
}
#bigimage h1 {
  font-weight: bold;
  font-size: 2rem;
  padding: 0.2rem 0 0 0;
  border-bottom: 3px solid var(--underline);
  font-variant: small-caps;
  text-align: center;
  margin: 0;
}
#bigimage h2 {
  font-size: 1.5rem;
  color: var(--color);
  padding-top: 0em;
  padding-bottom: 0em;
  text-align: center;
  margin: 0.1rem 0 0 0;
}
#bigimage label {
  display: block;
  font-size: 70%;
  font-weight: bold;
  padding: 0.3em;
}
#bigimage img#image {
  border: none;
  position: absolute;
  z-index: 1;
  cursor: grab;
  max-width: none !important;
  max-height: none !important;
  width: auto; /* we'll set px in JS */
  height: auto; /* we'll set px in JS */
  display: block;
}
#bigimage .nobord {
  border: 0;
}
#bigimage #bigimage-directives #retourButton {
  position: fixed;
  top: 8rem;
  left: 1rem;
  font-size: 1.2rem;
  background-color: var(--borderLight);
  color: var(--colorBg);
  padding: 0.3rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: bold;
  z-index: 2; /* Augmenter le z-index pour le bouton */
  cursor: pointer;
  transition: background-color 0.3s ease;
  opacity: 1;
}
#bigimage #bigimage-directives #retourButton:hover {
  color: var(--underline);
}
#bigimage #bigimage-directives p.bi-infos-mobile,
#bigimage #bigimage-directives p.bi-infos-desktop {
  position: fixed;
  top: 10rem;
  left: 1rem;
  font-size: 0.8rem;
  z-index: 2;
  color: var(--color);
  color: black;
  text-shadow: 0 0 0.5rem rgb(255, 255, 255);
  transition: text-shadow 0.3s ease;
}
#bigimage #bigimage-directives .bi-infos-mobile {
  display: none;
}
#bigimage #bigimage-directives .bi-infos-desktop {
  display: block;
}

.bi-img {
  opacity: 0;
  will-change: transform, left, top, width, height;
  transition: opacity 0.12s linear;
}

.bi-img.is-ready {
  opacity: 1;
}

/* Media Query pour écrans mobiles */
@media screen and (max-width: 800px) {
  #bigimage #bigimage-directives #retourButton {
    position: fixed;
    top: 8rem;
    left: 1rem;
    font-size: 1.2rem;
    background-color: var(--color);
    color: var(--colorBg);
    padding: 5px 10px;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: bold;
    z-index: 2;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  #bigimage #bigimage-directives #retourButton:hover {
    color: var(--underline);
  }
  #bigimage #bigimage-directives p.bi-infos-mobile,
  #bigimage #bigimage-directives p.bi-infos-desktop {
    position: fixed;
    top: 11rem;
    left: 1rem;
    font-size: 1rem;
    z-index: 2;
    color: var(--color);
    text-shadow: 0 0 0.5rem rgb(255, 255, 255);
    transition: text-shadow 0.3s ease;
  }
  #bigimage #bigimage-directives .bi-infos-mobile {
    display: block; /* Afficher le texte mobile */
  }
  #bigimage #bigimage-directives .bi-infos-desktop {
    display: none; /* Cacher le texte desktop */
  }
  #bigimage .entete h1 {
    font-size: 1.5rem;
  }
  #bigimage .entete h2 {
    font-size: 1.2rem;
  }
  #bigimage #image-info p#image-name,
  #bigimage #image-info p#image-dimensions {
    font-size: 0.9rem;
  }
}
/* Media Query pour écrans mobiles */
@media screen and (max-width: 400px) {
  #bigimage #bigimage-directives #retourButton {
    position: fixed;
    top: 8rem;
    left: 1rem;
    font-size: 1.2rem;
    background-color: var(--color);
    color: var(--colorBg);
    padding: 5px 10px;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: bold;
    z-index: 2;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  #bigimage #bigimage-directives #retourButton:hover {
    color: var(--underline);
  }
  #bigimage #bigimage-directives p.bi-infos-mobile,
  #bigimage #bigimage-directives p.bi-infos-desktop {
    position: fixed;
    top: 11rem;
    left: 1rem;
    font-size: 1rem;
    z-index: 2;
    color: var(--color);
    text-shadow: 0 0 0.5rem rgb(255, 255, 255);
    transition: text-shadow 0.3s ease;
  }
  #bigimage #bigimage-directives .bi-infos-mobile {
    display: block; /* Afficher le texte mobile */
  }
  #bigimage #bigimage-directives .bi-infos-desktop {
    display: none; /* Cacher le texte desktop */
  }
  #bigimage .entete h1 {
    font-size: 1.2rem;
  }
  #bigimage .entete h2 {
    font-size: 1rem;
  }
  #bigimage #image-info {
    margin-top: -15rem;
  }
  #bigimage #image-info p#image-name,
  #bigimage #image-info p#image-dimensions {
    font-size: 0.8rem;
  }
}
/*	/assets/scss/base/_forms.scss		*/
/* /assets/pages/_contacts.scss */
/* Rétablit le curseur partout sur cette page */
html {
  cursor: auto !important;
}

.contactBloc1 address.coordonnees {
  margin: 0 auto;
  padding: 0;
  max-width: 200px;
  font-style: normal;
  line-height: 1.5;
  text-align: left;
}

.contactBloc3 .contacts-liste {
  display: flex;
  flex-wrap: wrap;
  gap: 0rem 2rem;
  padding-left: 0;
  line-height: 1;
  list-style: none;
  justify-content: center;
}
.contactBloc3 .contacts-liste li {
  flex: 0 1 calc((100% - 2rem) / 2);
  min-width: 280px;
  white-space: normal !important; /* autorise le wrap au <wbr> (et aux espaces normaux) */
}
.contactBloc3 .contacts-liste li a {
  display: block;
  max-width: calc(100% - 1rem);
  margin: 0 auto;
  white-space: normal !important; /* autorise le wrap au <wbr> (et aux espaces normaux) */
  text-align: center;
  text-decoration: none;
}
.contactBloc3 .contacts-liste li a .wrap-email {
  white-space: nowrap;
  font-size: 0.8rem;
  color: var(--border);
}
.contactBloc3 .contacts-liste li a .wrap-email:hover {
  text-decoration: underline;
}

#formulaire-contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  -moz-column-gap: 2rem;
       column-gap: 2rem;
}
#formulaire-contacts form#amis {
  flex: 1 1 0;
}
#formulaire-contacts form#amis .ligne-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
  flex-wrap: nowrap;
}
#formulaire-contacts form#amis .ligne-form label,
#formulaire-contacts form#amis .ligne-form legend,
#formulaire-contacts form#amis .ligne-form span {
  min-width: 6.5rem;
  flex: 0 0 auto;
  text-align: right;
}
#formulaire-contacts form#amis .ligne-form .info-wrapper {
  flex: 1 1 auto;
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  width: 100%;
}
#formulaire-contacts form#amis .ligne-form .info-wrapper input {
  border-radius: 0.6rem;
}
#formulaire-contacts form#amis .ligne-form .info-wrapper input[type=text],
#formulaire-contacts form#amis .ligne-form .info-wrapper input[type=email] {
  flex: 1 1 auto;
  padding: 0.2rem 0.3rem;
  margin: 0;
}
#formulaire-contacts form#amis .ligne-form .info-wrapper input[type=radio],
#formulaire-contacts form#amis .ligne-form .info-wrapper .btn-submit {
  width: 100%;
  flex: 1 1 auto;
  padding: 0.2rem 0.3rem;
}
#formulaire-contacts form#amis .ligne-form .info-wrapper .champ {
  flex: 1 1 auto;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  -moz-column-gap: 2rem;
       column-gap: 2rem;
  margin-top: 0.2rem;
  flex-wrap: nowrap;
  width: 100%;
}
@media screen and (max-width: 500px) {
  #formulaire-contacts form#amis .ligne-form .info-wrapper .champ {
    flex-direction: column;
  }
}
#formulaire-contacts form#amis .ligne-form .info-wrapper .champ input[type=radio] {
  width: auto;
  margin-right: 0.4rem;
  accent-color: var(--accent);
}
#formulaire-contacts form#amis .ligne-form .info-wrapper .champ label {
  display: inline-flex;
  align-items: center;
  margin: 0;
  min-width: auto;
  white-space: nowrap;
}
#formulaire-contacts form#amis .ligne-form .info-wrapper .champCheckbox {
  flex: 1 1 auto;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  width: 100%;
}
#formulaire-contacts form#amis .ligne-form .info-wrapper .champCheckbox input[type=checkbox] {
  width: auto;
  margin-right: 0.4rem;
  accent-color: var(--accent);
}
#formulaire-contacts form#amis .ligne-form .info-wrapper .champCheckbox label.consentement {
  font-size: 90%;
  min-width: 6.5rem;
  white-space: normal;
  word-break: break-word;
  max-width: 100%;
  text-align: left;
}
#formulaire-contacts form#amis p {
  margin: -0.2rem 0 0 0.5rem;
}
#formulaire-contacts .commentaires {
  flex: 1 1 0;
  min-width: 300px;
}

b.obligatoire {
  color: var(--accent);
  font-weight: bold;
}

/* legend masqué visuellement mais présent pour SR */
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

#form-messages.msg {
  display: flex;
  align-items: flex-start; /* l'icône colle bien au texte */
  gap: 0.6rem;
  margin: 1rem 0;
  padding: 0.9rem 1rem;
  border-radius: 0.6rem;
  border: 1px solid transparent;
  line-height: 1.4;
}

#form-messages.msg p {
  margin: 0.35rem 0;
}

#form-messages.success {
  background: #e8f7ee;
  border-color: #2ecc71;
  color: #145c35;
}

#form-messages.error {
  background: #ffe6ea;
  border-color: #e74c3c;
  color: #7a1f28;
}

/* Icônes */
#form-messages.msg::before {
  content: "✅"; /* remplacé en erreur ci-dessous */
  font-size: 1.05rem;
  line-height: 1; /* évite la remontée sur la ligne */
  margin-top: 0.15rem; /* petit réglage vertical */
  flex: 0 0 auto;
}

#form-messages.error::before {
  content: "⚠️";
}

/* Caché par défaut */
fieldset.ligne-form.changement {
  display: none;
}

/* Afficher seulement si "Changement" est coché */
form#amis:has(#choix-chgt:checked) fieldset.ligne-form.changement {
  display: flex;
}

/* Consentement : caché par défaut… */
fieldset.ligne-form.consent {
  display: none;
}

/* …visible pour Abonnement ou Changement */
form#amis:has(#choix-abon:checked) fieldset.ligne-form.consent,
form#amis:has(#choix-chgt:checked) fieldset.ligne-form.consent {
  display: flex;
}

/* 1) Faire respecter l’attribut [hidden] malgré .ligne-form {display:flex} */
fieldset[hidden],
.ligne-form[hidden] {
  display: none !important;
}

/* 2) Comportement par défaut : Nouv. courriel caché */
form#amis fieldset.ligne-form.changement {
  display: none;
}

/* 3) Afficher Nouv. courriel uniquement si "Changement" est coché */
form#amis:has(#choix-chgt:checked) fieldset.ligne-form.changement {
  display: flex;
}

/* 4) Consentement caché par défaut puis affiché pour Abonnement/Changement */
form#amis fieldset.ligne-form.consent {
  display: none;
}

form#amis:has(#choix-abon:checked) fieldset.ligne-form.consent,
form#amis:has(#choix-chgt:checked) fieldset.ligne-form.consent {
  display: flex;
}

p.modeemploi {
  font-size: 90%;
  font-style: italic;
}

@media screen and (max-width: 450px) {
  .ligne-form {
    align-items: flex-start;
  }
  .ligne-form .label-legend {
    text-align: left;
  }
  .ligne-form .champ {
    flex-wrap: wrap;
  }
  .btn-submit {
    margin-bottom: 0.3rem;
  }
}
/*	/assets/scss/base/_forms.scss		*/
/* /assets/pages/_livredor.scss */
img.livredor {
  float: right;
  margin: 1rem 1rem 0 0;
}

p.livredor {
  font-size: 1rem;
}

dir.livredor {
  margin-bottom: 0.5rem;
  padding: 0;
  font-size: 0.8rem;
}

#formulaire-livredor {
  width: 600px;
  max-width: 600px;
  margin: 0 auto;
  border: 0px solid red;
  font-size: 0.9rem;
}
#formulaire-livredor fieldset.livredor {
  padding: 0.5rem 0 0 0.5rem;
  margin: 0;
  border-radius: 0.6rem;
}
#formulaire-livredor fieldset.livredor div.livredor {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 0.5rem;
}
#formulaire-livredor fieldset.livredor div.livredor label.livredor {
  margin: 0;
  width: 5.5rem;
  min-width: 5.5rem;
}
#formulaire-livredor fieldset.livredor div.livredor textarea {
  margin: 0;
  flex-grow: 1;
  margin-right: 0.5rem;
}
#formulaire-livredor fieldset.livredor div.livredor input[type=text] {
  margin: 0;
  flex-grow: 1;
  margin-right: 0.5rem;
}
#formulaire-livredor fieldset.livredor div.livredor button[type=button].btn-submit,
#formulaire-livredor fieldset.livredor div.livredor button[type=submit].btn-submit {
  width: 100%;
  margin: 0;
  padding: 0.4rem 2rem;
  margin-right: 0.5rem;
}

button[type=submit].btn-submit {
  width: auto;
  margin: 0;
  padding: 0.4rem 2rem;
}

table.tbllivredor {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
}
table.tbllivredor tr,
table.tbllivredor td {
  border: 2px solid var(--border);
  vertical-align: top;
}

b.obligatoire {
  color: red;
  font-weight: bold;
  margin: 0;
  padding: 0;
  display: inline;
}

.tooltip-btn {
  all: unset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: auto;
  font-size: 1.2rem;
  color: #06c;
  width: auto;
  height: 1rem;
  margin: 0;
  padding: 0;
}
.tooltip-btn.invisible {
  visibility: hidden;
}

.icone-avertissement {
  height: 1.2rem;
  width: auto;
}

.tooltip-text {
  position: absolute; /* Positionnement absolu par rapport à .livredor */
  padding: 0.4rem;
  background-color: var(--containerBg); /* Fond de la tooltip (couleur rouge clair) */
  color: var(--color); /* Texte de la tooltip */
  border: 1px solid var(--border); /* Bordure du cadre */
  border-radius: 0.6rem;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Ombre pour un effet flottant */
  width: 100%; /* Prend toute la largeur du champ */
  max-width: 300px; /* Limite la largeur maximale si nécessaire */
  font-size: 0.9rem;
  text-align: center;
  opacity: 0; /* Initialement caché */
  visibility: hidden; /* Initialement caché */
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}

.tooltip-text.hidden {
  opacity: 0;
  visibility: hidden;
}

.tooltip-text:not(.hidden) {
  opacity: 1;
  visibility: visible;
}

/* Pour les petits écrans en mode portrait */
@media screen and (max-width: 480px) {
  img.livredor {
    float: right;
    margin: 0;
  }
  p.livredor {
    font-size: 0.8rem;
  }
  table.tbllivredor {
    width: 100%; /* Force la table à occuper 100% de la largeur */
    max-width: 100%; /* Empêche la table de dépasser 100% de la largeur */
    table-layout: fixed;
    font-size: 0.8rem;
  }
  table.tbllivredor td {
    padding: 8px; /* Ajuste le padding si nécessaire */
    word-wrap: break-word; /* Permet à long texte de se casser sur plusieurs lignes */
    overflow: hidden; /* Masque tout contenu qui dépasse */
    text-overflow: ellipsis; /* Optionnel : Ajoute "..." si le texte dépasse */
  }
  table.tbllivredor td:first-child {
    width: 40%;
  }
  #formulaire-livredor {
    width: 100%;
    margin: 0;
    border: 0px solid red;
    font-size: 0.9rem;
  }
  #formulaire-livredor fieldset.livredor {
    padding: 0.5rem 0 0 0.5rem;
    margin: 0;
    border-radius: 0.6rem;
  }
  #formulaire-livredor fieldset.livredor div.livredor {
    display: flex;
    justify-content: space-between;
    gap: 0;
    margin-bottom: 0.5rem;
  }
  #formulaire-livredor fieldset.livredor div.livredor label.livredor {
    margin: 0;
    padding-right: 0.5rem;
  }
  #formulaire-livredor fieldset.livredor div.livredor textarea {
    margin: 0;
    flex-grow: 1;
    margin-right: 0.5rem;
  }
  #formulaire-livredor fieldset.livredor div.livredor input[type=text] {
    margin: 0;
    flex-grow: 1;
    margin-right: 0.5rem;
  }
  #formulaire-livredor fieldset.livredor div.livredor button[type=submit].btn-submit {
    width: auto;
    margin: 0;
    padding: 0.4rem 2rem;
  }
  #formulaire-livredor fieldset.livredor div.livredor button {
    margin-right: 0.5rem;
  }
}
/*	/assets/scss/base/_forms.scss		*/
/* /assets/pages/_eglise.scss */
.telech {
  display: flex;
  width: 100%;
  justify-content: space-around;
  align-content: center;
  margin-bottom: 1rem;
}
.telech .butt-telech {
  padding: 0.2rem 1rem;
  width: auto;
}
@media screen and (max-width: 480px) {
  .telech {
    flex-direction: column;
    gap: 0.51rem;
  }
}

.tdm-container {
  width: 100%;
  -moz-column-width: 280px;
       column-width: 280px;
  text-align: left;
}

div.menueglise-renvois {
  margin-bottom: 1rem;
}
div.menueglise-renvois p.menueglise-renvois {
  font-size: 80%;
  display: block; /* utile si jamais hérite d'un autre style */
  width: -moz-fit-content;
  width: fit-content; /* largeur adaptée au contenu */
  margin: 0 auto; /* centre horizontalement */
  padding: 0;
  text-align: center;
}

div.plan-horiz {
  display: block;
  border: 0px solid blue;
}
div.plan-horiz img.plan {
  display: block;
  margin: 0 auto;
}

div.plan-vert {
  display: none;
}

@media screen and (max-width: 480px) {
  div.plan-horiz {
    display: none;
  }
  div.plan-vert {
    display: block;
    border: 0px solid blue;
  }
  div.plan-vert img.plan {
    display: block;
    margin: 0 auto;
  }
}
div.plan-vitraux-horiz {
  display: block;
  border: 0px solid blue;
}
div.plan-vitraux-horiz img.plan {
  display: block;
  margin: 0 auto;
}

div.plan-vitraux-vert {
  display: none;
}

@media screen and (max-width: 480px) {
  div.plan-vitraux-horiz {
    display: none;
  }
  div.plan-vitraux-vert {
    display: block;
    border: 0px solid blue;
  }
  div.plan-vitraux-vert img.plan {
    display: block;
    margin: 0 auto;
  }
}
.num {
  text-align: right;
  padding-right: 0.5rem;
}

.preambule > summary {
  cursor: pointer;
}
.preambule > summary:hover {
  animation: tremblement 0.15s infinite;
}

.aditjh > summary,
.aditjbh > summary {
  cursor: pointer;
  padding-left: 3.5em;
  margin-bottom: -0.3rem;
}
.aditjh > summary:hover,
.aditjbh > summary:hover {
  animation: tremblement 0.15s infinite;
}

.preambule[open] ul {
  list-style-position: inside;
}

.contenu-preambule {
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--color);
}

.contenu-aditjh,
.contenu-aditjbh {
  margin-left: 4.5rem;
  padding-left: 1rem;
  padding-right: 2rem;
  border-left: 3px solid var(--color);
}

.boutons-telechargement {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 0 auto;
  text-align: center;
}
.boutons-telechargement .btn-telechargement {
  display: inline-block;
}
@media (max-width: 600px) {
  .boutons-telechargement .btn-telechargement {
    width: 100%;
  }
}

div.cadre-plan {
  width: 100%;
  text-align: center;
}
div.cadre-plan img.plan {
  display: block;
  border: 0;
  width: 650px;
  height: 251px;
  margin: 0 auto;
}

.photosMultiples {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem 0;
}
.photosMultiples figure {
  flex: 0 1 auto;
  margin: 0;
  text-align: center;
}
.photosMultiples label {
  width: 100%;
}

.vitrailchoeur {
  width: 132px;
  line-height: 11px;
  text-align: center;
}

.vitrailchoeur img {
  border: 7px solid black;
}

.vitrailbascote {
  width: 132px;
  line-height: 11px;
  text-align: center;
}

.vitrailbascote img {
  border: 10px solid #100;
}

.chemincroix {
  width: 132px;
  line-height: 11px;
  text-align: center;
}

.chemincroix img {
  border: 7px solid #100;
}

.chaire {
  width: 150px;
  line-height: 11px;
  text-align: center;
}

.chaire img {
  border: 10px solid #100;
}

.cadre-photo {
  display: inline-block;
  margin: 0 auto;
  text-align: center;
  max-width: 100%;
}

/*	/assets/scss/base/_forms.scss		*/
/*	/assets/scss/pages/_divers.scss	*/
#mapid,
#mapid1,
#mapid2,
#mapid3 {
  display: block;
  margin: 0 auto;
  width: 600px;
  height: 250px;
  border: 1px solid var(--border);
  box-shadow: 0.3rem 0.3rem 0.3rem rgba(0, 0, 0, 0.5);
}
@media screen and (max-width: 600px) {
  #mapid,
  #mapid1,
  #mapid2,
  #mapid3 {
    width: 100%;
  }
}

#mapid.br {
  margin-bottom: 1rem;
}

/* expo 1418 */
p.sp {
  margin-top: 1.4rem;
}

table.panneaux {
  width: 100%;
  border: 1px;
  padding: 1.5rem;
}
table.panneaux td {
  font-size: 0.9em;
  text-align: center;
  padding: 0.3rem 0.1rem;
}
@media screen and (max-width: 850px) {
  table.panneaux {
    padding: 0 0.5rem;
  }
}

.poesie {
  /* Centre le contenu dans la largeur disponible */
  width: 100%;
  margin: 0 auto;
  text-align: center;
  /* Espacement entre les couplets */
  /* Par défaut, les li doivent être en bloc et prendre toute la largeur disponible */
  /* Media Queries pour l'adaptation mobile */
  /* Pour les écrans plus larges */
}
.poesie .couplet {
  display: block;
  margin: 0.5rem auto 0.2rem auto; /* Espacement entre les couplets */
  font-style: italic;
  text-align: center;
}
.poesie ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  text-align: center;
  /* Pour s'assurer que les li occupent toute la largeur de l'ul */
  width: 100%;
}
.poesie ul li {
  display: block; /* Force chaque <li> à occuper une ligne complète */
  margin: 0; /* Espacement vertical entre les éléments */
}
@media screen and (max-width: 600px) {
  .poesie .couplet {
    font-size: 1.1rem; /* Ajustement de la taille du texte en mobile */
  }
  .poesie ul {
    padding-left: 0; /* Supprimer tout padding sur les ul pour les petits écrans */
  }
  .poesie ul li {
    font-size: 0.8rem; /* Ajustement de la taille du texte dans les listes */
    margin: 0; /* Espacement entre les éléments en mode mobile */
  }
}
@media screen and (min-width: 600px) {
  .poesie .couplet {
    font-size: 1.1rem; /* Taille des couplets pour les écrans larges */
  }
  .poesie ul li {
    font-size: 1rem; /* Taille des éléments de liste pour les écrans larges */
  }
}

/* pour les bas de textes	*/
.signature {
  text-align: right;
  font-weight: bold;
  font-style: italic;
  padding: 0.7rem 1rem 1rem 0;
}

address.coordonnees {
  display: flex;
  flex-direction: column;
  gap: 0;
}
address.coordonnees p {
  padding: 0;
  margin: 0; /* Pas de marge par défaut */
  line-height: 1.2; /* Interligne simple */
}

fieldset.encadre, fieldset.pancarte {
  margin-top: 0.5rem;
  margin-right: auto;
  margin-left: auto;
  border: 2px solid var(--border);
  background-color: var(--containerBg);
  font-size: 1.2rem;
  text-align: center;
  box-shadow: 0.3rem 0.3rem 0.3rem rgba(0, 0, 0, 0.5);
  display: block;
  flex-shrink: 0;
}
fieldset.encadre pre, fieldset.pancarte pre {
  padding: 0.5rem 0.5rem;
  white-space: pre-line;
  width: auto;
}
fieldset.encadre.gravure, fieldset.pancarte.gravure {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.025em;
}
fieldset.encadre.fonte60, fieldset.pancarte.fonte60 {
  font-size: 60%;
}
fieldset.encadre.fonte70, fieldset.pancarte.fonte70 {
  font-size: 7ch;
}
fieldset.encadre.fonte80, fieldset.pancarte.fonte80 {
  font-size: 80%;
}
fieldset.encadre.fonte90, fieldset.pancarte.fonte90 {
  font-size: 90%;
}
fieldset.encadre.fonte110, fieldset.pancarte.fonte110 {
  font-size: 110%;
}
fieldset.encadre.fonte120, fieldset.pancarte.fonte120 {
  font-size: 120%;
}
fieldset.encadre.float-right, fieldset.pancarte.float-right {
  float: right;
  display: block;
  margin-bottom: 1rem;
  margin-left: 1rem;
  padding: 0 0.5rem;
}
fieldset.encadre.float-left, fieldset.pancarte.float-left {
  float: left;
  display: block;
  margin-bottom: 1rem;
  margin-right: 1rem;
  padding: 0 0.5rem;
}
fieldset.encadre.centre, fieldset.pancarte.centre {
  display: block;
  margin-right: auto;
  margin-left: auto;
  width: -moz-fit-content;
  width: fit-content;
}

@media screen and (max-width: 600px) {
  fieldset.encadre pre, fieldset.pancarte pre {
    font-size: 70%;
    line-height: 1.5;
  }
  fieldset.encadre.centre, fieldset.encadre.float-right, fieldset.encadre.float-left, fieldset.pancarte.centre, fieldset.pancarte.float-right, fieldset.pancarte.float-left {
    float: none;
    display: block;
    margin-right: auto;
    margin-left: auto;
    width: -moz-fit-content;
    width: fit-content;
  }
}
/*	classe muse	*/
.galerie-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-around;
}

/* style du container */
details.details-summary {
  margin: 0.3rem 0;
  font-weight: normal;
  transition: transform 0.2s ease-in-out;
  /* Style du summary */
  /* Style du iframe */
}
details.details-summary summary.vibre {
  cursor: pointer;
  text-align: left; /* Centrer le texte dans le summary */
  font-weight: bold;
  cursor: pointer;
}
details.details-summary div.sum-details {
  margin-top: 0.2rem;
  margin-left: 1rem;
  border-left: 2px solid var(--borderLight);
  padding-left: 1rem;
}
details.details-summary div.sum-details ol,
details.details-summary div.sum-details ul,
details.details-summary div.sum-details li,
details.details-summary div.sum-details p {
  font-size: 0.9rem;
  font-style: italic;
  font-weight: normal;
  margin: 0 0 0 0.5rem;
  padding: 0;
}
@media screen and (max-width: 600px) {
  details.details-summary div.sum-details {
    margin-left: 0.5rem;
    padding-left: 0.5rem;
  }
}
details.details-summary iframe {
  width: 100%; /* L'iframe prend toute la largeur du parent */
  aspect-ratio: 10/4.5; /* Ratio 16:9 par exemple */
  margin: 1rem auto; /* Centrer horizontalement */
  padding: 0; /* Supprimer le padding */
  border: none; /* Supprimer les bordures */
  display: block; /* Forcer l'iframe à se comporter comme un bloc */
  border-left: 2px solid var(--borderLight);
}

/* écoutez causer patois */
/* Wrapper pour chaque ligne */
.ecoutez-patois-wrapper {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem; /* Ajoute un peu d'espace entre les éléments */
  /* Quand l'écran est plus petit que 600px, empiler les éléments */
}
.ecoutez-patois-wrapper .ecoutez-patois-column {
  flex: 1;
  margin: 0;
  font-size: 0.95rem;
  /* Lorsque les colonnes sont côte à côte, ajuster la taille de la police */
  /* Ajustement pour l'audio */
}
.ecoutez-patois-wrapper .ecoutez-patois-column p {
  font-size: 0.9rem; /* Réduire la taille du texte pour les écrans larges */
}
.ecoutez-patois-wrapper .ecoutez-patois-column audio {
  width: 100%;
}
@media screen and (max-width: 600px) {
  .ecoutez-patois-wrapper {
    flex-direction: column;
    align-items: center;
  }
}

.ecoutez-patois-wrapper_2 {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 1rem; /* Espacement entre les colonnes */
  padding: 0;
  width: 100%;
  /* Si l'écran est plus petit que 600px, réduisons la taille de la police et l'espacement */
  /* Quand l'écran est plus petit que 600px, gardons les deux colonnes côte à côte */
}
.ecoutez-patois-wrapper_2 .ecoutez-patois-column-2 {
  flex: 1;
  margin: 0;
}
.ecoutez-patois-wrapper_2 .ecoutez-patois-column-2 p {
  margin-bottom: 0.5rem;
  padding: 0;
  font-size: 0.95rem; /* Petite réduction de la taille de la police pour un affichage plus compact */
}
@media screen and (max-width: 600px) {
  .ecoutez-patois-wrapper_2 {
    gap: 0.8rem;
  }
  .ecoutez-patois-wrapper_2 .ecoutez-patois-column-2 p {
    font-size: 0.65rem; /* Réduit encore la taille de la police */
  }
}
@media screen and (max-width: 600px) {
  .ecoutez-patois-wrapper_2 {
    flex-wrap: wrap; /* Permet aux éléments de passer à la ligne suivante s'il n'y a pas assez d'espace */
    justify-content: space-between;
  }
}

/* mise en forme saisie pours documents archives */
.pm {
  font-variant: small-caps;
}

.titre {
  font-size: 120%;
  font-weight: bold;
  font-style: italic;
}

.numerique {
  font-style: italic;
  font-weight: bold;
}

button.redirect-button {
  padding: 0.2rem 1rem !important;
  color: var(--colorBg);
}
button.redirect-button.margedroite {
  margin-right: 0.5rem;
}
@media screen and (max-width: 450px) {
  button.redirect-button {
    width: 100%;
  }
  button.redirect-button:last-of-type {
    margin-top: 0.4rem;
  }
}

/* verger */
.carteVerger {
  width: 360px;
  height: 200px;
}

/* écrits locaux */
button.bouton-active-cles {
  padding: 2px !important;
  margin: 0.3rem !important;
}

button.printPage[disabled],
button.printPage:disabled {
  opacity: 0.55; /* ou color si tu préfères */
  cursor: not-allowed;
  pointer-events: none; /* évite tout hover/click */
  color: red;
}

/* forcer le gris sur le contenu interne (texte + icône + raccourci) */
/* s'assure que l’icône hérite bien de la couleur */
.menu-icon i {
  color: inherit;
}

/* page_exposition_drapeaux conscrits */
h2.la-classe {
  margin-top: 0rem;
}

table#drapeaux {
  border-collapse: collapse;
  border: 0px solid var(--border);
}
table#drapeaux th.drapHead {
  border: 0px solid var(--border);
  text-align: center;
  font-size: 1.4rem;
  font-style: italic;
}
table#drapeaux td {
  border: 0px solid var(--border);
  vertical-align: top;
  padding: 0 0.4rem 0 0.2rem;
  width: 33%;
}
table#drapeaux td.desc {
  padding: 0.5rem;
}
@media screen and (max-width: 850px) {
  table#drapeaux td {
    font-size: 90%;
  }
  table#drapeaux td h2 {
    font-size: 1.3rem;
  }
}
table#drapeaux td.drap {
  width: 25%;
  vertical-align: middle;
}
table#drapeaux img.drapeau {
  width: 100%;
  height: auto;
  box-shadow: 0.3rem 0.3rem 0.3rem rgba(0, 0, 0, 0.5);
  text-align: center;
}

/* mobile portrait */
@media (max-width: 600px) and (orientation: portrait) {
  #drapeaux,
  #drapeaux tbody {
    display: block;
    width: 100%;
  }
  #drapeaux tr {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "desc" "recto" "verso";
    row-gap: 0.8rem;
    width: 100%;
    box-sizing: border-box;
  }
  #drapeaux td {
    display: block;
    width: 100% !important;
    border: 0;
    padding: 0;
    box-sizing: border-box;
  }
  /* Le texte prend bien toute la largeur */
  #drapeaux td.desc {
    grid-area: desc;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.5rem 0; /* espace autour du texte */
  }
  /* Images aussi en pleine largeur */
  #drapeaux td.recto {
    grid-area: recto;
  }
  #drapeaux td.verso {
    grid-area: verso;
  }
  #drapeaux td.drap a {
    display: block;
  }
  #drapeaux img.drapeau {
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  /* Très petit écran : tout en colonne */
}
@media (max-width: 600px) and (orientation: portrait) and (max-width: 380px) {
  #drapeaux tr {
    grid-template-columns: 1fr;
    grid-template-areas: "desc" "recto" "verso";
  }
}
/* expo JEV 2019 */
.tablejev {
  margin-top: 0.75em;
  margin-bottom: 0.7em;
  border: 1px solid var(--border);
  border-collapse: collapse;
  width: 100%;
}
.tablejev .tdjev {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

h1#jev {
  display: flex;
  justify-content: space-between; /* écarte gauche/droite */
  align-items: center;
  margin-bottom: 1.5rem;
}
h1#jev .right {
  text-align: right; /* si plusieurs lignes */
}

@media screen and (max-width: 1460px) {
  h1#jev {
    flex-direction: column;
    align-items: flex-start; /* par défaut, tout aligne à gauche */
  }
  h1#jev .right {
    align-self: flex-end; /* ce span seulement à droite */
    text-align: right;
    margin-top: 0.5rem;
  }
}
@media screen and (max-width: 1460px) and (max-width: 450px) {
  h1#jev {
    font-size: 1.1rem;
  }
  h1#jev .right {
    margin-top: 0.5rem;
  }
}
/* expo Simeon Colin */
.SCcolonnes {
  -moz-columns: 16em;
       columns: 16em;
  -moz-column-fill: balance;
       column-fill: balance;
  -moz-column-rule: 1px solid var(--borderLight);
       column-rule: 1px solid var(--borderLight);
  border-left: 1px solid var(--borderLight);
  padding-left: 0.5rem;
  font-style: italic;
  /* Rendre le contenu plus lisible */
}
.SCcolonnes cite,
.SCcolonnes p {
  margin: 0;
  padding: 0;
  margin-top: 0.5rem;
}

/* livres et DVD */
.div-centre {
  width: 100%;
  text-align: center;
}

#classesListe p {
  display: inline; /* Affiche les éléments sur une ligne */
  margin: 0; /* Supprime la marge */
  padding-right: 1rem; /* Supprime le padding */
}

#global,
main,
#menuHorizontal,
footer {
  background: var(--colorBg);
}

/******************************************************/
/* 				page cures							  */
/******************************************************/
/* mêmes largeurs pour toutes les tables de curés */
table.cures.cures-single {
  width: 100%;
  border-collapse: collapse;
}

table.cures.cures-single col.c1 {
  width: 80px;
} /* Époque/Durée (gauche)   */
table.cures.cures-single col.c2 {
  width: 16%;
} /* Curé                     */
table.cures.cures-single col.c3 {
  width: 52%;
} /* Commentaires (colonne large) */
table.cures.cures-single col.c4 {
  width: 80px;
} /* Époque (droite)          */
table.cures.cures-single col.c5 {
  width: 14%;
} /* Vicaires/Admin           */
table.cures tbody.bloc > tr:first-child > td:nth-child(1) {
  text-align: center;
}

table.cures tbody.bloc > tr:first-child > td:nth-child(2) {
  text-align: center;
}
table.cures tbody.bloc > tr:first-child > td:nth-child(2) img {
  margin: 0.5rem auto;
}

/* Fallback pour vieux moteurs qui ignorent parfois <col> */
/* Empêche le contenu long de faire exploser la largeur */
table.cures.cures-single th,
table.cures.cures-single td {
  overflow-wrap: break-word; /* CSS moderne */
  word-break: normal; /* garde des coupures naturelles si possible */
}

/* Pour l’image : largeur fixe déjà ok côté PHP, on verrouille côté CSS aussi */
table.cures.cures-single img.photo {
  width: 110px;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}

/* Impression : mêmes règles */
@media print {
  table.cures.cures-single {
    table-layout: fixed;
  }
}
table.cures {
  border-collapse: separate;
  border-spacing: 0;
}
table.cures td:last-child {
  border: 2px solid var(--border);
  border-bottom: 0px solid var(--border);
}
table.cures tr:last-child td {
  border-bottom: 2px solid var(--border);
}
table.cures tr,
table.cures th,
table.cures td {
  border: 2px solid var(--border);
  border-right: 0px solid var(--border);
  border-bottom: 0px solid var(--border);
  vertical-align: top;
}
table.cures tr.sep > th.sep,
table.cures tr.sep > td {
  height: 1rem;
  padding: 0;
  border: 0;
  background: var(--colorBg);
  border-top: 2px solid var(--border);
}

/*	/assets/scss/base/_forms.scss		*/
/*	/assets/scss/pages/_photogroupes.scss	*/
/*--------------------------------------------------------------------------------------------*/
/* Présentation des onglets de navigation                                                     */
/*--------------------------------------------------------------------------------------------*/
/* debut de mise en forme des onglets de navigation principaux. Voir les commentaires pour adapter */
.bloc-onglet {
  overflow: visible; /* on remet visible car clip-path va gérer */
  position: relative;
  z-index: 0;
  clip-path: inset(-10px 0px 0px 0px); /* coupe l'ombre inférieure */
}

/* Le conteneur des onglets */
ul.onglet {
  display: flex;
  list-style: none;
  margin: 0.5rem 0;
  padding-inline: 2rem;
  border-bottom: 2px solid #363; /* Crée un trait en bas des onglets */
  position: relative; /* ← essentiel */
  z-index: 1;
  color: var(--color);
  background: var(--colorBg);
}

ul.onglet::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 10px; /* la hauteur de la zone d’ombre */
  box-shadow: inset 0 -6px 7px -3px rgba(0, 0, 0, 0.3); /* ombre vers le haut depuis le bas */
  pointer-events: none;
  z-index: 0;
}

/* Chaque onglet */
ul.onglet li {
  flex: 1;
  min-height: 2.5rem;
  margin: 0 0.25rem; /* petit espace entre les onglets */
  padding-bottom: 2px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  display: flex;
  transition: background-color 0.3s ease;
  position: relative; /* Nécessaire pour appliquer un décalage */
  top: 2px; /* Décalage vers le bas pour aligner la bordure */
  border-bottom: 2px solid #363; /* Bordure inférieure des onglets non actifs */
}

/* Texte centré dans les onglets */
ul.onglet li a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column; /* pour bien empiler les lignes si nécessaire */
  text-align: center; /* ← centrage du texte multi-ligne */
  text-decoration: none;
  border-radius: 10px 10px 0 0;
  padding: 0.2rem;
  line-height: 1.1;
  height: 100%;
  width: 100%;
  font-size: 110%;
  color: var(--color);
  background: var(--colorBg);
  font-variant: small-caps;
  letter-spacing: 1px;
  font-family: "Roboto", sans-serif;
}

/* Effet au survol */
ul.onglet li:hover {
  background-color: var(--borderLight);
}

/* Effet au survol */
ul.onglet li.actif:hover a {
  color: var(--color);
  cursor: default;
}

ul.onglet li:hover:not(.actif) a {
  color: var(--colorBg);
  background: var(--color);
}

/* Onglet actif */
ul.onglet li.actif {
  color: var(--menuTxt);
  background-color: var(--colorBg);
  border-bottom: 2px solid var(--colorBg); /* Enlève la bordure inférieure de l'onglet actif */
  position: relative;
  z-index: 2;
  filter: drop-shadow(2px -2px 4px rgba(0, 0, 0, 0.4));
}

ul.onglet li:not(.actif) {
  opacity: 0.5;
}

ul.onglet li.actif a {
  font-weight: bold;
}

/* Onglet désactivé */
ul.onglet li.invisible {
  background-color: #ddd;
  border: 1px solid #aaa;
  border-bottom: 2px solid #363; /* Bordure inférieure présente même pour les onglets invisibles */
  cursor: default;
}

ul.onglet li.invisible a {
  pointer-events: none;
  color: #999;
}

/* Transitions */
ul.onglet li,
ul.onglet li a {
  transition: background-color 0.3s ease, color 0.3s ease;
}

#table_photogroupe {
  width: 100%;
}
#table_photogroupe fieldset {
  border: 1px solid var(--color);
  border-radius: 0.6rem;
  padding: 0 1rem 0.5rem 1rem;
  text-align: center;
  width: 100%;
}
#table_photogroupe fieldset form.recherche {
  width: 100%;
  margin: 0;
  padding: 0;
}
#table_photogroupe fieldset form.recherche legend {
  margin-left: 0.5rem;
}
#table_photogroupe fieldset form.recherche div {
  width: 100%;
  padding: 0.5rem 0;
  display: flex;
  justify-content: space-between;
}
#table_photogroupe fieldset form.recherche div label {
  font-style: italic;
  margin: 0;
  width: auto;
}
#table_photogroupe fieldset form.recherche div input[type=submit],
#table_photogroupe fieldset form.recherche div input[type=button] {
  margin-left: 0.5rem;
  padding: 0.2rem 2rem !important;
}
#table_photogroupe fieldset form.recherche div input[type=submit]:enabled,
#table_photogroupe fieldset form.recherche div input[type=button]:enabled {
  background: var(--color);
}
#table_photogroupe fieldset form.recherche div input[type=text] {
  flex-grow: 1;
  margin-left: 0.5rem;
}
#table_photogroupe fieldset form.recherche div input[type=text]::-moz-placeholder {
  opacity: 1;
  margin: 0;
}
#table_photogroupe fieldset form.recherche div input[type=text]::placeholder {
  opacity: 1;
  margin: 0;
}

.portrait img {
  width: 150px;
  height: auto;
  border-radius: 0.6rem;
  box-shadow: 0.3rem 0.3rem 0.3rem rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  margin-bottom: 0.5rem;
}

/* styles pour les légendes des photos */
.legendePhotoAuDessus {
  margin: 0px 0 8px 0;
}

.legendePhotoSous {
  margin: 3px 0 5px 0;
}

.legendePhotoEnDessous {
  margin: -8px 0 5px 0;
}

/* la photo de groupe */
/* Général */
.exportweb {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 100%;
}

/* Conteneur de l'image */
#imgContainer {
  position: relative;
  max-width: 100%;
  width: 100%;
  height: auto;
  overflow: hidden; /* Assure que l'image ne déborde pas du conteneur */
  box-shadow: 0.3rem 0.3rem 0.3rem rgba(0, 0, 0, 0.5);
  border-radius: 0.6rem;
  z-index: 1;
  /* La grande photo */
}
#imgContainer img#photogroupe {
  max-width: 100%;
  width: 100%;
  height: auto; /* La hauteur de l'image est proportionnelle à la largeur */
  display: block; /* Élimine l'espace sous l'image (problème avec les images inline) */
  border: 1px solid var(--border);
}

p.copyright {
  text-align: center;
  font-size: 0.8rem;
  margin-top: 0.4rem;
}

p.mailphoto {
  margin-top: -0.6rem;
  text-align: center;
  font-size: 0.8rem;
}

/* Conteneur global des miniatures, ignore les ligneminiatures intermédiaires */
.miniatures {
  display: flex;
  flex-wrap: wrap; /* Permet aux miniatures de passer à la ligne suivante */
  justify-content: flex-start; /* Aligne les miniatures à gauche */
  gap: 1rem; /* Espace entre les miniatures */
  padding: 0.5rem 0;
  width: 100%; /* Prend toute la largeur disponible */
  justify-content: center;
  row-gap: 2rem;
  -moz-column-gap: 3rem;
       column-gap: 3rem;
  /* Chaque miniature */
}
.miniatures .miniature {
  display: flex;
  flex-direction: column;
  align-items: center; /* Aligne le contenu au centre */
  width: 90px; /* Largeur de chaque miniature (avant agrandissement) */
  justify-content: flex-start; /* Aligne les miniatures par le haut */
  text-align: center;
}
.miniatures .miniature img {
  width: 116px; /* 58px * 1.5 pour augmenter d'un facteur de 1.5 */
  height: 116px; /* 58px * 1.5 pour augmenter d'un facteur de 1.5 */
  -o-object-fit: cover;
     object-fit: cover; /* Assure que l'image remplit correctement son cadre */
  box-shadow: 0.3rem 0.3rem 0.3rem rgba(0, 0, 0, 0.5);
  border-radius: 0.6rem;
  border: 1px solid var(--border);
}
.miniatures .miniature img:hover {
  cursor: zoom-in;
}
.miniatures .miniature label {
  font-weight: bold;
  font-size: 1.1rem;
  text-align: center;
  margin-top: 0.6rem;
  padding: 0 0.5rem;
}
.miniatures .miniature label a.mailminiature {
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--color);
  position: relative;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.miniatures .miniature label a.mailminiature:active {
  background-color: var(--containerBg);
  transform: scale(0.98);
}
.miniatures .miniature label a.mailminiature:focus {
  outline: none;
  background-color: var(--containerBg);
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}
.miniatures .miniature label a.mailminiature:hover {
  text-decoration: underline;
}

table.photosgroupes {
  display: table;
  width: 100%;
  max-width: 100%;
  margin: 0;
  color: var(--color);
  background: var(--colorBg);
  border-collapse: separate; /* Crée de l'espace entre les bordures des cellules */
  border-spacing: 0; /* Espacement entre les cellules */
  overflow-x: hidden; /* Pour éviter le défilement horizontal inutile */
  /* Pour le corps de la table */
  /* Pour les lignes de la table */
  /* Pour les cellules de la table */
  /* Ajout de labels avant chaque cellule pour simuler les en-têtes sur mobile */
  /* Ajout de style pour les petites étiquettes */
  /* Styles pour les en-têtes */
}
table.photosgroupes thead {
  position: sticky;
  top: -1rem;
  z-index: 2;
  background: var(--disabled);
}
table.photosgroupes tbody {
  width: 100%;
}
table.photosgroupes tr {
  display: table-row;
  margin-bottom: 1rem; /* Ajoute de l'espace entre les lignes */
  padding: 0;
  width: 100%; /* La ligne prend toute la largeur de la table */
  border-bottom: 1px solid var(--border); /* Bordure entre chaque ligne */
  cursor: pointer;
}
table.photosgroupes tr:not(:first-child):hover:hover {
  background: var(--containerBg);
}
table.photosgroupes th,
table.photosgroupes td {
  border: 1px solid var(--color);
}
table.photosgroupes td {
  display: table-cell;
  text-align: left; /* Par défaut aligné à gauche pour les cellules */
  padding: 0.3rem 1rem;
  border: 1px solid var(--border); /* Bordure entre chaque cellule */
  word-wrap: break-word; /* Permet la rupture des mots longs */
  overflow-wrap: break-word; /* Assure que les mots longs se cassent proprement */
  max-width: 100%;
  width: auto; /* Largeur automatique pour ne pas forcer une taille trop petite */
}
table.photosgroupes td.tdtop {
  max-width: 100%;
  width: auto; /* Les cellules peuvent s'étendre selon leur contenu */
}
table.photosgroupes td.nobr {
  word-wrap: normal; /* Si tu veux que les mots soient sur une seule ligne */
}
table.photosgroupes td:last-child {
  border-bottom: none; /* Enlève la bordure de la dernière cellule */
}
table.photosgroupes td .mini {
  font-size: 0.9rem;
}
table.photosgroupes th {
  display: table-cell;
  padding: 0.5rem;
  text-align: left;
  font-weight: bold;
}

.inlineFlex {
  display: inline-flex;
}

/* curseur visible uniquement sur les zones cliquables */
map[name=mapareas] area[href] {
  cursor: zoom-in;
}

/* (optionnel) ailleurs sur l'image, curseur normal */
img[usemap="#mapareas"] {
  cursor: default;
}

#page_photogroupe {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  margin-top: -1.5rem;
}

#navigationButtons {
  display: flex;
  justify-content: space-between;
}
#navigationButtons #btnClassePrev,
#navigationButtons #btnClasseNext {
  padding: 0.2rem 1rem;
  z-index: 2;
}

#imgContainer {
  position: relative;
  max-width: 100%;
  width: 100%;
  height: auto;
  overflow: hidden; /* Cache les parties débordantes */
  box-shadow: 0.3rem 0.3rem 0.3rem rgba(0, 0, 0, 0.5);
  border-radius: 0.6rem;
  z-index: 1;
}

#mapareas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Si tu veux que les zones soient les seules interactives */
}

#mapareas area {
  position: absolute;
  z-index: 20; /* Mettre les zones devant l'image */
  pointer-events: auto; /* Activer les événements de souris pour les zones */
}

p.titre {
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  margin-top: -1.6rem;
  z-index: 1;
}

#ecoles_de_fraize {
  padding-top: 0.5rem;
}

.petitnom {
  font-size: 60%;
  font-variant: none;
  font-weight: normal;
}

/* gestion tap mobile */
/* popover générique */
.hotspot-tip {
  position: absolute;
  z-index: 9999;
  max-width: 80vw;
  padding: 0.5rem 0.75rem;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.2;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.hotspot-tip .actions {
  margin-top: 0.4rem;
  display: flex;
  gap: 0.5rem;
}

.hotspot-tip button,
.hotspot-tip a {
  font: inherit;
  border: none;
  padding: 0.25rem 0.5rem;
  border-radius: 0.35rem;
  background: #fff;
  color: #111;
  text-decoration: none;
}

.hotspot-tip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.85);
}

/* fin gestion tap mobile */
#portraitModal,
#portraitFrame {
  background: transparent;
}

@media screen and (max-width: 840px) {
  p.titre {
    font-size: 90%;
    margin-top: -1.5rem;
  }
  ul.onglet {
    padding-inline: 0.8rem;
    margin: 1.5rem 0 0.5rem 0;
  }
  ul.onglet li {
    margin: 0 0.1rem;
  }
  ul.onglet li a {
    font-size: 90%;
    line-height: 1;
  }
  form.recherche {
    width: 100%;
  }
  form.recherche div {
    width: 100%;
    padding: 0;
  }
  form.recherche label {
    margin-bottom: 0.5rem;
  }
  table.photosgroupes th,
  table.photosgroupes td {
    font-size: 0.9rem;
    padding: 0.2rem 0.5rem;
  }
  #ecolesDeFraize {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }
}
/* Responsive pour les petites tailles d'écran */
@media screen and (max-width: 600px) {
  article#iciLaPage {
    padding: 0 !important;
    margin: 0 !important;
  }
  p.titre {
    font-size: 90%;
    margin: 0.4rem 0 0.4rem 0;
  }
  #navigationButtons #btnClassePrev,
  #navigationButtons #btnClasseNext {
    padding: 0.1rem 0.5rem;
  }
  ul.onglet {
    padding-inline: 0.5rem;
    margin: 2rem 0 0.5rem 0;
  }
  ul.onglet li {
    margin: 0 0.05rem;
  }
  ul.onglet li a {
    font-size: 60%;
    line-height: 1;
    font-weight: normal;
  }
  form.recherche {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  form.recherche div {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0;
  }
  form.recherche div input[type=text],
  form.recherche div input[type=submit],
  form.recherche div input[type=button] {
    font-size: 0.9rem;
  }
  .miniatures {
    row-gap: 1.5rem;
    -moz-column-gap: 2.2rem;
         column-gap: 2.2rem;
  }
  .miniatures .miniature {
    width: 80px;
  }
  .miniatures .miniature p {
    font-size: 1rem; /* Réduit la taille du texte sur mobile */
  }
  .miniatures .miniature label {
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
    margin-top: 0.6rem;
    padding: 0 0.5rem;
  }
  .miniatures .miniature label a.mailminiature {
    font-size: 1rem;
    text-decoration: none;
    color: var(--color);
    position: relative;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  .miniatures .miniature label a.mailminiature:active {
    background-color: var(--containerBg);
    transform: scale(0.98);
  }
  .miniatures .miniature label a.mailminiature:focus {
    outline: none;
    background-color: var(--containerBg);
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  }
  .miniatures .miniature label a.mailminiature:hover {
    text-decoration: underline;
  }
  .miniatures .exportweb img {
    width: 100%; /* La photo reste pleine largeur */
  }
  .miniatures .miniature a.mailminiature {
    font-size: 1rem;
  }
  .miniatures .miniature a.mailminiature:hover {
    text-decoration: underline;
  }
  table.photosgroupes {
    display: block;
    width: 100%;
    overflow-x: hidden; /* Pour permettre le défilement horizontal si nécessaire */
    border: none;
    /* Conversion des lignes en blocs */
    /* Ajout de style pour les petites étiquettes */
  }
  table.photosgroupes thead {
    display: none; /* On masque les en-têtes */
  }
  table.photosgroupes tr {
    display: block;
    margin-bottom: 1rem; /* Ajoute de l'espace entre les lignes */
    border: 2px solid red;
    background-color: var(colorBg);
    padding: 0;
    max-width: 100%;
    width: 100%;
    box-shadow: 0.3rem 0.3rem 0.3rem rgba(0, 0, 0, 0.5);
  }
  table.photosgroupes td {
    display: flex;
    justify-content: space-between; /* Place le label à gauche et la donnée à droite */
    text-align: right;
    padding: 0.1rem;
    border: 1px solid var(--border); /* Bordure entre chaque information */
    align-items: center;
    max-width: 100%;
    width: 100%;
    word-wrap: break-word; /* Gère les mots longs qui débordent */
    overflow-wrap: break-word; /* Assure que les mots longs se cassent proprement */
  }
  table.photosgroupes td.tdtop {
    max-width: 100%;
    width: 100%;
  }
  table.photosgroupes td.nobr {
    word-wrap: break-word;
  }
  table.photosgroupes td:last-child {
    border-bottom: none; /* Enlève la bordure de la dernière cellule */
  }
  table.photosgroupes td:before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    margin-bottom: 0rem;
    margin-right: 2rem;
    color: var-(color);
    max-width: 40%; /* Limite la largeur du label */
  }
  table.photosgroupes td .mini {
    font-size: 0.9rem;
  }
}
/*	/assets/scss/base/_forms.scss		*/
/* /assets/pages/_recherche.scss */
form.blork-recherche fieldset {
  width: 100%;
  max-width: 100%;
  padding: 0 0.5rem 0.3rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
}
form.blork-recherche fieldset legend {
  padding: 0.2rem 0.5rem;
  border: 0px solid #666;
}
form.blork-recherche fieldset .rech-container {
  display: flex;
  width: 100%;
  gap: 1rem;
  border: 0px solid red;
}
form.blork-recherche fieldset .rech-container .rech-left {
  flex: 1;
  border: 0px solid red;
}
form.blork-recherche fieldset .rech-container .rech-left .rech-left-top {
  display: flex;
  width: 100%;
  border: 0px solid red;
}
form.blork-recherche fieldset .rech-container .rech-left .rech-left-top .input-line {
  flex: 1;
  display: flex;
  gap: 0.3rem;
  border: 0px solid red;
}
form.blork-recherche fieldset .rech-container .rech-left .rech-left-top .input-line #blork-srch_str {
  margin-right: 0.5rem;
}
form.blork-recherche fieldset .rech-container .rech-left .rech-left-top .input-line label {
  flex: 0 0 auto;
  margin-right: 0.5rem;
}
form.blork-recherche fieldset .rech-container .rech-left .rech-left-top .input-line input[type=text] {
  flex: 1;
  min-width: 0;
}
form.blork-recherche fieldset .rech-container .rech-left .rech-left-top .button-line {
  flex: 0 0 auto;
  width: 11.5rem;
  display: inline-flex;
  border: 0px solid red;
}
form.blork-recherche fieldset .rech-container .rech-left .rech-left-top .button-line button {
  flex: 0 0 auto;
  padding: 0.2rem 1rem;
  margin-right: 0.7rem;
  width: auto;
}
form.blork-recherche fieldset .rech-container .rech-left .rech-left-middle {
  border: 0px solid red;
  padding: 0.3rem 0;
}
form.blork-recherche fieldset .rech-container .rech-left .rech-left-bottom {
  border: 0px solid green;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  flex-direction: row;
}
form.blork-recherche fieldset .rech-container .rech-left .rech-left-bottom .radio-label {
  border: 0px solid red;
  display: flex;
}
form.blork-recherche fieldset .rech-container .rech-left .rech-left-bottom .radio-label label {
  margin: 0 0 0 0.25rem;
}
form.blork-recherche fieldset .rech-container .rech-left .rech-left-bottom .radio-label input[type=radio] {
  margin: 0rem;
  padding: 0;
}
form.blork-recherche fieldset .rech-container .rech-right {
  width: 12rem;
  border: 0px solid red;
}
form.blork-recherche fieldset .rech-container .rech-right .check-label {
  border: 0px solid red;
  display: flex;
  margin: 0 0 0.5rem 0;
}
form.blork-recherche fieldset .rech-container .rech-right .check-label input[type=check] {
  margin: 0rem;
  padding: 0;
}
form.blork-recherche fieldset .rech-container .rech-right .check-label label {
  display: block;
  text-align: center;
  white-space: normal;
  max-width: 100%;
  margin: 0 0 0 0.25rem;
  padding: 0;
}
@media screen and (max-width: 780px) {
  form.blork-recherche fieldset {
    width: 100%;
    max-width: 100%;
  }
  form.blork-recherche fieldset .rech-container {
    width: 100%;
    flex-direction: column;
    border: 0px solid red;
    gap: 0;
  }
  form.blork-recherche fieldset .rech-container .rech-left {
    flex: 1;
    width: 100%;
    border: 0px solid red;
  }
  form.blork-recherche fieldset .rech-container .rech-left .rech-left-top {
    width: 100%;
    border: 0px solid red;
  }
  form.blork-recherche fieldset .rech-container .rech-left .rech-left-top .input-line {
    flex: 1;
    display: flex;
    gap: 0.3rem;
    border: 0px solid red;
  }
  form.blork-recherche fieldset .rech-container .rech-left .rech-left-top .input-line label {
    flex: 0 0 auto;
    margin-right: 0.5rem;
  }
  form.blork-recherche fieldset .rech-container .rech-left .rech-left-top .input-line input[type=text] {
    flex: 1;
    width: 100%;
  }
  form.blork-recherche fieldset .rech-container .rech-left .rech-left-top .button-line {
    flex: 0 0 auto;
    width: 11.5rem;
    display: inline-flex;
    border: 0px solid red;
  }
  form.blork-recherche fieldset .rech-container .rech-left .rech-left-top .button-line button {
    flex: 0 0 auto;
    padding: 0.2rem 1rem;
    margin-right: 0.7rem;
    width: auto;
  }
  form.blork-recherche fieldset .rech-container .rech-left .rech-left-middle {
    border: 0px solid red;
    padding: 0rem 0;
    width: 100%;
  }
  form.blork-recherche fieldset .rech-container .rech-left .rech-left-middle label {
    margin: 0;
  }
  form.blork-recherche fieldset .rech-container .rech-left .rech-left-bottom {
    border: 0px solid green;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    flex-direction: row;
    margin: 0;
    padding: 0;
  }
  form.blork-recherche fieldset .rech-container .rech-left .rech-left-bottom .radio-label {
    border: 0px solid red;
    display: flex;
    width: 10rem;
    margin: 0;
  }
  form.blork-recherche fieldset .rech-container .rech-left .rech-left-bottom .radio-label input[type=check],
  form.blork-recherche fieldset .rech-container .rech-left .rech-left-bottom .radio-label input[type=radio] {
    margin: 0 0.5rem 0 0;
    padding: 0;
  }
  form.blork-recherche fieldset .rech-container .rech-left .rech-left-bottom .radio-label label {
    padding: 0;
    margin: 0 0 0 0.5rem;
  }
  form.blork-recherche fieldset .rech-container .rech-right {
    border: 0px solid green;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    flex-direction: row;
    margin: 0;
    padding: 0;
  }
  form.blork-recherche fieldset .rech-container .rech-right .check-label {
    border: 0px solid red;
    display: flex;
    align-items: center;
    margin: 0;
    width: 10rem;
  }
  form.blork-recherche fieldset .rech-container .rech-right .check-label input[type=check] {
    margin: 0rem;
    padding: 0;
    margin: 0;
  }
  form.blork-recherche fieldset .rech-container .rech-right .check-label label {
    display: block;
    text-align: center;
    white-space: normal;
    max-width: 100%;
    margin: 0 0 0 0.5rem;
    padding: 0;
  }
}
@media screen and (max-width: 500px) {
  form.blork-recherche fieldset {
    width: 100%;
    max-width: 100%;
    padding: 0.2rem 0.3rem;
  }
  form.blork-recherche fieldset .rech-container {
    width: 100%;
    flex-direction: column;
    border: 0px solid red;
    gap: 0;
    padding: 0;
    margin: 0;
  }
  form.blork-recherche fieldset .rech-container .rech-left {
    flex: 1;
    width: 100%;
    border: 0px solid red;
  }
  form.blork-recherche fieldset .rech-container .rech-left .rech-left-top {
    display: flex;
    width: 100%;
    border: 0px solid red;
    flex-direction: column;
  }
  form.blork-recherche fieldset .rech-container .rech-left .rech-left-top .input-line {
    flex: 1;
    display: flex;
    gap: 0.3rem;
    border: 0px solid red;
  }
  form.blork-recherche fieldset .rech-container .rech-left .rech-left-top .input-line label {
    flex: 0 0 auto;
    margin-right: 0.5rem;
  }
  form.blork-recherche fieldset .rech-container .rech-left .rech-left-top .input-line input[type=text] {
    flex: 1;
    width: 100%;
    margin-right: 0;
  }
  form.blork-recherche fieldset .rech-container .rech-left .rech-left-top .button-line {
    flex: 0 0 auto;
    width: 100%;
    display: flex;
    margin-top: 0.3rem;
    border: 0px solid red;
    justify-content: space-around;
  }
  form.blork-recherche fieldset .rech-container .rech-left .rech-left-top .button-line button {
    flex: 0 0 auto;
    padding: 0.2rem 2rem;
    margin-right: 0.7rem;
    width: auto;
  }
  form.blork-recherche fieldset .rech-container .rech-left .rech-left-middle {
    border: 0px solid red;
    padding: 0.2rem 0;
    width: 100%;
  }
  form.blork-recherche fieldset .rech-container .rech-left .rech-left-middle label {
    margin: 0;
  }
  form.blork-recherche fieldset .rech-container .rech-left .rech-left-bottom {
    border: 0px solid green;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    flex-direction: row;
    margin: 0;
    padding: 0;
  }
  form.blork-recherche fieldset .rech-container .rech-left .rech-left-bottom .radio-label {
    border: 0px solid red;
    display: flex;
    width: 10rem;
    margin: 0 0 0.2rem 0;
    flex: 0 0 auto;
  }
  form.blork-recherche fieldset .rech-container .rech-left .rech-left-bottom .radio-label input[type=check] {
    margin: 0 0.5rem 0 0;
    padding: 0;
  }
  form.blork-recherche fieldset .rech-container .rech-left .rech-left-bottom .radio-label input[type=radio] {
    margin: 0 0rem 0 0;
    padding: 0;
  }
  form.blork-recherche fieldset .rech-container .rech-left .rech-left-bottom .radio-label label {
    padding: 0;
    margin-left: 0.3rem;
  }
  form.blork-recherche fieldset .rech-container .rech-right {
    border: 0px solid green;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    flex-direction: row;
    margin: 0;
    padding: 0;
  }
  form.blork-recherche fieldset .rech-container .rech-right .check-label {
    border: 0px solid red;
    display: flex;
    align-items: center;
    margin: 0 0 0.3rem 0;
    flex: 0 0 0auto;
  }
  form.blork-recherche fieldset .rech-container .rech-right .check-label input[type=check] {
    margin: 0rem;
    padding: 0;
    margin: 0;
  }
  form.blork-recherche fieldset .rech-container .rech-right .check-label label {
    display: block;
    text-align: center;
    white-space: normal;
    max-width: 100%;
    margin: 0 0 0 0.3rem;
    padding: 0;
  }
}

.blork-recherche-button {
  padding: 0.1rem 3rem;
  margin-bottom: 0.2rem;
}

/*	/assets/scss/base/_forms.scss		*/
/* /assets/pages/_documents.scss */
#formDocumentsEcrits {
  max-width: 100%;
  margin: 0;
  padding: 0;
}
#formDocumentsEcrits fieldset.formDocumentsEcrits {
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  padding: 0.6rem 1rem 0.4rem 0.6rem;
  margin: 0.8rem 0 1rem 0;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
}
#formDocumentsEcrits fieldset.formDocumentsEcrits legend {
  margin-left: 0.5rem;
}
#formDocumentsEcrits fieldset.formDocumentsEcrits .conteneur-radio-group {
  display: flex;
  justify-content: space-around;
  margin-bottom: 0.5rem;
  /* Paires bouton radio et label alignés horizontalement dans chaque ligne */
}
#formDocumentsEcrits fieldset.formDocumentsEcrits .conteneur-radio-group .radio-group {
  display: flex;
  justify-content: flex-start;
  align-content: center;
  align-items: center;
  border: 0px solid red;
}
#formDocumentsEcrits fieldset.formDocumentsEcrits .conteneur-radio-group .radio-group input[type=radio] {
  margin-right: 1rem; /* Espacement entre le bouton et le label */
}
#formDocumentsEcrits fieldset.formDocumentsEcrits .conteneur-radio-group .radio-group label.radio-group {
  border: 0px solid green;
}
#formDocumentsEcrits fieldset.formDocumentsEcrits .conteneur-cles-reset {
  display: flex;
  flex-direction: row;
  justify-content: space-between; /* Alignement horizontal en desktop */
  flex-wrap: nowrap; /* Permet de passer à la ligne si nécessaire */
  row-gap: 0.5rem; /* Espace entre les éléments */
  -moz-column-gap: 1rem;
       column-gap: 1rem;
  width: 100%;
  border: 0px solid orange;
}
#formDocumentsEcrits fieldset.formDocumentsEcrits .conteneur-cles-reset label.cles {
  white-space: nowrap; /* Empêche le texte du label de passer à la ligne suivante */
}
#formDocumentsEcrits fieldset.formDocumentsEcrits .conteneur-cles-reset .cles-reset {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  -moz-column-gap: 1rem;
       column-gap: 1rem;
  width: 100%;
  border: 0px solid blue;
}
#formDocumentsEcrits fieldset.formDocumentsEcrits .conteneur-cles-reset .cles-reset input[type=text]#clefs {
  width: 100%;
  flex-grow: 1;
  padding: 0.2rem 0.5rem;
  margin: 0;
}
@media screen and (max-width: 600px) {
  #formDocumentsEcrits fieldset.formDocumentsEcrits .conteneur-cles-reset .cles-reset input[type=text]#clefs {
    padding-left: 0.3rem;
    font-size: 90%;
  }
}
#formDocumentsEcrits fieldset.formDocumentsEcrits button[type=submit],
#formDocumentsEcrits fieldset.formDocumentsEcrits button[type=button] {
  font-size: 1rem;
  margin-top: 0rem;
  padding: 0.1rem 1rem;
  width: auto;
}

/* Styles pour les petits écrans */
@media screen and (max-width: 768px) {
  #formDocumentsEcrits fieldset.formDocumentsEcrits {
    /* Empile les groupes de radio verticalement uniquement en mode mobile vertical */
  }
  #formDocumentsEcrits fieldset.formDocumentsEcrits .radio-group {
    flex-direction: column; /* Aligner les boutons radio et les labels verticalement */
    align-items: center; /* Aligner les éléments à gauche */
  }
  #formDocumentsEcrits fieldset.formDocumentsEcrits label.radio-group {
    padding: 0;
    margin: 0;
  }
  #formDocumentsEcrits fieldset.formDocumentsEcrits .conteneur-cles-reset {
    display: flex;
    justify-content: space-between; /* Alignement horizontal en desktop */
    flex-wrap: wrap; /* Permet de passer à la ligne si nécessaire */
    row-gap: 0.2rem; /* Espace entre les éléments */
    -moz-column-gap: 0rem;
         column-gap: 0rem;
    width: 100%;
  }
  #formDocumentsEcrits fieldset.formDocumentsEcrits .conteneur-cles-reset label.cles {
    white-space: nowrap; /* Empêche le texte du label de passer à la ligne suivante */
    margin: 0;
    padding: 0;
  }
  #formDocumentsEcrits fieldset.formDocumentsEcrits .conteneur-cles-reset .cles-reset {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    -moz-column-gap: 1rem;
         column-gap: 1rem;
    width: 100%;
  }
  #formDocumentsEcrits fieldset.formDocumentsEcrits .conteneur-cles-reset .cles-reset input[type=text]#clefs {
    width: 100%;
    padding: 0.2rem 0.3rem;
  }
  #formDocumentsEcrits fieldset.formDocumentsEcrits .conteneur-cles-reset .cles-reset input[type=text]#clefs::-moz-placeholder {
    opacity: 1 !important;
    margin: 0;
  }
  #formDocumentsEcrits fieldset.formDocumentsEcrits .conteneur-cles-reset .cles-reset input[type=text]#clefs::placeholder {
    opacity: 1 !important;
    margin: 0;
  }
}
/* Pour les petits écrans mobiles */
@media screen and (max-width: 500px) {
  #formDocumentsEcrits fieldset.formDocumentsEcrits {
    padding: 0.35rem;
  }
  #formDocumentsEcrits fieldset.formDocumentsEcrits .conteneur-radio-group {
    display: flex;
    flex-wrap: wrap;
    row-gap: 0;
    -moz-column-gap: 2rem;
         column-gap: 2rem;
    justify-content: space-around;
    margin-bottom: 0.5rem;
  }
  #formDocumentsEcrits fieldset.formDocumentsEcrits .conteneur-radio-group .radio-group {
    display: inline-flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    flex: 1 1;
    -moz-column-gap: 0.5rem;
         column-gap: 0.5rem;
  }
  #formDocumentsEcrits fieldset.formDocumentsEcrits .conteneur-radio-group .radio-group input[type=radio] {
    margin: 0;
    width: auto;
  }
  #formDocumentsEcrits fieldset.formDocumentsEcrits .conteneur-radio-group .radio-group label.radio {
    font-size: 0.9rem;
    margin: 0;
    cursor: pointer;
  }
  #formDocumentsEcrits fieldset.formDocumentsEcrits .conteneur-cles-reset label.cles {
    display: none;
    font-size: 0.85rem;
  }
  #formDocumentsEcrits fieldset.formDocumentsEcrits .conteneur-cles-reset .cles-reset {
    -moz-column-gap: 0.5rem;
         column-gap: 0.5rem;
  }
  #formDocumentsEcrits fieldset.formDocumentsEcrits .conteneur-cles-reset .cles-reset input[type=text]#clefs {
    padding: 0.2rem 0.3rem !important;
    margin: 0 !important;
  }
}
/* documents archives */
p.listeDocuments {
  margin-left: 1rem;
}
p.listeDocuments a::before {
  content: "•";
  margin-right: 0.5em;
  color: var(--border);
}
@media screen and (max-width: 500px) {
  p.listeDocuments {
    margin-left: 0rem;
  }
}

/*	/assets/scss/base/_forms.scss		*/
/* /assets/pages/_plansite.scss */
ul {
  padding-left: 2rem;
}

li {
  margin: 0.25rem 0;
}

small {
  color: #555;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

fieldset.fieldset-plan {
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  padding: 0.6rem 0.8rem;
  text-align: left; /* ⬅️ important */
  width: 100%;
}

.plan-menu {
  font-style: italic;
  color: var(--color);
  font-size: 90%;
}

.plan-maj {
  font-size: 80%;
  font-style: italic;
}

.plan-histo {
  font-size: 80% rem;
  font-style: italic;
}

#form-recherche-plan {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  width: 100%;
}
#form-recherche-plan .plan-rech {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  align-items: center;
  width: 100%;
  flex: 1 1 auto;
}
#form-recherche-plan .plan-rech input[type=text] {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.2rem 0.3rem;
}
#form-recherche-plan .plan-rech button {
  padding: 0.2rem 1rem;
  cursor: pointer;
}
#form-recherche-plan .plan-tri {
  display: flex;
  justify-content: space-evenly;
  gap: 1.5rem;
  white-space: nowrap;
  width: 100%;
  flex: 1 1 auto;
}
#form-recherche-plan .plan-tri label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  cursor: pointer;
}
#form-recherche-plan .plan-tri input[type=radio] {
  margin-right: 0.4rem;
  accent-color: var(--accent);
  cursor: pointer;
}

@media screen and (max-width: 600px) {
  ul {
    padding-left: 0.8rem;
  }
  #form-recherche-plan {
    flex-direction: column;
  }
  #form-recherche-plan button {
    padding: 0.2rem 0.3rem;
  }
  fieldset.fieldset-plan {
    border: 1px solid var(--border);
    border-radius: 0.6rem;
    padding: 0.5rem 0.5rem 0 0.5rem;
    text-align: center;
    width: 100%;
  }
}
/*	/assets/scss/base/_forms.scss		*/
/* /assets/pages/_fonds_photos.scss */
/* Réglages */
/* ← données 45% */
/* ← image 55% */
/* Dialog draggable : style de l’entête */
.dlg-title {
  cursor: move; /* curseur poignée */
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0 0.3rem 1rem;
  background-color: var(--colorBg);
}

/* Quand on “pose” le dialog à un endroit précis,
   on évite le centrage automatique par défaut */
dialog[data-placed="1"] {
  margin: 0 !important; /* sinon certains navigateurs re-centre */
}

#renameNewLabel {
  margin-top: 0.5rem;
}

form#fondsPhotosRecherche {
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  /* Barre de nav sous le carré — hauteur fixe */
}
form#fondsPhotosRecherche fieldset.fondsPhotosTop {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  border-radius: 0.6rem;
  padding: 0.5rem;
  margin: 0.5rem 0;
  max-height: 90vh;
  border: 1px solid var(--border);
}
form#fondsPhotosRecherche fieldset.fondsPhotosTop legend {
  margin-left: 0.5rem;
}
form#fondsPhotosRecherche fieldset.fondsPhotosTop .fondsPhotosLigneAlbum {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  -moz-column-gap: 1rem;
       column-gap: 1rem;
  margin-bottom: 0.3rem;
}
form#fondsPhotosRecherche fieldset.fondsPhotosTop .fondsPhotosLigneAlbum .albumLigne {
  display: flex;
  justify-content: space-around;
  flex: 0 1 50%;
  gap: 0.5rem;
  margin-inline: auto;
}
form#fondsPhotosRecherche fieldset.fondsPhotosTop .fondsPhotosLigneAlbum .albumLigne label.forselect {
  margin: 0;
  flex: 0 0 auto;
  font-style: italic;
}
form#fondsPhotosRecherche fieldset.fondsPhotosTop .fondsPhotosLigneAlbum .albumLigne .albumCptr {
  flex: 1 1 auto;
  display: flex;
}
form#fondsPhotosRecherche fieldset.fondsPhotosTop .fondsPhotosLigneAlbum .albumLigne .albumCptr select#album {
  min-width: min(30ch, 100%);
  max-width: 65ch;
  padding: 0.3rem 0.5rem;
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  margin-right: 0.5rem;
  cursor: pointer;
  flex: 1 1 auto;
  border: 0.35rem groove var(--borderLight);
}
form#fondsPhotosRecherche fieldset.fondsPhotosTop .fondsPhotosLigneAlbum .albumLigne .albumCptr select#album option {
  padding: 0 1rem;
  background-color: var(--containerBg);
  font-weight: normal;
  text-align: center;
}
form#fondsPhotosRecherche fieldset.fondsPhotosTop .fondsPhotosLigneAlbum .albumLigne .albumCptr label.compteur {
  flex: 0 0 auto;
  margin: 0;
  font-size: 0.9rem;
  font-style: normal;
}
form#fondsPhotosRecherche fieldset.fondsPhotosTop .fondsPhotosLigneAlbum .filtres {
  display: flex;
  gap: 0.5rem;
  justify-content: space-around;
  align-items: center;
  flex: 0 0 auto;
}
form#fondsPhotosRecherche fieldset.fondsPhotosTop .fondsPhotosLigneAlbum .filtres label:not(.compteur) {
  font-style: italic;
}
form#fondsPhotosRecherche fieldset.fondsPhotosTop .fondsPhotosLigneAlbum .filtres select#filtreSuppression {
  margin-right: 0;
  padding: 0.3rem 0.5rem;
  text-align: center;
}
form#fondsPhotosRecherche fieldset.fondsPhotosTop .fondsPhotosLigneAlbum .filtres label.compteur {
  margin: 0;
  font-size: 0.9rem;
}
form#fondsPhotosRecherche fieldset.fondsPhotosTop .fondsPhotosLigneAlbum .filtres button#fp-params {
  margin-left: 1rem !important;
  max-width: 2.5rem !important;
  width: 2.5rem !important;
  text-align: center;
  padding: 0.25rem 0.5rem !important;
}
form#fondsPhotosRecherche fieldset.fondsPhotosTop .fondsPhotosLigneRecherche {
  display: flex;
  align-items: center;
  -moz-column-gap: 3rem;
       column-gap: 3rem;
  width: 100%;
}
form#fondsPhotosRecherche fieldset.fondsPhotosTop .fondsPhotosLigneRecherche .fondsPhotosLigneCles {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
form#fondsPhotosRecherche fieldset.fondsPhotosTop .fondsPhotosLigneRecherche .fondsPhotosLigneCles label[for=cles_rech] {
  flex: 0 0 auto;
  white-space: nowrap;
  margin: 0;
  font-style: italic;
}
form#fondsPhotosRecherche fieldset.fondsPhotosTop .fondsPhotosLigneRecherche .fondsPhotosLigneCles .inputEtButton {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
form#fondsPhotosRecherche fieldset.fondsPhotosTop .fondsPhotosLigneRecherche .fondsPhotosLigneCles .inputEtButton input[type=text] {
  border-radius: 0.4rem;
  font-size: 1rem;
  line-height: 1.3;
  flex: 1 1 auto;
}
form#fondsPhotosRecherche fieldset.fondsPhotosTop .fondsPhotosLigneRecherche .fondsPhotosLigneCles .inputEtButton input[type=text]#cles_rech {
  background-color: var(--containerBg);
}
form#fondsPhotosRecherche fieldset.fondsPhotosTop .fondsPhotosLigneRecherche .fondsPhotosLigneCles .inputEtButton button#valider,
form#fondsPhotosRecherche fieldset.fondsPhotosTop .fondsPhotosLigneRecherche .fondsPhotosLigneCles .inputEtButton button#eff_cles {
  flex: 0 0 auto;
}
form#fondsPhotosRecherche fieldset.fondsPhotosTop .fondsPhotosLigneRecherche .fondsPhotosLigneCles .inputEtButton button#valider:disabled,
form#fondsPhotosRecherche fieldset.fondsPhotosTop .fondsPhotosLigneRecherche .fondsPhotosLigneCles .inputEtButton button#eff_cles:disabled {
  background-color: var(--disabled);
}
form#fondsPhotosRecherche fieldset.fondsPhotosTop .fondsPhotosLigneRecherche .fondsPhotosLigneCles .inputEtButton button#eff_cles {
  margin-right: 0.3rem;
}
form#fondsPhotosRecherche fieldset.fondsPhotosTop .fondsPhotosLigneRecherche .fondsPhotosLigneColRech {
  width: auto;
  display: flex;
  gap: 0.5rem;
  flex: 0 0 auto;
}
form#fondsPhotosRecherche fieldset.fondsPhotosTop .fondsPhotosLigneRecherche .fondsPhotosLigneColRech label {
  font-style: italic;
}
form#fondsPhotosRecherche fieldset.fondsPhotosTop .fondsPhotosLigneRecherche .fondsPhotosLigneColRech input[type=checkbox] {
  margin-left: 0.5rem;
}
form#fondsPhotosRecherche .fondsPhotosBas {
  display: flex;
  width: 100%;
  max-width: 100%;
  margin-bottom: 0.8rem;
  display: block;
  padding-right: 0.3rem;
  /* le conteneur doit être un flex horizontal (tu l’as déjà) */
  /* Hôte du split */
  /* Les deux panneaux contrôlés par Split.js */
  /* À la place : les contenus occupent toute la largeur de leur panneau */
  /* Colonne image (55%) */
}
form#fondsPhotosRecherche .fondsPhotosBas #fp-split {
  display: flex;
  -moz-column-gap: 0.1rem;
       column-gap: 0.1rem;
}
form#fondsPhotosRecherche .fondsPhotosBas #fp-split .fp-left,
form#fondsPhotosRecherche .fondsPhotosBas #fp-split .fp-right {
  min-width: 350px; /* important en flex pour permettre le shrink */
  display: block;
  margin-left: 0.1rem;
}
form#fondsPhotosRecherche .fondsPhotosBas #fp-split .fp-left > .fondsPhotosData.fp-form {
  height: 100%;
}
form#fondsPhotosRecherche .fondsPhotosBas #fp-split .fp-right > .fondsPhotoImg {
  width: 100%;
}
form#fondsPhotosRecherche .fondsPhotosBas fieldset.fondsPhotosData.fp-form.fp_form_a_supprimer {
  background: rgb(245, 214, 214) !important;
}
form#fondsPhotosRecherche .fondsPhotosBas fieldset.fondsPhotosData.fp-form {
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  padding: 0 0.5rem;
  width: 100%; /* ← supprime l’ancien width: $fp-view-w; */
  min-width: 350px;
  height: 100%;
}
form#fondsPhotosRecherche .fondsPhotosBas fieldset.fondsPhotosData.fp-form legend {
  margin-left: 0.5rem;
}
form#fondsPhotosRecherche .fondsPhotosBas fieldset.fondsPhotosData.fp-form div.fp-row {
  display: grid;
  grid-template-columns: 5.8rem 1fr;
  -moz-column-gap: 0.3rem;
       column-gap: 0.3rem;
  align-items: start;
  margin-top: 0.4rem;
}
form#fondsPhotosRecherche .fondsPhotosBas fieldset.fondsPhotosData.fp-form div.fp-row label.fp-label {
  justify-self: end;
  text-align: right;
  font-size: 0.9rem;
}
form#fondsPhotosRecherche .fondsPhotosBas fieldset.fondsPhotosData.fp-form div.fp-row select.fp-input,
form#fondsPhotosRecherche .fondsPhotosBas fieldset.fondsPhotosData.fp-form div.fp-row input[type=text].fp-input,
form#fondsPhotosRecherche .fondsPhotosBas fieldset.fondsPhotosData.fp-form div.fp-row textarea.fp-input {
  width: 100%;
  font-size: 1rem;
  font-family: "Lato", sans-serif;
  background: var(--containerBg);
  padding: 0.2rem 0 0.2rem 0.3rem !important;
}
form#fondsPhotosRecherche .fondsPhotosBas fieldset.fondsPhotosData.fp-form .fp-demi-row {
  display: grid;
  grid-template-columns: 5.8rem minmax(0, 1fr) 3.5rem minmax(0, 1fr);
  -moz-column-gap: 0.3rem;
       column-gap: 0.3rem;
  margin-top: 0.4rem;
}
form#fondsPhotosRecherche .fondsPhotosBas fieldset.fondsPhotosData.fp-form .fp-demi-row label.fp-label {
  justify-self: end;
  font-size: 0.9rem;
}
form#fondsPhotosRecherche .fondsPhotosBas fieldset.fondsPhotosData.fp-form .fp-demi-row input[type=text].fp-input {
  font-size: 1rem;
}
form#fondsPhotosRecherche .fondsPhotosBas fieldset.fondsPhotosData.fp-form .fp-demi-row-box {
  display: grid;
  grid-template-columns: 5.8rem minmax(0, 1fr) 3.5rem minmax(0, 1fr);
  align-items: center;
  margin-top: 0.4rem;
}
form#fondsPhotosRecherche .fondsPhotosBas fieldset.fondsPhotosData.fp-form .fp-demi-row-box label.fp-label {
  white-space: nowrap;
  font-style: italic;
  font-size: 0.9rem;
}
form#fondsPhotosRecherche .fondsPhotosBas fieldset.fondsPhotosData.fp-form .fp-demi-row-box select,
form#fondsPhotosRecherche .fondsPhotosBas fieldset.fondsPhotosData.fp-form .fp-demi-row-box .check_status_line {
  width: 100%;
  min-width: 0;
}
form#fondsPhotosRecherche .fondsPhotosBas fieldset.fondsPhotosData.fp-form .fp-demi-row-box select label.fp-label,
form#fondsPhotosRecherche .fondsPhotosBas fieldset.fondsPhotosData.fp-form .fp-demi-row-box .check_status_line label.fp-label {
  display: inline;
  width: 5.8rem;
  padding-left: 1rem;
}
form#fondsPhotosRecherche .fondsPhotosBas fieldset.fondsPhotosData.fp-form .fp-demi-row-box select input[type=checkbox],
form#fondsPhotosRecherche .fondsPhotosBas fieldset.fondsPhotosData.fp-form .fp-demi-row-box .check_status_line input[type=checkbox] {
  margin-left: 0.5rem;
}
form#fondsPhotosRecherche .fondsPhotosBas fieldset.fondsPhotosData.fp-form .fp-demi-row-box select {
  text-align: center;
  font-size: 1rem;
}
form#fondsPhotosRecherche .fondsPhotosBas fieldset.fondsPhotosData.fp-form :is(input.fp-input:disabled,
select.fp-input:disabled,
textarea.fp-input:disabled) {
  background-color: #eed !important;
  cursor: normal;
}
form#fondsPhotosRecherche .fondsPhotosBas fieldset.fondsPhotosData.fp-form div.fp-row textarea {
  resize: vertical;
}
form#fondsPhotosRecherche .fondsPhotosBas div.fondsPhotoImg {
  width: 100%; /* ← supprime l’ancien width: $fp-view-w; */
  min-width: 350px;
  /* Zone pour l’image */
}
form#fondsPhotosRecherche .fondsPhotosBas div.fondsPhotoImg .fp-view {
  width: 100%;
  aspect-ratio: 55/40; /* ← carré */
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-top: 0.6rem;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  box-shadow: 0.3rem 0.3rem 0.3rem rgba(0, 0, 0, 0.5);
  background: var(--containerBg);
  -o-object-fit: fill;
     object-fit: fill;
}
form#fondsPhotosRecherche .fondsPhotosBas div.fondsPhotoImg a.big-image-onglet {
  display: block; /* ou grid */
  width: 100%;
  height: 100%;
  min-width: 0; /* indispensable en grid/flex pour autoriser le shrink */
  min-height: 0;
}
form#fondsPhotosRecherche .fondsPhotosBas div.fondsPhotoImg img.fondsPhoto {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}
form#fondsPhotosRecherche div#fondsPhotosLigneNav {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  width: 100%;
  min-width: 100%;
  margin-top: 0.6rem;
  container-type: inline-size;
}
form#fondsPhotosRecherche div#fondsPhotosLigneNav #fondsPhotosCounter {
  font-size: 0.9rem;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  padding-inline: clamp(5px, 4cqi - 16px, 2rem);
  padding-block: 0.3rem;
  border-radius: 0.6rem;
}
form#fondsPhotosRecherche div#fondsPhotosLigneNav input[type=number]#numph {
  text-align: center;
  width: 5ch;
  min-width: 5ch;
  max-width: 20ch;
  padding: 0.3rem 0.5rem;
  flex: 1 1 auto;
}
form#fondsPhotosRecherche div#fondsPhotosLigneNav input[type=submit]#gonumph {
  margin-left: 0.5rem;
  font-size: 1rem;
  padding-inline: clamp(8px, 4cqi - 16px, 2rem);
  padding-block: 0.28rem;
  flex: 0 0 auto;
}
form#fondsPhotosRecherche div#fondsPhotosLigneNav input[type=submit]#gonumph:not([disabled]) {
  opacity: 1;
  cursor: pointer;
  pointer-events: auto;
  background-color: var(--borderLight);
}
form#fondsPhotosRecherche div#fondsPhotosLigneNav .wd {
  font-family: "Webdings", "Wingdings", "Wingdings 3", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 1.45rem; /* ajustez */
  color: var(--colorBg);
}
form#fondsPhotosRecherche div#fondsPhotosLigneNav .navigation-button {
  white-space: nowrap;
  width: auto;
  padding-inline: clamp(0px, 4cqi - 16px, 2rem);
  padding-block: 0; /* si tu veux garder 0 verticalement */
  flex: 0 0 auto;
}
form#fondsPhotosRecherche div#fondsPhotosLigneNav .navigation-button.key-pressed {
  transform: scale(0.95);
  filter: brightness(0.8);
  transition: transform 0.05s, filter 0.05s;
}

/* État chargement */
#fondsPhotosAjax.is-loading {
  position: relative;
}
#fondsPhotosAjax.is-loading::after {
  content: "Chargement…";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

/* Désactivation générique */
#fondsPhotosRecherche button:disabled,
#fondsPhotosRecherche input[type=button]:disabled,
#fondsPhotosRecherche input[type=submit]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Dialogs & divers … (inchangé) */
.fs120 {
  font-size: 120%;
  font-weight: bold;
}

/* Split.js insère .gutter entre les panneaux */
.gutter.gutter-horizontal {
  flex: 0 0 auto;
  width: 0.5rem; /* épaisseur de la poignée */
  cursor: col-resize;
  z-index: 10;
  background: linear-gradient(90deg, transparent 3px, var(--border) 3px, var(--border) 5px, transparent 5px);
}

.gutter.gutter-horizontal:hover {
  background-color: var(--borderLight);
}

dialog.albumDialog {
  padding: 0;
  max-width: 640px;
  width: calc(100% - 2rem);
  background: var(--colorBg, yellow);
  color: var(--color, #222);
  box-shadow: 0.3rem 0.3rem 0.3rem rgba(0, 0, 0, 0.5);
  border-radius: 0.6rem;
  border: 2px solid var(--border);
}
dialog form.dlg-inner {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0;
}
dialog button {
  border: none;
  padding: 0.3rem 1rem;
  border-radius: 0.6rem;
  font-weight: 600;
  cursor: pointer;
}
dialog::backdrop {
  background: rgba(0, 0, 0, 0.4);
}

.err {
  margin-top: 0.5rem;
  color: #b00020;
  min-height: 1.2em;
}
.err.success {
  color: green;
}
.err.info {
  color: var(--color);
}

/* Bouton d'abandon (croix) en haut à droite des <dialog> */
.albumDialog {
  position: relative;
  /* Groupe label + input sur une seule ligne */
  /* Label cadré à gauche, largeur fixe, texte à droite */
  /* Input (ou select, etc.) qui prend tout le reste */
}
.albumDialog .dlg-inner {
  position: relative;
  padding: 0.1rem 1rem 1.5rem 1rem;
  background: var(--colorBg, #fff);
}
.albumDialog .form-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.albumDialog .form-line #deleteConfirm {
  color: red;
  font-weight: bold;
}
.albumDialog .form-line label {
  min-width: 12rem; /* ajustable selon longueur de texte */
  text-align: right;
  font-weight: 600;
}
.albumDialog .form-line input[type=text],
.albumDialog .form-line input[type=number],
.albumDialog .form-line input[type=file],
.albumDialog .form-line select,
.albumDialog .form-line textarea {
  flex: 1 1 auto;
  width: 100%;
  padding: 0.4rem 0.6rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: var(--surface, #fff);
}
.albumDialog .form-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.albumDialog .form-row.inline {
  margin-top: 1rem;
  justify-content: space-around !important;
}
.albumDialog .dlg-close {
  position: absolute;
  top: 0;
  right: 0;
  background: rgb(209, 1, 1);
  color: white;
  border: none;
  font-size: 1.4rem;
  font-weight: 600;
  height: 2rem;
  width: 2rem;
  cursor: pointer;
  padding: 0 0.3rem;
  border-radius: 0 6px 0 0;
  transition: background-color 0.15s;
}

#dlgFeedAlbum .form-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
#dlgFeedAlbum .feed-source-hint {
  display: block;
  margin: 0.4rem 0 0; /* espace au-dessus */
  font-size: 0.6em;
  text-align: center;
}
#dlgFeedAlbum .feedProgressGlobal,
#dlgFeedAlbum .feedProgressWrapSolo {
  height: 2rem;
  margin-bottom: 0.5rem;
}
#dlgFeedAlbum fieldset legend + label {
  margin-right: 0rem;
}

/* Feed dialog: put the “directory” choice on the next line */
form#dlgFeedForm.dlg-inner div.form-line label,
form#dlgFeedForm.dlg-inner fieldset div.form-line label {
  min-width: 9rem;
  text-align: left;
  padding: 0;
  margin: 0;
}

dialog#dlgDeleteAlbum div.form-line label {
  min-width: 9rem;
}
dialog#dlgDeleteAlbum div.form-line input,
dialog#dlgDeleteAlbum div.form-line select {
  margin-bottom: 0.5rem;
}

dialog#dlgExportAlbum div.form-line label {
  min-width: 4rem;
}
dialog#dlgExportAlbum div.form-line input,
dialog#dlgExportAlbum div.form-line select {
  margin-bottom: 0.5rem;
}
dialog#dlgExportAlbum fieldset {
  padding: 0.2rem 0 0.5rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  margin-bottom: 0.3rem;
}
dialog#dlgExportAlbum fieldset.perimetre input[type=radio] {
  margin-right: 0.5rem;
}
dialog#dlgExportAlbum fieldset.perimetre label {
  margin-right: 1rem;
}
dialog#dlgExportAlbum fieldset.fichiersImages {
  padding: 0.5rem;
}
dialog#dlgExportAlbum fieldset.fichiersImages select {
  margin-right: 1rem;
  margin-left: 0.5rem;
  padding: 0.2rem 1rem;
  text-align: center;
}
dialog#dlgExportAlbum fieldset.metadonnees {
  padding: 0.5rem;
}
dialog#dlgExportAlbum fieldset.metadonnees input[type=checkbox] {
  margin-right: 0.5rem;
}
dialog#dlgExportAlbum fieldset.metadonnees label {
  margin-right: 1rem;
}
dialog#dlgExportAlbum #exportErr {
  line-height: 2;
}

/* force line break before the second radio */
#feedDirLabel {
  display: block;
  margin-top: 0.5rem;
}

#feedDir {
  display: inline-block;
  margin-left: 1.6rem;
} /* indent under the radio */
#feedDirNote {
  display: block;
  margin-left: 1.6rem;
}

.album-toolbar,
.photo-toolbar {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
  padding: 0;
}
@media (max-width: 850px) {
  .album-toolbar button,
  .photo-toolbar button {
    padding: 0.2rem 0.5rem !important;
  }
}
.album-toolbar button:disabled,
.photo-toolbar button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.album-toolbar #btnMoveCopy,
.album-toolbar #fp-print,
.album-toolbar #fp-email,
.album-toolbar #fp-save,
.album-toolbar #fp-export,
.album-toolbar #fp-untrash,
.album-toolbar #fp-trash,
.photo-toolbar #btnMoveCopy,
.photo-toolbar #fp-print,
.photo-toolbar #fp-email,
.photo-toolbar #fp-save,
.photo-toolbar #fp-export,
.photo-toolbar #fp-untrash,
.photo-toolbar #fp-trash {
  padding: 0.2rem 0.5rem;
  margin: 0;
  min-width: 2rem;
  flex: 1;
}

.photo-toolbar {
  margin-top: 0.5rem;
}

/* Overlay plein écran “pseudo-fullscreen” */
#fp-diapo-overlay[aria-hidden=false] {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9990;
}

/* Barre de contrôle collée en bas, large touch targets */
#fp-diapo-controls {
  position: fixed;
  left: env(safe-area-inset-left, 0);
  right: env(safe-area-inset-right, 0);
  bottom: env(safe-area-inset-bottom, 0);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom, 0));
  background: rgba(20, 20, 20, 0.9);
  color: #fff;
  z-index: 9991;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}

#fp-diapo-controls button,
#fp-diapo-controls select {
  min-width: 44px;
  min-height: 44px;
  font-size: 16px;
  border-radius: 0.5rem;
  border: none;
  background: #2f2f2f;
  color: #fff;
  padding: 0.4rem 0.6rem;
}

#fp-diapo-controls button:active {
  transform: translateY(1px);
}

#fp-diapo-controls .flex-gap {
  flex: 1 1 auto;
}

#fp-diapo-controls .diapo-field {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

#fp-diapo-controls .diapo-field.chk {
  gap: 0.35rem;
}

/* Spinner centré */
#diapo-spinner {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%);
  border: 4px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: diapo-spin 0.9s linear infinite;
  display: none;
  z-index: 9991;
}

#fp-diapo-overlay.loading #diapo-spinner {
  display: block;
}

@keyframes diapo-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
/* Quand le diapo est actif, on force l’image à occuper la zone */
.diaporama-on #fp-split .fp-right img {
  max-width: 100vw;
  max-height: calc(100vh - 64px);
  -o-object-fit: contain;
     object-fit: contain;
}

button#btn-diaporama.btn-diapo {
  padding: 0.15rem 0.8rem !important;
  display: inline-flex; /* met l’icône et le texte sur une même ligne */
  align-items: center; /* centre verticalement les deux */
  gap: 0.2em; /* petit espace entre l’icône et le texte */
}
button#btn-diaporama.btn-diapo svg {
  vertical-align: middle; /* aligne avec le texte */
  position: relative;
  top: -1px; /* descend un peu */
}

/* styles succincts pour .dlg-note */
dialog .dlg-note {
  margin: 0.5rem 0 0;
  padding: 0.45rem 0.6rem;
  border-radius: 0.4rem;
  font-weight: 600;
}

dialog .dlg-note[data-type=success] {
  background: #e7f6e9;
  color: #246c2c;
}

dialog .dlg-note[data-type=error] {
  background: #fde8e8;
  color: #a11414;
}

dialog .dlg-note[data-type=info],
dialog .dlg-note:not([data-type]) {
  background: #eef4ff;
  color: #1f3b82;
}

/* =========================================================
   _slideshow.scss — Fonds Photos (overlay diaporama)
   Dépendances DOM attendues :
     #fp-slideshow-overlay
       .fp-ss-stage
         #fp-ss-a
         #fp-ss-b
         .fp-ss-toolbar (optionnel : peut aussi être sibling direct)
   ========================================================= */
/* ---------- Variables ---------- */
/* ---------- Mixins ---------- */
/* ---------- Overlay & Stage ---------- */
#fp-slideshow-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  display: none;
  z-index: 9999;
}
#fp-slideshow-overlay[aria-hidden=false] {
  display: block;
}
#fp-slideshow-overlay .fp-ss-stage {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}
#fp-slideshow-overlay .fp-ss-stage.no-transition img {
  transition: none !important;
}

/* ---------- Images (pile A/B) ---------- */
#fp-ss-a,
#fp-ss-b {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 100vw;
  max-height: 100vh;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  opacity: 0;
  transition: opacity 0.6s ease;
  will-change: opacity, transform, filter;
  backface-visibility: hidden;
  pointer-events: none;
  z-index: 10000;
  opacity: 0;
  transition: opacity 600ms ease; /* pas de transform ici pour 'fade' */
}

#fp-ss-a.active,
#fp-ss-b.active {
  opacity: 1;
}

/* ---------- Transitions (classes ajoutées par JS) ---------- */
/* Base slide/zoom/bl ur : on ajoute transform/filter dans les enter/exit */
.fp-slide-enter,
.fp-slide-exit {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fp-zoom-enter,
.fp-zoom-exit {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fp-blur-enter,
.fp-blur-exit {
  transition: opacity 0.6s ease, filter 0.6s ease;
}

/* Slide directions (petit décalage pour éviter les gros sauts) */
.fp-slide-left-enter {
  transform: translate(-46%, -50%);
}

.fp-slide-left-exit {
  transform: translate(-54%, -50%);
  opacity: 0;
}

.fp-slide-right-enter {
  transform: translate(-54%, -50%);
}

.fp-slide-right-exit {
  transform: translate(-46%, -50%);
  opacity: 0;
}

.fp-slide-up-enter {
  transform: translate(-50%, -46%);
}

.fp-slide-up-exit {
  transform: translate(-50%, -54%);
  opacity: 0;
}

.fp-slide-down-enter {
  transform: translate(-50%, -54%);
}

.fp-slide-down-exit {
  transform: translate(-50%, -46%);
  opacity: 0;
}

/* Zooms */
.fp-zoom-in-enter {
  transform: translate(-50%, -50%) scale(1.03);
}

.fp-zoom-in-exit {
  opacity: 0;
}

.fp-zoom-out-enter {
  transform: translate(-50%, -50%) scale(0.97);
}

.fp-zoom-out-exit {
  opacity: 0;
}

/* Blur + fade */
.fp-blur-enter {
  filter: blur(3px);
}

.fp-blur-exit {
  filter: blur(0);
  opacity: 0;
}

#fp-ss-a.active.fp-blur-enter,
#fp-ss-b.active.fp-blur-enter {
  filter: blur(0);
}

/* Ken Burns (animation lente appliquée à l’image ACTIVE) */
@keyframes fp-kb {
  from {
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    transform: translate(-50%, -50%) scale(1.06);
  }
}
.fp-kb {
  animation-name: fp-kb;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
  animation-duration: var(--kb-dur, 6000ms);
}

/* ---------- Toolbar translucide ---------- */
#fp-slideshow-overlay .fp-ss-toolbar {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 10010;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.875rem;
  border-radius: 0.875rem;
  background: rgba(20, 20, 20, 0.35);
  color: #fff;
  backdrop-filter: blur(6px) saturate(1.4);
  -webkit-backdrop-filter: blur(6px) saturate(1.4);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  font: 500 0.8125rem/1.2 system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  pointer-events: auto;
}
#fp-slideshow-overlay .fp-ss-toolbar button {
  border: 0;
  outline: none;
  padding: 0;
  background: none;
  padding: 0.375rem 0.625rem;
  border-radius: 0.625rem;
  background: rgba(255, 255, 255, 0.15);
  color: inherit;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  text-align: center;
}
#fp-slideshow-overlay .fp-ss-toolbar select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.4rem;
  padding: 0.3rem 1.8rem 0.3rem 0.6rem;
  font-size: 0.9rem;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
#fp-slideshow-overlay .fp-ss-toolbar select option {
  text-align: center;
  color: var(--color);
}
#fp-slideshow-overlay .fp-ss-toolbar button:hover,
#fp-slideshow-overlay .fp-ss-toolbar select:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}
#fp-slideshow-overlay .fp-ss-toolbar button:active {
  transform: translateY(1px);
  background: rgba(255, 255, 255, 0.35);
}
#fp-slideshow-overlay .fp-ss-toolbar .fp-ss-counter {
  margin-left: 0.375rem;
  opacity: 0.85;
}

/* ---------- Accessibilité & robustesse ---------- */
@media (prefers-reduced-motion: reduce) {
  #fp-ss-a,
  #fp-ss-b,
  .fp-slide-enter,
  .fp-slide-exit,
  .fp-zoom-enter,
  .fp-zoom-exit,
  .fp-blur-enter,
  .fp-blur-exit,
  .fp-kb {
    transition: none !important;
    animation: none !important;
  }
}
/* ---------- Option : toolbar 'fixed' (hors .fp-ss-stage)
   Décommentez pour l’avoir toujours visible, même si la scène scrolle (rare)
#fp-slideshow-overlay .fp-ss-toolbar {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
}
*/
/* ---------- Petites tailles d'écran ---------- */
@media (max-width: 480px) {
  #fp-slideshow-overlay .fp-ss-toolbar {
    gap: 0.5rem;
    padding: 0.375rem 0.625rem;
    border-radius: 0.75rem;
  }
  #fp-slideshow-overlay .fp-ss-toolbar .fp-ss-counter {
    display: none;
  }
}
/* Neutralisation des transitions en mode "none" */
.fp-ss-stage.no-transition * {
  transition: none !important;
  animation: none !important;
}

/* (optionnel mais recommandé) : stage propre pour éviter les sauts */
.fp-ss-stage {
  position: relative;
  overflow: hidden;
}

.fp-ss-stage > img.fp-ss-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

#fp-slideshow-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: none;
}

.glide__slide img {
  width: 100%;
  height: 100vh;
  -o-object-fit: contain;
     object-fit: contain;
}

.glide__arrows {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 2rem;
}

.glide__arrow {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 0.3rem 0.8rem;
  border-radius: 0.3rem;
  cursor: pointer;
  transition: background 0.3s;
}

.glide__arrow:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* Toolbar overlay */
.fp-glide-toolbar {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.8rem;
  background: rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  color: #fff;
  border-radius: 10px;
  z-index: 10010;
  font-size: 0.95rem;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

/* Boutons */
.fpgt-btn {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  cursor: pointer;
}

.fpgt-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Champs */
.fpgt-field {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.fpgt-field select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  padding: 0.25rem 1.6rem 0.25rem 0.5rem;
  line-height: 1.3;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg fill='white' xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 7l4.5 4 4.5-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.45rem center;
  background-size: 0.8rem;
}

.fpgt-field select:hover {
  background-color: rgba(255, 255, 255, 0.18);
}

/* Compteur */
.fpgt-counter {
  min-width: 4.2rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
  opacity: 0.9;
}

/* Responsive : si écran étroit, passe la barre en deux lignes */
@media (max-width: 640px) {
  .fp-glide-toolbar {
    flex-wrap: wrap;
    row-gap: 0.4rem;
  }
}
/* --- Selects translucides dans la toolbar --- */
/* Base des selects translucides */
#fpg-speed,
#fpg-dir {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 0.35rem 1.8rem 0.35rem 0.6rem;
  font-size: 0.9rem;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease;
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  background-image: url("data:image/svg+xml,%3Csvg fill='white' xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 7l4.5 4 4.5-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 0.8rem;
}

/* Hover & focus */
#fpg-speed:hover,
#fpg-dir:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

#fpg-speed:focus,
#fpg-dir:focus {
  outline: none;
  border-color: #fff;
  background-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
}

/* Options semi-transparentes (Firefox, Chrome récents) */
#fpg-speed option,
#fpg-dir option {
  background-color: rgba(30, 30, 30, 0.75) !important;
  color: #fff;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

/* Effet “verre dépoli” sur la liste déroulante (Chrome/Edge) */
select:focus-visible {
  background-color: rgba(255, 255, 255, 0.22);
}

/* Pour Safari (qui ignore backdrop sur options) → fallback plus sombre */
@supports not ((-webkit-backdrop-filter: blur(4px)) or (backdrop-filter: blur(4px))) {
  #fpg-speed option,
  #fpg-dir option {
    background-color: rgba(20, 20, 20, 0.9);
  }
}
/*	/assets/scss/base/_forms.scss		*/
/*	/assets/scss/pages/_trombinoscope.scss	*/
/* Style commun pour les sections centrées */
.largeurTrombinoscope {
  width: 40%;
  min-width: 500px;
  margin: 0 auto;
  text-align: center;
}
@media screen and (max-width: 450px) {
  .largeurTrombinoscope {
    min-width: 100%;
  }
}

h2.trombinoscope,
h3.trombinoscope {
  margin: 2rem auto 1rem auto !important;
}

img.photo {
  flex: 0;
  border-radius: 50%;
  box-shadow: 0.3rem 0.3rem 0.3rem rgba(0, 0, 0, 0.5);
}

.trombinoscope {
  display: flex;
  justify-content: center;
}
.trombinoscope.fondateurs, .trombinoscope.anciens-presidents, .trombinoscope.decedes {
  flex-direction: row;
  -moz-column-gap: 1rem;
       column-gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.trombinoscope.fondateurs .member, .trombinoscope.anciens-presidents .member, .trombinoscope.decedes .member {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 0.7rem;
  width: 105px;
  margin-bottom: 0rem;
}
.trombinoscope.fondateurs .member div, .trombinoscope.anciens-presidents .member div, .trombinoscope.decedes .member div {
  text-align: center;
}
.trombinoscope.conseil-administration {
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
}
.trombinoscope.conseil-administration .member-ca {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  width: 75%;
}
.trombinoscope.conseil-administration .member-ca.president {
  background: var(--containerBg);
}
.trombinoscope.conseil-administration .member-ca .info {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: auto;
}
.trombinoscope.conseil-administration .member-ca .info em {
  margin-top: 0.25rem;
  font-size: 120%;
}
.trombinoscope.conseil-administration .member-ca img.photo {
  flex: 0;
}

/*	/assets/scss/base/_forms.scss		*/
/*	/assets/scss/pages/_sobriquets.scss	*/
/* SOBRIQUETS */
.tblsobriquets {
  margin: 0 auto;
  margin-top: 0%;
  border: 1px solid var(--border);
  border-collapse: separate; /* Crée de l'espace entre les bordures des cellules */
  border-spacing: 0; /* Espacement entre les cellules */
}
.tblsobriquets thead {
  position: sticky;
  top: -1rem;
  z-index: 2;
  background-color: var(--disabled);
}
.tblsobriquets thead th {
  text-align: center;
  font-style: italic;
  padding: 4px 1rem;
  border: 1px solid var(--border);
  background-clip: padding-box;
}
.tblsobriquets thead th > a {
  display: inline-flex; /* le plus robuste */
  align-items: center;
  white-space: nowrap; /* pas de retour à la ligne */
}
.tblsobriquets tbody tr {
  transition: background-color 0.3s ease;
}
.tblsobriquets tbody tr:hover {
  background-color: var(--containerBg);
}
.tblsobriquets tbody td {
  text-align: center;
  padding-left: 5px;
  padding-right: 5px;
  border: 1px solid var(--border);
}

#sobr,
#nom,
#details,
#origine {
  font-family: "Lato";
  font-size: 1rem;
}

/* saisie sobriquets */
/* Alignement général du formulaire */
form#sobriquets-saisie {
  max-width: 800px;
  margin: 0 auto; /* Centrer le formulaire */
  padding: 1rem 1rem 0.5rem 1rem;
  background-color: var(--colorBg);
  /* Conteneur de chaque ligne */
}
form#sobriquets-saisie .form-row {
  display: flex;
  align-items: flex-start; /* Aligne verticalement les éléments */
  margin-bottom: 0.4rem;
  /* Style des labels */
  /* Style des inputs et textarea */
}
form#sobriquets-saisie .form-row label {
  width: 150px; /* Largeur fixe des labels */
  font-weight: bold;
  text-align: right; /* Alignement des labels à droite */
}
form#sobriquets-saisie .form-row input[type=text],
form#sobriquets-saisie .form-row textarea {
  display: block;
  flex: 1; /* L'élément prend la largeur restante */
  padding: 0.2rem 0.5rem;
  font-size: 1rem;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
}
form#sobriquets-saisie .form-row .bouton {
  padding: 0.2rem 1rem;
  font-size: 1rem;
  flex: 1;
}

/* Responsivité pour les mobiles verticaux (max-width: 600px) */
@media screen and (max-width: 850px) {
  form#sobriquets-saisie {
    padding: 1rem 0rem 0.5rem 0rem;
  }
  .tblsobriquets thead {
    position: sticky;
    top: -0.6rem;
    z-index: 2;
  }
}
/* Responsivité pour les mobiles verticaux (max-width: 600px) */
@media screen and (max-width: 600px) {
  .tblsobriquets {
    width: 100%;
    max-width: 100%;
    font-size: clamp(0.45rem, 1.8vw, 1.2rem);
  }
  .tblsobriquets thead {
    position: sticky;
    top: 0.2rem;
    z-index: 2;
  }
  .tblsobriquets th.col-sobriquet,
  .tblsobriquets td.col-sobriquet {
    text-align: center;
    padding: 2px !important;
    border: 1px solid var(--border);
    white-space: normal;
    font-size: clamp(0.7rem, 2vw, 1.2rem);
  }
  .tblsobriquets th.col-sobriquet {
    padding: 2px 15px;
  }
  .tblsobriquets th.col-famille,
  .tblsobriquets td.col-famille,
  .tblsobriquets th.col-details,
  .tblsobriquets td.col-details,
  .tblsobriquets th.col-origine,
  .tblsobriquets td.col-origine {
    text-align: center;
    padding: 2px;
    border: 1px solid var(--border);
    white-space: normal;
    font-size: clamp(0.55rem, 2vw, 1.2rem);
  }
  .tblsobriquets th.col-num,
  .tblsobriquets td.col-num {
    margin: 0;
    padding: 2px;
    font-size: clamp(0.3rem, 1.8vw, 1.2rem);
    text-align: center;
  }
  .tblsobriquets th.col-icone,
  .tblsobriquets td.col-icone {
    margin: 0;
    padding: 2px 3px;
    font-size: clamp(0.8rem, 2vw, 1.2rem);
  }
  /* Ajustements pour les labels et les champs */
  .form-row {
    display: flex;
    flex-direction: column; /* Mettre les éléments sur une seule colonne */
  }
  form#sobriquets-saisie {
    padding: 1rem 0rem 0.5rem 0rem;
  }
  form#sobriquets-saisie label {
    display: none;
  }
  form#sobriquets-saisie input[type=text],
  form#sobriquets-saisie textarea {
    width: 100%; /* Assure que les champs prennent toute la largeur de l'écran */
    padding: 0.2rem 0.5rem; /* Augmentation du padding pour un meilleur confort de saisie */
  }
  form#sobriquets-saisie button {
    margin: 0 auto;
  }
}
/*	/assets/scss/base/_forms.scss		*/
/*	/assets/scss/pages/_saisieguard.scss	*/
/* le conteneur sert de repère au positionnement absolu */
#iciLaPage {
  position: relative;
  /* pour éviter que l’italique du h1 ne se fasse “manger” par le bouton si très long,
      tu peux ajouter un peu de padding à droite si besoin */
}

.log {
  position: absolute;
  top: 0.7rem;
  right: 0.5rem;
}
.log button {
  padding: 0.2rem 1rem;
}

#saisie-popup {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: var(--colorBg); /* fond opaque */
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  padding: 1rem 1.2rem;
  max-width: 400px;
  z-index: 10000;
  box-shadow: 0.3rem 0.3rem 0.3rem rgba(0, 0, 0, 0.5);
}

#saisie-guard-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
#saisie-guard-form .form-row {
  display: grid;
  grid-template-columns: 130px 1fr; /* label à gauche, champ à droite */
  align-items: center;
  gap: 0.5rem;
}
#saisie-guard-form label {
  font-weight: bold;
  text-align: right;
}
#saisie-guard-form input[type=text],
#saisie-guard-form input[type=password] {
  padding: 0.2rem 0.5rem;
  border: 1px solid #aaa;
  border-radius: 0.6rem;
  width: 100%;
}
#saisie-guard-form div.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  width: 100%;
}
#saisie-guard-form div.form-actions button.bouton[type=button] {
  flex: 0;
  padding: 2px 1.25rem;
}
#saisie-guard-form div.form-actions button.bouton[type=submit] {
  flex: 1 1 auto;
  padding: 2px 1.25rem;
}
#saisie-guard-form .error {
  color: #a00;
  display: block;
  margin-top: 0.5rem;
}

/* responsive : sous 680px, on le remet dans le flux sous le h1, aligné à droite */
@media (max-width: 680px) {
  #saisie-guard,
  [data-saisie-guard] {
    position: static;
    display: flex;
    justify-content: flex-end;
    margin: 0.25rem 0 1rem;
    top: auto;
    right: auto;
  }
}
/*	/assets/scss/base/_forms.scss		*/
/* /assets/pages/_vieuxcommerces.scss */
/* ====================================
	Vieux commerces RECHERCHE
  	================================= */
p.resultat {
  padding: 0.2rem 0;
  margin: 0;
}

p.nota {
  font-size: 0.9rem;
}

summary {
  padding-top: 0.2rem;
  font-size: 0.9rem;
}

td:empty::before {
  content: "";
}

/* Appliquer à thead pour le rendre sticky */
table.VC-responsive-table thead {
  position: sticky;
  top: -22px; /* la position top: 0; positionne juste sous l'ombre de menuHorizontal ! */
  z-index: 1; /* Positionner thead sous le menu */
  background-color: var(--disabled); /*var(--containerBg);*/
  width: 100%;
  /* Bordures des lignes et cellules de thead */
}
table.VC-responsive-table thead th {
  text-align: center;
}
@media (max-width: 800px) {
  table.VC-responsive-table thead th {
    padding: 0.2rem;
  }
}
table.VC-responsive-table thead th .header-tri {
  display: flex; /* Utiliser Flexbox mais uniquement dans ce conteneur */
  align-items: center; /* Centrer verticalement le texte et l'image */
  justify-content: center; /* Aligner les éléments à gauche */
}
table.VC-responsive-table thead th .header-tri img {
  margin-left: 0.5rem;
}
table.VC-responsive-table thead th[data-label=Panneau] {
  display: none;
}
@media screen and (max-width: 800px) {
  table.VC-responsive-table thead {
    top: -0.8rem;
  }
}
table.VC-responsive-table tbody td[data-label=Id] {
  font-size: 0.7rem;
  text-align: center;
  padding: 0;
}
table.VC-responsive-table tbody td[data-label=Panneau] {
  display: none;
}
table.VC-responsive-table tbody td {
  padding: 0.2rem;
}

/* ==== FORMULAIRE RECHERCHE VC ==== */
form.rechercheVC {
  width: 100%;
  max-width: 100%;
  padding: 1rem 0;
}
form.rechercheVC fieldset {
  width: 100%;
  max-width: 100%;
  padding: 0 0.5rem 0.3rem 0.8rem;
  border: 1px solid #333;
  border-radius: 0.6rem;
  /* ==== RESPONSIVE MOBILE landscape ==== */
  /* ==== RESPONSIVE MOBILE portrait ==== */
}
form.rechercheVC fieldset legend {
  padding: 0.2rem 0.5rem;
  border: 0px solid #666;
}
form.rechercheVC fieldset div.vc-nav {
  margin-bottom: 0.5rem;
}
form.rechercheVC fieldset .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border: 0px dashed blue;
}
form.rechercheVC fieldset .container .left {
  flex: 1 1 60%;
  display: flex;
  flex-direction: column;
  border: 0px dashed red;
}
form.rechercheVC fieldset .container .left .left-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 0px dotted green;
}
form.rechercheVC fieldset .container .left .left-top .input-line {
  flex: 1;
  display: flex;
  align-items: center;
}
form.rechercheVC fieldset .container .left .left-top .input-line label {
  margin-right: 0.5rem;
  white-space: nowrap;
}
form.rechercheVC fieldset .container .left .left-top .input-line input[type=text],
form.rechercheVC fieldset .container .left .left-top .input-line input[type=text]#lieu {
  flex: 1;
  min-width: 0;
  padding: 0.2rem 0.3rem;
  background-color: var(--containerBg) !important;
}
form.rechercheVC fieldset .container .left .left-top .button-line {
  flex: 0 0 auto;
  display: flex;
  gap: 0.5rem;
}
form.rechercheVC fieldset .container .left .left-top .button-line button {
  flex: 0 0 auto;
  padding: 0.2rem 1rem;
}
form.rechercheVC fieldset .container .left .left-bottom {
  padding-top: 0.2rem;
  border: 0px dotted green;
}
form.rechercheVC fieldset .container .left .left-bottom .label-container {
  width: 100%;
  white-space: nowrap;
  text-align: left;
  margin-bottom: 0.3rem;
  border: 0px solid purple;
}
form.rechercheVC fieldset .container .left .left-bottom .label-container label {
  margin: 0;
}
form.rechercheVC fieldset .container .left .left-bottom .radio-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  border: 0px solid green;
}
form.rechercheVC fieldset .container .left .left-bottom .radio-container div.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 0px dashed green;
}
form.rechercheVC fieldset .container .left .left-bottom .radio-container div.radio-label input[type=radio] {
  margin: 0;
}
form.rechercheVC fieldset .container .left .left-bottom .radio-container div.radio-label label {
  white-space: nowrap;
}
form.rechercheVC fieldset .container .right {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  padding: 0 0.5rem 0 1rem;
  border: 0px dashed red;
}
form.rechercheVC fieldset .container .right .right-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  margin: -0.5rem 0 0.3rem 0;
  border: 0px dotted green;
}
form.rechercheVC fieldset .container .right .right-bottom {
  display: flex;
  flex-direction: column;
  border: 0px dotted green;
}
form.rechercheVC fieldset .container .right .right-bottom div.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 0px dashed green;
}
form.rechercheVC fieldset .container .right .right-bottom div.radio-label input[type=radio] {
  margin: 0;
}
form.rechercheVC fieldset .container .right .right-bottom div.radio-label label {
  white-space: nowrap;
}
@media screen and (max-width: 768px) {
  form.rechercheVC fieldset .container {
    flex-direction: column;
    /* LEFT-BOTTOM radios : boutons en ligne, labels en dessous */
    /* RIGHT-BOTTOM reste horizontal */
  }
  form.rechercheVC fieldset .container .left,
  form.rechercheVC fieldset .container .right {
    flex: 1 1 100%;
  }
  form.rechercheVC fieldset .container .left-top {
    display: flex;
    flex-direction: row;
    gap: 0.3rem;
    width: 100%;
  }
  form.rechercheVC fieldset .container .left-top .input-line {
    flex: 1 1 auto;
    display: flex;
    gap: 0.3rem;
    border: 0px solid red;
  }
  form.rechercheVC fieldset .container .left-top .input-line label {
    flex: 0 0 auto;
  }
  form.rechercheVC fieldset .container .left-top .input-line input[type=text]#lieu,
  form.rechercheVC fieldset .container .left-top .input-line input[type=text] {
    flex: 1 1 auto;
    min-width: 0;
    background-color: var(--containerBg) !important;
  }
  form.rechercheVC fieldset .container .left-top .button-line {
    flex: 0 0 auto;
    width: 180px;
    display: inline-flex;
    gap: 0.3rem;
    border: 0px solid red;
  }
  form.rechercheVC fieldset .container .left-top .button-line button {
    flex: 0 0 auto;
    padding: 0.2rem 0.5rem;
    width: auto;
  }
  form.rechercheVC fieldset .container .left-bottom .label-container {
    margin: 0 0 0.1rem 0;
  }
  form.rechercheVC fieldset .container .left-bottom .radio-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    flex-direction: row;
    margin-bottom: 0.2rem;
    margin-left: 0.5rem;
  }
  form.rechercheVC fieldset .container .left-bottom .radio-container div.radio-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    flex: 0 0 auto;
    width: 9rem;
  }
  form.rechercheVC fieldset .container .left-bottom .radio-container div.radio-label input[type=radio] {
    margin: 0rem;
    padding: 0;
  }
  form.rechercheVC fieldset .container .left-bottom .radio-container div.radio-label label {
    display: block;
    text-align: center;
    white-space: normal;
    max-width: 100%;
    margin: -0.7rem 0 0 0;
    padding: 0;
  }
  form.rechercheVC fieldset .container .right {
    display: flex;
    flex-direction: column;
    flex: 1 1 100%;
    padding: 0;
    border: 0px dashed red;
  }
  form.rechercheVC fieldset .container .right .right-top {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
    margin-bottom: 0rem;
    border: 0px dotted green;
    margin: 0 0 0.2rem 0.5rem;
  }
  form.rechercheVC fieldset .container .right .right-top label {
    margin: 0;
  }
  form.rechercheVC fieldset .container .right .right-bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: nowrap;
    width: 100%;
  }
  form.rechercheVC fieldset .container .right .right-bottom div.radio-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    flex: 0 1 auto;
    min-width: 6rem;
    max-width: 9rem;
  }
  form.rechercheVC fieldset .container .right .right-bottom div.radio-label input[type=radio] {
    margin-bottom: 0rem;
  }
  form.rechercheVC fieldset .container .right .right-bottom div.radio-label label {
    display: block;
    text-align: center;
    white-space: normal;
    margin: -0.7rem 0 0 0;
  }
}
@media screen and (max-width: 500px) {
  form.rechercheVC fieldset .container {
    flex-direction: column;
  }
  form.rechercheVC fieldset .container .left,
  form.rechercheVC fieldset .container .right {
    flex: 1 1 100%;
  }
  form.rechercheVC fieldset .container .left-top {
    display: flex;
    flex-direction: column;
    gap: 0.01rem;
    width: 100%;
    margin: 0;
    padding: 0;
    /* LEFT-BOTTOM radios : boutons en ligne, labels en dessous */
    /* RIGHT-BOTTOM reste horizontal comme avant */
  }
  form.rechercheVC fieldset .container .left-top .input-line {
    display: flex;
    flex-direction: row;
    gap: 0.3rem;
    width: 100%;
  }
  form.rechercheVC fieldset .container .left-top .input-line label {
    flex: 0 0 auto;
    margin: 0;
  }
  form.rechercheVC fieldset .container .left-top .input-line input[type=text]#lieu,
  form.rechercheVC fieldset .container .left-top .input-line input[type=text] {
    flex: 1 1 auto;
    background-color: var(--containerBg) !important;
  }
  form.rechercheVC fieldset .container .left-top .button-line {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
  }
  form.rechercheVC fieldset .container .left-top .button-line button {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.2rem 2rem !important;
  }
  form.rechercheVC fieldset .container .left-top .left-bottom .label-container {
    margin: 0 !important;
  }
  form.rechercheVC fieldset .container .left-top .left-bottom .radio-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    flex-direction: row;
  }
  form.rechercheVC fieldset .container .left-top .left-bottom .radio-container div.radio-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    flex: 0 0 auto;
    width: 9rem;
  }
  form.rechercheVC fieldset .container .left-top .left-bottom .radio-container div.radio-label input[type=radio] {
    margin: 0rem;
    padding: 0;
  }
  form.rechercheVC fieldset .container .left-top .left-bottom .radio-container div.radio-label label {
    display: block;
    text-align: center;
    white-space: normal;
    max-width: 100%;
    margin: -0.7rem 0 0 0;
    padding: 0;
  }
  form.rechercheVC fieldset .container .left-top .right {
    display: flex;
    flex-direction: column;
    flex: 1 1 100%;
    padding: 0;
    border: 0px dashed red;
  }
  form.rechercheVC fieldset .container .left-top .right .right-top {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
    margin-bottom: 0rem;
    border: 0px dotted green;
  }
  form.rechercheVC fieldset .container .left-top .right .right-bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: nowrap;
    width: 100%;
  }
  form.rechercheVC fieldset .container .left-top .right .right-bottom div.radio-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    flex: 0 1 auto;
    min-width: 6rem;
    max-width: 9rem;
  }
  form.rechercheVC fieldset .container .left-top .right .right-bottom div.radio-label input[type=radio] {
    margin-bottom: 0rem;
  }
  form.rechercheVC fieldset .container .left-top .right .right-bottom div.radio-label label {
    display: block;
    text-align: center;
    white-space: normal;
    margin: -0.7rem 0 0 0;
  }
}

/* ==============================================
   Expo - Vieux commerces
   ============================================ */
.nav-button {
  padding: 0.2rem 1rem;
}

p.first {
  margin-top: 2rem;
}

/* Conteneur qui contient les floats sans clearfix fragiles */
#vc-root {
  display: flow-root;
}

/* Colonne gauche : largeur fixe + float */
.vc-panneau-image {
  float: left;
  width: 22rem; /* ta largeur fixe */
  margin: 0 1.25rem 1rem 0; /* espace à droite et en bas */
}

/* Colonne droite (détails) : s’aligne en haut, à droite du float */
.vc-panneau-details {
  border: 6px ridge var(--border);
  background: var(--containerBg);
  padding: 0.5em 1em 1em 2em;
  box-shadow: var(--boxShadow, none);
}

/* Barre de navigation sous l’image */
.vc-nav {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
  justify-content: space-between;
}
.vc-nav button {
  white-space: nowrap;
}

/* Le texte + la vidéo suivent naturellement :
   à droite du float, puis pleine largeur une fois sous le bas du float */
.vc-rest p {
  margin: 0 0 0.8rem;
}

/* YouTube responsive et sans débordement */
.video-wrapper {
  max-width: 600px;
}

.video-wrapper .youTube {
  width: 100%;
  height: min(56.25vw, 450px);
}

/* Sécurité anti-scroll horizontal */
#vc-root img,
#vc-root table,
#vc-root iframe {
  max-width: 100%;
}

/* BREAKPOINT : en empilement vertical (mobile/petit paysage) */
@media screen and (max-width: 450px) {
  .vc-panneau-image {
    float: none;
    width: 100%;
    margin: 0 0 0.75rem 0;
  }
  .vc-panneau-details {
    width: 100%;
    margin-top: 0.5rem;
  }
  p.first {
    margin-top: 1rem;
  }
}
/*	/assets/scss/base/_forms.scss		*/
/*	/assets/scss/debug/_err_php.scss	*/
table.xdebug-error {
  font-family: Consolas, monospace;
  font-size: 0.95rem;
  width: 100%;
  max-width: 90vw;
  margin: 1rem auto;
  border-collapse: collapse;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border: 2px solid #333;
  color: #000;
  background-color: #fff;
}

.xdebug-error tr:first-of-type {
  background-color: #ffc4c4;
  color: #000;
}
.xdebug-error tr:first-of-type span {
  font-size: 1.2rem;
  background-color: transparent;
  color: #000;
  margin-right: 0.5rem;
}
.xdebug-error tr:first-of-type i {
  font-style: italic;
  color: #000;
}

.xdebug-error tr:nth-of-type(2) {
  background-color: #ffe7ba;
  color: #000;
  font-weight: bold;
}

.xdebug-error tr:nth-of-type(3) th {
  background-color: #f8f8f8;
  color: #000;
  border: 1px solid #ccc;
  padding: 0.4rem 0.6rem;
}

.xdebug-error tr:nth-child(n+4) td {
  background-color: #fff;
  color: #000;
  border: 1px solid #ddd;
  padding: 0.4rem 0.6rem;
  font-size: 0.9rem;
}/*# sourceMappingURL=styles.css.map */