/*
Theme Name: Foo-han
Theme URI: 
Description: Modifed significantly by TAG. Originally derived from Wuhan, http://wuhan.authenticasian.com/
Version: 0.1
Author: TAG
Author URI: http://alt-tag.com
*/

/* Begin Typography & Colors */
body {
	margin: 0; padding: 15px 10px;
	font-size: 76%; /* 62.5%; Resets 1em to 10px */
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	background: url(/images/bg.gif) repeat;
	color: #333;
	text-align: center;
}
#headerimg {
	margin: 0 auto; padding:0;
	height: 132px;
	width: 760px;
	background: url("images/page_head.gif") no-repeat top center;
}
#page {
	margin: 0 auto;
	padding: 0;
	width: 760px;
	text-align: left;
	background: #fff url("images/page_middle.gif") repeat-y center;
	border: none;
}
#page-bottom {
	margin: 0 auto; padding: 0;
	width:760px;
}
#footer {
	clear:both;
	padding: 0;
	margin: 0 auto;
	width: 760px;
	height: 60px;
	background: url("images/page_bottom.gif") no-repeat bottom center;
	overflow: hidden
}
#footer-content {margin-top: 20px; height:40px;}
#content {}

.narrowcolumn .entry, .widecolumn .entry {
	line-height: 1.4em;
}

.widecolumn {
	line-height: 1.6em;
}

.narrowcolumn .postmetadata {
	text-align: center;
}

.alt {
	background-color: #f8f8f8;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}

small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 0.9em;
	line-height: 1.5em;
	margin: 0px;
}

h1, h2, h3 {
	font-family: "Courier New", Courier, monospace;
	font-weight: bold;
}

h1 {
	font-size: 4em;
	text-align: center;
}

.description {
	font-size: 1.2em;
	text-align: center;
}

h2 {
	font: 1.6em;
	text-align: left;
}

h2.pagetitle {
	font-size: 1.6em;
}

h3 {
	font-size: 1.3em;
}

a, a:link, a:visited {
	text-decoration: none;
}

a:hover {
	color: #147;
	text-decoration: underline;
}
.entry a, .commentlist a{
	text-decoration: underline;
}
.entry a:hover, .commentlist a:hover {
	text-decoration: none;
}

h1, h1 a, h1 a:link, h1 a:hover, h1 a:visited, .description {
	color: white;
	text-decoration: none;
}

h2, h2 a, h2 a:link, h2 a:visited,
h3, h3 a, h3 a:link, h3 a:visited {
	color: #333;
	text-decoration: none;
}

h2 a:hover, h3 a:hover {
	color: #06c;
	text-decoration: underline;
}

.entry p a:visited {
	color: #A367B1;
}

.respond {
	border-bottom: 1px solid #7f7f7f;
	margin: 1em 15px .5em 15px;
	padding: 0;
}

#commentform {
	padding: 0 15px 0 15px;
}

#commentform p {
	margin: 5px 0;
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
}

#commentform input, #commentform textarea {
	font: 0.9em;
}
#commentform textarea {
	width: 90%;
}

#commentform #submit {
	margin: 0;
	float: right;
}
.commentmetadata {
	font-weight: normal;
	padding: 0px 10px 0px 10px;

}

small, .nocomments, .postmetadata, blockquote, strike {
	color: #666;
}

acronym, abbr, span.caps {
	font-size: 0.9em;
	letter-spacing: .07em;
}

/* End Typography & Colors */


/* Begin Structure */
.narrowcolumn {
	float: left;
	padding: 0 0 20px 16px;
	margin: 0px 0 0;
	width: 450px;
}

.widecolumn {
	padding: 10px 0 20px 0;
	margin: 5px 0 0 150px;
	width: 450px;
}

.post {
	text-align: justify;
	position: relative;
	font-family: Verdana;
}

.widecolumn .post {
	margin: 0;
}

.narrowcolumn .postmetadata {
	padding-top: 5px;
	margin: 0px;
}
/* End Structure */


/*	Begin Headers */
h1 {
	padding-top: 70px;
	margin: 0;
}

.description {
	text-align: center;
}

h2 {
	margin: 0px;
}

h2.pagetitle {
	margin-top: 30px;
	text-align: center;
}


h3 {
	padding: 0;
	margin: 30px 0 0;
}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	font-family: Georgia;
}
/* End Headers */



/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
}

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 */

#sidebar .sideblock {
	margin: 0 auto 1em auto;
	padding-bottom: 1em;
	border-bottom: 1px solid #acb0b5;
}
#sidebar ul, #sidebar ol {
	margin: 0;
	padding: 0 0 0 1.5em;
	list-style-type: none;
	list-style-image: none;
}
#sidebar ul.bullets li,#sidebar li.delicious-post {
	list-style-image: url("images/bullet.jpg");
}
#sidebar ul#blogroll {
	padding-left: 0;
}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
}

select {
	width: 130px;
}
/* End Form Elements */


/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
}

.commentmetadata {
	float: none;
	margin: 0px;
	text-align: center;
	color: #7f7f7f;
	padding: 0px;
}
/* End Comments */

/* Begin Sidebar */
#sidebar {
	padding: 20px 0 10px 0;
	margin-left: 525px;
	width: 215px;
}
#sidebar form {
	margin: 0;
}

#sidebar h2 {
	margin: .4em 0 0 0;
	padding: 0;
	font-size: 1.2em;
}

/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px;
	text-align: center;
}

#sidebar #searchform #s {
	width: 115px;
	padding: 2px;
}

#sidebar #searchsubmit {
	padding: 1px;
}

ul#rss li {margin: 4px 0;}
a.rss {
	padding-left: 20px;
	background: transparent url(images/feed-icon-16x16.gif) no-repeat center left;
}
/* End Sidebar */

/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
}

acronym, abbr {
	border-bottom: 1px dashed #999;
}

.center {text-align: center;}

hr {display: none;}

a img {border: none;}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
}
/* End Various Tags & Classes*/

/* Blockquote style and the nice background image */
blockquote {
	margin: .8em 2em .8em 1.5em;
	padding-left: 20px;
	background: url(images/quote.gif) no-repeat left top;
}
.entry blockquote p {padding: 0;}
.entry blockquote p + .cite,
.entry blockquote p + .cite {
	 margin-top: -.6em;
}
.cite, blockquote cite {
	display: block;
	margin: 5px 0 0 0;
	font-size: 0.9em;
	font-style:italic;
	color: #999;
	border-top: 1px dotted #999;
}
.cite em, .cite i, blockquote cite em, blockquote cite i {
font-style:normal;
}

/* This is the nice box all the entries are posted in */

.post-top, .title, .entry, .post-bottom {
	width:  465px;
}

.post-top {
	background: url(images/title_top.gif) no-repeat center top;
	margin: 0 0 30px 4px;
}

.title {
	background: url(images/title_body.gif) repeat-y center;
	margin: 0px;
	padding: 0 0 3px 0;
	border-bottom:1px solid #ccc;
}
.entry {
	background: url(images/post_body.jpg) repeat-y center;
	margin: 0; padding: 0;
	bottom: 11px;
	position: relative;
}
.post-bottom {	
	background: url(images/post_bottom.jpg) no-repeat left bottom;
	padding: 15px 0px 0px 0px;
	position: relative;
	top: 6px;
}

/* End of the entry box */

.post p {
	margin: .7em 0;
	padding: 0 15px;
}

.title h2, small {
	margin: 0; padding: 0 15px;
}

/* See, I could have settled for the default text input field. But being a man with good taste and all, I've decided to make my own search-box */
.search-box {
	background: url("images/search.jpg") no-repeat center;
	width: 118px;
	border: none;
	padding: 2px 2px 1px 5px;
	height: 20px;
}
/** Fix above style **/

a {color: #0A5692;}

/* Comment box (both styles) */
#comments {
	font-size:  1.1em;
	text-align: left;
}
.comment-top-1 {
	background: url("images/comment_top_1.jpg") no-repeat top;
	width: 400px;
	margin-left: 34px;
	margin-top: 20px;
}
.comment-bottom-1 {
	background: url("images/comment_bottom_1.jpg") no-repeat bottom;
	width: 400px;
	padding: 30px 0px 0px 0px;
}
.comment-body-1 {
	background: url("images/comment_body_1.jpg") repeat-y center;
	width: 400px;
	text-align: left;
	padding: 0px;
	position: relative;
	bottom: 15px;
	font-family: Verdana;
}
.comment-top-2 {
	background: url("images/comment_top_2.jpg") no-repeat top;
	width: 400px;
	margin-left: 34px;
	margin-top: 20px;
}
.comment-bottom-2 {
	background: url("images/comment_bottom_2.jpg") no-repeat bottom;
	width: 400px;
	padding: 30px 0px 0px 0px;
}
.comment-body-2 {
	background: url("images/comment_body_2.jpg") repeat-y center;
	width: 400px;
	text-align: left;
	padding: 0px;
	position: relative;
	bottom: 15px;
	font-family: Verdana;
}
.comment-body-1 p, .comment-body-2 p {
	margin: 0px;
	padding: 10px;
}

/* For those of you who use Ryan's WP-ContactForm plug-in. Go to wp-contactform.php and comment out the line add_filter('wp_head', 'wpcf_css'); at the bottom. */
.contactform form {
	width: 80%; 
	position: relative;
	margin: 0px;
	padding: 5px;
}
		
.entry .contactleft { 
	text-align: left;
	clear: both; 
	float: left; 
	margin: 0px;
	padding-top: 5px;
	padding-left: 10px;
}
	
.entry .contactright {
	width: 250px;  
	float: right; 
	margin: 0px;
	padding-top: 5px;
	padding-right: 10px;
}
/* End of ContactForm Styles */
.alignleft a, .alignright a, .commentmetadata {
	font-family:  Georgia;
	font-size:120%;	
	font-variant: small-caps;
}

.entry p, .entry ol, .entry ul, .entry dl {
	margin:  .4em 0 .8em 0;
	padding: 0 15px;
}
.entry dt {
	font-weight: bold;
	margin: 0 0 0 1em;
	padding: 0;
}
.entry li, .entry dd {
	padding: 0 0 0 .5em;
	margin: 0 0 .2em 2em;
}
.entry ul li{
	list-style-image: url("images/bullet.jpg");
}
.entry ul.thumbs {
	text-align:center;
	list-style-type: none;
}
.entry ul.thumbs li {
	display:inline;
	padding: 0;
	margin: 0 5px;
	list-style-type: none;
}
.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
}

.entry h3, .entry h4, .entry h5 {
	margin: 1.3em 0 .2em 0;
	padding: 0 15px;
}
.entry div.seeAlso{
	color: #555;
	margin: 1.3em 15px .2em 15px;
	padding: .5em;
	background-color:#f9f9f9;
	font-size: 90%;
	line-height: 1.2em;
	border: 1px dotted #999;
}
.seeAlso h4, .seeAlso h5 {
	margin-left: 0; padding-left:0;
}
.seeAlso > h4:first-child, .seeAlso > h5:first-child {
	margin-top: 0;
}
.seeAlso a, .seeAlso a:link, .seeAlso a:visited {
	color: #777;
}
.seeAlso a:visited, .seeAlso a:hover {
	color: #aaa;
}
/** TABLES **/
table.datatable caption{
	font-size: 100%;
	padding: .2em 0 .2em 0;
	font-weight: bold;
}
table.datatable {
	margin: 0 0 1.5em 0;
}
table.datatable, table thead, table tbody {
	border-collapse: collapse;
	border-spacing:0;
}
table.datatable th, table.datatable td{
	margin:0;
	padding: 2px .3em 2px .5em;
	text-align: left;
}
table.datatable thead th{
	font-size: 100%;
	font-weight: bold;
	border-bottom: 2px groove;
}
table.datatable td.number, table.datatable th.number{
	padding-right: 1em;
	text-align: right;
}
table.datatable tbody td{
	vertical-align: top;
	border-bottom: 1px solid #ccc;
}

/** Code **/
code {
	font-family: "Courier New", Georgia, monospaced;
	font-size: 108%;
}
div.code, code.codeblock{
	display: block;
	margin:1em;
	padding:.5em;
	font-family: "Courier New", Georgia, monospaced;
	font-size: 108%;
	line-height: 1.2em;
	border: 1px dotted #000;
	background-color:#f0f2f4;
	text-align: left;
	white-space: pre-wrap;
}

code.codeblock span.comment{
	color: rgb(80,120,80);
}

code.codeblock span.keyword{
	color: rgb(0, 0, 180);
}

code.codeblock span.function{
	color: rgb(120, 60, 20);
}

code.codeblock span.string{
	color: rgb(180, 120, 0);
}

/** Sociable Plugin CSS **/
div.sociable {margin: 16px 0; padding: 0 15px;}

span.sociable_tagline { position: relative; }
span.sociable_tagline span { display: none; width: 14em; }
span.sociable_tagline:hover span {
	position: absolute;
	display: block;
	top: -5em;
	background: #ffe;
	border: 1px solid #ccc;
	color: black;
	line-height: 1.25em;
}
.sociable span {
	display: block;
}
.sociable ul {
	display: inline;
	margin: 0 !important;
	padding: 0 !important;
}
.sociable ul li {
	background: none;
	display: inline !important;
	list-style-type: none;
	margin: 0;
	padding: 1px;
}
.sociable ul li:before { content: ""; }
.sociable img {
	float: none;
	width: 16px;
	height: 16px;
	border: 0;
	margin: 0;
	padding: 0;
}

.sociable-hovers {
	opacity: .6;
	-moz-opacity: .6;
	filter: alpha(opacity=60);
}
.sociable-hovers:hover {
	opacity: 1;
	-moz-opacity: 1;
	filter: alpha(opacity=100);
}