.mw-body-content blockquote {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 40px;
    margin-inline-end: 40px;
}

.mw-body-content strong, .mw-body-content b {
    font-weight: bold;
}

.mw-body-content i, .mw-body-content address {
    font-style: italic;
}

.mw-body-content .toc h2 {
    margin:0;
    font-size:100%;
}

/* heading elements */
/* .ck.ck-editor__editable_inline>:first-child {
    margin-top:1.0rem !important;
} */
/* 42 20 15 5 */
.mw-body-content h1 {
    all: revert;
    font-weight: 100;
    margin: 2.6rem 0 1.3rem 0;
    padding:1.0rem 0 0.3rem 0;
    border-bottom:solid;
    border-bottom-color: #c1bdbd;
    border-bottom-width: 1px;
}

.mw-body-content h2 {
    all: revert;
    font-weight: 100;
    margin: 2.0rem 0 0.9rem 0;
    padding:0.8rem 0 0.2rem 0;
    border-bottom:solid;
    border-bottom-color: #c1bdbd;
    border-bottom-width: 1px;
}

/* 26 5 9 3 */
.mw-body-content h3 {
    all: revert;
    font-size:1.2rem;
    margin: 1.6rem 0 0.4rem 0;
    padding:0.6rem 0 0.2rem 0;    
}

.mw-body-content h4 {
    all: revert; 
    font-size:1.1rem;
}

.mw-body-content h5 {
    all: revert; 
    font-size:0.9rem;
}

.mw-body-content h6 {
    all: revert;  
    font-size:0.8rem;
}

/* tables */

.mw-body-content table {
    display: table;
    border-collapse: collapse;
    border-spacing: 0;
    border-color: #a2a9b1;
}

.mw-body-content .table table td{
    border: 1px solid #bfbfbf !important;
}

.mw-body-content thead {
    display: table-header-group;
    vertical-align: middle;
    border-color: inherit;
}

.mw-body-content tbody {
    display: table-row-group;
    vertical-align: middle;
    border-color: inherit;
}

.mw-body-content tfoot {
    display: table-footer-group;
    vertical-align: middle;
    border-color: inherit;
}

/* for tables without table section elements (can happen with XHTML or dynamically created tables) */
.mw-body-content table > tr {
    vertical-align: middle;
}

.mw-body-content col {
    display: table-column;
}

.mw-body-content colgroup {
    display: table-column-group;
}

.mw-body-content tr {
    display: table-row;
    vertical-align: inherit;
    border-color: inherit;
}

.mw-body-content td, .mw-body-content th {
    display: table-cell;
    vertical-align: inherit;
}

.mw-body-content th {
    font-weight: bold;
}

.mw-body-content caption {
    display: table-caption;
    text-align: center;
}
/* lists */

.mw-body-content ul, .mw-body-content menu, .mw-body-content dir {
    display: block;
    list-style-type: disc;
    margin-block-start: 0.3em;
    margin-block-end: 0.3em;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-inline-start: 26px;
}

.mw-body-content ol {
    display: block;
    list-style-type: decimal;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-inline-start: 26px;
}

.mw-body-content li { /* 갤러리를 위해 주석처리함 */
    /* display: list-item; */
    text-align: match-parent;
}

.mw-body-content ::marker {
    unicode-bidi: isolate;
    font-variant-numeric: tabular-nums;
    white-space: pre;
    text-transform: none;
}

.mw-body-content ul ul, .mw-body-content ol ul {
    list-style-type: circle;
}

.mw-body-content ol ol ul, .mw-body-content ol ul ul, .mw-body-content ul ol ul, .mw-body-content ul ul ul {
    list-style-type: square;
}

/* .mw-body-content a:any-link {
    color: #0645ad;
    cursor: auto;
}

.mw-body-content a:any-link:active {
    color: #0b0080;
}  */

/* 추가 */

body {line-height: 1.6rem !important;}

.mw-body-content pre {
    margin:1.0rem 0;
    font-family: Consolas,"Nanum Barun Gothic";
}

.mw-body-content ul {
    list-style: revert;
    padding:0;
}

/* .mw-body-content li {
    list-style: none;
} */

.mw-body-content .external {
    display:inline-block;
}

.toctitle {
    display: flex;
    justify-content: center;
}

.toctitle h2 {
    border-bottom:none;
    font-weight: bold;

    padding: 0.18rem 0;
}

.toctitle span {
    margin:3px 0 0 3px;
}

/* .mw-body-content p {
    margin:0.4rem 0;
} */
/* .mw-body-content input {
    padding : 0;
} */

/* a .new {`
    color: #dd3333 !important;
} */


a {color: #0645ad;cursor: pointer;}
a:active {color: #0b0080;}

.mw-body-content h3, h4, h5 {
    margin-bottom:0.3em !important;
}

/* 특수문서 목록 */
.mw-specialpages-list ul, .mw-spcontent ul, .mw-allpages-body ul {
    list-style:revert;
    padding-left:20px !important;
}

.mw-body-content .toc ul {
    list-style-type : none;
    padding:0 20px 0 5px !important;
}

/*사용자기여  */
/* .mw-pager-body ul {
    padding-left:30px;
} */

/* 분류목록 */

.mw-body-content ul {
    padding-left:10px;
}

#mw-content-text ul {
    padding-left:20px;
}

#msupload-div ul {
    padding-left:0;
}

.mw-search-form-wrapper ul {
    list-style : none;
}

h4.mw-index-pager-list-header {
    display:none;
}

/* #pagehistory > h4 {
    display:none;
} */

#pagehistory > ul {
    list-style:revert;
    padding-left:20px;
}

#pagehistory > ul > li {
    padding:0;
}

textarea {
    padding:0.4rem;
}

p {
    margin:0.3rem;
}

ul.gallery {
    list-style: none;
    padding-left: 0 !important;
}