@charset "utf-8";
/* CSS Document */

/*顶部*/
#header {
    width:960px;
	height:237px;
	margin:0 auto;
}
#header .h_top {
    height:115px;
	overflow:hidden;
    background:#1068b1 url(images/top.jpg) no-repeat;
}
#header .h_top .blog-name a {
    display:block;
    float:left;
    width:326px;
	height:40px;
	margin:50px 0 0 30px;
	text-indent:-99999px;
	background:url(images/logo.png) no-repeat;
}
#header .h_top .description {
   float:left;
   color:#958615;
   padding:3px 0 0 100px;
}
#header .h_top .blog-feed {
    display:inline;
    float:right;
    width:80px;
	height:34px;
	margin:47px 43px 0 0;
}
#header .h_top .blog-feed a {
    float:left;
	margin-right:3px;
}
#header .h_menu {
    height:62px;
	overflow:hidden;
    background:#1068b1 url(images/img_a.png) no-repeat;
}
#header .h_menu ul {
    float:left;
    padding:20px 0 0 35px;
}
#header .h_menu ul li {
    float:left;
	padding:0 10px;
}
#header .h_menu ul li a {
    display:block;
	width:70px;
	height:15px;
	overflow:hidden;
	text-indent:-9999px;
}
#header .h_menu ul .m_01 a {
    background:url(images/menu_t.png) no-repeat;
}
#header .h_menu ul .m_02 a {
    background:url(images/menu_t.png) 0 -20px no-repeat;
}
#header .h_menu ul .m_03 a {
    background:url(images/menu_t.png) 0 -40px no-repeat;
}
#header .h_menu ul .m_04 a {
    width:150px;
	background:url(images/menu_t.png) 0 -59px no-repeat;
}

#header .h_menu ul .m_01 a:hover {
    background:url(images/menu_t.png) 0 -80px no-repeat;
}
#header .h_menu ul .m_02 a:hover {
    background:url(images/menu_t.png) 0 -100px no-repeat;
}
#header .h_menu ul .m_03 a:hover {
    background:url(images/menu_t.png) 0 -120px no-repeat;
}
#header .h_menu ul .m_04 a:hover {
    width:150px;
	background:url(images/menu_t.png) 0 -139px no-repeat;
}

#header .h_menu ul .mon_01 a {
    background:url(images/menu_t.png) 0 -80px no-repeat;
}
#header .h_menu ul .mon_02 a {
    background:url(images/menu_t.png) 0 -100px no-repeat;
}
#header .h_menu ul .mon_03 a {
    background:url(images/menu_t.png) 0 -120px no-repeat;
}
#header .h_menu ul .mon_04 a {
    background:url(images/menu_t.png) 0 -139px no-repeat;
}

/*搜索*/
#header .search {
    float:right;
    width:270px;
	height:30px;
	margin:17px 10px 0 0;
	overflow:hidden;
	display:inline;
}
#header .search #s {
    float:left;
    width:150px;
	height:27px;
	margin:1px 5px 0 0;
	padding:5px 0 0 10px;
    background:none;
	border:none;
	color:#0099FF;
}
#header .search #searchsubmit {
    float:left;
    width:70px;
	height:30px;
    background:none;
	border:none;
	color:#999999;
	cursor:pointer;
}

/*二级导航*/
#header .h_nav {
    height:60px;
    background:url(images/img_a.png) 0 -72px no-repeat;
}
#header .h_nav ul {
    padding:8px 0 0 20px;
	overflow:hidden;
}
#header .h_nav ul li {
    float:left;
	margin-left:10px;
	padding-left:10px;
	text-shadow:-1px -1px 0 #2285cc;
	background:url(images/nav_b.png) 0 3px no-repeat;
}
#header .h_nav ul .current-cat a {
    text-decoration:underline;

}
#header .h_nav ul li a {
    color:#FFFFFF;
	text-decoration:none;
}
#header .h_nav ul li a:hover {
	text-decoration:underline;
}

/*内容部分*/
#jun_body {
    width:960px;
	margin:0 auto;
	font-family:"Microsoft YaHei","微软雅黑","Microsoft JhengHei","宋体",Verdana,Georgia;
	background:url(images/conn_bg.png) repeat-y;
}
#jun_body .cont-foot {
    clear:both;
    height:32px;
	padding:18px 310px 0 0;
	text-align:center;
	background:url(images/img_a.png) 0 -210px no-repeat;
}
#content {
    float:left;
    width:720px;
	padding-top:15px;
	overflow:hidden;
}
#content .error_p {
    text-align:center;
	font-size:18px;
	color:#666666;
}
#content .jun-article {
    margin:10px 0;
	background:url(images/title_bg.png) no-repeat;
}
#content .title-top {
    width:655px;
	padding:3px 30px 0px 35px;
	overflow:hidden;
	border-bottom:1px solid #51545d;
}
#content .title-top h2 {
    float:left;
    font-size:20px;
}
#content .title-top h2 a {
    color:#333333;
}
#content .title-top h2 a:hover {
    color:#333333;
	text-shadow:-2px -2px 0 #FFF;
	background:#DDD;
	padding:0 2px;
}
#content .title-top span {
    float:right;
	width:85px;
	height:20px;
	color:#FFFFFF;
	margin-top:5px;
	font-size:12px;
	padding-left:11px;
	background:url(images/img_a.png) -350px -142px no-repeat;
}

#content .title-b {
    padding:2px 33px 0 40px;
	color:#888888;
	font-size:12px;
	overflow:hidden;
}
#content .title-b a {
    color:#888888;
}
#content .title-b .jun-cat {
    float:left;
}
#content .title-b .jun-views {
    float:right;
}
#content .title-b .jun-comments {
    float:right;
	margin-left:15px;
}
#content .content-body {
    padding:15px 20px 20px 20px;
	overflow:hidden;
	text-shadow:1px 1px 0 #fbfbfb;
}
#content .content-body p {
	padding: 0px 0px 15px;
	margin: 0px;
}
#content .content-body .read-more {
    width:91px;
	height:24px;
	font-size:12px;
	padding:0 0 0 10px;
	text-shadow:1px 1px 0 #666666;
	background:url(images/img_a.png) -506px -142px no-repeat;
}
#content .content-body .read-more a {
    color:#FFFFFF;
}
#content .content-body .read-more a:hover {
    color:#FFFF00;
}

/*侧栏样式*/
#sidebar {
    float:right;
    width:220px;
	font-size:14px;
	margin-top:-8px;
	position:relative;
}
#sidebar a:link,#sidebar a:visited {
    color:#555555;
}
#sidebar a:hover {
    color:#0099CC;
}
#sidebar ul {
    overflow:hidden;
}
#sidebar .side-content,#sidebar .linkcat {
    margin-bottom:10px;
	overflow:hidden;
	padding-bottom:10px;
	background:url(images/sode_b.png) bottom no-repeat;
}
#sidebar .side-content h2,#sidebar .linkcat h2 {
    height:30px;
	font-size:16px;
	padding-top:9px;
	text-align:center;
	color:#eeeeee;
	text-shadow:-1px -1px 0 #666666;
	background:url(images/img_a.png) 0px -142px no-repeat;
	font-family:"Microsoft YaHei","微软雅黑","Microsoft JhengHei","华文黑体",STHeiti,Georgia,"Times New Roman",Times,serif;
}
#sidebar .side-content ul,#sidebar .linkcat ul {
    padding:8px 2px 5px 2px;
    background:#FFFFFF;
	overflow:hidden;
	zoom:1;
}
#sidebar .side-content .tags {
    padding:8px 15px 5px 15px;
    background:#FFFFFF;
	overflow:hidden;
	zoom:1;
}
#sidebar .side-content .tags a {
    padding:0 3px;
}
#sidebar .side-content ul li,#sidebar .linkcat ul li {
    width:177px;
	height:30px;
    padding:0 10px 0 30px;
	line-height:30px;
	overflow:hidden;
	border-bottom:1px solid #d7d7d7;
	background:url(images/li_bg.png) 6px 4px no-repeat;
}
/*日志归档*/
#archiveform select {
    width:190px;
}

/*底部样式*/
#footer {
    width:100%;
	height:356px;
	margin-top:15px;
	background:url(images/foot_bg.png) repeat-x;
}
#footer .foot-center {
    width:960px;
	margin:0 auto;
	padding-top:25px;
	background:url(images/footer_content_bg.png) 10px 1px no-repeat;
}
#footer .foot-center .foot-list {
    float:left;
    width:210px;
	height:270px;
	overflow:hidden;
	padding-right:35px;
	background:url(images/footer-boundary.png) 220px 30px repeat-y;
}
#footer .foot-center h4 {
    color:#bbbbbb;
	font-size:14px;
	padding:2px 0 5px 5px;
}
#footer .foot-center .foot-list ul li {
    width:200px;
	height:41px;
	overflow:hidden;
	padding-bottom:6px;
	color:#666666;
}
#footer .foot-center .foot-list ul li a {
    display:block;
	width:200px;
	height:20px;
	overflow:hidden;
    color:#1e7ec4;
	font-weight:600;
}
#footer .foot-center .foot-stats {
    overflow:hidden;
    background:url(images/weima.png) right 40px no-repeat;
}
#footer .foot-center .foot-stats ul li {
    width:200px;
    line-height:33px;
	color:#666666;
}
#footer .foot-center .foot-list ul li a:hover {
    text-decoration:underline;
}
#footer .foot-center .foot-list ul li span {
    color:#94979f;
}
#footer .foot-center .foot-stats .login_reg {
	width:200px;
	overflow:hidden;
	margin-top:-6px;
}
#footer .foot-center .foot-stats .login_reg li {
    float:left;
	width:auto;
}
#footer .copytight {
    clear:both;
    width:950px;
    height:15px;
	text-align:center;
	padding-top:30px;
	color:#333333;
}
#footer .copytight a {
    color:#333333;
}

/* 通用样式 */
.center {
	text-align: center;
}
.aligncenter {
    display: block;	
	margin-left: auto; 
	margin-right: auto;
}
img.center, img[align="center"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignleft {
	float: left;
}
img.alignleft, img[align="left"] {
	float:left;
	margin: 8px 10px 8px 5px;
}
.alignright {
	float: right;
}
img.alignright, img[align="right"] {
	float:right;
	margin: 8px 5px 8px 10px;
}
.clear {
	clear:both;
}
hr.clear {
	clear:both;
	visibility: hidden;
	margin: 0px;
	padding: 0px;
}

blockquote {
	background:#FAFAFA none repeat scroll 0 0;
	border:1px solid #E6E6E6;
	border-left:5px solid #E6E6E6;
	margin:10px;
	padding:5px 10px 0;
}


/* 评论样式*/
#comments {
    padding:0 25px;
	border-bottom:1px solid #cccccc;
}
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	text-align: justify;
	padding:0 25px;
	}

.commentlist li {
	padding: 15px 5px 10px 5px;
	list-style:none;
	border-bottom:1px solid #dddddd;
	overflow:hidden;
	zoom:1;
	background:#f6f6f6;
	margin-top:10px;
	
	-moz-border-radius: 6px;
	-khtml-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	
	-webkit-box-shadow:3px 2px 3px #ddd;
    -moz-box-shadow:3px 2px 3px #ddd;
	box-shadow:3px 2px 3px #ddd;
}
.commentlist li:hover,.commentlist li.hover {
    background:#FFFFFF;
}
.commentlist li ul li { 
	margin-right: -5px;
	margin:10px 0 10px 30px;
	width:92%;
	border:1px dashed #c2e28d;
	background:#e6e6e6;
}

.commentlist p {
   margin-bottom:5px;
   padding:0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
.comment_author_photo {
    float:left;
}
.comment_author_photo img {
    padding:5px 15px 5px 10px;
}
.commnet_info {
	float:left;
	padding:0;
}
.comment_author_name {
    display:inline-block;
	font-weight:bolder;
	padding:0 0 5px 0;
}
.comment_time,.comment_time a {
    color:#999999;
}
.jun_comment {
    overflow:hidden;
}
#respond {
    padding:10px 25px;
	margin-top:20px;
	overflow:hidden;
}
#respond  textarea {
    width:97%;
	height:150px;
	padding:5px;
}
#commentform #author,#commentform #email,#commentform #url {
    width:200px;
	height:17px;
	margin:5px 0;
	padding:5px 0 0 25px;
}
#commentform #author {
	background:#ffffff url(images/common_p.png) 3px 3px no-repeat;
}
#commentform #email {
	background:#ffffff url(images/common_p.png) 3px -22px no-repeat;
}
#commentform #url {
	background:#ffffff url(images/common_p.png) 3px -45px no-repeat;
}
#commentform small {
    font-size:12px;
	color:#999999;
}
#commentform small em {
    color:#FF3300;
	font-weight:bold;
}
#commentform #submit {
    width:101px;
	height:27px;
	color:#FFFFFF;
	border:none;
	margin-top:5px;
	cursor:pointer;
	background:url(images/submit.png) no-repeat;
}

/*上一篇下一篇*/
.post_nav  {
    padding:5px 25px;
	overflow:hidden;
}

/*日志相关信息-相关日志*/
#post_metadata {
    padding:20px 15px;
	margin:20px 0;
	font-size:12px;
	border-bottom:1px dashed #CCCCCC;
	border-top:1px dashed #CCCCCC;
	overflow:hidden;
}
.post_class h3 ,#post_metadata h3 {
	padding-right:10px;
	margin:0;
	text-align:right;
	width:70px;
	font-size:12px;
	line-height:20px;
	font-weight:bold;
	float:left;
}
.post_class ul ,#post_metadata .content {
	margin-left:90px;
	overflow:hidden;
}
.post_class {
    border-bottom:2px solid #EEEEEE;
	padding:0 15px 20px 15px;
    overflow:hidden;
}
.post_class li {
    width:255px;
	float:left;
	list-style:none;
	line-height:20px;
}

/*其他样式*/
.runcode {padding:10px 0 0 10px;border:1px solid #DDDDDD;background:#F9F9F9;}
.runcode .runcode_text {width:95%;height:150px; font-size:12px; font-family:Consolas,"Bitstream Vera Sans Mono",monospace,"Courier New";}

/*链接页面*/
#content .jun_links .blogroll li {
	float:left;
	padding-left:8px !important;
	padding-right:12px !important;
	width:100px;
}
#content .jun_links li { list-style:none;}
#content .jun_links .linkcat {margin-bottom:10px;overflow:hidden;}
#content .jun_links .linkcat h2 {padding:8px;}

/*代码样式*/

pre {
	border:1px dashed #BBBBBB;
	font-size:12px;
	line-height:20px;
	margin:4px 0;
	overflow:auto;
	padding:4px 8px;
	margin:0 auto 10px auto;
	width:95%;
	background-color:#F8F8F8;
	white-space:pre-wrap; /* css-3 */
	word-wrap:break-word; /* Internet Explorer 5.5+ */
}
code {
    display:inline-block;
	color:#333333;
	font-family:Consolas,"Bitstream Vera Sans Mono",monospace,"Courier New";
}
.content-body pre .code_css {padding:15px 0 5px 5px;background: url(images/code_css.png) no-repeat 20px 2px;}
.content-body pre .code_html {padding:15px 0 5px 5px;background: url(images/code_html.png) no-repeat 20px 2px;}
.content-body pre .code_js {padding:15px 0 5px 5px;background: url(images/code_js.png) no-repeat 20px 2px;}
.content-body pre .code_all {padding:15px 0 5px 5px;background: url(images/code_all.png) no-repeat 20px 2px;}

