/*  
Theme Name: Black on White (serif)
Theme URI: http://b-12.blogspot.com/2008/05/wordpress-black-on-white-theme.html
Description: Black on White. Serif Typography.
Version: 1.2
Author: maxxu.
Author URI: http://maxxu.blogspot.com/
Tags: simple, black, two columns
*/

* {
margin:0;
padding:0;
}

body {
	font-family:Georgia, serif;
	font-size:62.5%;
	background:#fff;
	color:#000;
}
a {
	text-decoration: none;
	color:#C60104;
}
a:hover {
	color:#C60104;
	text-decoration: underline;
}
a img {
	border: 0;
}
form, input, textarea {
	font-family: Georgia, serif;
	font-size: 1.1em;
}
ul, li {
	list-style-type: none;
}
img.icon { 
	margin-bottom:-4px; 
	margin-right:2px; 
}

#wrap {
width:100%;
background:#FFF;
}

#header { 
padding:10px;
background:#eee;
color:#333;
font-size:1.5em;
border-bottom:1px solid #7a7;
margin-bottom:20px;
}
	#header a, #header a:visited{
	text-decoration: none;
	color: #000;
	font-size:2em;
	border-right:4px solid #000000;
	margin-right:6px;
	padding-right:12px;
	}
	#header a:hover {
	color: #999;
	}
#menu {
	background:#FFF url('images/menu-bg.jpg') repeat-x;
	height:55px;
	font-size:1.4em;
	}
	#menu ul {
	padding:10px;
	}
	#menu ul li {
	display:inline;
	margin:0;
	padding:10px 10px 0 5px;
	}
	#menu ul a {
	font-weight:normal;
	text-decoration:none;
	color:#FFF;
	font-size:1em;
	}
	#menu ul a:hover {
	color:#CCC;
	}
	#menu ul li.current_page_item {
	color:#FFF;
	padding-bottom:11px;
	border-bottom:3px solid #FFF;
	background:#222;
	}
#content {
	float: left;
	width:70%;
	background:#FFF;
	color:#000;
	padding:10px 0 10px 5%;
}
.post {
	background:#FFF;
	border-bottom:1px solid #fff;
	margin-bottom:20px;
	}
	.post h2 {
	color:#000;
	font-size:2.5em;
	background-color:#dfc;
	border-bottom:2px solid #7A7;
	padding-left:12px;
	}
	.post h2 a {
	text-decoration:none;
	color:#000;
	letter-spacing:1px;
	}
	.post h2 a:hover {
	color:#999;
	}
	.post p {
	color:#222;
	font-family:Georgia, serif;
	font-size:1.3em;
	line-height:1.6em;
	margin:20px 0 0 0;
	padding-right:10px;
	}	
	.post a:hover img{
	background:#eee;
	}
	.post a img {
	padding:6px;
	background:#ddd;
	border:1px solid #999;
	}
	.post img.icon { 
	margin-bottom:-4px;
	}
	.post img.alignleft {
	float: left;
	margin: 5px 10px 0 0;
	}
	.post img.alignright {
	float: right;
	margin: 5px 0 0 10px;
	}	
	.post ul, li {
	list-style-type:dot;
	margin-left:15px;
	}
	.post blockquote {
	margin:5px;
	border:1px dashed #090;
	padding:10px;
	line-height:20px;
	text-align:left;
	}
	.post cite {
	font-size: 1em;
	font-style: normal;
	}
	
.postmetadata, p.postmetadata {
font-size:1em;
margin-bottom:10px;
background:#EEE;
}
	.postmetadata img.icon { 
	margin-bottom:-5px; 
	margin-left:8px; 
	margin-right:2px; 
	}
	.post-date, p.post-date {
	background:#EEE;
	margin:0;
	font-size:1.1em;
	padding:0;
	}
	.postmetadata a {
	text-decoration:none;
	color:#37424B;
	}
	.postmetadata a:hover {
	color:#CCC;
	}
	.navigation {
	font-size:1.2em;
	}
	.navigation a {
	color: #AF4646;
	}

#comments {
background:#FFF;
margin-bottom:25px;
}
	#comments .commentstext {
	background:#FFF url('images/comments.png') no-repeat top left;
	margin:0 0 20px 0;
	padding-left:20px;
	}
	#comments .commentstext p {
	color:#000;
	}
	#comments cite {
	background:#EEE;
	color:#222;
	padding:0 2px;
	font-size:1.1em;
	}
	#comments img.avatar {

	}
	#comments hr {
	border:1px solid #EEE;
	margin:10px 0 10px 0;
	}
	#commentform { 
	background:#FFF;
	}
	#commentform label {
	background:#FFF;
	color:#AF4646;
	font-size:1.1em;
	}
	#commentform .commentauthor, .commentemail, .commenturl, .commentspam {
	background:#FFF;
	border:1px groove #CCC;
	padding:5px;
	width:98%;
	}
	#commentform a img {
	padding:0;
	}
	#commentform .commentarea {
	background:#FFF;
	border:1px groove #CCC;
	padding:5px;
	width:98%;
	wid\th:98%; /* IE HACK */
	overflow:hidden;
	}
	#commentform input.submit-btn {
	background: #e5e5dd;
	border:1px groove #CCC;
	padding:5px;
	margin:0 0 10px 0;
	}
#sidebar {
	float:left;
	width:20%;
	background:#efe;
	color:#222;
	padding:10px;
	border:1px solid #7a7;
	}
	#sidebar h2 {
	font-family: Georgia, serif;
	font-size: 24px;
	font-weight:normal;
	color:#000;
	}
	#sidebar h2 a	{
	text-decoration: none;
	color: #AF4646;
	}
	#sidebar li	{
	margin: 0 0 10px;
	padding: 5px 20px 5px;
	font-family: Arial, Verdana, sans-serif;
	font-size: 24px;
	font-weight: normal;
	color: #000;
	}
	#sidebar li ul	{
	margin: 0;
	padding: 0;
	}
	#sidebar li ul li, #sidebar table	{
	margin: 0 0 2px 0;
	padding: 5px 0 0;
	font-family: Arial, Verdana, sans-serif;
	font-size: 12px;
	}
	#sidebar table {
	width:100%;
	}
#categories-3 ul li{
	list-style-type:square;
	margin-left:12px;
	}
	#categories-3 .children li{
	list-style-type:circle;
	margin-left:12px;
	}
.searchform {
	padding:0 0 5px 10px;
	}
	.searchform input.textinput {
	background:#FFF;
	padding:1px;
	border:1px solid #222;
	}
	.searchform input.search-btn {
	width: 54px;
	height: 20px;
	background: #e5e5dd;
	color:#000;
	border:1px groove #CCC
	}
#footer {
	clear: both;
	background:#111111 url('images/footer-bg.jpg') repeat-x;
	height:55px;
	}
	#footer p {
	padding:30px 0 0 10px;
	color:#FFF;
	font-size:1.1em;
	}
	#footer a {
	color:#CCC;
	}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

pre {
	border:1px dashed #7a7;
	font-size:1.2em;
	}
	pre.sh_sourceCode {
	background-color: white;
	color: black;
	font-style: normal;
	font-weight: normal;
	}

pre.sh_sourceCode .sh_keyword { color: blue; font-weight: bold; }           /* language keywords */
pre.sh_sourceCode .sh_type { color: darkgreen; }                            /* basic types */
pre.sh_sourceCode .sh_string { color: red; font-family: monospace; }        /* strings and chars */
pre.sh_sourceCode .sh_regexp { color: orange; font-family: monospace; }     /* regular expressions */
pre.sh_sourceCode .sh_specialchar { color: pink; font-family: monospace; }  /* e.g., \n, \t, \\ */
pre.sh_sourceCode .sh_comment { color: brown; font-style: italic; }         /* comments */
pre.sh_sourceCode .sh_number { color: purple; }                             /* literal numbers */
pre.sh_sourceCode .sh_preproc { color: darkblue; font-weight: bold; }       /* e.g., #include, import */
pre.sh_sourceCode .sh_symbol { color: darkred; }                            /* e.g., <, >, + */
pre.sh_sourceCode .sh_function { color: black; font-weight: bold; }         /* function calls and declarations */
pre.sh_sourceCode .sh_cbracket { color: red; }                              /* block brackets (e.g., {, }) */
pre.sh_sourceCode .sh_todo { font-weight: bold; background-color: cyan; }   /* TODO and FIXME */

/* for Perl, PHP, Prolog, Python, shell, Tcl */
pre.sh_sourceCode .sh_variable { color: darkgreen; }

/* line numbers (not yet implemented) */
pre.sh_sourceCode .sh_linenum { color: black; font-family: monospace; }

/* Internet related */
pre.sh_sourceCode .sh_url { color: blue; text-decoration: underline; font-family: monospace; }

/* for ChangeLog and Log files */
pre.sh_sourceCode .sh_date { color: blue; font-weight: bold; }
pre.sh_sourceCode .sh_time, pre.sh_sourceCode .sh_file { color: darkblue; font-weight: bold; }
pre.sh_sourceCode .sh_ip, pre.sh_sourceCode .sh_name { color: darkgreen; }

/* for LaTeX */
pre.sh_sourceCode .sh_italics { color: darkgreen; font-style: italic; }
pre.sh_sourceCode .sh_bold { color: darkgreen; font-weight: bold; }
pre.sh_sourceCode .sh_underline { color: darkgreen; text-decoration: underline; }
pre.sh_sourceCode .sh_fixed { color: green; font-family: monospace; }
pre.sh_sourceCode .sh_argument { color: darkgreen; }
pre.sh_sourceCode .sh_optionalargument { color: purple; }
pre.sh_sourceCode .sh_math { color: orange; }
pre.sh_sourceCode .sh_bibtex { color: blue; }

/* for diffs */
pre.sh_sourceCode .sh_oldfile { color: orange; }
pre.sh_sourceCode .sh_newfile { color: darkgreen; }
pre.sh_sourceCode .sh_difflines { color: blue; }

/* for css */
pre.sh_sourceCode .sh_selector { color: purple; }
pre.sh_sourceCode .sh_property { color: blue; }
pre.sh_sourceCode .sh_value { color: darkgreen; font-style: italic; }

div.pe_solution{
	border:1px solid #666;
	background-color:#dfd;
	font-size:1.3em;
	}
	div.pe_solution p,div.pe_solution pre{
	font-size:1em;
	}

#wp-calendar a{
	font-weight:bold;
	}
	#wp-calendar td{
	text-align:center;
	}
	#today {
	background-color:#7F7;
	}
