/* Faire disparaître mise en page actualité par défaut */
#cff.cff.cff-list-container.cff-disable-masonry,
#cff.cff.cff-mob-cols-1,
#cff.cff-tab-cols-1 {
  visibility: hidden;
  height: 0px !important;
}
#cff-visual-header-953774314661410 {
  visibility: hidden;
  height: 0px !important;
}
#cff-visual-header-953774314661410.cff-visual-header.cff-has-name,
#cff-visual-header-953774314661410 .cff-header-hero,
#cff-visual-header-953774314661410 .cff-header-inner-wrap .cff-header-img,
#cff-visual-header-953774314661410 .cff-header-inner-wrap .cff-header-text,
#cff-visual-header-953774314661410 .cff-header-inner-wrap .cff-header-name {
  visibility: hidden;
  max-height: 0rem !important;
  min-height: 0 !important;
  padding: 0;
  padding-top: 0 !important;
  margin-bottom: 0px !important;
}

/* On remplace par la mise en forme du carrousel */
#cff.carousel-wrapper {
  visibility: visible;
  display: flex;
  flex-direction: column;
  border: 5px solid #5a9182;
  padding: 20px;
}
.carousel-title {
  text-align: left;
  font-size: 16px;
  width: 100%;
  color: #ec7113;
  font-variant: small-caps;
}
.cff-wrapper {
  margin: 60px auto;
}

.cff-wrapper {
  margin: 60px auto;
}

.carousel {
  width: 100%;
}
.carousel__slides,
.carousel__slide {
  width: 100%;
}
/* Rendre le carrousel mobile */
.carousel__slides {
  column-gap: 20px;
  display: flex;
  overflow: auto;
  scroll-snap-type: x mandatory;
}
.carousel__slide {
  flex: 0 0 auto;
  scroll-snap-align: center;
}
.carousel__slides.smooth-scroll {
  scroll-behavior: smooth;
}
/* Hide scrollbar */
.carousel__slides {
  scrollbar-width: none; /* Firefox and latest Chromium */
}
.carousel__slides::-webkit-scrollbar {
  display: none; /* Safari and legacy Chromium */
}

/* Styling nav dots */
.carousel {
  padding-bottom: 30px;
  position: relative;
}
.carousel__navdots {
  bottom: 0;
  column-gap: 16px;
  display: flex;
  justify-content: center;
  position: absolute;
  left: 0;
  right: 0;
}
.carousel__navdots button {
  /* reset default style */
  -moz-appearance: none;
  -webkit-apperance: none;
  appearance: none;
  border: 0;
  cursor: pointer;
  /* style as a grey dot */
  background-color: #9a9a9a;
  border-radius: 50%;
  height: 10px;
  padding: 0;
  width: 10px;
}
.carousel__navdots button.is-active {
  background-color: #5a9182; /* blue cscv */
}
.carousel__navdots button:focus-visible {
  outline: 2px solid #5a9182; /* blue cscv */
  outline-offset: 2px;
}

/* Stylistic purpose */
.carousel-wrapper {
  align-items: center;
  display: flex;
  width: 100%;
}
.carousel {
  margin: 0 auto;
}
img.carousel_slide__post-image {
  max-height: 400px;
  max-width: 100%;
}

/* SLIDE POST FACEBOOK */
.carousel_slide__post {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  height: fit-content;
}

.carousel_slide__post-content {
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.post {
  width: 100%;
}
.carousel_slide__post-text {
  text-align: justify;
}
.cff-share-container {
  visibility: hidden;
}
.cff-author-date a {
  font-weight: 400;
}
.cff-author-date a:hover {
  color: #4f7d71;
  font-weight: 700;
}
p.cff-date {
  font-weight: bold;
  color: #6f7785 !important;
}
.cff-post-links a {
  font-size: 11px;
  text-decoration: none;
}
.cff-post-links a:hover {
  text-decoration: underline;
  color: black;
}
.cff-media-link a:hover {
  text-decoration: none;
  font-weight: bold;
  color: black;
}
.cff-post-text {
  max-height: 300px;
}
span.cff-text {
  display: block;
  max-height: 200px;
  background-color: pink;
  text-overflow: ellipsis;
  overflow: hidden;
}
span.cff-more,
span.cff-less {
  font-size: 11px;
}
span.cff-more:hover,
span.cff-less:hover {
  color: black;
}
span.cff-expand a {
  text-decoration: none;
}
span.cff-expand a:hover {
  text-decoration: underline;
  color: black;
}
@media (width >= 700px) {
  #cff.cff.cff-list-container {
    visibility: hidden;
    height: 0px !important;
  }
  .carousel-title {
    font-size: 30px;
  }
  .carousel_slide__post {
    margin-top: 50px;
    flex-direction: row;
  }
  img.carousel_slide__post-image {
    max-width: 50%;
  }
}
