/*
** MediaWiki Print style sheet for CSS2-capable browsers.
** Copyright Gabriel Wicke, http://www.aulinx.de/
**
** Derived from the plone (http://plone.org/) styles
** Copyright Alexander Limi
*/

/* Thanks to A List Apart (http://alistapart.com/) for useful extras */
a.stub,
a.new{ color:#ba0000; text-decoration:none; }

#toc { 
    /*border:1px solid #2f6fab;*/
    border:1px solid #aaaaaa;
    background-color:#f9f9f9;
    padding:5px;
}
.tocindent {
	margin-left: 2em;
}
.tocline {
	margin-bottom: 0px;
}

/* images */
div.floatright { 
    float: right;
    clear: right;
    margin: 0;
    position:relative;
    border: 0.5em solid White;
    border-width: 0.5em 0 0.8em 1.4em;
}
div.floatright p { font-style: italic;} 
div.floatleft { 
    float: left; 
    margin: 0.3em 0.5em 0.5em 0;
    position:relative;
    border: 0.5em solid White;
    border-width: 0.5em 1.4em 0.8em 0;
}
div.floatleft p { font-style: italic; } 
/* thumbnails */
div.thumb {
    margin-bottom: 0.5em;
    border-style: solid; border-color: White;
    width: auto;
    overflow: hidden;
}
div.thumbinner {
    border:1px solid #cccccc;
    padding: 3px !important;
    background-color:#f9f9f9;
    font-size: 94%;
    text-align: center;
}
html .thumbimage {
    border:1px solid #cccccc;
}
html .thumbcaption {
    border: none;
    padding: 0.3em 0 0.1em 0;
}
div.magnify { display: none; }
div.tright {
    float: right;
    clear: right;
    border-width: 0.5em 0 0.8em 1.4em;
}
div.tleft {
    float: left;
    margin-right:0.5em;
    border-width: 0.5em 1.4em 0.8em 0;
}
img.thumbborder {
	border: 1px solid #dddddd;
}

/* table standards */
table.rimage {
    float:right; 
    width:1pt; 
    position:relative;
    margin-left:1em; 
    margin-bottom:1em;
    text-align:center;
}

body {
    background: White;
    /*font-size: 11pt !important;*/
    color: Black;
    margin: 0;
    padding: 0;
}

.noprint,
div#jump-to-nav,
div.top,
div#column-one,
#colophon,
.editsection,
.toctoggle,
.tochidden,
div#f-poweredbyico,
div#f-copyrightico,
li#viewcount,
li#about,
li#disclaimer,
li#privacy,
#mw-hidden-catlinks {
    /* Hides all the elements irrelevant for printing */
    display: none;
}

ul { 
    list-style-type: square;
}

#content {
    background: none;
    border: none ! important;
    padding: 0 ! important;
    margin: 0 ! important;
}
#footer {
	background : white;
	color : black;
    border-top: 1px solid black;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
}

p, .documentDescription {
    margin: 1em 0 ! important;
    line-height: 1.2em;
}

.tocindent p {
	margin: 0 0 0 0 ! important;
}

pre {
    border: 1pt dashed black;
    white-space: pre;
    font-size: 8pt;
    overflow: auto;
    padding: 1em 0;
	background : white;
	color : black;
}

table.listing,
table.listing td {
    border: 1pt solid black;
    border-collapse: collapse;
}

a {
    color: Black !important;
    background: none !important;
    padding: 0 !important;
}

a:link, a:visited {
    color: #520;
    background: transparent;
    text-decoration: underline;
}

#content a.external.text:after, #content a.external.autonumber:after {
    /* Expand URLs for printing */
    content: " (" attr(href) ") ";
}

#globalWrapper {
    width: 100% !important;
    min-width: 0 !important;
}

#content {
	background : white;
	color : black;
}

#column-content {
    margin: 0 !important;
}

#column-content #content {
    padding: 1em;
    margin: 0 !important;
}
/* MSIE/Win doesn't understand 'inherit' */
a, a.external, a.new, a.stub {
	color: black ! important;
	text-decoration: none ! important;
}

/* Continue ... */
a, a.external, a.new, a.stub {
	color: #3355CC ! important;
	text-decoration: inherit ! important;
}

img { border: none; }
img.tex { vertical-align: middle; }
span.texhtml { font-family: serif; }

#siteNotice { display: none; }

div.gallerybox {
	border: 1px solid #cccccc;
	background-color:#f9f9f9;
	width:  150px;
}

div.gallerytext {
	overflow: visible;
}       

/*
** Diff rendering
*/
table.diff { background:white; }
td.diff-otitle { background:#ffffff; }
td.diff-ntitle { background:#ffffff; }
td.diff-addedline {
    background:#ccffcc;
    font-size: smaller;
    border: solid 2px black;
}
td.diff-deletedline {
    background:#ffffaa;
    font-size: smaller;
    border: dotted 2px black;
}
td.diff-context {
    background:#eeeeee;
    font-size: smaller;
}
.diffchange {
    color: silver;
    font-weight: bold;
    text-decoration: underline;
}
body{
    color: #333333;
}
.wiki_page_nav{
    display: none;
}
#firstHeading {
    font-size: 188%;
    line-height: 2.5rem;
}
.print_place_holder{
    width: 960px;
    margin: 0 auto;
}
/*.print_place_holder_thead,print_place_holder_tfoot{
    display: none;
}*/
#print_header{
    width: 960px;
    margin: 0 auto;
    border-bottom: 1px solid #aaa;
    padding: 20px 0 5px 0;
    color: #333333;
    font-size: 14px;
    overflow: hidden;
    position: relative;
}
.header-left{
    width: 70%;
    position: absolute;
    bottom: 5px;
}
#print_header a{
    font-weight: normal;
}
#print_header .header-right{
    color: #abb2ba;
    width: 30%;
}
#print_header a.home{
    color: #558ed5 !important; 
    font-weight: bold;
}
.f-right{
    float: right;
}
.app-download-tips{
    display: none;
}

@media print {
    #print_header{
        position: fixed;
        top: -5px;
        /*padding-top: 20px;*/
        background-color: white;
        /*display: none;*/
    }
    #footer{
        position: fixed;
        right: 15px;
        top: 50%;
        margin-top: -210px;
    }
    #footer .footer_inner {
        position: absolute;
        bottom: 100%;
        -webkit-transform: rotateZ(90deg);
        transform-origin: 0 100%;
        background: #AACAD7;
        white-space: nowrap;;
    }
    @page {
        margin-top: 31px;
        margin-left: 60px;
        margin-right: 55px;
        /*margin-bottom: -20px;*/
    }
    .print_place_holder_thead,.print_place_holder_tfoot{
        display: block;
    }
    #content_wrapper{
        padding-top: 0 !important;
    }
    .header-space{
        height: 50px;
    }
    .footer-space{
        height: 0px;
    }
    .page_ref_description_content{
        display: none;
    }
}
table.wikitable {
    margin: 1em 1em 1em 0;
    background: #f9f9f9;
    border: 1px #aaa solid;
    border-collapse: collapse;
}
table.wikitable { page-break-inside:auto }
table.wikitable tr    { page-break-inside:avoid; page-break-after:auto }
table.wikitable thead { display:table-header-group }
table.wikitable tfoot { display:table-footer-group }
/*历史版本*/
#page_link_history_pages, .main_page_link_history_pages {
    margin-bottom: 5px;
}
#page_link_history_pages .link_history_head, .main_page_link_history_pages .link_history_head {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: #e3e3e3;
    color: #333333;
    padding: 5px;
    font-weight: bold;
    font-size: 12px;
}
#page_link_history_pages .link_history_action_contract, #page_link_history_pages .page_link_history_content, .main_page_link_history_pages .link_history_action_contract, .main_page_link_history_pages .page_link_history_content {
    display: none;
    font-size: 12px;
}
.main_page_link_history_pages .page_link_history_content table, #page_link_history_pages .page_link_history_content table {
    border-collapse: collapse;
}
#page_link_history_pages .page_link_history_content table th, #page_link_history_pages .page_link_history_content table td, .main_page_link_history_pages .page_link_history_content table th, .main_page_link_history_pages .page_link_history_content table td {
    border: 1px #e3e3e3 solid;
    padding: 2px 3px;
    word-wrap: anywhere;
}
/*右侧栏挪到最下面*/
#contentRightDiv {
    width: 100%;
    display: block;
    float: none;
    height: 100%;
}
#contentRightDiv > div{
    border: none !important;
    background: none !important;
    color: #333333 !important;
}
#contentRightDiv > div:first-child{
    border-bottom: 1px solid #aaa !important;
}
#contentRightDiv > div .PortalTitleBar{
    display: none;
}
#contentRightDiv > p{
    display: none;
}
#contentRightDiv .PortalContent p{
    margin: 0 !important;
}
a.new, #quickbar a.new {
    color: #cc2200;
}
/*#contentRightDiv .PortalContent p a {
    background: url(/wiki/skins/cpierblue/images/icon_01.png) no-repeat 0px 9px !important;
    padding-left: 7px !important;
}*/
/*评论区隐藏*/
.comment_title_h2,.page_comment_wrapper{
    display: none;
}
/*隐藏原有同源文章，相关文章，挪到大标题的下面*/
#page_link_subsidiary_pages,#custom_page_language_property{
    display: none;
}
.wiki_header_infomation{
    margin-bottom: 0 !important;
}
.wiki_header_infomation span{
    display: block;
}

#content_left_wrapper>p>a {
    word-break: break-word;
}