/* 初始化样式 */
:link,:visited { text-decoration:none }
ul,ol { list-style:none }
h1,h2,h3,h4,h5,h6,pre,code { font-size:1em; }
ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input
{ margin:0; padding:0 }
a img,:link img,:visited img { border:none }
address { font-style:normal }

/* 通用样式 */
body { background:#FFF url(Images/BODYBG.gif) repeat-x 0 0; font:12px/1.5em Tahoma, Calibri, Helvetica, Arial, sans-serif; margin: 0; padding:0; }
a,a:visited { color:#15647B; text-decoration:none; }
a:hover { color:#6A8A9E; }
textarea,input,object { font-size:12px; color:#000; font-weight:normal; background-color:#FFF; font-family:Tahoma; }
input.Submit,input.Button { padding: 4px 6px 0 6px; letter-spacing:4px; }
select { font-size:12px; color:#000; font-weight:normal; background-color:#FFF; }
.Smile { vertical-align:middle; margin:-1px 0 1px 0; }
.Clear { clear:both; height:0; overflow:hidden; }
.fix {background: none; border: 0; clear: both; display: block; float: none; font-size: 0; margin: 0; padding: 0; overflow: hidden; visibility: hidden; width: 0; height: 0; }

/* 页面样式 */
#Container { width:100%; color:#000; background:url(Images/HEADBG.gif) no-repeat 0 0; }

/* 头部样式 */
#Headers { padding: 32px 0 0 150px; margin-bottom:22px; }
#Headers #Head { float:left; }
#Headers h1 { font-size: 20px; margin-bottom: 6px; }
#Headers h2 { font-size:12px; }
#Headers #Menu { width:430px; float: right; background:url(Images/MENUBG.gif) no-repeat 0 100%; padding-bottom: 7px; padding-right: 16px; font-weight: bold; margin-right:1px; }
#Headers #Menu li { float: left; display: block; margin-left:18px; letter-spacing: 1px; }
#Headers #Menu li img { margin: 1px 3px 0 0; }

/* 内容样式 */
#Mainers { position:relative; height: 100%; }
#Sidebar { float:left; margin-top:8px; padding-left:20px; width:256px; }
#Content { float:right; margin-left:-312px; width: 100%; }
#innerContent { margin-left:312px; margin-right: 16px; }
.SidePans { margin-bottom: 15px; font-family: Verdana; text-align: right; }
.SidePans h4 { color:#FFF; background:url(Images/SIDEBG.gif) no-repeat 100% 0; overflow: hidden; padding: 14px 20px; letter-spacing: 5px; }
.SidePans li { padding: 7px 0 3px 0; border-bottom: 1px dashed #CACCD1; }

#FolderPan ul { width: 210px; float: right; }
#FolderPan li { float: right; width: 80px; text-align: left; padding-left: 20px; }
#FolderPan li a { display:inline; }
#FolderPan li span { font-size: 11px; font-family: Verdana; }

/* 底部样式 */
#Footers { color:#FFF; font-family: Verdana; font-size:11px; text-align: right; background: url(Images/FOOTBG.gif) no-repeat 100% 100%; height: 136px; line-height: 95px; padding-right: 15px; }
#Footers a { color:#FFF; }

/* 文章样式 */
.PostView { margin-bottom: 12px; }
.PostHead { height: 36px; padding-left: 48px; background: url(Images/POSTBG.gif) no-repeat 0 0; }
.PostHead h5 { font-size: 12px; font-family:Verdana; }
.PostHead span { font-family: Verdana; font-size:12px; color:#666; }
.PostMain { font-size: 12px; padding: 6px 0; line-height: 1.6em; }
.PostMain p { margin: 0 0 1em 0; }
.PostMain ul { list-style: disc outside; margin:0 0 1em 2em; }
.PostMain ol { list-style: decimal outside; margin:0 0 1em 2em; }
.PostMore,.PostEdit { background: url(Images/icoView.gif) no-repeat 0 0; padding-left: 18px; font-size: 12px; }
.PostLabs { font-size: 12px; }
.PostLabs p { display: inline; }
.PostFoot { line-height: 1.7em; }
.PostMain code,.CommMain code { display: block; line-height: 1.3em; background:#FFF; border-left:4px solid #6A8A9E; color:#6A8A9E; padding: 8px 12px; font-family:"Consolas","Courier New",Courier,mono,serif; font-size:12px; width:99%; overflow:auto; margin:0 0 1em 0; }

#ArticleList .avHF,#ArticleList .avHS,#ArticleList .avHL,#ArticleList .avHA,#ArticleList .avHR { clear:both; padding:5px 0; line-height:1.8em; font-weight:bold; }
#ArticleList .avHFS { padding-left:0; }
#ArticleList .avHFR { float:right; text-align:right; padding-left:18px; }

#ArticleView .avH { clear:both; padding:5px 0; }
#ArticleView .avHN { float:right; width:200px; padding-right:8px; text-align:right; line-height:1.8em; font-family: Tahoma; }
#ArticleView .avHF { font-weight:bold; line-height:1.8em; }

/* 评论列表 */
#CommentList { padding:0; }
#CommentList ol li { margin-bottom:15px; clear:both; overflow:hidden; }
#CommentList ol li.author .name { color:#AF1F0D; }
#CommentList ol li .user { float:left; text-align:center; width:79px; }
#CommentList ol li .icon {background:transparent url(Images/commentpoint.png) no-repeat scroll 100% 33%; margin-top:10px; padding-right:13px;}
#CommentList ol li .name { font-size:12px; font-weight:bold; padding-right:13px; }
#CommentList ol li .info { float:left; background:#EFEFF0 url(Images/comment.gif) no-repeat scroll 0 0; width:493px; padding:10px 15px 0; }
#CommentList ol li .time { font-size: 12px; }
#CommentList ol li .text {background:transparent url(Images/comment.gif) no-repeat scroll 100% 100%; line-height:145%; margin:0 -15px; padding:9px 15px 10px; }
#CommentList ol li.stb { margin:0 1em 15px 1em; background-color:#EFEFF0; padding:9px; }
#CommentList ol li.stb h6 { font-size:12px; background:transparent url(Images/atQuTb.png) no-repeat 0 3px; padding:0 0 2px 19px; border-bottom:1px dashed #CCC; }
#CommentList ol li.stb h6 span { font-weight:normal; }
#CommentList ol li.stb div { padding-top: 3px;}
#CommentList .Gravatar {border:1px solid #999; padding:1px;}
#CommentList .MultiPan * { font-size:11px; border:none; font-family:Verdana; line-height:1em; }
#CommentList .MultiPan { background:#EDEFF0 url(Images/box.gif) no-repeat scroll 0 0; padding:11px 16px 9px 16px; +padding:11px 16px; margin:0 3px; }
#CommentList .MultiPan h6 { display:none; }
#CommentList .MultiPan ul { background:transparent url(Images/MultiLink.gif) no-repeat 0 -1px; +background-position:0 5px; padding-left:20px; }
#CommentList .MultiPan ul li a {border:1px solid #EDEFF0; margin:0 -2px; padding:5px 5px 4px 5px; +padding:5px; text-decoration:none; }
#CommentList .MultiPan ul li a:hover { border: 1px solid #CCC; }
#CommentList .MultiPan .current { background:#F7F7F7; border:1px solid #F7F7F7; font-weight:bold; margin:0 -2px; padding:5px 5px 4px 5px; +padding:5px;  }
#CommentList .avHR { float:right; text-align:right; }

/* 评论发表 */
#CommentPost { margin: 1em 0; padding: 0;}
#CommentPost form { padding:1em 1em; }
#CommentPost fieldset { border:none; padding:0; margin:0; }
#CommentPost input,#CommentPost textarea { border:1px solid #9FC3DB; padding:5px 3px; }
#CommentPost textarea { font-size:14px; line-height:1.5em; }
#CommentPost dl { clear:both; margin:0 0 1em 0; padding:0; width: 100%; overflow: hidden; }
#CommentPost dt { float:left; text-align:right; margin:3px 0 0 0.7em; font-size: 12px; }
#CommentPost dd { float:left; margin:0; padding:0; }
#CommentPost dt span { margin-left:3px; }
#CommentPost #ncSubmit { border:none; width:150px; height:26px; cursor:pointer; }
#CommentPost .SubmitComment { background:url(Images/SubmitComment.gif) no-repeat; }
#CommentPost .SubmitComment:hover { background:url(Images/SubmitComment.gif) no-repeat 0 -26px; }
#CommentPost #CommentPostMSG dd { background:#FFFBDF url(Images/icoError.gif) no-repeat 6px 50%; border:1px solid #EF9B8F; padding:8px 10px 5px 26px; font-size: 12px; color:#000; }

/* 加密日志输入样式 */
.inPwdForm { margin:6px 0; width:90%; height:56px; background-color:#F8F8F8; padding:9px; font-size:12px; }
.inPwdErr { color:Red; display:block; }

/* Box 样式 */
#mtWins_PaOve { position: absolute; z-index:90; width: 100%; height: 100%; top: 0; left: 0; background-color:#000; filter:alpha(opacity=40); -moz-opacity: 0.4; opacity: 0.4; }
#mtWins_PaBox { position: absolute; z-index:91; border: 1px solid #9FC3DB; background:#F7F8FD; padding:4px 6px; }

/* 快速搜索 */
#QuickSearch { padding:3px 15px 9px 0; margin:0; }
#QuickSearch input { border:none; height:22px; padding:0; margin:0; }
#QuickSearch input#QuickSearchTxt { width:132px; background:url(Images/QuickSearchTxt.gif) no-repeat 0 0; cursor:text; padding: 5px 0 0 6px; }
*:first-child+html #QuickSearch input#QuickSearchTxt { padding-top: 0; line-height: 22px; } /*IE7*/
* html #QuickSearch input#QuickSearchTxt { margin : 6px 0 -5px 5px; } /*IE6*/
#QuickSearch input#QuickSearchBtn { width:24px; background:url(Images/QuickSearchBtn.gif) no-repeat 0 0; cursor:pointer; }

/* 搜索页面 */
#SearchForm { }
#SearchForm h4 { clear:both; padding:5px 0; line-height:1.8em; font-weight:bold; }
#SearchForm form { padding:0; margin:0; }
#SearchForm select { width:180px; }
#SearchForm fieldset { padding: 12px; margin:0 10px; }
#SearchForm fieldset span { display:block; margin-top:4px; }
#SearchForm legend { padding:6px 12px; margin:0; font-weight: bold; }
#SearchForm dl { padding:0; margin:0; }
#SearchForm dt { clear:both; }
#SearchForm dt span { display:inline; margin:0 0 0 6px; }
#SearchForm dd { padding:0; margin:8px 0; }
#SearchForm fieldset.esFloat { float:left; width:42% !important; width:40%; margin:0 10px; }
#SearchForm div { clear:both; padding:12px; margin-top:12px; text-align:center; border-top:1px dashed #FFF; }
#SearchForm label input { margin:2px 0 -2px 0; }

#LabelsList ul { padding:0; margin:0; list-style:none; clear:both; }
#LabelsList li { float:left; margin-bottom:5px; width: 50%; }
#LabelsList span { margin-left:3px; color:#CCC; font-size:11px; }
#LabelsList h4,#ArchiveList h4 { clear:both; padding:5px 0; line-height:1.8em; font-weight:bold; }

#ArchiveList ul { list-style:none; margin: 0; }
#ArchiveList li { margin-bottom: 6px; }
#ArchiveList span { color:#CCC; margin-left:4px; font-size: 11px; }

#CounterView { margin: 1em; }
#CounterView ul { list-style:none; margin:0; padding:0; border:1px solid #CCC; margin-bottom:16px; padding:10px 10px 7px 10px; }
#CounterView ul { padding:16px; }
#CounterView h5 { padding-bottom:9px; margin:0; font-size:12px; }
#CounterView li { padding:7px 0; font-size:11px; line-height:16px; }
#CounterView li.cvMax { font-weight:bold; font-style:italic; }
#CounterView li img { vertical-align:middle; }
#CounterView li span { width:112px; float:left; font-size:12px; }
#BasicStatus ul { clear:both; }
#BasicStatus li { display:inline; margin-right:3em; font-size:12px; }

div.NoArticles,div.NoComments,div.NoArchives,div.NoLabels { padding:16px 0 10px 0; width:auto; height: 100%; }

#Calendar { width:189px; font-size: 12px; font-family: Tahoma; float:right; }
#Calendar ul { margin: 0; padding: 0; overflow: hidden; width: 100%; list-style-type: none; }
#Calendar li { float: left; padding:0; margin:0; border: none; text-align: center; }
#Calendar li a { display:block; float:left; width:27px; line-height:21px; cursor:pointer; }
#Calendar li span { display:block; float:left; width:27px; line-height:21px; padding:0; margin:0; }
#CalendarWeek li { width:27px; line-height:21px; }
#CalendarMonth li a { width:47px; line-height:47px; }
#CalendarYear li a { width:47px; line-height:47px; }
#CalendarMain li a:hover { background:#EDF9FF; border:1px solid #DAF2FC; margin:-1px; }
#CalendarHead { font-weight: bold; text-align: center; }
#CalendarPrev { background:url(Images/CalendarL.gif) no-repeat 10px 6px; width:18px; height:18px; float:left; cursor:pointer; overflow:hidden; }
#CalendarNext { background:url(Images/CalendarR.gif) no-repeat 2px 6px; width:18px; height:18px; float:right; cursor:pointer; overflow:hidden; }
#CalendarMain .OthDate { color:#999; }
#CalendarMain .NowDate { color:#F66; font-weight:bold; }

.MultiPan { border:none; clear:both; margin: 1em 0; }
.MultiPan * { font-size:12px; font-family:Tahoma; }
.MultiPan ul { display:inline; margin:0; padding:0; list-style:none; }
.MultiPan li { display:inline; margin-right:4px; }
.MultiPan a,.MultiPan a:visited { padding:1px 4px; border:1px solid #6A8A9E; }
.MultiPan a:hover,.MultiPan a:active { padding:1px 4px; border:1px solid #6A8A9E;}
.MultiPan .current { padding:1px 4px; border:1px solid #A6BDC6; color:#A6BDC6; }
.MultiPan .direct a { font-weight:bold; }
.MultiPan h6 { font-size:11px; display:inline; margin-right:6px; margin-left:1px; }
.MultiPan h6 span { padding:1px 8px; border:1px solid #6A8A9E; margin-left:-1px; color:#6A8A9E; }

/* 代码高亮 */
pre{font-family:"Consolas","Courier New",Courier,mono,serif; font-size:12px; width:99%; overflow:auto; margin:0 0 1em 0; background-color:#CCE8CF; }
pre ol, pre ol li, pre ol li span{margin:0 0; padding:0; border:none}
pre a, pre a:hover{background:none; border:none; padding:0; margin:0}
pre ol{list-style:decimal; background-color:#CCE8CF; margin:0px 0px 1px 3em !important; padding:5px 0; color:#5C5C5C; border-left:3px solid #146B00;}
pre ol li{list-style:decimal-leading-zero; list-style-position:outside !important; color:#5C5C5C; padding:0 3px 0 10px !important; margin:0 !important; line-height:1.3em}
pre ol li.alt{color:inherit}
pre ol li span{color:black; background-color:inherit}
pre .comment, pre .comments{color:#008200; background-color:inherit}
pre .string{color:blue; background-color:inherit}
pre .keyword{color:#069; font-weight:bold; background-color:inherit}
pre .preprocessor{color:gray; background-color:inherit}
pre .dp-xml .cdata{color:#ff1493}
pre .dp-xml .tag, pre .dp-xml .tag-name{color:#069; font-weight:bold}
pre .dp-xml .attribute{color:red}
pre .dp-xml .attribute-value{color:blue}
pre .dp-sql .func{color:#ff1493}
pre .dp-sql .op{color:#808080}
pre .dp-rb .symbol{color:#a70}
pre .dp-rb .variable{color:#a70; font-weight:bold}
pre .dp-py .builtins{color:#ff1493}
pre .dp-py .magicmethods{color:#808080}
pre .dp-py .exceptions{color:brown}
pre .dp-py .types{color:brown; font-style:italic}
pre .dp-py .commonlibs{color:#8A2BE2; font-style:italic}
pre .dp-j .annotation{color:#646464}
pre .dp-j .number{color:#C00000}
pre .dp-delphi .number{color:blue}
pre .dp-delphi .directive{color:#008284}
pre .dp-delphi .vars{color:#000}
pre .dp-css .value{color:black}
pre .dp-css .important{color:red}
pre .dp-c .vars{color:#d00}
pre .dp-cpp .datatypes{color:#2E8B57; font-weight:bold}