/*
 * Copyright (c) 2003-2004 Pixware. 
 *
 * This file is part of the XMLmind XML Editor project.
 * For conditions of distribution and use, see the accompanying legal.txt file.
 */

/* ==================================
   Useful to debug modular documents
   ==================================
*/

*:property("LOCATION_INFO"):before,
*:property("INCLUSION_INFO"):before {
    display: block;
    color: red;
    font-size: small;
    text-align: center;
}

*:property("LOCATION_INFO"):before {
    content: "LOCATION_INFO=" property("LOCATION_INFO") "\A" icon(down);
}

*:property("INCLUSION_INFO"):before {
    content: "INCLUSION_INFO=" property("INCLUSION_INFO") "\A" icon(down);
}

*:property("LOCATION_INFO"):property("INCLUSION_INFO"):before {
    content: "LOCATION_INFO=" property("LOCATION_INFO")
             "\A INCLUSION_INFO=" property("INCLUSION_INFO")
             "\A" icon(down);
}

/*
 * Copyright (c) 2003 Pixware. 
 *
 * This file is part of the XMLmind XML Editor project.
 * For conditions of distribution and use, see the accompanying legal.txt file.
 *
 * Customizes DocBook CSS style sheet for printing.
 */

@media print {
    * {
        background-color: transparent; 
        line-height: 1.2; 
    }

    *:read-only {
        background-color: transparent;
    }

    graphic,  
    imagedata {
        content: image(attr(fileref), -500, -700, smooth); 
    }  

    colspec, 
    spanspec {
        display: none; 
    }
}
/*
 * Copyright (c) 2003 Pixware. 
 *
 * This file is part of the XMLmind XML Editor project.
 * For conditions of distribution and use, see the accompanying legal.txt file.
 *
 * Styles for elements other than those found in Simplified DocBook.
 */

/* =====================================
   Book structure
===================================== */

set {
    display: block;
}
         
set > title { 
    font-size: 2.5em; 
    margin: 0.25ex 0;
    border-width: 4px;
    border-style: solid;
    border-color: transparent transparent #004080 transparent;
}

book {
    display: block;
}

book > title { 
    font-size: 2.5em; 
    margin: 0.25ex 0;
    border-width: 3px;
    border-style: solid;
    border-color: transparent transparent #004080 transparent;
}

dedication,
colophon {
    display: block;
    /* content of dedication has a margin */
}

part,
reference {
    display: block;
}
        
part > title,
reference > title { 
    font-size: 2em; 
    margin: 0.5ex 0;
    border-width: 2px;
    border-style: solid;
    border-color: transparent transparent #004080 transparent;
}

part > title:before { 
    content: "Part " counter(n-, upper-roman) ": "; 
}

partintro {
    display: block;
    /* content of partintro has a margin */
}       

chapter,
preface {
    display: block;
}       

chapter > title,
preface > title { 
    font-size: 2em; 
    margin: 0.5ex 0;
    border-width: 1px;
    border-style: solid;
    border-color: transparent transparent #004080 transparent;
}

chapter > title:before { 
    content: "Chapter " counter(n-, decimal) ": "; 
}

/* -------------------------------------
   TOC
------------------------------------- */

toc {
    display: block;
    /* content of toc has a margin */
}
        
tocchap,
tocpart {
    display: block;
    margin: 1.33ex 0;
}

tocfront,
tocback,
tocentry {
    display: block;
    /* no vertical margins to make it more compact */
}

toclevel1,
toclevel2,
toclevel3,
toclevel4,
toclevel5 {
    display: block;
    /* no vertical margins to make it more compact */
}

toclevel2,
toclevel3,
toclevel4,
toclevel5 {
    margin-left: 4ex;
}

/* -------------------------------------
   LOT
------------------------------------- */

lot {
    display: block;
    /* content of lot has a margin */
}
         
lotentry {
    display: block;
    /* no vertical margins to make it more compact */
}
         
/* -------------------------------------
   Glossary
------------------------------------- */

glossary,
glossdiv {
    display: block;
    /* content of glossary has a margin */
}
     
glosslist {
    display: block;
    margin-left: 2ex; 
    margin-top: 1.33ex; 
    margin-bottom: 1.33ex; 
}

glossentry {
    display: block;
    /* no vertical margins to make it more compact */
}

glossterm {
    display: inline;
    font-style: italic;
}

glossentry > acronym,
glossentry > abbrev,
glossentry > indexterm,
glossentry > revhistory {
    display: block;
    margin-left: 4ex; 
    margin-top: 0;
    margin-bottom: 1.33ex;
}

glossdef,
glosssee {
    display: block;
    margin-left: 4ex; 
    margin-bottom: 1.33ex;
}

glossdef > *:first-child {
    margin-top: 0;
    margin-bottom: 0;
}

glossseealso {
    display: block;
    margin: 1.33ex 0;
}

glosssee:before,
glossseealso:before {
    display: inline;
    font-size: small;
    color: #004080;
}

glosssee:before {
    content: "See ";
}

glossseealso:before {
    content: "See also ";
}

/* -------------------------------------
   Index
------------------------------------- */

index,
setindex,
indexdiv {
    display: block;
    /* content of index has a margin */
}
    
indexentry {
    display: block;
    /* no vertical margins to make it more compact */
}

primaryie,
secondaryie,
tertiaryie,
seeie,
seealsoie {
    display: block;
    /* no vertical margins to make it more compact */
}

secondaryie {
    margin-left: 2ex;
}

tertiaryie {
    margin-left: 4ex;
}

seeie,
seealsoie {
    margin-left: 6ex;
}

seeie:before,
seealsoie:before {
    display: inline;
    font-size: small;
    color: #004080;
}

seeie:before {
    content: "See ";
}

seealsoie:before {
    content: "See also ";
}

/* =====================================
   Paragraphs
===================================== */

ackno {
    display: block;
    margin: 1.33ex 0; 
}

address {
    display: block;
    white-space: pre;
    margin: 1.33ex 0; 
}

street,
pob,
postcode,
city,
state,
country,
phone,
fax,
otheraddr {
    display: inline;
}

formalpara {
    display: block;
    /* content of formalpara has a margin */
}

/* =====================================
   Lists
===================================== */

procedure {
    display: block;
    margin-left: 2ex; /* all lists are slightly indented */
    margin-top: 1.33ex; 
    margin-bottom: 1.33ex; 
}

substeps {
    display: block;
}

substeps > *:first-child {
    margin-top: 0; 
    margin-bottom: 0; 
}

step {
    display: block;
    margin-left: 6ex;
}

step > *:first-child {
    margin-top: 0; 
    margin-bottom: 0; 
}

step:before {
    display: marker;
    content: counter(n, decimal) "."; 
    font-weight: bold; 
    color: #004080;
}

step step:before {
    content: counter(n, lower-alpha) "."; 
}
step step step:before {
    content: counter(n, decimal) "."; 
}
step step step step:before {
    content: counter(n, lower-alpha) "."; 
}
step step step step step:before {
    content: counter(n, decimal) "."; 
}

segmentedlist {
    display: block;
    margin-left: 2ex; 
    margin-top: 1.33ex; 
    margin-bottom: 1.33ex; 
}

segmentedlist > title {
    margin-top: 0;
}

segtitle {
    display: inline;
    font-weight: bold; 
    color: #004080;
}

seglistitem {
    display: block;
    margin: 1.33ex 0;
}

seg {
    display: inline;
}

segtitle:before,
seg:before {
    content: " ";
}

segtitle:first-child:before,
title + segtitle:before,
seg:first-child:before {
    content: "";
}

simplelist { /* also works for type=vert */
    display: block;
    margin-left: 2ex; 
    margin-top: 1.33ex; 
    margin-bottom: 1.33ex; 
}

member {
    display: block;
}

simplelist[type=horiz] > member {
    display: inline;
}

simplelist[type=horiz] > member:before {
    content: " ";
}

simplelist[type=horiz] > member:first-child:before {
    content: "";
}

simplelist[type=inline] {
    display: inline;
}

simplelist[type=inline] > member {
    display: inline;
}

simplelist[type=inline] > member:before {
    content: ", ";
    color: gray;
}

simplelist[type=inline] > member:first-child:before {
    content: "";
}

/* =====================================
   Figures
===================================== */

graphic,
inlinegraphic {
    content: image(attr(fileref), -400, -200); 
}

graphic {
    display: block;
    margin: 1.33ex auto;
}

inlinegraphic {
    display: inline;
}

equation,
informalequation {
    display: block;
    margin: 1.33ex auto; 
}

equation > title {
    font-style: italic;
    font-weight: normal;
    text-align: center;
    margin: 0; /* content of equation generally already has a margin */
}

alt {
    display: block;
    margin: 1.33ex 0;
    font-style: italic;
    text-align: center;
}

inlineequation {
    display: inline;
}

inlineequation > alt,
inlineequation > graphic { /* inlineequation > graphic is a DTD bug */
    display: inline;
}

screenshot {    
    display: block;
    /* content of screenshot has a margin */
}

screeninfo {
    display: block;
    margin: 1.33ex 0; 
    font-style: italic;
    text-align: center;
}

/* -------------------------------------
   Callouts
------------------------------------- */

mediaobjectco {
    display: block;
    /* content of mediaobjectco has a margin */
}

graphicco,
imageobjectco, 
programlistingco, 
screenco {
    display: block;
    /* content of graphicco has a margin */
}

areaspec,
areaset,
area {
    display: tree;
}

co {
    display: inline;
    content: icon(left-half-disc) counter(n) icon(right-half-disc); 
    color: #004080; 
}
         
coref {
    display: inline;
    content: icon(left-half-disc) attr(linkend) icon(right-half-disc); 
    color: #004080; 
}
         
calloutlist {
    display: block;
    margin-left: 2ex;
    margin-top: 1.33ex; 
    margin-bottom: 1.33ex; 
}
   
callout {
    display:block;
    margin-left: 6ex;
}
       
callout > *:first-child {
    margin-top: 0; 
    margin-bottom: 0; 
}

calloutlist > callout:before {
    display: marker; 
    content: icon(left-half-disc) counter(n) icon(right-half-disc); 
    color: #004080; 
}

/* =====================================
   Divisions
===================================== */

highlights {
    display: block;
    margin-bottom: 1.33ex;
    background-color: #FFCCFF; 
    border: thin solid #FF00FF;
    padding: 2px;
}

highlights:before {
    display: block;
    content: element-label();
    font-weight: bold;
    color: #CC0099;
    margin-top: 1.33ex;
}

/* =====================================
   Special sections
===================================== */

/* -------------------------------------
   Question-and-answer set
------------------------------------- */

qandaset,
qandadiv {
    display: block;
    /* content of qandaset has a margin */
}

qandaentry {
    display: block;
    margin: 1.33ex 0; 
}

question,
answer {
    display: block;
    margin-left: 4ex;
    /* content of question has a margin */
}

question > *:first-child,
answer > *:first-child {
    margin-top: 0; 
    margin-bottom: 0; 
}

question:before,
answer:before {
    display: marker;
    color: #004080;
    font-weight: bold;
}

question:before {
    content: "Q:";
}

answer:before {
    content: "A:";
}

label {
    display: block;
    margin: 1.33ex 0; 
    color: #004080;
    font-weight: bold;
}

/* -------------------------------------
   Set of messages
------------------------------------- */

msgset {
    display: block;
    /* content of msgset has a margin */
}

msgentry,
simplemsgentry {
    display: block;
    margin: 1.33ex 0;
    border: thin solid gray;
    padding: 2px;
}

msg,
msgmain,
msgsub,
msgrel,
simplemsgentry > msgtext,
msgexplan,
msginfo {
    display: block;
    margin-left: 10ex;
    /* content of msg has a margin */
}

msg > *:first-child,
msgmain > *:first-child,
msgsub > *:first-child,
msgrel > *:first-child,
msgtext > *:first-child,
msgexplan > *:first-child,
msginfo > *:first-child {
    margin-top: 0; 
    margin-bottom: 0; 
}

msg:before,
msgmain:before,
msgsub:before,
msgrel:before,
simplemsgentry > msgtext:before,
msgexplan:before,
msginfo:before {
    display: marker; 
    content: element-label();
    font-size: small;
    color: #004080;
}

msglevel,
msgorig,
msgaud {
    display: inline;
}

msglevel:before,
msgorig:before,
msgaud:before {
    content: icon(left-half-disc) element-local-name() " ";
    font-size: small;
    color: gray;
}

msglevel:after,
msgorig:after,
msgaud:after {
    content: icon(right-half-disc);
    color: gray;
}

/* -------------------------------------
   Bibliography
   (complements docbook2.imp)
------------------------------------- */

bibliocoverage,
bibliorelation,
bibliosource {
   display: inline;
}

biblioid,
isbn,
issn,
pubsnumber {
   display: inline;
}

citebiblioid {
   display: inline;
}

/* -------------------------------------
   Meta-information
   (complements docbook2.imp)
------------------------------------- */

artpagenums,
pagenums,
seriesvolnums,
invpartnumber {
   display: inline;
}

itermset {
    /* Could be block but inline is safer when used in strange places
       and when used in meta-info, display is forced to be block. */
   display: inline;
}

collab {
    display: block; /* can contain affiliation */
    margin: 1.33ex 0;
}

collabname {
    display: inline;
}

confgroup {
    display: block; /* can contain address */
    margin: 1.33ex 0;
}

confdates,
conftitle,
confnum,
confsponsor {
    display: inline;
}

confdates:after,
conftitle:after,
confnum:after,
confsponsor:after {
    content: " ";
}

contractnum,
contractsponsor {
    display: inline;
}

publisher {
    display: block; /* can contain address */
    margin: 1.33ex 0;
}

printhistory {    
    display: block;
    /* content of printhistory has a margin */
}

/* =====================================
   Other elements
===================================== */

bridgehead {
    display: block;
    font-weight: bold; 
    color: #004080;
    margin: 1.33ex 0;
}

bridgehead[renderas=sect1] {
    font-size: 1.5em; 
    margin: .83ex 0; 
}

bridgehead[renderas=sect2] {
    font-size: 1.3em; 
    margin: 1ex 0; 
}

/* ---------------------------------------------------------------------------
   Inlined elements other than those belonging to modules

   Note that default display is inline, so there is no need to specify it.
--------------------------------------------------------------------------- */

/* -------------------------------------
   Technical
------------------------------------- */

keycombo {
    display: inline;
}

keycombo > *:before {
    content: icon(plus);
    color: gray;
}

keycombo[action] > *:before {
    content: " ";
}

keycombo[action=simul] > *:before {
    content: icon(plus);
}

keycombo > *:first-child:before {
    content: "";
}

keycap,
keysym,
mousebutton {
    font-weight: bold;
}

keycode {
    font-family: monospace;
}

menuchoice {
    display: inline;
}

menuchoice > *:before {
    content: icon(pop-right);
    color: gray;
}

menuchoice > *:first-child:before,
menuchoice > shortcut + *:before {
    content: "";
}

shortcut {
    display: inline;
}

/* shortcut:before should be enough but this selector makes this rule more
   specific than the above one */

menuchoice > shortcut:first-child:before { 
    content: "(";
    color: gray;
}

shortcut:after {
    content: ") ";
    color: gray;
}

shortcut > *:before {
    content: " ";
}

shortcut > *:first-child:before {
    content: "";
}

guimenu,
guisubmenu,
guimenuitem,
guibutton,
guilabel,
guiicon,
accel,
interface {
    font-weight: bold;
}

accel {
    text-decoration: underline;
}

action {
    display: inline;
}

application,
hardware,
database,
productnumber {
    display: inline;
}

medialabel {
    font-weight: bold;
}

constant,
envar,
markup,
prompt,
property,
sgmltag,
token,
type,
function,
parameter,
varname,
returnvalue,
errorcode,
errorname,
errortext,
errortype,
exceptionname,
classname,
methodname,
interfacename,
structfield,
structname,
symbol {
    font-family: monospace;
}

optional {
    display: inline;
}
synopsis > optional:before {
    content: "[";
    color: gray;
}
synopsis > optional:after {
    content: "]";
    color: gray;
}

sgmltag:before,
sgmltag:after {
    color: gray;
}

sgmltag[class=attvalue]:before {
    content: '"';
}
sgmltag[class=attvalue]:after {
    content: '"';
}

sgmltag[class=starttag]:before,
sgmltag[class=emptytag]:before {
    content: "<";
}
sgmltag[class=endtag]:before {
    content: "</";
}
sgmltag[class=endtag]:after,
sgmltag[class=starttag]:after {
    content: ">";
}
sgmltag[class=emptytag]:after {
    content: "/>";
}

sgmltag[class=pi]:before,
sgmltag[class=xmlpi]:before {
    content: "<?";
}
sgmltag[class=pi]:after,
sgmltag[class=xmlpi]:after {
    content: "?>";
}

sgmltag[class=sgmlcomment]:before {
    content: "<!--";
}
sgmltag[class=sgmlcomment]:after {
    content: "-->";
}

sgmltag[class=paramentity]:before {
    content: "%";
}
sgmltag[class=genentity]:before {
    content: "&";
}
sgmltag[class=numcharref]:before {
    content: "&#";
}
sgmltag[class=paramentity]:after,
sgmltag[class=genentity]:after,
sgmltag[class=numcharref]:after {
    content: ";";
}

/* -------------------------------------
   General
------------------------------------- */

anchor {
    content: icon(right-target);
    color: gray;
}

remark {
    font-style: italic;
    color: #880000;
}

firstterm,
foreignphrase {
    font-style: italic;
}

citation {
    font-weight: bold; /* like an abbrev */
}

subscript,
superscript {
    display: inline-block;
    white-space: nowrap;
    font-size: small;
}
subscript {
    vertical-align: sub; 
}
superscript {
    vertical-align: super; 
}
 
wordasword {
    font-family: sans-serif;
    font-size: medium;
    font-style: normal;
    font-weight: normal;
    color: black;
}

olink {
    color: navy;
    text-decoration: underline;
}

olink:after {
    vertical-align: text-top; /* for the icon */
}

olink[targetdoc]:after {
    content: icon(left-link) attr(targetdoc);
}
olink[targetdoc][targetptr]:after {
    content: icon(left-link) attr(targetdoc) ":" attr(targetptr);
}

modespec {
    display: inline;
}

indexterm,
primary,
secondary,
tertiary,
see,
seealso {
    display: inline;
    font-size: small;
}

indexterm:before {
    content: icon(left-half-disc) element-local-name() " ";
    color: gray;
}

indexterm:after {
    content: icon(right-half-disc);
    color: gray;
}

indexterm > *:before {
    content: ", ";
    color: gray;
}

indexterm > see:before {
    content: " = ";
}

indexterm > seealso:before {
    content: " + ";
}

indexterm > *:first-child:before {
    content: "";
}

/* -------------------------------------
   Other
------------------------------------- */

beginpage {
    display: inline;
    content: url(icons/beginpage.gif);
}

sbr {
    display: inline;
    content: "\A";
    color: gray;
}
/*
 * Copyright (c) 2003-2004 Pixware. 
 *
 * This file is part of the XMLmind XML Editor project.
 * For conditions of distribution and use, see the accompanying legal.txt file.
 *
 * Styles for elements found in Simplified DocBook
 * (and closely related elements even if not found in Simplified DocBook).
 */

/* =====================================
   Article structure
===================================== */

article {
    display: block;
}

article > title { 
    font-size: 2em; 
    margin: 0.5ex 0;
    border-width: 1px;
    border-style: solid;
    border-color: transparent transparent #004080 transparent;
}

title,
subtitle,
titleabbrev {
    display: block;
    color: #004080;
    margin: 1.33ex 0;
}

title,
subtitle {
    font-weight: bold; 
}

/* -------------------------------------
   Sections
------------------------------------- */

section,
sect1,
sect2,
sect3,
sect4,
sect5,
simplesect {
    display: block;
}

section > title,
sect1 > title { 
    font-size: 1.5em; 
    margin: .83ex 0; 
}

section > title:before,
sect1 > title:before {
    content: counter(n-) " "; 
}

section section > title,
sect2 > title { 
    font-size: 1.3em; 
    margin: 1ex 0; 
}

section * section > title { 
    font-size: 1em; 
    margin: 1.33ex 0; 
}
      
section section > title:before,
sect2 > title:before { 
    content: counter(nn-) " "; 
}

section section section > title:before,
sect3 > title:before {
    content: counter(nnn-) " "; 
}

section section section section > title:before,
sect4 > title:before { 
    content: counter(nnnn-) " "; 
}

section section section * section > title:before { 
    content: ""; 
}
      
/* -------------------------------------
   Appendix
------------------------------------- */

appendix {
    display: block;
}

appendix > title { /* in a book or in a part */
    font-size: 2em; 
    margin: 0.5ex 0;
    border-width: 1px;
    border-style: solid;
    border-color: transparent transparent #004080 transparent;
}

article > appendix > title { 
    font-size: 1.5em; 
    margin: 0.83ex 0;
    border-width: 0;
    border-style: none;
}

appendix > title:before { 
    content: "Appendix " counter(n-, upper-alpha) ": "; 
}

/* =====================================
   Paragraphs
===================================== */

para,
simpara {
    display: block;
    margin: 1.33ex 0; 
}

/* =====================================
   Lists
===================================== */

/* -------------------------------------
   itemizedlist
------------------------------------- */

itemizedlist {
    display: block;
    margin-left: 2ex; /* all lists are slightly indented */
    margin-top: 1.33ex; 
    margin-bottom: 1.33ex; 
}

listitem {
    display: block;
}

listitem > *:first-child {
    margin-top: 0; 
    margin-bottom: 0; 
}
      
itemizedlist > listitem {
    margin-left: 2.5ex; 
}

itemizedlist > listitem:before {
    display: marker; 
    content: disc; 
    color: #004080;
    padding-top: .6ex; 
}

itemizedlist > listitem itemizedlist > listitem:before {
    content: square; 
}

itemizedlist > listitem itemizedlist > listitem itemizedlist > 
listitem:before {
    content: icon(diamond); 
}

itemizedlist > listitem itemizedlist > listitem itemizedlist > 
listitem itemizedlist > listitem:before {
    content: circle; 
}
  
/* -------------------------------------
   orderedlist
------------------------------------- */

orderedlist {
    display: block;
    margin-left: 2ex; 
    margin-top: 1.33ex; 
    margin-bottom: 1.33ex; 
}

orderedlist > listitem {
    margin-left: 6ex; 
}

orderedlist > listitem:before {
    display: marker; 
    content: counter(n, decimal) "."; 
    font-weight: bold; 
    color: #004080;
}

orderedlist[numeration=loweralpha] > listitem:before {
    content: counter(n, lower-alpha) "."; 
}

orderedlist[numeration=upperalpha] > listitem:before {
    content: counter(n, upper-alpha) "."; 
}

orderedlist[numeration=lowerroman] > listitem:before {
    content: counter(n, lower-roman) "."; 
}

orderedlist[numeration=upperroman] > listitem:before {
    content: counter(n, upper-roman) "."; 
}

/* -------------------------------------
   variablelist
------------------------------------- */

variablelist {
    display: block;
    margin-left: 2ex; 
    margin-top: 1.33ex; 
    margin-bottom: 1.33ex; 
}

varlistentry {
    display: block;
}

term {
    display: block;
    font-weight: bold; 
}

varlistentry > listitem {
    margin-left: 4ex; 
}

/* =====================================
   Figures
===================================== */

programlisting,
screen,
literallayout,
synopsis {
    display: block;
    white-space: pre;
    font-family: monospace;
    margin: 1.33ex 0; 
}
         
programlisting {
    background-color: #EEEEEE; 
    border: thin solid gray; 
    padding: 2px; 
}
 
screen {
    background-color: #EEEEFF; 
    border: thin solid #8888FF; 
    padding: 2px; 
}
 
figure,
informalfigure,
example,
informalexample {
    display: block;
    margin: 1.33ex auto; 
}

figure > title,
example > title {
    font-style: italic;
    font-weight: normal;
    text-align: center;
    margin: 0; /* content of figure generally already has a margin */
}

mediaobject {
    display: table;
    border-spacing: 2px;
    margin: 1.33ex auto; 
}

inlinemediaobject {
    display: inline-table;
    border-spacing: 2px;
}

caption {
    display: table-caption;
    color: #004080;
    font-style: italic;
    font-weight: normal;
    text-align: center;
    /* content of caption already has a margin */
}

audioobject,
videoobject,
imageobject,
textobject {
    display: table-cell; /* this will create one row per cell */
    text-align: center;
}

objectinfo {
    text-align: left;
}

mediaobject > objectinfo {
    display: table-cell;
}

audiodata {
    display: inline;
    content: url(icons/audio.gif); 
}

videodata {
    display: inline;
    content: url(icons/video.gif); 
}

imagedata {
    display: inline;
    content: image(attr(fileref), -400, -200);
}

textdata {
    display: inline;
    content: url(icons/text.gif); 
}

/* =====================================
   Tables
===================================== */

/*
 * "black" is the color used to draw a border around the table and its cells
 * based on values of attributes such as frame, rowsep and colsep.
 *
 * "rgb(238,238,224)" (a very light gray) is the color used to draw 
 * a border around each cell whether the cell actually has borders or not.
 * Remove this parameter if this ``cell footprint'' disturbs you.
 *
 * For more information about table support for DocBook, see 
 * Power User's Guide.
 */
@extension "com.xmlmind.xmleditapp.docbook.TableSupport black rgb(238,238,224)";

table,
informaltable {
    display: block;
    margin: 1pxx; 
}
          
table > title {
    display: block;
     
    font-weight: 900;
    font-size:22px;
    text-align: center;
 
    /* keep margin because tgroup has no margin */
}

colspec,
spanspec {
    display: table-column;
    collapsed: yes;
}

tgroup {
    display: table; 
    border-style: solid;
    border-width: .5px;
}
    
thead,
tfoot {
    display: table-row-group;
    font-weight: boldest; 
font-size:18px;
}
       
tbody {
    display: table-row-group;
}

row {
    display: table-row; 
}
          
entry {
    display: table-cell; 
    border-style: solid;
    border-width: .75px;
    padding: .75px; 
font-size:11px;
}

entry > *:first-child {
    margin-top: 0; 
    margin-bottom: 0; 
}

entrytbl {
    display: subtable;
    border-style: solid;
    border-width: 1px;
}
          
/* =====================================
   Divisions
===================================== */

abstract {
    display: block;
    margin-left: 18ex;
    margin-top: 1.33ex; 
    margin-bottom: 1.33ex; 
}

abstract > *:first-child {
    margin-top: 0; 
    margin-bottom: 0;
}
      
abstract:before {
    display: marker; 
    content: element-label();
    font-weight: bold;
    color: #004080;
}

blockquote,
epigraph {
    display: block;
    margin: 1.33ex 10ex; 
}

blockquote > title {
    font-style: italic;
    font-weight: normal;
    text-align: center;
    margin: 0; /* content of blockquote already has a margin */
}
       
attribution {
    display: block;
    text-align: right;
}

attribution:before {
    content: " -- "; 
}

footnote {
    display: block;
    margin-left: 18ex;
    margin-top: 1.33ex; 
    margin-bottom: 1.33ex; 
    margin-right: 10ex;
    font-size: small;
    padding: 2px;
    background-color: #F0F0FF;
}

footnote > *:first-child {
    margin-top: 0; 
    margin-bottom: 0; 
}

footnote:before {
    display: marker; 
    content: element-label();
    color: #004080;
}

footnote[label]:before {
    content: "[" attr(label) "]"; 
}

note,
caution,
important,
tip,
warning {
    display: block;
    margin-left: 18ex;
    margin-top: 1.33ex; 
    margin-bottom: 1.33ex; 
}

note > *:first-child,
caution > *:first-child,
important > *:first-child,
tip > *:first-child,
warning > *:first-child {
    margin-top: 0; 
    margin-bottom: 0; 
}
      
note:before,
caution:before,
important:before,
tip:before,
warning:before {
    display: marker; 
    content: element-label();
    font-weight: bold; 
    color: #004080;
}

sidebar {
    display: block;
    margin: 1.33ex 0; 
    border: thin solid #00FF00;
    background-color: #CCFFCC;
    padding: 2px;
}

sidebar > title {
    margin: 0; /* content of sidebar already has a margin */
}
       
/* =====================================
   Special sections
===================================== */

/* -------------------------------------
   Bibliography
   (complemented in docbook1.imp)
------------------------------------- */

bibliography,
bibliodiv {
    display: block;
    /* content of bibliography has a margin */
}

bibliomixed,
bibliomset,
biblioentry,
biblioset {
    display: block;
    margin: 1.33ex 0; 
}

bibliomixed,
biblioentry {
    border: thin solid gray;
    padding: 2px;
}

bibliomixed > title,
bibliomixed > subtitle,
bibliomixed > titleabbrev,
bibliomset > title,
bibliomset > subtitle,
bibliomset > titleabbrev,
biblioentry > title,
biblioentry > subtitle,
biblioentry > titleabbrev,
biblioset > title,
biblioset > subtitle,
biblioset > titleabbrev {
    /* title of a bibliography entry, not ``caption'' of a formal block */
    font-weight: normal;
    font-size: 1em;
    color: black;
}

bibliomixed > title,
bibliomixed > subtitle,
bibliomixed > titleabbrev,
bibliomset > title,
bibliomset > subtitle,
bibliomset > titleabbrev {
    display: inline;
}

bibliomixed > title,
bibliomixed > subtitle,
bibliomset > title,
bibliomset > subtitle {
    font-style: italic;
}

bibliomisc {
    display: inline;
}

/* -------------------------------------
   Meta-information
   (complemented in docbook1.imp)
------------------------------------- */

appendixinfo,
articleinfo,
bibliographyinfo,
blockinfo,
bookinfo,
chapterinfo,
glossaryinfo,
indexinfo,
objectinfo,
partinfo,
prefaceinfo,
refentryinfo,
refmeta,
referenceinfo,
refsect1info,
refsect2info,
refsect3info,
refsectioninfo,
refsynopsisdivinfo,
sect1info,
sect2info,
sect3info,
sect4info,
sect5info,
sectioninfo,
setindexinfo,
setinfo,
sidebarinfo  {
    display: block; 
    margin: 1.33ex 0;
    border: thin solid #00FFFF;
    background-color: #CCFFFF;
    padding: 2px;
}

authorgroup {
    display: block;
    /* content of authorgroup has a margin */
}

author,
editor,
othercredit {
    display: block; /* can contain authorblurb, address */
    margin: 1.33ex 0;
}

personname {
    display: inline;
}

honorific,
firstname,
surname,
lineage,
othername {
    display: inline;
}

honorific:after,
firstname:after,
surname:after,
lineage:after,
othername:after {
    content: " ";
}

contrib {
    display: inline;
}

authorblurb,
personblurb {
    display: block;
    /* content of authorblurb has a margin */
}

corpauthor,
corpname {
    /* Could be block but inline is safer when used in strange places
       and when used in meta-info, display is forced to be block. */
    display: inline;
}

affiliation {
    display: block; /* can contain address */
    margin: 1.33ex 0;
}

shortaffil,
jobtitle,
orgname,
orgdiv {
    display: inline;
}

shortaffil:after,
jobtitle:after,
orgname:after,
orgdiv:after {
    content: " ";
}

copyright {
    display: inline;
}

year,
holder {
    display: inline;
}

year:after,
holder:after {
    content: " ";
}

date,
pubdate {
    display: inline;
}

edition {
    display: inline;
}

issuenum {
    display: inline;
}

keywordset,
subjectset {
    display: inline;
}

keyword,
subject,
subjectterm {
    display: inline;
}

keyword:after,
subjectterm:after {
    content: " ";
}

legalnotice {
    display: block;
    /* content of legalnotice has a margin */
}

publishername {
    display: inline;
}

releaseinfo {
    display: inline;
}

revhistory {
    display: block;
    margin: 1.33ex 0;
}

revision {
    display: block;
    margin-left: 2.5ex; 
}

revision:before {
    display: marker; 
    content: icon(right); 
    color: #004080;
    padding-top: .6ex; 
}

authorinitials {
    display: inline;
    font-weight: bold;
}

revnumber,
revremark {
    display: inline;
}

revnumber:after,
revision > date:after,
revision > authorinitials:after {
    content: " ";
}

revdescription {
    display: block;
    /* content of revdescription has a margin */
}

volumenum {
    display: inline;
}

/* ---------------------------------------------------------------------------
   Inlined elements other than those belonging to modules

   Note that default display is inline, so there is no need to specify it.
--------------------------------------------------------------------------- */

emphasis {
    font-style: italic;
}
emphasis[role=bold] {
    font-style: normal; 
    font-weight: bold; 
}
emphasis[role=underline] {
    font-style: normal; 
    text-decoration: underline;
}
emphasis[role=strikethrough] {
    font-style: normal; 
    text-decoration: line-through;
}

emphasis > emphasis {
    font-style: normal; 
    font-weight: normal; 
    text-decoration: none;
}

literal {
    font-family: monospace;
}
      
link,
ulink,
email {
    color: navy;
    text-decoration: underline;
}

/* -------------------------------------
   Technical
------------------------------------- */

command,
computeroutput,
filename,
option,
systemitem,
userinput {
    font-family: monospace;
}
  
computeroutput,
userinput {
    background-color: #EEEEEE;
}
     
command,
option {
    font-weight: bold;
}

lineannotation {
    font-style: italic;
    font-size: medium; /* occurs in verbatim, fixed font, blocks */
}
   
replaceable {
    font-style: italic; 
}
   
/* -------------------------------------
   General
------------------------------------- */

abbrev, 
acronym {
    font-weight: bold;
}

citetitle {
    font-style: italic;
}

footnoteref {
    content: "[" attr(linkend) "]"; 
    font-size: small;
    vertical-align: super;
    color: navy;
}

footnoteref[label] {
    content: "[" attr(label) "]"; 
}

phrase[revisionflag=deleted] {
    text-decoration: line-through;
}

phrase[revisionflag=added] {
    text-decoration: underline;
}

quote:before {
    content: open-quote; 
    color: gray; 
}

quote:after {
    content: close-quote; 
    color: gray; 
}

trademark:after,
productname:after {
    font-size: small; 
    color: gray; 
}

trademark:after, /* also works for class=trade */
productname[class=trade]:after { 
    content: "[tm]"; 
}

trademark[class=copyright]:after,
productname[class=copyright]:after {
    content: "\A9"; 
    font-size: medium; 
}

trademark[class=registered]:after,
productname[class=registered]:after {
    content: "\AE"; 
    font-size: medium; 
}

trademark[class=service]:after,
productname[class=service]:after {
    content: "[sm]"; 
}

xref {
    content: icon(left-link) 
      xpath("if(id(@linkend)/@xreflabel, id(@linkend)/@xreflabel, @linkend)");
    vertical-align: text-top; /* for the icon */
    color: navy;
}
        
xref[endterm] {
    content: icon(left-link) xpath("if(id(@endterm), id(@endterm), @endterm)");
}

/* ---------------------------------------------------------------------------
   Comments and processing instructions
--------------------------------------------------------------------------- */

*::comment,
*::processing-instruction {
    display: block;
    margin: 2px;
    white-space: pre;
    text-align: left;
    font-family: monospace;
    font-size: small;
    font-style: normal;
    font-weight: normal;
}

*::comment {
    background-color: #FFFFCC;
    color: #808000;
}

*::processing-instruction {
    background-color: #CCFFCC;
    color: #008000;
}

/* ---------------------------------------------------------------------------
   Other
--------------------------------------------------------------------------- */

xi\:include {
    display: tree;
}

*:read-only {
    background-color: #E0F0F0;
}

/* ---------------------------------------------------------------------------
   Overrides natural display of elements in special sections
   (must be at the very end of the style sheet)
--------------------------------------------------------------------------- */

/* -------------------------------------
   Bibliography
------------------------------------- */

biblioentry > *,
biblioset > * {
    display: block;
    text-align: left; /* Reset paragraph styles */
    font: normal normal 1em sans-serif;
    color: black;
    margin-left: 18ex;
    margin-top: 1.33ex;
    margin-bottom: 1.33ex;
}

biblioentry > *:first-child,
biblioset > *:first-child { /* nicer */
    margin-top: 0;
    margin-bottom: 0;
}

biblioentry > *:before,
biblioset > *:before {
    display: marker; 
    content: element-label();
    font: normal normal small sans-serif;
    color: #004080;
}

biblioentry > *:after,
biblioset > *:after {
    content: "";
}

biblioentry > biblioset,
biblioset > biblioset {
    margin-left: 0;
}

biblioentry > biblioset:before,
biblioset > biblioset:before {
    content: "";
}

/* -------------------------------------
   Meta-information
------------------------------------- */

appendixinfo > *,
articleinfo > *,
bibliographyinfo > *,
blockinfo > *,
bookinfo > *,
chapterinfo > *,
glossaryinfo > *,
indexinfo > *,
objectinfo > *,
partinfo > *,
prefaceinfo > *,
refentryinfo > *,
refmeta > *,
referenceinfo > *,
refsect1info > *,
refsect2info > *,
refsect3info > *,
refsectioninfo > *,
refsynopsisdivinfo > *,
sect1info > *,
sect2info > *,
sect3info > *,
sect4info > *,
sect5info > *,
sectioninfo > *,
setindexinfo > *,
setinfo > *,
sidebarinfo > * {
    display: block;
    text-align: left; /* Reset paragraph styles */
    font: normal normal 1em sans-serif;
    color: black;
    margin-left: 18ex;
    margin-right: 0;
    margin-top: 1.33ex;
    margin-bottom: 1.33ex;
}

appendixinfo > *:first-child,
articleinfo > *:first-child,
bibliographyinfo > *:first-child,
blockinfo > *:first-child,
bookinfo > *:first-child,
chapterinfo > *:first-child,
glossaryinfo > *:first-child,
indexinfo > *:first-child,
objectinfo > *:first-child,
partinfo > *:first-child,
prefaceinfo > *:first-child,
refentryinfo > *:first-child,
refmeta > *:first-child,
referenceinfo > *:first-child,
refsect1info > *:first-child,
refsect2info > *:first-child,
refsect3info > *:first-child,
refsectioninfo > *:first-child,
refsynopsisdivinfo > *:first-child,
sect1info > *:first-child,
sect2info > *:first-child,
sect3info > *:first-child,
sect4info > *:first-child,
sect5info > *:first-child,
sectioninfo > *:first-child,
setindexinfo > *:first-child,
setinfo > *:first-child,
sidebarinfo > *:first-child { /* nicer */
    margin-top: 0;
    margin-bottom: 0;
}

appendixinfo > *:before,
articleinfo > *:before,
bibliographyinfo > *:before,
blockinfo > *:before,
bookinfo > *:before,
chapterinfo > *:before,
glossaryinfo > *:before,
indexinfo > *:before,
objectinfo > *:before,
partinfo > *:before,
prefaceinfo > *:before,
refentryinfo > *:before,
refmeta > *:before,
referenceinfo > *:before,
refsect1info > *:before,
refsect2info > *:before,
refsect3info > *:before,
refsectioninfo > *:before,
refsynopsisdivinfo > *:before,
sect1info > *:before,
sect2info > *:before,
sect3info > *:before,
sect4info > *:before,
sect5info > *:before,
sectioninfo > *:before,
setindexinfo > *:before,
setinfo > *:before,
sidebarinfo > *:before {
    display: marker; 
    content: element-label();
    font: normal normal small sans-serif;
    color: #004080;
}

appendixinfo > *:after,
articleinfo > *:after,
bibliographyinfo > *:after,
blockinfo > *:after,
bookinfo > *:after,
chapterinfo > *:after,
glossaryinfo > *:after,
indexinfo > *:after,
objectinfo > *:after,
partinfo > *:after,
prefaceinfo > *:after,
refentryinfo > *:after,
refmeta > *:after,
referenceinfo > *:after,
refsect1info > *:after,
refsect2info > *:after,
refsect3info > *:after,
refsectioninfo > *:after,
refsynopsisdivinfo > *:after,
sect1info > *:after,
sect2info > *:after,
sect3info > *:after,
sect4info > *:after,
sect5info > *:after,
sectioninfo > *:after,
setindexinfo > *:after,
setinfo > *:after,
sidebarinfo > *:after {
    content: "";
}

appendixinfo > title,
articleinfo > title,
bibliographyinfo > title,
blockinfo > title,
bookinfo > title,
chapterinfo > title,
glossaryinfo > title,
indexinfo > title,
objectinfo > title,
partinfo > title,
prefaceinfo > title,
refentryinfo > title, /* refmeta has no title */
referenceinfo > title,
refsect1info > title,
refsect2info > title,
refsect3info > title,
refsectioninfo > title,
refsynopsisdivinfo > title,
sect1info > title,
sect2info > title,
sect3info > title,
sect4info > title,
sect5info > title,
sectioninfo > title,
setindexinfo > title,
setinfo > title,
sidebarinfo > title {
    font-size: 1.3em;
    font-weight: bold;
    color: #004080;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 1ex;
}

appendixinfo > title:before,
articleinfo > title:before,
bibliographyinfo > title:before,
blockinfo > title:before,
bookinfo > title:before,
chapterinfo > title:before,
glossaryinfo > title:before,
indexinfo > title:before,
objectinfo > title:before,
partinfo > title:before,
prefaceinfo > title:before,
refentryinfo > title:before,
referenceinfo > title:before,
refsect1info > title:before,
refsect2info > title:before,
refsect3info > title:before,
refsectioninfo > title:before,
refsynopsisdivinfo > title:before,
sect1info > title:before,
sect2info > title:before,
sect3info > title:before,
sect4info > title:before,
sect5info > title:before,
sectioninfo > title:before,
setindexinfo > title:before,
setinfo > title:before,
sidebarinfo > title:before {
    content: "";
}
/*
 * Copyright (c) 2003 Pixware. 
 *
 * This file is part of the XMLmind XML Editor project.
 * For conditions of distribution and use, see the accompanying legal.txt file.
 *
 * A CSS style sheet for DocBook V4.2.
 */

@import "docbook1.imp";
@import "refentry.imp";
@import "ebnf.imp";
@import "forms.imp";
@import "mathml.imp";
@import "svg.imp";
@import "docbook2.imp";
@import "collapsible.imp";
@import "print.imp";
/*
 * Copyright (c) 2003 Pixware. 
 *
 * This file is part of the XMLmind XML Editor project.
 * For conditions of distribution and use, see the accompanying legal.txt file.
 *
 * Styles for DocBook EBNF module.
 */

productionset {
    display: block;
    background-color: #EEEEEE; 
    border: thin solid gray; 
    padding: 2px; 
    margin: 1.33ex 0;
}

productionset > *:first-child {
    margin-top: 0;
    margin-bottom: 0;
}

production,
productionrecap {
    display: block;
    margin-left: 6ex; 
    margin-top: 1.33ex;
    margin-bottom: 1.33ex;
}

production:before {
    display: marker;
    content: "[" counter(n) "] ";
    color: #004080;
}

productionrecap {
    content: icon(left-link) attr(linkend); 
    vertical-align: text-top; /* for the icon */
    color: navy;
}

lhs,
rhs,
constraint {
    display: inline;
}

rhs:before {
    content: " ::= ";
    color: #004080;
}

constraint {
    content: " " icon(left-link) attr(linkend); 
    vertical-align: text-top; /* for the icon */
    color: navy;
}

nonterminal {
    display: inline;
    text-decoration: underline;
    color: navy;
}

constraintdef {
    display: block;
    /* content of constraintdef has a margin */
}
/*
 * Copyright (c) 2003 Pixware. 
 *
 * This file is part of the XMLmind XML Editor project.
 * For conditions of distribution and use, see the accompanying legal.txt file.
 *
 * Styles for DocBook HTML forms module.
 */

html\:form,
html\:input,
html\:button,
html\:label,
html\:select,
html\:option,
html\:textarea {
    display: tree;
    collapsed: yes;
}
/*
 * Copyright (c) 2003 Pixware. 
 *
 * This file is part of the XMLmind XML Editor project.
 * For conditions of distribution and use, see the accompanying legal.txt file.
 *
 * Styles for DocBook MathML module.
 */

mml\:math {
    display: tree;
    collapsed: yes;
}
/*
 * Copyright (c) 2003 Pixware. 
 *
 * This file is part of the XMLmind XML Editor project.
 * For conditions of distribution and use, see the accompanying legal.txt file.
 *
 * Styles for refentry elements.
 */

/* =====================================
   Refentry structure
===================================== */

refentry {
    display: block;
    border-width: 1px;
    border-style: solid;
    border-color: silver transparent silver transparent;
    margin: 3ex 0;
}

refnamediv,
refsynopsisdiv {
    display: block;
}

refnamediv:before,
refsynopsisdiv:before {
    display: block;
    font-size: 1.3em;
    font-weight: bold;
    color: #004080;
    margin: 1ex 0;
}

refnamediv:before {
    content: "Name";
}

refnamediv > *:before {
    content: " ";
}

refnamediv > *:first-child:before {
    content: "";
}

refdescriptor,
refname,
refpurpose,
refclass {
    display: inline;
}

refpurpose:before {
    content: " -- ";
    color: gray;
}

refsynopsisdiv:before {
    content: "Synopsis";
}

refsynopsisdiv > title {
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 1ex;
}

refsection,
refsect1,
refsect2,
refsect3 {
    display: block;
}

refsection > title,
refsect1 > title {
    font-size: 1.3em; 
    margin: 1ex 0; 
}

refsection refsection > title { 
    font-size: 1em; 
    margin: 1.33ex 0; 
}

/* =====================================
   Synopsis environments
===================================== */

/* -------------------------------------
   cmdsynopsis
------------------------------------- */

cmdsynopsis {
    display: block;
    font-family: monospace;
    margin: 1.33ex 0; 
}

synopfragment {
    display: block;
    font-family: monospace;
    margin-left: 4ex;
}

arg,
group {
    display: inline;
}

arg:before,
group:before { /* also works for choice=opt */
    content: " [";
    color: gray;
}

group > arg:before,
group > group:before { 
    content: " | [";
}

arg:first-child:before,
group:first-child:before { 
    content: "[";
}

arg:after,
group:after {
    content: "]";
    color: gray;
}

arg[rep=repeat]:after,
group[rep=repeat]:after {
    content: "]...";
    color: gray;
}

arg[choice=req]:before,
group[choice=req]:before {
    content: " {";
}

group > arg[choice=req]:before,
group > group[choice=req]:before {
    content: " | {";
}

arg[choice=req]:first-child:before,
group[choice=req]:first-child:before {
    content: "{";
}

arg[choice=req]:after,
group[choice=req]:after {
    content: "}";
}

arg[choice=req][rep=repeat]:after,
group[choice=req][rep=repeat]:after {
    content: "}...";
}

arg[choice=plain]:before,
group[choice=plain]:before {
    content: " ";
}

group > arg[choice=plain]:before,
group > group[choice=plain]:before {
    content: " | ";
}

arg[choice=plain]:first-child:before,
group[choice=plain]:first-child:before {
    content: "";
}

arg[choice=plain]:after,
group[choice=plain]:after {
    content: "";
}

arg[choice=plain][rep=repeat]:after,
group[choice=plain][rep=repeat]:after {
    content: "...";
}

synopfragmentref {
    display: inline;
    color: navy;
    text-decoration: underline;
}

synopfragmentref:after {
    content: icon(left-link) attr(linkend); 
    vertical-align: text-top; /* for the icon */
}

/* -------------------------------------
   funcsynopsis
------------------------------------- */

funcsynopsis {
    display: block;
    font-family: monospace;
    margin: 1.33ex 0; 
}

funcsynopsisinfo {
    display: block;
    white-space: pre;
    margin: 1.33ex 0; 
}

funcprototype {
    display: block;
}

funcprototype:after {
    content: ";";
    color: gray;
}

funcdef {
    display: inline;
}

void {
    display: inline;
    content: "void";
    color: gray;
}

funcprototype > void {
    content: "(void)";
}

varargs {
    display: inline;
    content: "(...)";
    color: gray;
}

paramdef {
    display: inline;
}

paramdef > parameter {
    font-style: italic;
}

paramdef:before {
    content: ", ";
    color: gray;
}

paramdef:first-of-type:before {
    content: "(";
}

paramdef:last-of-type:after {
    content: ")";
    color: gray;
}

funcparams {
    display: inline;
}

paramdef > funcparams:before {
    content: "(";
    color: gray;
}

paramdef > funcparams:after {
    content: ")";
    color: gray;
}

/* -------------------------------------
   classsynopsis
------------------------------------- */

classsynopsis {
    display: block;
    font-family: monospace;
    margin-top: 1.33ex; 
}

ooclass + classsynopsisinfo:before,
oointerface + classsynopsisinfo:before,
ooexception + classsynopsisinfo:before,
ooclass + fieldsynopsis:before,
oointerface + fieldsynopsis:before,
ooexception + fieldsynopsis:before,
ooclass + constructorsynopsis:before,
oointerface + constructorsynopsis:before,
ooexception + constructorsynopsis:before,
ooclass + destructorsynopsis:before,
oointerface + destructorsynopsis:before,
ooexception + destructorsynopsis:before,
ooclass + methodsynopsis:before,
oointerface + methodsynopsis:before,
ooexception + methodsynopsis:before {
    display: block;
    content: "{";
    color: gray;
}

classsynopsis:after {
    display: block;
    content: "}";
    color: gray;
    margin-bottom: 1.33ex; 
}

classsynopsisinfo {
    display: block;
    white-space: pre;
    margin-left: 4ex;
    margin-top: 1.33ex; 
    margin-bottom: 1.33ex; 
}

ooclass,
oointerface,
ooexception {
    display: inline;
    font-family: monospace;
}

classsynopsis > ooclass:after,
classsynopsis > oointerface:after,
classsynopsis > ooexception:after {
    content: " ";
}

ooclass > *:before,
oointerface > *:before,
ooexception > *:before {
    content: " ";
}

ooclass > classname:before {
    content: " class ";
    color: gray;
}
oointerface > interfacename:before {
    content: " interface ";
    color: gray;
}
ooexception > exceptionname:before {
    content: " exception ";
    color: gray;
}

ooclass > *:first-child:before,
oointerface > *:first-child:before,
ooexception > *:first-child:before {
    content: "";
}

ooclass > classname:first-child:before {
    content: "class ";
    color: gray;
}
oointerface > interfacename:first-child:before {
    content: "interface ";
    color: gray;
}
ooexception > exceptionname:first-child:before {
    content: "exception ";
    color: gray;
}

fieldsynopsis,
constructorsynopsis,
destructorsynopsis,
methodsynopsis {
    display: block;
    font-family: monospace;
    margin: 1.33ex 0; 
}

classsynopsis > fieldsynopsis,
classsynopsis > constructorsynopsis,
classsynopsis > destructorsynopsis,
classsynopsis > methodsynopsis {
    margin-left: 4ex;
    margin-top: 0; 
    margin-bottom: 0; 
}

fieldsynopsis:after,
constructorsynopsis:after,
destructorsynopsis:after,
methodsynopsis:after {
    content: ";";
    color: gray;
}

fieldsynopsis > *:before,
constructorsynopsis > *:before,
destructorsynopsis > *:before,
methodsynopsis > *:before {
    content: " ";
}

fieldsynopsis > *:first-child:before,
constructorsynopsis > *:first-child:before,
destructorsynopsis > *:first-child:before,
methodsynopsis > *:first-child:before {
    content: "";
}

constructorsynopsis > exceptionname:before,
destructorsynopsis > exceptionname:before,
methodsynopsis > exceptionname:before { /*In practice, cannot be first child*/
    content: " throws ";
    color: gray;
}

methodname + void {
    content: "(void)";
}

methodparam {
    display: inline;
    /* rep and choice attributes not visualized */
}

methodparam:before {
    content: ", ";
    color: gray;
}

methodparam:first-of-type:before {
    content: " (";
}

methodparam:last-of-type:after{
    content: ")";
    color: gray;
}

methodparam > parameter {
    font-style: italic;
}

methodparam > *:before {
    content: " ";
}

methodparam > *:first-child:before {
    content: "";
}

modifier {
    display: inline;
    font-family: monospace;
}

initializer {
    display: inline;
    font-family: monospace;
}

initializer:before { /* Cannot be first child */
    content: " = ";
    color: gray;
}

/* ---------------------------------------------------------------------------
   Inlined elements other than those belonging to modules

   Note that default display is inline, so there is no need to specify it.
--------------------------------------------------------------------------- */

/* -------------------------------------
   General
------------------------------------- */

citerefentry {
    display: inline;
    font-style: italic;
}

citerefentry > manvolnum:before {
    content: "(";
    color: gray;
}

citerefentry > manvolnum:after {
    content: ")";
    color: gray;
}

refentrytitle,
manvolnum,
refmiscinfo { /* also found in refmeta */
    display: inline;
}
/*
 * Copyright (c) 2003 Pixware. 
 *
 * This file is part of the XMLmind XML Editor project.
 * For conditions of distribution and use, see the accompanying legal.txt file.
 *
 * Styles for DocBook SVG module.
 */

svg\:svg {
    content: url(icons/svg.gif);
}
