/*  
Theme Name: Chark
Theme URI: http://bemike.org/
Description: This is my very own wordpress theme, private use only.
Version: 1.0
Author: Michael Liu
Author URI: http://bemike.org/
*/

/* global config */
* { /* clear all margins and paddings */
	margin: 0;
	padding: 0;
	}
html,body { 
	background: url('images/bg.png');
	color: #3F3F3F;
	font-family: 'Lucida Grande', Helvetica, Corbel, Verdana, Arial, san-serif, '宋体';
	font-size: 14px;
	line-height: 1.5;
	text-shadow: 1px 1px 1px #FFFFFF;
	}
form {
	font-size: .8em;
	}
input {
	border: 1px solid #999;
	}
input:hover {
	background: #eee;
	}
abbr,acronym {
	cursor: help;
	}
img a {
	padding: 0;
	margin: 0;
	border: none;
}
code {
	margin: 15px 10px 10px 15px;
	padding: 10px 10px 10px 10px;
	border: 1px solid #eee;
	background: #f4f4f4;
	overflow: auto;
	display:block;
}
pre {
	width: 90%;
	margin: 1.5em 1em;
	padding: 1em;
	border: 2px dotted #ccc;
	font: 1em "Courier New",Courier,monospace;
	white-space: normal;
	overflow: auto;
}
pre:hover {
	border: 2px solid #999;
	}
pre strong {
	color: #c00;
}

pre code {
	display: block;
	color: black;
	padding: .5em;
	margin: 0;
}
ol.code {
	margin: 1.5em 0;
	}
blockquote {
	width: 90%;
	margin: 1.5em 1em;
	padding: 1em;
	border-left: 2px dotted #ccc;
	white-space: normal;
	overflow: auto;
	}
blockquote:hover {
	border-left: 2px solid #999;
	}
a {
        color: #333;
        /*border-bottom: 1px dotted #333;*/
        text-decoration: none;
        }
/*a:visited {
        color: #999;
        }*/
a:hover {
        color: #666;
        /*background-color:#EAEFF6;*/
        border: none;
        }
h1 {
	font-size: 2.5em;
	}
h2 {
	clear: left;
	border-bottom: 2px solid #eee;
	margin: .5em 0;
	font-size: 1.5em;
	font-family: 'Lucida Grande',"Microsoft YaHei";
	}
h3 {
	padding-top: 1em;
	font-size: 1.2em;
	clear: left;
	border-bottom: 1px dotted #eee;
	font-family: 'Lucida Grande',"Microsoft YaHei";
	}
h3.break {
	margin: 1em 0 .5em 0;
	padding: .8em 0 0 0;
	border-top: 2px dotted #ddd;
	}
h4 {
	font-size: 1em;
	}

.SkipTo {
	color: #636;
	font-size: .8em;
	}
/* global config */
/*****************************************************************************/

/* Layout */
#wrapper {
	position:relative;
	width: 680px;
	margin: 0px auto 0px;
	padding: 0 0 30px 0;
	background: #ffffff
	}
	
#main {
	float: left;
	width: 680px;
	background: #fff;
	margin: 0px auto 0px;
	padding: 0 0 30px 0;
	}

/****************************/

/* header */
#header {
	height: 119px;
	background: #ffffff url(images/bg.jpg) top left repeat-x;
}

#header h1 {
	padding: 25px 32px 25px 32px;
	color: #333;
	line-height: 1.2;
	}
#header a {
	color: #333;
	border:none;
	background-color:transparent;
	}
#header a:hover {
	color: #666;
	border: none;
	}

/* header ends */
/************************/
/* OLD nav setting
#nav {
	height: 49px;
	background: url(images/navbg.jpg) top left repeat-x;
}
#nav ul {
	margin: 0 0 0 32px;
	font-family:Arial, Helvetica, sans-serif;

}
#nav ul li {
	display:inline;
	margin: 0 15px 0 0;
	font-size:18px;
	color:#FFFFFF;
	font-weight:bold;	
}
#nav ul li a {
	display:inline;
	margin: 0 15px 0 0;
	font-size:18px;
	color:#cccccc;
	font-weight:bold;
	background:transparent;
}
#nav ul li a:hover {
	color:#ffffff;
}
#nav ul li a:active {
	color:#ffffff;
}
#nav .highlight a {
	color:#ffffff;
}
*/
/* content starts  */
#content {
	padding:0px 32px 0px 32px;
	width: 100% auto;
	background:#fff;
	}
#content h2 a {
	border:none;
}


#contentsingle {
	padding: 15px 32px;
}
.postmeta {
}	
.tags {
	font-style:italic;
}
.tags a {
	color:#457dbb;
}
.tags a:hover {
	color:#9999ff;
}

.postdate {
	font-size:12px;
	background: url(images/date.png) 0% 50% no-repeat;
	padding:0 0 0 22px;
}
.postdate a {
	text-decoration: underline;
}
.postdate .author {
	background: url(images/favicon.png) top left no-repeat;
	padding: 0 0 0 18px;
}
.post {
	margin: 45px 0 0;
}
.post p {
	padding: .4em 0;
	font-family: 14px "'Lucida Grande',Verdana,Arial,Sans-Serif";
	}

.post ul {
	margin-left: 1.5em;
	list-style: square;
	}
.post ul ul {
	list-style:  circle;
	}
.post ol {
	margin-left: 2em;
	list-style: decimal;
	}
.post li {
	padding: .2em 0;
	}
.post dt {
	border-bottom: 2px solid #ececec;
	font-weight: bold;
	line-height: 1.2;
	}
.post dd {
	margin: .5em 2em .5em 2em;
	padding: 0 .8em;
	border-left: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	}
.post img {
	padding: 1px; 
	# border: solid 1px #f0f0f0; 
	margin: 0px 15px 15px 0px;
	}
.post a img {
        padding: 1px;
        border: none;
        margin: 0px 15px 15px 0px;
        }
					
.post .note h3 {
	color: #333;
	border-bottom: 1px solid #bbb;
	padding: 0 .5em;
	}
.post .note {
	margin: 1em;
	padding: 0.5em;
	border: 1px solid #999;
	background: #f4f4f4;
	}
.post .note p {
	padding: .4em .8em;
	}
.entry {
}
.entry a {
	color: #457DBB;
	text-decoration: none;
}
/*a:visited {
	color: #999;
	}*/
.entry a:hover {
	color: #9999FF;
}
/********************************************************************/
/* sidebar */
/*#sidebar {
	width: 193px;
	padding: 0;
	margin: 0px 10px 30px 20px;
	text-align: left;
float:left;
	overflow:hidden;
	background:#fff;
}
#sidebar img {
	border:none;
}
#sidebar h2 {
	padding:0 0 0 5px;
	color:#ffffff;
	font-size:16px;
	font-weight:bold;
	background:#5280BC;
	-moz-border-radius: 3px;
}
#sidebar ul {
	margin:0;
	padding:0 0 0 15px;
	list-style:none;
	background:#F6F6FF;
}
#sidebar .feed {
	background: url(images/feed.png) 0% 50% no-repeat;
	padding: 0 0 0 22px;
} */
/* comments styled here */
#comments {
	padding: 10px 0px;
} 
ul.children li {list-style:none;}
/*.listcomments {
}
ul.listcomments li{list-style:none;}*/
/****************************************************************************/
/* footer goes here */
#footer {
	padding: 25px 0;
	clear: both;
	font-size: .9em;
	text-align: center;
	border-top: 1px solid #ddd;
	background:#191919;
	color:#fff;
	width:680px;
	margin: 0px auto 0px auto;
	/*border: 1px solid #ccc;*/
	}
#footer ul{
	margin-left: 32px;
	padding: 1em 0;
	list-style: none;
	}
#footer ul li {
	display: inline;
	padding: 0 1em 0 0;
	}
#footer a {
	color:#CCCCCC;
	background-color:transparent;
	border-bottom: 1px dotted #333;
	text-decoration: none;
	}
#footer a:hover {
	}
/* Google Search */
.search {
	position:absolute;
	top:85px;
	right:15px;
}
/*****************************************************************************/
/* Pagebar */
.pagebar 
	{ 
		font: 11px Arial, Helvetica, sans-serif; 
		padding-top: 20px; 
		padding-bottom: 10px; 
		margin: 0px; 
	}

.pagebar a, .pageList .this-page 
	{
		padding: 2px 6px; 
		border: solid 1px #ddd; 
		background: #fff; 
		text-decoration: none;
	}

.pagebar a:visited 
	{
		padding: 2px 6px; 
		border: solid 1px #ddd; 
		background: #fff; 
		text-decoration: none;
	}

.pagebar .break 
	{
			padding: 2px 6px; 
			border: none; 
			background: #fff; 
			text-decoration: none;
	}

.pagebar .this-page 
	{
		padding: 2px 6px; 
		border-color: #999; 
		font-weight: bold; 
		font-size: 13px; 
		vertical-align: top; 
		background: #fff;
	}

.pagebar a:hover 
	{
		color: #fff; 
		background: #0063DC; 
		border-color: #036; 
		text-decoration: none;
	}
.archives {
	font-size:12px;
}
.archives a {
	font-size:12px;
}
/*- Menu Tabs J--------------------------- */

    #nav {
      float:left;
      width:100%;
      background:url("images/navbg.gif") repeat-x left top;
      font-size:93%;
      line-height:normal;
      border-bottom:1px solid #24618E;
      }
    #nav ul {
        margin:0;
        padding:0 10px 0 32px;
        list-style:none;
      }
    #nav li {
      display:inline;
      margin:0;
      padding:0;
      }
    #nav a {
      float:left;
      background:url("images/tableftJ.gif") no-repeat left top;
      margin:0;
      padding:0 0 0 5px;
      text-decoration:none;
      }
    #nav a span {
      float:left;
      display:block;
      background:url("images/tabrightJ.gif") no-repeat right top;
      padding:5px 15px 4px 6px;
      color:#24618E;
      }
    /* Commented Backslash Hack hides rule from IE5-Mac \*/
    #nav a span {float:none;}
    /* End IE5-Mac hack */
    #nav a:hover span {
      color:#FFF;
      }
    #nav a:hover {
      background-position:0% -42px;
      }
    #nav a:hover span {
      background-position:100% -42px;
      }

        #nav #current a {
                background-position:0% -42px;
        }
        #nav #current a span {
                background-position:100% -42px;
                color:#FFF;
        }
}
