/* Y-CARE: suppression des espaces externes entre header, page et footer */
html, body.page {
  margin: 0 !important;
  padding: 0 !important;
}

body.page #page-container,
body.page #et-main-area,
body.page #main-content,
body.page main,
body.page article.page,
body.page .entry-content,
body.page .et-l--post,
body.page .et_builder_inner_content,
body.page .elementor,
body.page .elementor-page,
body.page .elementor-location-single {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.page #main-content > .container,
body.page #main-content > .container-fluid,
body.page article.page > .entry-content,
body.page .entry-content > .elementor,
body.page .entry-content > .et-l--post,
body.page .elementor > .elementor-element:first-child,
body.page .elementor > .elementor-element:last-child,
body.page .et_builder_inner_content > .et_pb_section:first-child,
body.page .et_builder_inner_content > .et_pb_section:last-child {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.page .ycare-cookiebeleid,
body.page .ycare-cookie-page,
body.page .ycare-cookie-wrap,
body.page .ycare-algemene-voorwaarden,
body.page .ycare-av-wrap,
body.page .ycare-legal-page {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.page footer,
body.page #main-footer,
body.page .et-l--footer,
body.page .elementor-location-footer {
  margin-top: 0 !important;
}

/* Empêche un filet blanc résiduel d'un pixel */
body.page #main-content,
body.page .entry-content,
body.page .et-l--post,
body.page .elementor {
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* Les sections vides injectées par le builder ne doivent plus créer de bande */
body.page .ycare-empty-seam {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}


/* Force le dernier bloc à coller au footer */
body.page #main-content,
body.page .site-main,
body.page article.page,
body.page .entry-content,
body.page .elementor-location-single,
body.page .elementor-widget-wrap{
    margin-bottom:0!important;
    padding-bottom:0!important;
}
body.page .elementor-section:last-of-type,
body.page .et_pb_section:last-child,
body.page .elementor-top-section:last-child{
    margin-bottom:0!important;
    padding-bottom:0!important;
}
body.page #main-footer,
body.page footer,
body.page .elementor-location-footer{
    margin-top:-1px!important;
}
