/*
Theme Name: KanjiruOctopus
Theme URI: http://kanjiruoctopus.com
Description: My blog theme.
Author: waio
Author URI: http://kanjiruoctopus.com
*/


/*--------------------
 ClearFix
--------------------*/


.clearfix:after {
	content: ".";
	display: block;
	visibility: hidden;
	height: 0.1px;
	font-size: 0.1em;
	line-height: 0;
	clear: both;
}
.clearfix{
	zoom: 1;
}


/*--------------------
 Common
--------------------*/


a {
	text-decoration: none;
	outline: none;
}

a:link ,
a:visited ,
a:hover ,
a:active {
	color: #2091DA;
}

body {
	background-color: #000000;
}

.text-pink {
	color: #E51D75;
}

.affi {
	margin-bottom: 10px;
}

.affi iframe {
	float: left;
	margin-right: 10px;
	display:inline; /* fuckIE6 */
}


/*--------------------
 Header
--------------------*/


header {
	width: 100%;
	background-image: url(./images/header_bg.gif);
	background-repeat: repeat-x;
	background-position: 0 0;
}

header hgroup {
	width: 1000px;
	height: 350px;
	margin: 0 auto;
}

header hgroup a {
	width: 100%;
	height: 100%;
	display: block;
	background-image: url(./images/header.jpg);
	background-repeat: no-repeat;
	background-position: 0 0;
}

header hgroup h1 ,
header hgroup p {
	text-indent: -9999px;
}


/*--------------------
 Content
--------------------*/


#main {
	width: 1000px;
	margin: 0 auto;
	padding:20px 0 20px 0;
	background-color: #FFFFFF;
}


/* Sidebar */


#main #sidebar {
	float: right;
	width: 230px;
	margin-right: 20px;
	display: inline; /* fuckIE6 */
}

#main #sidebar h2 {
	height: 25px;
	font-size: 14px;
	font-weight: bold;
	line-height: 25px;
	color: #FFF;
	padding-left: 10px;
	background-color: #666;
	margin-bottom: 10px;
}

#main #sidebar p.sidebar_p {
	display: block;
	margin-bottom: 20px;
}

#main #sidebar #twitter {
	margin-bottom: 10px;
}

#main #sidebar form {
	margin-bottom: 20px;
}

#main #sidebar form p input#s {
	width: 200px;
	margin-bottom: 5px;
}

#main #sidebar ul {
	padding-left: 25px;
	margin-bottom: 20px;
}

#main #sidebar ul li {
	margin-bottom: 10px;
	list-style-image: url(./images/icon_navi.gif);
}

#main #sidebar ul li.cat-item {
	margin-bottom: 10px;
}

#main #sidebar ul li.cat-item ul.children {
	margin-top: 10px;
	margin-bottom: 5px;
}

#main #sidebar ul li.cat-item ul.children li {
	margin-bottom: 5px;
	list-style-image: url(./images/icon_navi_small.gif);
}

#main #sidebar p.feed {
	height: 28px;
	line-height: 28px;
	padding-left: 33px;
	background-image: url(./images/icon_feed.png);
	background-repeat: no-repeat;
	background-position: 0 0;
}


/* Affi */


#main #sidebar .sidebar_affi {
	width: 100%;
	margin-bottom: 10px;
}

#main #sidebar .sidebar_affi .sidebar_affi_photo {
	width: 70px;
	float: left;
	margin-right: 10px;
	display: inline; /* fuckIE6 */
}
#main #sidebar .sidebar_affi .sidebar_affi_photo a {
	font-size: 10px;
}

#main #sidebar .sidebar_affi .sidebar_affi_text {
	width: 150px;
	height: 150px;
	float: right;
	font-size: 12px;
}


/* Affi Point */


#main #sidebar .point_10 {
	background-image: url(./images/point.gif);
	background-repeat: no-repeat;
	background-position: -600px -150px;
}
#main #sidebar .point_9 {
	background-image: url(./images/point.gif);
	background-repeat: no-repeat;
	background-position: -450px -150px;
}
#main #sidebar .point_8 {
	background-image: url(./images/point.gif);
	background-repeat: no-repeat;
	background-position: -300px -150px;
}
#main #sidebar .point_7 {
	background-image: url(./images/point.gif);
	background-repeat: no-repeat;
	background-position: -150px -150px;
}
#main #sidebar .point_6 {
	background-image: url(./images/point.gif);
	background-repeat: no-repeat;
	background-position: 0 -150px;
}
#main #sidebar .point_5 {
	background-image: url(./images/point.gif);
	background-repeat: no-repeat;
	background-position: -600px 0;
}
#main #sidebar .point_4 {
	background-image: url(./images/point.gif);
	background-repeat: no-repeat;
	background-position: -450px 0;
}
#main #sidebar .point_3 {
	background-image: url(./images/point.gif);
	background-repeat: no-repeat;
	background-position: -300px 0;
}
#main #sidebar .point_2 {
	background-image: url(./images/point.gif);
	background-repeat: no-repeat;
	background-position: -150px 0;
}
#main #sidebar .point_1 {
	background-image: url(./images/point.gif);
	background-repeat: no-repeat;
	background-position: 0 0;
}


/* Post */


#main #content {
	float: left;
	width: 750px;
}

#main #content article {
	margin-bottom: 20px;
	padding: 0 20px 0 20px;
}

#main #content article h1 {
	font-size: 20px;
	line-height: 20px;
	font-weight: bold;
	padding: 0 0 10px 25px;
	border-bottom: dashed 1px #666;
	background-image: url(./images/icon_post.gif);
	background-repeat: no-repeat;
	background-position: 0 0;
	text-indent: 0;	/* reset */
}
#main #content article.allposts h1 {
	margin-bottom: 1em;
}

#main #content article h1 a {
	color: #444444;
}


#main #content article p ,
#main #content article time {
	font-size: small;
	margin-bottom: 2em;
	line-height: 1.6em;
}

#main #content article.allposts time {
	margin-bottom: 0; /* template_allposts */
}

#main #content article time {
	display: block;	/* html5 */
}

#main #content article p.postinfo {
	text-align: right;
	margin-bottom: 5px; /* reset */
}
#main #content article.allposts p.postinfo {
	text-align: left;	/* template_allposts */
	margin-bottom: 1em;	/* template_allposts */
}

#main #content article .bookmark {
	width: 100%;
	height: 18px;
	text-align: right;
	padding-bottom: 20px;
}


/* Page Link */


#main #content p.pagelink {
	padding: 0 20px 20px 20px;
}

#main #content p.pagelink span.pageprev {
	float: left;
}

#main #content p.pagelink span.pagenext {
	float: right;
}


/* Comments */


#main #content #com {
	width: 710px;
	margin-left: 20px;
	margin-right: 20px;
	padding-top: 20px;
	border-top: solid 1px #666;
}

#main #content #com h3 {
	font-size: 20px;
	line-height: 20px;
	font-weight: bold;
	padding: 0 0 10px 25px;
	background-image: url(./images/icon_post.gif);
	background-repeat: no-repeat;
	background-position: 0 0;
}

#main #content #com .compost {
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: dashed 1px #666;
}

#main #content #com .compost p {
	line-height: 1.6em;
	margin: 0 0 2em 0;
}

#main #content #com p.comnone {
	margin-bottom: 20px;
}

#main #content #com .compost p.cominfo {
	text-align: right;
	margin: 10px 0 0 0;
}

#main #content #com form {
	margin-bottom: 10px;
	overflow: hidden;
}

#main #content #com form p {
	margin-bottom: 10px;
}

#main #content #com p#comfeed {
	background-image: url(./images/icon_feed_small.png);
	background-repeat: no-repeat;
	background-position: 0 0;
	line-height: 12px;
	padding-left: 17px;
	margin-bottom: 10px;
}


/*--------------------
 Footer
--------------------*/


footer {
	width: 100%;
	height: 100px;
	background-image: url(./images/footer_bg.gif);
	background-repeat: repeat-x;
	background-position: 0 0;
}

footer address {
	display: block;
	width: 1000px;
	height: 100px;
	margin: 0 auto;
	color: #FFFFFF;
	text-align: center;
	line-height: 100px;
	background-image: url(./images/footer_bg.gif);
	background-repeat: repeat-x;
	background-position: 0 0;
}