@charset "utf-8";
/*  
Theme Name: GlossyBlue
Theme URI: http://www.ndesign-studio.com
Description: WP glossy theme designed by <a href="http://www.ndesign-studio.com">N.Design Studio</a>.
Version: 1.4
Author: Nick La
Author URI: http://www.ndesign-studio.com

	This theme was designed and built by Nick La.

	By downloading and using this theme, you agree to the following terms:
    - You may NOT resell this theme
    - A link back to N.Design Studio must be retained in the footer (either modified or unmodified)
    - You may use this theme for personal or commercial projects
    - You may modify, translate or distribute

*/
body, h1, h2, h3, p, blockquote, dl, dt, dd, ul, ol, li, button, input, textarea {
	margin:0;
	padding:0;
}

body {
	font: 13px/180% Corbel,Verdana,Arial,Helvetica,"宋体",sans-serif;
	color: #424A5E;
	background: #FFFFFF url(images/main-bg.gif);
	margin: 0px;
	padding: 0px 0px 30px;
}
a {
	color: #CC6600;
	text-decoration: none;
}
a:visited {
	color: #CC6633;
	text-decoration: none;
}
a:hover {
	color: #FF6600;
	text-decoration: underline;
}
img {
	border: none;
}
p {
	padding: 0px 0px 15px;
	margin: 0px;
}
h1 {
	margin:0px;
	background: url(images/header-icon.gif) no-repeat;
	padding-left: 70px;
	height: 60px;
	font: bold 36px/100% "Trebuchet MS", Tahoma, Arial;
	color: #c9eefe;
}
h1 a, h1 a:visited{
	color: #c9eefe;
	text-decoration: none;
}
h1 a:hover{
	color: #ffffff;
	text-decoration: none;
}
h2 {
	color: #59770e;
	margin: 0px 0px 2px;
	border-bottom: 1px dotted #CCCCCC;
	letter-spacing: -1px;
	font: normal 18px/100% "Microsoft YaHei","微软雅黑","Microsoft JhengHei","华文黑体",STHeiti,Georgia,"Times New Roman",Times,serif;
	padding-bottom: 3px;
}
h2 a, h2 a:visited {
	color: #59770e;
	text-decoration: none;
}
h2 a:hover {
	color: #FF6600;
	text-decoration: none;
}
h3 {
	font: normal 14px/100% "Trebuchet MS", Tahoma, Arial;
	color: #758d38;
	margin: 10px 0px 5px;
}
h4 {
	font: normal 13px/100% "Trebuchet MS", Tahoma, Arial;
	color: #758d38;
	margin: 10px 0px 5px;
}
form {
	margin:0px;
	padding:0px;
}
#page {
	margin: 0px auto;
	width: 950px;
	border-bottom: 5px solid #d5e6eb;
	border-left: 5px solid #d5e6eb;
	border-right: 5px solid #d5e6eb;
	background: #FFFFFF url(images/content-bg.gif) repeat-y;
}
/* header area */
#header {
	background: #0FACEA url(images/header-bg.jpg) no-repeat;
	height: 170px;
	border-bottom: 3px solid #59780a;
	position: relative;
}
#headerimg {
	position: relative;
	padding: 30px 0px 0px 40px;
	height: 60px;
}
#headerimg .description{
	position: absolute;
	left: 110px;
	bottom: 3px;
	color: #c9eefe;
	font-size: 14px;
}
#nav {
	list-style: none;
	margin: 0px;
	position: absolute;
	right: 10px;
	bottom: 0px;
}
#nav li {
	float: left;
	margin-left: 5px;
}
#nav .current_page_item a, #nav .current_page_item a:visited{
	color: #000000;
	text-decoration: none;
}
#nav .page_item a{
	color: #ffffff;
	text-decoration: none;
	background: #5c8d0c url(images/nav-button-bg.gif) repeat-x;
	padding: 5px 15px;
	font: bold 14px/100% Arial, Helvetica, sans-serif;
	border-top: 1px solid #E6EED0;
	border-left: 1px solid #AFCD69;
	border-right: 1px solid #AFCD69;
	display: block;
}
#nav .page_item a:hover {
	color: #000000;
}

/* content area */
#content {
	padding: 10px 0px 30px 20px;
	float: left;
	width: 640px;
	overflow: hidden;
}
.post {
	clear:both;
	padding-top: 20px;
}
.post-date {
	width: 45px;
	height: 49px;
	float:left;
	background: url(images/date-bg.gif) no-repeat;
}
.post-month {
	font-size: 12px;
	text-transform: uppercase;
	color: #FFFFFF;
	text-align: center;
	display:block;
	line-height: 11px;
	padding-top: 2px;
	margin-left: -3px;
}
.post-day {
	font-size: 18px;
	text-transform: uppercase;
	color: #999999;
	text-align: center;
	display:block;
	line-height: 18px;
	padding-top: 7px;
	margin-left: -3px;
}
.post-title {
	float: left;
	margin-left: 10px;
	width: 585px;
}

.entry {
	clear: both;
	padding-top: 10px;
	font-size:13px;
}
.entry ol {
	margin:0 0 0 42px;
}
.entry ul {
    margin:0 0 0 28px;
}
.entry p {
	padding:5px 0;
}
.more-link {display:block;width:100%;font-weight:bold;}
.post-cat {
	background: url(images/mini-category.gif) no-repeat;
	padding-left: 20px;
	float:left;
	color: #999999;
}
.post-comments {
	background: url(images/mini-comments.gif) no-repeat;
	padding-left: 20px;
	float: right;
}
.post-views {
	background: url(images/mini-loginout.gif) 0 3px no-repeat;
	padding:0 20px;
	float: right;
	color:#888888;
}
.post-calendar {
	background: url(images/mini-calendar.gif) no-repeat;
	padding-left: 20px;
	float: right;
	color: #999999;
}
.mini-add-comment {
	background: url(images/mini-down-arrow.gif) no-repeat;
	padding-left: 18px;
	float: right;
}
.navigation {
	clear: both;
	padding: 10px 0px;
	overflow:hidden;
}
.navigation a, .navigation a:visited {
	color: #59770e;
}
.previous-entries a {
	float: left;
	padding-left: 18px;
	background: url(images/mini-nav-left.gif) no-repeat left center;
}
.next-entries a {
	float: right;
	padding-right: 18px;
	background: url(images/mini-nav-right.gif) no-repeat right center;
}

/* comments area */
#comments, #respond {
	clear: both;
}
#comments, #respond h3 {
	padding: 10px 0 5px 0;
	border-bottom: 1px dotted #CCCCCC;
}
.commentlist {
	margin: 10px 0px;
	line-height: 130%;
}
.commentlist li{
	padding: 5px 10px;
}
.commentlist .alt {
	background: #f1fedb;
}
.commentlist cite {
	font-weight: bold;
	font-style: normal;
	color: #CC6600;
}
.commentlist cite a, .commentlist cite a:visited {
	color: #CC6600;
}
.commentlist small {
	margin-bottom: 5px;
	display: block;
	font-size: 12px;
}
#commentform {
	margin-top: 10px;
	font: 12px Arial, Helvetica, sans-serif;
	overflow:hidden;
}
#commentform p {
	padding: 3px 0px;
	margin: 0px;
}
#commentform label{
	color: #787878;
	font-size: 12px;
}
#commentform small {
	font-size:12px;
	display:inline;
	line-height:20px;
}
#commentform input{
	width: 200px;
	background:#f1fedb;
	border: 1px solid #bdd77f;
	padding: 3px;
	margin-top: 3px;
}
#commentform textarea{
	width: 98%;
	height: 115px;
	background:#f1fedb;
	border: 1px solid #bdd77f;
	padding: 2px;
	margin-top: 3px;
}
#commentform textarea:focus, #commentform input[type="text"]:focus {
	background: #ffffff;
}
#commentform #submit{
	background: url(images/btn-bg.gif) no-repeat;
	font: bold 14px/150% Arial, Helvetica, sans-serif;
	color: #FFFFFF;
	border: none;
	float:right;
	width: 150px;
	height: 28px;
	cursor: pointer;
}

/*sidebar */
#sidebar {
	float: right;
	padding: 0px 10px 20px 0px;
	width: 250px;
	color: #666666;
	overflow: hidden;
}
/*sidebar title (h2) */
#sidebar h2, #sidebar .sidebartitle{
	font: bold 14px/100% "Microsoft YaHei","微软雅黑","Microsoft JhengHei","华文黑体",Verdana,STHeiti,Georgia,"Times New Roman",Times,serif;
	color: #758d38;
	margin: 20px 0px 2px;
	border-bottom: 1px solid #CFE1AC;
}
#archiveform select {
    width:220px;
	margin:10px 0 0 10px;
}
/*sidebar text styles */
#sidebar a, #sidebar a:visited{
	color: #495233;
	text-decoration: none;
}
#sidebar a:hover{
	color: #FF6600;
	text-decoration: none;
}
/*sidebar list level1 */
#sidebar ul {
	margin: 0;
	padding: 0;
}
#sidebar ul li {
	list-style: none;
	margin: 0;
	padding: 0;
	border: none;
	overflow:hidden;
	ZOOM:1;
}
/*sidebar list level2 */
#sidebar ul li ul {
	padding: 0;
	margin: 0;
}
#sidebar ul li ul li{
	padding: 2px 0 2px 0px;
	border-bottom: 1px solid #dceeb7;
}
/*sidebar list level3 */
#sidebar ul li ul li ul li{
	padding: 1px 0 1px 10px;
	border: none;
}
/*blogroll */
ul.new-comment li{
	background: url(images/mini-blogroll.gif) no-repeat !important;
	padding-left: 16px !important;
}
/*blogroll */
ul.linkcat,ul.blogroll {
    overflow:hidden;
}
ul.blogroll li{
	padding-left: 8px !important;
	padding-right: 12px !important;
	width:100px;
	float:left;
}
/*category widget */
ul.list-cat li, li.widget_categories li{
	background: url(images/mini-category.gif) no-repeat !important;
	padding-left: 20px !important;
}
/*archives widget */
ul.list-archives li, li.widget_archives li{
	background: url(images/mini-monthly-archive.gif) no-repeat !important;
	padding-left: 20px !important;
}
/*pages widget */
ul.list-page li, li.widget_pages li, li.widget_recent_entries li{
	background: url(images/mini-page.gif) no-repeat !important;
	padding-left: 20px !important;
}
/*sub-pages */
ul.list-page li ul li, li.widget_pages li ul li{
	background: url(images/mini-page-arrow.gif) no-repeat !important;
	padding-left: 10px !important;
}
/*recent comments widget */
li.widget_recent_comments li{
	background: url(images/mini-recent-comments.gif) no-repeat !important;
	padding-left: 20px !important;
}
/*calendar widget */
li.widget_calendar td {
	padding: 1px 7px;
}
/*text widget */
.textwidget {
	padding-top: 5px;
}

/*search form */
#searchform {
	margin: 15px 0 0;
}
#searchform br {
	display: none;
}
#searchform #s {
	border:1px solid #203346;
	width: 160px;
	height: 22px;
	padding: 4px 5px 0px 5px;
	border: 1px solid #bed881;
	background: #fff;
	margin-right: 2px;
	color: #000000;
	font-weight: normal;
}
/* search form button - to specify button only use input[type="submit"] */
#searchform input {
	background: url(images/search-btn-bg.gif) no-repeat;
	border: none;
	width: 67px;
	height: 26px;
	font: bold 12px Arial, Helvetica, sans-serif;
	color: #FFFFFF;
	vertical-align: middle;
}

/* footer area */
#footer {
	clear: both;
	background: #048DB4 url(images/footer-bg.gif) no-repeat;
	color: #ACD7EE;
	font-size: 12px;
	line-height: 130%;
	padding-bottom: 10px;
	overflow:hidden;
	zoom:1;
}
#footer a, #footer a:visited {
	color: #ffffff;
}
#footer h4 {
	font: bold 14px/100% "Trebuchet MS", Tahoma, Arial;
	color: #9cdbfb;
	margin: 10px 0px 5px;
}
.footer-recent-posts {
	width: 215px;
	float: left;
	margin-left: 10px;
	display:inline;
}
.footer-recent-posts a {
    display:inline-block;
	font-size:12px;
	line-height: 135%;
	font-weight: bold;
	width:100%;
	height:15px;
	overflow:hidden;
}
.footer-recent-posts ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
	line-height: 110%;
}
.footer-recent-posts ul li {
	background: url(images/mini-footer-post.gif) no-repeat;
	padding: 0px 0px 10px 20px;
	height:30px;
	overflow:hidden;
}
.footer-about {
	width: 230px;
	float: right;
	padding-right: 10px;
	padding-left: 30px;
	background: url(images/footer-right-bg.gif) no-repeat;
}
.footer-about ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
}
.footer-about ul li {
	background: url(images/mini-footer-post.gif) no-repeat;
	padding: 0px 0px 12px 20px;
	height:15px;
	overflow:hidden;
}
/* credits */
#credits {
	margin: 0px auto;
	width: 950px;
	color: #7a9299;
	font-size: 12px;
	line-height: 120%;
}
#credits a, #credit a:visited {
	color: #048db4;
}
.rss {
	background: url(images/mini-rss.gif) no-repeat left center;
	padding-left: 18px;
	padding-bottom: 2px;
	margin-left: 8px;
}
.loginout {
	background: url(images/mini-loginout.gif) no-repeat left center;
	padding-left: 18px;
	padding-bottom: 2px;
	margin-left: 8px;
}

/* alignments */
.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;
}

/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	text-align: justify;
	}

.commentlist li {
	padding: 15px 5px 10px 5px;
	list-style:none;
	border-bottom:1px solid #dddddd;
	overflow:hidden;
	}
.commentlist li ul li { 
	margin-right: -5px;
	margin:10px 0 10px 30px;
	width:92%;
	border:1px dashed #c2e28d;
	background:#e5f8c3;
}

.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:3px 0 5px 0;
}
.comment_time,.comment_time a {
    color:#999999;
}
.jun_comment {
    overflow:hidden;
}
/* End Comments */

/*相关日志and日志信息*/
.post_class {
    border-bottom:2px solid #CCCCCC;
	padding-bottom:20px;
    overflow:hidden;
}
.post_class h3 ,#post_metadata h3 {
	padding-right:10px;
	margin:0;
	text-align:right;
	width:75px;
	font-size:14px;
	line-height:20px;
	font-weight:bold;
	float:left;
}
.post_class ul ,#post_metadata .content {
	margin-left:90px;
	overflow:hidden;
}
.post_class li {
    width:255px;
	float:left;
	list-style:none;
	line-height:20px;
}
#post_metadata {
    padding:20px 0;
	margin:20px 0;
	border-bottom:1px dashed #CCCCCC;
	border-top:1px dashed #CCCCCC;
	overflow:hidden;
}

.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";}
/*链接页面*/
.jun_links li { list-style:none;}
.jun_links .linkcat {margin-bottom:10px;}
.jun_links .linkcat h2 {padding:8px;}
/*首页登录注册*/
#footer .login_reg {display:inline;}
#footer .login_reg li {background:none;display:inline;padding:0;}

pre {
	border:1px dashed #BBBBBB;
	font-size:12px;
	line-height:20px;
	margin:4px 0;
	overflow:auto;
	padding:4px 8px;
	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";
}
.entry pre .code_css {padding:15px 0 5px 5px;background: url(images/code_css.png) no-repeat 20px 2px;}
.entry pre .code_html {padding:15px 0 5px 5px;background: url(images/code_html.png) no-repeat 20px 2px;}
.entry pre .code_js {padding:15px 0 5px 5px;background: url(images/code_js.png) no-repeat 20px 2px;}
.entry pre .code_all {padding:15px 0 5px 5px;background: url(images/code_all.png) no-repeat 20px 2px;}



.entry .ffox_most_active li {
	list-style:none;
	float:left;
	border:none;
	padding-left:0;
	width:41px;
	background:none;
}
.entry .ffox_most_active li a {
    display:block;
	width:32px;
	height:32px;
	padding:2px;
	border:1px solid #dddddd;
}
.entry .ffox_most_active li a:hover {
	border:1px solid #FF6600;
}
.entry .ffox_most_active img.avatar {
	width:32px;
	height:32px;
}
