/* 
    Document   : blog
    Created on : 2013-10-8, 15:30:01
    Author     : 陈铭
    Description:
        Purpose of the stylesheet follows.
*/

body {
	font-size: 16px;
	line-height: 1.6;
	color: #333;
	letter-spacing: 1px;
}

body, h1, h2, h3, h4, h5 {
	font-family: Avenir, 'Lucida Grande', Calibri, 'Trebuchet MS', Helvetica, Arial, 'Hiragino Sans GB', 'WenQuanYi Micro Hei', STHeiti, 'Microsoft Jhenghei', 'Nanum Gothic', sans-serif;
}

header.app {
	padding: 30px 0;
	background: #f9f9f9;
	border-bottom: 1px solid #ddd;
	color: #666;
}

header.app .logo {
	float: left;
	margin-right: 10px;
	width: 75px;
	height: 75px;
	background-image: url("/img/logo_75x75.png");
}

header.app .profile {
	float: left;
}

header.app h1 {
	font-weight: normal;
	margin: 18px 0px 8px;
	padding: 0px;
}

menu.app {
	position: fixed;
	margin: 0px;
	padding: 5px 12px;
	right: 20px;
	top: 0px;
	list-style: none;
	background-color: rgba(0, 0, 0, 0.75);
	color: #eee;
	box-shadow: 1px 1px 1px #333;
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
	-webkit-border-bottom-left-radius: 6px;
	-webkit-border-bottom-right-radius: 6px;
	-moz-border-radius-bottomleft: 6px;
	-moz-border-radius-bottomright: 6px;
	overflow-x: hidden;
}

menu.app li {
	display: inline-block;
	margin: 0px 5px;
}

menu.app a {
	display: block;
	color: #fff;
	text-decoration: none;
}

nav.app {
	text-align: center;
	border-bottom: 1px solid #ddd;
}

nav.app .menu {
	color: #666;
	padding: 15px 10px;
	font-size: 16px;
	display: inline-block;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

nav.app .active {
	font-weight: bold;
}

.wrap {
	position: relative;
	margin: 30px auto 40px;
	clear: both;
}

.wrap .container {
	position: relative;
}

.container .inner {
//	padding: 0 9.11458%;
	clear: both;
}

article.post {
	display: block;
	position: relative;
	padding-top: 10px;
	padding-bottom: 10px;
	word-wrap: break-word;
}

article.post .title a {
	color: #333;
}

article.post .title {
	color: #333332;
	font-size: 1.2em;
	line-height: 1.8em;
}

article.post .tags {
	margin: 5px 0px;
	font-size: 1em;
}

article.post .meta {
	color: #b3b3b1;
	font-size: 1em;
	line-height: 1.6em;
}

.post-detail h1 {
	font-size: 28px;
	font-weight: bold;
	margin: 1.3em 0 0.2em;
	line-height: 28px;
}

.post-detail h3 {
	font-weight: bold;
	margin: 1.3em 0 0.8em;
	line-height: 28px;
}

.post-detail .tags {
	font-size: 1.1em;
	font-weight: normal;
	margin: 0 0 1.5em;
	text-align: right;

}

.post-detail h1 a {
	color: #333;
}

.post-detail h1 .btn-return {
	color: #aaa;
}

.post-detail h1 .btn-return:hover {
	color: #666;
}

.post-detail h1 .btn-share {
	text-decoration: none;
	color: #999;
	font-size: 0.8em;
}

.post-detail h1 .btn-share:hover {
	color: #333;
}

.post-detail h1 em {
	font-size: 0.7em;
	font-weight: normal;
	color: #aaa;
}

.post-detail .eof {
	margin-top: 20px;
	color: #666;
	font-style: oblique;
	font-size: 0.85em;
}

.post-detail .meta {
	color: #b3b3b3;
}

.post-detail article img {
	max-width: 100%;
}

footer.app {
	width: 100%;
	border-top: 1px solid #f2f2f0;
	padding: 30px 0;
}

footer.app p {
	text-align: center;
	line-height: 1.6em;
	font-size: 0.85em;
	color: #999999;
	clear: both;
}

.logo_big {
	text-align: center;
	margin: 70px 0px 40px;
}

.buttons {
    margin: 30px 0px 10px;
}

/* 管理页 */
.td-post-date {
	width: 120px;
	overflow: hidden;
}

.td-post-datetime {
	width: 170px;
	overflow: hidden;
}

.td-post-views {
	width: 100px;
	text-align: right;
	overflow: hidden;
}

.td-post-edit {
	width: 80px;
	overflow: hidden;
}

/* 欢迎页 */
#welcome {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -250px;
	margin-left: -129px;
	text-align: center;
	width: 258px;
}

/* 个人资料 */
.profile-logo {
	width: 100%;
	min-height: 300px;
	background: url("/img/profile_logo.jpg") no-repeat center center;
	margin-bottom: 30px;
}

/* 加载样式 */
.logo_large {
	margin-bottom: 60px;
	width: 258px;
	height: 258px;
	background: url('/img/logo_256x256.png') top center no-repeat;
}

#loading-overlay {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: #f9f9f9;
	z-index: 1998;
	box-shadow: 1px 0px 9px #333;
	-moz-box-shadow: 1px 0px 9px #333;
	-webkit-box-shadow: 1px 0px 9px #333;
}

#loading-overlay .content {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -200px;
	margin-left: -129px;
	text-align: center;
	z-index: 1999;
}

#loading-big {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  margin-top: -35px;
  margin-left: -35px;
  background-image: url('/blog/img/loading_big.gif');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
  border-radius: 6px;
  opacity: 0.8;
  z-index: 8060;
}

/* 错误信息控制台 */
#console {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 10px;
	color: #eee;
	background-color: #000;
	z-index: 2000;
}

/** 回到顶部 **/
#scrollUp {
	bottom: 50px;
	right: 20px;
	height: 38px;
	width: 38px;
	background: url("/blog/img/top.png") no-repeat;
}


/* 个人资料 */
.box-list {
	margin-top: 0px;
	margin-left: -4px;
	padding: 0px;
}

.box-list li {
	float: left;
	margin: 0 0 5px 5px;
	list-style-type: none;
}

.project {
	position: relative;
	height: 280px;
	overflow: hidden;
	width: 280px;
	border: 1px solid #e8e8e8;
	cursor: pointer;
}

.project:hover {
	border: 1px solid #666;

}

.project .info-mask {
	position: absolute;
	bottom: 0px;
	left: 0px;
	right: 0px;
	background-color: #000;
	opacity:0.85;
	padding: 5px;
	color: #fff;
	display: none;
	font-size: 12px;
}

.project .info-mask .year {
	text-align: right;
	font-family: Georgia;
}

.search-form {
	float: right;
	margin-top: 33px
}

.search-form .search-box {
	background: url("/blog/img/searchButton.gif") no-repeat;
	background-position: 8px 12px;
	text-indent: 12px;
}

.categories {
	list-style: none;
	margin: 10px 0px 0px;
	padding: 10px 0px 0px 0px;
	border-top: 1px solid #eee;
}

.catalog {
	margin: 0 0 30px 0;
	background: #F7F7F7;
	border: 1px solid #DFDFDF;
	border-radius: 5px;
}

	.catalog .col-sm-12 {
		margin-left: 0px;
		padding: 0 0 0 10px;
	}
	
	.catalog ul {
		margin: 0;
		padding: 0;
		list-style: none;
	}
	
	.catalog .col-sm-12 > ul > li {
		float: left;
		position: relative;
		height: 30px;
		line-height: 30px;
		margin: 7px 10px 7px 0;
		padding: 0 7px;
		font-size: 14px;
		text-align: center;
		cursor: pointer;
		border-radius: 5px;
	}
	
	.catalog .col-sm-12 > ul > li > a {
		color: #333;
		text-decoration: none;
	}
	
	.catalog .col-sm-12 > ul > li.active > a, .catalog .col-sm-12 > ul > li:hover > a {
		color: #fff;
		font-weight: bold;
	}
	
	.catalog .col-sm-12 > ul > li.active > a .badge, .catalog .col-sm-12 > ul > li:hover > a .badge {
		background: #fff;
		color: #333;
	}
	
	.catalog .col-sm-12 > ul > li.active, .catalog .col-sm-12 > ul > li:hover {
		background-color: #999;
		/*background-color: #494a4b;*/
	}
	
.seo_tags {
	margin: 0;
	padding: 1px 0px 0px 1px;
	list-style: none;

}

.seo_tags li {
	float: left;
	width: 20%;
	
	text-align: center;
	margin-top: -1px;
	margin-left: -1px;
	border: 1px solid #ccc;
	background: #f7f7f7;
}

.seo_tags li a {
	display: block;
	padding: 5px;
	color: #333;
}

.seo_tags li a:hover {
	font-weight: bold;
	background: #faf2cc;
	text-decoration: none;
}

.blank-content {
	text-align: center;
	padding: 50px 0;
	color: #999;
}

.post-comments .eof {
	margin-top: 20px;
	color: #666;
	font-style: oblique;
	font-size: 0.85em;
}

.post-comment-list .comment-block {
	margin-bottom: 20px;
	border-bottom: 1px dashed #eee;
}

.post-comment-list .comment-content {
	border-left: 3px solid #ccc;
	padding-left: 10px;
}

.secret-login-block {
	width: 25%;
	min-width: 280px;
	margin: 30px auto;
	text-align: center;
	background-color: #eeeeee;
	border-radius: 12px;
	padding: 30px;
}

.secret-detail {
	margin-top: 10px;
	margin-bottom: 20px;
}

.bubule-right {
	text-align: right;
}

.bubule-left {
	text-align: left;
}

.bubule-right .bubule-content {
	border: 1px solid #3366FF;
	background-color: #3399FF;
	display: inline-block;
	color: #fff;
	padding: 7px 10px;
	border-radius: 9px;
	max-width: 65%;
	text-align: left;
}

.bubule-left .bubule-content {
	border: 1px solid #ccc;
	background-color: #f7f7f7;
	display: inline-block;
	color: #333;
	padding: 7px 10px;
	border-radius: 9px;
	max-width: 65%;
	text-align: left;
}

.bubule-title {
	color: #666;
}

.bubule-title em {
	font-style: italic;
}