/*
    制作于 2020/05/27 08:47:49
    [2020 Wikidot Theme]
    VodkaWells make the changes
    基于 SCP基金会 Sigma-9
    CC BY-SA 3.0
*/

@charset "utf-8";

@import url('http://scp-wiki-cn.wikidot.com/local--files/component:theme/font-bauhaus.css');
@import url('https://fonts.googleapis.com/earlyaccess/nanumgothic.css');
@import url('https://fonts.googleapis.com/earlyaccess/nanumgothiccoding.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* 多重折叠模块 */
@import url('https://cdn.jsdelivr.net/gh/scp-cn-tech/sigma9@cn/modules/colstyle.min.css');

/* 黑市娘表情包 */
@import url('https://ubmh.wdfiles.com/local--code/visible-record/1');

/* 用户认证功能 */
@import url('https://ubmh.wdfiles.com/local--code/admin%3Averify/1');
@import url('https://ubmh.wdfiles.com/local--code/admin%3Averify/2');

/* COMMON */
#content-wrap {
	position: relative;
	margin: 2em auto 0;
	max-width: 1040px;
	min-height: 1300px;
	height: auto !important;
	height: 1500px;
}

h1,
#page-title {
	color: black;
	padding: 0 0 0.25em;
	margin: 0 0 0.6em;
	font-weight: normal;
}

h1 {
	margin-top: 0.7em;
	padding: 0;
	font-weight: bold;
}

h2,
h3,
h4,
h5,
h6 {
	margin: 0.5em 0 0.4em;
	padding: 0;
	letter-spacing: 1px;
}

ul {
	/* list-style-image: url(http://d3g0gp89917ko0.cloudfront.net/v--3b8418686296/common--theme/shiny/images/bullet.gif); */
	list-style: square;
}

#top-bar ul {
	/* list-style-image: none; */

	/* IE ONLY! IF list-style-image IS SET */
}

li,
p {
	line-height: 141%;
}

a {
	color: #bc1717;
	font-weight: bold;
	text-decoration: none;
	background: transparent;
}

#side-bar a:visited {
	color: black;
}

a:visited {
	color: black;
}

a.newpage {
	color: orange;
	text-decoration: none;
	background: transparent;
}

a:hover {
	text-decoration: underline;
	background-color: transparent;
}

a {
	font-weight: bold;
}

.form-control {
	width: 95%;
}

/* GLOBAL WIDTH */
#header,
#top-bar {
	width: 90%;
	max-width: 980px;
	margin: 0 auto;
}

#top-bar {
	width: 100%;
	margin: 0 auto;
	right: auto;
}

.mobile-top-bar {
	display: none;
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 0;
}

body {
	background-color: #fff;
	font-size: 0.8em;
	color: #333;
}

td.name {
	width: 40%;
	word-break: break-all;
}

td.title {
	width: 30%;
}

sup {
	vertical-align: top;
	position: relative;
	top: -0.5em;
}

/* HEADER */
#header {
	height: 140px;

	/* FOR MENU */
	background: var(--ubmh-logo, url('../../images/logo.webp')) 10px 48px
		no-repeat;
	background-size: 80px 80px;
	position: relative;
	z-index: 10;
	padding-bottom: 22px;
}

body {
	background: #fff;
	color: #000;
}

a,
a:visited {
	color: black;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #000;
}

#search-top-box {
	position: absolute;
	top: 79px;
	right: 9px;
	width: 350px;
	text-align: right;
}

#search-top-box-input {
	display: none;
}

#search-top-box-input {
	border: solid 1px gray;
	border-radius: 0;
	color: #fff;
	background-color: #000;
	box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.5);
}

#search-top-box-input:hover,
#search-top-box-input:focus {
	border: solid 1px #fff;
	color: #fff;
	background-color: #000;
	box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.8);
}

#search-top-box-form input[type='submit'] {
	border: solid 1px gray;
	border-radius: 0;
	padding: 2px 5px;
	font-size: 100%;
	font-weight: bold;
	color: #fff;
	background: linear-gradient(to bottom, #000, #000, #000);
	background-color: #000;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
	cursor: pointer;
}

#search-top-box-form input[type='submit']:hover,
#search-top-box-form input[type='submit']:focus {
	border: solid 1px #fff;
	color: #fff;
	text-shadow: 0 0 1px rgba(255, 255, 255, 0.25);
	background: linear-gradient(to bottom, #000, #000, #000);
	background-color: #000;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

#login-status {
	color: #aaa;
	font-size: 90%;
	z-index: 30;
}

#login-status a {
	background: transparent;
	color: #ddd;
}

#login-status ul a {
	color: #000;
	background: transparent;
}

#account-topbutton {
	background: #ccc;
	color: #000;
}

.printuser img.small {
	margin-right: 1px;
}

#header h1 {
	margin-left: 120px;
	padding: 0;
	float: left;
	max-height: 95px;
}

#header h2 {
	margin-left: 120px;
	padding: 0;
	clear: left;
	float: left;
	font-size: 105%;
	max-height: 38px;
}

#header h1 a {
	display: block;
	margin: 0;
	padding: 80px 0 25px;
	line-height: 0px;
	max-height: 0;
	color: #eee;
	background: transparent;
	font-family: BauhausLTDemi, Simhei, Arial, sans-serif;
	font-size: 180%;
	text-decoration: none;
	text-shadow: 1px 1px 1px gray;
	letter-spacing: 0.9px;
}

#header h2 span {
	display: block;
	margin: 0;
	padding: 19px 0;
	line-height: 0px;
	max-height: 0;
	font-weight: bold;
	color: white;
	text-shadow: 1px 1px 1px black;
	white-space: pre;
}

div#container-wrap {
	background: url('../../images/blackground.webp') top left repeat-x;
}

/* TOP MENU */
#top-bar {
	position: absolute;
	top: 140px;
	height: 21px;
	line-height: 18px;
	padding: 0;
	z-index: 20;
	font-size: 90%;
}

#top-bar ul {
	float: right;
}

#top-bar li {
	margin: 0;
}

#top-bar a {
	color: #fff;
	background: transparent;
}

#top-bar ul li {
	border: 0;
	position: relative;
}

#top-bar ul li ul {
	border: solid 1px #000;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
	border-top: 0;
}

#top-bar ul li a {
	border-left: solid 1px black;
	border-right: solid 1px black;
	text-decoration: none;
	padding-top: 10px;
	padding-bottom: 10px;
	line-height: 1px;
	max-height: 1px;
	overflow: hidden;
}

#top-bar ul li.sfhover a,
#top-bar ul li:hover a {
	background: #fff;
	color: #000;
	border-left: solid 1px black;
	border-right: solid 1px black;
}

#top-bar ul li.sfhover ul li a,
#top-bar ul li:hover ul li a {
	border-width: 0;
	width: 150px;
	border-top: 1px solid gray;
	line-height: 160%;
	height: auto;
	max-height: none;
	padding-top: 0;
	padding-bottom: 0;
}

#top-bar ul li.sfhover a:hover,
#top-bar ul li:hover a:hover {
	background: #fff;
	text-decoration: none;
}

#top-bar ul li:hover a.fa-brands.fa-qq:hover {
	color: black !important;
}

#top-bar ul li ul {
	border-width: 0 1px 1px;
	width: auto;
}

#top-bar ul li ul li,
#top-bar ul li ul li.sfhover,
#top-bar ul li ul li,
#top-bar ul li ul li:hover {
	border-width: 0;
}

#top-bar ul li ul li a {
	border-width: 0;
}

#top-bar ul li ul a,
#top-bar a:hover {
	color: #000;
}

.top-bar ul li:last-of-type ul {
	right: 0;
}

/* IE7 HACK */
#top-bar ul > li > ul {
	*margin-top: -4px;
}

/* SIDE MENU */
#side-bar {
	clear: none;
	float: none;
	position: absolute;
	top: 0.5em;
	left: 2em;
	width: 17em;
	padding: 0;
	border: none;
	display: block;
}

#side-bar .side-block {
	padding: 10px;
	border: 1px solid #600;
	border-radius: 10px;
	box-shadow: 0 2px 6px rgba(102, 0, 0, 0.5);
	background: #fff;
	margin-bottom: 15px;
}

#side-bar .side-area {
	padding: 10px;
}

#side-bar .heading {
	color: #696969;
	border-bottom: solid 1px #696969;
	padding-left: 15px;
	margin-bottom: 5px;
	font-size: 8pt;
	font-weight: bold;
}

#side-bar .heading:not(:first-child) {
	margin-top: 10px;
}

#side-bar p {
	margin: 0;
}

#side-bar div.menu-item {
	margin: 2px 0;
}

#side-bar div.menu-item img {
	width: 13px;
	height: 13px;
	border: 0;
	margin-right: 2px;
	position: relative;
	bottom: -2px;
}

#side-bar div.menu-item a {
	font-weight: bold;
}

#side-bar div.menu-item.inactive img {
	opacity: 0.25;
}

#side-bar div.menu-item.inactive a {
	color: black;
}

#side-bar div.menu-item .sub-text {
	font-size: 80%;
	color: black;
}

#side-bar .collapsible-block-folded {
	background: url('https://scp-wiki-cn.wikidot.com/local--files/nav:side/expand.png')
		0 2px no-repeat;
}

#side-bar .collapsible-block-link {
	margin-left: 15px;
	font-weight: bold;
}

#side-bar .collapsible-block-unfolded-link {
	border-bottom: solid 1px #600;
}

#side-bar .collapsible-block-unfolded-link .collapsible-block-link {
	margin-top: 10px;
	margin-bottom: 5px;
	font-size: 8pt;
	color: #600;
}

#side-bar .collapsible-block-unfolded-link .collapsible-block-link:hover {
	color: orange;
	text-decoration: none;
}

#side-bar ul {
	list-style-type: none;
	padding: 0 5px;
}

div.scpnet-interwiki-wrapper {
	width: 18em;
	margin-left: -5px;
}

iframe.scpnet-interwiki-frame {
	height: 300px;
	width: 18em;
	border: none;
}

/* CONTENT */
#main-content {
	margin: 0 2em 0 22em;
	padding: 1em;
	position: relative;
}

/* ACTUALLY HIDE HIDDEN TAGS */
#main-content .page-tags a[href^='/system:page-tags/tag/_'] {
	display: none;
}

#breadcrumbs {
	margin: -1em 0 1em;
	font-weight: 85%;
}

/* PAGES TAGS STYLE */
#main-content .page-tags span {
	border-top: none;
	max-width: 90%;
}

#main-content .page-tags {
	background-color: #f5f5f5;
	border: solid 1px #696969;
	padding: 5px;
	display: flex;
}

#main-content .page-tags::before {
	content: '标签';
	color: #fff;
	font-size: 90%;
	font-weight: bold;
	background-color: #696969;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 10px;
	margin-right: 0.7em;
	box-shadow: 0 0 0 2px #696969;
}

#main-content .page-tags {
	display: flex;
	align-items: center;
}

/* YUI-TABS */
div.yui-navset div.yui-content {
	background: #fff;
}

div.yui-navset ul.yui-nav a,
div.yui-navset div.yui-navset-top ul.yui-nav a {
	background: #a8a8a8;
	color: #000;
}

div.yui-navset ul.yui-nav a:hover,
div.yui-navset ul.yui-nav a:focus {
	background: gray;
	color: #fff;
}

div.yui-navset ul.yui-nav .selected a,
div.yui-navset ul.yui-nav .selected a:focus,
div.yui-navset ul.yui-nav .selected a:hover {
	background: #000;
	color: #fff;
}

.yui-navset .yui-nav,
.yui-navset .yui-navset-top .yui-nav {
	border-color: #000;
}

.yui-navset li {
	line-height: normal;
}

/* FOOTER */
#footer {
	clear: both;
	font-size: 77%;
	background: #000;
	color: #fff;
	margin-top: 15px;
	padding: 3px 10px;
}

#footer .options {
	visibility: visible;
	display: block;
	float: right;
	width: 50%;
	font-size: 100%;
	text-align: right;
}

#footer a {
	color: #fff;
	background: transparent;
}

/* SOME NICE BOXES */
div.sexy-box {
	background: #eee;
	border: 1px solid #ccc;
	padding: 0 10px 12px;
	margin: 7px 4px 12px;
	overflow: hidden;
}

div.sexy-box div.image-container img {
	margin: 5px;
	padding: 2px;
	border: 1px solid #999;
}

/* Custom page content classes */
#page-content {
	min-height: 720px;
}

.unmargined > p {
	margin: 0;
	line-height: 100%;
}

.content-panel {
	border: solid 1px #888880;
	border-radius: 10px;
	background-color: #999990;
	margin: 10px 0 15px;
	box-shadow: 3px 3px 6px #bbb;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5),
		inset 0 1px rgba(255, 255, 255, 0.3),
		inset 0 10px rgba(255, 255, 255, 0.2),
		inset 0 10px 20px rgba(255, 255, 255, 0.25),
		inset 0 -15px 30px rgba(0, 0, 0, 0.1);
}

.content-panel.standalone {
	background: #fcfdfb;
}

.content-panel.series {
	padding: 0 20px;
	margin-bottom: 20px;
}

.content-panel.centered {
	text-align: center;
}

.content-panel.left-column {
	float: left;
	width: 48%;
}

.content-panel.right-column {
	float: right;
	width: 48%;
}

.content-panel .panel-heading {
	padding: 2px 10px;
	color: #fff;
	font-size: 90%;
	font-weight: bold;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.35);
}

.content-panel .panel-heading > p,
.content-panel .panel-footer > p {
	margin: 0;
}

.content-panel .panel-body {
	padding: 5px 10px;
	background: #fff9f0
		url('http://scp-wiki-cn.wikidot.com/local--files/admin:theme/panel-bg-gradient-reverse.png')
		bottom repeat-x;
	height: 164px;
	overflow-y: hidden;
}

.content-panel .panel-footer {
	padding: 1px 10px;
	color: #fffff0;
	font-size: 80%;
	font-weight: bold;
	text-align: right;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.content-panel .panel-footer a {
	color: #fff;
}

.content-panel .content-toc {
	float: right;
	padding: 0 20px;
	background-color: #fff;
	border: solid 1px #ccc;
	border-radius: 10px;
	margin: 20px 0 5px 5px;
	white-space: nowrap;
	box-shadow: inset 1px 2px 6px rgba(0, 0, 0, 0.15);
}

.alternate:nth-child(even) {
	background-color: rgba(255, 255, 255, 0.9);
}

/* Page Rating Module Customizations */
.page-rate-widget-box {
	display: inline-block;
	border-radius: 5px;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
	margin-bottom: 10px;
	margin-right: 2em;
}

.page-rate-widget-box .rate-points {
	background-color: #633 !important;
	border: solid 1px #633;
	border-right: 0;
	border-radius: 5px 0 0 5px;
}

.page-rate-widget-box .rateup,
.page-rate-widget-box .ratedown {
	background-color: #fff6f0;
	border-top: solid 1px #633;
	border-bottom: solid 1px #633;
	font-weight: bold;
}

.page-rate-widget-box .rateup a,
.page-rate-widget-box .ratedown a {
	background: transparent;
	color: #633;
	padding: 0 4px;
	margin: 0 1px;
}

.page-rate-widget-box .rateup a:hover,
.page-rate-widget-box .ratedown a:hover {
	background: #633;
	color: #fffff0;
	text-decoration: none;
}

.page-rate-widget-box .cancel {
	background-color: #633;
	border: solid 1px #633;
	border-left: 0;
	border-radius: 0 5px 5px 0;
}

.page-rate-widget-box .cancel a {
	background: transparent;
	text-transform: uppercase;
	color: #966;
}

.page-rate-widget-box .cancel a:hover {
	border-radius: 0 3px 3px 0;
	background: #633;
	color: #fffff0;
	text-decoration: none;
}

/* Fixes for multi-line page tags */
#main-content .page-tags {
	margin: 1em 0 0;
	padding: 0;
}

#main-content .page-tags span {
	display: inline-block;
	padding: 0;
	max-width: 60%;
}

#main-content .page-tags a {
	display: inline-block;
	white-space: nowrap;
}

/* Standard Image Block */
.scp-image-block {
	border: solid 1px #666;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
	width: 300px;
}

.scp-image-block.block-right {
	float: right;
	clear: right;
	margin: 0 2em 1em;
}

.scp-image-block.block-left {
	float: left;
	clear: left;
	margin: 0 2em 1em 0;
}

.scp-image-block.block-center {
	margin-right: auto;
	margin-left: auto;
}

.scp-image-block img {
	border: 0;
	width: 300px;
}

.scp-image-block .scp-image-caption {
	background-color: #eee;
	border-top: solid 1px #666;
	padding: 2px 0;
	font-size: 80%;
	font-weight: bold;
	text-align: center;
	width: 300px;
}

.scp-image-block > p {
	margin: 0;
}

.scp-image-block .scp-image-caption > p {
	margin: 0;
	padding: 0 10px;
}

/* Wikiwalk Navigation */
.footer-wikiwalk-nav {
	font-weight: bold;
	font-size: 75%;
}

/* Show-Changes Highlights by Sekai */
.inline-diff ins:first-of-type::before,
.inline-diff del:first-of-type::before,
.inline-diff br + ins::before,
.inline-diff br + del::before {
	display: inline-block;
	font-family: FontAwesome, sans-serif;
	font-size: 14px;
	line-height: 1;
	font-style: normal;
	font-weight: normal;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	content: '\f111';
	position: absolute;
	left: 0.75em;
}

.inline-diff ins::before {
	color: #ddf;
}

.inline-diff del::before {
	color: #fcc;
}

.inline-diff ins + del::before,
.inline-diff del + ins::before {
	color: transparent;
}

/* Forum Customizations */
.forum-thread-box .description-block {
	padding: 0.5em 1em;
	border-radius: 10px;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15),
		inset 0 1px 0 rgba(255, 255, 255, 0.8),
		inset 0 10px 5px rgba(255, 255, 255, 0.25),
		inset 0 -15px 30px rgba(0, 0, 0, 0.1);
}

.thread-container .post .head {
	padding: 0.5em 1em;
	background: #eee linear-gradient(to right, #eee, #eeecec);
	box-shadow: inset 2px 3px 6px rgba(0, 0, 0, 0.15);
	border-radius: 5px 5px 0 0;
}

/* Hide Avatar Hover */
#avatar-hover-container {
	display: none;
}

/* Resize special content,by BackroomsCN */
.thread-container .post > .long > .content img,
.thread-container .post > .long > .content embed,
.thread-container .post > .long > .content video,
.thread-container .post > .long > .content object,
.thread-container .post > .long > .content iframe,
.thread-container .post > .long > .content table {
	max-width: 100%;
}

/* Adjust the vertical alignment of special content,by BackroomsCN */
.thread-container .post > .long > .content audio,
.thread-container .post > .long > .content canvas,
.thread-container .post > .long > .content iframe,
.thread-container .post > .long > .content img,
.thread-container .post > .long > .content svg,
.thread-container .post > .long > .content video {
	vertical-align: middle;
}

/* Restrict unhidden images,by BackroomsCN */
.thread-container .post .long .content .image:not(.collapsible-block .image),
.thread-container .post .long .signature .image:not(.collapsible-block .image) {
	max-width: 100%;
	max-height: 2em;
	transition: max-height 0.5s;
	object-fit: cover;
}

.thread-container
	.post
	.long
	.content
	.image:hover:not(.collapsible-block .image),
.thread-container
	.post
	.long
	.signature
	.image:hover:not(.collapsible-block .image) {
	max-height: 100em;
}

/* Disable Special Formatting Of Discussion Boards,by SCP-CN */
.thread-container .post .content *[style*='position'],
.thread-container .post .signature *[style*='position'] {
	position: static !important;
}

.thread-container .post .content *:not(img)[style*='background'],
.thread-container .post .signature *[style*='background'] {
	background-image: none !important;
}

.thread-container .post .content *[style*='margin'],
.thread-container .post .signature *[style*='margin'] {
	margin: 0 !important;
}

.thread-container .post .content *[style*='padding'],
.thread-container .post .signature *[style*='padding'] {
	padding: 0 !important;
}

.thread-container .post .content *[style*='font-size'],
.thread-container .post .signature *[style*='font-size'] {
	font-size: unset !important;
}

.thread-container .post .content *[style*='important'],
.thread-container .post .signature *[style*='important'] {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
	position: static !important;
	left: 0 !important;
	top: 0 !important;
	overflow: hidden !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.thread-container .post .content *[style*='important']::after,
.thread-container .post .signature *[style*='important']::after {
	content: ' ';
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background-color: #e1e1e1;
	background-image: url('data:image/svg+xml,%3C!DOCTYPE svg PUBLIC %22-//W3C//DTD SVG 20010904//EN%22 %22http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd%22%3E%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22370%22 height=%2236%22%3E%3Cstyle xmlns=%22http://www.w3.org/2000/svg%22%3Etext%7Bfont-family:verdana,arial,helvetica,sans-serif;font-weight:bold;%7D%3C/style%3E%3Cg%3E%3Crect width=%22100%25%22 height=%22100%25%22 x=%220%22 y=%220%22 fill=%22%23e1e1e1%22 /%3E%3Ctext xml:space=%22preserve%22 font-size=%2224%22 x=%221%22 y=%2225.6%22 fill=%22%23f00%22%3E%E8%AF%B7%E5%8B%BF%E5%9C%A8%E8%AE%A8%E8%AE%BA%E5%8C%BA%E4%B8%AD%E4%BD%BF%E7%94%A8%20!important%3C/text%3E%3C/g%3E%3C/svg%3E');
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}

/* Infoblock by Eltrac */
.infoblock {
	color: #f1f1f1;
	font-weight: bold;
	background: #424242;
	padding: 5px;
	border-radius: 4px;
	margin: -0.5rem 0 0.5rem;
	display: block;
	padding-right: 25px;
}

.infoblock a {
	color: #f1f1f1;
}

.infoblock::before {
	content: 'ⓘ ';
	font-size: 1rem;
}

/* Ruby by Nanimono Demonai */
.ruby,
ruby {
	display: inline-table;
	text-align: center;
	white-space: nowrap;
	line-height: 1;
	height: 1em;
	vertical-align: text-bottom;
}

.rt,
rt {
	display: table-header-group;
	font-size: 0.6em;
	line-height: 1.1;
	text-align: center;
	white-space: nowrap;
}

/* Keycap */
.keycap {
	border: 1px solid;
	border-color: #ddd #bbb #bbb #ddd;
	border-bottom-width: 2px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	background-color: #f9f9f9;
	padding: 1px 3px;
	font-family: inherit;
	font-size: 0.85em;
	white-space: nowrap;
}

/* tag style */
.tags {
	display: inline-block;
	margin: 0 0 0 5px;
	padding: 3px 5px 3px 0;
	height: 13px;
	line-height: 13px;
	font-size: 11px;
	background: #666;
	color: #fff;
	text-decoration: none;
	-moz-border-radius-bottomright: 4px;
	-webkit-border-bottom-right-radius: 4px;
	border-bottom-right-radius: 4px;
	-moz-border-radius-topright: 4px;
	-webkit-border-top-right-radius: 4px;
	border-top-right-radius: 4px;
}

.tags::before {
	content: '';
	padding: 0 1px 3px;
	float: left;
	position: relative;
	top: -3px;
	left: -10px;
	width: 0;
	height: 0;
	border-color: transparent #666 transparent transparent;
	border-style: solid;
	border-width: 8px 8px 8px 0;
}

.tags::after {
	content: '';
	position: relative;
	top: 4.5px;
	left: -8px;
	float: left;
	width: 4px;
	height: 4px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	background: #fff;
	-moz-box-shadow: -1px -1px 2px #004977;
	-webkit-box-shadow: -1px -1px 2px #333;
	box-shadow: -1px -1px 2px #333;
}

/* Display Black Block by Nanimono Demonai */
.bblock {
	color: #000;
	background-color: #000;
	transition: 2s;
	text-decoration: none;
}

.bblock:hover {
	background-color: #000;
	color: #060;
	text-decoration: none;
}

.dblock {
	color: #000;
	background-color: #000;
	transition: 2s;
	text-decoration: none;
}

.dblock:hover {
	background-color: transparent;
	text-decoration: none;
}

/* Blockquote Mimic Div */
div.blockquote {
	border: solid 1px #999;
	padding: 0 1em;
	margin: 1em 3em;
}

div.curved {
	border-radius: 10px;
	margin: 1em 3em;
}

@media (max-width: 479px) {
	div.blockquote,
	div.curved {
		margin: 1em 0;
	}
}

@media (min-width: 480px) and (max-width: 580px) {
	div.blockquote,
	div.curved {
		margin: 0.5em;
	}
}

/* 2011-11-13 Minobe Hiroyuki @ Marguerite Site
    www.marguerite.jp/Nihongo/WWW/CSSTips/EmphasizeDots-CSS3.html
    Edited for the SCP Foundation by Nanimono_Demonai */

.emph {
	text-emphasis-style: dot;
	-webkit-text-emphasis-style: dot;
}

/* For FireFox */
@-moz-document url-prefix() {
	.emph {
		/* For the environments which comply with CSS3. */
		font-family: monospace;
		font-style: normal;
		font-weight: normal;
		background-image: url('http://scp-wiki-cn.wikidot.com/local--files/component%3Atheme/dot.png'),
			none;
		background-repeat: repeat-x;
		padding: 0.5em 0 0;
		background-color: transparent;
		background-clip: padding-box, content-box;
		background-size: 1em 1.3em, auto;
	}
}

/* For IE10 */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
	.emph {
		/* For the environments which comply with CSS3. */
		font-family: monospace;
		font-style: normal;
		font-weight: normal;
		background-image: url('http://scp-wiki-cn.wikidot.com/local--files/component%3Atheme/dot.png'),
			none;
		background-repeat: repeat-x;
		padding: 0.5em 0 0;
		background-color: transparent;
		background-clip: padding-box, content-box;
		background-size: 1em 1.3em, auto;
	}
}

/* viewport */
@viewport {
	width: device-width;
	zoom: 1;
}

/* IE viewport */
@-ms-viewport {
	width: device-width;
	zoom: 1;
}

/* opera viewport */
@-o-viewport {
	width: device-width;
	zoom: 1;
}

/* chrome viewport - maybe it isn't work... */
@-webkit-viewport {
	width: device-width;
	zoom: 1;
}

/* firefox viewport - maybe it isn't work too... */
@-moz-viewport {
	width: device-width;
	zoom: 1;
}

/* webkit scrollbar */
::-webkit-scrollbar {
	width: 9px;

	/* for vertical scrollbars */
	height: 9px;

	/* for horizontal scrollbars */
	border: solid 1px rgba(0, 0, 0, 0.1);
	border-round: 0.5px;
}

::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
	background: rgba(50, 50, 50, 0.3);
}

.page-source {
	word-break: break-all;
}

/* Responsive Web Design */
img,
embed,
video,
object,
iframe,
table {
	max-width: 100%;
}

#page-content div,
#page-content div table {
	max-width: 100%;
}

#edit-page-comments {
	width: 100%;
}

/* basic Query for mobile devices */
@media (max-width: 767px) {
	.owindow {
		min-width: 80%;
		max-width: 99%;
	}

	.modal-body .table,
	.modal-body .table ~ div {
		float: left;
	}

	.owindow .button-bar {
		float: right;
	}

	.owindow div a.btn-primary {
		width: 100%;
		float: left;
	}

	.mobile-top-bar ul li:last-of-type ul {
		right: 0;
	}

	span,
	a,
	#action-area td {
		word-break: break-all;
	}
}

/* Mobile Media Query */
@media (max-width: 479px) {
	#search-top-box-input {
		width: 5em;
	}

	#page-content {
		font-size: 0.9em;
	}

	#main-content {
		margin: 0;
	}

	#recent-posts-category {
		width: 100%;
	}

	#header {
		max-width: 90%;
	}

	#side-bar {
		width: 80%;
		position: relative;
	}

	.top-bar {
		display: none;
	}

	.mobile-top-bar {
		display: block;
		padding: 0;
	}

	.page-options-bottom a {
		padding: 0 4px;
	}

	#header h1 a {
		font-size: 100%;
	}

	blockquote {
		margin: 1em 0;
	}

	.license-area {
		font-size: 0.8em;
	}

	#header {
		background-position: 0 5.5em;
		background-size: 55px 55px;
	}

	#header h1,
	#header h2 {
		margin-left: 66px;
	}

	table.form td,
	table.form th {
		float: left;
	}

	/*
    td.title {
        width: 30%;
    }
    */

	td.name {
		width: 15em;
	}

	table.form td,
	table.form th {
		padding: 0;
	}

	#edit-page-title {
		max-width: 90%;
	}

	.content-panel.left-column,
	.content-panel.right-column {
		width: 99%;
		float: left;
	}

	#page-content div,
	#page-content div table {
		clear: both;
	}

	#page-content div.title {
		word-break: keep-all;
	}
}

/* Note Media Query */
@media (min-width: 480px) and (max-width: 580px) {
	#search-top-box-input {
		width: 7em;
	}

	#main-content {
		margin: 0 2em;
	}

	#header {
		max-width: 90%;
	}

	#side-bar {
		width: 80%;
		position: relative;
	}

	.top-bar {
		display: none;
	}

	.mobile-top-bar {
		display: block;
	}

	.page-options-bottom a {
		padding: 0 5px;
	}

	#header h1 a {
		font-size: 120%;
	}

	blockquote {
		margin: 0.5em;
	}

	.license-area {
		font-size: 0.85em;
	}

	#header {
		background-position: 0.5em 4.5em;
		background-size: 66px 66px;
	}

	#header h1,
	#header h2 {
		margin-left: 80px;
	}

	/*
    td.title {
        width: 30%;
    }
    */

	#page-content div.title {
		word-break: keep-all;
	}

	td.name {
		width: 15em;
	}

	.content-panel.left-column,
	.content-panel.right-column {
		width: 99%;
		float: left;
	}

	#page-content div,
	#page-content div table {
		clear: both;
	}
}

/* Mini Tablet Media Query */
@media (min-width: 581px) and (max-width: 767px) {
	#search-top-box-input {
		width: 8em;
	}

	#side-bar {
		width: 80%;
		position: relative;
	}

	#main-content {
		margin: 0 3em 0 2em;
	}

	#header {
		max-width: 90%;
	}

	.top-bar {
		display: none;
	}

	.mobile-top-bar {
		display: block;
	}

	.page-options-bottom a {
		padding: 0 6px;
	}

	#header h1 a {
		font-size: 140%;
	}

	.license-area {
		font-size: 0.9em;
	}

	#header {
		background-position: 1em 4em;
		background-size: 77px 77px;
	}

	#header h1,
	#header h2 {
		margin-left: 93px;
	}
}

/* Tablet Media Query */
@media (min-width: 768px) and (max-width: 979px) {
	#main-content {
		margin: 0 4em 0 20em;
	}

	#header,
	#top-bar,
	#side-bar {
		max-width: 100%;
	}

	.top-bar li {
		margin: 0;
	}

	#top-bar ul li.sfhover ul li a,
	#top-bar ul li:hover ul li a {
		width: 110px;
	}

	.page-options-bottom a {
		padding: 0 7px;
	}

	#header h1 a {
		font-size: 160%;
	}

	.license-area {
		font-size: 0.95em;
	}

	#header {
		background-position: 1em 4em;
		background-size: 88px 88px;
	}

	#header h1,
	#header h2 {
		margin-left: 106px;
	}

	.content-panel.left-column,
	.content-panel.right-column {
		width: 99%;
		float: left;
	}

	#page-content div,
	#page-content div table {
		clear: both;
	}
}

/* Desktop Media Query -----------
@media (min-width: 980px) and (max-width: 1399px) {
}
------------------------------------------ */

/* Wide Monitor Media Query -----
@media (min-width: 1400px) {
}
------------------------------------------ */

/* off-canvas */
.close-menu {
	display: none;
}

@media (max-width: 767px) {
	.page-history tbody tr td:last-child {
		width: 35%;
	}

	.owindow {
		min-width: 80%;
		max-width: 99%;
	}

	.modal-body .table,
	.modal-body .table ~ div {
		float: left;
	}

	.owindow .button-bar {
		float: right;
	}

	.owindow div .btn-primary {
		width: 100%;
		float: left;
	}

	.owindow div .btn-primary ~ div {
		width: 100%;
	}

	.yui-navset {
		z-index: 1;
	}

	#navi-bar,
	#navi-bar-shadow {
		display: none;
	}

	.open-menu a {
		position: fixed;
		top: 0.5em;
		left: 0.5em;
		z-index: 15;
		font-family: 'Nanum Gothic', sans-serif;
		font-size: 30px;
		font-weight: 700;
		width: 30px;
		height: 30px;
		line-height: 0.9em;
		text-align: center;
		border: 0.2em solid #888 !important;
		background-color: #fff !important;
		border-radius: 3em;
		color: #888 !important;
	}

	.open-menu a:hover {
		text-decoration: none !important;
		-webkit-box-shadow: 0 0 20px 3px rgba(153, 153, 153, 1);
		-moz-box-shadow: 0 0 20px 3px rgba(153, 153, 153, 1);
		-ms-box-shadow: 0 0 20px 3px rgba(153, 153, 153, 1);
		-o-box-shadow: 0 0 20px 3px rgba(153, 153, 153, 1);
		box-shadow: 0 0 20px 3px rgba(153, 153, 153, 1);
	}

	#main-content {
		max-width: 90%;
		margin: 0 5%;
		padding: 0;
		-webkit-transition: 0.5s ease-in-out 0.1s;
		-moz-transition: 0.5s ease-in-out 0.1s;
		-ms-transition: 0.5s ease-in-out 0.1s;
		-o-transition: 0.5s ease-in-out 0.1s;
		transition: 0.5s ease-in-out 0.1s;
	}

	#side-bar {
		display: block;
		position: fixed;
		top: 0;
		left: -25em;
		width: 17em;
		height: 100%;
		background-color: transparent;
		overflow-y: auto;
		z-index: 10;
		padding: 1em 1em 0;
		-webkit-transition: left 0.5s ease-in-out 0.1s;
		-moz-transition: left 0.5s ease-in-out 0.1s;
		-ms-transition: left 0.5s ease-in-out 0.1s;
		-o-transition: left 0.5s ease-in-out 0.1s;
		transition: left 0.5s ease-in-out 0.1s;
	}

	#side-bar::after {
		content: '';
		position: absolute;
		top: 0;
		width: 0;
		height: 100%;
		background-color: rgba(0, 0, 0, 0.2);
	}

	#side-bar:target {
		display: block;
		left: 0;
		width: 17em;
		margin: 0;
		border: 1px solid #dedede;
		z-index: 10;
	}

	#side-bar:target + #main-content {
		left: 0;
	}

	#side-bar:target .close-menu {
		display: block;
		position: fixed;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		background: rgba(0, 0, 0, 0.3) 1px 1px repeat;
		z-index: -1;
	}

	div.scpnet-interwiki-wrapper,
	iframe.scpnet-interwiki-frame {
		width: 17em;
	}
}

div#side-bar div.side-block {
	background: #fff;
	border: 1px solid #000;
	box-shadow: 2px 2px 2px 1px black;
}

div#side-bar div.side-block div.heading,
div#side-bar div.collapsible-block-unfolded-link,
div#side-bar div.collapsible-block-unfolded-link div.collapsible-block-link {
	color: #000;
	border-color: #000;
}

div.scpnet-interwiki-wrapper {
	filter: grayscale(100%) sepia(40%) drop-shadow(0 1px 1px #000000%);
}

div.yui-navset ul.yui-nav a,
div.yui-navset div.yui-navset-top ul.yui-nav a {
	background: rgb(217, 217, 217);
	color: #000;
}

div.yui-navset ul.yui-nav a:hover,
div.yui-navset ul.yui-nav a:focus {
	background: rgb(217, 217, 217);
	color: #000;
}

div.yui-navset ul.yui-nav .selected a,
div.yui-navset ul.yui-nav .selected a:focus,
div.yui-navset ul.yui-nav .selected a:hover {
	background: #000;
	color: #fff;
}

div.page-rate-widget-box,
div.page-rate-widget-box span.rate-points,
div.page-rate-widget-box span.cancel {
	background-color: #000 !important;
	border: solid #000 0 !important;
}

div.page-rate-widget-box span.rateup,
div.page-rate-widget-box span.ratedown {
	border: solid #000 !important;
	border-width: 1px 0 !important;
}

div.page-rate-widget-box span.rate-points,
div.page-rate-widget-box span.cancel a,
div.page-rate-widget-box span.cancel a:hover {
	color: #fff;
}

div.page-rate-widget-box span.rateup,
div.page-rate-widget-box span.ratedown {
	background-color: #fff !important;
}

div.page-rate-widget-box span.rateup a,
div.page-rate-widget-box span.ratedown a {
	color: #000 !important;
}

div.page-rate-widget-box span.cancel a:hover,
div.page-rate-widget-box span.rateup a:hover,
div.page-rate-widget-box span.ratedown a:hover {
	background: transparent !important;
	color: transparent !important;
}

div.open-menu a {
	color: #000 !important;
	border-color: #000 !important;
}

div.scpnet-interwiki-wrapper {
	filter: contrast(100%) grayscale(100%) sepia(50%)
		drop-shadow(0 1px 1px #000000%);
}
