
/* Steven Pemberton [http://www.w3.org/MarkUp/2006/xhtml2.css] */


html { margin:0; padding: 0; color: black; background: white; font-family: serif;}
body { display: block; margin: 1em }

h, h1, h2, h3, h4, h5, h6 { font-weight: bold; font-family: sans-serif; display: block }

/*head { display: none }*/
head {visibility: hidden;}
section { display: block; margin-left: 1em; border: thin grey dotted }

h, h1 { font-size: 200% }
section h, h2 { font-size: 150% }
section section h, h3 { font-size: 125% }
section section section h, h4 { font-size: 115% }
section section section section h, h5 { font-size: 100% }
section section section section section h, h6 { font-size: 90% }

p, pre { display: block; margin: 1em 0 1em 0 }
pre, [layout="relevant"] { white-space: pre }
[layout="irrelevant"] { white-space: normal }
pre { font-family: monospace }

dl, ol, ul, nl { display: block; margin: 1em 0 1em 2em }
li { display: list-item } 
ol li { list-style-type: decimal }
dt, dd { display: block }
dt { font-weight: bold }
dd {  margin-left: 2em }
nl label { font-family: sans-serif }
nl li { color: blue }

separator { display: block; width: 100%; border-bottom: thin black solid }

address { font-style: italic }
blockquote { display: block; margin: 1em 5%; font-style: italic }
blockquote[cite] { cursor: pointer }
blockcode { white-space: pre; display: block; margin: 1em 5%; font-family: monospace }
div { display: block }
strong { display: inline; font-weight: bolder }
em { display: inline; font-style: italic }
abbr { display: inline; border-bottom: thin dotted }
span { display: inline }
img { display: inline;  -o-replace: url(attr(src)) }

[edit="inserted"] { border-bottom: thin red double; }
[edit="deleted"] { text-decoration: line-through }
[edit="changed"] { border-bottom: thin dotted green }
[edit="moved"] { text-decoration: underline; text-underline-style: wave; text-underline-color: green }

code { font-family: monospace }
sub { vertical-align: sub; font-size: smaller }
sup { vertical-align: super; font-size: smaller }

[dir="ltr"] { unicode-bidi: embed; direction: ltr}
[dir="rtl"] { unicode-bidi: embed; direction: rtl}
[dir="lro"] { unicode-bidi: bidi-override; direction: ltr}
[dir="rlo"] { unicode-bidi: bidi-override; direction: rtl}

a[href] { color: blue; cursor: pointer; }
a[href]:hover { text-decoration: underline; }



/* added/modified for Mozilla binding */

access[targetid] {
  -replace: attr(targetid);
  -moz-binding: url(xhtml2.xbl.xml#access);
}

access[targetrole] {
  -replace: attr(targetrole);
  -moz-binding: url(xhtml2.xbl.xml#access);
}

*[href] {
  -set-link-source: attr(href);
  -use-link-source: current;
  -moz-binding: url(xhtml2.xbl.xml#link);
}
