/* HTML Elements */

* {
	margin:0;
	padding:0;
	}

body,html {
	min-height:101%;
	}

body {
	background: #3c3c3c;
	color: #545454;
	padding: 10px 0 25px 0;
	}

body, select, input, textarea {
	font: 100% Verdana, Tahoma, Arial, Sans-Serif;
	}

p {
	margin: 0 0 1em;
	}

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

a:hover, a:active {
	color: #069;
	text-decoration:underline;
	}

hr {
	display: block;
	height:1px;
	background:#333;
	border:0;
	}

small {
	font-size: 0.95em;
	padding: .5em 0;
	line-height: 1.4em;
	display: block;
	}

img, a:link img, a:visited img {
	border:0
	}



/* Structure */

#page {
	width:900px;
	margin:0 auto;
	font-size:12px;
	background:#FFF;
	padding: 10px 25px 35px 25px;
	}
#header {
	position: relative;
}
/*
#lang_bar {
	position: absolute;
	top: 0;
	right: 0;
}
*/
#top_bottom {
	position: absolute;
	bottom: 1em;
	right: 0;
	text-align: right;
}
#searchform {
	position: absolute;
	top: 1em;
	right: 0;
}

#branding {
	padding-bottom:15px;
	}
#nowplace {
	clear: both;
	padding: 0.5em 0;
	margin: 0;
}
#lang_bar{
	float: right;
}
.left {
	float:left;
	}

.right {
	float:right;
	}
#content{
	background: #FFFFFF;
	color: #333333;
	display: block;
	margin: 0 270px 0 145px;
	overflow: hidden;
	padding: 0;
}

#side{
	background: #FFFFFF;
	color: #333333;
	display: block;
	float: left;
	margin-left: -900px;
	overflow: hidden;
	width: 125px;
}

#sidebar{
	background: #FFFFFF;
	color: #333333;
	display: block;
	float: left;
	margin-left: -250px;
	overflow: hidden;
	width: 250px;
}

#wrapper{
	background: #FFFFFF;
	color: #333333;
	float: left;
	width: 100%;
	padding: 0;
	margin: 0;
}

#indexcontent {
	width:625px;
	float:left;
	padding: 0;
	margin: 0;
}

#indexsidebar {
	width: 250px;
	float:right;
	}

#leftcol {
	width:287px;
	border-right:1px dotted #b6b6b6;
	padding-right:18px;
	}

#leftcol, #rightcol {
	margin-top:10px;
	float:left
	}

#rightcol {
	width:277px;
	padding-left:18px;
	margin-top: -2px;
	}



/*Subnav */

.subnav li {
	list-style:none;
	border-bottom:1px solid #FFF;
	font-size: 11px;
	}

.subnav li a:link, .subnav li a:visited {
	background:#F4F4F4;
	display:block;
	padding:4px 4px 4px 8px;
	border-left:4px solid #BBB;
	}

.subnav li a:hover, .subnav li a:active {
	background:#F9F9F9;
	color: #333;
	}

.subnav li li a:link, .subnav li li a:visited {
	border-left:none
	}




.sidenav li {
	list-style:none;
	border-bottom:1px solid #FFF;
	font-size: 11px;
	}

.sidenav li a:link, .sidenav li a:visited {
	display:block;
	padding:2px 8px;
	}

.sidenav li a:hover, .sidenav li a:active {
	background:#F9F9F9;
	}

.sidenav li li a:link, .sidenav li li a:visited {
	border-left:none
	}

/*	Headers */
#logo { float: left; width: 260px; }
#logo h1{text-indent:-10000px;}
#logo h1 a{display:block; background: url(logo.png) no-repeat center center; height:64px; outline:none;}

h1 {
	font:30px "Trebuchet MS", Georgia, "Times New Roman", Times, serif;
	letter-spacing:-0.02em;
	}
h1 a:link,
h1 a:visited,
h1 a:active,
h1 a:hover {
	text-decoration: none;
}

h2 {
	font: 23px "Trebuchet MS", Georgia, "Times New Roman", Times, serif;
	margin: 0 0 10px;
	}
h2.title {
	font: 23px "Trebuchet MS", Georgia, "Times New Roman", Times, serif;
	margin: 0;
	line-height: 1em;
}

h3, #sidebar h2, #indexsidebar h2, #side h2 {
	font: 12px Tahoma, Arial, Helvetica, sans-serif;
	text-transform:uppercase;
	letter-spacing:0.1em;
	margin-bottom:3px;
	font-weight:bold;
	color:#5f5f5f;
	}

#sidebar h3, #sidebar h2,
#indexsidebar h3, #indexsidebar h2,
#side h3, #side h2  {
	border-top:5px solid #BBB;
	border-bottom:1px solid #BBB;
	padding:6px 0 6px 2px;
	margin:0 0 10px 0;
	font-size:1em;
	}
/*
#side h3, #side h2  {
	border-bottom:1px solid #FFF;
	margin:22px 0 0 0;
}
*/
#sidelist > li {
	margin: 0 0 10px;
}
h3#respond {
	border-top:1px dotted #b6b6b6;
	margin-top:25px;
	padding-top:20px
	}

h3#comments {
	margin-top:32px
	}

h4 {
	font: 18px "Trebuchet MS", Georgia, "Times New Roman", Times, serif;
	font-size:1.6em;
	}



/* Content */


.description {
	font-size: 11px;
	color:#666;
	margin: -4px 0 0 0;
	}

.feature {
	background:#f2f2f2;
	padding:15px;
	border-bottom:1px dotted #b6b6b6;
	border-top:1px dotted #b6b6b6;
	}

.feature:hover {
	background:#e9e9e9;
	}

.feature p, #rightcol p {
	margin:0;
	}

.feature img, #rightcol img {
	padding:1px;
	border:1px solid #000;
	}

#leadpic img {
	float:left;
	margin: 0 18px 8px 0;
	}

#lead {
	margin-top:0;
	}

.title {
	font-size:1.2em;
	font-weight:bold;
	line-height:115%;
	}

.feature#lead .title {
	font:1.8em "Trebuchet MS", Georgia, "Times New Roman", Times, serif;
	line-height:100%;
	display:block;
	padding-bottom:7px;
	}

#leftcol .feature {
	margin-bottom: 5px;
	border-bottom:none
	}

#rightcol img {
	float:left;
	margin:3px 10px 4px 0;
	}

#leftcol img {
	margin-bottom: 4px;
	display:block
	}

#rightcol .clearfloat {
	border-bottom:1px dotted #b6b6b6;
	padding:12px 0;
	}

#sidelist li {
	list-style:none
	}

.bullets li {
	list-style:none;
	border-bottom:1px solid #FFF;
	}

#sidelist .bullets li {
	list-style:square;
	margin-bottom:5px;
	line-height:115%;
	margin-left:22px;
	}

#sidelist .children {
	background:#e4efd5;
	}

#sidelist .children li {
	list-style: square;
	margin-left:28px;
	border-bottom:1px solid #e4efd5;
	}

#sidelist .children li a, #sidelist .children li a:visited {
	padding:2px 2px 2px 0px;
	border:0;
	background:#e4efd5;
	color: #818d6f;
	}

#sidelist .children li a:hover, #sidelist .children li a:active	{
	color:#465d23
	}

#small_pic {
	padding:0;
	margin:0;
	overflow:hidden;
	width:255px;
	float:left;
}

#small_pic li{
	list-style:none;
	float:left;
	width:80px;
	height:80px;
	text-align:center;
	margin:0 4px 4px 0px;
	display:inline;
}

#small_pic li img{
	display:block;
}



.postmetadata {
	margin: 10px 0;
	}

#writer {
	background:#eef5e1;
	margin:0 0 15px 0;
	padding:12px;
	}

#writer img {
	padding:1px;
	border:1px solid #7da939;
	float:left;
	width:80px;
	}

#writer span {
	display:block;
	padding-top:4px;
	border-top:1px solid #cbd8b4;
	margin-top:12px;
	}

#writer p {
	margin:0;
	width:482px;
	}

.entry {
	padding: 0.5em 0 2em 0;
	}
.entry p {
	padding: 0 0 1em 0;
	margin: 0;
}
h3 a:link, h3 a:visited {
	color:#5f5f5f;
	}



/*Post Formatting*/

.picleft {
	float:left;
	margin:3px 14px 10px 0;
	border:7px solid #f2f2f2;
	}

.picright {
	float:right;
	margin:3px 0 10px 14px;
	border:7px solid #f2f2f2;
	}
.post {
	line-height: 1.5em;
	padding: 0;

}
.post blockquote {
	color:#76767a;
	background:#f2f2f2;
	padding:0.5em 1em;
	margin:0;
	border:1px solid #DDD;
	}

.post ul li {
	list-style:square;
	margin-bottom:5px;
	line-height:115%;
	margin-left:42px;
	}

.post ol li {
	margin-bottom:5px;
	line-height:115%;
	margin-left:48px;
	}

#tags {
	padding: 0 5px;
	}
#content #tags {
	padding: 5px 0;
}
#side #tags {
	padding: 5px 10px;
}
/* Form Elements */

select {
	background:#f2f2f2;
	border:1px solid #9c9c9c;
	width:100%
	}

#searchform {
	padding:0;
	font-family:Tahoma;
	}

#searchform input {
	font-size: 12px;
	font-family: Tahoma;
	float: left;
	border: none;
	margin: 0;
}
#searchform #keyword {
	height: 19px;
	line-height:19px;
	background: #F9F9F9;
	border: 1px solid #CCC;
}
.button {
	padding: 2px 8px;
	background:#000;
	color:#e7e7e7;
	border: 1px solid #000;
	}

.button:hover {
	background:#777;
	color:#FFF;
	text-decoration:none;
	}

#commentform input {
	width: 170px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	margin-top:5px;
	}



/* Comments*/

.commentlist {
	padding-left:30px;
	}

.commentlist li {
	margin: 15px 0 3px;
	padding: 8px 15px 10px 15px;
	background:#f2f2f2;
	border-top: 1px solid #ddd;
	}

#commentform small {
	background:#FFF;
	color: #666;
	font-weight:bold;
	padding:0;
	}

.commentmetadata {
	display: block;
	}

.commentlist small {
	background:#e9e9e9
	}

.commentlist cite {
	font: 1.6em "Trebuchet MS", Georgia, "Times New Roman", Times, serif;
	font-weight:bold;
	letter-spacing:-0.05em;
	}


/* Float Properties*/

.clearfloat:after {
	display:block;
	visibility:hidden;
	clear:both;
	height:0;
	content:".";
	}

.clearfloat {
	display:inline-block
	}

.clearfloat {
	display:block
	}



/* Footer*/

#footer {
	margin: 0 auto;
	width: 900px;
	font-size:0.7em;
	padding-top:15px;
	color:#FFF;
	text-align: center;
	line-height: 1.5em;
	}

#footer a {
	color:#d3d1d1;
	}


/*(针对不同浏览器做了优化)*/
.clearfix:after {
content: ".";
display: block;
height: 0;
clear:both;
visibility: hidden;
}
.clearfix {display: inline-table;}
/* Hides from IE-mac \*/ *
html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */






/* $Id: example.css,v 1.5 2006/03/27 02:44:36 pat Exp $ */

/*--------------------------------------------------
  REQUIRED to hide the non-active tab content.
  But do not hide them in the print stylesheet!
  --------------------------------------------------*/
.tabberlive .tabbertabhide {
 display:none;
}

/*--------------------------------------------------
  .tabber = before the tabber interface is set up
  .tabberlive = after the tabber interface is set up
  --------------------------------------------------*/
.tabber {
}
.tabberlive {
 margin-top:1px;
}

/*--------------------------------------------------
  ul.tabbernav = the tab navigation list
  li.tabberactive = the active tab
  --------------------------------------------------*/
ul.tabbernav
{
 margin:0;
 padding: 5px 0;
 border-bottom: 1px solid #BBB;
 font: bold 12px Verdana, sans-serif;
}

ul.tabbernav li
{
 list-style: none;
 margin: 0;
 display: inline;
}

ul.tabbernav li a
{
 padding: 5px 16px;
 margin-left: 0;
 border: 1px solid #BBB;
 border-bottom: none;
 background: #777;
 text-decoration: none;
 font-family: Arial;
}

ul.tabbernav li a:link { color: #FFF; }
ul.tabbernav li a:visited { color: #FFF; }

ul.tabbernav li a:hover
{
 color: #000;
 background: #FFF;
 border-color: #BBB;
}

ul.tabbernav li.tabberactive a
{
 background-color: #fff;
 color: #000;
 border-bottom: 1px solid #fff;
}

ul.tabbernav li.tabberactive a:hover
{
 color: #000;
 background: white;
 border-bottom: 1px solid #FFF;
}

/*--------------------------------------------------
  .tabbertab = the tab content
  Add style only after the tabber interface is set up (.tabberlive)
  --------------------------------------------------*/
.tabberlive .tabbertab {
 padding:5px 10px;
 border:1px solid #BBB;
 border-top:0;

 /* If you don't want the tab size changing whenever a tab is changed
    you can set a fixed height */

 /* height:200px; */

 /* If you set a fix height set overflow to auto and you will get a
    scrollbar when necessary */

 /* overflow:auto; */
}

/* If desired, hide the heading since a heading is provided by the tab */
.tabberlive .tabbertab h2 {
 display:none;
}
.tabberlive .tabbertab h3 {
 display:none;
}

/* Example of using an ID to set different styles for the tabs on the page */
.tabberlive#tab1 {
}
.tabberlive#tab2 {
}
.tabberlive#tab2 .tabbertab {
 height:200px;
 overflow:auto;
}


.tablist li {
	line-height: 1.5em;
	font-size: .9em;
}
.tablist li a:link,
.tablist li a:visited {
	text-decoration: none;
}
.tablist li a:hover,
.tablist li a:active {
	text-decoration: underline;
}
#sidelist #category ul {
}
#sidelist #category ul li,
#sidelist #archives ul li {
	width: 49%;
	display: block;
	float: left;
	overflow: hidden;
	text-indent: .5em;
}
#sidelist #category ul li a,
#sidelist #archives ul li a {
	display: block;
	height: 1.5em;
	line-height: 1.5em;
	font-size: 11px;
}
#category_col li {
	line-height: 1.2em;
	padding: 2px 0;
}
#recent-posts {
	line-height: 1.4em;
}

.feature a.title {
}

.ddsg-wrapper ul {
	padding:0;
	margin:0;
}
.ddsg-wrapper ul li {
	padding: 0;
	margin: 0;
	line-height: 1.4em;
	list-style: none;
}
.ddsg-wrapper ul > li {
	line-height: 1.8em;
	border-bottom: 1px solid #F4F4F4;
}
.ddsg-wrapper ul li li {
	padding: 0 0 0 1em;

}


/********************************************************************************
 * Code Style
 *******************************************************************************/
.hl-title {
    background-color: #F9FBFC;
    border: 1px solid #C3CED9;
    border-bottom: 0;
    padding: 6px 24px;
    margin: 0;
    width: auto;
    line-height: 180%;
    overflow : auto;
    text-align: left;
    font-size: 14px;
    font-weight: bold;
}

.hl-surround {
    background-color: #F9FBFC;
    border: 1px solid #C3CED9;
    margin: 0;
    margin-bottom: 5px;
    width: auto;
    height: auto;
    overflow : auto;
    text-align: left;
    /*font-family: Fixedsys, "BitStream Vera Sans Mono", "Courier New", Courier, monospace;*/
    font-family: "BitStream Vera Sans Mono", "Courier New", Courier, monospace;
}

ol.hl-main {
    padding: 0 12px 0 56px;
    margin: 0;
    background-color: transparent;
    background-image: url(images/hide.gif);
    background-repeat: no-repeat;
    background-position : 5px 5px;
}

div.hl-main {
    padding: 6px 24px;
    margin: 0;
    line-height: 150%;
    background-color: transparent;
}

.ln-show {
    padding-left: 56px !important;
    background-image: url(images/hide.gif) !important;
    list-style: decimal outside !important;
}

.ln-show li {
    list-style: decimal outside !important;
}

.ln-hide {
    padding-left: 24px !important;
    background-image: url(images/show.gif) !important;
    list-style-type: none !important;
}

.ln-hide li {
    list-style-type: none !important;
}

ol.hl-main li {
    display: list-item !important;
    font-size: 12px !important;
    margin: 0 !important;
    line-height: 20px !important;
    border-left: 1px solid #C3CED9;
    border-top: 1px solid #E3EEF9;
    border-top-color: #E3EEF9 !important;
    padding: 0 0 0 12px !important;
    background-color: #F9FBFC !important;
}

li.hl-firstline {
    border-top: 0 !important;
}

/* pagenavi */
.pagenavi {
	margin: 10px 0;
	color: #333;
	line-height: 2em;
	border: 0px;
}
.pagenavi a:visited, 
.pagenavi a:link,
.pagenavi span,
.pagenavi span.pages,
.pagenavi span.extend {
	font-family: Tahoma;
	font-size: 11px;
	padding: 3px 6px;
	margin: 2px 0;
	text-decoration: none;
	border: 1px solid #E6E6E6;
	color: #636363;
	background-color: #F9F9F9;
}
.pagenavi a:hover, .pagenavi a:active {
	font-family: Tahoma;
	font-size: 11px;
	padding: 3px 6px;
	margin: 2px 0;
	text-decoration: none;
	border: 1px solid #333;
	color: #FFF;
	background-color: #333;
}
.pagenavi span.current {
	font-family: Tahoma;
	font-size: 11px;
	padding: 3px 6px;
	margin: 2px 0;
	font-weight: bold;
	border: 1px solid #333;
	color: #FFF;
	background-color: #333;
}


/* sociable START */
div.sociable { margin: 0; }
.sociable img {
	border: 0;
	margin: 0;
	padding: 0;
}
/*
.sociable-hovers {
	opacity: .4;
	-moz-opacity: .4;
	filter: alpha(opacity=40);
}
.sociable-hovers:hover {
	opacity: 1;
	-moz-opacity: 1;
	filter: alpha(opacity=100);
}
*/
/* sociable END */

#smilar ul {
}
#smilar ul li {
	padding: 0 0 .5em;
	margin: 0;
	list-style: none;
	line-height: 1.4em;
}
#smilar ul li a {
	font-weight: bold;
}

.post table {
	border: none;
}
.post table td {
	padding: 2px;
	border: none;
}
#sitedesc {
	display: none;
}
a.lightbox {
	margin: 0.5em;
}

/**/
.tabarea {background:#ececec;border:1px solid #d7d7d7;}
.tabmenu {background-color:#ececec; color:#000; height:23px;border-bottom:1px solid #d7d7d7;}
.tabmenu ul {margin:0px; padding:0px; list-style:none; text-align:center;}
.tabmenu li {display:inline; line-height:23px;}
.tabmenu li a {color:#000000; font-size: 11px; text-decoration:none; padding:4px 10px 6px 10px;  border-left:1px solid #ececec; border-right:1px solid #ececec;}
.tabmenu li a.tabactive {border-left:1px solid #d7d7d7; border-right:1px solid #d7d7d7; background-color:#FFF; font-weight:bold;  position:relative;}
.tabcontent{background-color:#FFF; padding:6px 10px; font-size:12px; }

/*
.tabmenu {height: 24px;	margin: 0;	padding-left: 10px;	background: url(tab_bottom.gif) repeat-x bottom;}
.tabmenu li {margin: 0;	padding: 0;	display: inline; list-style-type: none;}
.tabmenu a:link, .tabmenu a:visited {float: left;background: #f3f3f3;font-size: 11px;line-height: 18px;font-weight: bold;padding: 2px 10px 2px 10px;margin-right: 4px;border: 1px solid #ccc;text-decoration: none;color: #666;}
.tabmenu a:link.tabactive, .tabmenu a:visited.tabactive {border-bottom: 1px solid #fff;background: #fff;color: #000;}
.tabmenu a:hover {background: #fff;}
.tabcontent{background-color:#FFF;padding:6px 10px;font-size:12px;border-width: 0 1px 1px 1px;border-style: solid;border-color: #d7d7d7;}
*/

#tools {
	font-size:0.95em;
	padding: 10px 0;
}
#tools img {
	border: none;
}
#tools a:hover {
	background:none;
}
