/* Accessibilité : textes réservés aux lecteurs d'écran et lien d'évitement */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link.screen-reader-text:focus {
  top: 10px;
  left: 10px;
  z-index: 100000;
  width: auto;
  height: auto;
  padding: 12px 20px;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: #1f2e3f;
  color: #ffffff;
  font-family: "Lato", sans-serif;
  font-size: 16px;
  text-decoration: none;
  outline: 3px solid #f4ac30;
}

/* Boutons remplaçant les anciens liens « javascript:void(0) » : même rendu que les liens d'origine */
#header #nav-hamb,
#header #compact-nav #compact-hamb .hamb {
  border: 0;
  padding: 0;
  cursor: pointer;
}
#header #small-menu .rubname button,
#sidebar .widget-container ul li button.theme-check {
  margin: 0;
  border: 0;
  background-color: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

/* Menu mobile : intitulés de rubrique (cf. #header #small-menu .rubname a) */
#header #small-menu .rubname button {
  display: block;
  width: 100%;
  padding: 0;
  color: #1f2e3f;
}
#header #small-menu .rubname.current button {
  color: #CC0000;
}

/* Filtres par thème (cf. #sidebar .widget-container ul li a) */
#sidebar .widget-container ul li button.theme-check {
  padding-top: 0;
  padding-right: 0;
  padding-bottom: 0;
  font-family: "Lato", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: color 0.2s ease-out;
  color: #FFFFFF;
}
html.no-touch #sidebar .widget-container ul li button.theme-check:hover {
  color: #1f2e3f;
}
.category-evenements #themes_agenda.widget-container ul li button.theme-check,
.category-agenda #themes_agenda.widget-container ul li button.theme-check {
  color: #d76a04;
}

/* Focus clavier visible */
#header .nav-toggle:focus-visible,
#header #small-menu .rubname button:focus-visible,
#sidebar .theme-check:focus-visible,
#menu a:focus-visible,
#ft-pages a:focus-visible,
#breadcrumbs a:focus-visible {
  outline: 3px solid #f4ac30;
  outline-offset: 2px;
}
