.sbdocs-content.sbdocs {
  max-width: none;
}

.sbdocs.sbdocs-wrapper {
  padding-top: 2rem;
}

.docs-story, .innerZoomElementWrapper > div > div {
  min-height: 200px;
}

.docs-story .artwork-wrapper {
  min-height: 660px;
}

#docs-root .docs-story .header-search {
  position: relative;
  max-height: 600px;

  .search-submit {
    position: absolute;
  }
}

#docs-root .search-filter-form .search-submit {
  position: absolute;
}

#docs-root .page-header {
  position: absolute;

  .search, nav, .ihk-switch, .toplink {
    display: none;
  }
}

#docs-root .magazine-cover .col {
  margin-bottom: 40px;
}

.docblock-argstable-body {
  input[type=checkbox]:checked, input[type=radio]:checked {
    background-color: transparent;
    background-image: none;
  }
}

.sb-show-main.sb-main-padded {
  padding: 20px;
}

#story--atoms-search-button--search-button .search-submit {
  position: relative;
}

#root > .ihk-switch, #docs-root .ihk-switch {
  position: relative;
  top: 0;
  left: 0;
  min-height: 280px;
}

#root > .magazine-cover .col {
  margin-bottom: 0;
}

#root > .tile-grid .tile-head {
  top: 0;
}

#root > .header-search {
  --header-height: 0px;
}

#root > blockquote {
  max-width: 880px;
  margin-top: 0;
  margin-bottom: 0;
}

.sb-main-padded.sb-show-main > #root > section,
.sb-main-padded.sb-show-main > #root > .print-share,
.sb-main-padded.sb-show-main > #root > .anchor-links,
.sb-show-main > #root > .page-footer,
.sb-show-main > #root > .search-results > .results-wrapper:first-child {
  margin-top: 0;
}

.sb-main-padded.sb-show-main > #root > .event-teaser {
  max-width: 1340px;
}

.sb-main-padded.sb-show-main > #root > .a-z {
  max-width: 880px;

  .letters {
    top: 0;
  }
}

.sb-main-fullscreen.sb-show-main > #root > section,
#root > .tabs {
  margin-top: 0;

  &.rotation, &.infobanner, &.social, &.search, .survey, &.magazine-cover {
    margin-top: 20px;
  }
}

.sb-main-fullscreen.sb-show-main > #root > section {
  &.intro,
  &.teasers:not([data-background]) {
    margin-top: var(--section-margin);
  }
}

.sb-main-padded.sb-show-main > #root, .docs-story [id] > div {
  > .steps,
  > .newsletter-teaser,
  > .infobox,
  > .document-list,
  > .search-results,
  > .accordion,
  > .linklist,
  > .search-filter-form,
  > .participation-list-item,
  > .video,
  > .login-form {
    --content-box-padding: 42px;
    max-width: 880px;
    margin: 0;

    @media(max-width: 767px) {
      --content-box-padding: 16px;
    }
  }

  > .accordion > .title {
    margin-top: 0.2em;
  }

  > .teaser,
  > .topic-teaser,
  > .participation-teaser {
    max-width: 420px;
  }

  > [data-type='hero'], > .teaser.hero {
    max-width: 630px;
  }

  > [data-type='fullwidth'], > .teaser.fullwidth {
    max-width: 1340px;
  }

  > .contact-wrapper,
  > .link-collection {
    max-width: 1340px;
    margin: 0 auto;
  }
}

