/*==Css Reset==*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, a, em, font, img, s, strong, b, u, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align:baseline;background:transparent;}
ol, ul , li {list-style: none; }
blockquote, q {quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
table{border-collapse:collapse;border-spacing:0;}
body{ background:#f4f4f4 url(images/body_bg.gif) left top repeat-x;}
a{color:#8a8a8a;text-decoration:none;}
a:hover{text-decoration:underline;}
.box{width:950px;margin:0 auto;}
.fl{float:left;}
.fr{float:right;}
.clearfix{clear:both;}
#up_top{display:block;width:35px;height:34px;background:url(images/up.gif) no-repeat;}
#up_top:hover{background-position:0px -34px;}
/*header*/
#header{height:170px;overflow:hidden;position:relative;}
#header h1 a{display:block;width:212px;height:61px;background:url(images/logo.gif) no-repeat;text-indent:-9999px;margin-top:10px;}
#header h2{height:24px;line-height:24px;font-size:11px;font-family:microsoft yahei;color:#989898;font-weight:normal;}
#header .c_tel{font-size:16px;font-family:Arial;font-weight:normal;color:#999;position:absolute;right:0px;top:70px;text-shadow:1px 1px #FFF;}
#header .c_tel span{font-size:13px;font-family:microsoft yahei;}
#header .followme{position:absolute;top:127px;right:0px;}
#header .followme span{font-family:Arial;font-size:16px;text-shadow:1px 1px #FFF;line-height:20px;padding-right:5px;color:#666;}
#searchform{position:absolute;right:1px;top:35px;}
#searchform #s{width:175px;height:29px;color:#666;border:none;font-size:12px;font-family:Arial,microsoft yahei;line-height:29px;padding-left:5px;float:left;text-shadow:1px 1px #FFF;}
#searchform .input_on{ background:url(images/searchbox.gif) 0px -31px no-repeat;}
#searchform .input_off,#searchform .input_out{ background:url(images/searchbox.gif) 0px 0px no-repeat;}
#searchform #searchsubmit{width:36px;height:29px;border:none;cursor:pointer;float:left;margin-left:7px;}
#searchform .btn_on,#searchform .btn_move{background:url(images/searchbox.gif) -186px -31px;}
#searchform .btn_off,#searchform .btn_out{background:url(images/searchbox.gif) -186px 0px;}
/*nav*/
#nav{margin-top:20px;}
#nav ul li{float:left;padding-right:20px;margin-top:9px;}
#nav ul li a{display:block;float:left;height:28px;line-height:28px;color:#777;font-family:microsoft yahei;text-shadow:1px 1px #FFF;text-decoration:none;font-size:14px;}
#nav ul li a:hover{color:#333;}
#nav ul li.current{margin-top:10px;}
#nav ul li.current a{ background:url(images/menu-btn.gif) no-repeat;width:85px; text-align:center;line-height:24px;color:#333;}
/*main*/
#main{width:600px;float:left;}
#main .post{padding-top:30px;}
#main h2.post_title{padding-bottom:18px;padding-top:5px;border-bottom:1px #d6d6d6 solid;padding-right:120px;position:relative;height:100%;}
#main h2.post_title a{font-size:25px;color:#989898;font-family:Arial, microsoft yahei; text-decoration:none;font-weight:normal;text-shadow:1px 1px #eee;line-height:30px;}
#main h2.post_title span{display:block;position:absolute;color:#D6D6D6;font-family:Arial, Helvetica, sans-serif;text-align:center;text-shadow:1px 1px #fff;}
#main h2.post_title span.day{font-size:25px;font-size:36px;height:40px;line-height:40px;width:45px;right:55px;top:0px;border-right:1px #d6d6d6 solid;}
#main h2.post_title span.month{font-size:18px;top:0px;right:0px;width:54px;padding-top:2px;height:21px;border-left:1px #fff solid;}
#main h2.post_title span.year{font-size:14px;right:0px;width:54px;top:23px;height:18px;line-height:18px;border-left:1px #fff solid;}
.index_img{width:595px;height:209px;background:url(images/img_bg.gif) no-repeat;padding-top:21px;padding-left:5px;}
.index_img img{width:590px;height:190px;}
.main_cont{line-height:1.7em;color:#333;font-size:12px;font-family:Arial;text-shadow:1px 1px #fff;width:100%;overflow:hidden;margin-top:5px;}
/*日志代码格式化*/
.main_cont blockquote{margin:5px 0px;padding:5px;text-indent:30px;background:#eee url(images/quote_bg.gif) 6px 4px no-repeat;*background:#eee url(images/quote_bg.gif) 9px 9px no-repeat;-moz-border-radius:8px;-khtml-border-radius:8px;-webkit-border-radius:8px;border-radius:8px;border:5px #ddd solid;color:#666;}
.main_cont img{display:block;border:5px #ddd solid;-moz-border-radius:5px;-khtml-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;padding:1px;}
.main_cont a:hover img{border:5px #ccc solid;}
.main_cont ul{margin:5px 0px;}
.main_cont ul li{background:url(images/list_style.gif) 0px 9px no-repeat;line-height:23px;padding-left:10px;}
.main_cont code{display:block;border-left:5px #ddd solid; background:#eee;line-height:24px;color:#666;padding:5px;margin:5px 0px;}
.main_cont h1{font-size:22px;}
.main_cont h2{font-size:20px;}
.main_cont h3{font-size:18px;}
.main_cont h4{font-size:16px;}
.main_cont h5{font-size:14px;}
.main_cont h6{font-size:12px;}
.main_cont a.more-link{display:block;width:115px;height:40px;text-indent:-9999px; background:url(images/more.gif) no-repeat;margin-top:10px;}
.main_cont a.more-link:hover{background-position:0px -40px;}
.main_cont embed{margin:5px 0px;}
.main_cont h4.single_more{height:25px;padding-bottom:5px;color:#333;background:url(images/line.gif) left bottom repeat-x;font-size:18px;font-weight:normal;text-shadow:1px 1px #fff;font-family:microsoft yahei;margin-top:40px;}
#main .postmetadata{border:1px #bbb solid;padding:8px 5px;-moz-border-radius:4px;-khtml-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;-webkit-box-shadow:0px 0px 9px #ccc;-moz-box-shadow:0px 0px 9px #ccc;background-image:-moz-linear-gradient(center top , #FFFFFF, #EEEEEE);margin-top:15px;font-family:Arial;}
#main .postmetadata li{line-height:20px;font-size:12px;color:#444;}
#main .postmetadata li span{font-size:10px;}
#main .postmetadata li a{color:#acacac; text-decoration:none;}
#main .postmetadata li a.post-edit-link{color:#c00;}
#main .postmetadata li a:hover{ text-decoration:underline;}
#main .postmetadata li i{font-style:normal;color:#999;}
.postnav{margin-top:36px;font-size:10px;height:30px;padding-top:5px;font-family:Arial;}
.postnav span,.postnav a,.postnav .pages,.postnav .nextpostslink{padding:3px 8px;border:1px #666 solid; background:#fff;-moz-border-radius:4px;-khtml-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;float:left;height:13px;}
.postnav span,.postnav span.current{font-weight:bold;color:#666;}
.postnav span,.postnav a{color:#666}
/*搜索结果*/
.so_tips{margin-top:30px;width:100%; text-align:center;color:#666;text-shadow:1px 1px #fff; font-family:microsoft yahei;font-size:20px; background:url(images/error.gif) 50% 30px no-repeat;padding-top:195px;}
/*comments*/
#main h3#comments{line-height:24px;font-family:Arial,'microsoft yahei';font-size:10px;margin:0px 3px;margin-top:20px;margin-bottom:10px;color:#666;text-shadow:1px 1px #fff;padding-bottom:5px; background:url(images/line.gif) left bottom repeat-x;}
#main h3#comments span{font-size:14px;}
.comment{-moz-border-radius:4px;-khtml-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}
.comment-body{font-size:12px;position:relative;}
.comment-body .comment-author{width:100%;height:36px;}
.comment-body .comment-author img{width:32px;height:32px;padding:1px;border:1px #AAB59A solid;float:left;}
.comment-body .comment-author cite,#main .comment-body .comment-author span{float:left;line-height:25px;}
.comment-body .comment-author cite{font-style:normal;font-size:16px;margin-left:5px;font-family:Arial, microsoft yahei;}
.comment-body .comment-author span{line-height:28px;padding-left:5px;}
.comment-body .commentmetadata{position:absolute;left:40px;top:23px;font-family:Tahoma;font-size:11px;}
.comment-body p{line-height:24px;padding-top:0px;color:#666;padding-top:2px;font-family:Arial, Helvetica, sans-serif;}
.comment-body em{font-style:normal;color:#c00;display:block;margin-top:5px;}
#respond h3{height:25px;line-height:25px;margin-top:20px;margin-bottom:10px;font-family:microsoft yahei;font-weight:normal;font-size:18px;}
#cancel-comment-reply{margin-bottom:5px;}
#cancel-comment-reply a{color:#c00;}
#respond p{padding-bottom:5px;}
#respond p input{height:24px;width:220px;border:1px #ddd solid;line-height:24px;color:#666;padding-left:5px;-moz-border-radius:5px;-khtml-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;}
#respond p #submit{width:120px;height:28px;background:#666;color:#fff;cursor:pointer;}
#respond p textarea{height:180px;border:1px #ddd solid;line-height:24px;color:#666;padding-left:5px;-moz-border-radius:5px;-khtml-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;overflow:auto;font-size:12px;line-height:22px;}
#respond p label{color:#999;font-family:Tahoma, Geneva, sans-serif;text-shadow:1px 1px #fff;font-size:1em;}
/*sidebar*/
#sidebar{width:280px;float:right;}
#sidebar .s_box{margin-top:30px;font-size:12px;font-family:microsoft yahei;}
#sidebar .s_box h2{height:25px;padding-bottom:5px;color:#333;background:url(images/line.gif) left bottom repeat-x;font-size:18px;font-weight:normal;text-shadow:1px 1px #fff;}
#sidebar .s_box ul li{background:url(images/line.gif) left bottom repeat-x;}
#sidebar .s_box ul li a{display:block;height:31px;width:258px;line-height:31px;overflow:hidden;color:#999;text-decoration:none;background:url(images/arrow.gif) 0px 10px no-repeat;padding-left:12px;}
#sidebar .s_box ul li a:hover{text-decoration:underline;}
#sidebar .s_box ul li ul li a{background:url(images/list_style.gif) 12px 12px no-repeat;width:250px;padding-left:20px;height:28px;line-height:28px;color:#666;overflow:hidden;}
#sidebar .tags div{line-height:1.8em;padding-top:10px;}
#sidebar .tags a{color:#acacac; text-decoration:none;}
#sidebar .tags a:hover{text-decoration:underline;}
/*footer*/
#footer{background:#282828 url(images/bottom-bg.png) left top repeat-x;margin-top:40px;font-size:12px;font-family:microsoft yahei;padding-bottom:20px;}
#footer .top_pic{display:block;height:10px;overflow:hidden; text-indent:-9999px; background:url(images/bottom-highlight.gif) no-repeat;}
#footer .s_box{margin-top:25px;display:inline;margin-right:35px;width:200px;overflow:hidden;}
#footer .s_box h2,#footer .contact_us h2{height:25px;background:url(images/underline-h2btm.gif) left bottom repeat-x;font-weight:normal;color:#eee;font-size:14px;}
#footer .s_box ul li{background:url(images/underline-btm.gif) left bottom repeat-x;padding:0px 5px;}
#footer .s_box ul li a{display:block;height:28px;width:178px;line-height:28px;overflow:hidden;color:#999;text-decoration:none;background:url(images/double-arrow.gif) 0px 9px no-repeat;padding-left:12px;}
#footer .s_box ul li a:hover{text-decoration:underline;}
#footer .s_box ul li ul li a{background:url(images/list_type_a.gif) 12px 10px no-repeat;width:170px;padding-left:20px;height:26px;line-height:26px;color:#666;overflow:hidden;}
#footer .contact_us {margin-top:25px;width:200px;font-size:10px;color:#999;}
#footer .contact_us p{line-height:18px;}
#footer .contact_us ul{padding-top:20px;}
#footer .contact_us ul li {height:20px;line-height:20px; background:url(images/tick-grey.gif) left center no-repeat;padding-left:20px;}
#footer .copyright{height:37px;width:100%;line-height:37px; background:url(images/underline-btm.gif) left top repeat-x;font-size:10px;font-family:Arial;color:#636363;margin-top:40px;}
#footer .copyright a{color:#eee;}
#footer .copyright span a{font-size:10px;font-family:microsoft yahei;color:#5b5b5b;}
