/*
Theme Name: Koyomi2
Theme URI: http://www.wafusozai.com
Description: koyomi template
Version: 1.0
Author: Kazuyuki Kakishita
Author URI: http://www.wafusozai.com/
Tags: white, purple, fixed width, three columns, right sidebar, threaded comments, widget ready, adsense ready

*/


/*Body Start*/
body {
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: Arial, Helvetica, sans-serif;
	background-image: url(images/bg.png);
	background-repeat: repeat-x;
	}

a:link, a:visited {
	color: #3F1F0A;
	text-decoration: none;
}

a.more-link{
	color:blue;
}

a:hover, a:active {
	color: #FF3300;
	text-decoration: underline;
}

h1 {
	font-family: "Times New Roman", Times, serif;
	font-size: 3.3em;
	margin-top: 5px;
	margin-bottom: 5px;
}
h1 a:link, h1 a:visited, #rss_feed a:link, #rss_feed a:visited {
	color: #FFFFFF;
}
h1 a:hover, h1 a:active, #rss_feed a:hover, #rss_feed a:active {
	text-decoration: none;
}

h3{
	margin:1em 0;
}


h4 {
	font-size: 1.6em;
	padding-top: 10px;
	padding-bottom: 10px;
}
h6 {
	font-size: 1.2em;
	padding-top: 10px;
	padding-bottom: 10px;
}
/*Body End*/

/* Structure Start */ 
* {
	margin: 0px;
	padding: 0px;
	border: 0px;
}

#wrap {
	width: 964px;
	margin: 0 auto;
}

#header {
	height: 150px;
	background: url(images/bg_header.png) no-repeat;
}
#content {
	float: left;
	width: 600px;
}

#content h1{
	font-size:24px;
	line-height:46px;
	padding-left:52px;
	background: url(images/bg_h1.png) no-repeat;
}

#content h1 a{
	color:black;
}

#content h1 a:hover{
	color: #FF3300;
	text-decoration: underline;
}

#right {
	float: right;
	width: 354px;
/*	border:1px solid red;*/
}
#sidebar {
	float: left;
	width: 180px;
}
#footer {
	background-image: url(images/footer_bg.jpg);
	background-repeat: no-repeat;
	padding-top: 20px;
	padding-left: 15px;
	font-size: 1.2em;
	line-height: 160%;
	margin-top: 10px;
	color: #666666;
	padding-bottom: 20px;
}

/* Structure End */ 



/* Header Start */
#logo {
	float: left;
	height: 92px;
	width: 415px;
	margin-left: 140px;
	margin-top:12px;
	font-size: 1.2em;
	color: #FFFFFF;	
}
#rss_feed {
	font-size: 1.2em;
	line-height: 160%;
	color: #FFFFFF;
	margin-top: 10px;
	float: left;
	font-weight: bold;
	background-image: url(images/rss_bg.gif);
	background-repeat: no-repeat;
	background-position: 220px 0px;
	padding-right: 70px;
}
#rss_feed form {
	margin-top: 5px;
}
.email_text, .search_text {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.9em;
	background-color: #F5F5F5;
	height: 15px;
	width: 170px;
	border: 1px solid #DDDDDD;
	padding-top: 2px;
	padding-left: 5px;
}
.email_button {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.9em;
	font-weight: bold;
	color: #FFFFFF;
	background-color: #000000;
	height: 19px;
	width: 25px;
	border: 1px solid #DDDDDD;
	padding-bottom: 1px;
}
#top_search {
	float: right;
	margin-top: 10px;
	background-image: url(images/search.gif);
	background-repeat: no-repeat;
	background-position: 0px 0px;
	padding-left:25px;	
}
.search_text {
    font-size: 1.1em;
	vertical-align:bottom; 
}
.search_button {
	font-size: 1.1em;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #666666;
	background-image: url(images/search_button.jpg);
	height: 20px;
	width: 59px;
	padding-bottom: 2px;
	vertical-align:bottom; 
}
#top_nav {
	height: 37px;
	overflow: hidden;
	font-size: 1.2em;
	font-weight: bold;
	clear: both;
}
#top_nav ul {
	list-style-type: none;
}
#top_nav ul li {
	float: left;
	height: 46px;
	margin-left: 40px;
	line-height: 46px;
	display: block;
}
#a_d_s {
	text-align: center;
	margin-top: 10px;
	margin-bottom: 10px;
}
/* Header End */	
	
	
/*Sidebar Start*/

#sidebar ul li h2 {
	background-image: url(images/bg_sidebar_title.png);
	background-repeat: no-repeat;
	padding-left: 38px;
}
#sidebar input {
	border: 1px solid #D8D8D8;
}
#sidebar form, #searchform {
    margin-bottom: 5px;
}
.sidebar_text {
	width: 120px;
}
.sidebar_button, .sidebar_text {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}
#calendar_wrap td {
	padding: 3px;
}
#searchform {
    font-size: 1.2em;
}

#sidebar ul li ul li{
/*	line-height:2em;
	border-bottom:1px dotted gray;*/
}

/*Sidebar End*/
	
/*Home Page Start*/
.clear_both {
	clear: both;
}
#newest {
	background-color: #F1F1F1;
	padding: 5px;
}
#newest img {
	width: 250px;
	height: 187px;
	float: left;
}
#newest_right {
	font-size: 1.2em;
	color: #FFFFFF;
	background-color: #FE370E;
	padding: 10px;
	margin-left: 5px;
	float: right;
	width: 315px;
	min-height: 167px;
	line-height: 160%;
}
html*#newest_right {
	height: 167px;

}
#newest_right h2 {
	font-family: "Times New Roman", Times, serif;
	font-size: 1.9em;
	margin-bottom: 10px;
	line-height: 26px;
}
#newest_right a:link, #newest_right a:visited {
	color: #FFFFFF;
}
#newest_right a:hover, #newest_right a:active {
	color: #FFFFCC;
	text-decoration: none;
}
.post {
	padding: 0 5px 5px 5px;
	border: 1px solid #D8D8D8;
	height: 1%;
	margin-bottom: 5px;
	background: url(images/bg_h2.png) 0px 2px repeat-x;
}
.post h2 {
	font-family: "Times New Roman", Times, serif;
	font-size: 1.7em;
	display: block;
	padding-right: 10px;
	padding-bottom: 4px;
	padding-left: 8px;
	padding-top:6px;
	margin-bottom: 5px;
}

.post span {
	font-size: 1.1em;
	color: #666666;
	font-weight: bold;
	padding-left: 5px;
	margin-bottom: 5px;
	display: block;
}

.post span.title {
	font-size: 1.2em;
	color: #666666;
	font-weight: bold;
	padding-left: 8px;
	padding-top: 4px;
	margin-bottom: 5px;
	display: block;
/*	background: url(images/bg_h2.png) repeat-x;*/
	/*	background-color: #EFEFEF;*/
	height:30px;
	line-height:30px;

}

.post span.title_h2 {
	padding-left: 5px;
	padding-top: 0px;
	margin-bottom: 8px;
	display: block;
/*	background: url(images/bg_h2.png) repeat-x;*/
	height:30px;
	line-height:24px;
	float:left;
	width:500px;
}

.post_img {
	float: left;
	padding-right: 5px;
	padding-left: 5px;
	padding-top: 5px;
}
.post_img img {
	width: 160px;
}
.post_text, .single_post_text {
	font-size: 1.2em;
	line-height: 180%;
	padding-right: 10px;
	clear:both;
}

.post_text img, .single_post_text img 
{
	margin:1em;
}

.single_post_text {
	padding-left: 4px;
}
.post_text {
	width: 565px;
	padding-left: 5px;
	overflow: hidden;
}
.post_text p, .single_post_text {
    padding-bottom: 10px;
}

.post_text img.first-image{
	float:left;
	margin-right:1em;
}
/*Home Page End*/

/*Right Start*/
#right h2 {
	font-size: 1.6em;
	background-image: url(images/right_title.png);
	height: 33px;
	background-repeat: no-repeat;
	padding-top: 8px;
	padding-left: 65px;
	margin-bottom: 0px;
	margin-top: 0px;
	color: #666666;
	display: block;
}
.about_us, .gallery, .recent_post, #sidebar ul ul, #calendar_wrap {
	font-size: 1.2em;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-right-color: #D8D8D8;
	border-bottom-color: #D8D8D8;
	border-left-color: #D8D8D8;
	padding-top: 6px;
	padding-right: 12px;
	padding-bottom: 10px;
	padding-left: 12px;
	line-height: 160%;
	margin-bottom: 5px;
	height: 1%;
}
.gallery ul, .recent_post ul, #sidebar ul {
	list-style-type: none;
/*	margin-left:4px;*/
}
.gallery ul li {
	float: left;
	margin-right: 5px;
	margin-left: 4px;
	margin-top: 4px;
}
.gallery ul li img {
	border: 1px solid #666666;
	height: 75px;
	width: 100px;
}
.recent_post ul li, #sidebar ul ul li {
	background-image: url(images/dot.gif);
	background-repeat: no-repeat;
	background-position: 4px 8px;
	padding-left: 14px;
}
#right_a_d_s {
	text-align: right;
	float: right;
	width: 160px;
	padding: 4px;
/*	border: 1px solid #D8D8D8;*/
}
/*Right End*/

/*Page Start*/
#trail {
	font-size: 1.2em;
	margin-bottom:0.5em;
}
*html .align_left {
	text-align: left;
	float: left;
	font-size: 1.2em;
	padding-left: 20px;
	padding-bottom: 0px;
}
*html .align_right {
	text-align: right;
	float: right;
	font-size: 1.2em;
	padding-right: 20px;
	padding-bottom: 0px;
}
.align_left {
	text-align: left;
	float: left;
	font-size: 1.2em;
	padding-left: 20px;
	padding-bottom: 7px;
}
.align_right {
	text-align: right;
	float: right;
	font-size: 1.2em;
	padding-right: 20px;
	padding-bottom: 7px;
}
.navigation img {
    border: 1px solid #CCCCCC;
	background-color: #F3F3F3;
	padding: 4px;
}
/*Page End*/

/*Footer Start*/
#footer ul {
	display: block;
	height: 25px;
	list-style-type: none;
}
#footer ul li {
	display: inline;
	margin-right: 20px;
	line-height: 25px;
}
#footer ul li a:link, #footer ul li a:visited {
	color: #666666;
}
#footer ul li a:hover, #footer ul li a:active {
	color: #FF3300;
}
/*Footer End*/

/*Archive Start*/

/*Archive End*/

/* Begin Comments*/
#post_comments {
	font-size:1.2em;
	clear: both;
	padding-top: 20px;
}

.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;
	border: 1px solid #CCCCCC;
	background-color: #F6F6F6;
	}
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
		font-size: 1.1em;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}

.commentlist li ul li {
	font-size: 1em;
}
.commentlist li .avatar { 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;

	color: #990000;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentmetadata {
	font-weight: normal;
	}
	
#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	border: 1px solid #CCCCCC;
	background-color: #FFFFFF;
	}

#commentform {
	margin: 5px 10px 0 0;
	}
#commentform textarea {
	width: 100%;
	padding: 2px;
	border: 1px solid #CCCCCC;
	background-color: #FFFFFF;
	}
#respond:after {
		content: "."; 
	    display: block; 
	    height: 0; 
	    clear: both; 
	    visibility: hidden;
	}
#commentform #submit {
	float: right;
	background-color: #CCCCCC;
	margin-top: 10;
	margin-right: 0;
	margin-bottom: 10px;
	margin-left: auto;
	border: 1px solid #999999;
	font-family: Arial, Helvetica, sans-serif;
	}


/*Comments End*/

/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */
/*Search Start*/

/*Search End*/

#sidebar ul ul ul {
	border: none;
	margin: 0;
	padding: 0;
	background: none;
}
#sidebar ul ul ul li {
	width: 80%;
	border: none;
	background: none;
	margin: 0;
	padding: 0 0 0 5px;
	font-size: 12px;	
}
#sidebar a {
	color: #1055D4;	
}
#sidebar select {
	margin-left: 37px;
	width: 80%;	
}

ul#thumb-post-lists{
	list-style-type:none;
}

ul#thumb-post-lists li{
	float:left;
	margin:12px;
	text-align:center;
}

ul#thumb-post-lists li a img{
	border:1px solid #ffffff;
}

ul#thumb-post-lists li a:hover img{
	border:1px solid #FF3300;
}

div.prev_calendar{
	width:270px;
	margin:6px;
	float:left;
	text-align:center;
}

div.prev_calendar a img {
	border:1px solid #c0c0c0;
}

div.prev_calendar a:hover img {
	border:1px solid #FF3300;
}



ul.dl_calendar{
	list-style-type:none;
	margin:8px 0 30px 0;
}

ul.dl_calendar li{
	margin:1em 0;
}

ul.dl_calendar li a{
	font-weight:bold;
}

fieldset {
	margin: 12px 0;
	padding:8px;
	border:#DAB493 1px solid;
	background-color:#FEFCF1;
}

fieldset ul {
	margin-left:20px;
}

fieldset legend {
	padding: 0px 5px 0px 5px;
	background-color:#FEFCF1;
}

div.navigation a{
	font-size:1.2em;
	color:blue;
	text-decoration:underline;
}

div.navigation a:hover{
	color:#FF3300;
}

/* BEGIN PageBar */

ul.pagebar {
	margin: 0;
	padding: 0;
	font: 120% Arial, Helvetica, sans-serif;
	text-align: center;
}
ul.pagebar li {
	list-style: none;
	display: inline;
	margin: 0;
	padding: 0;
}
ul.pagebar li.active {
	display: -moz-inline-box; /* firefox2 ‘Î‰ž */
	display: inline-block;
	padding: 0.25em 0.4em;
	background-color: #EEEEEE;
	border: 1px #CCCCCC solid;
	font-weight:bold;
}
ul.pagebar li a {
	display: -moz-inline-box; /* firefox2 ‘Î‰ž */
	display: inline-block;
	padding: 0.25em 0.4em;
	border: 1px #CCCCCC solid;
}

ul.pagebar li a:link,
ul.pagebar li a:visited {
	border-color: #CCCCCC;
	color: #0033FF;
}
ul.pagebar li a:hover,
ul.pagebar li a:active {
	border-color: #003399;
	background-color: #003399;
	color: #FFFFFF;
}

ul.pagebar li.previous-off,
ul.pagebar li.next-off {
	color: #808080;
}
/* END PageBar */

table, table td {
	border:1px solid gray;
}

table td {
padding:0.5em 1em;
}

table#link	{
	border-collapse: collapse;
	margin-bottom: 20px;
	font-size: 0.75em;
/*	width:520px;*/
	}

table#link th, #link td	{
	text-align: left;
	padding: 10px 5px;
	border: solid 1px #C0CFDA;
	}

table#link th	{
	width: 130px;
/*	background-color: #88c0ff;*/
	}


table#link a	{
	text-decoration: none;
	color: #2F3D65;
	}

table#link a:hover	{
	color: #E12D00;
	}
	
	
table#link th {
	font: bold 12px "Trebuchet MS", Verdana, Arial, Helvetica,
	sans-serif;
	color: #6C799B;
	border-right: 1px solid #C0CFDA;
	border-bottom: 1px solid #C0CFDA;
	border-top: 1px solid #C0CFDA;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-align: left;
	padding: 6px 6px 6px 12px;
	background: #CAE8EA url(images/bg_header.jpg) no-repeat;
	width:180px;
}

table#link th.nobg {
	border-top: 0;
	border-left: 0;
	border-right: 1px solid #C0CFDA;
	background: none;
}
table#link th.sitename {	
	border-left: 1px solid #C0CFDA;
	border-top: 0;
	background: #fff url(images/bullet2.gif) no-repeat;
}

table#link td {
	font-size:1.2em;
	border-right: 1px solid #C0CFDA;
	border-bottom: 1px solid #C0CFDA;
	background: #fff;
	padding: 6px 6px 6px 12px;
	color: #6C799B;
	width:400px;
}


