/*** RECHERCHE ET CATÉGORIES ***/

.all_cat_actu {
  display: block;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: solid 1px #e7e7e7;
}

.cat_actu {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: solid 1px #e7e7e7;
}

.cat_actu > p,
.recherche_actu label {
  margin-top: 0;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  font-weight: bolder;
}

.cat_actu ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 0 -0.25rem;
  padding-left: 0;
  font-size: 1rem;
}

.cat_actu ul li {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  list-style: none;
}

.cat_actu ul li a {
  display: inline-block;
  padding: 1rem 1.25rem;
  margin-bottom: 0.5rem;
  text-decoration: none;
  line-height: 0;
  color: #ffffff;
  background-color: var(--primary-color);
  border-radius: var(--button-border-radius);
  transition: background-color 0.3s ease-in-out;
}

.cat_actu ul li a:hover {
  color: #ffffff;
  background-color: var(--primary-color-darken);
}

.recherche_actu form {
  display: block;
}
.recherche_actu label {
  display: inline-block;
}

.recherche_actu #input_recherche_actu {
  display: inline-block;
  width: 100%;
  margin-bottom: 0.5rem;
}

.recherche_actu #recherche_actu_submit {
  font-family: var(--icon-font);
  font-size: 1.5rem;
  font-weight: normal;
  text-transform: none;
  cursor: pointer;
}

.actualitesListingResultat {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.actualite_highlight {
  background: transparent !important;
}

@media screen and (min-width: 480px) {
  .cat_actu ul li ul {
    position: absolute;
    left: 0;
  }

  .cat_actu ul li ul li + li a {
    border-bottom: 1px solid #999;
    border-left: 1px solid #999;
    border-right: 1px solid #999;
  }

  .recherche_actu,
  .cat_actu {
    width: 100%;
  }
  .recherche_actu {
    display: inline-block;
  }

  .recherche_actu label {
    display: inline-block;
    width: auto;
  }
}

@media screen and (min-width: 601px) {
  .recherche_actu #input_recherche_actu {
    width: calc(100% - 4.25rem);
    margin-bottom: 0;
    vertical-align: middle;
  }

  .recherche_actu #recherche_actu_submit {
    margin-left: 0rem;
  }
}

@media screen and (min-width: 993px) {
  .cat_actu {
    margin-bottom: 0;
    border-bottom: none;
  }

  .recherche_actu #recherche_actu_submit {
    width: 3.5rem;
  }
}

/*** LISTING ACTUS ***/

.actualites-listing-card {
  margin-bottom: 1.5rem;
}
.actualites-listing-btn {
  margin-top: 1rem;
}

.actualites-listing-card-image img {
  display: block;
  width: 100%;
}

/**** DETAIL ACTU ****/

.txt15_140 {
  display: none;
}

.detail-actu,
#container_actualite_detail {
  position: relative;
  width: 100%;
  overflow: hidden;
}

#contenu_detail {
  display: block;
  margin: 15px 0;
}

.actualitesListingResultat {
  display: block;
}
.actualites-detail-date {
  margin-bottom: 1rem;
}

.detail-actu-image {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  overflow: hidden;
  clear: both;
}

.detail-actu-image a {
  width: 100%;
  margin-bottom: 1.5rem;
}

.detail-actu-image a:not(:first-child) {
  width: calc((100% - 3rem) / 3);
  margin-right: 1.5rem;
}

.detail-actu-image a:nth-child(3n + 4) {
  margin-right: 0;
}

.detail-actu-image img {
  display: block;
  width: 100%;
  height: auto;
}

.facebook {
  display: block;
  text-align: right;
}

.btn_details_media {
  width: 70px;
  display: inline-block;
  vertical-align: top;
}

#listing-autres-actus-categorie {
  margin-top: 1.5rem;
  padding: 2rem 0;
  border-top: solid 1px #e7e7e7;
}

#listing-autres-actus-categorie > ul {
  padding-left: 0;
}
#listing-autres-actus-categorie ul li {
  list-style: none;
}
#listing-autres-actus-categorie ul li ul li {
  list-style: disc;
}

.detail-actu-reseaux-sociaux {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 2rem;
}

@media screen and (min-width: 993px) {
  .detail-actu-image {
    float: right;
    max-width: 40%;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
  }

  #listing-autres-actus-categorie {
    position: sticky;
    top: 1rem;
    margin-top: 0;
    padding: 0;
    border-top: none;
    transition: all 0.3s;
  }
}
