/*
Title: Hiki default
Revision: $Revision: 1.2.2.7 $
Author: TAKEUCHI Hitoshi
Access: hitoshi@namaraii.com
License: GPL
Comment: Hiki default theme

Originail Copyright 2002 (C) by TADA Tadashi <sho@spc.gr.jp>

Modified by TAKEUCHI Hitoshi <hitoshi@namaraii.com>
validated by W3C.
*/

/* ChangeLog
2003-05-30 TAKEUCHI Hitoshi <hitoshi@namaraii.com>
	* add @media print

2003-05-25 TAKEUCHI Hitoshi <hitoshi@namaraii.com>
	* modified for Hiki.

2003-05-17 TAKEUCHI Hitoshi <hitoshi@namaraii.com>
	* modified for Hiki.

2002-09-14 NT <nt@24i.net>
	* convert for 1.5 series.

2002-05-07 TADA Tadashi <sho@spc.gr.jp>
	* remove overflow from pre.
	* line-height of body upto 150%.

2002-03-28 TADA Tadashi <sho@spc.gr.jp>
	* image color down to 7bit.
	* no underline for links.

2002-03-28 TADA Tadashi <sho@spc.gr.jp>
	* support new amazon plugin.

2002-03-27 TADA Tadashi <sho@spc.gr.jp>
	* fix textarea biyo--n problem.
*/

body {
	background: #ffffff url(regency_b.gif) no-repeat fixed 100% 100% ;
	color: #000000;
	/*font-family: Arial,Verdana,Helvetica,'MS UI Gothic',sans-serif;*/
	margin-left: 25px;
	margin-right: 25px;
}

a:link {
	color: #000077;
	background-color: transparent;
	text-decoration: none;
}

a:visited {
	color: #002288;
	background-color: transparent;
	text-decoration: none;
}

a[href]:hover {			/*for Mozilla*/
	color: #0055bb;
	background-color: transparent;
	text-decoration: underline;
}

div.adminmenu {
	text-align: right;
	font-size: 80%;
}

span.adminmenu {
	background-color: #f9fcf9;
	color: #ffffff;
	border-style: solid;
	border-width: 0px 1px 1px 0px;
	border-color:#666;
	padding: 1px;
}

div.category-form div.adminmenu {
	margin-left:1em;
	text-align:left;
	color:#000;
	background: transparent;
}

div.category-form span.adminmenu {
	color:#000;
	background: transparent;
	border:none;
}

h1 {
	margin-top:0.5em;
	margin-bottom:0;
	font-weight: bold;
	text-align: right;
}

h1:first-letter {
	color:#f00;
	background:transparent;
}

div.day {
	margin-left: 1em;
	margin-bottom: 1em;
}

h2 {
/*	border-top: 1px solid #cccccc;
	border-right: 1px solid #cccccc;
	border-bottom: 1px solid #cccccc;
	border-left: 10px solid #0055bb;*/
	border-width:1px 0;
	border-style:solid;
	border-color:#999;
	padding:6px;
	font-size: 110%;
	color:#666;
	background:#eee url(w9b.png);
}

h2 span.date {
	font-size: 110%;
	margin-left: 0.5em;
	margin-right: 0.5em;
}

h2 span.title {
	font-size: 110%;
	color:#008;
}

h3 {
	font-size: 110%;
	margin: 0em;
	font-weight: bold;
	border-bottom-width: 1px;
	border-bottom-color: #cccccc;
	border-bottom-style: dotted;
	padding-top: 5px;
}

h4{
	margin-left:1.5em;
	margin-bottom:0em;
}

/*
サイドバー内のヘディング関係
*/

div.sidebar h3,div.sidebar h4 {
	margin-left:0.5em;
}

div.sidebar h2 {
	font-size:130%;
	color:#666;
	background:none;
	text-align:center;
}

div.sidebar h3 {
	font-size:110%;
}

div.sidebar h4 {
	font-size:90%;
}

div.section {
	margin-top: 0.7em;
	margin-bottom: 0.7em;
}

div.section p {
	margin: 0.5em 1em 0.7em 2em;
	line-height: 1.5;
	text-indent: 1em;
}

div.caption {
	text-align: right;
	font-size: 90%;
	margin: 0.5em;
}

div.comment {
	border-style: dashed;
	border-color: #666;
	border-width: 1px 0;
	color: #000;
	background-color: #f9fcf9;
	margin-top: 1em;
	margin-bottom: 0.5em;
	margin-left: 2em;
	padding: 4px;
}

div.commentshort {
	font-size: 90%;
	margin-left: 2em;
}
span.commentator {
	font-weight: bold;
}
div.commentshort p {
	margin-top: 0.2em;
	margin-bottom: 0.2em;
	line-height: 1.2em;
}

div.commentbody {
	font-size: 90%;
	margin: 0.5em;
	line-height: 1.2em;
}

div.commentator {
	border-style: solid;
	border-color: #c0c0c0;
	border-width: 0px 0px 1px 0px;
	line-height: 1.5em;
}

div.commentbody p {
	margin: 0.5em;
	margin-left: 2em;
}

div.form {
	background-color: #fcfcfc;
	color: #000000;
	border-style: solid;
	border-color: #c0c0c0;
	border-width: 1px;
	margin-top: 1em;
	margin-bottom: 0.5em;
	margin-left: 2em;
	padding: 2px;
}

div.form form {
	margin: 0em 0em 0em 0em;
	background-color: #fcfcfc;
}

div.form form.comment {
	font-size: 90%;
}

div.field {
	display: inline;
	margin-right: 2em;
}
form.comment input {
	background-color: #e0e0e0;
	color: #000;
	margin-left: 1em;
}

div.textarea {
	display: block;
	vertical-align: top;
}
form.comment textarea {
	display: block;
	background-color: #e0e0e0;
	color: #000000;
	margin-left: 3em;
	width: 30em;
	height: 5em;
}

div.button {
	display: block;
	margin-left: 3em;
}

div.referer {
	text-align: right;
	font-size: 80%;
	color: #f08000;
	background-color: #fff;
	margin: 0em;
}
div.referer a:link {
	color: #f08000;
	background-color: transparent;
}
div.referer a:visited {
	color: #d06000;
	background-color: transparent;
}

div.refererlist {
	background-color: #fafafa;
	color: #f08000;
	border-style: solid;
	border-color: #c0c0c0;
	border-width: 1px 0px 0px 0px;
	padding: 2px;
	padding-bottom: 1px;
}

div.refererlist a:link {
	color: #f08000;
	background-color: transparent;
}
div.refererlist a:visited {
	color: #d06000;
	background-color: transparent;
}

div.refererlist ul {
	font-size: 90%;
	margin: 0.5em 1em 0.5em 3em;
	line-height: 1.2em;
}

hr {
	border-style: solid;
	border-width: 2px 0px 0px 0px;
	border-color: #ccc;
}

hr.sep {
	display: none;
}

div.footer {
	font-size: 80%;
	text-align: right;
/*	margin-top: 1em;*/
	color:#000;
	background:#fff;
	clear: both;
}

form.update {
	background-color: #f9fcf9;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}
form.update form.update textarea, form.commentstat input {
	background-color: #fff;
	color: #000;
}

form.update span.field {
	display: inline;
	margin-left: 0em;
	margin-right: 0.5em;
}

form.update div.field.title {
	display: block;
	margin-top: 1em;
}
form.update div.field.title input {
	margin-left: 0.5em;
}

form.update div.textarea {
	display: block;
	margin-top: 1em;
}
form.update textarea {
	display: block;
	margin-left: 3em;
	margin-bottom: 1em;
	width: 35em;
	height: 15em;
}

form.update span.checkbox.hidediary {
	margin-left: 1em;
}

div.comment form {
	margin-top: 0em;
	margin-left: 3em;
}

p.message {
	text-align: center;
	font-size: 110%;
	background-color: #d00;
	color: #fff;
	padding: 8px;
}

pre {
	background-color: #f9fcf9;
	color: #000000;
	margin-left: 3em;
	margin-right: 1em;
	padding: 8px 8px 8px 8px;
	border-style: solid;
	border-color: #cccccc;
	border-width: 0px 1px 1px 0px;
	overflow: auto;

}

/*div.body*/ blockquote {
	border-style: solid;
	border-color: #CCCCCC;
	border-width: 2px 2px 2px 2px;
	margin-left: 5em;
	margin-right: 3em;
	padding: 4px 4px 4px 4px;
}
/*div.body*/ blockquote p {
	margin: 0.5em 0em 0.5em 0em;
}

div.body ul, div.body ol {
	margin-left: 3em;
	margin-right: 3em;
}

div.body dl {
	margin-left: 2em;
}

div.body dt {
	border-style: solid;
	border-color: #eef;
	border-width: 0px 0px 2px 0px;
	margin-top: 0.7em;
}

div.body dd {
	margin: 0em 3em 0.5em 1em;
}

table {
	border-color: #ccc;
	border-width: 1px;
	padding: 0px;
	border-collapse: collapse;
}
th, tr, td {
	border-style: solid;
	border-color: #ccc;
	border-width: 1px;
	padding-top: 4px;
	padding-left: 4px;
}

div.recentsubtitles {
	font-size: 90%;
	margin-top: 0px;
	margin-bottom: 1em;
	margin-left: 1em;
}

div.body span.footnote {
	vertical-align: super;
	font-size: 70%;
}

div.footnote {
	font-size: 90%;
	border-style: solid;
	border-color: #ccc;
	border-width: 1px 0px 0px 0px;
	padding: 0em;
	margin-left: 6em;
}

p.footnote {
	margin: 0.5em;
	padding: 0em;
}

img.left {
	border-width: 1px;
	border-color: #000080;
	float: left;
	margin: 0.5em;
}

img.right {
	border-width: 1px;
	border-color: #000080;
	float: right;
	margin: 0.5em;
}

div.section, div.comment {
	clear: both;
}

div.main {
	margin-top:0;
	margin-left: 20%;
}

div.sidebar {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 20%;
	/*font-size: 80%;*/
	padding: 10px 2px 100% 2px;
	border-style: solid;
	border-color: #666;
	border-width: 0 1px 1px 0;
	padding-top: 0.5em;
	color: #000;
	background: #eee url(w9b.png);
}

div.sidebar ul {
	line-height: 1.1em;
	margin: 10px;
	padding: 0px;
	list-style-type: none;
}

div.sidebar form {
	margin: 0em 0em 0.5em 0em;
	padding: 0px;
}

div.sidebar h2 {
	color: #000;
	background-color: #FFFFFF;
	border-left: 5px;
	padding:0px;
}

div.sidebar h3 {
	margin:0;
	padding-left:0.5em;
	border:none;
}

div.sidebar h4 {
	margin:3px 0;
	padding-left:0.5em;
	color:#05b;
}

div.sidebar h4:first-letter {
	padding:1px;
	color:#f00;
	background:transparent;
}

div.sidebar span.adminmenu {
	color:#000;
	background: transparent;
	border:none;
}

div.sidebar span.c-label {
	display:none;
}

div.sidebar div.todo-title {
  	font-weight: bold;
	padding-left:0.5em;
	color:#05b;
}

div.sidebar div.todo-title p:first-letter {
  	color:#f00;
	background:transparent;
}

div.sidebar div.todo-body ul {
	line-height: 1.1em;
	margin: 10px;
	padding: 0px;
	list-style-type: none;
}

div.counter {
	text-align:center;
}

div.moonage {
	text-align:center;
	font-size:90%;
}

/*todo.rb css*/

  div.todo {
/*	margin-left:20%;*/
  	font-size: 80%;
  }

  div.todo-title {
  	font-weight: bold;
  }

  div.todo-body {
  }

  span.todo-priority {
  	font-weight: bold;
  }

  span.todo-in-time {
  }

  span.todo-today {
  	color: blue;
  }

  span.todo-too-late {
  	color: red;
  	font-weight: bold;
  }

div.sidebar div.category {
	text-align:center;
}

span.hidden-marker {
	cursor:help;
	border-width:0 0 1px 0;
	border-style:dotted;
	border-color:#ccc;
}

span.sanchor,span.canchor {
	color:#f00;
}

a img {
	border:none;
}

span.hidden-marker {
	cursor:help;
	border-width:0 0 1px 0;
	border-style:dotted;
	border-color:#ccc;
}

#to-top{
	position:fixed;
	right:0.2em;
	bottom:0.2em;
	padding:3px;
	font-size:90%;
	width:3em;
	text-align:right;
	line-height:0.8em;
}

del {
	color:#999;
}

@media print {
	body {
		margin: 0px;
		padding: 0px;
		color: #000;
		background-color: #fff;
	}

	div.adminmenu { display: none; }
	div.comment   { display: none; }
	div.footer    { display: none; }
	div.main {
		margin-left: 1em;
		margin-right: 1em;
	}
	div.sidebar { display: none; }
	.nodisp { display: none; }
}
