body {
	background: #FFF;
	color: #330;
}
a:link {
	color: #963;
}
a:active {
	color: #663;
}
a:visited {
	color: #666;
}
h1 a:link, h1 a:active, h1 a:visited {
	color: #663;
}
h2 a {
	background: #690;
}
h2 a:link, h2 a:active, h2 a:visited {
	color: #FFF;
}
input[type="text"], textarea {
	border-color: #690;
	background: #FFF;
	color: #000;
}
button:lang(ja) {
	border-color: #690;
	background: #690;
	color: #FFF;
	letter-spacing: 2px;
	padding-left: 7px;
}
span.mark {
	background: #CF0;
	color: #000;
}

h1, h2, p, li, dt, td, th {
	font-family: sans-serif;
}
h1, h2 {
	font-weight: bold;
}
h1 a, h2 a {
	text-decoration: none;
}
h1 a:hover, h2 a:hover {
	text-decoration: underline;
}

div.body {
	margin: 21px 28px;
}
div.header {
	margin-bottom: 28px;
}
div.main {
	float: left;
	width: 700px;
	padding-bottom: 28px;
}
div.body > div.footer {
	margin-left: 735px;
}
div.body > div.footer > div {
	padding: 0 7px 7px;
}
div.body > div.footer > div.nav, div.body > div.footer > div.aside {
	border-top: #690 solid 1px;
	padding-top: 7px;
}

div.header h1 {
	font-weight: normal;
	font-size: 35px;
	line-height: 49px;
	background: url(/title.png) no-repeat 0 50%;
	text-align: center;
}
div.error p {
	margin-top: 42px;
	text-align: center;
}

div.main > h2 {
	margin-top: 56px;
	font-size: 12px;
	text-align: center;
}
div.main > h2:first-child {
	margin-top: 0;
}
div.main > h2 a {
	border-radius: 10px;
	padding: 4px 12px 3px;
}
div.main > div.article {
	margin: 28px 0 42px;
}
div.main > div.nav p {
	text-align: center;
}

div.article > h1 {
	margin-bottom: 7px;
	padding-left: 18px;
	text-indent: -18px;
}
div.article > h1 a {
	background: url(http://www.ousaan.com/list_large.png) no-repeat 0 50%;
	padding-left: 18px;
}
div.article a[target] {
	background: url(http://www.ousaan.com/ext_link.png) no-repeat 100% 50%;
	padding-right: 16px;
}
div.article p.indent {
	text-indent: 1em;
}
div.article p.link {
	margin: 7px 0 10px 28px;
	text-indent: -18px;
}
div.article p.link a:first-child {
	background: url(http://www.ousaan.com/link.png) no-repeat 0 50%;
	padding-left: 18px;
	padding-right: 0;
}
div.article p.center {
	text-align: center;
}
div.article p.left {
	float: left;
	width: auto;
	margin: 0 14px 14px 0;
}
div.article p.right {
	float: right;
	width: auto;
	margin: 0 0 14px 14px;
}
div.article pre {
	background: #030;
	color: #FFF;
	padding: 7px 14px;
	margin: 14px 0 21px;
}
div.article blockquote {
	border-left: #690 solid 4px;
	padding: 7px 0 7px 10px;
	margin: 14px 0;
}
div.article blockquote blockquote {
	border-color: #963;
	padding: 4px 0 3px 10px;
	margin: 7px 0;
}
div.article ol {
	margin: 14px 0;
}
div.article ol li {
	margin-left: 42px;
}
div.article ul, div.article dl {
	margin: 14px 0 21px;
}
div.article ul li, div.article dt {
	margin-left: 28px;
	text-indent: -18px;
}
div.article span.list {
	background: url(http://www.ousaan.com/list.png) no-repeat 0 50%;
	padding-left: 18px;
}
div.article dd {
	margin: 7px 0 14px 42px;
}
div.article iframe {
	margin: 7px 0 14px;
}

div.article div.comments {
	margin: 14px 0 7px;
}
div.article div.comments > p, div.article div.nav p {
	font-size: 12px;
	line-height: 20px;
	margin: 4px 14px;
	text-align: right;
}
div.comment, form.comment {
	border: #690 dotted 1px;
	padding: 10px 14px 7px;
	margin: 14px 7px;
}
div.comment > p {
	font-size: 12px;
	line-height: 20px;
	margin-left: 7px;
}
div.comment div.footer p {
	font-weight: bold;
	font-size: 12px;
	margin-bottom: 4px;
}
div.comment span.name {
	font-size: 13px;
	color: #690;
}
#comment_write input {
	width: 140px;
	margin-right: 4px;
}
#comment_write textarea {
	width: 490px;
	height: 176px;
}
#comment_write button {
	margin-left: 35px;
}
form.comment p {
	margin: 7px 0 14px 14px;
}
form.comment p.note {
	font-size: 12px;
	line-height: 20px;
	margin: 7px 42px;
}
form.preview p {
	font-weight: bold;
	color: #690;
	margin: 14px 42px;
	text-align: center;
}

div.search_result > p {
	font-weight: bold;
	color: #690;
	text-align: center;
}
div.search_result dl {
	margin: 0 14px;
}
div.search_result dt {
	font-weight: bold;
	margin-top: 35px;
	padding-left: 18px;
	text-indent: -18px;
}
div.search_result dt a {
	background: url(http://www.ousaan.com/link.png) no-repeat 0 50%;
	padding-left: 18px;
}
div.search_result dd {
	margin-left: 18px;
}
div.search_result dd p {
	margin: 7px 0;
}
div.search_result span.mark {
	padding: 2px;
}

#about p {
	font-size: 12px;
	line-height: 20px;
	margin-left: 7px;
}
#about p.logo {
	float: right;
	width: 64px;
}

#search p {
	margin: 7px 0;
	text-align: right;
}
#search input[type='text'] {
	width: 160px;
}
#search input.searching {
	color: #999;
}
#search input[type='checkbox'] {
	margin: 0 1px 0 7px;
}

#calendar p {
	height: 22px;
	margin-left: 7px;
	text-align: center;
}
#calendar p a, #calendar span.month {
	margin: 0 4px;
}
#calendar table {
	width: 168px;
	margin: 3px 0 0 7px;
}
#calendar th {
	background: #690;
	color: #FFF;
	font-size: 12px;
	line-height: 20px;
	padding-top: 2px;
	text-align: center;
}
#calendar th.weekend {
	background: #963;
}
#calendar td {
	width: 20px;
	height: 22px;
	padding-right: 4px;
	text-align: right;
}
#calendar tbody tr:first-child td {
	padding-top: 4px;
}
#calendar td.collapse {
	height: 0;
}
#calendar p.error {
	font-size: 12px;
	color: #690;
	margin: 7px -7px 4px 0;
}

#recent ul {
	margin-top: 4px;
}
#recent li {
	font-size: 12px;
	line-height: 20px;
	padding-left: 16px;
	text-indent: -16px;
}
#recent a {
	background: url(http://www.ousaan.com/list_small.png) no-repeat 0 50%;
	padding-left: 16px;
	text-decoration: none;
}
#recent a:hover {
	text-decoration: underline;
}

#tag_cloud p {
	margin-left: 7px;
}
#tag_cloud a {
	text-decoration: none;
}
#tag_cloud a:hover {
	text-decoration: underline;
}
#tag_cloud a.tag1 {
	font-size: 12px;
	line-height: 20px;
}
#tag_cloud a.tag3 {
	font-size: 16px;
	line-height: 24px;
}
#tag_cloud a.tag4 {
	font-size: 18px;
	line-height: 26px;
}
#tag_cloud a.tag5 {
	font-size: 20px;
	line-height: 28px;
}
#tag_cloud a.tag6 {
	font-size: 22px;
	line-height: 30px;
}
#tag_cloud a.tag7 {
	font-size: 24px;
	line-height: 32px;
}
#tag_cloud a.tag8 {
	font-size: 28px;
	line-height: 36px;
}

#tweets p {
	font-size: 12px;
	line-height: 20px;
	margin: 7px 0 0 7px;
}
#tweets p.id {
	margin: 0 0 21px;
	text-align: right;
}
#tweets #twitter {
	margin: -7px 0 7px;
	text-align: right;
}
#tweets img {
	float: left;
	width: 24px;
	margin: 4px 12px 0 0;
}

#rss p {
	font-size: 12px;
	line-height: 20px;
	margin-top: -7px;
	text-align: right;
}
#rss a {
	background: url(/feed.png) no-repeat 0 50%;
	padding-left: 20px;
}
