/*
コクヨの金銭出納帳をイメージ
*/

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

/*
リンク文字列に関する設定
*/
a:link {
	text-decoration: none;
	color: #000066;
	background: transparent;
	margin: 0.1em;
	padding: 1px 1px 0px 1px;
	border-style: none none solid none;
	border-width: 1px;
}

a:visited {
	text-decoration: none;
	color: #006699;
	background: transparent;
	margin: 0.1em;
	padding: 1px 1px 0px 1px;
	border-style: none none solid none;
	border-width: 1px;
}

a:hover {
	margin: 0.1em;
	padding: 0;
	color: #FF6600;
	border: outset 1px #888;
}

a:active, a:focus {
	margin: 0.1em;
	padding: 0;
	color: #FF6600;
	border: inset 1px #888;
}

/*
ページトップにある操作ボタンの並ぶ行の設定
*/
div.adminmenu {
	margin: 0px;
	height: 20px;
	width: 100%;
	text-align: right;
	font-size: 11pt;
	padding: 4px 0px 1px 0px;
	background-color: #fff;
}

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

/*
日記タイトルの設定
*/
h1 {
	margin: 0px;
	width: 100%;
	height: 30px;
	padding: 0px;
	background-color: #000;
	color: #fff;
	border-style: solid;
	border-color: #b3b3af;
	border-width: 24px 0px 12px 0px;
	font-size: 24px;
}

/*
1日の日記全体を囲む枠の設定
*/
div.day {
	background-color: #FFFFFa;
	color: #101090;
	border-style: solid;
	border-color: #b3b3af;
	border-width: 12px 20px 12px 20px;
	margin: 0px;
	padding-bottom: 2px;
}

/*
タイトル行全体の設定
*/
h2 {
	height: 35px;
	margin: 0px;
	padding: 0ｐｘ;
	background-color: #fffffa;
	border-style: solid;
	border-bottom-style: double;
	border-color: #FFC0CB;
	border-width: 0px 0px 3px 0px;
}

/*
日付の設定
*/
h2 span.date {
	height: 35px;
	font-size: medium;
	vertical-align: bottom;
	margin-left: 0.3em;
}

h2 span.date a {
	text-decoration: none;
}

/*
タイトルの設定
*/
h2 span.title {
	height: 35px;
	font-size: medium;
	vertical-align: bottom;
	margin-left: 0.3em;
	margin-right: 0.3em;
}

/*
長年日記
*/
h2 span.nyear {
	height: 35px;
	vertical-align: bottom;
	font-size: small;
}

/*
livedoor_weatherプラグイン
*/
h2 span.lwws {
	height: 35px;
	float: right;
	background-color: #fffffa;
	font-size: small;
	line-height: 110%;
	font-weight: normal;
	color: #000;
	padding: 0.2em 0px auto 0px;
}
h2 span.lwws img {
	height: 35px;
	float: right;
}
h2 span.lwws span{
	margin: 0;
	display: table-cell;
	vertical-align: middle;
}
h2 span.lwws span.text{
	width: 100px;
}
h2 span.lwws span.img{
	width: 50px;
}
*:first-child+html h2 span.lwws span{
	display: inline;
	zoom: 1;
}

/*
タイトルを除いた1日の日記本文全体の設定
*/
div.body {
	background-color: transparent;
	color: #000;
	margin-left: 1em;
	margin-right: 1em;
}

/*
サブタイトルを含むセクションの設定
*/
div.section {
	margin-top: 1em;
	margin-left: 0em;
	margin-bottom: 2em;
}

/*
サブタイトルの設定
*/
h3 {
	font-size: medium;
	margin: 0em;
	font-weight: bold;
	border-bottom-style: solid;
	border-color: #aaf;
	border-width: 0px 0px 1px 0px;
}

h3 a {
	text-decoration: none;
}

/*
その他の見出し(必要なら)
*/
h4 {
	margin: 1em 0.5em 0.5em 0.5em;
	font-weight: bold;
	border-bottom-style: solid;
	border-color: #aaf;
	border-width: 0px 0px 1px 0px;
}

h5 {
	font-size: medium;
	margin: 1em 1em 0.5em 1em;
	font-weight: bold;
	border-bottom-style: solid;
	border-color: #aaf;
	border-width: 0px 0px 1px 0px;
}

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

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

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

div.caption a {
	text-decoration: none;
}

/*
ツッコミ欄全体の設定
*/
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: 2em;
}

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

/*
ツッコミした人の情報
*/
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;
}

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

/*
フォームの設定
*/
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: #fffffa;
	color: #000;
	margin-left: 1em;
}

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

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

/*
リンク元リスト(Month/Latestモード)の設定
*/
div.referer {
	text-align: right;
	font-size: 90%;
	background-color: transparent;
	color: #000000;
	padding: 2px;
	padding-bottom: 1px;
	margin: 0.5em 2em 0em 2em;
}

/*
リンク元リスト(Dayモード)の設定
*/
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: 2em;
}

/*
リンク元リスト一覧の設定
*/
div.refererlist ul {
	font-size: 90%;
	margin: 0.5em 2em 0.5em 3em;
	line-height: 120%;
}

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

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

/*
フッタの設定
*/
div.footer {
	font-size: 90%;
	text-align: right;
	margin-right: 170px;
	padding: 3px 5px 3px 0px;
	background-color: #fff;
}

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

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

/*
整形済みテキスト(preタグ)の設定
*/
pre {
	background-color: #fff;
	color: #000;
	margin: 0.8em 2.5em 0.8em 2.5em;
	padding: 6px;
	border-left: 8px solid #b3b0af;
	border-bottom: 1px solid #aaf;
	font-size: 90%;
	line-height: 1.2em;
	white-space: -moz-pre-wrap;
	white-space: -pre-wrap;
	white-space: -o-pre-wrap;
	white-space: pre-wrap;
	word-wrap: break-word;
}

/*
引用(blockquoteタグ)の設定
*/
div.body blockquote {
	background-color: #fff;
	color: #000;
	border-style: double;
	border-color: #b3b0af;
	border-width: 3px 0px 3px 0px;
	margin: 0.8em 2.5em 0.8em 2.5em;
	padding: 3px;
    font-size: 95%;
	line-height: 1.1em;
}

div.body blockquote p {
	margin: 1px 0px 1px 0px;
}

p.source {
	margin-top: 0px;
	text-align: right;
	font-size: 70%;
	font-style: normal;
}

/*
箇条書きの設定
*/
div.body ul, div.body ol {
	margin: 0.6em 2.5em 0.6em 3em;
	line-height: 1.2em;
}

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

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

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

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

/* 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: #b3b0af;
	border-width: 1px 0px 0px 0px;
	padding: 0em;
	margin-left: 2em;
	margin-right: 2em;
}

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

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

/* タグ */
div.day div.tags {
	text-align: right;
	font-size: 80%;
}

/* つづき */
div.day div.sequel {
	text-align: right;
	font-size: 80%;
}

/* hatena_star */
.hatena-star-comment{
	display: none;
}

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

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

/* image_ex plugin */
img.none {
	border-style: solid;
	border-width: 1px;
	border-color: #008;
	margin: 0.5em;
}

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

/* highlight plugin */
.highlight {
   color: #000;
   background: #ffff66;
}

/*
conf
*/
div.conf {
	line-height: 1.4em;
}

/*
サイドバー関連
*/
div.main {
	margin-right: 170px;
}

div.sidebar {
	background-color: #fff;
	color: #000;
	position: absolute;
	top: 0px;
	right: 0px;
	width: 170px;
	padding: 0px 0px 100% 0px;
    font-size: 80%;
}

div.sidebarbox {
	text-align: left;
	background-color: #FFFFFa;
	border-style: solid;
	border-color: #b3b3af;
	border-width: 1px;
	margin: 5px 5px 0px 5px;
	padding: 5px;
}

div.sidebartitle {
    text-align: left;
    font-weight: bold;
}

div.sidebar form{
		margin: 0px;
	text-align: right;
}

div.sidebar ul {
	margin: 0em 0em 0em 1.2em ;
}

div.sidebar li {
	margin: 2px 0px;
}

div.sidebar input.cse-box {
	width: 142px;
}

/*
昔money.rbで生成したtable用
*/
table.money {
    font-size: 90%;
    border-collapse: collapse;
    border: solid 1px #aaf;
	margin: 0.8em 1em 0.8em 2.5em;
}
table.money th {
    font-size:80%;
    background-color : #fffffa;
    color: #000;
    border: solid 1px #aaf;
    padding: 1px 8px 1px 8px;
}
table.money td {
    background-color : #fff;
    color: #000;
    border: solid 1px #aaf;
    padding: 1px 8px 1px 8px;
}
table.money tfoot {
    font-weight: bold;
}

/* twitter2tdiary */
div.tweet table{
	margin: 0em 1.5em 0em 1.5em;
	border-color: transparent;
}
div.tweet tr, div.tweet  td{
	background: transparent;
	font-size: 95%;
	padding: 0.5em;
	border-color: transparent transparent #b3b3af transparent;
	border-bottom-style: dashed;
	border-bottom-width: 1px;
}
div.tweet img{
	-ms-interpolation-mode: bicubic;
	width: 80px;
}
div.tweet img.flickr{
	width: 75px;
}
div.tweet span{
	display: table-cell;
	vertical-align: middle;
	padding-left: 0.5em;
}

/* tweetボタン */
h3 span.tweetbutton{
	float: right;
}
