/*
Title: tDiary2 default
Revision: $Revision: 1.17 $
Author: TADA Tadashi
Access: sho@spc.gr.jp
License: GPL
Comment: default theme for tDiary 1.5 or later.

validated by W3C.
*/

/*
ページ全体の基本的な設定。背景色や文字色など
*/
body {
	background-color: #fff;
	color: #000;
	background-image: url(logo1.gif);
	background-position: 0px 0px ; 
	background-repeat: no-repeat;
	margin-top:0px;
	margin-left:2px;
}

/*
E鵐文字列に関すE瀋E
*/
a:link {
	text-decoration: none;
}

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

a:hover {
	text-decoration: underline;
}

/*
ページトップにあE犧捜タンの並ぶ行の設E
*/
div.adminmenu {
	background-color: #eef;
	color: #000;
	text-align: right;
	font-size: 80%;
	padding: 2px;
	margin-top:0;
}

/*
ページトップにあE犧捜タン自体の設E
*/
span.adminmenu {
	background-color:  transparent;
	color: #000;
	border-style: solid;
	border-color: #eef #aaf #aaa #eee;
	border-width: 1px;
	padding: 2px;
}

/*
EタイトE寮瀋E
*/
h1 {
	text-align: right;
	background-color: transparent;
	color: #88f;
	font-size: X-small;
	
/*	background-image: url(logo1.gif);
	background-position: 0 0;
	background-repeat: no-repeat;
	margin-top:0px;
	margin-left:0px;*/
}

/*
カE鵐澄爾寮瀋E
*/
div.calendar {
	background-color: #fff;
	color: #000;
	border-style: solid;
	border-color: #ddf;
	border-width: 2px;
	padding: 2px;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	line-height: 110%;
	font-size: 90%;
}

div.calendar div.year {
}

/*
1E瞭E全体を囲む枠の設E
*/
div.day {
	background-color: #eef;
	color: #000;
	border-style: solid;
	border-color: #aaf;
	border-width: 2px;
	padding-bottom: 0.5em;
	margin-bottom: 1em;
	margin-top: 4.6em;
}

/*
タイトE堊澗里寮瀋E
*/
/*
h2 {
	margin: 0.1em 1em 0.1em 0.5em;
}
*/
/*
E佞寮瀋E
*/
/*
h2 span.date {
	font-size: medium;
	margin-right: 0.5em;
*/
}

/*
タイトE寮瀋E
*/
/*
h2 span.title {
	font-size: large;
*/
}
*/
/*
タイトE鮟Eい1E瞭E本文全体の設E
*/
div.body {
	background-color: #fff;
	color: #000;
	border-style: solid;
	border-color: #aaf;
	border-width: 1px;
	padding: 4px;
	margin-left: 2em;
	margin-right: 1em;
	margin-top: 0px;
}

/*
サブタイトE魎泙爛札ションの設E
*/
div.section {
    	background-color: #fff;
	color: #000;
	border-style: solid;
	border-color: #aaf;
	border-width: 1px;
	margin-top: 0.7em;
	margin-left: 2em;
	margin-bottom: 0.7em;
}

/*
サブタイトE寮瀋E
*/
/*
h3 {
	font-size: medium;
	margin: 0em;
	font-weight: bold;
:/
}

/*
その他の見出し(必要なE
*/
/*h4 {
	margin: 2em;
	font-weight: bold;
	margin-bottom: 0em;
*/
}
h2 {
	background-color : #AABBFF;
	font-family      : Verdana,Arial,Helvetica,sans-serif;
	padding-left     : 4pt;
	margin-bottom    : 5px;
}

h3 {
	border-left   : #AABBFF 10px solid;
	border-top    : #AABBFF 5px solid;
	border-right  : #AABBFF 1px solid;
	border-bottom : #AABBFF 1px solid;
	font-family   : Verdana,Arial,Helvetica,sans-serif;
	padding-left  : 3pt;
	margin-bottom : 5px;
}

h4 {
	border-left   : #AABBFF 10px solid;
	padding-left  : 4px;
	font-family   : Verdana,Arial,Helvetica,sans-serif;
	padding-left  : 2pt;
	margin-bottom : 5px;
}
/*
イメージアンカーの設E
ただしDefaultテーマではイメージアンカーは使っていないのでコメントにしてあE
指定のコツは以下の通E
  - span.sanchorはセクションアンカー、span.canchorはツッコミアンカー
  - background-imageにアンカー画E鮖慊E
  - paddingのtop(最Eとright(2番目)に画E僚腸サイズを指E
  - colorに背景色と同じ色を指E文字を見えなくすE燭E
*/
/*
div.day span.sanchor {
	background-image: url(default_sanchor.png);
	background-position: bottom right;
	background-repeat: no-repeat;
	padding: 16px 16px 0px 0px;
	color: #fff;
	background-color: transparent;
	font-size: 1px;
}

div.day span.canchor {
	background-image: url(default_canchor.png);
	background-position: bottom right;
	background-repeat: no-repeat;
	padding: 16px 16px 0px 0px;
	color: #fff;
	background-color: transparent;
	font-size: 1px;
}
*/

/*
Eの本文(段Eの設E
*/
div.section p {
	margin: 0.5em 1em 0.7em 3em;
	line-height: 150%;
}

/*
ツッコミ/フォーEE鵐元のキャプション設E
*/
div.caption {
	font-size: 90%;
	border-style: solid;
	border-color: #aaf;
	border-width: 0px 0px 1px 0px;
	margin: 0.5em;
}

/*
ツッコミ欄全体の設E
*/
div.comment {
	background-color: #fff;
	color: #000;
	border-style: solid;
	border-color: #aaf;
	border-width: 1px;
	padding: 2px;
	padding-bottom: 1px;
	margin-top: 0.5em;
	margin-left: 2em;
	margin-right: 1em;
}

/*
ツッコミ省略版本文
*/
div.commentshort {
	font-size: 90%;
	margin-left: 0.5em;
}
span.commentator {
	font-weight: bold;
}
div.commentshort p {
	margin-top: 0.2em;
	margin-bottom: 0.2em;
	line-height: 120%;
}

/*
ツッコミ本体
*/
div.commentbody {
	font-size: 90%;
	margin: 0.5em;
	line-height: 120%;
}

/*
ツッコミした人の情E
*/
div.commentator {
	border-style: solid;
	border-color: #aaf;
	border-width: 0px 0px 1px 0px;
	line-height: 150%;
}

/*
ツッコミ本文
*/
div.commentbody p {
	margin: 0.5em;
	margin-left: 2em;
}

/*
フォーム全体を囲む枠の設E
*/
div.form {
	background-color: #fff;
	color: #000;
	border-style: solid;
	border-color: #aaf;
	border-width: 1px;
	padding: 2px;
	margin: 0.5em 1em 0.5em 2em;
}

/*
フォームの設E
*/
div.form form {
	margin: 0em 0em 0em 2em;
}

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

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

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

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

/*
E鵐元E好(Month/Latestモード)の設E
*/
div.referer {
	text-align: right;
	font-size: 90%;
	background-color: #eef;
	color: #000000;
	padding: 2px;
	padding-bottom: 1px;
	margin: 0.5em 1em 0em 2em;
}

/*
E鵐元E好(Dayモード)の設E
*/
div.refererlist {
	background-color: #fff;
	color: #000;
	border-style: solid;
	border-color: #aaf;
	border-width: 1px;
	padding: 2px;
	padding-bottom: 1px;
	margin-top: 0.5em;
	margin-left: 2em;
	margin-right: 1em;
}

/*
E鵐元E好醗Eの設E
*/
div.refererlist ul {
	font-size: 90%;
	margin: 0.5em 1em 0.5em 3em;
	line-height: 120%;
}

/*
罫線の設E
*/
hr {
	border-style: solid;
	border-width: 2px 0px 0px 0px;
	border-color: #ddf;
}

/*
E垢瞭EのセパE璽燭忙箸EEE喟の設E
*/
hr.sep {
	display: none;
}

/*
フッタの設E
*/
div.footer {
	font-size: 90%;
	text-align: right;
	margin-top: 0px;
}

/*
更新フォーE
*/
form.update {
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}
form.update input, form.update textarea, form.commentstat input {
	background-color: #eef;
	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;
}

/*
ツッコミ状態変更フォーE
*/
div.comment form {
	margin-top: 0em;
}

/*
エラーメッセージ表示の設E
*/
p.message {
	text-align: center;
	font-size: large;
	background-color: #d00;
	color: #fff;
	padding: 8px;
}

/*
整形済みテキスト(preタグ)の設E
*/
div.section pre {
	background-color: #eef;
	color: #000;
	margin-left: 5em;
	margin-right: 1em;
	padding: 8px 8px 8px 8px;
}

/*
引用(blockquoteタグ)の設E
*/
div.section blockquote {
	border-style: solid;
	border-color: #ddf;
	border-width: 2px 2px 2px 2px;
	margin-left: 5em;
	margin-right: 3em;
	padding: 4px 4px 4px 4px;
}
div.section blockquote p {
	margin: 0.5em 0em 0.5em 0em;
}

/*
箇条書きの設E
*/
div.section ul, div.section ol {
	margin-left: 5em;
	margin-right: 3em;
	padding-left: 0px;
}
div.section ul ul, div.section ol ol {
	margin-left: 1.7em;
	margin-right: 1em;
	margin-bottom: 0.5em;
}

/*
項目E好箸寮瀋E
*/
div.section dl {
	margin-left: 5em;
}

div.section dt {
	margin-bottom: 0.2em;
	font-weight: bold;
}

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

/*
テーブE寮瀋E
*/
div.section table {
	margin: 0.5em 1em 0.5em 5em;
	border-style: solid;
	border-width: 2px;
	border-color: #aaf;
	border-collapse: collapse;
}
div.section th, div.section td {
	padding: 5px;
	border-style: solid;
	border-width: 1px;
	border-color: #aaf;
}

/*
 いくつかのメジャーなプラグイン対応
 */

/* calendar2 */
table.calendar {
	font-size: x-small;
	line-height: 110%;
	border-style: solid;
	border-color: #aaf;
	border-width: 1px;
}

table.calendar td {
	margin: 0px;
	text-align: right;
	padding: 0px;
	margin: 0px;
}

table.calendar td.calendar-prev-month, table.calendar td.calendar-current-month, table.calendar td.calendar-next-month {
	text-align: center;
}

/* recent_list */
p.recentitem {
	font-size: 90%;
	margin-top: 0px;
	margin-bottom: 0px;
}

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

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

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

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

/* amazon plugin */
img.left {
	border-width: 1px;
	border-color: #008;
	float: left;
	margin: 0.5em;
}

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

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

/*
サイドバー関連
*/
div.main {
	margin-left: 162px;
/*	background-image: url(logo1.gif);	
	background-position: top;
	background-repeat: no-repeat;
	margin-top:0;*/
}
/*div.sidebar {
	position        : absolute;
	top             : 0px;
	left            : 0px;
	width           : 150px;
	font-size       : x-small;
	padding         : 2pt;
	border-right    : #AABBFF 1px solid;
	border-bottom   : #AABBFF 1px solid;
	color           : #000000;
	background-color: #EEEEFF;*/
	
div.sidebar {
	background-color: #eef;
	color: #000;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 160px;
	font-size       : x-small;
/*	padding: 1px 1px 100% 1px;*/
    	padding :1pt;
	border-style: solid;
	border-color: #aaf;
	border-width: 0px 2px 2px 0px;
	padding-top: 0.1em;
}

div.sidebar p {
	line-height: 120%;
	text-align: center;
	border-style: solid;
	border-color: #aaf;
	border-width: 0px 0px 1px 0px;
	margin: 2px 4px 2px 4px;
}
