/*
Title: 真夜中
Revision: $Revision: 1.6 $
Author: ただただし
Access: sho@spc.gr.jp
License: GPL

*/

a:link, a:visited {
	color: gray;
	text-decoration: none;
	border-style: none;
	border-width: 1px;
}

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

a:hover, a:focus {
	color: black;
	background-color: white;
	border-style: none;
	border-width: 1px;
}

body {
	background-color: black;
	background-image: url(midnight_back.png);
	background-position: right top;
	background-attachment: fixed;
	background-repeat: no-repeat;
	color: white
}

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

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

span.adminmenu {
	border-style: outset;
	border-color: white;
	border-width: 1px;
	padding: 3px;
}

h1 {
	color: white;
	padding: 4px;
	text-align: left;
}

div.calendar {
	text-align: left;
	border-style: solid;
	border-color: darkgray;
	border-width: 1px 0px 1px 0px;
	padding: 2px;
	margin-bottom: 0.5em;
}

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

h2 {
	border-style: solid;
	border-color: darkgray;
	border-width: 1px 0px 0px 1px;
	margin-top: 1em;
	margin-bottom: 0.1em;
	padding: 3px;
}

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

h2 span.title {
	color: white;
	margin-right: 1em;
}

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

div.section p {
	margin-left: 1em;
	margin-top: 0.5em;
	margin-bottom: 0.7em;
	line-height: 1.3;
}

h3 {
	border-style: solid;
	border-color: gray;
	border-width: 0px 0px 1px 0px;
	margin: 0em;
	font-weight: bold;
}

pre {
	background-color: gray;
	color: black;
	margin-left: 2em;
	margin-right: 1em;
	padding: 8px 8px 8px 8px;
}

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

div.comment div.caption {
	border-style: solid;
	border-color: gray;
	border-width: 0px 0px 1px 0px;
	margin: 1ex 0px 0px 1em;
}


div.refererlist div.caption {
	border-style: solid;
	border-color: gray;
	border-width: 0px 0px 1px 0px;
	margin: 1ex 0px 0px 1em;
}

div.referer {
	text-align: right;
	font-size: small;
	border-style: solid;
	border-color: gray;
	border-width: 1px;
	padding: 2px;
	padding-bottom: 1px;
	margin-left: 4em;
}

div.refererlist {
	font-size: small;
	border-style: solid;
	border-color: gray;
	border-width: 1px;
	padding: 2px;
	padding-bottom: 1px;
	margin-top: 0.5em;
	margin-left: 4em;
}

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

hr {
	border-style: solid;
	border-width: 2px 0px 0px 0px;
	border-color: gray;
}

hr.sep {
	display: none;
}

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

div.form {
	border-style: solid;
	border-color: gray;
	border-width: 1px;
	padding: 0.5em 1em 0.5em 1em;
	margin-top: 0.5em;
	margin-left: 4em;
	margin-bottom: 0.5em;
}

input.field {
	background-color: white;
}

textarea {
	background-color: white;
	margin-left: 1em;
}

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


/*
ツッコミ省略版本文
*/
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 {
        border-style: solid;
        border-color: gray;
        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: gray;
        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: white;
        margin-left: 1em;
}

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

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

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

/*
更新フォーム
*/
div.update.day {
	border-style: solid;
	border-color: gray;
	border-width: 1px;
	padding: 0.5em 1em 0.5em 1em;
	margin-left: 3em;
}

div.update.day div.form {
	border: none;
	margin: 0px;
}

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

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

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