html {
	box-sizing: border-box;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

button,
input,
textarea {
	-webkit-appearance: none;
	outline: 0;
	-webkit-tap-highlight-color: transparent;
}

button:focus,
input:focus,
textarea:focus {
	outline: 0;
}

textarea::placeholder {
	color: #898989;
}

@font-face {
	font-family: "OPPOSans";
	src: url(./OPPOSans.subset.ttf);
}

body {
	font-family: system-ui, "Microsoft Yahei", "Segoe UI", -apple-system, Roboto, Ubuntu, "Helvetica Neue", Arial,
		"WenQuanYi Micro Hei", sans-serif;
	font-family: "sourcehansanscn";
	font-family: "OPPOSans";
	margin: 0;
	line-height: 1.8;
	color: #333;
	font-size: 17px;
	background: #f8f8f8;
}

@media (max-width: 520px) {
	body {
		font-family: system-ui, "Microsoft Yahei", "Segoe UI", -apple-system, Roboto, Ubuntu, "Helvetica Neue", Arial,
			"WenQuanYi Micro Hei", sans-serif;
	}
}

ol,
ul {
	list-style: none;
	padding: 0;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

caption,
td,
th {
	font-weight: 400;
	text-align: left;
}

blockquote:after,
blockquote:before,
q:after,
q:before {
	content: "";
}

blockquote,
q {
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
	quotes: none;
}

blockquote {
	border-left: 3px solid #d0d7de;
	font-weight: 400;
	letter-spacing: 0.01rem;
	margin: 30px 0;
	padding-left: 16px;
	color: #57606a;
	font-size: 16px;
}
a {
	color: #2196f3;
}
a:active,
a:hover {
	outline: 0;
	text-decoration: none;
}

p {
	word-break: break-all;
}

pre {
	padding: 0 20px;
	white-space: pre-wrap;
	word-wrap: break-word;
	font: 14px/22px "courier new";
	position: relative;
	background-color: #f8f8f8;
}

code {
	padding: 2px;
	white-space: pre-wrap;
	word-wrap: break-word;
	word-break: break-word;
	letter-spacing: 0;
	font-size: 15px;
	font-family: Menlo, "Bitstream Vera Sans Mono", "DejaVu Sans Mono", Monaco, Consolas, monospace;
	border-radius: 3px;
	background: #eee;
	padding: 4px 6px;
}

pre code {
	padding: 0;
	border-radius: 0;
	background: none;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}

.screen-reader-text {
	position: absolute;
	left: -9999px;
	top: -9999px;
}

button::-moz-focus-inner {
	border: 0;
	padding: 0;
}

a {
	color: inherit;
	text-decoration: none;
}

input[disabled] {
	cursor: default;
	color: rgba(0, 0, 0, 0.8);
	background-color: rgba(0, 0, 0, 0.05);
}

.home {
	margin: 0 auto;
	max-width: 1000px;
	display: flex;
	justify-content: center;
	padding: 30px 10px 10px;
}

.header {
	width: 260px;
	padding-right: 20px;
}

.sidebar {
	width: 100%;
	position: sticky;
	top: 50px;
}

.autoMenu ul {
	margin: 0;
}

.weight {
	color: #5a5a5a;
	font-size: 16px;
	margin: 0 0 20px 0;
}

.weight .title {
	color: #b3b3b3;
	margin-bottom: 0;
}

.weight-search a {
	display: block;
	width: 100%;
	padding: 0.4rem 1rem;
	color: #666;
	font-size: 14px;
	border-radius: 5px;
	background: #fff;
	transition: all 0.2s linear;
	box-shadow: 0 0 2px 0 rgb(0 0 0 / 4%), 0 0 8px 0 rgb(0 0 0 / 4%);
}

.weight-search a:hover {
	background: #eee;
	text-decoration: none;
}

.weight-hot li a {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	overflow: hidden;
}

.weight-comment li a {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	overflow: hidden;
}

.weight-comment li a:hover {
	text-decoration: none;
}

.main {
	flex: 1;
	max-width: 800px;
}

.container {
	padding: 10px 30px 20px;
	margin-top: 10px;
	border-radius: 10px;
	box-shadow: 0 4px 10px rgba(0, 2, 4, 0.06), 0 0 1px rgba(0, 2, 4, 0.11);
	box-sizing: border-box;
	max-width: 100%;
	background: #fff;
	animation: qh 0.5s;
}

@keyframes qh {
	from {
		transform: translateY(30px);
		opacity: 0;
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

#logo {
	display: inline-block;
	font-size: 26px;
	margin-bottom: 20px;
	padding-right: 10px;
}

#logo img {
	width: 46px;
	border-radius: 10px;
}

#logo:hover {
	color: inherit;
	text-decoration: none;
}

.archives-item-content p {
	font-size: 18px;
}

.archives-item-content p a {
	color: #666;
}

.archives-item-content p a:hover {
	text-decoration: underline;
}

.footer {
	padding-top: 10px;
	font-size: 14px;
	color: #666;
}

.footer > div {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.footer p {
	margin: 0;
}

.footer em {
	padding: 0 6px;
}

.footer .top {
	position: fixed;
	right: 10%;
	bottom: 10%;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 5px 10px rgb(0 0 0 / 20%);
	display: none;
}

.footer .top:hover {
	opacity: 0.8;
	cursor: pointer;
}

.footer .top i {
	display: inline-block;
	width: 17px;
	height: 2px;
	background: #555;
	position: absolute;
	top: 50%;
}

.footer .top i:nth-child(1) {
	transform: rotate(45deg);
	right: 20%;
}

.footer .top i:nth-child(2) {
	transform: rotate(-45deg);
	left: 20%;
}

.index-content {
	font-size: 14px;
	opacity: 0.8;
}

.archives-time {
	margin-right: 4px;
	color: #919191;
	font-size: 15px;
}

.cap {
	position: sticky;
	top: -2px;
	background: #f8f8f8;
	z-index: 9;
	padding: 10px 0;
	box-sizing: border-box;
	border-bottom: 2px solid #eee;
}

.cap::after {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 0;
	width: 104%;
	height: 100%;
	background: #f8f8f8;
}

.cap ul {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
	height: 100%;
}

.cap li a {
	height: 100%;
	padding: 0.5rem 1rem;
	box-sizing: border-box;
	margin: 10px 0 8px 0;
	line-height: 2;
	color: #818181;
	border-radius: 4px;
	font-weight: 500;
	white-space: nowrap;
	position: relative;
	z-index: 1;
	font-size: 16px;
	text-decoration: none;
}

.cap li a.active {
	background: #fff;
	box-shadow: 0 0 2px 0 rgb(0 0 0 / 4%), 0 0 8px 0 rgb(0 0 0 / 4%);
}

.cap li.current a {
	background: #fff;
	box-shadow: 0 0 2px 0 rgb(0 0 0 / 4%), 0 0 8px 0 rgb(0 0 0 / 4%);
}

.post-list a {
	padding: 1rem;
	margin: 1rem 0;
	display: block;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 4px 10px rgba(0, 2, 4, 0.06), 0 0 1px rgba(0, 2, 4, 0.11);
	transition: all 0.2s linear;
}

.post-list a:hover {
	text-decoration: none;
	box-shadow: 0 1px 4px 0 rgb(0 0 0 / 10%), 0 4px 16px 0 rgb(0 0 0 / 10%);
}

.article-img {
	margin-bottom: 10px;
	overflow: hidden;
	border-radius: 10px;
	height: 300px;
	background: no-repeat center;
	background-size: cover;
}

.article-img img {
	width: 100%;
	transition: all 0.2s linear;
}

.post-list a:hover img {
	transform: scale(1.05);
}

.block-title {
	font-weight: 600;
	margin: 0.75rem 0 0.5rem;
	line-height: 1.2;
	font-size: 1.375rem;
	color: #333;
}

.block-content {
	font-size: 16px;
	color: #5a5a5a;
	margin: 10px 0;
}

.block-time .post-tags a {
	background: #eee;
	margin-right: 5px;
	transition: all 0.2s linear;
}

.block-time .post-tags a:hover {
	background: #d5d5d5;
	text-decoration: none;
}

.post-excerpt {
	font-size: 16px;
	color: #666;
}

.posttime {
	color: #919191;
	margin-right: 10px;
	font-size: 15px;
	width: 100%;
}

.post-title {
	font-size: 26px;
	padding: 30px 0 0;
}

.post-time {
	font-size: 15px;
	color: #999;
	margin-top: 10px;
}

.post-content {
	margin-top: 20px;
}

.cate a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #666;
	transition: all 0.2s linear;
	padding: 2px 6px;
	border-radius: 4px;
}

.cate a:hover {
	background: #ededed;
	text-decoration: none;
}

.tags-list a {
	background: #f2f2f2;
	padding: 4px 6px;
	border-radius: 4px;
	color: #666;
}

.tags-list a:hover {
	text-decoration: none;
	background: #d2d2d2;
}

.content {
	margin: 20px 0;
	/*font-size: 1rem;*/
	line-height: 1.8;
	color: #333;
}

.content ol,
.content p,
.content ul {
	margin-top: 20px;
	margin-bottom: 20px;
}

.content .wp-caption,
.content p.with-img {
	margin-left: -60px;
	margin-right: -60px;
}

.content strong {
	font-weight: 700;
}

.content em {
	font-style: italic;
}

.content li {
	margin-left: 30px;
}

.content img {
	box-shadow: 0 5px 10px rgb(0 0 0 / 20%);
}

.content li:before {
	content: "•";
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	font-size: 14px;
	margin-left: -58px;
	padding-right: 15px;
	display: inline-block;
	text-align: right;
	width: 58px;
}

.content ol {
	counter-reset: post;
}

.content ol > li:before {
	content: counter(post, decimal) ".";
	counter-increment: post;
	padding-right: 12px;
}

.content h2 {
	color: var(--color);
	font-size: 24px;
	font-weight: 600;
	margin-top: 30px;
	margin-bottom: 10px;
}

.content h3 {
	color: #121212;
	font-size: 22px;
	margin-top: 30px;
	margin-bottom: 10px;
	padding-left: 10px;
	border-left: 4px solid #767676;
	font-weight: 500;
}

.content hr {
	margin: 0;
	display: block;
	border: 0;
	text-align: center;
}

.content hr:before {
	content: "";
	display: block;
	height: 1px;
	width: 70%;
	margin: 20px auto;
	background: #d6d6d6;
}

.content a {
	color: #2196f3;
	word-break: break-all;
	transition: all 0.1s linear;
	padding: 0 4px;
}

.content a:hover {
	text-decoration: underline;
}

.post-tags {
	color: #666;
	background: #eee;
	padding: 2px 6px;
	border-radius: 5px;
}

.post-tag a {
	color: #666;
	background: #eee;
	padding: 2px 6px;
	border-radius: 5px;
	margin-right: 6px;
}

.page404 {
	margin-top: 30px;
}

.blog-nav {
	text-align: center;
	padding: 6px 25px;
	color: #666;
	margin: 1rem 0;
	display: block;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 2px 8px 0 rgb(0 0 0 / 2%);
	transition: all 0.2s linear;
}

.blog-nav:after {
	content: ".";
	display: block;
	height: 0;
	visibility: hidden;
	clear: both;
}

.prev {
	float: left;
}

.next {
	float: right;
}

#comments > .comment-list > .comment-body > .comment-meta {
	right: 74px;
}

#comments > .comment-list > .comment-body {
	margin-bottom: 20px;
	padding: 20px 15px 10px;
	background: #f3f3f3;
	box-sizing: border-box;
	border-top: 2px solid #f3f3f3;
	border-radius: 5px;
}

#comments > .comment-list > .comment-body #comment-form .user-label {
	background: #eaeaea;
}

.comment-info {
	display: flex;
	align-items: center;
}

.comment-list .comment-body {
	position: relative;
	padding: 15px 10px 0;
}

.comment-list .comment-body .comment-img {
	font-size: 14px;
	display: flex;
	align-items: flex-start;
}

.comment-list .comment-body .comment-img .fn {
	font-style: inherit;
	font-size: 17px;
	color: #808080;
	margin-right: 10px;
}

.comment-list .comment-body .comment-img .avatar {
	width: 50px;
	border-radius: 10px;
	margin-right: 8px;
	border: 1px solid #eee;
}

#comments > .comment-list > .comment-body > .comment-children .comment-body {
	padding-left: 0;
	padding-right: 0;
	border-top: 1px solid #bbbbbb;
}

#comments > .comment-list .comment-by-author > .comment-img > .comment-info > .fn::after {
	content: "博主";
	display: inline;
	background: #333;
	color: #fff;
	font-size: 14px;
	border-radius: 5px;
	margin-left: 4px;
	padding: 0 7px;
	font-weight: 400;
}

.comment-list .depth-2 .children {
	margin-left: 0;
}

.comment-list-wrap {
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.comment-meta {
	color: rgba(0, 0, 0, 0.8);
	white-space: nowrap;
	margin-left: 10px;
}

.comment-meta .says {
	display: none;
}

.comment-content {
	font-size: 16px;
}

.comment-content p {
	margin: 10px 0;
}

#comments > .comment-list > .comment-body > .comment-children .comment-body .comment-content > p:nth-child(2) {
	display: inline;
	margin-left: 5px;
}

.comment-content a {
	color: #2196f3;
}

.comment-content a:hover {
	text-decoration: underline;
}

.comment-reply {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	font-size: 14px;
	margin-bottom: 6px;
}

.comment-reply a {
	white-space: nowrap;
	margin-left: 10px;
}

#comment-form {
	position: relative;
}

#comment-form .input-group-text {
	width: 60px;
}

/*#submit {*/
/*	color: rgb(38, 84, 148);*/
/*    background: rgb(217, 233, 255);*/
/*}*/

#response {
	font-size: 18px;
	font-weight: 500;
}

.comment-reply-title {
	font-size: 18px;
	color: rgba(0, 0, 0, 0.44);
}

.page-navigator {
	display: flex;
}

.page-navigator li {
	margin-right: 16px;
}

.place {
	padding: 20px 25px 0;
}

.place span::before {
	content: "【";
}

.place span::after {
	content: "】";
}

.tags-list li {
	padding-right: 10px;
	padding-bottom: 15px;
	font-size: 17px;
	display: inline-block;
}

.archive {
	padding-top: 1px;
}

.archives-item-title {
	font-size: 20px;
	margin-top: 2rem;
	margin-bottom: 1rem;
	font-weight: 600;
	padding: 3px 0 3px 8px;
	border-left: 5px solid #3c8cdd;
	background-color: #f9f9f9;
}

.autoMenu ul {
	max-height: 500px;
}

.autoMenu li a {
	font-size: 14px;
	text-decoration: none;
	transition: all 0.2s linear;
	border-radius: 4px;
	display: block;
	width: 100%;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.autoMenu li a:hover {
	color: #007bff;
}

.autoMenu li.sub a {
	/*padding-left: 20px;*/
}

.autoMenu li.active a {
	color: #007bff;
}

.autoMenu ul > li:last-child {
	margin-bottom: 20px;
}

.prevornext {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-top: 5px;
	background: #eee;
	padding: 4px 10px;
}

.prevornext p {
	width: 48%;
	color: #666;
	font-size: 16px;
	margin: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.prevornext p a {
	font-style: italic;
	transition: all 0.2s linear;
}

.prevornext p:nth-child(1)::before {
	content: "< ";
	margin-right: 5px;
}

.prevornext p:nth-child(2) {
	text-align: right;
}

.prevornext p:nth-child(2)::after {
	content: " >";
	margin-left: 5px;
}

.prevornext p a:hover {
	text-decoration: underline;
}

.m-menu-nav {
	display: none;
}

@media (max-width: 1100px) {
	.container {
		padding: 10px 1rem;
	}

	.autoMenu {
		display: none;
	}

	.m-menu-nav {
		display: block;
	}

	#nav-menu {
		display: none;
	}

	.place {
		padding: 10px 15px 0;
	}

	.post-title {
		padding-top: 10px;
	}

	.prevornext p {
		width: 100%;
	}

	.comment-reply {
		text-align: right;
	}

	.comment-meta {
		display: block;
	}

	.comment-list .comment-body .comment-img em {
		display: none;
	}

	.comment-list .comment-body {
		padding: 15px 0;
	}

	#comment-form .item-input {
		width: 100%;
	}

	.prevornext p:nth-child(2) {
		text-align: left;
	}
}

.item-submit {
	margin-top: 10px;
	margin-bottom: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

#collapseExample {
	position: relative;
	margin-top: 10px;
	border: 1px solid #eee;
}

.bq-list {
	width: 100%;
	height: 218px;
	overflow-y: scroll;
	padding: 8px;
	position: static;
	background: #f3f3f3ad !important;
}

.bq-list ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.bq-list ul li {
	width: 59px;
	height: 59px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	transition: all 0.2s linear;
}

.bq-list ul li:hover {
	background: #eee;
	cursor: pointer;
}

.bq-list ul li img {
	width: 57% !important;
	max-width: inherit !important;
}

.bq-list .OwO-bar {
	position: absolute;
	top: 0;
	left: 0;
	width: calc(100% - 14px);
	background: #eee;
}

.bq-list .OwO-bar-item {
	float: left;
	width: 100px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	cursor: pointer;
	margin-right: 3px;
}

.bq-list .OwO-bar-item.active {
	background: #fff;
}

.OwO-emoji {
	margin-top: 20px;
}

.OwO-emoji ul {
	display: none;
}

.bq-list ul.active-txt {
	display: block;
}

.nnjr {
	margin-top: 10px;
	list-style: none;
	font-size: 15px;
}

.nnjr p {
	color: #777;
	margin: 0;
}

.post-meta {
	border-bottom: 1px solid #eee;
}

.ins-section-wrapper {
	left: 1px !important;
}
.btn-primary.focus,
.btn-primary:focus,
.btn-primary:hover,
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle,
.btn-primary {
	background: #337ab7;
	padding: 3px 15px;
	box-shadow: none !important;
	border-color: #337ab7;
}

.card-body {
	padding: 16px 0;
	background: #e4e4e4;
	border: none;
	font-size: 1.1rem;
}

#menunav {
	position: fixed;
	top: 42px;
	width: 100%;
	left: 0;
	box-shadow: -1px 2px 3px 0px rgb(0 0 0 / 20%);
}

.input-group-wrap {
	display: flex;
	justify-content: space-between;
	margin-top: 14px;
}

.input-group {
	position: relative;
	width: 33%;
	margin-bottom: 14px;
}

.input {
	width: 100%;
	height: 34px;
	border: solid 1.5px #dbdbdb;
	font-family: OPPOSans;
	border-radius: 6px;
	background: 0 0;
	padding: 0.3rem 1rem;
	font-size: 1rem;
	color: #444;
	transition: border 150ms cubic-bezier(0.4, 0, 0.2, 1);
	box-sizing: border-box;
}

.textarea {
	min-height: 120px;
}

.user-label {
	position: absolute;
	left: 20px;
	height: 20px;
	top: -3px;
	pointer-events: none;
	transition: 150ms cubic-bezier(0.4, 0, 0.2, 1);
	transform: translateY(-50%) scale(0.8);
	background-color: #fff;
	padding: 0 0.2em;
	color: #4c4c4c;
}

.input:focus {
	outline: 0;
	border: 1.5px solid #337ab7;
}

@media (max-width: 520px) {
	.input-group-wrap {
		display: block;
	}

	.input-group {
		width: 100%;
	}
}

@media (max-width: 900px) {
	.main {
		max-width: 900px;
	}
	.article-img {
		height: 200px;
	}
	.home {
		flex-direction: column;
		padding-top: 0;
	}

	.weight-announcement,
	.autoMenu,
	.weight-comment {
		display: none;
	}

	.header {
		margin-bottom: 20px;
		padding: 0 10px;
		width: 100%;
	}

	.cap ul {
		padding-bottom: 2px;
		overflow-x: scroll;
		-ms-overflow-style: none;
		height: 100%;
	}

	.cap ul::-webkit-scrollbar {
		display: none;
	}
}

.iframe {
	position: relative;
	padding-bottom: 60%;
	height: 0;
}

.iframe iframe {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

#tabs {
	display: flex;
	border-bottom: 1px solid #bbb;
	padding-bottom: 10px;
	flex-wrap: wrap;
}
#tabs li {
	margin-right: 15px;
	background: #d6d6d6;
	border-radius: 4px;
}
#tabs li#current {
	background: #999;
	color: #eee;
}
#tabs li a {
	display: block;
	width: 100%;
	height: 100%;
	padding: 0 20px;
}
#tabs li a:hover {
	background: #999;
	color: #fff;
}
@media (max-width: 500px) {
	#tabs li {
		width: 100%;
		margin-top: 5px;
	}
}
