﻿/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Theme: s3
Created:	05/30/2007
Last update: 03/22/2008
Author:	gao/redscorpion
Contact:	gaowhen.com(at)gmail.com
website:	http://www.gaowhen.com
version: 0.2

history:
0.1
0.2	修正ie6下headerimage盖住部分header的错位
	/*_margin-bottom: -3.5em;*/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
				general
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
*{
	margin: 0;
	padding: 0;
}
body{
	padding: 1em 2em;
	background: #CCCCCC;
	color: #111;
	font: 12px/20px verdana,geneva,sans-serif;
	/*font: 12px/20px "Microsoft JhengHei","微軟正黑體","Microsoft YaHei","微软雅黑",arial,helvetica,sans-serif;*/
	text-align:	center;
	word-wrap: break-word !important;
}
a{
	color: #0084CF;
	text-decoration: none;
}
a:hover{
	color: #000000;
}
h1 a:link, h1 a:visited, h3 a:link, h3 a:visited, h3 a:hover {
	margin: 0pt;
	padding: 0pt;
	border-bottom: 1px dotted #64BF1D;
	color: #006EBA;
}
h1 a:hover{
	border-bottom: none;
	color: #FD1B15;
}
ul,li{
	list-style: none;
}
.side{
	padding-left: 15px;
	border-left: 5px solid #DDDDDD; 
	overflow: hidden;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
				layout
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
#wrap{
	margin: 0 auto;
	padding: 0 1em .7em 1em;;
	border:5px solid #000000;
	width: 96%;
	/*max-width: 90%;*/
	max-width: 1240px;
	background: #fff;
	text-align: left;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
				navbar
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
#navSkip{
	padding-left: .5em;
	width: 99%;
	max-width: 100%;
	height: 1.5em;
	text-align: center;
	font-weight: 700;
	color: #111;
	/*background-color: #F4F6E0;*/
}
#navBar h3{
	display: none;
}
#navBar li{
	float: left;
	margin-right: .5em;
	background-color: #fff;
}
#index{
	color: #111;
}
#tagcloud{
	color: #111;
}
#guestbook{
	color: #111;
}
#admin{
	color: #111;
}
#navBar li a{
	display: block;
	list-style: none;
	width: auto;
	width: 6.5em;
	height: 1.5em;
	line-height: 1.5em;
	color: #111;
	font-weight: 700;
}
#navBar li a:hover{
	background: #111;
	color: #fff;
	font-weight: 700;
}
#skip{
	float: right;
	width: 20em;
	height: 1.5em;
	line-height: 1.5em;
	white-space: nowrap;
	
}
#skip li{
	background: none;
	
}
#skip li a{
	width: auto;
	color: Silver;
	font: 10px/20px verdana,geneva,sans-serif;
	font-weight: 100;
}
#navBar span a{
	display: inline;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
				header
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
#header{
	margin-top: .5em;
	margin-bottom: .7em; 
	/*_margin-bottom: -3.5em;*/
	padding: 1.5em 2em;
	border-bottom: 1px dotted silver;
	height: 35px;
	
}
#headerImage{
	margin-bottom: .7em;
	height: 150px;
	background: url(s3/header_bg.jpg) bottom left no-repeat;
}
#blogTitle{
	margin: 0pt 0pt .5em;
	font-size: 1.8em;
}
#subTitle{
	font-size: 1em;
	font-weight: 700;	
}
/*
#blogTitle a{
	color: #0084CF;
	font-weight: 700;
}
#blogTitle a:hover{
	color: #000000;
}
*/
/*#blogTitle a{
	background: url(s3/logo.gif) no-repeat top left;
	text-indent: -9000px;
	height: 60px;
	width: 141px;
	display: block;
}
#blogTitle a:hover{
	display: block;
	height: 60px;
	width: 141px;	
}
#subTitle{
	text-indent: -9000px;
	height: 0;
	width: 0;
}*/
#titles{
	float: left;
}
#feeds{
	float: right;
	font-weight: 700;
}
#feeds a{
	border: none;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
				content
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
#content{
	float: left;
	margin-bottom: .5em;
	width: 77%;
	max-width: 77%;
}
.single #content{
	float: left;
	margin-bottom: .5em;
	width: 72%;
	max-width: 72%;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
				mainContent
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
#mainContent{
	float: left;
	width: 65%;
	max-width:65%;
}
.single #mainContent{
	float: left;
	width: 99%;
	max-width: 99%;
}
.postHeader{
	clear: both;
	padding: 1px 4px;
	background: #F4F6E0;;
	text-align: left;
	text-transform:uppercase;
}
.post-title{
	margin: 0pt;
	font:normal 1.5em/1.4 Georgia,Serif;
	font-weight: 700;
}
.post-date{
	text-align: right;
	border: medium none;
	font-size:0.9em;
}
.single .postHeader{
	clear: both;
	padding: 1px 4px;
	background: #F4F6E0;;
	text-align: left;
	text-transform:uppercase;
}
.single .post-title{
	float: left;
	margin: 0pt;
	font:normal 1em/1.4 Georgia,Serif;
	font-weight: 700;
}
.single .post-date{
	border: medium none;
	font-size:0.9em;
}
.post-body{
	margin-top: .8em; 
	padding: 1em;
	text-align: left;
	font-size: 1.2em;
}
.post-tags{
	clear: both;
	float: left;
	font-family: "Trebuchet MS",arial,helvetica,sans-serif;
	font-size: 1em;
}
.post-footer{
	clear: both;
	text-align: left;
	font-size: 1em;
}
.post-body img{
	margin-right: 1em;
  	padding: 5px 5px 9px 5px;
   background: white url(s3/shad_bottom.png) repeat-x bottom left;
	border-top: 1px solid #dcd7c8;
 	border-left: 1px solid #dcd7c8;
  	border-right: 1px solid #dcd7c8;
	/*width: 45%;
	max-width: 300px;
	width:expression(width>300?"50%":width+"px");*/
}
.post-nav {
   float:left;
   padding: 1px 0;
   margin: 6px 0 0 0;
	width: 52em;
	max-width: 100%;
}
.post-nav a.l{
   float: left;
	padding: 0 ;
}
.post-nav a.r{
   float: right;
	padding:0 ;
}
.pagebar {
	clear: both;
	font-family:Arial,Helvetica,sans-serif;
	font-size:11px;
	font-style:normal;
	font-variant:normal;
	font-weight:normal;
	line-height:normal;
	margin:0px;
	padding-bottom:10px;
	padding-top:20px;
}
.pagebar a, .now-page{
	margin: 0 .2em;
	background: #FFFFFF none repeat;
	border:1px solid #D0D0D0;
	padding:2px 6px;
	text-decoration:none;
}
.pagebar a:visited {
	background:#FFFFFF none repeat;
	border:1px solid #DDDDDD;
	padding:2px 6px;
	text-decoration:none;
}
.pagebar a:hover{
	background-color: #D0D0D0;
}
#divLinkage li{
	display: block;
}
#divLinkage li a:hover{
	background: #0084CF;
	font-weight: 700;
	color: #fff;
	padding: 2px;
}
.code{
	margin: .5em 2em;
	padding-left: .5em;
	background: #F4F6E0;
	border-left: 5px solid #CCCCCC;
	font-size: 11px;
	height: auto;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
				comment
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
#divCommentPost p{
	margin-top: .2em; 
}
.button{
	border: 1px solid silver;
}
textarea{
	width: 90%;
	max-width: 90%;
}
#inpVerify{
	width: 60px;
}
.msg{
	margin-top: .7em;
	text-align: left;
}
.msgurl{
	text-align: right;
}
.msgarticle{
	padding: .5em;
}
.msgarticle p{
	margin-top: .2em;
	max-width: 85%; 
	border-bottom: 1px dotted silver;
}
.msg blockquote {
	margin: 0;
	padding: 0;
	border: 1px solid #C9C2C1;
	background-color: #fff;
}
.msg blockquote p {
	margin: .4em;
	padding: .5em;
}
cite {
	margin-top: 0;
	padding: 7px 0px 0px 15px;
	background: transparent url(s3/tip.gif) no-repeat 6em .2em !important;
	background: transparent url(s3/tip.gif) no-repeat 6em .3em;
	font-style: normal;
}
.quote{
	position: relative;
	margin: .5em;
	padding-left: 2em;
	width: auto;
	max-width: 60%;
	background-color: #F4F6E0;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
				subContent
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
#subContent{
	float: right;
	width: 31%;
	max-width: 31%;
	background-color: #F4F6E0;
}
.function {
	float:left;
	margin-top: 1em; 
	width:240px;
	text-align:left;
}
.function ul{
	margin-top: .3em;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
				sideBar
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
#sideBar{
	float: right;
	margin-bottom: 1em;
	width: 20%;
	max-width: 20%;
}
.single #sideBar{
	float: right;
	width: 25%;
	max-width: 25%;
	background-color: #F4F6E0;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
				search
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
#frmsearch{
	display: block;
	float:left;
	white-space: nowrap;
}
#edtSearch{
	border-color: #1275d3;
	width: 115px;
}
#btnPost{
	background: #36cf1e url(s3/bg_frmbtn.gif) repeat-x;
	border-right: #eee 2px solid; 
	border-top: #fff 2px solid; 
	font: bold 0.9em; 
	width: auto;
	border-left: #fff 2px solid;
	color: #fff; 
	border-bottom: #eee 2px solid;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
				footer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
#footer{
	padding-left: .5em; 
	clear: both;
	border-top: 1px dotted silver;
	color: #C9D3E5;
	font-family: Tahoma,Arial,Helvetica,Sans-serif;
	font-size: 10px;
	color: #111;
	text-align: right;
}
#footer a{
	color: #111;
}
#footer a:hover{
	color: #1275D3;
}
#feed{
	margin-top: .2em;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
				links
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
#extra a{
	color: #111;
	font-weight: 700;
}
#extra a:hover{
	background-color: #111;
	color: #fff;
	padding: 2px;
}
#links #content{
	width: 99%;
	max-width: 99%;
	word-wrap: normal !important;
}
#links p{
	margin-left: 5%;
}
.link {
	margin-left: 5%;
}
.link li{
	float: left;
	width: 20%;
	padding: 5px;
}
#links #content a:hover{
	background-color: #0084CF;
	color: #fff;
	font-weight: 700;
	padding: 2px;
}


.side a, .post-body a{ 
	color: #0084CF;
	text-decoration: none;
}
.side a:hover, .post-body a:hover{ 
	 color: #111;
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~
				quote
~~~~~~~~~~~~~~~~~~~~~~~~~~*/
.post-body blockquote p {
font: 12px Georgia, "Times New Roman", Times, serif;
width: 400px;
padding-left: 18px;
text-indent: -18px;
}
.post-body blockquote p:first-letter {
background: url(s3/open-quote.gif) no-repeat left top;
padding-left: 18px;
padding-top: 12px;
font: italic 26px Georgia, "Times New Roman", Times, serif;
}
.post-body blockquote p ~ p:first-letter {
font: normal 12px Georgia, "Times New Roman", Times, serif;
background: none;
}
.post-body blockquote {
color: #777;
padding-top: 6px;
padding-bottom: 10px;
background: url(s3/close-quote.gif) no-repeat right bottom;
}
del {
text-decoration: line-through;
}
/*~~~~~~~~~~~~~~~~~~~~~
      ggads
~~~~~~~~~~~~~~~~~~~~~*/
.ggad {
  margin: 10px 5px 2px 2px;
  padding: 10px 0px 0px 10px;
  float: right;
  width: 250px;
  height: 250px;
  vertical-align: top;
  border: 0pt none;
}