/*  
Theme Name: pansay
Theme URI: http://www.pansay.com
Description: WordPress theme designed by <a href="http://www.ndesign-studio.com">N.Design Studio</a>, columnized by <a href="http://www.pansay.com">A Pan</a>.columnized by <a href="http://www.mangoorange.com">MangoOrange</a>.
Version: 1.4
Author: Mickey Cheong
Author URI: http://www.mangoorange.com/about/

	This theme was designed by Nick La, columnized by Mickey Cheong, supported by Web Hosting Geeks.
	
	By downloading and using this theme, you agree to the following terms:
    - You may NOT resell this theme
    - A link back to N.Design Studio and MangoOrange™ must be retained in the footer (either modified or unmodified)
    - You may use this theme for personal or commercial projects
    - You may modify, translate or distribute
    
  Changelog
	Version 1.3
	
		* Optimised codings
		* Fully tested on Internet Explorer 7, Firefox 2, Safari 3 and Opera 9
		* Works on the latest Wordpress v2.3 release
		* Newly Support Plugins (means fully tested)
		  * Inline Adsense (http://philhord.com/phord/adsense-inline-with-wordpress-blog-posts/)
		  * Secure Contact Form (http://blue-anvil.com/archives/secure-accessible-contact-form-for-wordpress-multi-user-version)
		* Supported by Web Hosting Geeks (http://www.webhostinggeeks.com), 
			hence expect more features and enhancement in the future.
		* BUG UNFIXED:
			* IE7 unable to display the toggle button in Wordpress 2.2.3 
				* SOLUTION: Upgrade to Wordpress 2.3

  Version 1.2

    * Bug Fixed: Unable to display sub-navigation bar when using Widgets Plugin by Automattic
    * Left and Right Edition made available.

	Version 1.1
	
    * Support Widgets Plugin by Automattic.
    * Support Recent Posts and Recent Comments widgets.
    * Links sorted according to alphabetical order by default.

*/
*{
	margin:0px;
	padding:0px;
	border:0px;
}
body {
	background: url(images/html-bg.jpg) repeat;
	font-size:12px;
	font-family:arial,sans-serif;
	color:#330000;
	line-height:180%;
	letter-spacing:1px; 
}
a{
	color:#330000;
	text-decoration: none;
}
a:hover {
	color:#99c46a;
}
small {
	font-size: 90%;
}
#page {
	background: url(images/logo.png) no-repeat left top;
}
#wrapper {
	width: 1001px;
	margin: 0px auto;
	position: relative;
}

blockquote{
  border: 1px solid #e1cc89;
  margin: 2px;
  background:#FDFDFF url(images/openquote1.gif) top left no-repeat ;
  }
  blockquote div {
	 padding:8px 8px 8px 14px;
	 background: url(images/closequote1.gif) bottom right no-repeat ;
   }
   
/* ------------------------------------- header area  */
#header {
	height:178px;
	background: url(images/header-bg.png) no-repeat right bottom;
}
/* site title */
.blogTitle {
	float:right;
	margin:60px 120px 0 0;
	_margin:60px 60px 0 0;
	padding:20px 0 10px 0;
	width:400px;
	font-size:28px;
	font-family:"黑体";
	text-align:center;
}
.blogTitle a{
	color:#330000;
	text-decoration: none;
}
.blogTitle a:hover {
	color:#000000;
}
.description {
	float:right;
	margin:10px 110px 0 0;
	_margin:10px 54px 0 0;
	width:440px;
	text-align:center;
}
/* search form */
#searchform {
	float:right;
	margin:13px 10px 0 0;
	background:url(images/searchform-bg.png) no-repeat right bottom;
	height:48px;
	width:226px;
	position:static;
	_position:relative;
	_top:0px;
	_left:0px;
}
#searchform #s{
	background: #ffffff url(images/form-field-bg.gif) repeat ;
	height:20px;
	width:148px;
	float:left;
	margin:16px 0px 0px 25px;
	padding:2px 0px 0px 2px;
}
#searchform #searchsubmit{ 
	background: url(images/search-btn.png) no-repeat left top;
	height:28px;
	width:28px;
	float:right;
	text-indent: -999%;
	line-height: 1px;
	margin:14px 15px 0px 0px;
	position:static;
	_position:absolute;
	_top:14px;
	_left:183px;
	_margin:0;
}
/* ------------------------------------- main content area  */
#left-col {
	width: 588px;
	float: left;
	margin:0px 6px;
}
/* main menu */
#nav {
	background: url(images/content-top-bg.png) no-repeat left top;
	height:56px;
}
#nav ul{
	list-style: none;
}
#nav ul li{
	margin:0px 2px;
	float:left;
	height:46px;
	overflow:hidden;
}
#nav ul li{
	margin:0px 2px;
	float:left;
	height:46px;
	overflow:hidden;
}
#nav ul li a{
	display: block;
	float:left;
}
.page_item a{
	background:url(images/nav-item-a.gif) repeat-x;
	border-left:1px solid #1E1E1E;
	border-right:1px solid #1E1E1E;
	height:32px;
	font-weight:bold;
	font-size:12px;
	margin:7px 0px 0px 0px;
	padding:8px 5px 0px;
}
.page_item a:hover{
	background:url(images/nav-item-hover.png) repeat-x;
	height:46px;
	padding:15px 5px 0px;
	margin:0px 0px 0px 0px;
}

.current_page_item a,.current_page_item a:hover{
	background:url(images/nav-item-hover.png) repeat-x;
	border-left:1px solid #1E1E1E;
	border-right:1px solid #1E1E1E;
	height:46px;
	font-weight:bold;
	font-size:12px;
	padding:15px 5px 0px;
	margin:0px 0px 0px 0px;
}

/* sub menu */
#subnav {
	background:url(images/content-middle-bg.gif) repeat-y;
}
#subnav ul {
	margin: 0px;
	padding: 3px 0px 18px 5px;
	list-style: none;
	font: 11px/100% Arial, Helvetica, sans-serif;
}
#subnav li {
	border-right: 1px solid #D8D8D8;
	padding: 0px 7px;
	margin: 0px;
	float: left;
	
}
#subnav li a, #subnav li a:visited, #subnav .page_item {
	text-decoration: none;
	color: #333333;
}
#subnav .current_page_item a, #subnav .current_page_item a:visited {
	color: #3b9acc;
}
#subnav li a:hover {
	text-decoration: none;
	color: #3b9acc;
}
/* content */
#content {
	width:588px;
	clear: both;
	overflow:hidden;
}
#mainCt{
	padding:0px 0px 0px 35px;
	background:url(images/content-middle-bg.gif) repeat-y;
	float:left;
	width:588px;
	overflow:hidden;
}
#bottomCt{
	width:588px;
	height:53px;
	background:url(images/content-bottom-bg.png) no-repeat;
}

.post {
	clear:both;
	overflow:hidden;
	float:left;
	width:520px;
	overflow:hidden;
}
#mainCt a{
	color:#99c46a;
	text-decoration: none;
}
#mainCt a:hover {
	color:#330000;
}
.post .date {
	height: 50px;
	width: 45px;
	background: url(images/calendar.gif) no-repeat;
	font: normal 22px Arial, Helvetica, sans-serif;
	color: #666666;
	text-align: center;
	padding: 0px 2px 0 0;
	line-height: 100%;
	float: left;
}
.post .date span {
	height: 16px;
	display: block;
	font: normal 11px Arial, Helvetica, sans-serif;
	color: #ffffff;
	text-align: center;
	padding-top: 5px;
	padding-bottom:2px;
}
.post .title {
	float: left;
	margin-left: 10px;
	width: 438px;
}
.postdata {
	font-size: 94%;
	color: #666666;
	padding:2px 0 0 0;
}
.postdata a, .postdata a:visited {
	color: #666666;
	text-decoration: none;
	padding:4px 0 0 0;
	display:block;
}
.postdata a:hover {
	color: #000000;
	text-decoration: none;
}
.postdata .category{
	background: url(images/mini-category.gif) no-repeat;
	padding:0 0 0 28px;
	float:left;
	height:26px;
}
.postdata .comments{
	background: url(images/mini-comment.gif) no-repeat;
	padding-left: 18px;
	float: right;
}
.mini-add-comment {
	background: url(images/mini-down-arrow.gif) no-repeat left center;
	padding-left: 12px;
	float: right;
}
.entry {
	padding:10px 0px 5px;
	clear: both;
	float:left;
	width:512px;
}
.entry p{
	padding:3px 0px 3px;
	text-indent:26px;
}
.frontImageRight{
	padding:8px 0 0 6px;
}
.entry #postPages{
	padding:0 0 0;
	background: url(images/navigation-bg.gif) no-repeat left bottom;
	height: 21px;
	width:496px;
	color:#CCCCCC;
	margin:6px 0 0 0;
}
.entry #postPages a:hover {
	color:#CCCCCC;
	text-decoration: none;
}

.entry #submeta{
	padding:0 0 2px;
	float:left;
	width:512px;
	font-size: 90%;
}
.entry p.tags{
	padding:6px 0px 2px;
}
.entry a:hover{
	text-decoration:none;
}
.entry .readmore{
	float:right;
	width:512px;
	padding:6px 0 0;
	text-align:right;
}
.entry .readmore a{
	color: #666666;
}
.entry .readmore a:hover{
	color: #000000;
}
.copyInfoPan{
	padding:2px 0 8px;	
}
/* post title */
h2 {
	padding-bottom: 4px;
	font: bold 150%/100% Arial, sans-serif;
	border-bottom: dotted 1px #CCCCCC;
	width:438px;
}
.post h2 {
font-size:14px;
padding:10px 0 2px 0;
}
h4 {
	padding:10px 0 5px;
	font: normal 150%/100% Arial, sans-serif;
	border-bottom: dotted 1px #CCCCCC;
	width:438px;
}
h4 a, h4 a:visited {
	text-decoration: none;
}
h4 a:hover {
	color: #000000;
	text-decoration: none;
}

#mainCt h2 a, #mainCt h2 a:visited {
	color:#330000;
	text-decoration: none;
}
#mainCt h2 a:hover {
	color:#99c46a;
	text-decoration: none;
}
h3 {
	margin: 5px 0px 5px;
	font: bold 110%/110% Arial, sans-serif;
}

/* next & previous page navigation */
.page-nav {
	clear: both;
	background: url(images/navigation-bg.gif) no-repeat left bottom;
	height: 41px;
	width:496px;
}
.page-nav a, .page-nav a:visited {
	color: #ffffff;
	text-decoration: none;
}
.page-nav a:hover {
	color: #000000;
	text-decoration: none;
}
.previous-entries a {
	float: left;
	padding-left: 10px;
	margin-left: 10px;
	margin-top: 20px;
	padding-top:2px;
	background: url(images/navigation-left.gif) no-repeat left center;
}
.next-entries a {
	float: right;
	padding-right: 10px;
	margin-right: 10px;
	margin-top: 20px;
	padding-top:2px;
	background: url(images/navigation-right.gif) no-repeat right center;
}

/* next & previous post navigation */
.post-nav {
	width:506px;
	overflow:hidden;
	padding:2px 0;
}

.post-nav .previous a {
	padding:0 0px 0 20px;
	float:left;
	width:490px;
	background: url(images/post-nav-previous.gif) no-repeat left center;
	overflow:hidden;
}
.post-nav .next a {
	padding:0 15px 0 0;
	float:left;
    text-align:right;
	width:490px;
	background: url(images/post-nav-next.gif) no-repeat right center;
	overflow:hidden;
}
/* ------------------------------------- comment area  */
h3#comments {
	background: url(images/comments.gif) no-repeat;
	padding-left: 22px;
	font-size:12px;
	font-family: Arial, sans-serif;
	clear: both;
}
h3#respond {
	background: url(images/respond.gif) no-repeat;
	padding-left: 22px;
	font-size:12px;
	font-family: Arial, sans-serif;
	margin: 20px 0px 0px;
	clear: both;
}
#related_posts h3{
	background: url(images/mini-page.gif) no-repeat;
	padding:3px 0 0 22px;
	font-size:12px;
	font-family: Arial, sans-serif;
	margin: 6px 0px 0px;
	clear: both;
}
#related_posts{
	padding:0 0 6px 0;
}
#related_posts ul li{
	padding:0 0 0 20px;
}
/* commentform */
#commentform {
	margin-top: 10px;
}
#commentform p{
	margin:5px 0;
}
#commentform label {
	padding-left: 5px;
	letter-spacing:0;
}
#commentform small {
	color:#330000;
}
#commentform input {
	width: 100px;
	padding: 5px 3px 3px 7px;
	background:#FFF7EC;
	border: solid 1px #666666;
	font-size:12px;
}
#commentform textarea {
	width: 360px;
	height: 140px;
	background:#FFF7EC;
	border: solid 1px #666666;
	padding: 5px 3px 3px 7px;
	font-size:12px;
}
#commentform #submit {
	background: url(images/submit-btn.gif) no-repeat top left;
	border: none;
	width: 135px;
	height: 25px;
	padding-bottom: 6px;
	margin-left: 235px;
}
#commentform #submit:hover {
	background: url(images/submit-btn.gif) no-repeat bottom left;
}
#commentform textarea:focus, #commentform input[type="text"]:focus {
	border: solid 1px #330000;
}

/* comment list */
.commentlist {
	margin:10px 0px;
	padding-left: 45px;
	width:420px;
}
.commentlist li{
	margin:5px 0px;
	padding:5px 10px;
	background:#FFF7EC;
	border: solid 1px #666666;
}
.commentlist p{
	padding:3px 0px 3px;
	text-indent:26px;
}
.commentlist cite {
	font-weight: bold;
	font-style: normal;
	font-size: 110%;
	color: #669900;
}
.commentlist cite a, .commentlist cite a:visited {
	color: #669900;
}
.commentlist small {
	margin-bottom: 5px;
	display: block;
	font-size: 87%;
}
.commentlist small a, .commentlist small a:visited{
	color: #666666;
}

/* ------------------------------------- footer area  */
#footer {
	background: url(images/footer-bg.png) no-repeat;
	float:left;
	width:1000px;
	height:65px;
}
#footer a, #footer a:visited {
	text-decoration: none;
	color: #000000;
}
#footer a:hover {
	text-decoration: underline;
}
#copyright{
	float:left;
	padding:25px 0px 0px 10px;

}

/* ------------------------------------- sidebar area  */
/* sidebar */
#sidebar-right{
	float:right;
	width:227px;
	line-height: 160%;
	margin:0 0 0 0;
}
#sidebar-left {
	float: left;
	margin:0 0 0 0;
}
#sidebar-right .dbx-handle, #sidebar-left .dbx-handle {
	font-weight:bold;
	font-size:12px;
}
#sidebar-right .dbx-handle a, #sidebar-right .dbx-handle a:visited, #sidebar-left .dbx-handle a, #sidebar-left .dbx-handle a:visited {
	font-weight:bold;
	font-size:12px;
}
#sidebar-right .dbx-handle img, #sidebar-left .dbx-handle img  {
	vertical-align: middle;
}
#sidebar-right a, #sidebar-right a:visited, #sidebar-left a, #sidebar-left a:visited  {
	text-decoration:none;
}
#sidebar-right a:hover, #sidebar-right a:focus, #sidebar-right a:active, #sidebar-left a:hover, #sidebar-left a:focus, #sidebar-left a:active  {
	text-decoration:none;
}
#sidebar-right ul, #sidebar-left ul {
	list-style: none;
	margin: 0 ;
	padding: 0 ;
}
#sidebar-right ul li, #sidebar-left ul li {
	background: url(images/bullet-orange.gif) no-repeat;
	padding-left: 30px ;
}
#sidebar-right ul li ul li, #sidebar-left ul li ul li {
	background: url(images/bullet-grey.gif) no-repeat;
	padding-left: 12px ;
}
/* ------------------------------------- page area  */
/* pageOne */
#pageOne h2 {
	padding:10px 0 5px;
	font: normal 150%/100% "Lucida Grande", Arial, sans-serif;
	border-bottom: dotted 1px #CCCCCC;
	width:438px;
}
#pageOne a:hover{
	text-decoration:none;
}

#pageOne ul{
	list-style:none;
}

#pageOne ul ul{
	list-style:disc;
	margin:4px 0 0 13px;
	_margin:4px 0 0 16px;
}

/* ------------------------------------- widget styles  */
#feed_rss #rssMe{
	padding:0 0 0 20px;
}
#contactMe .dbx-content div{
float:left;
margin:0;
padding:0;
}

/* archives widget */
#archives ul li {
	background: url(images/mini-archive.gif) no-repeat;
}
/* recent comments widget */
#recent-comments ul li {
	background: url(images/mini-comment.gif) no-repeat;
}
/* category widget */
#categories ul li {
	background: url(images/mini-category.gif) no-repeat;
}
/* recent posts widget */
#random_posts ul li, #recently_updated ul li, #recent_comments ul li{
	background: url(images/mini-page.gif) no-repeat;
}
/* links widget */
#recommend_links ul li, #friend_links ul li, #tags ul li{
	background: url(images/mini-blogroll.gif) no-repeat;
}

/* meta */
#meta .rss {
	background: url(images/mini-rss.gif) no-repeat;
}
#meta .login {
	background: url(images/mini-user.gif) no-repeat;
}
#meta .check {
	background: url(images/mini-check.gif) no-repeat;
}
#meta .wordpress {
	background: url(images/mini-wp.gif) no-repeat;
}
/* calendar */
#calendar table {
	margin: 0px auto;
}
#calendar td {
	padding: 0px 4px;
}


/* alignments */
.center {
	text-align: center;
}
img.center, img[align="center"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.left {
	float: left;
}
img.left, img[align="left"] {
	float:left;
	margin: 2px 10px 5px 0px;
}
.right {
	float: right;
}
img.right, img[align="right"] {
	float:right;
	margin: 2px 0px 5px 10px;
}
.clear {
	clear:both;
}
hr.clear {
	clear:both;
	visibility: hidden;
	margin: 0px;
	padding: 0px;
}
.hidden {
	clear: both;
	visibility: hidden;
}

/* MangoOrange.com footer (must be included, but can be modified) */
#mangoorange{
	color: #fff;
	}
	
#mangoorange a, #mangoorange a:visited{
	color: #fff;
	font-weight: bold;
	text-decoration: none;
	}
	
#mangoorange a:hover{
	text-decoration: none;
	}	
/*plug-in */
.ngg-album-compact{
overflow:hidden;
}

.wp-pagenavi {
	clear: both;
	background: url(images/navigation-bg.gif) no-repeat left bottom;
	height: 21px;
	width:496px;
	margin:20px 0 0 0;
	color:#CCCCCC;
}
.wp-pagenavi a, .wp-pagenavi a:visited {
	color: #ffffff;
	text-decoration: none;
	padding:0 2px;
}
.wp-pagenavi a:hover {
	color:#CCCCCC;
	text-decoration: none;
}

.wp-pagenavi span.pages {
	color:#CCCCCC;
	margin:0 10px 0 10px;
}
.wp-pagenavi span.current {
	padding:0 3px;
}
.wp-pagenavi span.extend {
	color:#CCCCCC;
}
