body {
	margin-right: 2em;
	margin-left: 2em;
	line-height: 150%;
	background-color: white;
	color: #111122;
}


p {
	margin-left: 0.5em;
/*	text-indent: 1em; */
}

.small {
        font-size: small;
}

p.short-note {
/*	font-size: small; */
}

p.foottext {
        text-indent: 0;
	font-size: small;
}

sup {
        font-size: small;
}

small.gray {
        color: #888888;
}

submit, select, checkbox, input, textarea {	text-indent: 0;
	border: 1px solid #aaaaaa;
}

address {
	font-size: smaller;
	text-align: right;
}

dl {
	margin-left: 1.5em;
}

dt {
	color: black;
        font-weight: medium;
}

p.noindent {
	text-indent: 0em;
}

p.center {
	text-indent: 0em;
	text-align: center;
}

p.right {
	text-indent: 0em;
	text-align: right;
}

p.last-modified {
	text-align: right;
        color: #666666;
	text-indent: 0em;
	font-size: smaller;
}

p.lang-navigator {
	text-align: right;
	font-size: smaller;
}

strong {
        color: black;
        font-weight: medium;
}

strong.new {
        font-size: smaller;
	color: #aa4444;
	font-style: italic;
}

strong.caption {
        font-size: smaller;
	padding: 0.1em;
	font-weight: bold;
	border-style: solid;
	border-width: 0 0 1px 0;
}

strike, del {
        color: #aaaaaa;
}

blockquote, pre {
	color: #666666;
	margin-right: 1em;
	margin-left: 2em;
	padding: 0.5em 0.5em;

	border-style: solid;
	border-width: 0 0 0 1px;
	border-color: #8888bb;
}

blockquote p {
        text-indent: 0;
        margin: 0;
        padding: 0;
}

pre, code {
	font-family: monospace;
}

pre {
	font-size: smaller;
	line-height: 115%;
	white-space: pre;
        width: 100%;
	overflow: auto;
}

h1 {
        font-size: x-large;
	font-weight: normal;
	font-family: serif;
	padding: 0.4em 0.4em;
	line-height: 150%;
}

h2, h3, h4, h5, h6 {
        font-size: large;
	font-weight: normal;
	font-family: sans-serif;
}

h1, h2, h3 {
	border-style: solid;
	border-color: #8888bb;
	border-width: 0 0 1px 0;
}

h4, h5, h6 {
}

h2, h3, h4, h5, h6 {
	padding: 0.15em;
	text-indent: 0.25em;
}

a {
	text-decoration: no-decoration;
}

a:link	{
	color: #4444ff;
}

a:visited {
	color: #8848d8;
}

a:active, a:focus, a:hover {
	text-decoration: underline;
}

li {
	margin-left: 0.75em;
	line-height: 150%;
	padding-top: 0.25em;
}

ul li {
	list-style-type: disc;
}

hr {
	border-color: #8888bb;
	border-style: solid;
	height: 0px;
}

p.figure {
	text-indent: 0em;
	text-align: center;
	margin-top: 0.25ex;
	margin-bottom: 0;
}


kbd {
	border-style: solid;
	border-width: 1px 2px 2px 1px;
	border-color: gray;
	font-family: monospace;
	font-size: smaller;
	margin: 1px;
}

img {
	border-style: none;
	border-width: 0px;
}

a img {
	border-style: solid;
	border-width: 1px;
}

img.figure {
	margin: 1em;
}

@media print {
    body {
	font-family: serif;
    }
    h1, h2, h3, h4, h5, dt {
	font-family: sans-serif;
    }
    body, h1, h2, h3, h4, h5, h6, pre, blockquote, p {
	color: black;
    }
}

img.art {
        padding: 1em;
}

a.navi  {
	font-size: small;
	border-style: solid;
	border-width:  1px 2px 2px 1px;
        padding: 1px 4px 1px 4px;
        border-color: #6666ff;
	font-weight: bold;
        text-decoration: underline;
}

a.navi:hover {
        background-color: #ddddff;
}

a.navi:visited {
	color: #aa55cc;
}

img.frame {
    margin:  4px;
    padding: 4px;
    border-style: none;
    background-color: white;
    border-width: 0;
    border-color: #444488;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
}

p.art {
        border-style: solid;
        text-align: center;
        padding: 2em;
        border-color: #888888;
        border-width: 1px;
        margin-left: 15%;
        margin-right: 15%;
}

strong.art {
        padding: 0.2em;
        font-weight: bold;
        border-style: solid;
        color: #222222;
        border-color: black;
        border-width: 0 0 1px 0;
}

table {
        font-size: smaller;
/*
        border-color: #cccccc;
        border-width: 1px;
*/
        margin-left: 4em;
        margin-bottom: 0.5em;
        margin-top: 0.5em;
        border-collapse: collapse;
}

th, tr, td {
/*
        border-style: solid;
        border-color: #cccccc;
*/
        border-width: 1px;
        padding: 4px;
        line-height: 120%;
}

/*
 * For mainly tdiary
 */

div.comment {
        margin-left: 15%;
	text-align: left;
	font-size: smaller;
}
div.calendar {
	font-size: smaller;
}
div.adminmenu {
	text-align: right;
	font-size: smaller;
}
div.referer {
	text-align: right;
	font-size: smaller;
}
hr.sep {
	border-style: none;
	height: 0px;
        clear: none;
}

div.day h2, h3 {
        font-size: medium;
}
div.day h4 {
        font-size: small;
}

p.rss {
	text-indent: 0em;
	text-align: right;
}
p.rss a {
	color: #333344;
	font-weight: bold;
}

span.date a {
  	color: #333344;
}

div.ad {
        border: 0px;
	margin-left: 2em;
	margin-top: 1em;
}

div.day {
        margin-right: 25%;
}
hr.sep {
        margin-right: 25%;
}

div.body pre {
        margin-right: 25%;
}

div.footer {
        clear: both;
}

div.sidebar form  { margin-left: 0.5em;  }
div.sidebar input { margin: 0.1em;  }
div.sidebar p  { text-indent: 0.25em; }
div.sidebar ul { margin-left: 1em; padding: 0; }
div.sidebar h2, div.sidebar h3 { font-size: small; }
div.sidebar {
        background-color: white;
        width: 20%;
        font-size: smaller;
	border-style: solid;
	border-color: #dddddd;
	border-width: 0 0 0 1px;
        margin-right: 2%;
        float: right;
}

div.main {
        width: 75%;
        margin-right: 2%;
        float: left;
        clear: both;
}

hr {
	clear: both;
}


