body {
  padding: 0px;
  font-size: 76%;
  font-family: helvetica, sans-serif;
}

h1.daisy-document-name {
  font-size: 1.9em;
  font-weight: normal;
  color: black;
}

/* redefined by jano

h1 {
  color: #693;
  font-weight: normal;
  font-size: 1.7em;
}

h2, h3, h4, h5 {
    margin-top: 1em;
    margin-bottom: .5em;
}

h4, h5 {
    font-size: 1em;
}

h2 {
  font-size: 1.4em;
  font-weight: normal;
  padding-bottom: 2px;
  border-bottom: 1px solid #e8e800;  
}

h3 {
  font-size: 1.1em;
  font-weight: bold;
}

h5 {
  font-style: italic;
}

*/

/*
h1 title = red
h1 = black
h2 = gray
h3 = red
h4 = black
h5 = gray
*/

h2, h3, h4, h5 {
    border: none;
    font-weight: bold;
    margin-top: 1.5em;
    margin-bottom: 0em; 
}

h1 {
    border: none;
    font-weight: bold;
    margin-top: 1em;
    margin-bottom: 0em; 
}


h1.daisy-document-name {
  margin-top: 0.1em;
  font-weight: bold;
  font-size: 18px;
  color: #CC1100;
}

h1 { font-size: 19px; }
h2 { font-size: 18px; }
h3 { font-size: 17px; }
h4 { font-size: 16px; }
h5 { font-size: 15px; font-style: normal; }

h1 { font-size: 17px; }
h2 { font-size: 17px; }
h3 { font-size: 15px; }
h4 { font-size: 15px; }
h5 { font-size: 14px; }


h1, h4  { color: black; }

h3 { color: #CC1100; }
h2, h5 { color: #777777; }


p.daisy-error {
  border: 1px solid #c03333;
  background-color: #f1b2b2;
  margin: .5em;
  padding: .2em .5em;
}

span.daisy-unresolved-variable {
  background-color: red;
  color: white;
}

img {
  border: 0px; /* otherwise img's inside a's have those fat blue boxes around them */
}

.doclinks h2 {
    font-size: 1em;
    font-weight: bold;
}


  /* color: #e5778f; */

p.signature {
  color: black;
}

  /* color: #e5118f; *//

p.author {
  color: #e5118f;
}
tab {
  padding-left: 5em;
}

p.note, p.warn, p.fixme, pre.query, pre.include, pre.query-and-include {
  border: 1px solid gray;
  margin: 1.5em;
  /* left padding margin is in pixels because the text needs to come
     to the right of the background image */
  padding: .2em .2em .2em 40px;
  background-position: 10px .2em;
  background-repeat: no-repeat;  
}

p.note, p.warn, p.fixme{
    min-height: 24px;
}

p.note {
  background-image: url("../images/note.png");
}
p.warn {
  background-image: url("../images/important.png");
}
p.fixme {
  background-image: url("../images/fixme.png");
}

/*
 * Usually these styles will only apply in the document editor, and could hence be
 * in htmlarea.css instead, however, they are also useful in the diff view.
 */
pre.query {
  background-image: url("../images/query.gif");
  padding-left: 60px;
}
pre.include {
  background-image: url("../images/include.gif");
  padding-left: 70px;
}
pre.query-and-include {
  /* the query-include icon is extra wide */
  padding-left: 108px;
  background-image: url("../images/query-and-include.gif");
}
pre {
  border: 1px solid gray;
  background-color: #eee;
  font-family: monospace;
}

span.indexentry {
    background-color: #9af6b2;
    border: 1px solid black;
}
span.subjectentry {
    background-color: yellow;
    border: 1px solid black;
}

span.highlight {
    color: #777777;
}





span.footnote {
    background-color: #e5887f;
    border: 1px solid black;
}

span.endnote {
    background-color: #6699ff;
    border: 1px solid black;
}

h1 span.footnote, h2 span.footnote, h3 span.footnote, h4 span.footnote, h5 span.footnote {
    font-size: normal;
    font-weight: normal;
}

h1 span.endnote, h2 span.endnote, h3 span.endnote, h4 span.endnote, h5 span.endnote {
    font-size: normal;
    font-weight: normal;
}


span.crossreference {
    background-color: #ff86e1;
    border: 1px solid black;
}
span.variable {
    background-color: #e8e6a7;
    border: 1px solid black;
}

/* Tables */

table.borderless, table.content, table.default, table.footnotes, table.endnotes, table.plainTable {
  border-spacing: 0em;
  border-collapse: collapse;
  font-size: 1em;
  margin-top: .3em;
  margin-bottom: .3em;
}

table.borderless tbody tr td, table.content tbody tr td, table.default tr td, table.default tr th  {
  padding: .2em .3em .2em .3em;
}

table.borderless tbody tr th, table.content tbody tr th {
  background-color: #ddd;
  padding: .2em .3em .2em .3em;
}

table.content tbody tr td, table.default tr td, table.content tbody tr th, table.default tr th  {
  border: 1px solid gray;  
}

table.footnotes {
    margin: 1em;
    padding-top: 0.5em;
    border-top: 1px solid gray;
}

table.footnotes tbody tr td {
    vertical-align: top;
    padding-bottom: .3em;
}

table.endnotes {
    margin: 1em;
    padding-top: 0.5em;
    border-top: 1px solid gray;
}

table.endnotes tbody tr td {
    vertical-align: top;
    padding-bottom: .3em;
}


/*
* Styles specific for the document page
*/
div.info-message {
  border: 1px solid gray;
  padding: 1em;
  margin: 1em;
  background-color: #f5fd9d;
}

.commentsTitle {
  font-size: 130%;
  font-weight: bold;
}

#commentContainer {
  margin-top: 2em;
}

div.comments {
  margin-top: 20px;
  margin: 8px;
}

div.comment {
  padding: 8px;
  margin-top: 8px;
  margin-bottom: 8px;
}

div.publicComment {
  border: 1px solid #729c9a;
  /* background-color: #b4fdf9; */
}

div.editorsComment {
  border: 1px solid #ee7600;
  /* background-color: #eebd8d; */
}

div.privateComment {
  border: 1px solid #de005e;
  /* background-color: #d9a3ba; */
}

div.commentheader {
  font-size: small;
  font-weight: bold;
  padding-left: 20px;
  background-position: 0px 0px;
  background-repeat: no-repeat;
}

div.publicComment div.commentheader {
  background-image: url("../images/public_comment.gif");
}

div.privateComment div.commentheader {
  background-image: url("../images/private_comment.gif");
}

div.editorsComment div.commentheader {
  background-image: url("../images/editors_comment.gif");
}

span.commentActions {
  font-size: small;
}

span.commentVisibility {
  font-size: small;
  font-weight: bold;
}

div.commentbody {
  margin-left: 12px;
  margin-right: 12px;
  margin-top: 6px;
}

div.addCommentTitle {
  font-weight: bold;
  margin-top: 12px;
  padding-left: 23px;
  background-image: url("../images/speak.gif");
  background-position: 0px 0px;
  background-repeat: no-repeat;
}

div.addComment {
  margin-left: 23px;
}

#showCommentsLink {
  font-size: .8em;
}

div.editIncluded {
    float: right;
    position: relative;
    margin-top: .5em;
}


/*
* The following rules are taken from Mozilla's quirck mode stylesheet.
* See http://lxr.mozilla.org/seamonkey/source/layout/html/document/src/quirk.css
* They avoid the top and bottom margin of elements in table cells.
*/
td > form:-moz-first-node, th > form:-moz-first-node,
td > p:-moz-first-node, th > p:-moz-first-node,
td > dl:-moz-first-node, th > dl:-moz-first-node,
td > multicol:-moz-first-node, th > multicol:-moz-first-node,
td > blockquote:-moz-first-node, th > blockquote:-moz-first-node,
td > h1:-moz-first-node, th > h1:-moz-first-node,
td > h2:-moz-first-node, th > h2:-moz-first-node,
td > h3:-moz-first-node, th > h3:-moz-first-node,
td > h4:-moz-first-node, th > h4:-moz-first-node,
td > h5:-moz-first-node, th > h5:-moz-first-node,
td > h6:-moz-first-node, th > h6:-moz-first-node,
td > listing:-moz-first-node, th > listing:-moz-first-node,
td > plaintext:-moz-first-node, th > plaintext:-moz-first-node,
td > xmp:-moz-first-node, th > xmp:-moz-first-node,
td > pre:-moz-first-node, th > pre:-moz-first-node,
td > ul:-moz-first-node, th > ul:-moz-first-node,
td > menu:-moz-first-node, th > menu:-moz-first-node,
td > dir:-moz-first-node, th > dir:-moz-first-node,
td > ol:-moz-first-node, th > ol:-moz-first-node {
   margin-top: 0;
}

td > p:-moz-last-node, th > p:-moz-last-node {
   margin-bottom: 0;
}

td > form:empty:-moz-first-node, th > form:empty:-moz-first-node,
td > p:empty:-moz-first-node, th > p:empty:-moz-first-node,
td > dl:empty:-moz-first-node, th > dl:empty:-moz-first-node,
td > multicol:empty:-moz-first-node, th > multicol:empty:-moz-first-node,
td > blockquote:empty:-moz-first-node, th > blockquote:empty:-moz-first-node,
td > h1:empty:-moz-first-node, th > h1:empty:-moz-first-node,
td > h2:empty:-moz-first-node, th > h2:empty:-moz-first-node,
td > h3:empty:-moz-first-node, th > h3:empty:-moz-first-node,
td > h4:empty:-moz-first-node, th > h4:empty:-moz-first-node,
td > h5:empty:-moz-first-node, th > h5:empty:-moz-first-node,
td > h6:empty:-moz-first-node, th > h6:empty:-moz-first-node,
th > listing:empty:-moz-first-node,
th > plaintext:empty:-moz-first-node,
td > xmp:empty:-moz-first-node, th > xmp:empty:-moz-first-node,
td > pre:empty:-moz-first-node, th > pre:empty:-moz-first-node,
td > ul:empty:-moz-first-node, th > ul:empty:-moz-first-node,
td > menu:empty:-moz-first-node, th > menu:empty:-moz-first-node,
td > dir:empty:-moz-first-node, th > dir:empty:-moz-first-node,
td > ol:empty:-moz-first-node, th > ol:empty:-moz-first-node {
   margin-bottom: 0;
}

td > form:empty:-moz-last-node, th > form:empty:-moz-last-node,
td > p:empty:-moz-last-node, th > p:empty:-moz-last-node,
td > dl:empty:-moz-last-node, th > dl:empty:-moz-last-node,
td > multicol:empty:-moz-last-node, th > multicol:empty:-moz-last-node,
td > blockquote:empty:-moz-last-node, th > blockquote:empty:-moz-last-node,
td > h1:empty:-moz-last-node, th > h1:empty:-moz-last-node,
td > h2:empty:-moz-last-node, th > h2:empty:-moz-last-node,
td > h3:empty:-moz-last-node, th > h3:empty:-moz-last-node,
td > h4:empty:-moz-last-node, th > h4:empty:-moz-last-node,
td > h5:empty:-moz-last-node, th > h5:empty:-moz-last-node,
td > h6:empty:-moz-last-node, th > h6:empty:-moz-last-node,
td > listing:empty:-moz-last-node, th > listing:empty:-moz-last-node,
td > plaintext:empty:-moz-last-node, th > plaintext:empty:-moz-last-node,
td > xmp:empty:-moz-last-node, th > xmp:empty:-moz-last-node,
td > pre:empty:-moz-last-node, th > pre:empty:-moz-last-node,
td > ul:empty:-moz-last-node, th > ul:empty:-moz-last-node,
td > menu:empty:-moz-last-node, th > menu:empty:-moz-last-node,
td > dir:empty:-moz-last-node, th > dir:empty:-moz-last-node,
td > ol:empty:-moz-last-node, th > ol:empty:-moz-last-node {
  margin-top: 0;
}
