/* Shared layout of the viewer pages: a dark header bar above a full-height viewer. */
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; font-family: system-ui, sans-serif; }
body { display: flex; flex-direction: column; }
body > header { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline;
                padding: 8px 16px; background: #111; color: #eee; font-size: 14px; }
body > header h1 { margin: 0; font-size: 16px; }
body > header h1 a { color: inherit; text-decoration: none; }
body > header a { color: #9cf; }
body > header .spacer { flex: 1; }
#viewer { display: block; flex: 1; min-height: 0; position: relative; }
/* "iiif" in the IIIF logo colors: blue, red, blue, red */
.iiif span:nth-child(odd) { color: #0075a4; }
.iiif span:nth-child(even) { color: #ee2635; }
