/*
Title: dicey
Revision: $Revision: 1.0 $
Author: daisuke
Access: daisuke@linux.or.jp
License: GPL
Comment: dicey theme

Copyright (C) 2004-2006 Daisuke SUZUKI
*/

body {
	background-color: white;
	color: black;
        margin-left: 1em;
        margin-right: 1em;
}

#content {
	min-width: 920px
}

a {
	color: #000;
	background-color: transparent;
	text-decoration: underline;
}

div.adminmenu {
	text-align: right;
	margin-top: 0px;
	margin-botom: 4px;
	font-size: x-small;
	border-style: solid;
	border-color: #447;
	border-width: 1px;
	color: #447;
	background-color: #fff;
}

div.topmenu {
	text-align: right;
	margin-top: 0px;
	margin-botom: 4px;
	font-size: x-small;
	border-style: solid;
	border-color: #447;
	border-width: 1px 1px 0px 1px;
	color: #447;
	background-color: #fff;
}

h1 {
	color: #447;
	text-align: right;
	line-height: 80%;
	margin-top: 1em;
	margin-bottom: 0.5em;
	margin-left: 1%;
}

h2 {
	color: #fff;
	background-color: #447;
	font-size: medium;
	margin-top: 1.5em;
	margin-bottom: 0.5em;
	padding: 4px;
}

div.day h2 {
	color: #fff;
	background-color: #447;
	font-size: medium;
	margin-top: 1.5em;
	margin-bottom: 0.5em;
	padding: 4px;
}

div.rss {
	color: #001;
	margin-left: 1%;
	margin-right: 4%;
	font-size: small;
}

span.date a {
	color: #fff;
	background-color: #447;
	text-decoration: underline;
}

span.title a {
	color: #fff;
	background-color: #447;
	text-decoration: underline;
}

div.body {
	color: #001;
	margin-left: 1%;
	margin-right: 4%;
	line-height: 150%;
}

div.body h3 {
	color: #447;
	text-align: left;
	font-size: medium;
	margin-left: 0%;
	margin-right: 4%;
        border-width: 0px 0px 1px 8px;
        border-style: solid;
        border-color: #447;
	padding: 1px;
}

div.body h3 a {
	color: #447;
	background-color: transparent;
}

div.day span.sanchor {
	text-decoration: none;
}

div.day span.canchor {
	text-decoration: none;
}

div.body p {
	margin-top: 0px;
	margin-bottom: 0.5em;
	margin-left: 1em;
}

div.body pre {
	border-style: solid;
	border-width: 1px 1px 1px 3px;
	border-color: #000;
	overflow: auto;
	padding: 8px;
	margin-left: 2em;
	font-weight: normal;
}

div.body blockquote {
	background-color: transparent;
	border-style: solid;
	border-color: #000;
	border-width: 4px 0px 4px 0px;
	padding: 4px;
	margin-left: 3em;
	margin-right: 3em;
	font-weight: normal;
}

div.body blockquote p {
	margin-left: 0em;
}

div.body li {
	margin-left: 1em;
}

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

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

div.body dd {
	margin-top: 0.3em;
	margin-bottom: 0.5em;
	margin-left: 1em;
}

div.adsense {
	margin-left: 1em;
}

div.comment {
	border-style: solid;
	border-color: #001;
	border-width: 1px;
	margin-top: 1em;
	margin-bottom: 0.5em;
	font-size: x-small;
	margin-left: 2em;
}

div.day div.comment {
	margin-left: 1%;
	margin-right: 4%;
}

div.form div.comment {
	margin-right: 1em;
}

div.comment p {
	margin-top: 0em;
	margin-bottom: 0.2em;
	font-weight: normal;
	padding-left: 4px;
	padding-right: 4px;
}

div.comment p.commenttitle {
	margin: 0em;
	padding: 2px;
	color: #fff;
	background-color: #447;
	font-weight: bold;
}
div.comment p.commenttitle a {
	color: #fff;
	background-color: #447;
}


div.form {
	border-style: solid;
	border-color: #447;
	border-width: 1px;
}

div.day div.form {
	margin-top: 0px;
	margin-bottom: 0.5em;
	font-size: small;
}

div.form form {
	margin: 0;
	padding: 4px 4px 4px 4px;
	width: 100%;
}

div.form p {
	margin-top: 0px;
	margin-bottom: 0.5em;
	padding-left: 4px;
}

textarea {
	color: #000;
	background-color: #dde;
	border-color: #447;
	border-style: solid;
	border-width: 1px;
}

div.form textarea {
	margin-left: 2em;
	margin-right: 1em;
}

input {
	color: #000;
	background-color: #dde;
	border-color: #447;
	border-style: solid;
	border-width: 1px;
}

div.referer {
	text-align: right;
	font-size: x-small;
	margin-top: 0px;
	font-weight: normal;
	margin-right: 4%;
}

div.trackbacks {
	text-align: right;
	font-size: x-small;
	margin-top: 0px;
	font-weight: normal;
	margin-right: 4%;
}

div.refererlist {
	border-style: solid;
	border-color: #447;
	border-width: 1px;
	margin-top: 0px;
	margin-bottom: 0.5em;
	margin-left: 2em;
	font-size: small;
}
div.refererlist p {
	color: #fff;
	background-color: #447;
}

div.day div.refererlist {
	margin-left: 1%;
	margin-right: 4%;
}

div.refererlist ul {
	margin-left: 2em;
	font-weight: normal;
}
div.refererlist ul a {
	text-decoration: none;
}

div.form div.refererlist {
	margin-right: 1em;
}

div.refererlist p, div.refererlist ul {
	margin-top: 0px;
	margin-bottom: 0em;
	padding: 4px 4px 4px 4px;
}

div.comment div.caption, div.refererlist div.caption {
	padding: 1ex 0px 1ex 1em;
	//background-color: #447;
	background-color: #fff;
	color: #001;
}

div.comment div.caption a {
	color: #001;
	text-decoration: none;
}

hr {
	color: #447;
	height: 1px;
	background-color: transparent;
	margin-top: 0.5em;
}

hr.sep {
	display: none;
}

div.footer {
	color: #fff;
	background-color: #447;
	padding: 2px;
	//width: 78%;
	margin-top: 20px;
	//margin-left: 200px;
	text-align: right;
	font-size: x-small;
}
div.footer a {
	color: #fff;
	background-color: #447;
}

form div.body {
	border-style: solid;
	border-color: #447;
	border-width: 1px;
	color: #000;
	background-color: transparent;
	padding: 0px 4px 4px 4px;
}

/*
 for plugins
 */

/* calendar */
div.calendar {
	text-align: right;
	font-size: x-small;
	font-weight: normal;
}

/* calendar2 */
table.calendar {
	font-size: small;
	line-height: 100%;
	border-width: 0px;
}

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

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: x-small;
	margin-top: 0px;
	margin-bottom: 0px;
}

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

/* footnote */
div.body span.footnote {
	vertical-align: super;
	font-size: xx-small;
}
div.body span.footnote a {
	text-decoration: none;
}

div.footnote {
	border-style: solid;
	border-color: #447;
	border-width: 1px 0px 0px 0px;
	margin-top: 1.5em;
	margin-left: 3em;
	font-size: small;
}
div.footnote a {
	text-decoration: none;
}

/* amazon plugin */
img.left {
	border-width: 1px;
	border-color: #447;
	float: left;
}

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

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

/* category */
span.category {
	color: #001;
	background-color: #dde;
	font-size: x-small;
	border-style: solid;
	border-width: 1px;
	border-color: #bbc;
	margin-right: 2px;
	padding: 2px 2px 2px 2px;
        vertical-align: middle;
}

span.category a {
	color: #001;
	text-decoration: none;
	background-color: #dde;
}

div.category_list {
	margin-left: 1em;
}

div.category_list a {
	color: #001;
	background-color: #dde;
	font-size: x-small;
	border-style: solid;
	border-width: 1px;
	border-color: #bbc;
	margin-right: 2px;
	padding: 2px 2px 2px 2px;
        vertical-align: middle;
	text-decoration: none;
}

/*
 Main body on right
 */
div.main {
//	margin-left: 0em;
	margin-left: 230px;
	margin-right: 10px;
//	width: 78%;
//	width: 78%;
//	float: left;
}

div.sidebar {
	color: #001;
	background-color: #fff;
	position: absolute;
	margin-right: 0px;
	top: 50px;
	left: 18px;
	width: 210px;
	font-size: small;
	padding: 4px 4px 4px 4px;
	border-style: solid;
	border-color: #447;
	border-width: 0px 1px 0px 0px;
}

div.sidebar a {
	color: #001;
	background-color: #fff;
}

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

div.sidebar div.recommends ul li {
	margin-left: 0px;
	font-size: small;
}

div.sidebar h2 {
	color: #001;
	background-color: #fff;
        border-width: 0px 0px 2px 12px;
        border-style: solid;
        border-color: #669;
	font-size: small;
	margin-top: 1.5em;
	margin-bottom: 0.5em;
	padding: 4px;
}

div.sidebar div.sidebar-body {
	padding: 0px 8px 0px 8px;
}

/*
ツッコミ省略版本文
*/
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 {
        font-size: 90%;
        margin: 0.5em;
        line-height: 1.2em;
}

/*
ツッコミした人の情報
*/
div.commentator {
        line-height: 1.5em;
}

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

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

div.form div.caption {
        font-size: 90%;
        margin: 0.5em;
}

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;
        background-color: #dde;
        color: #000;
        margin-left: 3em;
        width: 30em;
        height: 5em;
}

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

/*
更新フォーム
*/
div.update.day {
	border-style: solid;
	border-color: #447;
	border-width: 1px;
}

div.update.day div.form {
	border: none;
}

form.update {
        padding-top: 0.5em;
        padding-bottom: 0.5em;
}

form.update input, form.update textarea, form.commentstat input {
        background-color: #dde;
        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;
}

/*
ToDo plugin
*/
div.todo ul li {
	margin-left: 0px;
	font-size: small;
}
/*
div.todo-title p {
	background-color: #447;
	color: white;
	margin-right: 4em;
}
*/
div.todo-title p {
	color: #001;
	background-color: #fff;
        border-width: 0px 0px 2px 12px;
        border-style: solid;
        border-color: #669;
	font-size: small;
	font-weight: bold;
	margin-top: 1.5em;
	margin-bottom: 0.5em;
	padding: 4px;
}

/*
Sidemenu
*/
div.sidemenu {
	margin-left: 0.5em;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	margin-right: 0em;
}

/*
Schedule plugin
*/
div.schedule ul li {
	margin-left: -1em;
	font-size: small;
}
div.schedule h4 {
	background-color: #447;
	color: white;
	margin-right: 4em;
}

div.titlelist h4 {
	background-color: #447;
	color: white;
	margin-right: 4em;
}

/* */
ul.recent-list li {
	font-size: x-small;
}
ul.recent-list-item li {
	font-size: small;
}

/*
Last Modified
*/
div.lm {
	text-align: right;
	font-size: small;
}

/*
edit today
*/
span.edit-today a {
	text-align: right;
	color: white;
	font-size: x-small;
}
