/*  
Theme Name: Crystal Factory
Theme URI: None
Description: Crystal Factoryのオリジナルデザイン
Version: 1.0
Author: Kisa
Author URI: http://www.crystal4u.net/

*/
html{
    height:100%;
}

body{
	height:100%;
	background-color: #FFFFFF;
	background-image: url(images/back.jpg);
	background-repeat: repeat-y;
	background-attachment: scroll;
	background-position: center;
	margin: 0px;
	padding: 0px;
	font-size: 90%;
	color: #666666;
}

* html div#all{
	height:100%;
}

div#all{
	width: 762px;
	margin:0px auto;
	position:relative;
	min-height:100%;
	background-attachment: scroll;
	background-image: url(images/back_w2.jpg);
	background-repeat: repeat-y;
	background-position: center;
}

body > #all{
	height: auto;
}

h1{
	font-size: 0px;
}

h3{
	font-weight: bold;
	margin: 0px;
	color: #99CCCC;
	padding-top: 8px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	font-size: 100%;
}

h4{
	font-size: 95%;
	font-weight: bold;
	margin: 0px;
	color: #99CCCC;
	padding-top: 8px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}

a:link{
	text-decoration: none;
	color:#63b1bb;
}

a:visited{
	text-decoration: none;
	color:#3f8790;
}

a:hover{
	text-decoration: underline;
	color: #3edae9;
}

blockquote {
	color: #999999;
	background-color: #99CCCC;
}

p {
	padding-top: 5px;
	padding-right: 0px;
	padding-bottom: 5px;
	padding-left: 0px;
	margin: 0px;
}

img {
	border-style: none;
}

.clear {
	clear: left;
}

ul{
	list-style: none;
	margin: 0px;
	padding-top: 0px;
	padding-right: 5px;
	padding-bottom: 10px;
	padding-left: 15px;
}

ul li{
	padding-left: 3px;
}


/*----HEADER----*/

#header{
	background-attachment: scroll;
	background-image: url(images/back_h.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	height: 250px;
	width: 762px;
	margin-right: auto;
	margin-left: auto;

}

#header a{
	text-decoration: none;
	font-weight: bold;
	color: #45949E;
}

#header a:hover{
	text-decoration: underline;
	color: #3872AB;
}

div.header_img {
	text-align: right;
	padding-top: 155px;
	padding-right: 40px;
	padding-bottom: 0;
	padding-left: 0;
	margin: 0;
}

div#header img {
	padding-right: 5px;
	padding-left: 5px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

/*----HEADER NAVI----*/

#top-menu{
	text-align: right;
	margin-right: 30px;
	padding: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}

#top-menu a{
	text-decoration: none;
}

#top-menu a:hover{
	text-decoration: underline;
}

#top-menu ul{
	margin-right: auto;
	margin-left: auto;
	padding-top: 5px;
	padding-bottom: 5px;
	margin-top: 0px;
	margin-bottom: 0px;
	padding-right: 0px;
	padding-left: 0px;
}

#top-menu ul li{
	display: inline;
	font-size: 14px;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #99CCCC;
	padding-top: 0px;
	padding-right: 10px;
	padding-bottom: 0px;
	padding-left: 10px;
	margin: 0px;
}

/*----MAIN----*/

#wrapper{
	width: 700px;
	margin-right: auto;
	margin-left: auto;
	padding-right: 30px;
	padding-left: 30px;
	padding-top: 10px;
	padding-bottom: 130px;
	margin-bottom: 0px;
	background-attachment: scroll;
	background-image: url(images/back_w.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	position:relative;
	min-height:500px;
}

body > #wrapper{
	height: 500px;

}

#container{
	float: right;
	width: 470px;

}

.navigation{
	padding: 10px 20px 20px 10px;
	font-size: 14px;
	font-weight: bold;
	line-height: 18px;
}

div.box {
	background-color: #FFFFFF;
	border-top-width: 1px;
	border-right-width: 3px;
	border-bottom-width: 3px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #cbd9d9;
	border-right-color: #cbd9d9;
	border-bottom-color: #cbd9d9;
	border-left-color: #cbd9d9;
	padding-left: 10px;
	padding-top: 3px;
	margin-bottom: 15px;
	background-image: url(images/main_foot.jpg);
	background-repeat: no-repeat;
	background-position: right bottom;
	margin-left: 0px;
	padding-bottom: 30px;
}

div.box h3{
	font-size: 18px;
	background-image: url(images/main_head.jpg);
	background-repeat: no-repeat;
	background-position: left;
	padding-top: 10px;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 35px;
	height: 40px;
	margin: 0px;
}

div.box h4{
	color: #7CA59B;
	font-size: 14px;
	padding-top: 10px;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 35px;
	height: 40px;
	margin: 0px;
}

/*----POST----*/

.post{
	background-color: #FFFFFF;
	border-top-width: 1px;
	border-right-width: 3px;
	border-bottom-width: 3px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #cbd9d9;
	border-right-color: #cbd9d9;
	border-bottom-color: #cbd9d9;
	border-left-color: #cbd9d9;
	padding-left: 10px;
	padding-top: 3px;
	margin-bottom: 15px;
	background-image: url(images/main_foot.jpg);
	background-repeat: no-repeat;
	background-position: right bottom;
	margin-left: 0px;
	padding-bottom: 15px;
}

.post h2{
	font-size: 18px;
	background-image: url(images/main_head.jpg);
	background-repeat: no-repeat;
	background-position: left;
	padding-top: 10px;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 35px;
	height: 40px;
	margin: 0px;
}

.post img{
	padding-top: 5px;
	padding-right: 10px;
	padding-bottom: 5px;
	padding-left: 5px;	
}

.postinfo a{
	margin: 0px;
	padding: 0px;
	text-align: right;
}

.postdate{

}

p.postmetadata{
	font-size: 12px;
	text-align: right;
	height: 50px;
	padding-top: 5px;
	padding-right: 20px;
	margin: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}

p.postmetadata strong{
	float: right;
}

/*----ENTRY----*/

.entry{
	line-height: 140%;
	margin-left: 20px;
	padding-right: 20px;
}

.entry p {
	margin: 0px;
}

.entry ul { 
	list-style-type: disc; 
}
	
.entry li { 
	margin: 0 0 5px 0;
}
		
.entry ul li ul{ 
 	margin: 5px 0 5px 30px; 
}
		
.entry ul li ol{ 
	margin: 5px 0 5px 30px;
}

		
.entry ol li ul{ 
	margin: 5px 0 5px 30px;
}

.entry ol li ol { 
	margin: 5px 0 5px 30px;
}

.entry img.left { 
	padding: 6px; 
	margin: 0.5em 15px 0.5em 0; 
	border: 1px solid #ccc;
	background: #eee;
	float: left; 	
	clear: left; 
}
		
.entry img.right { 
	padding: 6px; 
	margin: 0.5em 0 0.5em 15px; 
	border: 1px solid #ccc;
	background: #eee;
	float: right; 
	clear: right; 
}
		
.entry img.center { 
	display: block; 
	padding: 8px; 
	margin: 0 auto 1.5em auto; 
	border: 1px solid #ccc;
	background: #eee;
	float: none; 
	clear: both; 
}
	
.entry img.off { 
	padding: 0 !important; 
	border: none !important; 
}
		
.entry img.stack { 
	clear: none !important; 
}

/*----COMMENT----*/

#comment-form{

}

.comments-template {
	background-color: #FFFFFF;
	border-top-width: 1px;
	border-right-width: 3px;
	border-bottom-width: 3px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #cbd9d9;
	border-right-color: #cbd9d9;
	border-bottom-color: #cbd9d9;
	border-left-color: #cbd9d9;
	padding-left: 20px;
	padding-top: 3px;
	padding-right: 15px;
	padding-bottom: 15px;
}

.comments-template ol{
	list-style: none;
	padding-bottom: 5px;
	padding-right: 10px;
	margin-top: 0;
	margin-right: 10px;
	margin-bottom: 0;
	margin-left: 0;
	padding-top: 0px;
}

.comments-template ol li{
	margin-right: 0px;
	margin-bottom: 5px;
	margin-left: 0px;
	border-bottom-width: 1px;
	border-bottom-style: dashed;
	border-bottom-color: #97C8C4;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 8px;
	padding-left: 0px;
	font-size: 90%;
	line-height: 140%;
}

.comments-template h2{
	font-size: 16px;
	padding-top: 5px;
	padding-left: 20px;
	background-image: url(images/icon.gif);
	background-repeat: no-repeat;
	background-position: left 5px;
	margin-top: 5px;
	margin-bottom: 5px;
}

.comments-template h3{
	color: #666666;
}

.commentmetadata{
	padding-top: 5px;
	padding-right: 0;
	padding-bottom: 5px;
	padding-left: 0;
}

.commentmetadata strong { 
	font-size: 16px; 
}

.comments-template p.nocomments{
	padding: 0;
}

.comments-template form{
	padding-left: 20px;
}

.comments-template input{
	background-color: #FFFFFF;
	border: 1px solid #999999;
}


.comments-template textarea{
	width: 80%;
	background-color: #FFFFFF;
	border: 1px solid #999999;
}

/*----SIDEBAR----*/

.sidebar{
	float: left;
	width: 200px;
	background-color: #FFFFFF;
	border-top-width: 1px;
	border-right-width: 3px;
	border-bottom-width: 3px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #cbd9d9;
	border-right-color: #cbd9d9;
	border-bottom-color: #cbd9d9;
	border-left-color: #cbd9d9;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 15px;
	margin-left: 0px;
	padding-bottom: 15px;
}

.sidebar ul{
	list-style: none;
	margin: 0px;
	padding-top: 0px;
	padding-right: 5px;
	padding-bottom: 0px;
	padding-left: 5px;
}

.sidebar ul li{
	padding-left: 5px;
}

.sidebar ul li h2{
	font-size: 14px;
	font-weight: bold;
	margin-right: 10px;
	padding-top: 10px;
	padding-right: 5px;
	padding-bottom: 5px;
	padding-left: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}

.sidebar ul ul li{

}

.syndication ul li{
	display: inline;
	background: url(images/feed-icon-12x12.png) no-repeat;
	padding-bottom: 15px;
	padding-top: 15px;
	margin-top: 15px;
	margin-bottom: 15px;
}

.sidebar a{
	font-size: 90%;
}

.sidebar img{
	font-size: 90%;
	padding-top: 5px;
	padding-bottom: 8px;
}

table#wp-calendar{
	width: 100%;
}

.qr {
	font-size: 14px;
	font-weight: bold;
	line-height: 40px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}

/*----FOOTER----*/

div#footer {
	background-attachment: scroll;
	background-image: url(images/back_f.jpg);
	background-repeat: no-repeat;
	background-position: center bottom;
	height: 160px;
	width: 762px;
	margin-right: auto;
	margin-left: auto;
	clear: both;
	text-align: center;
	position:relative;
	bottom:0px;
}

div#footer p {
	padding-top: 50px;
	padding-right: 0px;
	padding-bottom: 20px;
	padding-left: 0px;
	margin: 0px;
}

div#footer a:link {
	color: #63b1bb;
	text-decoration: none;
}

div#footer a:visited {
	color: #67aabc;
	text-decoration: none;
}

div#footer a:hover {
	color: #3edae9;
	text-decoration: none;
}

/* ----- Style for Ktai Entry ----- */
.photo {
	padding-right:6px;
	float:left;
	text-indent:0;
}
.photo img {
	padding:0px;
	margin-top: 0;
	margin-right: 4px;
	margin-bottom: 4px;
	margin-left: 0;
}
.photo-end {
	clear:left;
}

