/*
Title: Gear
Revision: $Revision: 1.4 $
Author: Nana
Access: http://moo.boo.jp
License: GPL
Comment: 歯車

Copyright 2003 (C) by Nana <moo@xu.boo.jp>
validated by W3C.
*/

/*
ページ全体の基本的な設定。背景色や文字色など
*/
body {
	background-color: #F0F0F0;
	color: #000;
	margin: 2px 15%;
}

/*
リンク文字列に関する設定
*/
a:link,a:visited {
	text-decoration: none;
	color: #990000;
	background-color: transparent;
}

a:active {
	text-decoration: none;
	color: #FFCC00;
	background-color: transparent;
}

a:hover, a:focus {
	color: #e44;
	background-color: transparent;
	border-bottom: dashed 1px #FFCC00;
}

/*
ページトップにある操作ボタンの並ぶ行の設定
*/
div.adminmenu {
	text-align: right;
	font-size: 90%;
}

/*
ページトップにある操作ボタン自体の設定
*/
span.adminmenu {
	padding: 2px;
}

/*
カレンダーの設定
*/
div.calendar{
	padding: 5px;
	font-size: 90%;
	background-color: #D9D9D9;
	color: #000;
}

/*
日記タイトルの設定
*/
h1 {
	text-align: center;
	font-size: 180%;
}

/*
1日の日記全体を囲む枠の設定
*/
div.day {
	text-align: left;
	padding: 0px;
	margin-top: 1em;
	margin-bottom: 3em;
	background-color: #fff;
	color: #000;
}

/*
タイトル行全体の設定
*/
h2 {
	margin: 0px;padding: 5px;
	text-align: right;
	letter-spacing: 0.2em;
	font-style: italic;
	font-size: 100%;
	height: 67px;
	background-color: #D9D9D9;
	color: #000;
	background-image: url(gear_h2.png);
	background-position: top left;
	background-repeat: no-repeat;
}

/*
日付の設定
*/
h2 span.date {
	margin: 4px;
	
}

h2 span.date a{
	color: #000;
	background-color: transparent;
	padding: 0.2em;
}

/*
タイトルの設定
*/
h2 span.title {
	margin: 0px 8px;
	padding: 0px;
	font-size: 100%;
}

/*
タイトルを除いた1日の日記本文全体の設定
*/
div.body {
	text-align: left;
	padding: 0px;
}

/*
サブタイトルを含むセクションの設定
*/
div.section {
	margin: 0px;
}

/*
サブタイトルの設定
*/
h3 {
	margin: 0px;
	padding-top: 20px;
	font-size: 100%;
	border-top: ridge #D9D9D9 8px;
}

/*
イメージアンカーの設定
ただしDefaultテーマではイメージアンカーは使っていないのでコメントにしてある
指定のコツは以下の通り
  - span.sanchorはセクションアンカー、span.canchorはツッコミアンカー
  - background-imageにアンカー画像を指定
  - paddingのtop(最初)とright(2番目)に画像の縦横サイズを指定
  - colorに背景色と同じ色を指定(文字を見えなくするため)
*/

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

/*
日記の本文(段落)の設定
*/
div.section p {
	line-height: 1.3em;
	padding: 0em 1em 0em 1em;
}

/*
ツッコミ/フォーム/リンク元のキャプション設定
*/
div.caption {
	background-color: #990000;
	color: #fff;
	text-align: left;
	padding: 2px;
	border-style: solid ridge ridge solid;
	border-color: #fff #990000 #990000 #fff;
	border-width: 1px 2px 2px 1px;
}
div.caption a:link,div.caption a:visited{
	color: #eee;
	background-color: transparent;
}

/*
ツッコミ欄全体の設定
*/
div.comment {
	background-color: #A2A2A2;
	color: #fff;
	font-size: 90%;
	text-align: left;
	padding: 4px;
}

/*
ツッコミ省略版本文
*/
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: 1.2em;
}

/*
ツッコミ本体
*/
div.commentbody {
	margin: 2px 8px;
}

/*
ツッコミした人の情報
*/
span.commentator {
	font-weight: bold;
}

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

/*
フォーム全体を囲む枠の設定
*/
div.form {
	text-align: left;
	padding: 4px;
	margin-bottom: 0px;
	border-left: solid #fff 1px;
}

div.form div.caption {
	text-align: left;
	padding: 0px;
	border: solid #000 1px;
	margin-bottom: 0.5em;
}

div.form div.caption a{
	display: block;
	padding: 2px;
	border-style: solid;
	border-color: #fff #aaa #aaa #fff;
	border-width: 1px;
}

/*
フォームの設定
*/
div.form form {
	margin: 0em 0em 0em 4px;
}

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

div.field {
	display: inline;
	margin-right: 2em;
}
form.comment input {
	margin-left: 1em;
}

div.textarea {
	display: block;
	vertical-align: top;
}

form.comment textarea {
	display: block;
	margin-left: 1em;
	width: 30em;
	height: 5em;
}

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

/*
リンク元リスト(Month/Latestモード)の設定
*/
div.referer {
	text-align: right;
	font-size: 90%;
	padding: 5px;
	background-color: #6C6C6C;
	color: #fff;
}

/*
リンク元リスト(Dayモード)の設定
*/
div.refererlist {
	font-size: 90%;
	text-align: left;
	padding: 3px 4px;
	background-color: #6C6C6C;
	color: #fff;
	
}

/*
リンク元リスト一覧の設定
*/
div.refererlist ul {
	margin-top: 3px;
	margin-bottom: 0px;
}

/*
罫線の設定
*/
hr {
	border-style: none;
}

/*
日々の日記のセパレータに使われる罫線の設定
*/
hr.sep {	
	display: none;
}

/*
フッタの設定
*/
div.footer {
	text-align: right;
	padding: 5px;
	font-size: 95%;
}

/*
更新フォーム
*/
form.update {
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}
form.update input, form.update textarea, form.commentstat input {
}

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: 1em;
	margin-bottom: 1em;
	width: 30em;
	height: 15em;
}

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

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

/*
エラーメッセージ表示の設定
*/
p.message {
	text-align: center;
	font-size: medium;
	background-color: #fff;
	width: 66%;
	color: #888;
	padding: 8px;
}

/*
整形済みテキスト(preタグ)の設定
*/
pre {
	margin-left: 2em;
	margin-right: 1em;
	padding: 8px;
	background-color: #ddd;
	border-style: solid;
	border-color: #999;
	border-width: 5px 1px;
	color: #A52A2A;
}

/*
引用(blockquoteタグ)の設定
*/
div.body blockquote {
	border-style: solid ridge ridge solid;
	border-color: #eee #000 #000 #eee;
	border-width: 2px 3px 3px 2px;
	margin-right: 2em;
	padding: 8px;
}
div.body blockquote p {
	margin: 0.5em 0em 0.5em 0em;
}

/*
箇条書きの設定
*/
div.body ul, div.body ol {
	margin-left: 6em;
	margin-right: 3em;
}

/*
項目リストの設定
*/
div.body dl {
	margin-left: 5em;
}

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

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

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

/* calendar2 */
table.calendar {
	font-size: 90%;
	line-height: 1.1em;
	border-style: ridge;
	border-color: #ddd;
	border-width: 3px;
	background-color: #fff;
	color: #555;
}

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%;
	background-color: #F0F0F0;
	color: #555;
	padding: 0em;
	margin-left: 5em;
}

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

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

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

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

/*
サイドバー関連
*/
div.main {
	margin-left: 20%;
}

div.sidebar {
	width: 20%;
	padding-top: 0.5em;
}

div.sidebar p {
	line-height: 120%;
	text-align: center;
	margin: 2px 4px 2px 4px;
}

/* calendar3 */
.calendar-popup {
	display: none;
	position: absolute;
	padding: 0 1ex 0 1ex;
	font-size: small;
	background-color: #fff;
	color: #000;
}

.calendar-day a{
	font-weight: normal;
}

.calendar-todo {
	border-style: dashed;
	border-color: #000;
	border-width: 1px;
}
table,td{
	border: none;
	font-size: 90%;
	margin: 5px;
}
p.big {
	font-size:20pt;
	color: blue;
	background-color: transparent;
	text-align: center;
}
.attention {
	color: red;
	background-color: transparent;
}
form.search{
	margin: 0px;
	text-align: left;
}
