/* --------------------------------------------------------------

   Theme pour la dist de SPIP 3

-------------------------------------------------------------- */
html {
  font-size: 100.01%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  background: #F8F6F8;
  font-family: 'Roboto', sans-serif;
  color: #333;
}

hr {
  height: 1px;
  margin: 3.4% 0 1.6% 0;
  border: 0;
  background: #EFEFEF;
  color: #EFEFEF;
  display: block;
}

/* Logos, documents et images
.spip_doc_titre { margin-right: auto; margin-left: auto; font-weight: bold; }
.spip_doc_descriptif { clear: both; margin-right: auto; margin-left: auto; }
.spip_logo_left { float: left; margin-right: 1.5em; margin-bottom: auto; } */

/* Logos, documents et images */
.spip_logo { float:right; padding: 0; margin: auto; border: none !important; }
.spip_logo_center { clear: both; display: block; margin: 0 auto 1.5em auto; }
.spip_logo_left { float: left; margin-right: 1.5em; margin-bottom: auto !important; }
.spip_logo_right { float: right; margin-left: 1.5em; margin-bottom: auto !important; }

.chapo {
  color: #8CA429;
}

h1 {
  color: #8CA429;
  line-height: 1;
}

h2, .h2 {
  line-height: 1.3;
  margin-bottom: 0.2em;
}

h3.spip,
.h3 {
  text-align: center;
}

h4, .h4 {
  font-weight: bold;
}

/* Tableaux */
table {
  width: 100%;
}

caption {
  background: #EEE;
}

th {
  font-weight: bold;
}

thead th {
  background: #DDD;
}

th,
td,
caption {
  padding: 0.4em;
}

tbody tr:nth-child(even) th,
tbody tr:nth-child(even) td,
tbody tr.even th,
tbody tr.even td {
  background: #EEE;
}

tfoot {
  font-style: italic;
}

/* Pagination */
.pagination .pagination-items {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
}

.pagination .pagination-item {
  margin: 0em;
  flex-basis: 7.5%;
  display: flex;
  align-items: center;
}

.pagination .pagination_precedent_suivant .pagination-item {
  flex-basis: auto;
}

.pagination .pagination-item + .pagination-item {
  margin-left: 0.5em;
}

.pagination .pagination-item-label {
  display: block;
  flex-basis: 100%;
  background: #c8d195;
  text-decoration: none;
  padding: .5em;
  border-radius: .25em;
  text-align: center;
}

.pagination .on .pagination-item-label,
.pagination a.pagination-item-label:hover,
.pagination a.pagination-item-label:focus,
.pagination a.pagination-item-label:active {
  background: var(--dist-color-accent-hard);
  color: #fff;
}

.pagination .on .pagination-item-label {
  font-weight: bold;
}

.pagination .pagination_precedent_suivant .disabled {
  visibility: hidden;
}

.pagination .pagination-item.disabled .pagination-item-label {
  color: #888;
  font-weight: normal;
}

.menu_articles .pagination strong {
  font-size: 1em;
}



/* Lire la suite */
.lasuite {
  clear: both;
  text-align: right;
  margin-top: 2em;
}

.lasuite a,
.lasuite .on {
  padding: .2em .5em;
  margin: 1em;
  border-radius: 30px;
  font-family: OpenSansRegular;
}

.lasuite a {
  background-color: #c8d195;
  text-decoration: none;
  color: #fff;
}

.lasuite .on {
  font-weight: bold;
  background: #444;
  color: #fff;
}

.commentaire {
  list-style-type: none;
  margin-left: 0;
}

/* Habillage des éléments du contenu */
.arbo {
  clear: both;
  color: #FFF;
  text-shadow: 1px 1px 0px #333;
  padding: 1em 0 0 0;
  display: block;
}

abbr.published,
abbr[title].published:after,
abbr[title].dtreviewed:after {
  border: 0;
  content: "";
}

.info-publi {
  color: #999;
}

.hyperlien {
  display: block;
  padding: 1.5em 50px;
  background: #EED url(img/def.png) no-repeat 25px 1.9em;
  font-weight: bold;
}

/* Previsu */
.previsu {
  margin-bottom: 1.5em;
  padding: 0.75em;
  border: 2px dashed #008000;
  background: #F9FFF9;
}

fieldset.previsu legend {
  color: #F57900;
}

/* Réponses */
.reponse_formulaire {
  margin-bottom: 1.5em;
  padding: 0.75em;
  border: 2px solid #ddd;
}

.reponse_formulaire_ok {
  background: #e6efc2;
  color: #264409;
  border-color: #c6d880;
}

.reponse_formulaire_erreur {
  background: #fbe3e4;
  color: #8a1f11;
  border-color: #fbc2c4;
}

.reponse_formulaire_ok a {
  color: #264409;
}

.reponse_formulaire_erreur a {
  color: #8a1f11;
}

.erreur_message {
  color: red;
  display: block;
}

li.erreur input[type="text"],
li.erreur input.text,
li.erreur input[type="password"],
li.erreur input.password,
li.erreur textarea {
  background-color: #fbe3e4;
  border-color: #fbc2c4;
}

/* Formulaires : variantes et cas particuliers */
.formulaire_recherche input.text {
  width: 78%;
  padding: 2%;
  background: #FFF;
  border: #EFEFEF solid 4px;
  border-radius: 4px;
  margin-right: 4px;
}

.formulaire_recherche input.text:hover {
  background: #EFEFEF;
  border: #CCC solid 4px;
}

.formulaire_recherche input.submit {
  width: 14%;
  padding: 2%;
  border-radius: 4px;
  color: #FFF;
  background: #8CA429;
}

.formulaire_spip {
  margin-bottom: 1.5em;
}

.formulaire_spip fieldset {
  margin: 0;
  padding: 0;
}

.aside .formulaire_spip {
  padding-top: 0;
}

fieldset {
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

legend {
  display: none;
}

label {
  display: block;
}

input.text,
textarea {
  width: 100%;
  background-color: #EFEFEF;
  border: 4px solid #ECECEC;
  box-sizing: border-box;
}

.content input.text {
  width: 50%;
}

textarea {
  width: 100%;
}


/* Habillage des forums */
.comment-meta {
  margin: 0 0 1.4% 0;
  border-bottom: solid 1px #8CA429;
  padding: 1% 0;
  background: #f8f6f8;
}

.comment-meta abbr {
  border: 0;
  color: #8CA429;
}

.comment-meta a {
  color: #8CA429;
}

.comment-meta a:focus,
.comment-meta a:hover,
.comment-meta a:active {
  color: #8CA429;
}

.menu a:hover img {
  opacity: 0.7;
}

.comment .spip_logo {
  width: 7%;
  height: auto;
  float: left;
  margin: 0 0.7em;
}

.comments-ul,
.bloc_portfolio ul,
.bloc_portfolio li {
  list-style-type: none;
}

/* Hyperliens */
a {
  color: #303030;
  text-decoration: none;
}

a:focus,
a:hover,
a:active {
  outline: none;
  background: #8CA429 !important;
  border-color: #8CA429 !important;
  color: #ffffff !important;
  text-shadow: none;
}

a.blanc {
  color: #FFF;
  text-decoration: none;
}

a.blanc:focus,
a.blanc:hover,
a.blanc:active {
  color: #FFF;
  text-decoration: none;
}

a.vert {
  color: #8CA429;
  text-decoration: none;
}

a.vert:hover {
  color: #303030;
  text-decoration: none;
}

/* Hyperliens Google */
.title-link {
  color: #8ca429;
}

.button .button-link {
  border-color: #8ca429;
}

.button-link {
  color: #8ca429;
}

/* Autres médias */
@media print {
  .spip-admin,
  .spip-admin-float,
  .spip-previsu,
  .repondre,
  .formulaire_spip {
    display: none;
  }

  a {
    color: #600;
    text-decoration: underline !important;
  }

  a.spip_out:after,
  a.spip_glossaire:after,
  a.spip_mail:after {
    display: inline;
    content: " [" attr(href) "]";
  }
}

/* Tableau Select2 */
.hidden-column {
  display: none !important;
}

/* Empêcher tablesorter de forcer l'affichage */
.tablesorter .hidden-column {
  visibility: hidden;
  width: 0;
}

.filters-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.filter-group {
    width: calc(50% - 5px); /* 2 colonnes */
}

/* Sur mobile, les filtres passent en 1 colonne */
@media (max-width: 768px) {
    .filter-group {
        width: 100%;
    }
}

/* end */
