/*
=== LBS^2 StyleSheet File ====================================
 Style Name: cnblog_simplememory
    Version: 1.0
     Author: 仿博客园 SimpleMemory 风格
==============================================================
*/

/****** General Styles ******/
body {
	font-size: 14px;
	font-family: "Helvetica Neue", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Segoe UI", Tahoma, Arial, sans-serif;
	background-color: #f5f6f7;
	color: #333333;
	margin: 0px;
	padding: 0px;
}

table {
	font-family: inherit;
	color: #333333;
	font-size: 14px;
}
td {
	word-break: break-all;
}

a:link,
a:visited {
	text-decoration: none;
	color: #555555;
}
a:hover {
	color: #45b97c;
	text-decoration: none;
}

img {
	vertical-align: middle;
	border: 0px none;
	max-width: 100%;
	height: auto;
}
hr {
	height: 1px;
	border: 0;
	border-top: 1px solid #e8e8e8;
}

/****** Form Controls Styles ******/
form {
	display: inline;
}
input {
	font-family: inherit;
	font-size: 14px;
}
input.text {
	height: 26px;
	padding: 2px 6px;
	color: #333333;
	border: 1px solid #d9d9d9;
	border-radius: 3px;
	background-color: #ffffff;
}
input.text:focus {
	border-color: #45b97c;
	outline: none;
}
input.button {
	height: 28px;
	padding: 0 14px;
	color: #ffffff;
	border: 1px solid #45b97c;
	border-radius: 3px;
	background-color: #45b97c;
	cursor: pointer;
}
input.button:hover {
	background-color: #3aa76f;
	border-color: #3aa76f;
}
textarea {
	font-size: 14px;
	font-family: inherit;
	color: #333333;
	border: 1px solid #d9d9d9;
	border-radius: 3px;
	background-color: #ffffff;
	padding: 6px;
}
textarea:focus {
	border-color: #45b97c;
	outline: none;
}
select {
	font-size: 14px;
	font-family: inherit;
	color: #333333;
	background-color: #ffffff;
}

/* 让表单单元格内的文本框/输入框填满所在容器 */
.formbox-content input.text,
.formbox-comment-content input.text {
	width: 100%;
	box-sizing: border-box;
}
.formbox-content textarea,
.formbox-comment-content textarea {
	width: 100%;
	min-height: 120px;
	box-sizing: border-box;
}

/****** Main Layout Styles ******/
#wrapper {
	max-width: 1200px;
	margin: 20px auto;
	background: #ffffff;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	border-radius: 4px;
	overflow: hidden;
}
#innerWrapper {
	width: 100%;
	position: relative;
}

#header {
	border-bottom: 1px solid #efefef;
}
#innerHeader {
	padding: 24px 30px 0;
}

#footer {
	clear: both;
	background: #ffffff;
	border-top: 1px solid #efefef;
}
#innerFooter {
	padding: 18px 30px;
	color: #999999;
	font-size: 12px;
	text-align: center;
}
#innerFooter a {
	color: #999999;
}
#innerFooter a:hover {
	color: #45b97c;
}

/****** Header Elements Styles ******/
#blogLogo {
	display: none;
}
#logo {
	display: none;
}

/* header title */
.blog-header {
	padding: 0px;
}
h1 {
	padding: 0px;
	margin: 0px;
	color: #333333;
	font-size: 26px;
	font-weight: bold;
}
h1 a:link,
h1 a:visited {
	color: #333333;
	text-decoration: none;
}
h1 a:hover {
	color: #45b97c;
}

/* blog description */
.blog-desc {
	color: #999999;
	font-size: 13px;
	margin-top: 6px;
}

/* nav menu */
#menu {
	margin-top: 18px;
}
#menu ul {
	margin: 0px;
	padding: 0px;
}
#menu li {
	display: inline-block;
	list-style: none;
	margin: 0 22px 0 0;
	padding: 0px;
}
#menu a {
	display: inline-block;
	padding: 12px 0;
	color: #666666;
	font-size: 14px;
	border-bottom: 2px solid transparent;
}
#menu a:hover {
	color: #45b97c;
	border-bottom-color: #45b97c;
}

/****** Content Layout ******/
#mainWrapper {
	padding: 20px 30px 30px;
}

/* sidebar */
.sidebar {
	float: left;
	width: 230px;
}
.sidebar-hide {
	display: none;
	float: left;
}
#innerSidebar {
	padding: 0px;
}

/* content */
.content {
	float: right;
	width: 100%;
	margin-left: -230px;
}
.content-wide {
	width: auto;
	margin: 0px;
}
.content-only {
	width: auto;
	margin: 0px;
}
.content-only #innerContent {
	margin-left: 0;
}
#innerContent {
	margin-left: 252px;
	overflow: visible;
}

/* a style which makes mainWrapper touch the bottom of sidebar and content */
.clear {
	border-top: 1px solid transparent !important;
	margin-top: -1px !important;
	border-top: 0;
	margin-top: 0;
	clear: both;
	visibility: hidden;
}

/****** Sidebar Panels ******/
.panel {
	padding: 0px;
	margin-bottom: 26px;
}
.panel h5 {
	padding: 0 0 8px 12px;
	margin: 0 0 12px;
	color: #333333;
	font-size: 15px;
	font-weight: bold;
	border-left: 4px solid #45b97c;
	border-bottom: 1px solid #f0f0f0;
}
.panel-content {
	padding: 0 6px;
	color: #666666;
	line-height: 1.9;
}
.panel-content ul {
	padding: 0px;
	margin: 0px;
}
.panel-content li {
	padding: 0px;
	margin: 0px;
	color: #666666;
	list-style: none;
}
.panel-content li a {
	color: #666666;
}
.panel-content li a:hover {
	color: #45b97c;
}

/* user panel login form */
#loginForm {
	width: 95%;
}

/* calendar panel */
#calendar {
	width: 200px;
	margin-top: 5px;
}

.calendar-top {
	color: #333333;
	text-align: center;
	padding: 2px;
}
.calendar-year,
.calendar-month {
	font-weight: bold;
}

.calendar-weekdays {
}
.calendar-weekday-cell {
	color: #999999;
	font-size: 12px;
	font-weight: bold;
	text-align: center;
	width: 14%;
	padding: 2px;
}

.calendar-main {
	background: #ffffff;
}
.calendar-day,
.calendar-day-blank,
.calendar-saturday,
.calendar-sunday,
.calendar-today {
	color: #666666;
	text-align: center;
	width: 14%;
	padding: 2px;
}
.calendar-saturday,
.calendar-sunday {
	color: #999999;
	font-weight: bold;
}
.calendar-today {
	border: dashed 1px #45b97c;
	border-radius: 3px;
}

.calendar-day a:link,
.calendar-day a:visited,
.calendar-saturday a:link,
.calendar-saturday a:visited,
.calendar-sunday a:link,
.calendar-sunday a:visited,
.calendar-today a:link,
.calendar-today a:visited {
	text-decoration: none;
	font-weight: normal;
	color: #45b97c;
}

/* stats panel */
#panelStats .panel-content {
	color: #666666;
}

/****** Search Panel ******/
.search-field { width: 155px; }

/****** Announcement Box ******/
.announce {
	margin-bottom: 26px;
	padding: 12px 14px;
	border: 1px solid #f0f0f0;
	border-radius: 4px;
	background-color: #fafafa;
}
.announce-content {
	word-wrap: break-all;
	color: #666666;
}
.announce-time {
	float: right;
	font-size: 12px;
	color: #999999;
}

/****** Default Page Elements ******/
.article-top,
.article-bottom {
	padding: 5px 0;
}

/* page links */
.pages {
	color: #999999;
}
.pages a {
	padding: 2px 8px;
	margin: 0 2px;
	border: 1px solid #e8e8e8;
	border-radius: 3px;
	color: #666666;
}
.pages a:hover {
	border-color: #45b97c;
	color: #45b97c;
}
.pagelink-current {
	font-weight: bold;
}

.view-mode {
	float: right;
	color: #999999;
}

.listbox {
	padding-top: 10px;
	padding-bottom: 10px;
	border-top: 1px dashed #e0e0e0;
	border-bottom: 1px dashed #e0e0e0;
}
.listbox-table {
	width: 99%;
}
.listbox-header {
	word-wrap: break-all;
	color: #333333;
	font-weight: bold;
}
.listbox-entry {
	word-wrap: break-all;
	color: #666666;
}
.listbox-entry a {
	word-wrap: break-all;
}

/* no entry to display box */
.no-entry {
	border: 1px solid #e8e8e8;
	border-radius: 4px;
	margin-top: 15px;
}
.no-entry-message {
	padding-top: 25px;
	padding-bottom: 25px;
	color: #999999;
	background: #fafafa;
	text-align: center;
}

.prev-article { float: left; }
.next-article { float: right; }
.category-label { text-align: center; }

/* text box */
.textbox {
	margin-bottom: 26px;
	padding-bottom: 20px;
	border-bottom: 1px solid #f0f0f0;
}
.textbox-title {
	word-wrap: break-all;
	padding: 0 0 8px;
	font-size: 14px;
}
.textbox-title h4 {
	word-wrap: break-word;
	font-size: 20px;
	font-weight: bold;
	display: inline;
}
.textbox-title h4 a:link,
.textbox-title h4 a:visited,
.textbox-title h4 a:active {
	color: #333333;
}
.textbox-title h4 a:hover {
	color: #45b97c;
}
.textbox-label {
	padding-left: 5px;
	color: #999999;
	font-size: 12px;
}
.textbox-fontsize {
	padding: 5px 0;
	color: #999999;
	font-size: 12px;
	text-align: right;
}
.textbox-content {
	word-wrap: break-word;
	padding: 6px 0 10px;
	line-height: 1.9;
	color: #333333;
}
.textbox-content a {
	color: #45b97c;
}
.textbox-content a:hover {
	text-decoration: underline;
}
.textbox-bottom {
	padding: 8px 0 0;
	color: #999999;
	font-size: 12px;
	border-top: 1px dashed #e8e8e8;
}
.textbox-bottom a {
	color: #999999;
}
.textbox-bottom a:hover {
	color: #45b97c;
}
.editmark {
	margin-top: 20px;
	color: #999999;
	font-size: 12px;
}
.textbox-urls {
	margin-top: 10px;
	padding-top: 5px;
	color: #999999;
	font-size: 12px;
	border-top: 1px dashed #e8e8e8;
}

/* guestbook entry box */
.gbbox {
	margin-bottom: 26px;
	padding-bottom: 20px;
	border-bottom: 1px solid #f0f0f0;
}
.gbbox-title {
	margin-bottom: 10px;
	font-weight: bold;
	color: #333333;
}
.gbbox-label {
	display: inline;
	color: #999999;
	font-size: 12px;
	font-weight: normal;
}
.gbbox-content {
	word-wrap: break-word;
	padding: 10px;
	background-color: #fafafa;
	border-radius: 4px;
	color: #333333;
}
.gbbox-reply {
	padding: 10px;
	color: #555555;
	background-color: #f6f6f6;
	border-top: 1px dashed #e0e0e0;
}
.gbbox-reply-title {
	font-weight: bold;
	margin-bottom: 5px;
}
.gbbox-reply-label {
	color: #999999;
	font-size: 12px;
	font-weight: normal;
	display: inline;
}

/* comments wrapper */
.comment-wrapper {}

/* comments top box */
.comment-top {
	padding: 5px;
	margin: 5px;
	color: #999999;
	background: #fafafa;
	text-align: right;
}
.comment-pages {
	padding: 5px;
	margin: 5px;
	color: #999999;
}

/* comment box */
.commentbox {
	word-wrap: break-word;
	padding: 10px;
	margin: 0 0 12px;
	background: #fafafa;
	border-radius: 4px;
}
.commentbox-title {
	padding: 3px;
	border-bottom: 1px dashed #e0e0e0;
}
.commentbox-label {
	display: inline;
	color: #999999;
	font-size: 12px;
}
.commentbox-content {
	padding: 6px 3px 3px;
	color: #333333;
}
.no-comment-box {
	padding: 10px;
	color: #999999;
	background: #fafafa;
	border: 1px solid #e8e8e8;
	border-radius: 4px;
}

/* trackback box */
.trackbackbox {
	padding: 10px;
	margin: 0 0 12px;
	background: #fafafa;
	border-radius: 4px;
}
.trackbackbox-title {
	padding: 3px;
	border-bottom: 1px dashed #e0e0e0;
}
.trackbackbox-label {
	display: inline;
	color: #999999;
	font-size: 12px;
}
.trackbackbox-content {
	padding: 6px 3px 3px;
	color: #555555;
}
.trackbackbox a {
	color: #45b97c;
}

/* comment form wrapper */
#commentForm {
	width: 99%;
}

/****** normal message box ******/
.messagebox {
	width: 500px;
	border: 1px solid #e8e8e8;
	border-radius: 4px;
	text-align: center;
	background: #ffffff;
	overflow: hidden;
}
.messagebox-title {
	padding: 12px 5px;
	color: #ffffff;
	font-weight: bold;
	background-color: #45b97c;
}
.messagebox-content {
	padding: 16px 10px 20px;
	color: #555555;
	text-align: left;
}
.messagebox-bottom {
	padding: 10px 5px;
	color: #999999;
	background-color: #fafafa;
	border-top: 1px solid #f0f0f0;
}
.messagebox-bottom a {
	color: #45b97c;
}

/****** error message box ******/
.errorbox {
	width: 500px;
	text-align: center;
	background: #fff4f4;
	border: solid 1px #f0b0b0;
	border-radius: 4px;
	overflow: hidden;
}
.errorbox-title {
	color: #ffffff;
	font-weight: bold;
	background-color: #e05c5c;
	padding: 12px 5px;
}
.errorbox-content {
	padding: 16px 10px 20px;
	color: #b03030;
	text-align: left;
}
.errorbox-bottom {
	padding: 10px 5px;
	color: #ffffff;
	background-color: #f4dada;
	border-top: 1px solid #f0b0b0;
}
.errorbox-bottom a {
	color: #b03030;
}

/****** Input Form Styles (table) ******/
.formbox,
.formbox-comment {
	background: #ffffff;
	border: solid 1px #e8e8e8;
	border-radius: 4px;
}

.formbox-title,
.formbox-comment-title {
	padding: 10px 5px;
	color: #333333;
	font-weight: bold;
	text-align: center;
	background-color: #fafafa;
	border-bottom: 1px solid #f0f0f0;
}

.formbox-rowheader,
.formbox-comment-rowheader {
	padding: 8px 5px;
	color: #555555;
	font-weight: bold;
	text-align: right;
}

.formbox-content,
.formbox-comment-content {
	padding: 8px 5px;
}

/* 注册页：协议 textbox 与注册表单水平居中，整卡在视口内垂直居中 */
#innerWrapper > .textbox {
	width: 500px;
	margin: 0 auto 26px;
}
form[name="register"] table.formbox {
	margin: 0 auto;
}
body:has(form[name="register"]) {
	display: flex;
	min-height: 100vh;
	padding: 20px;
	box-sizing: border-box;
}
body:has(form[name="register"]) #wrapper {
	margin: auto;
}

/* smilies list */
.panel-smilies {
	padding: 5px;
	text-align: center;
}
.panel-smilies-title {
	color: #555555;
	text-align: left;
	border-bottom: 1px solid #e8e8e8;
}
.panel-smilies-content {
	padding: 5px;
	line-height: 120%;
}

/****** Upload Page ******/
.upload-page {
	margin: 0px;
	padding: 0px;
	background-color: #ffffff;
	background-image: none;
}
.upload-page form {
	display: block;
	margin: 0;
	padding: 0;
	white-space: nowrap;
}
.upload-page input {
	vertical-align: middle;
}
.upload-page input.text,
.upload-page input.button {
	box-sizing: border-box;
	height: 22px;
	line-height: 20px;
	font-size: 13px;
}
.upload-page input.button {
	padding: 0 12px;
}
.upload-file {
	width: 200px;
}

.upload-error { color: #b03030; }
.upload-done { color: #2e7d32; }

/****** Misc Styles ******/
.comment-text,
.hidden-note {
	font-size: 12px;
	color: #999999;
}
.red {
	color: #e05c5c;
}
.highlight {
	font-weight: bold;
	color: #333333;
	background: #fff6d5;
}
.meta-button {
	margin: 1px;
}

/****** UBB Code Custom Styles ******/
/* IE fix for ul */
* html .ubb-list { margin: 5px; margin-left: 25px; margin-bottom: 15px; }
.ubb-list li {
	margin: 1px;
	padding: 1px;
}

.code {
	word-wrap: break-all;
	padding: 12px;
	margin: 10px 5px;
	font-family: "SFMono-Regular", Consolas, "Courier New", monospace;
	color: #333333;
	background-color: #f6f8fa;
	border-left: 3px solid #45b97c;
	border-radius: 3px;
}

.quote {
	margin: 10px 5px;
	background-color: #f6f8fa;
	border-left: 3px solid #e0e0e0;
	border-radius: 3px;
}
.quote-title {
	padding: 8px 10px;
	color: #666666;
	font-weight: bold;
	border-bottom: 1px dashed #e0e0e0;
}
.quote-content {
	word-wrap: break-all;
	color: #666666;
	padding: 10px;
}

.ubb-obj-div {
	word-wrap: break-all;
	margin: 5px;
	padding: 8px;
	color: #666666;
	background-color: #fafafa;
	border: 1px dashed #e0e0e0;
	border-radius: 3px;
}
