/*
 * Contrastes conformes au RGAA / WCAG AA (texte : 4,5:1, gros titres : 3:1), sans changer la charte :
 * - le vert clair #95c11f reste en fond et en décor ; pour du texte sur fond clair, vert foncé #587512 (5,3:1) ;
 * - sur fond vert clair, texte vert sombre #224740 (4,9:1) au lieu du blanc (2,1:1) ;
 * - turquoise #009a93 sous du texte blanc => #00807a (4,8:1) ; orange du fil d'Ariane => #a85609 (5,3:1).
 * Mêmes sélecteurs que main.css, chargé après lui.
 */

/* Texte vert sur fond clair */
.txt-vert,
.txt-vert2,
.ui-dialog .title,
#main-content #main .frame a,
#main-wrap.content-green #main-content h1,
#main-wrap.content-green #main-content .bottom-sitra .block-bottom h2,
#main-wrap.content-green #main .frame a,
#main-wrap.content-green #main .news-text-wrap a,
#main-wrap.content-green #main .teaser-text p,
#main-wrap.content-green #main-content .bottom-sitra #information p a {
  color: #587512; }

/* Boutons et blocs vert clair : texte vert sombre (main.css force .bt-green en blanc avec !important) */
.bt-green { color: #224740 !important; }
.block-green,
#right-wrap .block-green .title,
#main-wrap #right-content #second-content #navigation-apidae ul li a,
::selection {
  color: #224740; }
.block-green a, .block-green p, .block-green .title a { color: #224740; }

/* Turquoise sous du texte blanc */
.bt-blue,
.block-blue,
#list-sitra .sitra .content-hover {
  background-color: #00807a; }

/* Fil d'Ariane : « Accueil » blanc sur orange */
#breadcrumb-menu ol li:first-child > a {
  background-color: #a85609; }

/* Accueil : tuiles pastel (Patrimoine, Nature…, Bien-être, Coin des enfants…) en texte vert sombre */
#main-content #main #sectionDecouvrir .elem5 > div:nth-child(odd) h3, #main-content #main #sectionDecouvrir .elem5 > div:nth-child(odd) h3 a,
#main-content #main #sectionActivites .elem5 > div:nth-child(even) h3, #main-content #main #sectionActivites .elem5 > div:nth-child(even) h3 a {
  color: #224740; }

/* Fiche Apidae : onglet actif Tarifs / Prestations (fond vert foncé) en blanc */
#main-wrap #right-content #second-content #navigation-apidae ul li.active a,
#main-wrap #right-content #second-content #navigation-apidae ul li:hover a { color: #fff; }

/* Lien d'évitement : invisible jusqu'à la tabulation */
.tdg-skip {
  position: absolute; left: 12px; top: -60px; z-index: 100000;
  padding: 12px 18px; border-radius: 0 0 8px 8px;
  background: #224740; color: #fff !important; font: 16px/1.2 'SatoshiMedium', arial, sans-serif; text-decoration: none !important; }
.tdg-skip:focus { top: 0; outline: 3px solid #95c11f; outline-offset: 2px; }

/* Repère de focus visible au clavier partout (les anciennes feuilles le retirent par endroits) */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #224740; outline-offset: 2px; }
