/*
Title: Candy
Revision: $Revision: 1.17 $
Author: ただただし
Access: sho@spc.gr.jp
License: GPL

	validated by W3C.
 */

a:link, a:visited {
	background-color:transparent; 
	color: #8B0000;
	text-decoration: none;
	border-style: none;
	border-width: 1px;
}

a:active {
	text-decoration: none;
	border-width: 1px;
}

a:hover, a:focus {
	color: #8B0000;
	background-color: #F0E68C;
	border-style: none;
	border-width: 1px;
}

body {
	background-color: #fdffcf;
	color: black;
	margin-left: 0px;
	margin-right: 0px;
}

p.message {
	text-align: center;
	font-size: large;
	font-weight: bold;
	background-color: red;
	color: #fff;
	padding: 8px;
	margin: 0px;
}

div.adminmenu {
	text-align: left;
	font-size: x-small;
}

span.adminmenu {
	margin: 4px;
}

h1 {
	text-align: right;
	margin-top: 0px;
	margin-bottom: 0px;
}

div.calendar {
	background-color:transparent; 
	background-image: url(candy_calendar.png);
	background-repeat: no-repeat;
	margin-top: 0px;
	margin-left: 0px;
	width: 500px;
	height: 96px;
	color: black;
	text-align: left;
	font-size: small;
	font-weight: bold;
	padding-top: 8px;
	padding-left: 8px;
}

div.day {
	border-width: 1px;
	padding-bottom: 0.5em;
	margin-bottom: 0.5em;
}

h2 {
	background-image: url(candy_h2.png);
	background-repeat: no-repeat;
	margin-left: 0px;
	margin-top: 0.5em;
	margin-bottom: 0.1em;
	width: 500px;
	height: 32px;
	padding-left: 8px;
}

h2 span.date {
	font-size: large;
}

h2 span.title {
	background-color:transparent; 
	color: black;
	margin-right: 1em;
}

div.body {
	padding: 2px;
	padding-bottom: 1px;
	margin-left: 2em;
}

div.body p {
	margin-left: 1em;
	margin-right: 1em;
	margin-top: 0.2em;
	margin-bottom: 0.7em;
	line-height: 1.3;
}

h3 {
	margin: 0em;
	font-weight: bold;
}

div.day span.sanchor {
	background-image: url(candy_red.png);
	background-position: bottom right;
	background-repeat: no-repeat;
	padding: 16px 16px 0px 0px;
	color: #fdffcf;
	background-color: transparent;
	font-size: 1px;
}

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

pre {
	background-color: #ffee55;
	color: black;
	border-style: solid;
	border-color: gold;
	border-width: 1px 1px 1px 0.5em;
	margin-left: 2em;
	margin-right: 1em;
	padding: 8px 8px 8px 8px;
}

div.body blockquote {
	background-color: #ffee55;
	color: black;
	border-style: solid;
	border-color: gold;
	border-width: 3px 1px 3px 1px;
	margin-left: 2em;
	margin-right: 1em;
	padding: 0px 8px 0px 8px;
}

div.comment {
	background-color: #eceebe;
	border-style: inset;
	border-color: #eceebe;
	border-width: 2px;
	color: black;
	padding: 2px;
	padding-bottom: 1px;
	margin-top: 0.5em;
	margin-left: 3em;
	margin-right: 1em;
	font-size: small;
}

div.comment div.caption {
	border-style: solid;
	border-color: #8B0000;
	border-width: 0px 0px 1px 0px;
}

div.comment p {
	line-height: 150%;
}


div.refererlist div.caption {
}

div.referer {
	background-color: #eceebe;
	border-style: inset;
	border-color: #eceebe;
	border-width: 2px;
	text-align: right;
	font-size: small;
	padding: 2px;
	padding-bottom: 1px;
	margin-left: 3em;
	margin-right: 1em;
}

div.refererlist {
	background-color: #eceebe;
	border-style: inset;
	border-color: #eceebe;
	border-width: 2px;
	font-size: small;
	padding: 2px;
	padding-bottom: 1px;
	margin-top: 0.5em;
	margin-left: 3em;
	margin-right: 1em;
}

div.refererlist ul {
	margin-top: 0em;
}

hr {
	border-style: outset;
	border-color: #8B4513;
	border-width: 1px;
}

hr.sep {
	display: none;
}

div.footer {
	font-size: small;
	text-align: right;
	margin-top: 0px;
}

div.form {
	background-color: #eceebe;
	border-style: inset;
	border-color: #eceebe;
	border-width: 2px;
	padding: 0.5em 1em 0.5em 1em;
	margin: 0.5em 1em 0.5em 3em;
	font-size: small;
}

input.field {
	border-style: inset;
	border-color: #eceebe;
	border-width: 1px;
	background-color: #fff;
}

textarea {
	border-style: inset;
	border-color: #eceebe;
	border-width: 1px;
	background-color: #fff;
	margin-left: 1em;
	width: 30em;
}

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

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

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

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

img.rightimg {
	border-width: 1px;
	border-color: darkred;
	float: right;
}

div.section {
	clear: both;
}

/*
 for Asumi Diary
 */
p.titlelist {
	font-size: 8pt;
	margin: 4px;
	border-color: darkred;
	border-style: solid;
	border-width: 1px 0px 0px 0px;
	padding: 1px;
}

p.recentitem {
	font-size: 8pt;
	margin: 4px;
	border-color: darkred;
	border-style: solid;
	border-width: 1px 0px 0px 0px;
	padding: 1px;
}

div.recentsubtitles {
	font-size: 8pt;
	margin: 4px;
	padding: 1px;
}

div.main {
	border-style: solid;
	border-color: #8B0000;
	border-width: 0px 0px 0px 1px;
	margin-left: 18%;
}

div.sidebar {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 17%;
	padding: 2px 2px 100% 2px;
}

div.sidebar p {
	text-align: center;
	background-color: #fff;
	border-style: solid;
	border-width: 1px;
	border-color: darkred;
	font-size: x-small;
	padding: 2px;
	margin: 4px;
}


/*
ツッコミ省略版本文
*/
div.commentshort {
        font-size: 90%;
        margin-left: 0.5em;
}

span.commentator {
        font-weight: bold;
}

div.commentshort p {
        margin-top: 0.5em;
        margin-bottom: 0.2em;
        line-height: 1.4em;
}

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

/*
ツッコミした人の情報
*/
div.commentator {
        border-style: solid;
        border-color: #8B0000;
        border-width: 0px 0px 1px 0px;
        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%;
        border-style: solid;
        border-color: #8B0000;
        border-width: 0px 0px 1px 0px;
        margin: 0.5em;
}

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

div.field {
        display: inline;
        margin-right: 2em;
}

form.comment input {
        background-color: #fff;
        margin-left: 1em;
}

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

form.comment textarea {
        display: block;
        background-color: #fff;
        margin-left: 3em;
        width: 30em;
        height: 5em;
}

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

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

form.update input, form.update textarea, form.commentstat input {
        background-color: #fff;
}

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;
}
