/*
Theme Name: Jeff Chan
Theme URI: http://jeffchan.org
Description: jeffchan.org's relaunch theme
Version: v1
Author: Jeff Chan
Author URI: http://jeffchan.org
*/

a:link, a:visited {
	color: #105CB6;
	text-decoration: none;
}

a:hover, a:active {
	text-decoration: underline;
}

body {
	font-family: "Trebuchet MS", Verdana, sans-serif;
	background: url(images/bg.png) repeat-x;
	border-top:5px solid #999999;
	margin: 0 auto;
	font-size: 1em;
}

div#wrapper {
	margin: 0 auto;
	width: 90%;
	min-width: 890px;
}

div#header {
	text-align: center;
	font-family: 'Trebuchet MS', Helvetica, sans-serif;
}

div#header h1 {
	font-size: 3.5em;
	margin: 0;
	padding: 0;
	letter-spacing: -0.035em;
}

div#header h1 a:link, div#header h1 a:visited{
	color: #000000;
}

div#header h1 a:hover, div#header h1 a:active{
	color: #777777;
	text-decoration: none;
}

div#header h2 {
	font-size: 1.15em;
	font-weight: normal;
	letter-spacing: 0.02em;
	margin: 0;
	padding: 0;
	color: #5577bb;
	display: inline;
}

div#menu {
	height: 24px;
	border: 1px solid #c2c2c2;
	background: url(images/menu_bg.gif) repeat-x;
	text-align: center;
	margin: 0 0 10px 0;
}

div#menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

div#menu li{
	float: left;
	margin: 0;
	
	
	
}

div#menu li.right {
	float:right;
	border-left: 1px solid #b2b2b2;
	border-right: 0px;
}

div#menu li a {
	padding: 1px 15px 0 15px;
	height: 23px !important;
	height: auto;
	display: block;
	color: #000000;
	text-decoration: none;background: url(images/menu_bg.gif) repeat-x;border-right: 1px solid #b2b2b2;
	font-size: 17px;
	font-family: 'Trebuchet MS', Helvetica, sans-serif;
}

div#menu li a.chinese {
	padding: 1px 15px 0 15px !important;
	padding: 2px 15px 0 15px;
}

div#menu li a:hover {
	background: #e5e5e5;
}

div#menu li a.active {
	background: #e5e5e5;
}

div#menu li.current_page_item {
	background: #e5e5e5;
}

div#menu li.current_language_item {
	background: #e5e5e5;
}

div#menu li.language_item {
	float:right;
	border-left: 1px solid #b2b2b2;
	border-right: 0px;
}

div#sidebar {
	float: right;
	width: 28%;
	margin: 0 0 0 5px;
	line-height: 1.6;
}

div#sidebar div.sidebox {
	margin: 0 0 10px 0;
	font-size: 0.9em;
	border: 1px #999999 solid;
}

div#sidebar div.sidebox:hover {
	border: 1px #555555 solid;
}

div#sidebar div.sidebox div.title {
	background: url(images/menu_bg.gif) repeat-x;
	height: 25px;
	padding: 0 5px;
}

div#sidebar div.sidebox ul {
	list-style: none;
	padding: 0;
	margin: 5px 0 5px 8px;
}

div#sidebar div.sidebox li {
	margin-bottom: 3px;
}

div#sidebar div.sidebox li span.longdate {
	width: 72px;
	color: #888;
	position: relative;
	margin: 0 0 0 5px;
	float: right;
}

div#sidebar div.sidebox li span.date {
	width: 42px;
	color: #888;
	position: relative;
	margin: 0 0 0 5px;
	float: right;
}

div#sidebar div.sidebox h3 {
	font-size: 1.05em;
	font-weight: normal;
	margin: 0;
	padding: 0;
}

div#sidebar div.sidebox p {
	margin: 5px 8px;
	line-height: 1.6;
}

div#footer {
clear: both;
font-size: 0.8em;
margin: 0 0 20px 0;
border-top: 1px #888888 solid;
padding: 5px 0;
}

div#footer span {
float: right;
}

div#footer span img{
border: none;
}

div#main {
	float: left;
	width: 69.5%;
	padding: 5px;
	margin: 0 5px 0 0;
	line-height: 1.6;
}

div#pagination {
clear: both;
margin: -10px 0 15px 0;
}

div.entry {
margin: 0 0 20px 0;
padding: 5px 0;
clear: both;
border-top: 1px #888888 solid;
}

div.entry div.date {
text-align: center;
width: 50px;
background-color: #e1e1e1;
float: left;
margin: 6px 10px 0 0;
font-size: 1.2em;
font-weight: bold;
position: relative;
}

div.entry div.date span {
display: block;
background-color: #ededed;
font-size: 0.8em;
font-weight: normal;
}

div.entry h2 {
margin: 2px 0 -5px 0;
padding: 0;
}

div.entry div.meta span.comments {
padding: 0 0 0 20px;
background: transparent url(images/comments.gif) no-repeat center left;
}

div.entry div.meta span.edit {
padding: 0 0 0 20px;
background: transparent url(images/edit.png) no-repeat center left;
}

div.entry div.meta a {
color: #888888;
}

div.entry h2  a {
color: #427bd6;
}

div.entry h2  a:hover, div.entry h2  a:active {
color: #14a1ff;
text-decoration: none;
}

div.entry p.tags{
margin: 8px 5px 0 5px;
font-size: 0.8em;
}


div.entry p{
margin: 5px;
padding: 0;
}

div.entry img{
border: none;
}

div.entry img.left{
float: left;
border: none;
margin: 10px 5px 0 0;
padding: 5px;
}

div.entry img.right{
float: right;
margin: 10px 0 0 5px;
}

div.entry a img{
border: 1px solid #ffffff;
padding: 5px;
}

div.entry a:hover img, div.entry a:active img{
border: 1px solid #427bd6;
}

div.entry blockquote {
border-left: 7px #5577bb solid;
padding-left: 5px;
}

div.entry ul, div.entry ol {
padding: 5px 5px 0 40px !important;
padding: 5px 5px 0 10px;
}

div#ads {
font-size: 0.8em;
margin-bottom: 10px;
clear: both;
}

div#ads p{
margin: 2px;
padding: 0 10px;
}

div.comments h4 a {
color: #427bd6;
padding: 0;
font-weight: normal;
font-size: 1.2em;
}

div.comments h4 span {
display: block;
font-size: 0.6em;
}

ol.comments {
padding: 0;
margin: -10px 0 0 0;
list-style: none;
}

ol.comments li {
display: list-item;
margin: 10px 0;
padding: 8px;
border-top: 1px solid #777;
border-bottom: 1px solid #777;
font-size: 0.9em;
min-height: 50px;
height: auto !important;
height: 50px;
clear: both;
}

ol.comments li.pingback {
display: list-item;
margin: 5px 0;
padding: 5px 8px;
background: #CDEB8B;
font-size: 0.9em;
min-height: 40px;
height: auto !important;
height: 40px;
clear: both;
}

ol.comments li.admin {
background: #ededed;
}

ol.comments li:hover{
border-top: 1px solid #427bd6;
border-bottom: 1px solid #427bd6;
}

ol.comments li div.meta{
float: left;
width: 140px;
}

ol.comments li div.meta span{
display: block;
font-size: 0.8em;
}

ol.comments li div.message {
margin-left: 140px;
padding: 0 5px;
}

form#commentform {
padding: 0 10px 10px 8px;
margin: 0 0 10px;
}

form#commentform input {
font-family: "Trebuchet MS", Verdana, sans-serif;
border: 1px solid #777;
width: 200px;
font-size: 1em;
}

form#commentform input:hover, form#commentform input:active{
border: 1px solid #427bd6;
}

form#commentform textarea{
width: 90%;
font-family: "Trebuchet MS", Verdana, sans-serif;
border: 1px solid #777;
}

form#commentform textarea:hover, form#commentform textarea:active{
border: 1px solid #427bd6;
width: 90%;
}

div#infofields label {
width: 100px;
float: left;
}

div#infofields span.required {
font-size: 0.8em;
margin: 0 0 0 10px;
}

div#search {
text-align: right;
margin: -15px 0 5px 0;
padding: 0;
}

form#searchform {
margin: 0;
padding: 0;
}

form#searchform input#s {
width: 170px;
}

form#searchform input {
font-family: "Trebuchet MS", Verdana, sans-serif;
border: 1px solid #777;
width: 70px;
font-size: 0.95em;
margin: 0 0 0 2px;
padding: 0 5px;
}

form#searchform input:hover, form#searchform input:active{
border: 1px solid #427bd6;
}

.clear {
clear: both;
}

.left {
float: left;
}

.right {
float: right;
}