/*
Theme Name: Zinfos974
Description: Theme enfant de Divi par Jonathan THOMAS & Divi Community
Author: Jonathan THOMAS / granJO
Author URI: https://www.nathan.re
Template: Divi
Version: 1.1
*/

/* Recaptcha google invisible */

.grecaptcha-badge {
  visibility: hidden !important;
}

/* CATEGORY VIA DIVI EXTRAS */

.post_rub_v2 .et_pb_post_extra.el_dbe_vertical_grid .post-media {
  width: 30%;
}

.post_rub_v2 .et_pb_post_extra .post-media img {
  background-size: cover;
  width: 100%;
}

.post_rub_v2 .et_pb_post_extra.el_dbe_vertical_grid .post-content {
  width: 70%;
  padding: 0 20px;
}

.post_rub_v2 .et_pb_post {
  display: inline-flex;
}

.post_rub_v2 .post-meta {
  text-align: right;
}

.post_rub_v2 .entry-title {
  border: none !important;
}

.post_rub_v2 .post-data p {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Nombre de lignes que vous voulez afficher */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post_rub_v2 .el-isotope-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 10%; /* Modifier cette valeur pour changer la largeur du trait */
  height: 5px; /* Modifier cette valeur pour changer l'épaisseur du trait */
  background-color: rgb(
    226,
    110,
    110
  ); /* Modifier cette couleur pour changer la couleur du trait */
}



@media screen and (max-width: 425px) {
  .post_rub_v2 .et_pb_post_extra.el_dbe_vertical_grid .post-media {
    width: 100% !important;
  }
  .post_rub_v2 .et_pb_post_extra.el_dbe_vertical_grid .post-content {
    width: 100%;
    padding: 20px 0px;
  }
}

@media screen and (max-width: 1021px) {
  .category
    .el-dbe-blog-extra
    .el-isotope-container
    > div:nth-child(2)
    .post-media {
    height: auto !important;
  }
}
.category .et_pb_blog_extras_0_tb_body .el-isotope-item {
  margin-bottom: 0;
  margin-top: 15px;
}
.category .et_pb_blog_extras_0_tb_body .el-isotope-item .author {
  display: none;
}
.category .post_rub_v2 .et_pb_post_extra.el_dbe_vertical_grid .post-media {
  width: 30%;
  height: auto;
  overflow: hidden;
  vertical-align: middle;
  position: relative;
  display: flex;
  align-items: center;
}
.category .el-dbe-blog-extra .el-isotope-container .post-content h2 a {
  font-family: "Montserrat", Helvetica, Arial, Lucida, sans-serif !important;
}
.category .el-dbe-blog-extra .el-isotope-container .post-meta .et-pb-icon {
  display: none;
}
.category .el-dbe-blog-extra .el-isotope-container .post-meta .published {
  color: #666;
  font-size: 16px;
}

.category .el-dbe-blog-extra .el-isotope-container .post-meta {
  padding: 0 10px 10px;
  border-bottom: 1px solid rgb(249 248 248);
}

.category
  .el-dbe-blog-extra
  .el-isotope-container
  > div:nth-child(2)
  .post-media {
  width: 100%;
  height: 500px;
  overflow: hidden;
  display: block;
}
.category
  .el-dbe-blog-extra
  .el-isotope-container
  > div:nth-child(2)
  .post-content {
  width: 100%;
  padding: 10px 0;
}
.category
  .el-dbe-blog-extra
  .el-isotope-container
  > div:nth-child(2)
  .post-content
  h2 {
  padding: 0;
  margin: 0 0 1em 0;
}
.category
  .el-dbe-blog-extra
  .el-isotope-container
  > div:nth-child(2)
  .post-content
  h2
  a {
  font-weight: 700 !important;
  font-size: 18px !important;
  font-family: "Montserrat", Helvetica, Arial, Lucida, sans-serif !important;
}

/* FAITS DIVERS --> HOME */

/* home-bloc-actus-type-3 --> POUR FAITS DIVERS */

@media screen and (min-width: 1024px) {
  .home-bloc-actus-type-3 .post-data {
    display: block;
  }
}

@media screen and (max-width: 425px) {
  .home-bloc-actus-type-3 .post-data {
    display: none !important;
  }
}

.home-bloc-actus-type-3 .post-content {
  padding: 15px 15px 0 !important;
}

.et_pb_menu .et-menu > li {
  padding-left: 8px;
  padding-right: 8px;
}

@media only screen and (max-width: 980px) {
  .home-bloc-actus-type-3 article {
    margin: 15px auto 0;
    display: block !important;
  }
  .home-bloc-actus-type-3 article .post-media-container,
  .home-bloc-actus-type-3.text-cour article .post-media {
    float: left;
    width: 30% !important;
    display: inline-block;
    margin: 0;
    padding-right: 10px;
  }
  .home-bloc-actus-type-3 article .post-content {
    float: right;
    width: 70% !important;
    display: inline-block;
    margin: 0;
    padding: 0 !important;
  }
  .home-bloc-actus-type-3
    article.et_pb_post.et_pb_post_extra
    .post-content
    h2.entry-title,
  .home-bloc-actus-type-3
    article.et_pb_post.et_pb_post_extra
    .post-content
    h2.entry-title
    a {
    margin-top: 0;
    font-size: 16px !important;
  }
}

/* HOME LISTE A LA UNE*/

@media screen and (min-width: 768px) and (max-width: 980px) {
  .listeune-1 .post-media-container,
  .listeune-1 .post-media {
    height: 80px !important;
  }
}

/* FOOTER */

.sfsiplus_footerLnk {
  display: none;
}

/* Mise en avant article sur la home par une fleche */

.fleche_article .entry-title:before {
  content: "	\002192  ";
}

/* Gestion colonne droite et article SIDEBAR */

@media (min-width: 981px) {
  .article_contenu {
    width: calc(100% - 300px) !important;
  }
  .article_sidebar {
    width: 300px !important;
    min-width: 300px;
  }
}

/* MENU TAG Dossier */

.menuTag ul li::before {
  content: ">";
  margin-right: 15px;
  color: #bf0f00;
  font-weight: bold;
  font-size: 20px;
}

/* RSS AGGREGATOR gazeti */

.heateor_sss_sharing_container {
  margin-top: 2em;
  margin-bottom: 2em;
}

/* image popup */
body.single img:hover {
  cursor: pointer;
}
#cboxOverlay.popupimg {
  opacity: 1;
  padding: 50px;
  overflow: auto;
}
#cboxOverlay.popupimg p {
  text-align: center;
  display: block;
  position: relative;
  z-index: 10000;
}
#cboxOverlay.popupimg p a {
  font-size: 18px;
  color: #fff !important;
  background-color: #ed1c24;
  font-weight: 700;
  padding: 4px 8px;
}
#cboxOverlay.popupimg p a:hover {
  cursor: pointer;
}

/**** RSS JO > gazeti home ****/
ul.articles_rss_modele_1,
ul.articles_rss_modele_2 {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

ul.articles_rss_modele_1 li {
  list-style-type: none;
  margin-bottom: 15px;
  display: inline-block;
  width: 33%;
  padding: 0 10px;
  vertical-align: top;
  font-size: 18px;
  font-weight: 700;
  line-height: 20px;
}
ul.articles_rss_modele_1 li:first-child {
  width: 100%;
  font-family: "Lato", Helvetica, Arial, Lucida, sans-serif !important;
  font-weight: 600 !important;
  font-size: 19px !important;
  line-height: 1.2em !important;
  vertical-align: middle;
  background-color: rgb(249, 249, 249);
}
ul.articles_rss_modele_1 li:first-child p {
  font-size: 16px;
  font-weight: 400;
  font-family: "Lato", Helvetica, Arial, Lucida, sans-serif;
  line-height: 1.2em;
  color: #666;
  margin-top: 15px;
}

ul.articles_rss_modele_1 li:first-child a {
  background: #fff;
  display: block;
  margin-top: 40px;
  padding: 30px;
  font-size: 17px;
}

@media (max-width: 767px) {
  ul.articles_rss_modele_1 li:first-child a {
    padding: 0px;
  }
  ul.articles_rss_modele_1 li:first-child a {
    margin-top: 0px;
  }
}

ul.articles_rss_modele_1 li:first-child > p {
  display: none;
}
ul.articles_rss_modele_1 li div:first-child {
  height: 150px;
  overflow: hidden;
  margin-bottom: 15px;
}
ul.articles_rss_modele_1 li:first-child div:first-child {
  width: 50%;
  position: relative;
  float: left;
  margin-right: 15px;
  height: 300px;
  margin-top: -70px;
  margin-left: -40px;
  margin-bottom: 0px;
}
ul.articles_rss_modele_1 li div:first-child img {
  min-height: 150px;
}
ul.articles_rss_modele_1 li:first-child div:first-child img {
  min-height: 300px;
}

ul.articles_rss_modele_3 {
  margin: 0;
  padding: 0;
}
ul.articles_rss_modele_3 li {
  list-style-type: none;
  margin-bottom: 15px;
  display: inline-block;
  width: 33%;
  padding: 0 10px;
  vertical-align: top;
}
ul.articles_rss_modele_3 li:nth-child(2) {
  width: 34%;
}
ul.articles_rss_modele_3 li div:first-child {
  min-height: 240px;
}

.ligne-kult .et_pb_image {
  border-bottom: 1px solid #000;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  width: 100%;
}

ul.articles_rss_modele_2 li {
  list-style-type: none;
  margin-bottom: 15px;
  display: inline-block;
  width: 50%;
  padding: 0 10px;
  vertical-align: top;
}
ul.articles_rss_modele_2 li a {
  background-color: #fff;
  display: block;
}
ul.articles_rss_modele_2 li a .titre {
  padding: 10px;
  height: auto;
  vertical-align: middle;
  font-size: 18px;
  font-weight: 700;
  line-height: 20px;
}
ul.articles_rss_modele_2 li div:first-child {
  height: 150px;
  overflow: hidden;
}
ul.articles_rss_modele_2 li div:first-child img {
  width: 100%;
}

.et_pb_menu .et_pb_menu__menu,
.et_pb_menu .et_pb_menu__menu > nav,
.et_pb_menu .et_pb_menu__menu > nav > ul {
  width: 100%;
}

@media (max-width: 767px) {
  ul.articles_rss_modele_1 li:first-child div:first-child {
    width: 100%;
    position: relative;
    float: left;
    margin-right: 0;
    height: auto;
    margin-top: 0;
    margin-left: 0;
    margin-bottom: 0px;
  }
  ul.articles_rss_modele_1 li:first-child div:first-child img {
    min-height: auto;
  }
  ul.articles_rss_modele_1 li,
  ul.articles_rss_modele_2 li {
    width: 100%;
    padding: 0;
  }
  ul.articles_rss_modele_2 li a .titre {
    height: auto;
  }

  ul.articles_rss_modele_3 li,
  ul.articles_rss_modele_3 li:nth-child(2) {
    width: 100%;
  }
}

/* RWEBREGIE974 CSS JACQUES */

.zeropadding {
  padding: 0px !important;
}

.zeropadding div {
  height: auto !important;
}

/* David MODULE METEO HOME */

@media screen and (min-width: 981px) {
  .meteo_actus .post-content {
    padding: 10px 20px 0px 0px !important;
  }
}

@media screen and (max-width: 768px) {
  .meteo_actus .et_pb_post_extra.el_dbe_grid_extended .post-media {
    width: 100%;
    height: 212px;
    position: relative;
    overflow: hidden;
  }
  .meteo_actus .img.et_pb_post_main_image.no-lazyload.skip-lazy.wp-post-image {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .meteo_actus .et_pb_post_extra.el_dbe_grid_extended .post-content {
    padding: 0px 20px;
  }
}

/* David ESPACE PARTENAIRE HOME */

.partenaires .post-content {
  padding: 0 !important;
}
.partenaires h2.entry-title {
  margin-top: 0px !important;
}

@media (max-width: 425px) {
  .partenaires .et_pb_column {
    width: 50% !important;
  }
  .partenaires h2.entry-title {
    padding-left: 20px;
  }
  .partenaires p.post-meta {
    padding-left: 20px;
  }
}

/* David radius bloc */

.et_pb_post_extra.el_dbe_block_extended {
  border-radius: 0 !important;
}

/* David courrier-lecteurs */

.courrier-lecteurs .post-content {
  padding: 0px 0px 0px 0px !important;
}

@media (max-width: 768px) {
  .courrier-lecteurs .post-data {
    display: none;
  }
}

/* David - Avis de recherche */

.avis-de-recherche .post-content {
  background-color: #fff2d3;
}

/* David - petite une > Home */

.petite-une .post-content {
  padding: 0.8em 0 0 0 !important;
}

.bloc-jules ul li a {
  font-size: 18px;
}

/* David Menu dossier sur la home */

.bloc-dossier {
  padding: 1em 0 0 0;
}

/*MENU ANNONCES LEGALES */

.menu-desktop .et_pb_menu .et_pb_menu__menu > nav > ul > li,
.menu-mobile-jo .et_pb_menu .et_pb_menu__menu > nav > ul > li {
  border-radius: 4px;
}

.menu-desktop .et_pb_menu .et_pb_menu__menu > nav > ul > li {
  margin-right: 1em;
}

.menu-mobile-jo .et_pb_menu .et_pb_menu__menu > nav > ul > li:first-child {
  margin-right: 1em;
}

.menu-mobile-jo .et_pb_menu .et_pb_menu__menu > nav {
  display: inline-flex;
  justify-content: center;
}

.menu_legale .et_pb_menu .et_pb_menu__wrap {
  justify-content: flex-end !important;
}

.menu_legale ul li {
  background-color: #0b4584;
  padding: 0.8em 0.8em 0.5em 0.8em;
}

.menu-mobile-jo .menu_legale ul li {
  background-color: #0b4584;
  padding: 0.5em 0.4em 0em 0.4em;
}
@media only screen and (max-width: 767px) {
  .et_pb_menu_0_tb_header.et_pb_menu ul li a {
    font-size: 12px !important;
  }
}

/* David - feed-perso-auteur */

.feed-perso-auteur {
  font-size: 20px;
}

/* SIDEBAR ACTU */

.articles_zinfos_sidebar ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  height: 400px;
  overflow: scroll;
  scrollbar-width: none;
}

.articles_zinfos_sidebar ul::-webkit-scrollbar {
  display: none; /* Pour les navigateurs WebKit comme Chrome ou Safari */
}

.articles_zinfos_sidebar ul li {
  list-style-type: none;
  line-height: 1.3;
  margin: 0 0 0.8em 0 !important;
  padding: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  border-bottom: 1px solid #efe2e1;
  gap: 0.3em;
}

.articles_zinfos_sidebar ul li span {
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 12px !important;
  padding-right: 10px;
  width: 46px;
}

.articles_zinfos_sidebar ul li span em {
  font-style: normal;
  font-size: 0.8em;
  color: #777;
}

.articles_zinfos_sidebar ul li a {
  font-family: "Roboto", sans-serif;
  font-size: 12px !important;
  font-weight: 500;
  padding-right: 10px;
  margin: auto 0;
}
/* Les plus lus top 10*/

.articles_zinfos_lespluslus ul li {
  line-height: 1.3;
  font-size: 19px;
  font-weight: 800;
  display: flex;
  float: left;
  width: 30%;
  margin-left: 1%;
  margin-right: 1%;
  overflow: hidden;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
}

.articles_zinfos_lespluslus ul li span {
  font-size: 25px !important;
  padding-right: 30px;
  color: #ffffff;
  font-weight: 800;
  height: 50%;
  text-align: center;
  padding: 0.5em;
  background-color: #c5161b;
  margin-right: 5%;
}

@media (max-width: 768px) {
  .articles_zinfos_lespluslus ul {
    display: block;
  }

  .articles_zinfos_lespluslus ul li {
    width: calc(100% - 5px);
    margin-bottom: 0.6em !important;
  }

  .articles_zinfos_lespluslus ul li span {
    font-size: 1.3em !important;
    padding: 0.2em;
  }

  .topdix .et_pb_code_inner {
    margin-top: 2em;
  }
}

@media (min-width: 1024px) {
  .articles_zinfos_lespluslus ul li {
    height: 6em;
  }
}

/* Placement dans colonne de droite */

.plus-lus-colonne .articles_zinfos_lespluslus ul li span {
  font-size: 16px !important;
  color: #ffffff;
  font-weight: 800;
}

.plus-lus-colonne .articles_zinfos_lespluslus ul {
  display: block;
}

.plus-lus-colonne .articles_zinfos_lespluslus ul li {
  line-height: 1.2;
  margin-bottom: 0.1em !important;
  font-size: 16px;
  display: inline-flex;
  float: left;
  width: 90%;
  margin-left: 1%;
  margin-right: 1%;
  overflow: hidden;
  height: auto;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  border-bottom: 1px solid #dfdfdf;
  padding-bottom: 15px;
  padding-top: 10px;
}

/* FIN Les plus lus */

/**** TICKER ****/
.ticker {
  max-width: 100%;
  line-height: 32px;
  margin: 0 0 10px 0;
}

.ticker div {
  display: inline-block;
  word-wrap: break-word;
  margin-left: 10px;
}

.text-cour .post-data p,
.petite-une .post-data p {
  overflow: hidden;
  line-height: 18px;
  max-height: 8rem;
  -webkit-box-orient: vertical;
  display: block;
  display: -webkit-box;
  overflow: hidden !important;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
}
.text-cour .post-content {
  padding: 0 !important;
}

.text-cour2 .post-content p {
  overflow: hidden;
  line-height: 18px;
  max-height: 8rem;
  -webkit-box-orient: vertical;
  display: block;
  display: -webkit-box;
  overflow: hidden !important;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
}

/******* HEADER **********/

.menu-principal-zinfos-2.et_pb_column_11_tb_header {
  width: 90% !important;
}

.top-social a {
  border: 1px solid #bf0f00;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  text-align: center;
  font-size: 20px;
  padding-top: 2px;
  margin-right: 4px;
}
#CTAmenuZinfos span:hover {
  cursor: pointer;
}
.MenuZinfos {
  display: none;
  filter: blur(0) !important;
  position: absolute;
  top: -88px;
}
.MenuZinfos > .et_pb_menu {
  padding: 10px;
}

.menu-principal-zinfos.MenuOpenedBlur,
#et-main-area.MenuOpenedBlur {
  filter: blur(10px);
}
.menu-principal-zinfos-v2 .et_pb_column_8_tb_header {
  width: 60% !important;
}
.menu-principal-zinfos-v2 .et_pb_column_9_tb_header {
  width: 25% !important;
}

.header_dav .et_pb_column.et_pb_column_empty {
  min-height: 0px !important;
}

.Display_None_d {
  min-height: 1px !important;
}

.MenuZinfos_Dossiers,
.MenuZinfos_Top,
.MenuZinfos_Middle {
  margin-top: 30px;
}
.MenuZinfos_Dossiers li,
.MenuZinfos_Top li,
.MenuZinfos_Middle li {
  display: block !important;
  width: 100%;
}
.MenuZinfos_Dossiers li a {
  background-color: #bf0f00;
  padding: 8px 12px;
  text-align: left;
  width: 80%;
  color: #fff;
}

.MenuZinfos_Top .et_pb_menu .et_pb_menu__menu > nav,
.MenuZinfos_Middle .et_pb_menu .et_pb_menu__menu > nav {
  width: 100%;
}
.MenuZinfos_Top li,
.MenuZinfos_Middle li {
  position: relative;
  border-top: 1px solid #eee;
  width: 100%;
  margin-left: 10px !important;
  margin-right: 10px !important;
  margin-top: 0 !important;
  padding: 10px 0 0;
}
.MenuZinfos_Top li:last-child,
.MenuZinfos_Middle li:last-child {
  border-bottom: 1px solid #eee;
}
.MenuZinfos_Top li:after,
.MenuZinfos_Middle li:after {
  content: "▸";
  position: absolute;
  right: 30px;
  font-size: 20px;
  top: 10px;
}
.MenuZinfos_Top li a,
.MenuZinfos_Middle li a {
  width: 100%;
  display: block;
}

.MenuZinfos_Services.et_pb_menu .et_pb_menu__wrap {
  margin-top: 10px;
}
.MenuZinfos_Services li:before {
  content: "ᐅ";
  position: absolute;
  left: 10px;
  font-size: 20px;
  top: 0px;
}
.MenuZinfos_Services li {
  padding-left: 30px !important;
}

.MenuZinfos > .et_pb_menu.MenuZinfos_Services {
  padding: 30px 20px 10px;
}

.MenuZinfos_Courrier {
  padding: 10px;
}

#main-header {
  box-shadow: none;
  -webkit-box-shadow: none;
}
.logo_container {
  background-color: #bf1818;
}
#et-top-navigation {
  background-color: #fff;
}

.et_header_style_centered #top-menu {
  margin-top: 5px;
}
#top-menu li {
  margin: 0 10px 5px;
  padding-right: 0;
}

#top-menu-nav,
#menu-reunion {
  text-align: left;
  padding: 0 5px;
}

.et_pb_menu .et_pb_menu__menu > nav > ul#menu-menu-legales-1 {
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.menu-mobile-jo .et_pb_menu .et_pb_menu__menu > nav > ul#menu-menu-legales-1 {
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: start;
}

@media only screen and (min-width: 981px) {
  .et_header_style_centered #top-menu > li > a {
    padding-bottom: 0 !important;
    color: #232323 !important;
  }
  .et_header_style_centered #top-menu > li.menu-item-310712 a {
    background-color: #484848;
    padding: 5px !important;
    border-radius: 7px;
    color: #eee !important;
  }
}
.et_header_style_centered #et_top_search {
  float: none;
  display: inline-block !important;
  margin: 0;
  position: absolute;
  right: 10px;
  top: -10px;
}

.et_header_style_centered #et_search_icon:before {
  color: #fff;
}

.top_header_zinfos .dossiers {
  text-align: left;
  display: inline-block;
  width: 49%;
}

.top_header_zinfos .legales {
  text-align: right;
  display: inline-block;
  width: 49%;
}

.top_header_zinfos ul li {
  display: inline-block;
  margin: 0;
  padding-right: 5px;
}
.top_header_zinfos ul li a {
  font-size: 13px;
  color: #333;
}
.top_header_zinfos .menu-menu-dossiers-container {
  display: inline-block;
}

.et_pb_post_extra.el_dbe_block_extended {
  -webkit-box-shadow: 0 0 0 rgb(0 0 0 / 0%) !important;
  -ms-box-shadow: 0 0 0 rgba(0, 0, 0, 0) !important;
  box-shadow: 0 0 0 rgb(0 0 0 / 0%) !important;
  border: 0 !important;
}

#menu-reunion {
  background-color: #fff;
  border-bottom: 2px solid #bf0f00;
  padding-bottom: 5px;
}
#menu-reunion ul li {
  display: inline-block;
  margin: 0 10px 5px;
  padding-right: 0;
  font-size: 14px;
  word-wrap: break-word;
  position: relative;
  line-height: 1em;
}
#menu-reunion ul li a {
  padding-bottom: 0 !important;
  text-transform: uppercase;
  font-size: 13px;
  color: #000;
  font-weight: 600;
}
#menu-reunion ul li:first-child {
  background: #bf0f00;
  padding: 8px;
  border-radius: 8px;
}
#menu-reunion ul li:first-child:after {
  content: "";
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 20px solid #bf0f00;
  position: absolute;
  right: -15px;
  top: 0px;
}
#menu-reunion ul li:first-child a {
  color: #fff !important;
  font-weight: 700;
}

@media (max-width: 980px) {
  #menu-reunion ul {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    display: flex;
    padding: 5px 0 0;
  }
  #menu-reunion ul li {
    flex: none;
    padding: 8px 0;
  }
  .et_header_style_centered #et_mobile_nav_menu {
    position: absolute;
    left: 10px;
    top: -50px;
    width: auto;
    height: auto;
    float: left;
    margin: 0;
  }
  .et_header_style_centered .mobile_nav .select_page {
    display: none;
  }
  .et_header_style_centered .et_menu_container .mobile_menu_bar {
    padding: 0;
    right: 0;
    position: relative;
  }
  .mobile_menu_bar:before {
    color: #fff !important;
  }
  .et_mobile_menu {
    margin-left: 0px !important;
    width: 95vw !important;
  }
  .et_header_style_centered #et_top_search {
    right: 20px;
    top: -25px;
  }
  .et_pb_menu--style-left_aligned .et_pb_menu__wrap {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }
}

@media screen and (min-width: 981px) {
  .partenaires-mag-infos .post-media-container {
    height: 140px !important;
  }

  .et_pb_column_4_4 .et_pb_post_extra.el_dbe_block_extended .post-content {
    padding: 10px !important;
  }
  .et_pb_column_2_3
    .el-isotope-item
    .et_pb_post_extra.el_dbe_grid_extended
    .post-content,
  .et_pb_column_3_4
    .el-isotope-item
    .et_pb_post_extra.el_dbe_grid_extended
    .post-content,
  .et_pb_column_4_4
    .el-isotope-item
    .et_pb_post_extra.el_dbe_grid_extended
    .post-content {
    padding: 10px 10px 10px 0px !important;
  }
}

.el-isotope-item .el_dbe_grid_extended,
.et_extra.et_pb_pagebuilder_layout .el-isotope-item .el_dbe_grid_extended,
.et_extra.et_pb_pagebuilder_layout .et_pb_post_extra.el_dbe_vertical_grid,
.et_pb_post_extra.el_dbe_vertical_grid {
  -webkit-box-shadow: none;
  box-shadow: none;
}

/***** HOME ********/

@media (max-width: 980px) {
  .grande_une .et_pb_column {
    margin-bottom: 0px;
  }
}
.grande_une {
  background-color: #fff !important;
}
.home-la-grande-une .post-data,
.home-la-une .post-data,
.home-bloc-actus-type-2 .post-data,
.home-bloc-actus-type-1 .post-data {
  display: none !important;
}
.home-la-une article.et_pb_post_extra.el_dbe_box_extended .post-content {
  width: 49%;
}
.home-bloc-actus-type-2 .post-media {
  width: 30% !important;
}
.home-bloc-actus-type-2 .post-content {
  width: 70% !important;
  padding: 20px !important;
}
.home-bloc-actus-type-2.home-bloc-actus-type-2-fullwidth .post-content {
  width: 100% !important;
}
.home-la-grande-une .post-content {
  padding: 15px 15px 0 !important;
  z-index: 100;
  margin-left: 2%;
  margin-right: 2%;
  width: 96% !important;
}

.home-la-grande-une .post-media-container,
.home-la-grande-une .post-media-container .post-media {
  height: 400px !important;
}

.home-bloc-actus-type-1 .post-content {
  padding: 15px 15px 0 !important;
}

.home-bloc-actus-type-2 .entry-featured-image-url {
  padding-top: 66.66%;
}

.home-bloc-actus-type-2 .entry-featured-image-url img {
  position: absolute;
  height: 100%;
  bottom: 0;
  object-fit: cover;
}

.home-la-une .post-content {
  border-radius: 4px;
}

/*faits divers*/

@media screen and (min-width: 981px) {
  .et_pb_column_4_4
    .et_pb_post_extra.el_dbe_grid_extended:not(.swiper-slide)
    .post-media {
    width: 50%;
    max-height: 250px !important;
  }
  .faits-divers .post-media {
    width: 50%;
    max-height: 170px !important;
  }
}

.home-faits-divers .dtq-post-list ul {
  padding-left: 0;
}
.home-faits-divers .dtq-post-list-child:first-child .dtq-post-list-child {
  flex: unset;
  height: auto !important;
  width: 100%;
  margin-bottom: 5px;
}
.home-faits-divers .dtq-post-list-child:first-child .dtq-post-list-child-inner {
  display: block;
}
.home-faits-divers
  .dtq-post-list-child:first-child
  .dtq-post-list-child-inner
  figure {
  flex: unset;
  height: auto !important;
  width: 100%;
  margin-bottom: 5px;
}
.home-faits-divers
  .dtq-post-list-child:first-child
  .dtq-post-list-child-inner
  h3.dtq-post-list-title {
  font-size: 24px;
  color: #000;
  font-weight: 700;
}
.home-faits-divers
  .dtq-post-list-child
  .dtq-post-list-child-inner
  h3.dtq-post-list-title {
  color: #000;
  font-weight: 600;
}

/* 2 blocs section speciale */
.home-2-blocs-special .et_pb_image {
  width: 49% !important;
  text-align: center;
  display: inline-block;
  margin-left: 0;
  margin-right: 1%;
}
.home-2-blocs-special .et_pb_image:last-child {
  margin-left: 1%;
  margin-right: 0;
}
.home-2-blocs-special .et_pb_image a span {
  width: 100%;
  padding: 8px 12px;
}

/***** BLOG *********/
.mh-blog-3-2 .entry-featured-image-url {
  padding-top: 66.66%;
}

.mh-blog-3-2 .entry-featured-image-url img {
  position: absolute;
  height: 100%;
  bottom: 0;
  object-fit: cover;
}
.mh-blog-3-2 h2.entry-title {
  height: 52px;
  overflow: hidden;
}

/* Dans la meme rubrique */

@media (min-width: 981px) {
  .dav-rub-small .et_pb_blog_grid .column .et_pb_post {
    margin-bottom: 0px !important;
  }
  .dav-rub-small
    .et_pb_gutters3
    .et_pb_column_4_4
    .et_pb_blog_grid
    .column.size-1of3
    .et_pb_post {
    margin-bottom: 0px;
  }
}

.sidebar-derniere-infos .et_pb_post {
  margin-bottom: 0;
}

#wpd-post-rating .wpd-rating-wrap {
  width: 50%;
}
#wpd-post-rating .wpd-rating-wrap .wpd-rating-title {
  width: 150px;
}

.cineLastNews h2.entry-title {
  font-weight: 700 !important;
  font-size: 18px !important;
  margin-top: 0px;
  margin-bottom: 0px;
}
.cineLastNews .post-data {
  display: none;
}

.partenaires-mag-infos #post-310390 {
  margin-bottom: 15px;
}
.partenaires-mag-infos h3 {
  font-size: 18px;
}

.mh-blog-liste2 .column {
  width: 100% !important;
  margin-right: 0 !important;
}
.mh-blog-liste2 .column article {
  width: 100%;
  display: inline-block;
  position: relative;
  clear: both;
  margin-bottom: 15px !important;
  border: 0;
  padding: 0;
}
.mh-blog-liste2 .column article .et_pb_image_container {
  margin: 0;
  display: inline-block;
  width: 200px;
  float: left;
  margin-right: 20px;
}
.mh-blog-liste2
  .column
  article
  .et_pb_image_container
  .entry-featured-image-url {
  margin-bottom: 0 !important;
  padding-top: 66.66%;
}
.mh-blog-liste2
  .column
  article
  .et_pb_image_container
  .entry-featured-image-url
  img {
  position: absolute;
  height: 100%;
  bottom: 0;
  object-fit: cover;
}
.mh-blog-liste2 .column article h2 {
  font-size: 20px;
  margin-bottom: 0;
  padding-bottom: 0;
}
.mh-blog-liste2 .column article .post-meta {
  padding-bottom: 0;
  margin-bottom: 0;
  margin-top: 0.2em;
}
.mh-blog-liste2 .column article .post-content p {
  line-height: 1.4em;
  max-height: 8rem;
  -webkit-box-orient: vertical;
  display: block;
  display: -webkit-box;
  overflow: hidden !important;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  margin-top: 0.2em;
}

/* ARTICLE */

.article-body {
  background-color: white;
}

.article_contenu {
  padding-left: 10px;
  background-color: white;
}

.article_sidebar {
  padding-right: 10px;
}

/* .article-padding {
  padding: 0 10px !important;
  background-color: white !important;
} */

.entry-title {padding-bottom: 0.5em;
}

.et_pb_scroll_top { 
  bottom: 7px !important;
}

.image_la_une {
  padding: 0 !important;
  margin: 0 !important;
}

.entry-title::after {
  content: '';
  position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10%;
    height: 5px;
    background-color: rgb(226,110,110); 
}

.breadcrumb {
  display: none;
}

body.single .et_pb_post_content .photo:first-child {
  display: none;
}

.legende_photo {
  margin-bottom: 30px;
  font-size: 14px;
  font-style: italic;
  color: #000;
  min-height: 10px;
  text-align: center;
}

.wp-block-heading {
  margin-top: 1em;
  line-height: 25px;
}

/*p:not(.has-background):last-of-type {*/
/*  padding-bottom: 1em;*/
/*}*/

blockquote p:not(.has-background):last-of-type {
  padding-bottom: 0;
}

.wp-block-list li {
  padding-bottom: 0.5em;
  padding-left: 10px;
}

@media (max-width: 767px) {
  body.single-post .et_pb_column .et_pb_row_inner_0_tb_body {
    padding: 0 0 30px 0;
  }
  body.single-post .et_pb_column .et_pb_module.revenir-rubrique {
    margin: 0 0 10px 0 !important;
  }
  body.single-post .et_pb_column .et_pb_module.ecrit-par {
    font-size: 14px;
    line-height: 14px;
    color: #999;
  }
  .et_pb_column .et_pb_module.legende_photo {
    margin-bottom: 10px !important;
    font-size: 14px;
    line-height: 14px;
  }
  .et_pb_column .et_pb_blog_grid .column.size-1of1 .et_pb_post {
    margin-bottom: 0px;
    border-bottom: 1px solid #ddd;
  }
  .mh-blog-3-2 h2.entry-title {
    height: auto;
    overflow: unset;
    position: relative;
  }

  .mh-blog-liste .dtq-post-list-child-inner {
    display: block;
  }
  .mh-blog-liste figure {
    width: 100%;
    margin-bottom: 8px;
  }
  .mh-blog-liste .dtq-post-list-content {
    width: 100%;
    clear: both;
    display: block;
    position: relative;
  }
  .mh-blog-liste .dtq-post-list-child {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
  }

  .mh-blog-liste2 .column article .et_pb_image_container {
    width: 100%;
    margin-bottom: 8px;
  }
  .mh-blog-liste2 .column article .post-content {
    margin-bottom: 15px;
  }
  .et_pb_row {
    width: 96%;
  }
  #main-header .container {
    width: 100%;
    padding-top: 0;
  }

  .MenuZinfos {
    top: -200px;
  }

  .home-la-grande-une .post-media-container,
  .home-la-grande-une .post-media-container .post-media {
    height: 210px !important;
  }
  .single-post .et_pb_column_2_tb_body {
    padding-right: 5%;
    padding-left: 5%;
    width: 100% !important;
  }
}

@media only screen and (max-width: 980px) {
  .ecrit-par{
    padding: 0 !important;
  }
  .et_pb_menu .et_pb_menu__menu {
    display: block;
  }
  .et_pb_menu .et_mobile_nav_menu {
    display: none;
  }

  .et_pb_text_2_tb_header.MenuZinfos_Fermer {
    margin-top: 130px !important;
  }

  /* home > 4 blocs (liste à la une) */
  .home-bloc-actus-type-1 article {
    margin: 15px auto 0;
    display: block !important;
  }
  .home-bloc-actus-type-1 article .post-media-container,
  .home-bloc-actus-type-1.text-cour article .post-media {
    float: left;
    width: 30% !important;
    display: inline-block;
    margin: 0;
    padding-right: 10px;
  }
  .home-bloc-actus-type-1 article .post-content {
    float: right;
    width: 70% !important;
    display: inline-block;
    margin: 0;
    padding: 0 !important;
  }
  .home-bloc-actus-type-1
    article.et_pb_post.et_pb_post_extra
    .post-content
    h2.entry-title,
  .home-bloc-actus-type-1
    article.et_pb_post.et_pb_post_extra
    .post-content
    h2.entry-title
    a {
    margin-top: 0;
    font-size: 16px !important;
  }
}

/*
  ____ _____     _____      ____ ___  __  __ __  __ _   _ _   _ ___ _______   __
 |  _ \_ _\ \   / /_ _|    / ___/ _ \|  \/  |  \/  | | | | \ | |_ _|_   _\ \ / /
 | | | | | \ \ / / | |    | |  | | | | |\/| | |\/| | | | |  \| || |  | |  \ V /
 | |_| | |  \ V /  | |    | |__| |_| | |  | | |  | | |_| | |\  || |  | |   | |
 |____/___|  \_/  |___|    \____\___/|_|  |_|_|  |_|\___/|_| \_|___| |_|   |_|

*/

/* 
** CENTRER DU CONTENU VERTICALEMENT 
** Voir tuto : https://www.divi-community.fr/snippets-divi/centrer-du-contenu-verticalement
*/

.dc-centrer-verticalement {
  display: flex;
  flex-direction: column;
  justify-content: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
}

/*
** INVERSER LE SENS DES COLONNES SUR MOBILE
** Voir tuto : https://www.divi-community.fr/snippets-divi/inverser-ordre-des-colonnes-sur-mobile
*/

@media only screen and (max-width: 980px) {
  .dc-inverser-colonnes--section .dc-inverser-colonnes--ligne {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: column-reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }
}

/*
** MENU MOBILE : en pleine largeur et le hamburger devient une croix pour fermer
*/

.et_mobile_menu {
  margin-left: -30px;
  padding: 5%;
  width: calc(100% + 60px);
}

.mobile_nav.opened .mobile_menu_bar:before {
  content: "\4d";
}

/* 
** AUGMENTER LA LARGEUR CHAMP RÉSULTAT CAPTCHA 
** Parfois, suivant la taille du texte, certains chiffres du résultat sont masqués
*/
.et_pb_contact_right p input {
  max-width: 50px;
}

/*
** METTRE EXPOSANTS ET INDICES À LA BONNE TAILLE
** Généralement, ils sont bien trop gros…
*/
sup,
sub {
  font-size: 70%;
}

/* Les display pub - Réinitialiser tous les blocs */

.zero-margin {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Personnalisation menu Mayotte */

.menu-item-310719 a {
  color: red;
}

/* MODULE Saison cyclonique V2 - météo */

.saisoncyclonique_v2 .tag-eleanor {
  display: inline-flex;
}

.saisoncyclonique_v2 .tag-eleanor .post-media img {
  height: 110px !important;
}

.saisoncyclonique_v2 .post-content {
  width: 50% !important;
}

.saisoncyclonique_v2 .post-media {
  width: 50% !important;
  max-height: 146px;
}
.saisoncyclonique_v2 .post-content .entry-title {
  margin: 0 !important;
  padding: 0 !important;
}
.saisoncyclonique_v2 .post-data {
  display: none;
}

@media screen and (max-width: 425px) {
  .saisoncyclonique_v2 .et_pb_post_extra.el_dbe_grid_extended .post-content {
    padding: 5px 10px;
  }
}

/* menu mobile */

@media (max-width: 980px) {
  .menu-mobile-jo {
    display: block !important;
  }
}

.my_btn_commentaires {
  position: static;       /* plus d’absolu */
  display: inline-block;
  float: right;           /* s’aligne à droite sans chevaucher */
  margin: 0 0 8px 12px;   /* espace avec le texte */
  z-index: 1;             /* inutile mais ok */
}

.my_btn_commentaires .comments-number {
  border: 1px solid #c03232;
  border-radius: 0.3em;
  padding: 0.3em 1em;
  font-size: 0.9rem;
  background-color: #bf0f00;
  transition: box-shadow 0.3s ease-in-out, transform 0.2s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: inline-block;
  color: #fff !important;
}

.my_btn_commentaires .comments-number:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.my_btn_commentaires .comments-number a {
  color: white !important;
  text-decoration: none;
}
@media (max-width: 768px) {
  .my_btn_commentaires {
    float: none;              /* passe en ligne normale sur mobile */
    display: block;
    text-align: right;        /* aligne à droite sans flotter */
    margin: 0 0 8px 0;
  }
}
/*Button commentaire sur le coté de l'écran*/
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(120px);
  }
  to {
    opacity: 0.7;
    transform: translateX(0);
  }
}

@keyframes fadeOutLeft {
  from {
    opacity: 0.7;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(120px);
  }
}

.custom-respond-top {
  position: fixed;
  bottom: 7px;
  right: 42px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #bf0f00;
  color: white;
  cursor: pointer;
  padding: 6.42px;
  border-radius: 5px;
  font-size: 16px;
  visibility: hidden; /* Initial state */
}

.fadeInRight {
  animation: fadeInRight 1s forwards;
  visibility: visible;
}

.fadeOutLeft {
  animation: fadeOutLeft 1s forwards;
  visibility: visible;
}

/*Fix l'ouverture des deux menus au lancement d'une page*/
.menu-desktop,
.menu-mobile-jo {
  display: none;
}

@media (min-width: 981px) {
  .menu-desktop {
    display: block;
  }
}

@media (max-width: 980px) {
  .menu-mobile-jo {
    display: block;
  }
}

/*
*Update Home Zinfos
*By Sungie 07/08/2024
*/
/*GU*/

/*GU Title*/
.home-la-grande-une .GU-post-title {
  font-family: "Lato", Helvetica, Arial, Lucida, sans-serif !important;
  font-weight: 600 !important;
  font-size: 22px !important;
  line-height: 1.2em !important;
  text-align: left !important;
}

/*Meme Rubrique*/

.meme-rubrique-content {
  /* margin-top: 1em; */
  padding: 1em;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2em 4em;
  grid-template-rows: 1fr 1fr 1fr;
  padding-right: 1em;
  background-color: #f9f9f9;
  border-radius: 0.7em;
}

.meme-rubrique-titre {
  margin-bottom: 0 !important;
}

.meme-rubrique-item {
  font-size: 18px;
  line-height: 1.1;
}

.meme-rubrique-item:nth-child(3n) {
  margin-right: 0;
}

.meme-rubrique-item a {
  color: #000;
  text-decoration: none;
  font-weight: bold;
}

.meme-rubrique-item a:hover {
  text-decoration: underline;
}

.meme-rubrique-content:after {
  content: "";
  width: 100px;
  height: 6px;
  background-color: #d9534f;
  display: block;
  margin-top: 15px;
  margin-left: auto;
  margin-right: auto;
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
}

.et_pb_menu_page_id-435468 a {
  display: block;
  width: 16px;
  height: 16px;
  background-image: url("https://www.zinfos974.com/wp-content/uploads/2024/08/logo-home-accueil.png");
  background-size: cover;
  background-position: center;
  text-indent: -9999px; /* Cache le texte en le déplaçant hors de l'écran */
  overflow: hidden; /* Assure que le texte ne s'affiche pas */
  white-space: nowrap; /* Empêche le texte de se couper sur plusieurs lignes */
}

@media (max-width: 768px) {
  .meme-rubrique-content {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 0;
    align-items: center;
  }
  .meme-rubrique-item {
    width: 100%;
    margin-bottom: 0.5em;
  }
}

/* Supprimer tout padding qui pourrait affecter le positionnement */
.et_pb_menu_page_id-435468 {
  padding: 0;
}
/**/
.custom-excerpt {
  font-family: "Merriweather Sans", Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3em;
}

@media screen and (max-width: 768px) {
  .dual-sponsor-article {
    flex: 1; /* Deux articles côte à côte */
    display: flex;
    align-items: flex-start;
    box-sizing: border-box;
  }

  .sponsor-article-right,
  .dual-article-right {
    width: 40%;
    height: 140px;
  }

  .custom-sponsor-articles p {
    -webkit-line-clamp: 3;
  }
}

@media screen and (max-width: 1276px) {
  .row-sponsor-articles {
    grid-template-columns: 1fr;
  }
}

/* NEWSLETTER MAILPOET */

.mailpoet_confirm_unsubscribe {
  line-height: 2.1 !important;
}

.mailpoet_confirm_unsubscribe a {
  /* text-decoration: underline; */
  background-color: #bf0f00;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  margin-top: 20px;
  font-size: 20px;
}

.mailpoet_confirm_unsubscribe a:hover {
  background-color: #309544;
}

/*Chapô in articles*/
.first_paragraph {
  font-weight: bold;
  padding-bottom: 1em;
  font-style: italic;
}

/*Fix for link overflowing outside window on chrome browsers*/
a {
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

/* TEST intégration PATTERN  */

@media screen and (max-width: 768px) {
  .protagoniste .wp-block-columns-is-layout-flex {
    flex-direction: column;
  }
}

/*Style for [auteur_article] shortcode*/
.auteur-lien {
    color: #0073aa;
    text-decoration: none;
}
.auteur-lien:hover {
    text-decoration: underline;
}


/* Modification Vh sur lecteur et intégration vidéo  ex : dailymotion*/
.wp-block-embed__wrapper iframe {
    max-height: 50vh;
}

/*Fix decallage hauteur inter-titre */
.wp-block-heading {
    margin-top: 1em;
    line-height: 25px;
    padding-bottom: 1em;
}
