/*
Theme Name: codeF
Theme URI: http://www.waiyanlin.net
Version: 0.1
Description: 2 Column theme
Author: Wai Yan
Author URI: http://www.waiyanlin.net
*/

body{
	margin:0;
	padding:0;
	color:#3A3A3A;
	font-size:12px;
	font-family:Arial, Helvetica, sans-serif;
	background:url(images/main_bg.jpg) top left repeat-x;	
}

p{
	line-height:20px;
}

*{
	margin:0;
	padding:0;
}

.floatLeft{
	float:left;
}

.floatRight{
	float:right;
}

div.clear{
	clear:both;
}

a:link, a:visited{
	color:#FF8800;
	text-decoration:none;
	outline:none;
}

a:hover{
	color:#3A3A3A;
}

/** Header **/
div#header{
	width:960px; 
	margin:0 auto;
}

div#nav{
	height:40px;
	float:left;
}

div#nav ul{
	float:left;
	list-style:none;
	margin-top:10px;
}

div#nav ul li{
	float:left;
	margin:0 15px 0 0;
	position:relative;
	height:30px;
}

div#nav ul li a, div#nav ul li a:visited{
	color:#f0f0f0;
	text-decoration:none;
	font-size:16px;
	border-right:solid 1px #383838;
	padding-right:15px;
	height:30px;
}

div#nav ul li a:hover{
	text-decoration:underline;
	color:#A0A0A0;
}

div#nav ul li ul li a{
	font-size:12px;
	display:block;
	border:1px solid #333;
	background-color:#222;
	width:100%;
	padding:2px;	
}

div#top-login{
	height:40px;
}

div#top-login ul{
	float:right;
	list-style:none;
	margin-top:10px;
}

div#top-login ul li{
	float:left;
	margin:0 15px 0 0;
}

div#top-login ul li img{
	border:0;
}

div#top-login ul li a{
	color:#FF8800;
	font-size:16px;
	font-size:14px;
}

div#top-login ul li a:hover{
	text-decoration:underline;
}

div#logo{
	margin-top:30px;
	float:left;
}

div#logo a{
	background:url(images/logo.gif) top left no-repeat;
	width:227px;
	height:67px;
	display:block;
	color:#999;
	font-size:36px;
}

div#logo a span{
	display:none;
}

div#logo div.description{
	display:none;
}

div#search{
	float:right;
	margin-top:30px;
	background:url(images/search_bg.gif) top left no-repeat; 
	width:301px; 
	height:30px;
	border:0;
}

div#search input.search-input{
	background:none;
	border:none;
	margin-left:5px;
	padding:5px;
	width:220px;
}

div#search input.submit{
	background:none;
	border:none;
	color:#B0B0B0;
	margin:5px;
	cursor:pointer;
	width:50px;
}

/** Content **/
div#content-wrapper{
	width:960px;
	margin:0 auto;
	margin-top:20px;
}

div#content-left{
	width:650px;
	float:left;	
}

div#content-left .post{
	background-color:#F0F0F0;
	border:1px solid #D2D2D2;
	padding:10px;
	height:100%;
	margin-bottom:10px;
}

div#content-left .post h2.post-title{
	border-bottom:1px solid #DCDCDC;
	padding-bottom:5px;	
}

div#content-left .post h2.post-title a, div#content-left .post h2.post-title a:visited{
	font-size:20px;
	color:#222;
	text-decoration:none;	
	font-family:Georgia, "Times New Roman", Times, serif;
}

div#content-left .post h2.post-title a:hover{
	color:#5a5a5a;
}

div#content-left .post .date{
	width:35px;
	height:40px;
	background-color:#AAA;
	border:1px solid #999;
	position:relative;
	left:-47px;
	float:left;
	margin-right:-50px;
	padding:0;
	text-align:center;
	font-weight:bold;
	border-right:0;
}

div#content-left .post .date .day{
	color:#FFF;
	font-size:16px;
	margin-top:2px;
}

div#content-left .post .date .month{
	color:#FFF;
	font-size:12px;	
}

div.post-meta{
	color:#565656;
	margin:5px 0 10px 0;
	font-size:11px;
}

div#content-left .post h1, div#content-left .post h2, div#content-left .post h3, 
div#content-left .post h4, div#content-left .post h5, div#content-left .post h6{
	margin:5px 0;
}

div#content-left .post h1{
	font-size:28px;
}

div#content-left .post h2{
	font-size:24px;
}

div#content-left .post h3{
	font-size:20px;
}

div#content-left .post h4{
	font-size:16px;
}

div#content-left .post h5{
	font-size:14px;
}

div#content-left .post h6{
	font-size:12px;
}

div#content-left .post p{
	font-size:12px;
	color:#3A3A3A;
	text-align:justify;	
}

div#content-left .post img{
	border:solid 1px #BABABA;
	padding:4px;
	float:left;
	margin:5px 10px 5px 0px;
}

div#content-left .post p.wp-caption-text{
	text-align:center;
}

div#content-left .post a.more-link{
	background:url(images/morelink_bg.gif) top left no-repeat;
	width:129px;
	height:30px;
	display:block;
	text-align:center;
	padding-top:4px;
	float:right;
	margin-top:10px;
	clear:both;
}

div#content-left .post ul, div#content-left .post ol{
	margin:5px 15px;
	list-style-position:inside;
	color:#5A5A5A;	
	line-height:20px;
}

div#content-left .post ul li{
	list-style-type:disc;
}

div#content-left .post blockquote{
	background:url(images/quote_bg.gif) 5px 5px no-repeat #FFF;
	padding:20px;
	border:solid 1px #D8D8D8;
	margin:10px 0;
	clear:both;
}

div#content-left .post blockquote p{
	color:#5A5A5A;	
}

/** Comment **/
div#comments{
	margin:15px 0;
}

div#comments ol#commentlist{
	list-style:none;
	margin-top:15px;
}

div#comments ol#commentlist li{
	margin-bottom:10px;
}

div#comments ol#commentlist .comment-body{
	background-color:#F1F1F1;
	border:1px solid #E0E0E0;
	padding:10px;
	height:100%;
}

div#comments ol#commentlist .comment-body .avatar img{
	padding:3px;
	border:1px solid #CCC;
	background-color:#E0E0E0;
	float:left;
	margin-right:10px;
}

div#comments ol#commentlist .comment-body .comment-meta{
	margin-bottom:10px;
	height:35px;
}

div#comments ol#commentlist .comment-body .reply{
	margin:10px 0;
}

div#comments ol#commentlist .comment-body .reply a{
	padding:5px;
	background:#F9F9F9;
	border:1px solid #E0E0E0;
	font-size:10px;
}

div#commentform-wrapper{
	margin-top:20px;
}

div#commentform-wrapper form#commentform{
	margin-top:20px;
	color:#767676;
}

div#commentform-wrapper form#commentform p{
	margin-bottom:10px;
}

div#commentform-wrapper form#commentform input#author, div#commentform-wrapper form#commentform input#email, div#commentform-wrapper form#commentform input#url{
	width:250px;
	height:20px;
}

div#commentform-wrapper form#commentform input#author, div#commentform-wrapper form#commentform input#email, 
div#commentform-wrapper form#commentform input#url, div#commentform-wrapper form#commentform textarea{
	background-color:#FAFAFA;
	border:1px solid #BFBFBF;
	color:#767676;
	font-size:12px;
	padding:3px;
}

div#commentform-wrapper form#commentform textarea{
	width:642px;
}

div#commentform-wrapper form#commentform input#submit{
	background:url(images/comment_submit.gif) top left no-repeat;
	width:105px;
	height:28px;
	display:block;
	color:#FFF;
	font-weight:bold;
	border:0;
	cursor:pointer;
	padding:0;
}

/** Sidebar **/
div#sidebar{
	width:300px;
	float:right;
}

div#sidebar .widget{
	background-color:#F0F0F0;
	border:solid 1px #d2d2d2;
	margin-bottom:10px;
}

div#sidebar .widget #calendar_wrap{
	width:260px;
	margin:0 auto;
}

div#sidebar .widget #calendar_wrap table{
	width:260px;
	text-align:center;
}

li.widget{
	list-style:none;
}

div#sidebar .widget h2{
	color:#5A5A5A;
	font-size:14px;
	background:url(images/sideheader_bg.gif) top left no-repeat;
	height:30px;
	padding:0 0 0 7px;
	line-height:30px;
}

div#sidebar .widget ul{
	margin:10px;
	list-style-position:inside;
	color:#C7C7C7;
}

div#sidebar .widget ul li{
	background:url(images/sidelist_btm.gif) bottom center no-repeat;
	padding:10px;
}

div#sidebar .widget ul li a, div#sidebar .widget ul li a:visited{
	color:#767676;
}

div#sidebar .widget ul li a:hover{
	color:#FF8800;
}

div#sidebar .widget ul.children li{
	background:none;
	padding-bottom:0;
}

div#sidebar .widget .ads{
	padding:10px;
}

div#sidebar .widget .ads img{
	padding:5px;
	background-color:#DDD;
	border:1px solid #B0B0B0;
}

div#sidebar .widget .ads img:hover{
	border:1px solid #CCC;
	background-color:#E0E0E0;
}

/** Footer **/
div#footer{
	background-color:#3B3B3B;
	margin-top:20px;
}

div#footer div#footer-widget{
	width:960px;
	margin:0 auto;
	padding-top:5px;
}

div#footer div#footer-widget .widget{
	width:450px;
	float:left;
	margin-right:30px;
	color:#909090;
}

div#footer div#footer-widget ul li.widget_recent_comments{
	margin-right:0px;
	float:right;
}

div#footer div#footer-widget .widget h2{
	color:#FFF;
	font-size:14px;
	margin-bottom:5px;
	font-weight:normal;
	padding-bottom:5px;
	border-bottom:1px solid #4E4E4E;
}

div#footer div#footer-widget .widget ul{
	list-style:none;
	line-height:20px;
}

div#footer div#footer-widget .widget ul li{
	margin-bottom:5px;
	background:url(images/widget_btm_list.gif) center left no-repeat;
	padding-left:15px;
}

div#footer div#footer-widget .widget ul li a{
	color:#A0A0A0;
}

div#footer div#footer-widget .widget ul li a:hover{
	color:#FF8800;
}

div#footer div#footer-widget .widget ul#recentcomments li, div#footer div#footer-widget .widget ul#recentcomments li.recentcomments{
	background:url(images/widget_btm_list.gif) center left no-repeat;
	padding-left:15px;
	color:#FF8800;
}

div#footer div#footer-widget .widget ul#recentcomments li a{
	background:none;
	padding:0;
}

div#copyright-wrapper{
	background-color:#202020;
	margin-top:10px;
	padding:10px;
}

div#copyright-wrapper ul.copyright{
	width:960px;
	margin:0 auto;
	list-style:none;
	color:#4A4A4A;
}

div#copyright-wrapper ul.copyright li{
	float:left;
}

div#copyright-wrapper ul.copyright li.floatRight{
	float:right;
	width:40%;
}

div#copyright-wrapper ul.copyright li a,div#copyright-wrapper ul.copyright li a:visited{
	color:#5A5A5A;
}

div#copyright-wrapper ul.copyright li a:hover{
	color:#FF8800;
}
