/* center the AT ROLIDER welcome block */
#sp-top1,
#sp-top1 .sp-module,
#sp-top1 .sp-module-content,
#sp-top1 .custom {
  text-align: center;
}

/* parallax background for the SAFETY row */
#sp-new2 {
  background-image: url('../../../images/rolider_parallex.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 120px 0;
}

/* footer navy like the original */
#sp-footer,
#sp-footer1,
.sp-copyright {
  background-color: #1e1d4e !important;
}

/* stick footer to bottom of viewport */
html, body {
  height: 100%;
  margin: 0;
}
body.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body.site > .body-wrapper,
body.site #sp-main-body,
body.site .body-innerwrapper {
  flex: 1 0 auto;
}
#sp-footer {
  flex-shrink: 0;
  margin-bottom: 0;
}

/* fallback: wrapper as the flex container */
.body-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.body-innerwrapper {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}
.body-innerwrapper > #sp-footer {
  margin-top: auto;
}


/* parallax effect on the SAFETY row */
#sp-new2 {
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* SAFETY row — shorter band, not a tall square */
body.itemid-437 #sp-new2 {
  padding: 60px 0 !important;
  min-height: 0 !important;
}

/* Machinery / Building — full-bleed rows */
#sp-section > .container,
#sp-section-7 > .container,
#sp-section > .container-fluid,
#sp-section-7 > .container-fluid {
  max-width: 100%;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}
#sp-position5 img,
#sp-position6 img {
  width: 100%;
  height: auto;
  display: block;
}

/* hide the SAFETY row everywhere except home */
body:not(.itemid-437) #sp-new2 {
  display: none !important;
}

/* full-width slider */
#sp-slider > .container,
#sp-slider > .container-fluid {
  max-width: 100%;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}
#sp-slider .sp-column,
#sp-slider .row {
  padding: 0;
  margin: 0;
}
