/* réduire l'espace superieur dans les articles */
body.com_content.view-article #sp-main-body {
    padding-top: 50px;
}  
/* réduire l'espace supérieur dans les blogs d’articles */
body.com_content.view-category.layout-blog #sp-main-body {
    padding-top: 50px;
}
/* réduire l'espace supérieur dans les blogs d’articles épinglés */
body.com_content.view-featured #sp-main-body {
    padding-top: 50px;
}

/* Sécurité : supprimer la marge du paragraphe vide */
body.com_content.view-article
.sppb-title-subheading:empty {
    margin: 0;
    padding: 0;
    display: none;
}



/* Modifier la police des titres eventlist */
.default_eventlist .iceventlist-title {
  line-height: 20px !important;
  font-size: 1rem;
  font-weight: normal;
  hyphens: auto;
}
/* Modifier la police des titres mini front page */
.mfp_default_skin_card .mfp_default_item .mfp_default_title a {
  font-weight: 500 !important;
  font-size: 1rem !important;
}
/* Supprimer les majuscules du megamenu publications-édition */
.sp-megamenu-parent .sp-mega-group > li.item-header > a {
    text-transform: none;
    font-weight: 400;
}
/* Modification de la page agenda – iCagenda */
.ic-event-header,
.ic-info,
.ic-info-box {
    background: transparent !important;
}
.ic-event-header .title-cat {
    color: #0037DD !important;
}
.ic-info-box-header {
    background-color: #BECE00 !important;
}
.ic-info-box-header label {
    color: #000 !important;
    font-weight: normal;
}
/* sticky footer */
html,
body {
  height: 100%;
}

.body-innerwrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#sp-main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

#sp-main-body {
  flex: 1 0 auto;
}
/* Supprimer le badge Featured partout (blog + article) */
.badge.bg-danger {
  display: none !important;
}
