/*
Theme Name:     Unfinished
Theme URI:      http://www.johnsonzhang.com/blog/
Description:    This is my theme for my personal blog.
Version:        1.0
Author:         Johnson Zhang
Author URI:     http://www.johnsonzhang.com/
*/

body {
	color:#333;
	font: 62.5% Verdana, sans-serif;
	font-size: 10px;
	text-align: center;
	vertical-align: top;
	margin: 0;
	background: #fff;
}

* {
	padding: 0;
	margin: 0;
}



/*---:[ GLOBAL TYPOGRAPHY ELEMENTS ]:---*/

a:link, a:visited{
	text-decoration: none;
	color: #666;
}

a:hover {
	text-decoration: underline;
	color: #03C;
}

/*---:[ HEADLINES ]:---*/

h1, h2, h3, h4 {
	font: bold 1.0em "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h1 {
	font-size: 3.5em;
	line-height: 1.2em;
	letter-spacing: -1px;
	text-align:right;
	text-transform: lowercase;
}

h1 a:hover {
	color: #CCC;
	text-decoration:none;
}

h2 {
	font-size: 2.8em;
	line-height: 1em;
	letter-spacing: -1px;
}

h2 a:hover {
	color: #333;
	text-decoration:none;
}

.sidebar h2 {
	font-size: 1.5em;
	line-height: 1.5556em;
	margin: 0 0 0.5em 0;
	border-bottom: 0.166667em double #ccc;
	color: #333;
}

h3 {
	font-size: 1.3846em;
	line-height: 1.1111em;
	color: #333;
}

.postcontent h2 {
	padding: 0 0 15px 0;	
}

.entry h3 {
	margin: 1.6667em 0 0.5556em 0;
}

#comments h3 {
	font-size: 1.8em;
}

#comments h3.comment_intro {
	margin: 0 0 1.11111em 0;
	padding: 2.05556em 0 0 0;
	border-top: 0.166667em double #ccc;
}



/*---:[ WIDTHS AND FLOATS ]:---*/

#wrapper {
	margin: 30px auto 0 auto;
	width: 960px;
	text-align: left;
	
}

#header {
	background: url(images/header_bg.png) no-repeat center;
	height: 100px;
	margin: 75px 0 0 0;
}

#container {
	float: left;
	width: 960px;
	padding: 10px;
	background: #fff;
}

#content_box {
	width: 940px;
}

	#content {
		width: 720px;
		padding: 0;
		float: left;
	}
	
	.sidebar {
		float: right;
		width: 145px;
		display: inline;
	}

#footer {
	clear: both;
	width: 960px;
	padding: 5px 0 50px 0;
	text-align: center;
	color: #ccc;
}

#bottom_shade {
	position: fixed;
	clear: both;
	width: 100%;
	height: 100px;
	bottom: 0;
	border: none;
	padding: 0;
	background: url(images/footer_overlay.png) repeat-x;
}



/*---:[ NAV MENU STYLES ]:----*/

#nav {
	width: 810px;
	margin: 0 auto;
	padding: 45px 0 0 0;
}

#nav ul{
	list-style: none;
}

#nav ul li{
	font-size: 1.6em;
	float: right;
}

#nav ul li a, #nav ul li a:visited {
	display: block;
	padding: 0.3125em 0 0.5em 15px;
	font: "Helvetica Neue", Helvetica, Arial, sans-serif;
	color:#666;
	text-transform: lowercase;
	font-weight: bolder;
	letter-spacing: -1px;
}

#nav ul li a:hover {
	color: #999 !important;
	text-decoration: none !important;
}

#nav ul li a.current:hover {
	color: #ccc !important;
	text-decoration: none !important;
}

#nav ul li a.current, #nav ul li a.current:visited {
	color: #fff;
}

#rss {
	width: 160px;
	height: 70px;
	margin: 0 0 1.0em 0;
	background: url('images/rss.gif') 50% 0 no-repeat;
	text-align: center;
}

	#rss a {
		display: block;
		width: 48px;
		height: 48px;
		margin: 0 auto;
	}
	
#title_space {
	width: 810px;
	height: 36px;
	margin: 0 0 5px 0;
	text-align: right;
}

	#title_space a {
		display: block;
		width: 315px;
		height: 36px;
		margin: 0 0 0 auto;
	}



/*---:[ CONTENT STYLES ]:---*/

.postcontainer {
	width: 770px;
	margin: 0;
	padding: 15px 0 0 0;
	float: left;
	border-bottom: 0em solid #ccc;
	border-right: 0em solid #ccc;
}

.singlepostcontainer {
	width: 770px;
	margin: 0;
	padding: 15px 0 0 0;
	float: left;
}

	.postmetacol {
		width: 100px;
		margin: 5px 10px 0 15px;
		float: left;
	}
	
	.postcontent {
		width: 600px;
		float: right;
		padding: 0 30px 0 0;
	}


.entry {
	font-size: 1.1em;
	line-height: 1.8em;
}

	.entry a, .entry a:visited {
		padding: 1px 0;
		border-bottom: 1px dashed #bbb;
	}
	
	.entry a:hover {
		padding: 1px 0;
		color: #fff;
		background: #333;
		border-bottom: none;
	}
	
	.entry p {
		margin: 0 0 1.5385em 0;
	}
	
	.entry ul, .entry ol {
		margin: 0 0 1.5385em 3.0em;
	}
	
	.entry ul {
		list-style: disc;
	}
	
		.entry ul li ul, .entry ul li ol, .entry ol li ul, .entry ol li ol {
			margin: 0 0 0 1.5em;
		}
		
	.entry dl {
		margin: 0 0 1.5385em 0;
	}
	
		.entry dt {
			font-weight: bold;
		}
		
		.entry dd {
			margin: 0 0 0 1.5em;
		}
	
	.entry sup, .entry sub {
		line-height: 1.0em;
	}
	
	.entry blockquote.right, .entry blockquote.left {
		width: 13.6875em; 
		padding: 0.4375em 0; 
		font-size: 1.1em; 
		line-height: 1.25em; 
		border: 0.0625em solid #666; 
		border-width: 0.0625em 0; 
		text-align: center; 
	}
	
	.entry blockquote.right { 
		margin: 0 0 0 0.9375em; 
		float: right; 
		clear: right; 
	}
	
	.entry blockquote.left { 
		margin: 0 0.9375em 0 0; 
		float: left; 
		clear: left; 
	}

		.entry blockquote.right p, .entry blockquote.left p { 
			margin: 0 !important; 
		}
		
	.entry img { }

	.entry img.left { 
		margin: 0 1.1538em 0 0; 
		float: left; 
		clear: left; 
	}
	
	.entry img.right { 
		margin: 0 0 0 1.1538em; 
		float: right; 
		clear: right; 
	}
	
	.entry img.center { 
		display: block; 
		margin: 0 auto 1.5385em auto; 
		clear: both; 
	}

	.entry img.frame { 
		border: 0.3846em solid #ddd; 
	}
	
	.entry img.stack { 
		clear: none !important; 
	}

.post_meta_calendar, .post_meta_comments, .post_meta_category {
	margin: 0 0 0.5em 0; 
	padding: 0.3846em 0 0 20px; 
	border-top: 0.23077em double #ccc; 
	font-size: 1em; 
	line-height: 16px; 
	clear: both; }
	
	.post_meta_calendar {
		background:url(images/icon_calendar.gif) no-repeat left;
	}
	
	.post_meta_comments {
		background:url(images/icon_comment.gif) no-repeat left;
	}
	
	.post_meta_category {
		background:url(images/icon_category.gif) no-repeat left;
	}
	
	.add_comment { 
		padding: 0 0 0 2em; 
		background: url('images/icon_comment.gif') 0 50% no-repeat; 
		font-weight: bold;
	}

	.postmetacol a:hover { 
		color: #333;
		text-decoration:none;
		border-bottom: 1px #333 dashed;
	}

.page .entry {
	margin: 0 0 3.0769em 0; 
	border-bottom: 0.23077em double #ccc;
}

.navigation {
	width: 39em; 
	margin: 0 0 3.3333em 0; 
	font-size: 1.2em; 
	line-height: 1.6667em;
}
	
	.navigation a:hover { 
		color: #333; 
		border-bottom: 1px dashed #333; 
	}
	
	.next { text-align: right; }

/*---:[ IMG ]:---*/

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;
	}

/* Captions */
.aligncenter, div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 0.8em;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */


/*---:[ SIDEBAR STYLES ]:---*/

#rss {
	width: 160px;
	height: 70px;
	margin: 0 0 1.0em 0;
	background: url('images/rss.gif') 50% 0 no-repeat;
	text-align: center;
}

	#rss a {
		display: block;
		width: 48px;
		height: 48px;
		margin: 0 auto;
	}
	
ul.sidebar_list {
	list-style: none;
}

	ul.sidebar_list li.widget, ul.sidebar_list li.linkcat {
		width: 150px;
		margin: 0 0 1em 0;
		font-size: 1em;
		line-height: 1.6667em;
		float:left;
	}
	
		li.widget p {
			margin: 0 0 1.66667em 0;
		}
		
		li.widget ul, li.linkcat ul {
			list-style: none;
			margin: 0 0 0.8333em 0;
		}
		
		li.widget li, li.linkcat li {
			padding: 0 0 0 1.16667em;
			background: url('images/bullet.gif') 0 0.4167em no-repeat;
		}
		
			li.widget li a:hover, li.linkcat li a:hover {
				color: #666;
				text-decoration: none;
				border-bottom: 1px dashed #666;
			}
			
	/*---:[SPECIAL WIDGET STYLES ]:---*/
	
	#calendar_wrap {
		width: 150px;
		margin: 0 0 0.833em 0;
		padding: 0 1em;
	}
	
	table#wp-calendar {
		width: 150px;
		border-collapse: collapse;
	}
	
	table#wp-calendar caption {
		font-weight:bold;
		line-height: 1.58333em;
		border-bottom: 0.08333em solid #666;
	}
	
	table#wp-calendar th {
		width: 2.3333em;
		font-size: 1.0em;
		line-height: 1.583333em;
		border-bottom: 0.08333em solid #666;
		color: #666;
		text-align: center;
	}
	
	table#wp-calendar td {
		width: 2.3333em;
		line-height: 1.66667em;
		color:#999;
		text-align: center;
	}
	
		table#wp-calendar td a, table#wp-calendar td a:visited {
			color:#666;
			font-weight:bold;
		}
		
		table#wp-calendar td a:hover {
			text-decoration:underline;
		}
		
	table#wp-calendar td#next, table#wp-calendar td#prev {
		widths: 7.0em;
	}
	
/*---:[ COMMENT STYLES ]:---*/

#comments {
	width: 600px;
	clear: both;
	padding: 0 5px;
}

	dl#comment_list {
		margin: 0;
	}
	
		dl#comment_list dt {
			padding: 0 0 33px 0;
			background: url('images/comment_top.gif') 0 100% no-repeat;
			font-size: 1.1em;
			line-height: 1.8182em;
			color:#999;
		}
		
		dl#comment_list dt.author {
			background: url(images/comment_author_top.gif) 0 100% no-repeat;
		}
		
			dl#comment_list dt .comment_num {
				padding: 0 0.3636em 0 0;
			}
			
				dl#comment_list dt .comment_num a, dl#comment_list dt .comment_num a:visited {
					color: #999;
				}
				
				dl#comment_list dt .comment_num a:hover {
					text-decoration: none;
					border-bottom: dashed 1px;
				}
				
			dl#comment_list dt strong {
				font-size: 1.4545em;
				color: #333;
			}
			
				dl#comment_list dt strong a, dl#comment_list dt strong a:visited {
					color: #999;
				}
				
				dl#comment_list dt strong a:hover {
					text-decoration: none;
					border-bottom: dashed 1px;
				}
				
		dl#comment_list dd {
			width: 428px;
			padding: 0 20px 5px 20px;
			margin: 0 0 1.5385em 0;
			background: #dfdfdf url('images/comment_bottom.gif') 0 100% no-repeat;
		}
		
		dl#comment_list dd.author {
			background: #f6f4c9 url('images/comment_author_bottom.gif') 0 100% no-repeat;
		}
		
			dl#comment_list dd.entry p, dl#comment_list dd.entry ul, dl#comment_list dd.entry ol, dl#comment_list dd.entry blockquote {
				margin-bottom: 1.1538em;
			}
			
/*---:[ COMMENT FORM STYLES ]:---*/

h3#respond {
	padding: 15px 0;
}

p.log_in {
	margin: 0 0 3.07692em 0;
}

#comment_form {
	width: 600px;
	margin: 0 0 4.0em 0;
}

	#comment_form a:hover {
		text-decoration: underline;
	}
	
	#comment_form p {
		padding: 0.7692em 0;
	}
	
		#comment_form label {
			padding: 0 0 0 0.83333em;
			font-size: 1.2em;
		}
		
		#comment_form .text_input {
			width: 445px;
			padding: 0.23077em;
			color: #666;
			font: bold 1em Verdana, sans-serif;
			border-top: 0.15385em solid #999;
			border-left: 0.15385em solid #999;
			border-right: 0.07692em solid #eee;
			border-bottom: 0.07692em solid #eee;
		}
		
		#comment_form .text_input:focus {
			border-top-color: #666;
			border-left-color: #666;
			border-right-color: #ddd;
			border-bottom-color: #ddd;
		}
		
		#comment_form .text_area {
			width: 550px;
		}
		
		#comment_form p.subscribe-to-comments {
			font-size: 1.3em;
		}
		
			#comment_form p.subscribe-to-comments label {
				font-size: 1.0em;
			}
			
		#comment_form .form_submit {
			padding: 0.5em;
			background: url(images/submit_bg.gif) repeat-x;
			color: #333;
			border: 0.21429em double #999;
			border-top-color: #ccc;
			border-left-color: #ccc;
			font: bold 1.0em "Helvetica Neue", Helvetica, Arial, sans-serif;
			cursor: pointer;
		}
		
		#comment_form .form_submit:hover {
			color: #666;
		}
		
/*---:[ SEARCH FORM STYLES ]:---*/

#search_form {
	margin: 0 0 0.5833em 0;
}

html[xmlns*=""] body:last-child #search-form {
	margin: 0 0 0.75em 0;
} /* This is a hack for Safari */

	#search_form .search_input {
		width: 135px;
		padding: 5px;
		color: #777;
		font: normal 1.0em Verdana, Arial, Helvetica, sans-serif;
		border: 0.083333em solid #999;
		border-right-color: #eee;
		border-bottom-color: #eee;
	}
	
	#search_form .search_input:focus {
		border-top-color: #666;
		border-left-color: #666;
		border-right-color: #ddd;
		border-bottom-color: #ddd;
	}
	
	#content .search_input {
		font-size: 0.9231em !important;
	}