#rec1248315426,
#rec1248619266,
#rec1248636746 {
  scroll-margin-top: 80px;
}

/* On legacy content pages the section menu is emitted before the article.
   Move it below the article on phones so the requested content is visible
   immediately, while keeping the section links available further down. */
@media screen and (max-width: 900px) {
  body.t-body,
  body.t-body > #allrecords {
    display: flex;
    flex-direction: column;
  }

  body.t-body > #allrecords {
    order: 0;
  }

  body.t-body > .page-content {
    order: 1;
  }

  body.t-body > .lmenuTable {
    order: 2;
  }

  body.t-body > :not(#allrecords):not(.page-content):not(.lmenuTable) {
    order: 3;
  }

  #allrecords > :first-child {
    order: 0;
  }

  #allrecords > .page-content {
    order: 1;
  }

  #allrecords > .lmenuTable {
    order: 2;
  }

  #allrecords > :not(:first-child):not(.page-content):not(.lmenuTable) {
    order: 3;
  }
}
