/* ============================================
   ACCUEIL
   ============================================ */
   /*pub accueil*/

#column-wrap-id-ffcd8be6-6481-406a-87d2-05e65d82e1de {
  max-width: 100% !important;
  flex-basis: 100% !important;
}


  #column-wrap-id-5ef19616-19b4-44a6-822d-025940636b72 {
    max-width: 100% !important;
  flex-basis: 100% !important;
  }




/* ============================================
   LISTE D'ARTICLES ET CATÉGORIES
   ============================================ */

/* Masquer les images dans l'intro des articles principaux */
.article-list.articles-leadingprincipal .article-introtext img {
    display: none;
}

/* Style des liens "Lire la suite" */
.article-list .article .readmore a:not(.btn) {
    color: #ce0202;
    font-weight: 700;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-transform: uppercase;
}

.article-list .article .readmore a:not(.btn):hover {
    color: #121212;
}


/* ============================================
   PAGE ARTICLE
   ============================================ */

.article-details img,
.article-intro-image.float-left {
    max-width: 625px;
}

/* Bloc de texte avec fond gris */
p.gris {
    background: #212529;
    color: #ffffff;
    padding: 10px;
}

/* ============================================
   PAGE NOUS JOINDRE
   ============================================ */


/*boutons formulaires*/
.rsform-type-submitbutton .uk-button-primary {
    background: #ce0202;
    padding-top: 6px;
    padding-right: 30px;
    padding-bottom: 6px;
    padding-left: 30px;
    font-weight: 600;
    border-radius: 5px;
    font-size: 16px;
}

.rsform-type-submitbutton .uk-button-primary:hover {
    background: #212529 !important;
    padding-top: 6px;
    padding-right: 30px;
    padding-bottom: 6px;
    padding-left: 30px;
    font-weight: 600;
    border-radius: 5px;
    font-size: 16px;
}

.sppb-addon.sppb-addon-module.formulaire-anonyme {
    margin-top: -20px;
}

.btn-primary {
    background: #ce0202;
    padding-top: 6px;
    padding-right: 30px;
    padding-bottom: 6px;
    padding-left: 30px;
    font-weight: 600;
    border-radius: 5px;
    font-size: 16px;
}


.btn-primary:hover {
    background: #212529 !important;
    padding-top: 6px;
    padding-right: 30px;
    padding-bottom: 6px;
    padding-left: 30px;
    font-weight: 600;
    border-radius: 5px;
    font-size: 16px;
}

/* ============================================
   BOUTONS
   ============================================ */

.btn.btn-sm.btn-secondary {
    background: #212529;
    border: 0;
    margin-bottom: 20px;
}

.btn.btn-sm.btn-secondary:hover {
    background: #ce0202;
}

.sppb-btn-custom {
    text-transform: uppercase;
    font-weight: 600 !important;
}

.sppb-btn-custom:hover {
    background-color: #212529 !important;
    color: #ffffff;
}


/* ============================================
   EN-TÊTES ET TITRES
   ============================================ */
/*top-bar*/
#sp-top1 {
    width: 20%;}


#sp-top2 {
    width: 70%;}


#sp-top3 {
    width: 10%;}



/* En-tête de page */
.sp-page-title {
    padding: 20px 0 10px 0;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    background-color: #212529;
    position: relative;
}

.header-style-1 .sp-page-title .sp-page-title-heading {
    padding-bottom: 14px;
    position: relative;
    text-transform: uppercase;
    font-size: 24px;
}

.sp-page-title .sp-page-title-heading,
.sp-page-title .sp-page-title-sub-heading {
    margin: 0;
    padding: 0;
    color: #ffffff;
}

/* Fil d'Ariane */
.sp-page-title .breadcrumb > span,
.sp-page-title .breadcrumb > li,
.sp-page-title .breadcrumb > li + li:before,
.sp-page-title .breadcrumb > li > a {
    color: #ffffff;
    font-size: 14px;
}

.sp-page-title .breadcrumb>.active {
    color: #ffffff;
    font-weight: 600;
}

/* Titre H3 avec ligne de soulignement */
h3.sp-page-title-heading {
    position: relative;
    color: #000;
    padding-bottom: 20px;
    margin-bottom: 30px;
    display: block;
}

/* Ligne grise pleine largeur */
h3.sp-page-title-heading::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 1px;
    width: 100%;
    height: 2px;
    background: var(--bs-border-color);
    z-index: 1;
}

/* Ligne rouge courte */
h3.sp-page-title-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: var(--primary_color);
    z-index: 2;
}

/* Titre rouge */
h3.rouge {
    background: #ce0202;
    color: #fff !important;
    line-height: 2.2em;
}

/* Addon avec ligne rouge */
[class*="title-1"].sppb-addon .sppb-addon-title::after {
    content: "";
    width: 60px;
    height: 4px;
    background: #ce0202;
    position: absolute;
    left: 0;
    bottom: 0;
}

.sppb-addon.sppb-addon-header.titre-ligne {
    border-bottom: 2px solid var(--bs-border-color);
    margin-bottom: 30px;
}


/* ============================================
   SIDEBAR - MODULES
   ============================================ */

/* Espacement des listes dans la sidebar */
#sp-left .sp-module ul > li,
#sp-right .sp-module ul > li {
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
}

.sp-module-content li {
    list-style: none !important;
}

/* Publireportages */
.ut-articles-pro.publireportage .article-list .article .article-header h3 {
    font-size: 1.2em;
    line-height: 1.2em;
}

/* Date des articles */
dd.mod-articles-date {
    font-size: 0.813rem;
    margin-bottom: -5px;
}

dd.mod-articles-date .fa-fw,
.icon-fw {
    display: none;
}

/*envoyez vos infos sidebar*/
.sp-module.infos-sidebar {
    background: #212529;
    padding-top: 35px;
    padding-right: 20px;
    padding-bottom: 0px;
    padding-left: 20px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    color: #f1f1f1;
}



.infos-sidebar h3.sp-module-title {
color:#fff;
padding-bottom:10px;
}

.infos-sidebar h3.sp-module-title:after {
    content: "";
    width: 60px;
    height: 4px;
    background: #ce0202;
    position: absolute;
    left: 0;
    bottom: 0;
}


.infos-sidebar h3.sp-module-title:before {
    content: "";
    width: 100%;
    height: 2px;
    background: var(--bs-border-color);
    display: block;
    position: absolute;
    bottom: 1px;
    left: 0;
}

/* ============================================
   MODULE HEADLINE (À LA UNE)
   ============================================ */

/* Organisation des éléments */
.sp-module.headline .mod-articles-item-content {
    display: flex;
    flex-direction: column;
}

/* Ordre d'affichage: Badge Featured → Tags → Titre → Date */
.sp-module.headline .mod-articles-featured-label {
    order: 1;
    margin-bottom: 0.3rem;
}

.sp-module.headline .mod-articles-tags {
    order: 2;
    margin-bottom: 0.3rem;
    margin-left: -10px;
}

.sp-module.headline .mod-articles-title {
    order: 3;
    font-size: 1.2rem;
}

.sp-module.headline dl.list-unstyled {
    order: 4;
}

/* Badge "Featured" */
.sp-module.headline .featured-badge {
    display: inline-block;
    border-radius: 0;
    padding: 2px 10px !important;
    font-weight: 600;
    line-height: 24px !important;
    font-size: 0.75em;
    background: var(--primary_color);
    color: var(--primary_color_contrast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0.3125rem 0;
}

/*module à la une sur page caméras sp-page-builder*/
.a-la-une h3.sppb-addon-title:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 1px;
    width: 100%;
    height: 2px;
    background: var(--bs-border-color);
    z-index: 1;
}


.a-la-une h3.sppb-addon-title:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: var(--primary_color);
    z-index: 2;
}


.a-la-une h3.sppb-addon-title {
    position: relative;
    color: #000;
    padding-bottom: 20px;
    margin-bottom: 30px;
    display: block;
}

.a-la-une li {
    list-style: none !important;
}

.a-la-une .featured-badge {
    display: inline-block;
    border-radius: 0;
    padding: 2px 10px !important;
    font-weight: 600;
    line-height: 24px !important;
    font-size: 0.75em;
    background: var(--primary_color);
    color: var(--primary_color_contrast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0.3125rem 0;
}




/* ============================================
   Module abonnement à l'infolettre / iframe
   ============================================ */

.ml-embed {
  max-width: 400px;      
  width: 100%;
    margin-top: -26px;
}

.ml-embed iframe{
  border: 0;
  width: 100%;
  height: 560px;         
  display: block;
}

.ml-embed-accueil {
  max-width: 400px;     
  width: 100%;
}

.ml-embed-accueil iframe{
  border: 0;
  width: 100%;
  height: 479px;
  display: block;
}





/* ============================================
   TAGS
   ============================================ */

.sp-module.headline .tags > li a {
    padding: 2px 10px !important;
    font-weight: 600;
    line-height: 24px !important;
    font-size: 0.75em;
    background: #121212;
    color: var(--primary_color_contrast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sp-module.headline .mod-articles-tags .tags {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sp-module.headline .mod-articles-tags .tags li {
    display: inline;
    margin-right: 6px;
}

/* Tag "Dernière heure" */
.sp-module.headline .mod-articles-tags a[href*="derniere-heure"],
.sp-module.headline .mod-articles-tags a[title*="Dernière heure"] {
    background: var(--headings_color);
    color: #fff;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-decoration: none;
}

.mod-articles-item-content .tags {
    display: inline-flex;
}

.mod-articles-item-content .mb-4 {
    margin-bottom: 0 !important;
}

.mod-articles-labels {
    margin-bottom: 5px;
}

/* ============================================
   Pages circulation
   ============================================ */

.camera-left {
    width:50%;
    float:left;
}


.camera-right {
    width:50%;
    float:right;
}

.camera-left li {
list-style: none !important;
padding-left:0;
padding-bottom:10px;
margin-left:-25px;
}

.camera-left a {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
font-size: 1.1rem;
}

/*résultats de recherche*/
li.result__taxonomy-item.result__taxonomy--Author {
    display: none;
}




/* ============================================ 
   RESPONSIVE 
   ============================================ */

/* Styles communs pour le menu (utilisés dans plusieurs breakpoints) */
.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
}

.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span {
    display: inline-block;
    line-height: 70px;
    margin: 0;
    position: relative;
    text-transform: uppercase;
    font-weight: 700;
}

/* ============================================ 
   MIN-WIDTH 1200px 
   ============================================ */
@media (min-width: 1200px) {
    /* Actualités page d'accueil */
    .gnews-media-same-content .article-list .article .media-right-xl .article-intro-image img,
    .gnews-media-same-content .article-list .article .media-left-xl .article-intro-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: auto !important;
        object-fit: cover;
    }
}

/* ============================================ 
   MAX-WIDTH 1399px 
   ============================================ */
@media (max-width: 1399px) {
    /* Menu principal */
    .sp-megamenu-parent > li > a,
    .sp-megamenu-parent > li > span {
        padding: 0 10px !important;
    }
    
    .sp-megamenu-parent > li > a,
    .sp-megamenu-parent > li > span,
    .sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {
        font-size: 0.95rem !important;
    }

    /* Abonnement à l'infolettre */
    .ml-embed iframe {
        height: 635px;
    }
    
    .ml-embed-accueil iframe {
        height: 479px;
    }

    /* Articles carousel */
    .articles-carousel-2 .article-header h3 {
        font-size: 1.1rem !important;
    }
}

/* ============================================ 
   MAX-WIDTH 1200px 
   ============================================ */
@media (max-width: 1200px) {
    /* Menu principal */
    .sp-megamenu-parent > li > a,
    .sp-megamenu-parent > li > span {
        padding: 0 7px !important;
    }
    
    .sp-megamenu-parent > li > a {
        font-size: 0.90rem !important;
    }
    
    .header-modules {
        margin-left: 5px;
        position: relative;
    }

    /* Caméras */
    .camera-left {
        width: 100%;
        margin-left: 0px !important;
    }
    
    .camera-right {
        width: 100%;
        float: left;
    }
    
    .camera-right img {
        width: 100%;
        float: left !important;
    }
}

/* ============================================ 
   MAX-WIDTH 1199px 
   ============================================ */
@media (max-width: 1199px) {
    /* Top-bar */
    #sp-top-bar .container {
        max-width: 1099px !important;
    }

    /* Menu principal */
    .header-modules {
        margin-left: 20px !important;
        position: relative;
    }
    
    .sp-megamenu-parent > li > a,
    .sp-megamenu-parent > li > span,
    .sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {
        font-size: 0.90rem !important;
    }
    
    .sp-megamenu-parent > li > a,
    .sp-megamenu-parent > li > span {
        padding: 0 7px !important;
    }
}

/* ============================================ 
   MIN 992px - MAX 1199px 
   ============================================ */
@media (min-width: 992px) and (max-width: 1199px) {
    /* Les deux premiers articles de chaque rangée de 3 */
    .article-list.cols-3 .col-lg-4:nth-child(1),
    .article-list.cols-3 .col-lg-4:nth-child(2) {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    /* Le troisième article de chaque rangée prend toute la largeur */
    .article-list.cols-3 .col-lg-4:nth-child(3) {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    /* Avis de recherche carousel en sidebar page d'accueil */
    .avisderecherche .ut-articles-carousel .uac-navigation {
        margin: 0 -75px;
    }

    .avisderecherche .articles-carousel-2 .uac-navigation>div {
        padding: 4px 5px;
        border: 1px solid var(--text_color);
    }

    .avisderecherche .ut-articles-carousel .uac-navigation>div {
        display: inline-block;
        margin: 0 2px;
        cursor: pointer;
        line-height: 1;
        padding: 5px;
        user-select: none;
    }
}

/* ============================================ 
   MAX-WIDTH 991px 
   ============================================ */
@media (max-width: 991px) {
    /* Abonnement à l'infolettre */
    .ml-embed iframe {
        height: 560px;
    }
    
    .ml-embed-accueil iframe {
        height: 528px;
    }

    .logo-image-phone {
        height: 60px !important;}

}

/* ============================================ 
   MAX-WIDTH 768px 
   ============================================ */
@media (max-width: 768px) {
    /* Top-bar */
    #sp-top2 {
        width: 90% !important;
    }
    
    #sp-top3 {
        width: 10%;
    }
    
    .menu.menu-horizontal > li {
        margin: 2px 8px;
        font-size: 0.9em;
    }
    
    span.fab.fa-facebook {
        font-size: 1.2em;
    }

    /* Abonnement à l'infolettre */
    .ml-embed {
        max-width: 100%;
    }
    
    .ml-embed iframe {
        height: 620px;
    }
    
    .ml-embed-accueil {
        max-width: 100%;
    }
    
    .ml-embed-accueil iframe {
        height: 462px;
    }


    /*images des articles*/
    .article-details img, .article-intro-image.float-left {
    max-width: 510px;
    }

}
  

  /* ============================================ 
   MIN-WIDTH 577px  (partout sauf mobile)
   ============================================ */
   @media (min-width: 577px) {

 .mobile-seulement {
    display:none !important;
    }

    .no-mobile {
    display:block !important;
    }

    

    }

/* ============================================ 
   MAX-WIDTH 576px 
   ============================================ */

   @media (max-width: 576px) {
    /*images des articles*/
.article-details img, .article-intro-image.float-left {
    max-width: 100% !important;
    }


    .logo-image-phone {
        height: 50px !important;}




    .mobile-seulement {
    display:block !important;
    }

    .no-mobile {
    display:none !important;
    }


    }



/* ============================================ 
   MAX-WIDTH 473px 
   ============================================ */
@media (max-width: 473px) {
    .ml-embed-accueil {
        max-width: 100%;
    }
    
    .ml-embed-accueil iframe {
        height: 482px;
    }
}