@charset "UTF-8";
@import url('joaktree.css');
/* =========================================================
   ANTANORES — user.css (cassiopeia_mon_cassiopeia)
   Dernière MAJ : 2026-08-17
   ========================================================= */


/* =========================================================
   BASE — Corps + fond site
   ========================================================= */

body { margin: 0; }

/* Fond par défaut (bleu) — toutes les pages */
.site {
  background: url("/images/textures/pastel_blue.webp") repeat;
  min-height: 100vh;
}

/* Fond médiathèque (itemid-1386) */
body.itemid-1386.site {
  background: repeating-linear-gradient(
    0deg,
    #6b1a2a,
    #6b1a2a 2px,
    #5a1522 2px,
    #5a1522 4px
  ) !important;
}

/* Zones internes transparentes */
.site-header,
.site-main,
.footer { background: transparent; }

/* Neutralisation cartes Bootstrap parasites */
.bottom-a.card,
.bottom-a.card .card-body {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}
.bottom-a.card .card-body { padding: 0 !important; }

footer.container-footer.footer.full-width {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}


/* =========================================================
   CHAMPS DE FORMULAIRE — lisibilité
   ========================================================= */

input[type="search"],
input[type="text"].form-control {
  color: #000 !important;
  background: #fff !important;
}

input::placeholder {
  color: #666 !important;
  opacity: 1;
}


/* =========================================================
   com_finder — Recherche
   ========================================================= */

.com-finder,
.com-finder * { color: #ff0 !important; }


/* =========================================================
   ARTICLES — Normalisation
   ========================================================= */

/* Suppression indentations Cassiopeia */
.com-content-article.item-page,
.com-content-article.item-page .container:not(.ant-sante),
.com-content-article.item-page .container-component,
.com-content-article.item-page .row {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

/* Centrage conteneur .ant-sante */
.com-content-article__body .ant-sante.container {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 900px !important;
}

/* Texte corps d'article */
.com-content-article__body :is(p, li) {
  font-family: Tahoma, Arial, sans-serif;
  font-size: 11pt;
  line-height: 1.45;
  margin-left: 0;
  padding-left: 1.2em;
  padding-right: 1.2em;
  text-indent: 0;
  text-align: justify;
  hyphens: none;
}

/* Titres articles */
.com-content-article__body :is(h1, h2, h3, h4, h5, h6) {
  text-align: center !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
  color: #ff0 !important;
}

/* h3 : Gabriola */
.com-content-article__body h3 {
  font-family: Gabriola, "Times New Roman", serif !important;
  font-weight: normal !important;
  font-size: 18pt;
  color: #ffff66;
  margin: 0;
}

/* Liens articles (par défaut : jaune) */
.com-content-article__body a {
  color: #ff0 !important;
  text-decoration: none !important;
}
.com-content-article__body a:hover {
  color: #fff !important;
  text-decoration: underline !important;
}

/* Navigation entre articles — suppression puces */
nav.pagenavigation ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }


/* =========================================================
   MENTIONS LÉGALES (itemid-146)
   ========================================================= */

body.itemid-146 .com-content-article__body,
body.itemid-146 .com-content-article__body p,
body.itemid-146 .com-content-article__body li,
body.itemid-146 .com-content-article__body strong {
  color: #f5e6c8 !important;
}

body.itemid-146 .com-content-article__body a {
  color: #f5e6c8 !important;
  text-decoration: underline !important;
}


/* =========================================================
   Kill switch indentation — itemid-1562
   ========================================================= */

body.itemid-1562 :is(
  .site-main,
  .site-main > *,
  .site-main .container,
  .site-main .container-fluid,
  .site-main .container-component,
  .site-main .row,
  .site-main .col,
  .site-main .col-12,
  .site-main .item-page,
  .site-main .com-content-article,
  .site-main .com-content-article__body
) {
  margin-left: 0 !important;
  padding-left: 0 !important;
}


/* =========================================================
   JOURNAL — Pages années (.ant-year)
   ========================================================= */

.ant-year {
  max-width: 900px;
  margin: 0 auto !important;
  padding: 0 !important;
}

.ant-year__title {
  font: bold 36pt Georgia, "Times New Roman", serif;
  color: #ff0;
  text-align: center;
  margin: 0 0 1.5rem 0;
}

.ant-month__title {
  font: bold 12pt Arial, Helvetica, sans-serif;
  color: #ff0;
  text-align: center;
  margin: 0 0 .6rem 0;
}

.ant-year p.ant-year__pitch {
  font: bold 12pt Tahoma, Arial, sans-serif !important;
  color: rgb(107, 194, 255) !important;
  margin: 0 0 2rem 0 !important;
  padding-left: 3em !important;
  text-indent: 0 !important;
}

/* Texte des pages journal — p, li ET texte nu dans .ant-month__content */
.ant-year :is(p, li) {
  color: #FFFFCC !important;
  font-family: Tahoma, Arial, sans-serif !important;
  font-size: 11pt !important;
  line-height: 1.55 !important;
}

/* Liens journal */
.ant-year a,
.ant-year a:visited { color: #ff0; text-decoration: none; }
.ant-year a:hover,
.ant-year a:focus { color: #fff; text-decoration: underline; }

/* Séparateur */
.ant-year .ant-sep {
  border: 0;
  position: relative;
  height: 1px;
  margin: 1.6rem 0;
  opacity: 1;
  background: linear-gradient(to right,
    transparent 0%,
    rgba(255,255,0,.35) 18%,
    rgba(255,255,0,.85) 50%,
    rgba(255,255,0,.35) 82%,
    transparent 100%
  );
  filter: drop-shadow(0 1px 0 rgba(0,0,0,.35));
}
.ant-year .ant-sep::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: rgba(255,255,0,.85);
  border-radius: 2px;
  box-shadow: 0 0 0 3px rgba(0,0,0,.12), 0 0 10px rgba(255,255,0,.20);
}


/* =========================================================
   FRISE TEMPORELLE (.ant-nav-years)
   ========================================================= */

.ant-nav-years {
  background: url('/images/textures/pastel_blue.gif') repeat;
  padding: 4px 12px;
}

.ant-nav-years__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  line-height: 1.2;
}

.ant-nav-years__inner a,
.ant-nav-years__inner .is-missing {
  font: bold 11pt Tahoma, Arial, sans-serif;
  text-decoration: none !important;
  display: inline-block;
  flex: 1 0 auto;
  text-align: center;
  min-width: 3em;
  max-width: 4em;
}

.ant-nav-years__inner a { color: #ff0; }
.ant-nav-years__inner a:hover { color: #fff; }
.ant-nav-years__inner .is-missing {
  color: #ffea70;
  opacity: .9;
  border-bottom: none !important;
}

.ant-nav-years__inner .ant-nav-years__sep {
  display: inline-block;
  flex: 0 0 auto;
  width: .3em;
  text-align: center;
  color: #ffff66;
  opacity: .4;
  font-weight: normal;
}

.ant-nav-years__inner strong { font-weight: 700; color: #fff; }
.ant-nav-years__inner em { font-style: italic; opacity: .8; }

@media (max-width: 768px) {
  .ant-nav-years { padding: 4px 6px; }
  .ant-nav-years__inner a,
  .ant-nav-years__inner .is-missing { font-size: 10pt; }
}

@media (max-width: 480px) {
  .ant-nav-years { padding: 4px; }
  .ant-nav-years__inner a,
  .ant-nav-years__inner .is-missing { font-size: 9.5pt; min-width: 2.7em; }
}


/* =========================================================
   SANTÉ — Wrapper général
   ========================================================= */

.ant-sante {
  background: url("/images/textures/stripe02_darkgreen.gif") repeat;
  max-width: 900px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 2rem 2rem;
  text-align: center;
  color: #FFFFCC;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 11pt;
  line-height: 1.45;
}

/* Titre de section (div.sante-title) */
.ant-sante .sante-title {
  font-family: Gabriola, "Times New Roman", serif;
  font-size: 34px;
  font-weight: normal;
  color: #ffff66;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-shadow:
    0 1px 0 rgba(0,0,0,.55),
    0 2px 2px rgba(0,0,0,.55);
  margin: 0 0 1.2rem 0;
}

/* Texte courant santé — p, li ET texte nu dans le div */
.ant-sante,
.ant-sante :is(p, li) {
  color: #FFFFCC !important;
  font-family: Tahoma, Arial, sans-serif !important;
  font-size: 11pt !important;
  line-height: 1.45 !important;
  text-align: justify;
}

/* Indentation du texte */
.ant-sante p,
.ant-sante li {
  padding-left: 1.5em;
  padding-right: 1.5em;
  margin-top: .5em;
  margin-bottom: .5em;
}

/* Liens santé — visibles, dotted */
.ant-sante a,
.ant-sante a:link,
.ant-sante a:visited {
  color: #f0c060 !important;
  text-decoration: underline !important;
  text-decoration-style: dotted !important;
}
.ant-sante a:hover,
.ant-sante a:focus {
  color: #ffffff !important;
  text-decoration: underline !important;
}

/* Historique — texte agrandi */
.ant-sante.sante-historique,
.ant-sante.sante-historique :is(p, li) {
  font-size: 11pt !important;
  line-height: 1.55 !important;
}


/* =========================================================
   SANTÉ — Boutons navigation
   ========================================================= */

.ant-sante-navbtns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1rem 0 1.2rem;
}

.ant-sante-navbtns .ant-sante-btn {
  display: inline-block;
  background: linear-gradient(to bottom, #2f6b57, #1f4f41);
  border: 1px solid #14362d;
  color: #FFFFCC !important;
  font-family: Tahoma, Arial, sans-serif !important;
  font-size: 14px !important;
  padding: .35rem .75rem;
  border-radius: .7rem;
  text-decoration: none !important;
  box-shadow:
    0 1px 0 #5fae93 inset,
    0 4px 0 #14362d,
    0 6px 8px rgba(0,0,0,.45);
}
.ant-sante-navbtns .ant-sante-btn:active { transform: translateY(3px); }

/* Bouton Accueil (bleu) */
.ant-sante-btn-home {
  background: linear-gradient(to bottom, #6bbcff 0%, #3f86c6 100%) !important;
  border: 1px solid #2f6ea8 !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow:
    0 1px 0 #bfe3ff inset,
    0 4px 0 #2f6ea8,
    0 6px 8px rgba(0,0,0,.45);
}
.ant-sante-btn-home:hover { filter: brightness(1.12); }
.ant-sante-btn-home:active {
  transform: translateY(3px);
  box-shadow:
    0 1px 0 #bfe3ff inset,
    0 1px 0 #2f6ea8,
    0 3px 4px rgba(0,0,0,.45);
}


/* =========================================================
   SANTÉ — Top mirror (bouton + titre)
   ========================================================= */

.ant-top-mirror {
  text-align: center;
  margin: 0 0 1rem 0;
}
.ant-top-mirror .ant-sante-btn { margin-bottom: .4rem; }
.ant-top-mirror .ant-sante-title {
  margin: 0;
  font-family: Gabriola, "Times New Roman", serif;
  font-size: 34px;
  font-weight: normal;
  color: #ffffcc;
  text-shadow:
    0 1px 0 #0b2f26,
    0 2px 2px rgba(0,0,0,.6);
}


/* =========================================================
   ONCOGÉNÈSE — Tableau frise
   ========================================================= */

.ant-sante.sante-oncogenese {
  max-width: 900px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.ant-sante.sante-oncogenese .onco-frise {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
}

.ant-sante.sante-oncogenese .onco-cell {
  border: 1px solid rgba(255,255,255,.35);
  padding: 8px;
  height: 220px;
  vertical-align: middle;
  text-align: center;
}

.ant-sante.sante-oncogenese .onco-cell.onco-yr {
  vertical-align: top;
  padding-top: 20px;
}

.ant-sante.sante-oncogenese .onco-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ant-sante.sante-oncogenese .onco-rem img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
}

.ant-sante.sante-oncogenese .onco-pill {
  padding: 0;
  background: none;
  margin-bottom: 6px;
}

.ant-sante.sante-oncogenese .onco-pill__img {
  display: block;
  height: 28px;
  width: auto;
  margin: 0 auto;
}

.ant-sante.sante-oncogenese .onco-title {
  font-size: 11pt;
  color: #ffffcc;
  margin: 4px 0;
}

.ant-sante.sante-oncogenese .onco-note {
  font-size: 11pt;
  color: #c8e8c8;
  margin: 3px 0;
  font-style: italic;
}

.ant-sante.sante-oncogenese .onco-links a {
  color: #ffffcc !important;
  text-decoration: underline !important;
  font-size: 11pt;
}

.ant-sante.sante-oncogenese .onco-links a:hover {
  color: #ffffff !important;
}

.ant-sante.sante-oncogenese .ant-top-mirror { margin: 0 0 .8rem 0; }

.ant-sante.sante-oncogenese .ant-top-mirror .ant-histo-btn {
  display: inline-block;
  margin: 0 0 .55rem 0;
  background: linear-gradient(to bottom, #2f6b57, #1f4f41);
  border: 1px solid #14362d;
  box-shadow:
    0 1px 0 #5fae93 inset,
    0 4px 0 #14362d,
    0 6px 8px rgba(0,0,0,.45);
  border-radius: .7rem;
  text-decoration: none !important;
  font-family: Tahoma, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #FFFFCC !important;
  padding: .25rem .65rem !important;
}
.ant-sante.sante-oncogenese .ant-top-mirror .ant-histo-btn:hover { filter: brightness(1.08); }
.ant-sante.sante-oncogenese .ant-top-mirror .ant-histo-btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #5fae93 inset, 0 1px 0 #14362d, 0 3px 4px rgba(0,0,0,.45);
}

.ant-sante.sante-oncogenese .ant-top-mirror .ant-sante-title {
  margin: 0;
  font-family: Gabriola, "Times New Roman", serif !important;
  font-size: 34px !important;
  font-weight: normal !important;
  color: #ffff66 !important;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none !important;
  text-shadow:
    0 1px 0 rgba(0,0,0,.55),
    0 2px 2px rgba(0,0,0,.55);
}


/* =========================================================
   ONCOGÉNÈSE — Responsive mobile
   ========================================================= */

@media (max-width: 600px) {

  .ant-sante.sante-oncogenese .onco-frise,
  .ant-sante.sante-oncogenese .onco-frise tbody,
  .ant-sante.sante-oncogenese .onco-frise tr {
    display: block;
    width: 100%;
  }

  .ant-sante.sante-oncogenese .onco-frise tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin-bottom: 4px;
  }

  .ant-sante.sante-oncogenese .onco-cell {
    height: auto;
    min-height: 120px;
    padding: 10px 6px;
    box-sizing: border-box;
  }

  .ant-sante.sante-oncogenese .onco-photo {
    grid-column: 1 / -1;
    height: auto;
    overflow: hidden;
  }

  .ant-sante.sante-oncogenese .onco-photo img {
    display: block;
    width: auto;
    max-width: 60%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    margin: 0 auto;
  }

  .ant-sante.sante-oncogenese .onco-rem {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .ant-sante.sante-oncogenese .onco-rem img {
    max-height: 80px;
    width: auto;
  }

  .ant-sante.sante-oncogenese .onco-empty { display: none; }
  .ant-sante.sante-oncogenese .onco-title { font-size: 11pt; }

  .ant-sante.sante-oncogenese .onco-note,
  .ant-sante.sante-oncogenese .onco-links a { font-size: 9pt; }

  .ant-sante.sante-oncogenese .ant-top-mirror .ant-sante-title {
    font-size: 24px !important;
  }
}


/* =========================================================
   IMAGERIE
   ========================================================= */

.ant-sante.sante-imagerie {
  background: repeating-linear-gradient(
    0deg,
    #1f6b63, #1f6b63 2px,
    #1a5f58 2px, #1a5f58 4px
  );
  padding: 1rem 0 2rem;
}

.ant-sante.sante-imagerie .ant-title {
  font-family: Gabriola, cursive;
  color: #ffff66;
  font-weight: normal;
}

.ant-sante.sante-imagerie table { background-color: #000; }

.ant-sante.sante-imagerie thead th {
  background-color: #1f7a1f !important;
  color: #ffffcc !important;
  font-family: Gabriola, "Segoe UI", Tahoma, Arial, sans-serif !important;
  font-size: 1.4rem;
  font-weight: normal;
  text-align: center;
  text-shadow: 0 1px 0 rgba(0,0,0,.6);
  border-color: #33cccc;
}

.ant-sante.sante-imagerie tbody td {
  color: #ffff99;
  font-family: Gabriola, "Segoe UI", Tahoma, Arial, sans-serif !important;
  font-size: 1.2rem;
  line-height: 1.35;
  border-color: #00b3b3;
  vertical-align: middle;
}

.ant-sante.sante-imagerie tbody td:first-child {
  text-align: center;
  white-space: nowrap;
}

.ant-sante.sante-imagerie tbody td a { color: #ffff99; }
.ant-sante.sante-imagerie tbody td a:hover { color: #ffffff; }

@media (max-width: 768px) {
  .ant-sante.sante-imagerie thead th { font-size: 1.1rem; }
  .ant-sante.sante-imagerie tbody td { font-size: 1.15rem; line-height: 1.4; }
}


/* =========================================================
   LIGHTBOX CSS (sans JS)
   ========================================================= */

.ant-lb { display: none; }
.ant-lb:target {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,.85);
  overflow: auto;
  padding: 18px 12px 28px;
}
.ant-lb__inner {
  max-width: 980px;
  margin: 0 auto;
}
.ant-lb__inner img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto 14px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,.55);
}
.ant-lb__close {
  position: fixed;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.92);
  color: #000;
  text-decoration: none;
  border-radius: 999px;
  font: 700 18px/1 Tahoma, Arial, sans-serif;
  box-shadow: 0 4px 14px rgba(0,0,0,.45);
}


/* =========================================================
   UI — Bouton retour en haut
   ========================================================= */

.ant-btn-top {
  position: fixed;
  bottom: 48px;
  left: calc(50% + 450px + 14px);
  z-index: 9999;
  padding: 6px;
  border-radius: 50%;
  background: rgba(0,0,0,.25);
}
.ant-btn-top:hover { transform: translateY(-2px); }


/* =========================================================
   NAV Santé — suppression coussin module TESTNAVSANTE
   ========================================================= */

.TESTNAVSANTE,
.TESTNAVSANTE > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.TESTNAVSANTE + * { margin-top: 0 !important; }


/* =========================================================
   BOUTON MODIFIER (front-end)
   ========================================================= */

a[href*="task=article.edit"],
a[href*="task=edit"] {
  color: #bfa100 !important;
  background: rgba(255,255,0,.08);
  padding: 4px 8px;
  border-radius: 4px;
  text-decoration: none;
  font-size: .9rem;
}
a[href*="task=article.edit"] span,
a[href*="task=edit"] span { color: #bfa100 !important; }
a[href*="task=article.edit"]:hover,
a[href*="task=edit"]:hover {
  color: #000 !important;
  background: #e0e0e0;
}
body div#antcardsNotes { color: #f5e6c8 !important; }


/* =========================================================
   JCE / TINYMCE — Neutralisation couleurs dans l'éditeur
   ========================================================= */

body.mceContentBody {
  background: #fdf6e3 !important;
}
body.mceContentBody .ant-year__title,
body.mceContentBody .ant-month__title,
body.mceContentBody h1, body.mceContentBody h2,
body.mceContentBody h3, body.mceContentBody h4,
body.mceContentBody h5, body.mceContentBody h6 {
  color: #7a5c00 !important;
  background: transparent !important;
}
body.mceContentBody p,
body.mceContentBody li,
body.mceContentBody .ant-year p,
body.mceContentBody .ant-year li {
  color: #3d2b1f !important;
  background: transparent !important;
}
body.mceContentBody a,
body.mceContentBody .ant-year a {
  color: #2c4a6e !important;
}


/* =========================================================
   CODEMIRROR — Éditeur backend (lisibilité)
   ========================================================= */

.CodeMirror,
.CodeMirror * {
  color: #1a1a1a !important;
  background: #f8f8f8 !important;
}
.CodeMirror-cursor {
  border-left-color: #000 !important;
}


/* =========================================================
   Footer — Mentions légales à gauche + Copyright centré
   ========================================================= */

footer.container-footer {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  padding: .6rem 1rem !important;
  margin-bottom: 2rem !important;
}
footer.container-footer .grid-child {
  display: contents !important;
}
footer.container-footer #mod-custom117 {
  position: absolute !important;
  left: 1rem !important;
}
footer.container-footer #mod-custom136 {
  text-align: center !important;
}


/* =========================================================
   Navigation entre articles — boutons flottants latéraux
   ========================================================= */

nav.pagenavigation--bottom {
  position: fixed !important;
  bottom: 100px !important;
  left: 0 !important;
  right: 0 !important;
  pointer-events: none !important;
  z-index: 999 !important;
}
nav.pagenavigation--bottom ul {
  display: flex !important;
  justify-content: space-between !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
nav.pagenavigation--bottom li {
  pointer-events: all !important;
}
nav.pagenavigation--bottom li.pagenavigation__prev {
  margin-left: 8px !important;
}
nav.pagenavigation--bottom li.pagenavigation__next {
  margin-right: 8px !important;
  margin-left: auto !important;
}
nav.pagenavigation--bottom a {
  display: inline-block;
  background: linear-gradient(to bottom, #2f6b57, #1f4f41);
  border: 1px solid #14362d;
  color: #ffffcc !important;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 14px;
  padding: .35rem .75rem;
  border-radius: .7rem;
  text-decoration: none !important;
  box-shadow:
    0 1px 0 #5fae93 inset,
    0 4px 0 #14362d,
    0 6px 8px rgba(0,0,0,.45);
  opacity: .85;
}
nav.pagenavigation--bottom a:hover {
  opacity: 1;
  filter: brightness(1.12);
  color: #fff !important;
  text-decoration: none !important;
}


/* =========================================================
   Footer — Responsive mobile
   ========================================================= */

@media (max-width: 768px) {
  footer.container-footer {
    flex-direction: column !important;
    padding: .6rem 1rem 2.5rem !important;
  }
  footer.container-footer #mod-custom117 {
    position: static !important;
    text-align: center !important;
  }
}


/* =========================================================
   COM_FINDER — Surlignage résultats de recherche
   ========================================================= */

.com-finder mark,
.com-finder .search-highlight {
  background: transparent !important;
  color: #fff !important;
  font-weight: bold !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}

/* BiblioStats — masquer compteur de clics */
.com-content-article .article-info .hits { display: none !important; }

/* Suppression navigation articles en haut (doublon avec boutons flottants bas) */
nav.pagenavigation--top {
  display: none !important;
}


/* =========================================================
   SÉLECTEUR DE LANGUE — Taille des drapeaux
   ========================================================= */

.mod-languages img,
.mod-languages .lang-inline img,
ul.lang-inline img,
.mod-languages a img {
  width: 48px !important;
  height: auto !important;
  max-width: none !important;
  vertical-align: middle;
}


/* =========================================================
   FORMULAIRE DE CONTACT — lisibilité sur fond foncé
   ========================================================= */

.com-contact,
.com-contact p,
.com-contact label,
.com-contact .control-label,
.com-contact legend,
.com-contact small,
.com-contact .contact-address {
    color: #f5f0e6 !important;
    font-size: 10.5pt;
}

.com-contact h1,
.com-contact h2,
.com-contact h3,
.contact h1,
.contact h2,
.contact h3 {
    color: #faf6ee !important;
    font-size: 16pt !important;
}

/* Champs de saisie : texte noir sur fond blanc */
.com-contact input,
.com-contact textarea,
.com-contact select {
    color: #000 !important;
    background: #fff !important;
    font-size: 10.5pt !important;
}

/* Astérisques "champ requis" — un doré discret pour attirer l'œil sans crier */
.com-contact .star,
.com-contact .required {
    color: #c9a961 !important;
}


/* =========================================================
   FORMULAIRES COMPTES + CONTACT — libellés lisibles (ivoire)
   ========================================================= */

#member-registration .control-label label,
#member-registration .control-label,
#member-registration legend,
#member-registration fieldset > p,
.com-users .control-label label,
.com-users .control-label,
.com-users legend,
.com-contact .control-label label,
.com-contact .control-label,
.com-contact label,
.com-contact legend {
    color: #f5f0e6 !important;
    font-size: 10.5pt !important;
}

/* Libellés en état "invalid/required" : garder l'ivoire, pas le rouge sombre
   NB : sur le <body> la classe est com_users (underscore), pas com-users.
   Les vues login/reset/remind/registration sont toutes couvertes ici. */
#member-registration label.required,
#member-registration label.invalid,
.com-users label.required,
.com-users label.invalid,
body.com_users label.required,
body.com_users label.invalid,
body.com_users .control-label label,
body.com_users label {
    color: #f5f0e6 !important;
}

/* Titres */
#member-registration legend,
.com-users legend,
.com-contact h1, .com-contact h2, .com-contact h3 {
    color: #faf6ee !important;
    font-size: 16pt !important;
}

/* Messages d'aide / "Exigences minimales" / feedback */
#member-registration small,
#member-registration .form-text,
#member-registration .control-label span,
.com-users small,
.com-users .form-text {
    color: #f5f0e6 !important;
}

/* Message d'erreur "Veuillez compléter ce champ" : rouge clair lisible */
#member-registration .form-control-feedback,
.com-users .form-control-feedback {
    color: #ffb3b0 !important;
}

/* Astérisque champ requis — doré discret */
#member-registration .star,
.com-users .star,
.com-contact .star {
    color: #c9a961 !important;
}

/* Champs de saisie : texte noir sur fond blanc */
#member-registration input,
#member-registration select,
.com-users input,
.com-users select,
.com-contact input,
.com-contact textarea,
.com-contact select {
    color: #000 !important;
    background: #fff !important;
    font-size: 10.5pt !important;
}

/* Cases à cocher Bootstrap (form-check-input) : restaurer le rendu natif */
.com-contact input.form-check-input[type="checkbox"],
.com-users input.form-check-input[type="checkbox"],
#member-registration input.form-check-input[type="checkbox"] {
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    background-image: none !important;
    background-color: #fff !important;
    width: 1.1em !important;
    height: 1.1em !important;
    margin-top: 0.15em !important;
    accent-color: #6b2737 !important;
    cursor: pointer !important;
}


/* =========================================================
   MOT DE PASSE OUBLIÉ / RÉINITIALISATION (vues reset & remind)
   Le paragraphe d'instruction est une balise <legend>, que
   template.css force à 1.5rem au-dessus de 1200px.
   Le parcours comporte 3 écrans, avec une classe par layout :
   .com-users-reset / -confirm / -complete  (+ .com-users-remind)
   Ancrage complémentaire sur body.com_users.view-reset, qui
   couvre les 3 layouts d'un seul tenant.
   ========================================================= */

/* Texte courant de ces pages */
body.com_users.view-reset,
body.com_users.view-remind,
.com-users-reset,
.com-users-reset-confirm,
.com-users-reset-complete,
.com-users-remind,
body.com_users.view-reset label,
body.com_users.view-remind label,
body.com_users.view-reset .form-text,
body.com_users.view-remind .form-text,
body.com_users.view-reset small,
body.com_users.view-remind small {
    color: #f5f0e6 !important;
}

/* Paragraphe d'instruction : couleur + taille alignée sur les
   autres formulaires (10.5pt au lieu de 1.5rem) */
body.com_users.view-reset legend,
body.com_users.view-remind legend,
.com-users-reset legend,
.com-users-reset-confirm legend,
.com-users-reset-complete legend,
.com-users-remind legend {
    color: #f5f0e6 !important;
    font-size: 10.5pt !important;
    line-height: 1.45 !important;
}

/* Libellés et textes d'aide au même diapason */
body.com_users.view-reset label,
body.com_users.view-remind label,
body.com_users.view-reset .control-label,
body.com_users.view-remind .control-label,
body.com_users.view-reset .form-text,
body.com_users.view-remind .form-text,
body.com_users.view-reset small,
body.com_users.view-remind small {
    font-size: 10.5pt !important;
    line-height: 1.45 !important;
}

/* Bouton d'envoi */
body.com_users.view-reset .btn,
body.com_users.view-remind .btn {
    font-size: 10.5pt !important;
}

/* Champs de saisie : texte noir sur fond blanc, même échelle */
body.com_users.view-reset input,
body.com_users.view-remind input,
body.com_users.view-reset .form-control,
body.com_users.view-remind .form-control {
    color: #000 !important;
    background: #fff !important;
    font-size: 10.5pt !important;
    line-height: 1.45 !important;
}


/* =========================================================
   PAGE DE CONNEXION (view-login)
   Même traitement : libellés ivoire, échelle 10.5pt,
   champs en texte noir sur fond blanc.
   ========================================================= */

body.com_users.view-login label,
body.com_users.view-login .control-label,
body.com_users.view-login legend,
body.com_users.view-login .form-text,
body.com_users.view-login small,
body.com_users.view-login p {
    color: #f5f0e6 !important;
    font-size: 10.5pt !important;
    line-height: 1.45 !important;
}

body.com_users.view-login input,
body.com_users.view-login .form-control {
    color: #000 !important;
    background: #fff !important;
    font-size: 10.5pt !important;
    line-height: 1.45 !important;
}

body.com_users.view-login .btn {
    font-size: 10.5pt !important;
}

/* Astérisque champ requis — doré discret, cohérent avec le reste */
body.com_users.view-login .star,
body.com_users .star {
    color: #c9a961 !important;
}


/* =========================================================
   MESSAGES SYSTÈME JOOMLA — bandeaux info / avertissement
   Ajouté le 2026-08-17.
   Le bandeau d'info gris pâle (ex. page de vérification /
   réinitialisation) était illisible faute de surcharge de
   couleur. On le remet dans la charte du site : fond bleu
   foncé, bordure or, texte crème — lisible partout.
   Joomla 5 rend ces messages via <joomla-alert> dans
   #system-message-container ; on couvre aussi .alert Bootstrap.
   ========================================================= */

/* Le cadre du bandeau */
#system-message-container joomla-alert,
#system-message-container .alert,
joomla-alert[type="info"],
joomla-alert[type="message"],
joomla-alert[type="notice"],
joomla-alert[type="warning"],
.alert-info,
.alert-message,
.alert-notice,
.alert-warning {
    background-color: #1a3a5c !important;
    border: 1px solid #c8a84b !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,.35) !important;
}

/* Le texte à l'intérieur (titre + corps + liens) */
#system-message-container joomla-alert,
#system-message-container joomla-alert *,
#system-message-container .alert,
#system-message-container .alert *,
joomla-alert[type="info"] *,
joomla-alert[type="message"] *,
joomla-alert[type="notice"] *,
joomla-alert[type="warning"] *,
.alert-info,
.alert-info *,
.alert-message,
.alert-message *,
.alert-notice,
.alert-notice *,
.alert-warning,
.alert-warning * {
    color: #f5e6c8 !important;
}

/* Liens dans les bandeaux : plus clairs + soulignés */
#system-message-container joomla-alert a,
#system-message-container .alert a,
joomla-alert a,
.alert-info a,
.alert-message a,
.alert-notice a,
.alert-warning a {
    color: #ffe9a8 !important;
    text-decoration: underline !important;
}

/* Bouton de fermeture (croix) : bien visible */
#system-message-container joomla-alert button.btn-close,
#system-message-container .alert button.btn-close,
joomla-alert button.btn-close {
    filter: invert(1) brightness(1.6) !important;
    opacity: .9 !important;
}