/* charactor color and base color */
body {
	background-color : #f0f0f0;
        margin-left: 2em;
	margin-right: 2em;
        color: #3f0f0f;
}

/* for Netscape 4 problem */
div.day, p, dl, th, td, ul, div.version, address {
        color: #3f0f0f;
}

/* Main Title (Mai.Privatelink.org) */
h1 {
	font-size: 30px;
	font-weight: bold;
	font-style: italic;
	color: orange;
	text-align: right;
	margin-left: 1em;
	margin-right: 1em;
}

/* Title */
h2 {
	font-weight: bold;
	text-align: center; 
}

/* Sub Title */
h3 {
	color: #6699ff;
	text-align: right;
	margin-right: 3%; 
}

/* Diary Subject Date */
h4 {
	text-align: left;
	margin-left: 0%;
	font-family: Arial;
	font-size: 1.3em;
	font-style: italic;
	line-height: 150%;
	white-space:  pre;
	font-weight: bold;
	padding: 0em 1em 0em 1em;
	border-style: outset;
	border-width: 1px;
	color: #00007f;
	background-color: #d7d7ef;
	border-color: #4f4fcf;
}

/* Diary Subject Title */
h5 {
	color: #000000;
	padding: 0em 0.5em 0em 0.5em;
	border-style: solid;
	border-color: red;
	border-width: 0px 0px 1px 0px;
	margin-left: -5%;
	font-size: 100%;
	line-height: 80%;
}

/* Schedule */
h5.index {
	color: #ffffcc;
	margin-right: 3%; 
	margin-left: 15%; 
	border-width: 0px 0px 0px 0px;
}

ul.schedule {
	margin-left: 20%;
}

/* month index */
ul.monthindex {
    list-style:none;
	text-align: right;
	margin-right: 3%; 
	margin-left: 10%; 
}

strong.monthindex {
	color: green;
}

/* Information at the top of latest index page */
div.info {
	font-size: 80%;
	margin-right: 3%; 
	margin-left: 20%; 
	text-align: right;
}

/* topic */
div.topic {
	margin-right: 3%; 
	margin-left: 0;
	font-style: normal;
	margin-top: auto;
	margin-bottom: auto;
}

/* diary story */
div.day {
	line-height: 120%;
	margin-right: 5%; 
	margin-left: 10%; 
	font-style: normal;
	margin-top: auto;
	margin-bottom: auto;
	text-align: left;
}

/* footnote */
div.footnote {
  font-size: 80%;
}

div.footnote hr {
  margin-left: -5%;
  text-align: left;
  width: 60%;
}

/* display code */
div.code {
  line-height: 100%;
  white-space:  pre;
  color: #303030;
  margin-left: 1.5em;
  margin-right: 0em;
  margin-top: 0em;
  margin-bottom: 1em;
  border-style: solid;
  border-width: 1px;
  padding: 0em 0em 0em 1em;
  background-color: #c0c0c0;
  border-color: #a0a0a0;
}

/* version */
div.version {
	text-align: right;
	margin-right: 3%; 
}

.right {
	text-align: right;
	margin-right: 3%; 
}

/* definition list */
dl {
	margin-right: 1em; 
	margin-left: 1em; 
}

/* quote */
blockquote {
  color: #505050;
  margin-left: 1em;
  margin-right: 1em;
  margin-top: 1em;
  margin-bottom: 1em;
  border-style: solid;
  border-left-width: 0.3em;
  border-top: none;
  border-right: none;
  border-bottom: none;
  padding: 0.3em;
}

/* hyperlink */
A {text-decoration: none }
A:link {color:#007f00; text-decoration:none;}
A:visited {color:#007f00; text-decoration:none;}
A:active {color:#007f00; text-decoration:none;}
A:hover {
	text-decoration: underline;
	background-color: #ffcc99;
}

/* my address */
address {
	font-weight: bold;
	text-align: right;
	margin-right: 1em;
}

/* nDiary Version */
div.version {
	font-size: 80%;
	text-align: right;
	margin-right: 1em;
}

/* strong */
strong {
	color: red;
}

strong.laud {
	font-size: 1.5em;
	color: red;
}

/* definition tag */
dt {
/*	color: #ffffcc;*/
}

/* Calendar */
div.calendar {
	text-align: right;
	margin-right: 3%; 
}

table.calendar td {
	color: #555555;
}

table.calendar a {
	font-weight: bold;
}

table.calendar tr td {
	text-align: right; 
}

/* daily 'lastyear' string */
div.lastyear {
	text-align: right;
}

/* left bar style */
td.bar {
	width:10em;
	padding:2em 0.5em 0em 0.5em;  /* t r b l */
	vertical-align:top;
	background-color: #ccffcc;
}

td.bar p {
	text-align: right;
	padding-left: 5px;
	font-style: normal;
	font-size: 9pt;
	margin-right: 5px;
	margin-top: 0;
	padding-top:0;
}

td.bar a {
	color: black;
	padding-left: 5px;
}

td.bar strong {
	color: #ff5588;
	font-weight: bold;
	font-style: italic;
	font-size: 1.2em;
	text-align: center;
}

/* $B%3%a%s%HF~NOItJ,(B */
div.comment {
	text-align: right;
}

