/*  
Theme Name: Peng
Theme URI: http://hubflanger.com/
Description: My custom theme
Version: 1.0
Author: Peng Chia
Author URI: http://hubflanger.com/

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/

/**************************************************************/
/* Begin Typography & Colors */
/**************************************************************/
body {
	background-color: #b8cc6e;
 	text-align: left;
	color: #555;
	font-family: "Lucida Grande", Arial, Helvetica, Sans-Serif;
	font-size: 0.75em;
}

#page {
	background: #F6F8F1 url(images/bg_1000.gif) repeat-y;
	text-align: left;
}

#page-alt {
	background: #F6F8F1 url(images/bg_singlecol.gif) repeat-y;
	text-align: left;
}

#header {
	background: url(images/header_1000x124.jpg) no-repeat;
	border-bottom: 8px solid #fff;
}

#header h1 {
	font-family: "Times New Roman", Times, serif;
	font-size: 5em;
	font-weight: bold;
	color: #f90;
}

#header h2 {
	font-family: "Lucida Grande", Arial, Helvetica, Sans-Serif;
	font-size: 1.8em;
	font-weight: bold;
	letter-spacing: 0.3em;
	color: #fff;
}

#header h2 a,
#header h2 a:visited {
	color: #fff;
	text-decoration: none;
}

#header h2 a:hover,
#header h2 a:visited:hover {
	color: #06c;
	text-decoration: none;
}

#header #nav {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: bold;
	font-size: 0.85em;
	line-height: 2.5em;
}

#header #nav a,
#header #nav a:visited {
	background-color: #004460;
	color: #fff;
}

#header #nav a:hover,
#header #nav a:visited:hover {
	background-color: #b8cc6e;
	color: #004460;
}

.widecolumn {
	/*background-color: #eaeee1;*/
}

.narrowcolumn .entry, 
.narrowcolumn .entrytext,
.widecolumn .entry,
.widecolumn {
	line-height: 1.6em;
}

.narrowcolumn .entry div.codeblock {
	background-color: #FFF;
	border: solid 1px #999;
	overflow: auto;
	font-size: 1.2em;
	line-height: 1.2em;
}

.narrowcolumn .postmetadata {
	font-size: 0.85em;
	line-height: 1.6em;
}

.alt {
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}

#footer {
	line-height: 1.5em;
}

small {
	font-family: "Lucida Grande", Arial, Helvetica, Sans-Serif;
	font-size: 1em;
	line-height: 1.5em;
}

h1, h1.pagetitle, h2, h3 {
	color: #68A615;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: bold;
}

h1 {
	font-size: 1.6em;
}

h2,
#sidebar h2 {
	font-size: 1.5em;
}

h3 {
	font-size: 1.3em;
}

h1 a, h1 a:hover, h1 a:visited {
	text-decoration: none;
	color: #06c;
}

.project h3 {
	color: #555;
	font-weight: bold;
}

.project p {
	line-height: 1.3em;
}

.project p.small {
	font-size: 0.85em;
}

.project img {
	border: 1px solid #ccc;
}

/**************************
*	comments
**************************/
.commentlist li, 
#commentform input, 
#commentform textarea {
	font: 1.0em "Lucida Grande", Arial, Helvetica, Sans-Serif;
}
	
/*.commentlist li {
	font-weight: bold;
}*/

.commentlist cite, 
.commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
}

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

#commentform p {
	font-family: "Lucida Grande", Arial, Helvetica, Sans-Serif;
	font-size: 0.95em;
}

.commentmetadata {
	font-weight: normal;
	font-size: 0.8em;
}

/**************************
*	sidebar
**************************/
#sidebar {
	font-family: "Lucida Grande", Arial, Helvetica, Sans-Serif;
}

#sidebar li {
	font-size: 0.95em;
	line-height: 1.5em;
}

small, 
#sidebar ul ul li, 
#sidebar ul ol li, 
.nocomments, .postmetadata, blockquote, strike {
	color: #555;
}

.nocomments {
	font-size: 0.85em;
}
	
code,
.narrowcolumn .entry div.codeblock {
	font: 1.2em 'Courier New', Courier, Fixed;
	color: #333;
}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
}

#footer p {
	font-size: 0.85em;
}

/* start links */
a, a:visited {
	color: #36c;
	text-decoration: none;
}

a:hover, a:visited:hover, 
h2 a:hover, h2 a:visited:hover, 
h3 a:hover, h3 a:visited:hover,
#sidebar a:hover, #sidebar a:visited:hover,
#sidebar h2 a:hover, #sidebar h2 a:visited:hover {
	color: #f90;
	text-decoration: none;
}

#sidebar a, #sidebar a:visited {
	color: #06c;
	border: 0;
}

#sidebar h2 a, #sidebar h2 a:visited {
	color: #68A615;
}

.navigation {
	font-size: 0.9em;
}
	
#wp-calendar #prev a {
	font-size: 9pt;
}

#wp-calendar a {
	text-decoration: none;
}

#wp-calendar caption {
	font: bold 1.3em "Lucida Grande", Arial, Helvetica, Sans-Serif;
	text-align: center;
}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
}
/* End Typography & Colors */


/**************************************************************/
/* Begin Structure */
/**************************************************************/
body {
	margin: 0;
	padding: 0; 
}

#page,
#page-alt {
	margin: 20px auto 20px auto;
	width: 1000px;
	border: 8px solid #fff;
}
	
#header {
	margin: 0 auto;
	height: 124px;
	width: 1000px;
}

#header #title {
	float: left;
	width: 1000px;
}

#header #title h1 {
	float: left;
	margin: 0 0 0 10px;
}

#header #title h2 {
	float: left;
	margin: 28px 0 0 7px;
}

#header #nav {
	float: left;
	padding-top: 30px;
	width: 740px;
}

html>body div#nav {
	padding-top: 30px;
	p\adding-top: 105px;
}

#header #nav a {
	margin: 0 0 0 2px;
	padding: 5px 12px;
}

#header #search {
	float:left;
	width: 260px;
}

#content {
	/*margin: 20px 30px 20px 25px;*/
	margin: 0;
	padding: 0;
}	

#content.narrowcolumn {
	float: left;
	margin: 0;
	padding: 20px 20px 20px 20px;
	width: 510px;
}

html>body div#content.narrowcolumn {
	width: 550px;
	w\idth: 510px;
}

#content.widecolumn {
	margin: 0;
	padding: 20px;
	width: 900px;
}

.navigation {
	clear: both;
	padding-bottom: 20px;
}

.post {
	margin: 0 0 20px 0;
}

.widecolumn .post {
	margin: 0;
}

.narrowcolumn .entry h2 {
	margin: 20px 0 15px 0;
}

.narrowcolumn .entry p {
	margin: 15px 0 15px 0;
}

.narrowcolumn .entry div.codeblock {
	padding: 5px 10px;
}

#obsocialbookmark_barA {
	margin-top: 30px;
}

.narrowcolumn .postmetadata {
	margin-top: 15px;
	padding-top: 5px;
	padding-bottom: 10px;
}

.widecolumn .postmetadata {
	margin: 30px 0;
}

.widecolumn .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
}

.postmetadata {
	clear: left;
}

.project {
	margin: 20px 0 30px 0;
}

.project p {
	margin: 5px 0 15px 0;
}

.project img {
	float: left;
	margin: 0 15px 10px 0;
}

#flashcontent {
	margin: 20px 0 0 0;
}

#sidebar {
	margin: 0 0 0 550px;
	padding: 20px 0 20px 20px;
	width: 430px;
}

html>body div#sidebar {
	width: 450px;
	w\idth: 430px;
}

#sidebar #leftcol {
	float: left;
	width: 150px;
	padding: 0 20px 0 0;
}

html>body div#leftcol {
	width: 170px;
	w\idth: 150px;
}
	
#sidebar #rightcol {
	float: left;
	width: 250px;
}

#sidebar form {
	margin: 0;
}

#footer {
	padding: 0;
	margin: 0 auto;
	width: 810px;
	text-align: center;
}
/* End Structure */


/**************************************************************/
/*	Begin Headers */
/**************************************************************/
h1 {
	margin: 0 0 10px 0;
}

h2 {
	margin: 0 0 10px 0;
}

h1.pagetitle {
	margin-top: 30px;
	text-align: center;
}

#sidebar h2 {
	margin: 20px 0 0 0;
	padding: 0;
}

h3 {
	padding: 0;
	margin: 20px 0 0 0;
}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
}

#sidebar h2 {
	margin: 0;
}

#footer p {
	margin: 0;
	padding: 0 0 20px 0;
}

.project h2 {
	margin: 5px 0 0 0;
}

.project h3 {
	margin: 5px 0 0 0;
}
/* End Headers */


/**************************************************************/
/* Begin Images */
/**************************************************************/
p img {
	float: left;
	padding: 0 15px 10px 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 */


/**************************************************************/
/* Begin Lists
/**************************************************************/
	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
}

html>body .entry li {
	margin: 7px 0 8px 10px;
}

/*.entry ul li:before, #sidebar ul ul li:before {
	content: "\00BB \0020";
}*/

#sidebar ul ul li:before {
	content: "\00BB \0020";
}

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
}

.entry ol li {
	margin: 0;
	padding: 0;
}

.postmetadata ul, 
.postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
}
	
#sidebar ul, 
#sidebar ul ol {
	margin: 0;
	padding: 0;
}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin: 0;
	margin-bottom: 15px;
	padding: 0
}

#sidebar ul p, 
#sidebar ul select {
	margin: 5px 0 8px 0;
}

#sidebar ul ul, 
#sidebar ul ol {
	margin: 5px 0 0 10px;
}

#sidebar ul ul ul, 
#sidebar ul ol {
	margin: 0 0 0 10px;
}

ol li, #sidebar ul ol li {
	list-style: decimal outside;
}

#sidebar ul ul li, 
#sidebar ul ol li {
	margin: 3px 0 0 0;
	padding: 0;
}

#sidebar ul ul.profiles {
	list-style: none;
}

#sidebar div.textWidget {
	
}

#sidebar ul.tweeter {
	margin-right: 10px;
	padding: 10px;
	border: dotted #999 1px;
	background-color: #f2f9d6;
}

/* End Entry Lists */


/**************************************************************/
/* Begin Form Elements */
/**************************************************************/
#searchform {
	margin: 0;
	padding: 15px 0 0 0; 
	text-align: left;
}

#searchform #s {
	width: 180px;
	margin: 0;
}

#searchsubmit {
	margin-top: 0;
	padding: 0 0 0 160px;
	/*font-size: 0.95em;*/
}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
}

select {
	width: 130px;
}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
}

#commentform textarea {
	width: 100%;
	padding: 2px;
}

#commentform #submit {
	margin: 0;
	float: right;
}
/* End Form Elements */


/**************************************************************/
/* Begin Comments*/
/**************************************************************/
.alt {
	margin: 0;
	padding: 10px;
}

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

.commentlist li {
	margin: 15px 0 3px 0px;
	padding: 5px 10px 3px 0px;
	list-style: none;
}

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

#commentform p {
	margin: 5px 0;
}

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

.commentmetadata {
	margin: 0;
	display: block;
}
/* End Comments */


/**************************************************************/
/* Begin Calendar */
/**************************************************************/
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
}

#wp-calendar a {
	display: block;
}

#wp-calendar caption {
	text-align: center;
	width: 100%;
}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; 
}
/* End Calendar */


/**************************************************************/
/* Begin Various Tags & Classes */
/**************************************************************/
acronym, abbr, span.caps {
	cursor: help;
}

acronym, abbr {
	border-bottom: 1px dashed #999;
}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
}

blockquote cite {
	margin: 5px 0 0;
	display: block;
}

.center {
	text-align: center;
}

hr {
	display: none;
}

a img {
	border: none;
}
/* End Various Tags & Classes*/
