/* "Article" style sheet  by Yano K.
   for HTML documents with DIVed section */

/* Setting for Japanese common style */
BODY {
  line-height: 160%;
  background: #e4e8dc;
  color: black;
}

A:link {
  color: blue;
}

A:visited {
  color: purple;
}

P {
  text-align: justify;
  text-indent: 1em;
}

LI P, DD P {
  text-indent: 0;
}

P, LI, DD {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

PRE, BLOCKQUOTE, UL, OL, DL, DIV {
  margin-top: 1em;
  margin-bottom: 1em;
}

EM {
  font-style: normal;
  text-decoration: underline;
}

STRONG {
  font-weight: bolder;
}

BLOCKQUOTE {
  margin-left: 2em;
}

ADDRESS {
  margin: 2em 0 0 10%;
  line-height: 120%;
  font-style: normal;
  border-top: thin black solid;
  padding-top: 0.4em;
  text-align: right;
}

H1 {
  font: bold x-large/120% serif;
  margin: 0 10% 1em 0;
  text-align: left;
  padding: 0 0 1em 8%;
  border-left: 0.6em solid red;
  border-style: none none none solid;
}

/* Common class and ID selectors */

.note {
  margin-left: 2em;
  text-indent: 0;
}

#toc {
/*  border-top: thin solid gray;
  border-bottom: thin solid gray;*/
  line-height: 1.2;
}

PRE.sample {
  line-height: 120%;
  background: #d8e0d0;
  padding: 0.5em;
  border: thin outset #d8e0d0;
}

.warningheader {
  color: red;
  font-weight: bolder;
}

/* DIVed section */

DIV.section {
  margin: 2em 0 2em 10%;
}

DIV.subsection {
  margin: 1.5em 0;
}

DIV.section H2, DIV.section H3 {
  margin-left: -10%;
  margin-bottom: 0;
}

DIV.section H2 {
  border-bottom: thin solid gray;  
}
