/* yui reset */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td
{
	margin: 0;
	padding: 0;
}
table
{
	border-collapse: collapse;
	border-spacing: 0;
}
fieldset, img
{
	border: 0;
}
address, caption, cite, code, dfn, em, strong, th, var
{
	font-style: normal;
	font-weight: normal;
}
ol, ul
{
	list-style: none;
}
caption, th
{
	text-align: left;
}
h1, h2, h3, h4, h5, h6
{
	font-size: 100%;
	font-weight: normal;
}
q:before, q:after
{
	content: '';
}
abbr, acronym
{
	border: 0;
}

/* my blog base*/

html, body
{
	margin: 0px;
	padding: 0px;
	font-family: "Trebuchet MS" , Arial, Helvetica, "Lucida Grande" ,Geneva,Verdana sans-serif;
	font-size: 12px;
	background: #fff none repeat scroll 0 0;
	color: #444;
}

h1, h2, h3, h4, h5
{
	font-family: 'microsoft yahei' , '微软雅黑' ,arial,sans-serif;
	margin: 0;
	padding: 0;
}

a
{
	color: #333333;
	text-decoration: none;
}
a:hover
{
	text-decoration: underline;
}
a img
{
	border: 0;
}
.clear
{
	clear: both;
}

div
{
	table-layout: fixed;
	word-wrap: break-word;
}

/* others  */
acronym, abbr, span.caps
{
	cursor: help;
}

acronym, abbr
{
	border-bottom: 1px dashed #999;
}

blockquote
{
	margin: 15px 30px 10px 10px;
	padding-left: 25px;
	padding-bottom: 5px;
	background: url(images/blockquote_bg.gif) repeat-y;
}

blockquote blockquote
{
	background: url(images/blockquote_bg2.gif) repeat-y;
}

blockquote cite
{
	margin: 5px 0 0;
	display: block;
}

.center
{
	text-align: center;
}
.alt
{
	color: #666;
	font-weight: normal;
}

hr
{
	display: none;
}

a img
{
	border: none;
}

strong
{
	color: #362f2d;
	font-weight: bold;
}

#container
{
	margin: 0 auto;
	width: 1000px;
	max-width: 1000px;
	min-width: 1000px;
	padding: 0;
	text-align: left;
	width: auto;
}

/* Header */

#header
{
	width: 100%;
	border-bottom: 5px solid #eee;
	height: 102px;
	line-height: 250%;
	background: #25ADD3 url(images/bg/header_bg.png) repeat-x scroll left top;
}

#header h1
{
	font-size: 36px;
	font-weight: normal;
	padding:25px 0 25px 25px;
}

#header h1 a
{
	color: #fff;
}

#header h1 span
{
	color: #fffbbb;
	font-size: 16px;
	font-style: italic;
	position: relative;
	top: -5px;
}

/* Top Menu */

#menu
{
}

#menu_items
{
	text-transform: uppercase;
	color: #fff;
	font-size: 14px;
	padding-left: 15px;
	padding-top: 15px;
}

#menu_items a
{
	color: #fff;
	padding-left: 5px;
	padding-right: 5px;
}

#menu_items a:hover
{
}

#menu_items #menu_item_home
{
	background: url(images/icon/menu_item_home.gif) no-repeat left -1px;
	padding-left: 22px;
}

#menu_items #menu_item_rss
{
	background: url(images/icon/menu_item_rss.gif) no-repeat left 1px;
	padding-left: 22px;
}

/* body */

#body
{
	width: 100%;
	background: #fff url(images/bg/body_bg.gif) no-repeat top left;
	float: left;
}

#top
{
	float: left;
	padding-bottom: 88px;
	overflow: hidden;
}

#left
{
	width: 670px;
	float: left;
	overflow: hidden;
}

#right
{
	margin-left: 18px;
	width: 312px;
	float: right;
	overflow: hidden;
}

/* left content */

#left_content
{
	margin-left: 20px;
	margin-top: 20px;
	overflow: hidden;
}

.left
{
	margin-left: 16px;
	margin-top: 20px;
}

.post
{
	width: 100%;
	overflow: hidden;
}

.post-top
{
}

.post-title
{
	color: #000;
}

.post-title h4
{
float:right;
margin:10px 12px 0 0;
color:#A1A1A1;
font-family:Verdana,Arial,Helvetica,sans-serif;
font-size:10px;
font-weight:normal;
}

.post-title h2
{
	font-size: 23px;
	color: #0054a6;
	margin-bottom: 4px;
	font-weight: normal;
	padding-bottom: 2px;
}

.post-title h2 a
{
	color: #0054a6;
}

.post-title h2 a:hover
{
	color: #000;
}

.post-title h3.tags
{
	font-weight: normal;
	color: #000;
	font-size: 9px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	background: url(images/tags_bg.gif) repeat-x left top;
	padding:7px 5px 5px 5px
}

.post-title h3 a
{
	color: #000;
}

.post-title h3.tags span
{
	color: #000;
	font-weight: bold;
}

.post-title h3.tags a
{
	color: #000;
	font-weight: normal;
}

.entry
{
	line-height: 20px;
	font-size: 12px;
	padding:5px 5px 20px 3px;
}

.entry p
{
	padding-bottom: 10px;
}

.postmetadata
{
	float: left;
	width: 640px;
	font-size: 11px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #000;
	background: #f0f0f0 url(images/dotted_grey.gif) repeat-x left top;
	margin-bottom: 5px;
	padding-bottom: 10px;
}

.postmetadata a
{
	color: #000;
}

.postmetadata .alignleft
{
	padding-top: 8px;
	padding-left: 10px;
}

.postmetadata .alignright
{
	float:right;
	padding-top: 8px;
	padding-right: 5px;
	font-weight: bold;
}

.alignright a
{
	color: #000;
	padding-left: 15px;
	padding-right: 10px;
	background: url(images/i_comm.gif) no-repeat left 1px;
}

a.readmore
{
	color: #000;
	background: url(images/i_read.gif) no-repeat left 1px;
}

.post-page
{
	width: 592px;
	margin-top: 39px;
	margin-left: 22px;
	background: url(images/post-page.gif) no-repeat top left;
}

.post-page h2
{
	color: #4b4b4b;
	font-size: 18px;
	font-style: normal;
	font-weight: normal;
	padding-left: 30px;
}

.post-page .entry
{
	margin-top: 10px;
	color: #595959;
}

.post-page .entry a
{
	color: #f7941d;
	font-weight: bold;
	text-decoration: underline;
}



/* right content */
.right_column
{
	margin-left: 8px;
	padding-top: 6px;
	overflow: hidden;
}


/* search */

#right_search
{
	margin-left: 8px;
	color: #8f8f8f;
	font-size: 12px;
	height: 47px;
	padding-top:2px;	
	background: url(images/bg/search_bg.gif) no-repeat left top;
}

#searchForm
{
	padding-left: 12px;
	padding-top: 5px;
}

#searchForm span
{
	float:left;
	font-weight: bold;
	font-style: italic;
	margin-top:8px;
	>padding-top:0px;
	>margin-bottom:10px;
}

#searchForm_textbox
{
	float:left;
	width: 190px;
	border-top:none;
	border-right:none;
	border-bottom:dotted 1px #369;
	border-left:none;
	background: none;
	color: #8f8f8f;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	margin: 8px 3px 3px 5px;
}

#btnSearch
{
	position: relative;
	margin-top:5px;
	margin-left:5px;
}


/* tag cloud */

#main_tags
{
	padding-left: 3px;
	line-height: 25px;
}

#main_tags h2
{
	color: #4b4b4b;
	font-size: 35px;
	background: url(images/dotted_grey2.gif) repeat-x left bottom;
	padding-bottom: 15px;
	margin-bottom: 10px;
	font-weight: normal;
}

#main_tags a
{
	color: #338ec9;
}

#main_tags ul.tag-list
{
}

#main_tags ul.tag-list li
{
	padding: 2px 4px;
	list-style: none;
	margin: 0;
	line-height: 28px;
	white-space: nowrap;
	float: left;
	display: block;
	cursor: pointer;
}

#main_tags ul.tag-list li input
{
	display: none;
}

#main_tags ul.tag-list li:hover, #main_tags ul.tag-list li.hover
{
	background: none;
}

#main_tags ul.tag-list li.checked, #main_tags ul.tag-list li.checked-even
{
	background: none;
	font-weight: bold;
	text-decoration: underline;
}

#main_tags ul.tag-list li.size-5
{
	font-size: 12px;
	color: #777;
}


#main_tags ul.tag-list li.size-10
{
	font-size: 16px;
	color: #666;
}

#main_tags ul.tag-list li.size-20
{
	font-size: 18px;
	color: #555;
}

#main_tags ul.tag-list li.size-30
{
	font-size: 22px;
	color: #444;
}

#main_tags ul.tag-list li.size-0
{
	font-size: 28px;
	color: #333;
}


/* advertisement */

#right_money img
{
	padding-left: 16px;
	padding-right: 8px;
	margin-bottom: 19px;
}

#sidebars
{
	float: left;
	margin-top: 5px;
}

#sidebar
{
	float: left;
}

#sidebar_right
{
	width: 149px;
	float: left;
	padding-left: 15px;
}

#sidebars h2
{
	border-bottom: 1px solid #0071bd;
	font-size: 16px;
	color: #0071bd;
	padding: 0px 0px 3px 6px;
	margin-bottom: 5px;
	font-weight: bold;
}

#sidebars ul
{
	width: 310px;
	color: #4c4c4c;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	padding-bottom: 18px;
}

#sidebars li
{
	margin-bottom: 0px;
	background: url(images/sidebars_li_bg.gif) no-repeat left 25px;
}

#sidebars div li
{
	margin-bottom: 0px;
	padding-bottom: 0px;
	background: url(images/dotted_grey2.gif) repeat-x left bottom;
	padding-top: 4px;
	padding-bottom: 8px;
	padding-right: 3px;
	padding-left: 6px;
}

#sidebars div ul li
{
	background: none;
	border: 0px;
	padding-bottom: 3px;
}

#sidebars li a
{
	color: #4c4c4c;
	padding-left: 3px;
}

#sidebars div.widget_categories
{
	clear: both;
}

#sidebars div.widget_categories ul li
{
	float: left;
	width: 146px;
	font-weight: normal;
}

#sidebars div.widget_categories ul li a
{
	background: url(images/sidebar_li_cat2.gif) no-repeat left 4px;
	font-weight: normal;
	padding-left: 8px;
}

#sidebars div.widget_categories ul li ul li a
{
	background: url(images/sidebar_li_cat_sub.gif) no-repeat left 4px;
	font-weight: normal;
	padding-left: 8px;
}

#sidebars div.widget_archives
{
	padding-top: 5px;
	clear: both;
}

#sidebars div.widget_archives ul li
{
	float: left;
	width: 64px;
	font-weight: normal;
	>width:66px;
}

#sidebars div.widget_archives ul li a
{
	background: url(images/sidebar_li_ar.gif) no-repeat left 5px;
	font-weight: normal;
	padding-left: 8px;
	color: #7f7f7f;
}

#sidebars li.widget_meta ul li a
{
	background: url(images/sidebar_li_meta.gif) no-repeat left 4px;
	font-weight: normal;
	padding-left: 8px;
}

#sidebars li ul li a
{
	background: url(images/sidebar_li_bl.gif) no-repeat left 4px;
	font-weight: normal;
	padding-left: 8px;
}

#sidebars div.widget_archives ul li.thread
{
	width: 300px;
}

#tag_cloud
{
	color: #999;
	padding-bottom: 20px;
}

#tag_cloud a
{
	color: #999;
}

.textwidget
{
	padding: 5px 5px 10px 5px;
}

/* footer */

#footer
{
	width: 100%;
	clear: both;
	text-align: center;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #999;
	margin-bottom: 10px;
}

#footer_copyrights
{
	border-top: 1px solid #ccc;
	padding-top: 7px;
	font-size: 13px;
}

#footer_copyrights a
{
	color: #999;
}

#footer_copyrights a span
{
	color: #999;
}

#footer_copyrights .typecho_link
{
	float: right;
	padding-right: 10px;
}

#footer_copyrights .my_copyrights
{
	text-align: left;
	padding-left: 10px;
}



/*  pages nav */

#page_nav
{
	text-align: right;
	padding-right: 250px;
}
ol.pages
{
	margin: 20px 0 0 0;
	color: #666;
	list-style: none;
	font-size: 12px;
}

ol.pages li
{
	margin: 0 5px 0 0;
	display: inline;
}

ol.pages li a
{
	padding: 0 4px;
	text-decoration: none;
}

ol.pages li.current a
{
	background: #0071bd;
	color: #fff;
}
.entry ul
{
	margin: 0 10px 15px 0;
	list-style: none;
	padding: 10px 15px 0px 20px;
}

.entry li
{
	background: url(images/dotted_grey.gif) repeat-x left bottom;
	padding-bottom: 4px;
	padding-top: 3px;
	color: #595959;
}

.entry ul li:before
{
	content: url(images/entry_before.gif);
}

.entry ol
{
	margin: 0 10px 15px 0;
	padding: 10px 15px 10px 40px;
}

.entry ol li
{
	margin: 0;
	padding: 0;
	padding-bottom: 4px;
	padding-top: 3px;
	background: url(images/dotted_grey.gif) repeat-x left bottom;
}

.postmetadata ul, .postmetadata li
{
	display: inline;
	list-style-type: none;
	list-style-image: none;
}

ol li
{
	list-style: decimal outside;
}
/* End Entry Lists */



/* Begin Form Elements */
#searchform
{
	margin: 10px auto;
	padding: 5px 3px;
	text-align: center;
}

#sidebar #searchform #s
{
	width: 108px;
	padding: 2px;
}

#sidebar #searchsubmit
{
	padding: 1px;
}

.entry form
{
	/* This is mainly for password protected posts, makes them look better. */
	text-align: center;
}

select
{
	width: 130px;
}

#commentform
{
	width: 500px;
}

#commentform input[type=text]
{
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
}

#commentform textarea
{
	width: 350px;
	padding: 2px;
}

#commentform #submit
{
	margin: 0;
	width: 65px;
	height: 25px;
}

/* Begin Comments*/

#comments h3
{
	font-size: 18px;
	color: #7f7f7f;
	margin-left: 22px;
	font-family: "Trebuchet MS" , Arial, Helvetica, sans-serif;
	font-size: 16px;
}


.commentlist
{
	padding: 0px;
	text-align: justify;
	color: #2f3132;
}

.comment_reply
{
	float: right;
	margin-top: 10px;
	padding-right: 4px; 
	>margin-top:13px;
}

.commentlist li
{
	margin: 10px 0 10px 0px;
	width: 640px;
	list-style: none;
	background: url(images/bg/commentlist_bg.gif) no-repeat left top;
	display: block;
}
#comments img.avatar
{
	float: right;
	margin: 5px 10px 0 0;
}
.commentlist li div.comment_date
{
	padding: 10px 0 0 8px;
}
.comment_date .author
{
	color: #444;
	font-size: 15px;
}
.commentlist li li
{
	margin: 0px;
	padding: 5px 10px 5px;
	border-bottom: 0px;
	background: none;
}

.commentlist p
{
	margin: 10px 5px 10px 0;
	padding: 0 50px 0 16px;
	min-height:40px;
}

#commentform p
{
	margin: 5px 0;
}

.nocomments
{
	margin: 0;
	padding: 0;
	text-align: center;
}

.commentmetadata
{
	margin: 0;
	display: block;
	color: #0072bc;
	padding: 20px 0px 0px 42px;
	font-family: "Trebuchet MS" , Arial, Helvetica, sans-serif;
	font-size: 15px;
	text-transform: capitalize;
	font-weight: bold;
}

.commentmetadata a
{
	color: #0072bc;
	font-weight: bold;
}

.commentmetadata_text
{
	padding: 0px 20px 0px 20px;
}

.commentmetadata_end
{
	text-align: right;
	color: #000;
	font-weight: bold;
	border-top: 1px dashed #98c6e4;
	padding: 10px;
}

.commentmetadata_end a
{
	color: #000;
}

.commentmetadata_end span
{
	font-weight: normal;
}

#respond
{
	background: url(images/bg/respond_box.gif) no-repeat top left;
	font-size: 16px;
	color: #000;
	font-weight: normal;
	font-family: "Trebuchet MS" , Arial, Helvetica, sans-serif;
	width: 640px;
	padding-bottom:20px;
}
#respond .cancle_comment_reply
{
	float: right;
	margin-right: 10px;
	margin-top: 8px;
}
#response
{
	margin-top: 0;
	padding-left: 30px;
	padding-top: 8px;
}

#commentform
{
	margin-left: 35px;
	color: #000;
	width: 80%;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

#commentform a
{
	color: #000;
}

#commentform .comment_input_text, #commentform .comment_textarea_text
{
	border: 1px solid #cccccc;
	background: #fff url(images/comm_input_text_bg.gif) repeat-x left top;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #727a7d;
	width: 150px;
	padding: 5px;
}

#commentform label
{
	position: relative;	
	font-size:12px;
}

/* code hightlight */

.codeDiv
{
	background-color: #ddedfb;
	border: 1px solid #0099cc;
	color: #000;
	font-family: "Verdana" , "Courier New" , "Courier" , "mono" , "sans-serif" , "宋体";
	font-size: 12px;
	line-height: 18px;
	margin: 5px;
	padding: 5px;
	width: 90%;
}
pre,code
{
	background-color: #ddedfb;
	border: 1px solid #0099cc;
	color: #000;
	font-family: "Verdana" , "Courier New" , "Courier" , "mono" , "sans-serif" , "宋体";
	font-size: 12px;
	line-height: 18px;
	margin: 5px;
	padding: 5px;
	padding-bottom:20px;
	width: 90%;
	overflow: auto;
	display:block;
	max-height:800px;
}
.codeHead
{
	background: #fff none repeat scroll 0 0;
	border-bottom: 1px solid #ddd;
	font-size: 12px;
	font-weight: bold;
	padding: 5px 5px 5px 15px;
}
.codeText
{
	-x-system-font: none;
	background: #fff none repeat scroll 0 0;
	border: 1px solid #ddd;
	font-family: 'Courier New' ,Monospace;
	font-size: 12px;
	font-size-adjust: none;
	font-stretch: normal;
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	line-height: normal;
	margin: 0 0 1.1em;
	overflow: auto;
	padding: 0;
	width: 98%;
}
.codeText ol
{
	background: #fff none repeat scroll 0 0;
	border-left: 1px solid #ddd;
	color: #5c5c5c;
	list-style-image: none;
	list-style-position: outside;
	list-style-type: decimal-leading-zero;
	margin: 0 1px 0 45px;
	padding: 5px 0;
}
.codeText ol li
{
	background: #fff none repeat scroll 0 0;
	padding-left: 10px;
}
.codeText ol li.alt
{
	background: #fff none repeat scroll 0 0;
}
.codeText ol li span
{
	color: #000;
}
.codeText .comment, .codeText .comments
{
	color: #008200;
}
.codeText .string
{
	color: blue;
}
.codeText .keyword
{
	color: #006699;
	font-weight: bold;
}
.codeText .preprocessor
{
	color: gray;
}
.dp-c .comment
{
	color: green;
}
.dp-c .string
{
	color: blue;
}
.dp-c .preprocessor
{
	color: gray;
}
.dp-c .keyword
{
	color: blue;
}
.dp-c .vars
{
	color: #DD0000;
}
.dp-vb .comment
{
	color: green;
}
.dp-vb .string
{
	color: blue;
}
.dp-vb .preprocessor
{
	color: gray;
}
.dp-vb .keyword
{
	color: blue;
}
.dp-sql .comment
{
	color: green;
}
.dp-sql .string
{
	color: red;
}
.dp-sql .keyword
{
	color: #7F0055;
}
.dp-sql .func
{
	color: #FF1493;
}
.dp-sql .op
{
	color: blue;
}
.dp-xml .cdata
{
	color: #FF1493;
}
.dp-xml .comments
{
	color: green;
}
.dp-xml .tag
{
	color: blue;
	font-weight: bold;
}
.dp-xml .tag-name
{
	color: #7F0055;
	font-weight: bold;
}
.dp-xml .attribute
{
	color: red;
}
.dp-xml .attribute-value
{
	color: blue;
}
.dp-delphi .comment
{
	color: #008200;
	font-style: italic;
}
.dp-delphi .string
{
	color: blue;
}
.dp-delphi .number
{
	color: blue;
}
.dp-delphi .directive
{
	color: #008284;
}
.dp-delphi .keyword
{
	color: navy;
	font-weight: bold;
}
.dp-delphi .vars
{
	color: #000;
}
.dp-py .comment
{
	color: green;
}
.dp-py .string
{
	color: red;
}
.dp-py .docstring
{
	color: green;
}
.dp-py .keyword
{
	color: blue;
	font-weight: bold;
}
.dp-py .builtins
{
	color: #FF1493;
}
.dp-py .magicmethods
{
	color: #808080;
}
.dp-py .exceptions
{
	color: brown;
}
.dp-py .types
{
	color: brown;
	font-style: italic;
}
.dp-py .commonlibs
{
	color: #8a2be2;
	font-style: italic;
}
.dp-rb .comment
{
	color: #cc0000;
}
.dp-rb .string
{
	color: #FF00CC;
}
.dp-rb .symbol
{
	color: #02b902;
}
.dp-rb .keyword
{
	color: #006699;
}
.dp-rb .variable
{
	color: #66ccff;
}
.dp-css .comment
{
	color: green;
}
.dp-css .string
{
	color: red;
}
.dp-css .keyword
{
	color: blue;
}
.dp-css .colors
{
	color: darkred;
}
.dp-css .vars
{
	color: #dd0000;
}
.dp-j .comment
{
	color: #3f7f5f;
}
.dp-j .string
{
	color: #2a00ff;
}
.dp-j .keyword
{
	color: #7F0055;
	font-weight: bold;
}
.dp-j .annotation
{
	color: #646464;
}
.dp-j .number
{
	color: #C00000;
}
.dp-cpp .comment
{
	color: #ee0000;
}
.dp-cpp .string
{
	color: red;
}
.dp-cpp .preprocessor
{
	color: #cd00cd;
	font-weight: bold;
}
.dp-cpp .keyword
{
	color: #5697D9;
	font-weight: bold;
}
.dp-cpp .datatypes
{
	color: #2e8b57;
	font-weight: bold;
}
