/* Events4Trucks V32 – browserübergreifendes Seitenscrollen, besonders Firefox */
html {
  width: 100% !important;
  height: auto !important;
  min-height: 100% !important;
  overflow-x: clip !important;
  overflow-y: scroll !important;
  scrollbar-gutter: stable;
}

body {
  width: 100% !important;
  height: auto !important;
  min-height: 100vh !important;
  max-height: none !important;
  overflow: visible !important;
}

.wrapper,
.module-wrapper {
  height: auto !important;
  min-height: 100vh !important;
  max-height: none !important;
  grid-template-rows: auto auto !important;
  align-items: start !important;
  overflow: visible !important;
}

.main,
.right,
.module-main,
.module-right,
.sidebar {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  overscroll-behavior: auto !important;
}

/* Verhindert, dass Grid-Kinder in Firefox den Scrollbereich abschneiden. */
.wrapper > *,
.module-wrapper > * {
  min-height: 0;
  min-width: 0;
}

@supports (-moz-appearance: none) {
  html { overflow-y: scroll !important; }
  body { overflow: visible !important; }
  .wrapper,
  .module-wrapper,
  .main,
  .right,
  .module-main,
  .module-right { overflow: visible !important; }
}

@media (max-width: 1050px) {
  .wrapper,
  .module-wrapper {
    grid-template-rows: auto auto auto !important;
  }
}
