/* $B0lHL$N@_Dj(B */

BODY {
  color: #000000;
  background-color: #c8dbc4;
  layout-grid-line: 6px;
  line-height: 1.4em;
}

A:hover {
  background-color:#CC0000;
}

H1 {
  font-weight: bold;
  text-align: center;
}

H2 {
  font-weight: bold;
  font-size: 1.2em;
  padding-bottom: 4px;
  margin-top: 0px;
  margin-bottom: 0px;
}

H2 IMG { border: none; }
H2 U   { text-decoration: none;}

H2 A:link, H2 A:visited {
  color: black;
  text-decoration: none;
  border: none;
}

H3 {
  font-weight: bold;
  font-size: 1.2em;
  padding: 4px 0px 4px 1em;

  background-image:    url(/~nminoru/diary/a.gif);
  background-repeat:   no-repeat;
  background-position: left center;
}

H4 {
  font-size: 1.1em;
  text-decoration: underline;
  margin-left: -4px;
  margin-bottom: 0px;
}

H5 {
  font-size: 1em;
  text-decoration: underline;
}

P { 
  margin-right: 2em;
  text-indent: 1em;
}

TABLE {
  empty-cells: show;
}

TABLE TR TH {
  background-color: skyblue;
  padding: 0.5ex 0.5ex;
}

TABLE TR TD {
  padding: 0.5ex 0.5ex;
}

CAPTION {
  text-decoration: underline;
  font-weight: bold;
}

FIGURE {
  text-align: center;
}

FIGCAPTION {
  text-align: center;
  text-decoration: underline;
  font-weight: bold;
}

DL {
  margin-bottom: 2em; 
}

DT {
  margin-left:  0.5em;
  margin-right: 2em;
}

UL {
  margin-top: 4px;
  margin-left: 1em;
  padding-left: 1.5em;
}

UL LI {
  margin-bottom: 0.5em;
}

OL {
  margin-top: 4px;
  margin-left: 2em;
  padding-left: 1.3em;
  font-size: 1em;
}

OL LI {
  margin-bottom: 0.5em;
  font-size: 1em;
}

BLOCKQUOTE {
  border: 2px solid #888888;
  padding: 8px 8px 8px 8px;
  background-color: #faebd7;
  font-size: 1em;
}

BLOCKQUOTE CITE {
  margin-top: 0.5em;
  display: block;
  text-align: right;
  font-size: 1em;
}

Q {
  background-color: #faebd7;
}

TT, CODE {
  font-family: 'Lucida Console', 'Courier', 'Courier New', '$B%R%i%.%N3Q%4(B3$BEyI}(B', monospace;
  padding: 3px 2px 2px 2px;
  background-color: #d0d0d0;
}

SAMP {
  font-family: 'Lucida Console', 'Courier', 'Courier New', '$B%R%i%.%N3Q%4(B3$BEyI}(B', monospace;
  padding: 3px 2px 2px 2px;
  background-color: #d2b48c;
}

DFN {
  font-style: normal;
  font-weight: bold;
  text-decoration: underline;
}

PRE {
  font-family: 'Lucida Console', 'Courier', 'Courier New', '$B%R%i%.%N3Q%4(B3$BEyI}(B', monospace;
  margin-top:   1em;
  margin-right: 7px;
  margin-left:  7px;
  text-align: left;
  padding: 6px 6px 6px 6px;
}

BIG {
  font-weight: bold;
}

/* $B?'(B */
.red {
  color: red;
}

.blue {
  color: blue;
}

.green {
  color: green;
}

.cyan {
  color: cyan;
}

.gray {
  color: gray;
}

.darkcyan {
  color: darkcyan;
}

.pink {
  color: pink;
}

.violet {
  color: violet;
}

.purple {
  color: purple;
}

.aqua {
  color: aqua;
}

/* $B=$>~;R$D$-%?%0(B */

BIG.large {
  font-size: 1.8em;
}

BIG.middle {
  font-size: 1.3em;
}

P.ps {
  text-indent: 0px;
  /* margin: 1em 0em 0em 0em; */
  ruby-position: above;
}

DL.ul DT {
  text-decoration: underline;
}

DL.ul DD {
  margin-top: 0.5em;
  margin-bottom: 1em;
}

LI.ul {
  text-decoration: underline;
}

DL.list DT {
  margin-left:  0.5em;
  margin-right: 2em;
  font-weight: bold;
  font-size: 1.1em;
  border-bottom: #000000 2px solid;
  border-left: #000000 2px solid;
  padding: 4px 0px 2px 0.5em;
  background-color: #bee4ba;
}

DL.list DD {
  margin-left:   2em;
  margin-top:    0.5em;
  margin-bottom: 1em; 
  text-indent:   0px;
}

DT.list {
  background-color: red;
}

DD.list {
  background-color: red;
}

DT.item {
  background-color: red;
}

DD.item {
  background-color: red;
}

DL.item DT {
  margin: 0px 3em 0px 2em;
  border-bottom: #000000 2px solid;
  border-left:   #000000 1px solid;
  border-right:  #000000 1px solid;
  border-top:    #000000 1px solid;
  padding: 4px 0px 2px 0.5em;
  background-color: #f0c0c0;
  font-weight: bold;
  font-size: 1em;
  clear: both;
}

DL.item DD {
  margin: 0px 3em 1em 2em;
  border-bottom: #000000 1px solid;
  border-left:   #000000 1px solid;
  border-right:  #000000 1px solid;
  padding: 4px 0.5em 4px 0.5em;
  background-color: #f0f0f0
}

DIV.clear {
  clear: both;
}

DIV.ps {
  text-indent: 0px;
  ruby-position: above;
  margin-top: 1em;
}

PRE.program {
  border: 2px solid #888888;
  background-color: whitesmoke;
  white-space: pre;
  word-wrap: break-word;
}
 
PRE.output {
  border: 2px solid #888888;
  background-color: #ececec;
  white-space: pre;
  word-wrap: break-word;
}

UL.medskip LI {
  margin-bottom: 0.5em;
  clear: both;
}

OL.medskip LI {
  margin-bottom: 0.5em;
  clear: both;
}

DD.medskip {
  margin-bottom: 0.5em;
  clear: both;
}

/* $B=EMW$J%-!<%o!<%I$K%"%s%@!<%i%$%s(B */
SPAN.kw {
  font-weight: bold;
  text-decoration: underline;
}

SPAN.macro {
  text-decoration: underline;
}

SPAN.ul {
  text-decoration: underline;
}

/* $B%"%9%-!<%"!<%H(B*/
PRE.aa {
  font-family: '$B#M#S(B $B#P%4%7%C%/(B';
}

/* $BF|5-$N9=B$$K4X$o$k(B */
SPAN.aa {
  white-space : pre;
  font-family: '$B#M#S(B $B#P%4%7%C%/(B';
  white-space : pre;
  word-spacing : 1em;
}

DIV.day {
  margin: 0em 0.5em 2.5em 0.5em; /* $B>e(B $B1&(B $B2<(B $B:8(B */
}

DIV.body {
  border: 3px solid #8888f8;
  margin-top: 0px;
  padding: 0px 1em 1em 1.5em;
  background-color: #f5f7f5;
}

DIV.body H3 {
  border-top: #990000 3px dotted;
  border-bottom: #990000 3px dotted;
  margin: 1.2em 0px 0.5em -0.7em;
  background-repeat: no-repeat;
  background-position: left center;
  background-color: #fcf7f1;
}

A.diary_h3 {
  font-size: 0.8em;
}

DIV.indent {
  margin-top: 1em;
  margin-left: 2em;
  margin-right: 2em;
  margin-bottom: 1em;
}

DIV.note {
  margin-top: 0.5em;
  margin-left: 1em;
  margin-right: 1em;
  margin-bottom: 0.5em;
  font-size: 80%;
}

SPAN.thumb1 {
  margin:  0px 0px 0px 0px;
  padding: 8px 12px 4px 4px;
  float: left;
}

SPAN.thumb2 {
  margin:  0px 0px 0px 0px;
  padding: 12px 12px 12px 12px;
  float: right;
}

SPAN.date {
  background-image:    url(/~nminoru/icons/sph-green.gif);
  background-position: left center;
  background-repeat:   no-repeat;
  background-color:    transparent;
  padding-left: 1em;
}

/* $BJ8;z$N>.$5$$%F!<%V%k(B */
TABLE.smallfont {
}

TABLE.smallfont TR TD {
  vertical-align: text-top;
  font-size: 1.2em;
}

TABLE.smallfont TR TH {
  font-size: 90%;
}

/* */
TABLE.diaryfont {
}

TABLE.diaryfont TR TD {
  vertical-align: text-top;
  font-size: 11pt;
}

TABLE.diaryfont TR TH {
  font-size: 90%;
}


/* $B<L??$rI=<($9$k%F!<%V%k(B */
TABLE.photo {
}

TABLE.photo TR TD {
  font-size: 80%;
}

/* $B$/$C$D$-(BBBS$BMQ(B */
DIV.commentregion {
  margin:  0.5em 0px 0.5em 1em;
} 

DIV.comment {
  width: 90%;
  background-color: #d8ebd4;
  margin:  4px 0px 0px 1em;
  padding: 2px 2px 2px 2px;
}

SPAN.commentator {
  font-weight: bold;
}

DIV.commentbody {
  margin-left: 1em;
}

DIV.trackbackregion {
  margin:  0.5em 0px 0.5em 1em;
} 

DIV.trackback {
  width: 90%;
  background-color: #eee;
  margin:  4px 0px 0px 1em;
  padding: 2px 2px 2px 2px;
}

SPAN.tbblogname {
  font-weight: bold;
}

DIV.tbexcerpt {
  font-size: 9pt;
  margin-left: 1em;
}
