/* Quick and dirty stylesheet for ISO 8879 'general document' 
   vocabulary
 */

general, document {
  margin: 1in 1em 1em 1em;
  display: block;
}

frontm, body, appendix, backm {
  display: block;
}


titlep {
  display: block;
  border-bottom: 1px black solid;
  text-align: center;
  padding-bottom: 2em;
}

title {
    display: block;
    margin-bottom: 3em;
}

tline {
  display: block;
  font-size: 200%;
  /* font-family:  Optima, sans serif; */
  text-align: center;
}

date, author {
    display: block;
    margin-bottom: 1em;
}

h1t {
  display: block;
  margin: 2em 0 1em 0;
  font-weight: bold;
  font-size: larger;
  color: navy;
}

h2t {
  display: block;
  margin: 1em 0 0.5em 0;
  font-size: larger;
  color: navy;
}

p {
  display: block;
}

h1 p, h2 {
  margin: 0.5em 0;
}

gl {
  display: block;
  margin: 0 0 0 4em;
}

gt {
  display:  block;
  margin: 1em 0 0 0;
  text-indent: -4em;
  font-weight: bold;
}

gd gt {
  font-weight: normal;
  font-style: italic;
}

gd p {
  margin: 0;
}

ol, ul, sl {
  display: block;
  margin: 1.12em 0;
}


ol { 
  list-style-type: decimal;
  margin-left: 2em;
}

ul { 
  margin-left: 2em;
}

ol ul, ul ol,
ul ul, ol ol    { margin-top: 0; margin-bottom: 0 }

li { 
  display: list-item;
}

cit {
  font-style: italic;
}

hp1 {
  font-style: italic;
}

hp2 {
  font-weight: bold;
}

hp3 {
  font-family: monospace;
}

xmp, xmp[lines='lines'] {
  display: block;
  white-space: pre;
  font-family: monospace;
  background-color: #EEE;
}

xmp, xmp[lines='flow'] {
  display: block;
  white-space: normal;
  font-family: monospace;
  background-color: #EEE;
  padding: 0.5em;
}

note {
  display: block;
  margin: 1em 2em;
  font-size: 90%;
}

q:before, q q q:before {
  content:  '\201C';
}

q:after, q q q:after {
  content:  '\201D';
}

q q:before, q q q q:before {
  content:  '\2018';
}

q q:after, q q q q:after {
  content:  '\2019';
}

lq {
  display: block;
  margin: 1em 2em;
}