/*  
Theme Name: K. Personal Press
Theme URI: http://kunalu.com/blog/kpp
Description: A blog theme optimized for single author blog.
Version: Code-DD1111 ( 0.9)
Author: Terry Xu
Author URI: http://kunalu.com/
*/

/********************************************************
*    TABLE OF CONTENT
*     .... Document Level Styles
*     .... Shared Classes
*     .... Header
*     .... Main
*     ........ Homepage Specific
*     ........ Post Section
*     ........ Comment Section
*     .... Sidebar
*     .... Footer
********************************************************/

/********************************************************
*   Document Level Styles
********************************************************/
body{
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Microsoft Yahei", Verdana, Helvetica, Arial, sans-serif;
	font-size: 12px;
	margin: 0px;
	padding: 0px;
	line-height: 1.4em;
	color: #444444;
}

h1, h2, h3, h4, h5, h6{
	margin: 0;
	padding: 0;
}

h1{font-size:160%;}
h2{font-size:140%;}
h3{font-size:120%;}

a{
	color: #DD1111;
	text-decoration: none;
}

a:hover, a:active{
	color: #444444;
	text-decoration: underline;
}

img{
	margin: 0px;
	vertical-align: bottom;
}

a img{
	border: 0px;
}

p {
	margin: 0;
	padding: 0;
}

ul{
	margin: 0px;
	padding: 10px 0px;
	list-style:none;	
}
		
ul li{
	padding-left: 0px;
	margin-left: 0px;
	line-height: 1.3em;
}
/********************************************************
*   Shared Classes
********************************************************/
.wrapper{
	position: relative;
	width: 960px;
	margin: auto;
	margin-top: 0px;
	margin-bottom: 0px;
	padding: 0px;
}

.clearer{
	clear:both;
}

.onethirdcol{
	width: 320px;
	float:left;
	padding: 0px 0px;
}

.twothirdcol{
	width:640px;
	float:left;
}
/********************************************************
*   Header
********************************************************/
#header{
	position: relative;
	height: 120px;
}

	#title{
		float:left;
		height: 120px;
		line-height: 45px;
	}
	
	#titlelinks{
		width: 320px;
		margin-left:0px;
		float:right;
		padding-top: 15px;	
		padding-right: 10px;		
		text-align: right;
	}
	
		#s{
			background: #f8f8f8;
			color: #000000;
			border: 1px solid #aaaaaa;
			margin: 0;
			padding: 2px 0px;
			height: 16px;
			vertical-align: bottom;
		}
	
		#sbutton{
			width: 60px;
			background: #dd1111;
			border: 0;
			color: #ffffff;
			height: 22px;
			font-size: 12px;
			padding-bottom: 6px;
		}

/********************************************************
*   Main
********************************************************/
#main{
	clear: both;
}		

.leftpostlink{
	padding: 0px 10px;
	width: 294px;
	height: 17px;
	border-top: 1px dotted #dddddd;
	border-bottom: 1px dotted #dddddd;
}

.rightpostlink{
	padding: 0px 10px;
	width:294px;
	height: 17px;
	border: 0;
	text-align:right;
	border-top: 1px dotted #dddddd;
	border-bottom: 1px dotted #dddddd;
}

	/********************************************************
	*   Homepage Specific - blog post box & twitter column
	********************************************************/	
	#twitter_title{
		text-align: center;
		margin-top: -45px;
		height: 45px;
	}
	
	#blogs{
		width: 638px;
		border:1px solid #dddddd;
		border-bottom: none;
		position:relative;
	}
	
	#coverimage{
		overflow:hidden;
		border-bottom: 1px solid #dddddd;
	}
	.postonethirdcol{
		width: 299px;
		float:left;
		clear: left;
		padding: 0px 0px;
		margin: 0px 10px;
	}
		
		.rightcol{
			float: right;
			clear: right;
		}

	.oneliner a{
		color: #444444;
	}

	.oneliner:hover a{
		color: #dd1111;
	}	
	
	.postentry, .twitterentry{
		padding: 15px 0px 20px;
		border-bottom: 1px dotted #ffffff;
		margin: 0px 10px;
		position: relative;
		cursor:default;
	}
	
	.twitterentry{
		padding: 5px 0px 5px;
		border-bottom: 1px dotted #cccccc;
	}
	
		.twitterentry h2, .postentry h2{
			font-size: 150%;
			margin-bottom: 5px;
			font-weight: normal;
			line-height: 140%;
		}	
	
		.twitterentry .excerpt, .postentry .excerpt{
			color: #555555;
		}
		
		.twitterentry .info, .postentry .info{
			font-size: 93%;
			color: #888888;
			float:right;
			margin-left: 5px;
		}
	
		.postentry.info img, .twitterentry .info img{
			vertical-align: middle;
		}
		
		.postentry .hiddencontrol{
			visibility: hidden;
			position: absolute;
			bottom: 5px;
			right: 10px;
		}

		.twitterentry .twitterreply{
			visibility: hidden;
			margin: -5px 0px 5px 5px;
			float: right;
			background: #dd1111;
			padding: 2px;
		}		
		
	.twitterentry:hover, .postentry:hover{
		border-bottom: 1px solid #dd0000;
		background: url(images/entry-hover-bg.png);
		margin: 0px 0px;
	}
	
		.postentry:hover{
			padding: 15px 10px 20px;
		}
		
		.twitterentry:hover{
			padding: 5px 10px 5px;
		}
		
		.twitterentry:hover .excerpt{
		}
		
		.twitterentry:hover .hiddencontrol, .postentry:hover .hiddencontrol{
			visibility: visible;
		}
		
		.postentry:hover a, .twitterentry:hover a{
			color: #dd1111;
		}
		
		.postentry:hover a:hover, .twitterentry:hover a:hover{
			color: #dd1111;
		}
	
		.twitterentry:hover .twitterreply{
			visibility: visible;
		}
		
	/********************************************************
	*   Homepage Specific - slider
	********************************************************/		
	#paging{
		clear:both;
		background: #eeeeee;
		border: 1px solid #dddddd;
	}
		
		#lefttrackbutton, #righttrackbutton{
			height: 15px;
			width: 15px;
			float:left;
			margin-top: 8px;
			cursor:pointer;
		}
		
		#lefttrackbutton{
			background: url(images/track-sprite.png) no-repeat -45px -15px;
			margin-left:4px;
		}
		
		#righttrackbutton{
			background: url(images/track-sprite.png) no-repeat -30px -15px;
			margin-right:4px;
		}
		
			#lefttrackbutton:hover{
				background: url(images/track-sprite.png) no-repeat -45px -45px;
			}
			
			#righttrackbutton:hover{
				background: url(images/track-sprite.png) no-repeat -30px -45px;
			}
		
		#track{
			position:relative;
			height: 30px;
			width:560px;
			padding: 0px 15px;
			float: left;
			margin: 0px 5px;
		}

			#leftmark, #rightmark{
				position:absolute;
				width:1px;
				height:20px;
				top:5px;
				border-right: 1px solid #ffffff;
				background: #dddddd;
			}		
		
			#leftmark{
				left:15px;
			}
			#rightmark{
				right:14px;
			}
			
			#horizontalmark{
				position:absolute;
				width:560px;
				height:1px;
				top:14px;
				left: 15px;
				border-bottom: 1px solid #ffffff;
				background: #dddddd;
			}
		
		#loader{
			top:1px;
			left:1px;
			position:absolute;
			background: #eeeeee url(images/ajax-loader.gif) no-repeat center;
			display:none;
		}
		
		#handle{
			width:30px;
			height: 15px;
			background: url(images/track-sprite.png) no-repeat 0px -30px;
			position: absolute;
			top:8px;
			cursor:pointer;
			color: #ffffff;
			font-size: 10px;
			font-weight: bold;
			text-align: center;
			line-height: 13px;
		}
		
			#handle:hover{
				background: url(images/track-sprite.png) no-repeat 0px -45px;
			}
		
		#paging.pressed #handle{
			background: url(images/track-sprite.png) no-repeat 0px -15px;
		}		
	
		#paging.disabled #handle{
			background: url(images/track-sprite.png) no-repeat 0px 0px;
			color: #444444;
		}
		
		#paging.pressed #lefttrackbutton{
			background: url(images/track-sprite.png) no-repeat -45px -15px;
		}		
	
		#paging.disabled #lefttrackbutton, #lefttrackbutton.disabled{
			background: url(images/track-sprite.png) no-repeat -45px 0px;
		}
		
		#paging.pressed #righttrackbutton{
			background: url(images/track-sprite.png) no-repeat -30px -15px;
		}		
	
		#paging.disabled #righttrackbutton, #righttrackbutton.disabled{
			background: url(images/track-sprite.png) no-repeat -30px 0px;
		}
		
		#message{
			clear:both;
		}
	
		.paging{
			display:block;
			float:left;
			padding: 5px;
			margin: 5px;
		}
	
	/********************************************************
	*   Homepage Specific - misc
	********************************************************/		
	#highlights{
		padding: 10px 0px;
		margin: 10px 0px;
	}
		
		#highlights ul{
			float: left;
			display: block;
		}
		
			#highlights ul li.linkcat, #highlights ul li.widget{
				float:left;
			}
			
			#highlights.halfcols ul li{
				width: 300px;
				padding: 0px 10px;
			}
			
			#highlights.onethirdcols ul li{
				width: 193px;
				padding: 0px 10px;
				margin-bottom: 10px;
			}
			
			#highlights.onethirdcols ul ul li{
				padding: 0;
				width: auto;
				margin: 0px;
			}
	
	/********************************************************
	*   Post Section
	********************************************************/		
	#singlepostcol{
		width: 628px;
		padding: 0px;
		border: 1px solid #eeeeee;
		border-top: none;
		border-bottom: none;
	}	
	
	#archivetitle{
		border:1px solid #ffddaa;
		background: #ffffee;
		margin: 0px 0px 15px;
		padding: 5px 14px;
	}
			
		/********************************************************
		*   Blog Entry Styles
		********************************************************/
		.post{
			clear: both;
			margin: 30px 0px 20px 0px;
			padding: 0px 14px 10px 14px;
			position:relative;
		}
			
			.post .bottominfo{
				border-bottom: 1px solid #eeeeee;
				padding: 0;
			}
			
			.post h1{
				font-size:160%;
				font-weight: normal;
				color:#232323;
				margin: 0px 0px 5px 0px;
				padding: 0;
				line-height: 160%;
			}

			.post h1 a{
				color:#dd1111;
			}

			.post .info{
				margin:0px 0px 5px 0px;
				color:#aaaaaa;
				line-height: 1.2em;
			}
				.post .info img{vertical-align:bottom;}
				.post .info a, #tagcloud a{color:#666;line-height: 1.4em;}
				.post .info a:hover, #tagcloud a:hover{color:#000;}

			.post .entry{
				color:#555;
				padding:0;
				margin:25px 0px;
				line-height: 2em;
			}

				.post .entry h1,
				.post .entry h2,
				.post .entry h3,
				.post .entry h4{
					margin:5px 0px;
				}
				
				.post .entry h1{
					font-size:140%;
					color:#cc0000;
					font-weight: normal;
					line-height: 140%;
				}
				
				.post .entry h2{
					font-size:130%;
					color:#cc0000;
					font-weight: normal;
					line-height: 130%;
				}
				
				.post .entry h3{
					font-size:120%;
					color:#dd1111;
					font-family: georgia, "Times new roman", sans-serif;
					font-weight: normal;
					font-style: italic;
					letter-spacing: 0.1em;
					line-height: 120%;
				}
				
				.post .entry h4{
					font-size:1em;
					color:#709706;
					font-weight: bold;
					margin: 10px 0px;
				}	
				
				.post .entry a{
					color:#dd1111;
				}
				
				.post .entry a:hover{
					color:#444444;
				}
				
				.post .entry ul{
					margin:0;
					padding:0;
					padding-left:30px;
					padding-right:15px;
				}
				
					.post .entry ul li{
						margin:0;
					}
					
				.post .entry strong{
					color:#333;
					font-style:normal;
					font-weight:bold;
				}		
				.post .entry em{
					color:#000;
					font-style:normal;
					font-weight:normal;
				}
				.post .entry .code{
					color:#666;
					font-family:"Courier New", monospace;
					font-style:normal;
				}
				.post .entry .highlight{
					padding:10px 20px 10px 40px;
					background: #edffb0;
					color:#333;
					font-family:Georgia;
					text-align:left;
				}
				.post .entry .quote{
					padding:10px 10px 10px 30px;
					margin: 0px 0px 0px 0px;
					border-left: 4px solid #AAA;
					color:#888;
					text-align:left;
				}
				.post .entry .keyquote, .post .entry .rightkeyquote, .post .entry .leftkeyquote{
					border-bottom: 3px solid #709706;		
					border-top: 3px solid #709706;	
					padding: 5%;
					margin: 5%;
					margin-right: 0;
					width: 30%;
					float: right;
					clear: right;
					color: #709706;
					text-align: center;
					font-size:1.8em;
					line-height: 1.2em;
					font-style: italic;
				}	
				.post .entry .leftkeyquote{
					float: left;
					clear: left;
					margin: 5%;
					margin-left: 0;
				}
				
				.post .entry .left{
					float:left;
					clear:left;
					width:48%;
				}
				
				.post .entry .right{
					clear:right;
					float:right;
					width:48%;
				}
				
				.post .entry p{
					margin-bottom: 2em;
				}
				
				.post .entry img.fullwidth{
					margin: 0px;
					float: none;
				}
				
		.post .entrymeta{
			clear:both;
			font-size:93%;
			color:#777777;
		}
	
	/********************************************************
	*   Comment Section
	********************************************************/
	#commentbox{
		background: #fafafa;
		padding: 10px 9px;
		border-top: 1px solid #dddddd;
		border-bottom: 1px solid #eeeeee;
		width: 610px;
	}
		
		#commentbox ul{
			
		}
		
		#commentbox ul li ul{
			margin-left: 20px;
			padding-left: 30px;
			border-left: 1px solid #eeeeee;
		}

		#commentbox h3{
			letter-spacing: 0.1em;
			font-weight: normal;
			padding: 0;
			margin: 0;
		}
		
		#commentbox #commentform{
		
		}
		
		#commentbox .info{
			font-size: 91%;
			color: #888888;
			padding: 0px 0px 5px;
			position:relative;
		}
		
		#respond{
			padding-top: 15px;
			padding-bottom: 20px;
		}
		
			#respond h3{
				border-top: 1px dotted #dddddd;
				color:#dd1111;
				padding: 10px 0px;
			}
			
			#respond p{
				padding-bottom: 5px;
			}
			
		#comment, #author, #url, #email{
			background: #ffffff;
			border: 1px solid #dddddd;
		}

		#commentbox ul.commentlist{
			margin: 0;
			padding: 0;
			list-style: none;
			display:block;
		}

		#commentbox ul.commentlist ul.commentlist{
			padding-left: 100px;
		}

		#commentbox ul.commentlist li{
			display: block;
			margin: 0;
			margin-top: 10px;
			padding: 0;
		}
		
			#commentbox ul.commentlist li .info{
				padding: 0px 10px 0px 55px;
			}
			
			#commentbox ul.commentlist li .info .hiddencontrol{
				right:0px;
				top: 0px;
				position: absolute;
				visibility: hidden;
			}

			#commentbox ul.commentlist li .entry{
				padding: 5px 10px 5px 5px;
				position:relative;
			}
			
			#commentbox div.commentdiv{
				margin:0;
				padding:0;
			}
			
			#commentbox div.avatar{
				float:left;
				width: 50px;
				height: 34px;
				text-align: left;
				font-size: 92%;
				z-index: 2;
				position:relative;
				left:0;
				top:0;
				padding: 0;
				margin: 0;
			}
			
			#commentbox div.commentarrow{
				background: url(images/comment-arrow.png) no-repeat;
				width: 15px;
				height:32px;
				margin-right: -1px;
				float: right;
			}
			
			#commentbox div.avatar img{
				border: 1px solid #cccccc;
			}
				
			#commentbox div.commentbox{
				font-size: 100%;
				background: #ffffff;
				border: 1px solid #dddddd;
				margin-left:50px;
				position:relative;
			}
			
			#commentbox .commentdiv div.reply{
				padding: 2px 10px;
				background: #f2f2f2;
				margin-top: 5px;
				position:absolute;
				right: 0px;
				bottom: 0px;
				visibility: hidden;
			}
				
				#commentbox .commentdiv:hover div.reply{
					visibility: visible;
				}
				
				#commentbox .commentdiv:hover .info .hiddencontrol{
					visibility: visible;
				}				
			
				#commentbox div.reply:hover, #commentbox div.reply:hover a{
					background:#dd1111;
					color: #ffffff;
				}
				
/********************************************************
*   Sidebar & Staticbar
********************************************************/			
	#sidebar, #staticbar{
		font-size: 100%;
		margin-left: 10px;
	}
		
		#sidebar{
			background: #f8f8f8;
			border: 1px solid #eeeeee;
			border-top: 1px solid #dddddd;
			padding: 0px 10px;
		}
		
		#staticbar{
			background: #ffffff;
			padding-top: 10px;
		}
			
		#staticbar .entrymeta{
			border:1px solid #ffddaa;
			background: #ffffee;
			padding: 10px;
		}
			
		#sidebar h2{
			font-size: 120%;
			font-weight: normal;
		}
		
		#staticbar li{
			margin-bottom: 0.5em;
			padding-left: 10px;				
		}
		
	#staticbar #ad{
		width:300px;
		height:250px;
		padding: 0px 0px;
	}
		
	#staticbar .topinfo, #staticbar.bottominfo{
		padding: 0px 0px 30px 0px;
		position:relative;
	}
	
	#staticbar .bottominfo{
		padding-top: 20px;
	}
	
	#staticbar .topinfo h4{
		font-size: 120%;
		font-weight: normal;
		padding: 5px 10px;
		background: #f8f8f8;		
	}
	
#aboutme{
	height: 80px;
	padding: 10px 10px 10px;
	margin-bottom: 15px;
}
		
	
/********************************************************
*   Footer
********************************************************/
#footer{
	
}

#pagelist{
	padding: 10px 10px;
	margin-top: 30px;
	border-top: 1px solid #eeeeee;
}

#copyright{
	padding: 10px 10px;
}
