/*
   PHP manual (PhD "PHP-Web" output) inside the NuSphere KB frame.
   Mimics the look of the 2006 manual in kb/phpmanual/: brown headings,
   grey example boxes, plain synopses. Everything is scoped to
   .phpmanual85, which include/shared-manual.inc wraps around the content.
*/

/* Fixed width: the KB frame is an auto-layout table, so without it a long
   code line widens the content cell and squeezes the sidebar. */
.phpmanual85 { color: #575757; line-height: 140%; overflow-wrap: break-word; width: 585px; }

/* --- headings ------------------------------------------------------- */
#wrapper-content-kb .phpmanual85 h1 { padding: 10px 0 4px 0; }
#wrapper-content-kb .phpmanual85 h2,
#wrapper-content-kb .phpmanual85 h3.title,
#wrapper-content-kb .phpmanual85 .refsect1 > h3 {
    padding: 10px 0 5px 0; margin: 0; color: #756A58; font-size: 20px; line-height: 23px; font-weight: bold;
}
#wrapper-content-kb .phpmanual85 h4,
#wrapper-content-kb .phpmanual85 .sect2 > h3.title,
#wrapper-content-kb .phpmanual85 .sect3 > h4.title { font-size: 16px; color: #756A58; padding: 8px 0 4px 0; margin: 0; }

/* --- reference entry header: "(PHP 4, PHP 5) name -- purpose" -------- */
.phpmanual85 .refnamediv { margin-bottom: 6px; }
.phpmanual85 p.verinfo { margin: 0; font-size: 12px; color: #888; }
.phpmanual85 p.refpurpose { margin: 2px 0 6px 0; }
.phpmanual85 p.refpurpose .refname { font-weight: bold; }

/* --- synopses ------------------------------------------------------- */
.phpmanual85 .methodsynopsis,
.phpmanual85 .constructorsynopsis,
.phpmanual85 .destructorsynopsis,
.phpmanual85 .classsynopsis,
.phpmanual85 .fieldsynopsis {
    font-family: "Courier New", Courier, monospace; font-size: 13px; line-height: 150%;
}
.phpmanual85 .methodsynopsis,
.phpmanual85 .constructorsynopsis,
.phpmanual85 .destructorsynopsis { margin: 6px 0 10px 0; }
.phpmanual85 .classsynopsis { background: #f0f0f0; padding: 8px 10px; margin: 8px 0 12px 0; }
.phpmanual85 .classsynopsis .methodsynopsis,
.phpmanual85 .classsynopsis .constructorsynopsis,
.phpmanual85 .classsynopsis .destructorsynopsis,
.phpmanual85 .classsynopsis .fieldsynopsis { margin: 0 0 0 20px; }
.phpmanual85 .classsynopsisinfo { margin: 2px 0; }
.phpmanual85 .classsynopsisinfo_comment { margin: 6px 0 2px 20px; color: #888; }
.phpmanual85 .methodname strong,
.phpmanual85 .methodname { font-weight: bold; }
.phpmanual85 code.parameter,
.phpmanual85 var.varname,
.phpmanual85 .varname { font-style: italic; font-family: inherit; }
.phpmanual85 .methodsynopsis code.parameter { font-family: inherit; }
.phpmanual85 .type, .phpmanual85 .modifier { color: #575757; }
.phpmanual85 code, .phpmanual85 .literal, .phpmanual85 .filename, .phpmanual85 .command {
    font-family: "Courier New", Courier, monospace;
}

/* --- examples: grey box like the old BGCOLOR="#E0E0E0" tables ------- */
.phpmanual85 .example,
.phpmanual85 .informalexample { margin: 10px 0; }
.phpmanual85 .example > p strong { color: #575757; }
.phpmanual85 .phpcode,
.phpmanual85 .example-contents.screen,
.phpmanual85 .cdata,
.phpmanual85 pre.programlisting,
.phpmanual85 pre.screen {
    background: #E0E0E0; padding: 5px; margin: 4px 0 8px 0; overflow-x: auto;
}
.phpmanual85 .example-contents.screen { background: #F0F0F0; }
.phpmanual85 .example-contents.screen .cdata { background: none; padding: 0; margin: 0; }
.phpmanual85 pre {
    font-family: "Courier New", Courier, monospace; font-size: 12px; line-height: 130%;
    margin: 0; padding: 0; white-space: pre; background: transparent; border: 0; color: #000;
}
.phpmanual85 .phpcode code { font-family: inherit; }

/* --- notes, warnings ------------------------------------------------ */
/* block containers only: the "Note"/"Warning" labels are <strong> with the same class */
.phpmanual85 div.note, .phpmanual85 blockquote.note,
.phpmanual85 div.tip, .phpmanual85 blockquote.tip,
.phpmanual85 div.warning,
.phpmanual85 div.caution,
.phpmanual85 div.important { margin: 10px 0; padding: 4px 10px; border-left: 4px solid #ccc; background: #f7f7f7; }
.phpmanual85 div.warning,
.phpmanual85 div.caution { border-left-color: #c72e00; background: #fbf0ec; }
/* notes are <blockquote>, which Blueprint indents and italicises */
.phpmanual85 blockquote { font-style: normal; color: inherit; }
.phpmanual85 blockquote.note { margin: 10px 0; }
.phpmanual85 .note p,
.phpmanual85 .tip p { margin: 3px 0; }

/* --- tables: undo the KB frame's floated cells ---------------------- */
#wrapper-content-kb .phpmanual85 table.doctable {
    width: 100%; border-collapse: collapse; margin: 8px 0 12px 0;
    border: 1px solid #ccc !important;
}
#wrapper-content-kb .phpmanual85 table.doctable th,
#wrapper-content-kb .phpmanual85 table.doctable td {
    float: none; border: 1px solid #ccc; padding: 3px 6px; font-size: 12px; color: #575757;
}
#wrapper-content-kb .phpmanual85 table.doctable th { background: #E0E0E0; font-weight: bold; }
#wrapper-content-kb .phpmanual85 table.doctable caption { float: none; font-weight: bold; padding: 4px 0; }

/* --- lists ---------------------------------------------------------- */
.phpmanual85 dl { margin: 6px 0; }
.phpmanual85 dt { margin-top: 6px; }
.phpmanual85 dd { margin: 2px 0 6px 20px; }
.phpmanual85 dd > p.para:first-child { margin-top: 0; }
#wrapper-content-kb .phpmanual85 ul.chunklist { padding-top: 2px; }
#wrapper-content-kb .phpmanual85 ul.chunklist_children { padding-top: 0; }
.phpmanual85 .simplelist { margin: 4px 0; }

/* --- misc ----------------------------------------------------------- */
.phpmanual85 img { max-width: 100%; height: auto; }
/* Blueprint turns .info into a blue message box */
.phpmanual85 .info { background: none; border: 0; padding: 0; margin: 0 0 6px 0; color: inherit; }
.phpmanual85 .info .pubdate { color: #888; font-size: 12px; }
.phpmanual85 .annotation-interactive { position: static; }

/* sidebar entry separating deprecated siblings */
#manualtoc li.header_0 { margin-top: 8px; font-weight: bold; color: #756A58; }
