/**
 * @file
 * Structural styling for the document viewer formatter.
 *
 * Deliberately minimal and unopinionated about colour: the height comes from
 * the formatter's own setting as an inline style, and the theme is free to
 * restyle the fallback text. This only guarantees the frame fills its container
 * and does not carry a browser default border, which the pdf_reader module's
 * hard-coded width/height attributes used to handle.
 */
.document-viewer .pdf-reader-frame {
  display: block;
  width: 100%;
  min-height: 320px;
  border: 0;
}

.document-viewer .pdf-reader-fallback {
  margin: 0.75rem 0 0;
}

/* No frame is rendered for a type the browser cannot display in place, so the
   link is the whole content rather than a footnote to it. */
.document-viewer .pdf-reader-frame + .pdf-reader-fallback {
  font-size: 0.875em;
}
