/* The link under the login page's button. */
#login-footer .imprint-link {
  display: block;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  text-align: center;
}

/* The task menu's button: a document, in Elastic's icon font. */
#taskmenu a.imprint:before {
  content: "\f15c";
}

/* Logged in, in the content pane: a column of reading width. */
.task-imprint .imprint {
  max-width: 40rem;
}

/* The page on its own: on the login page's card, below its logo. Longer than
   a screen, so the layout scrolls (Elastic's hides what overflows), the card
   with a margin below it; on phones (Elastic's @screen-width-xs), where the
   card is the whole page, it grows with its text instead of being as high as
   the screen. */
.task-login .imprint {
  margin-top: 2rem;
}

.task-login.action-plugin-imprint #layout {
  overflow-y: auto;
}

.task-login.action-plugin-imprint #layout-content {
  margin-bottom: 2rem;
}

@media screen and (max-width: 480px) {
  .task-login.action-plugin-imprint #layout-content {
    align-self: flex-start;
    min-height: 100%;
    margin-bottom: 0;
  }
}

.imprint section + section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(128, 128, 128, 0.3);
}

.imprint h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.imprint h3 {
  margin: 1rem 0 0.25rem;
  font-size: 1rem;
  font-weight: bold;
}

.imprint p {
  margin-bottom: 0;
}

.imprint-back {
  margin: 2rem 0 0;
  text-align: center;
}
