/* User guide page (help.php): readable text layout on top of the site style (main.css) */
.help {
    max-width: 62em;
    padding: 2em 0 4em 0;
    line-height: 1.65;
}
.help h1 {
    font-size: 2.2em;
    margin: 0 0 0.25em 0;
}
.help h2 {
    font-size: 1.55em;
    margin: 2em 0 0.75em 0;
    padding-top: 0.5em;
    border-top: solid 1px rgba(210, 215, 217, 0.75);
}
.help h3 { font-size: 1.2em; margin: 1.75em 0 0.6em 0; }
.help h4 { font-size: 1.05em; margin: 1.5em 0 0.5em 0; }
.help h2, .help h3, .help h4 { scroll-margin-top: 1em; }
.help p, .help ul, .help ol { margin: 0 0 1em 0; }
.help li > p { margin: 0 0 0.35em 0; }
.help ul ul, .help ol ul { margin: 0.35em 0 0.5em 0; }
.help-date { color: #7f888f; font-size: 0.95em; }

/* contents */
.help-toc {
    background: #eaf3fe;
    border-left: solid 4px #4897F8;
    border-radius: 0.375em;
    padding: 1em 1.5em 0.5em 1.5em;
    margin: 1.5em 0 2em 0;
}
.help-toc h2 { border: 0; margin: 0 0 0.5em 0; padding: 0; font-size: 1.2em; }
.help-toc ul { list-style: none; padding-left: 0; margin: 0 0 0.5em 0; }
.help-toc ul ul { padding-left: 1.5em; margin: 0.15em 0 0.4em 0; }
.help-toc li { margin: 0.1em 0; padding: 0; }
.help-toc a { border-bottom: 0; }
.help-top { text-align: right; font-size: 0.85em; margin: 2em 0 0 0; }
.help-top a { border-bottom: 0; color: #7f888f; }

/* tables: left-aligned text, no forced word breaks (main.css centres cells and breaks words) */
.help table { margin: 0.5em 0 1.75em 0; }
.help table th, .help table td {
    text-align: left;
    vertical-align: top;
    word-break: normal;
    overflow-wrap: break-word;
    padding: 0.5em 0.75em;
}
.help table tbody tr:nth-child(2n + 1) { word-break: normal; }

/* code */
.help code { margin: 0 0.1em; padding: 0.1em 0.4em; word-break: break-word; }
.help pre code { white-space: pre; word-break: normal; }

/* figures: centred, never wider than the column; click opens the full-size picture */
.help-fig { margin: 1.25em 0 2em 0; text-align: center; }
.help-fig a { border-bottom: 0; }
.help-fig img {
    max-width: 100%;
    height: auto;
    border: solid 1px rgba(210, 215, 217, 0.75);
    border-radius: 0.25em;
}
.help-fig figcaption {
    font-style: italic;
    color: #5f676c;
    font-size: 0.95em;
    margin-top: 0.5em;
}
