/*
 * 마비노기 위키아의 모든 스킨에 적용되는 CSS입니다.
 *
 * 정리가 필요한 부분에는 XXX를 달아주세요.
 */

/* 포럼토론 없애기 */
body.ns-110 #ca-talk, body.ns-110 #this_talk, body.ns-110 #page_tabs li+li  { display: none; }

/* 포럼 관련 소스 */
.forumlist td span { display: block; padding-left: 10px; font-size: smaller }
.forumlist td span a { text-decoration: none; }
.forumlist td span.forum_author { padding-left: 30px; }
.forumlist td.forum_edited a { text-decoration: none }
.forumlist td.forum_title a { padding-left: 20px; }
.forumlist td.forum_title span a { padding-left: 0px }
.forumlist td.forum_title a.forum_new { font-weight: bold; background: url(http://images.wikia.com/www/images/4/4e/Forum_new.gif) center left no-repeat; padding-left: 20px; }
.forumlist td.forum_title a.forum_new:visited { font-weight: normal; background: none; padding-left: 20px; }
.forumlist th.forum_title { padding-left: 20px; }

/** <references /> 관련 CSS **/

/* 주석 목록을 작게 */
ol.references {
   font-size: 90%;
}

.references-small { 
   font-size: 80%;
}

/* 주석을 클릭하면 푸르게 변하게 함 (위치 추적에 도움) */
ol.references > li:target, sup.reference:target {
 background-color: #DEF;
}

/** 표 속성 - wikitable, prettytable **/
/* class 이름으로 prettytable보다 wikitable을 사용해주세요. */
table.wikitable,
table.prettytable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #aaaaaa solid;
  border-collapse: collapse;
}
 
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
  border: 1px #aaaaaa solid;
  padding: 0.2em;
}
 
table.wikitable th,
table.prettytable th {
  background: #f2f2f2;
  text-align: center;
}
 
table.wikitable caption,
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
  font-weight: bold;
}
 
/** .messagebox 스타일 **/
 
.messagebox {
   border: 1px solid #aaaaaa;
   background-color: #f9f9f9;
   width: 85%;
   margin: 0 auto 1em auto;
   padding: .2em;
   text-align: justify;
   font-size: 80%;
}
.messagebox.merge {
   border: 1px solid #cf9fff;
   background-color: #f5edf5;
   text-align: center;
}
.messagebox.cleanup {
   border: 1px solid #9f9fff;
   background-color: #efefff;
   text-align: center;
}
.messagebox.standard-talk {
   border: 1px solid #c0c090;
   background-color: #f8eaba;
}

/** 정보상자 **/
.infobox {
   border: 1px solid #aaaaaa;
   background-color: #f9f9f9;
   margin-bottom: 0.5em;
   margin-left: 1em; 
   padding: .2em;
   float: right;
   clear: right;
}
.infobox td,
.infobox th {
   vertical-align: top;
}
.infobox caption {
   font-size: larger;
   margin-left: inherit;
}
.infobox.bordered {
   border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
   border: 1px solid #aaaaaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
   border: 0;
}
.infobox.sisterproject {
   width: 20em;
   font-size: 90%;
}
 
/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
   border: 0;
   border-top: 1px solid #aaa;
   border-right: 1px solid #aaa;
}
 
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
   border: 0;
   border-right: 1px solid #aaa;
}
 
/* styles for geography infoboxes, e.g. countries, country subdivisions, cities, etc. */
 
.infobox.geography {
   text-align: left;
   border-collapse: collapse;
   line-height: 1.2em; 
   font-size: 90%;
}
 
.infobox.geography  td,
.infobox.geography  th {
   border-top: solid 1px #aaa;
   padding: 0.4em 0.6em 0.4em 0.6em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
   border-top: solid 1px #aaa;
   padding: 0.4em 0.6em 0.2em 0.6em;
}
 
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
      border: 0;
      padding: 0 0.6em 0.2em 0.6em;
}
 
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
   border-top: 0;
   border-bottom: solid 1px #aaa;
   padding: 0 0.6em 0.4em 0.6em;
}
 
.infobox.geography .maptable td,
.infobox.geography .maptable th {
      border: 0;
      padding: 0;
}

/* pre 상자 */
pre {
padding: 1em;
border: 1px solid #003399;
color: #003399;
background-color: #F4F6FE;
line-height: 1.1em;
overflow: auto;
}
 
/* 공지의 모양 조절 */
.notice {
    margin: 1em;
    padding: 0.2em;
}

/* 서버 공지 */
#siteNotice table { 
background:transparent;
text-align:center;
font-family: AppleGothic, '맑은 고딕', 굴림, sans-serif;
} 

#siteNotice {
  margin-top: 5px;
  font-style: normal;
  text-align: center;
}

/* 동음이의 틀 스타일 */
#disambig {
    border-top: 1px solid #ccc; 
    border-bottom: 1px solid #ccc;
}

/* 스포일러 경고 틀 스타일 */
.spoiler {
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
}

/** 토막글 틀 스타일 **/
table.stub {
  width: 100%;
  margin: 1em auto 0;
  border-top: 1px solid #ccc; 
  border-bottom: 1px solid #ccc;
  font-size: 85%;
}

/* 토막글 중복시에 사용되는 스타일 */
table.stub + table.stub {
  margin-top: -1px;
  border-top: 0;
}

/* 배경이 투명한 이미지에 배경으로 적용되는 체크(체스판) 이미지 */
#file img {background: url("http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;}

/* [[위키백과:사랑방/2007년 4월#영어판의 틀을 번역했는데, 모양이 다르게 나옵니다.]]
   [[:en:MediaWiki:Common.css]]에서 가져옴 */
table.navbox {
    background-color: #f9f9f9;
    border: 1px solid #aaa;
    clear: both;
    font-size: 90%;
    margin: 1em 0em 0em;
    padding: 2px;
    text-align: center;
    width: 100%;
}

table.navbox th {
    background-color: #ccf;
    padding-left: 1em;
    padding-right: 1em;
}

table.navbox tr:not(:first-child) th {
    background-color: #ddf;
}

@media print {
    .navbox {
        display: none;
    }
}

/* [[위키백과:관리자 요청/2007년 5월#스크립트 추가 요청]]. ctrl+v from en: */
/* Standard Navigationsleisten, aka box hiding thingy from .de.  Documentation at [[Wikipedia:NavFrame]]. */
div.Boxmerge,
div.NavFrame {
        margin: 0px;
        padding: 4px;
        border: 1px solid #aaa;
        text-align: center;
        border-collapse: collapse;
        font-size: 95%;
}
div.Boxmerge div.NavFrame {
        border-style: none;
        border-style: hidden;
}
div.NavFrame + div.NavFrame {
        border-top-style: none;
        border-top-style: hidden;
}
div.NavPic {
        background-color: #fff;
        margin: 0px;
        padding: 2px;
        float: left;
}
div.NavFrame div.NavHead {
        height: 1.6em;
        font-weight: bold;
        background-color: #ccccff;
        position:relative;
}
div.NavFrame p {
        font-size: 100%;
}
div.NavFrame div.NavContent {
        font-size: 100%;
}
div.NavFrame div.NavContent p {
        font-size: 100%;
}
div.NavEnd {
        margin: 0px;
        padding: 0px;
        line-height: 1px;
        clear: both;
}
a.NavToggle {
        position:absolute;
        top:0px;
        right:3px;
        font-weight:normal;
        font-size:smaller;
}
/* NavFrame 여기까지 */

/* 문서 제목 밑의 tagline 모양 조절 */
#siteSub {
    display: inline;
    font-size: small;
    font-weight: normal;
}
#bodyContent #siteSub a {
  color: #000;
  text-decoration: none;
  background-color: transparent;
  background-image: none;
  padding-right: 0;
}

/* 차이 보기에서 변화한 부분 모양 조절.
  (회색 점선의 사각형으로 둘러쌈)  */ 
.diffchange {
  background-color: inherit;
  border: 1px dotted #888888;
}

/* 차이 보기의 글자 크기 조절. */
td.diff-addedline, td.diff-deletedline, td.diff-context {
    font-size: 85%;
    color: inherit;
}

/* 로그인 상자의 모양 조절. */
#pt-login {
  font-weight: bold;
  font-size: 110%;
}
form#userlogin {
  float: left;
  padding: 1em 1em .7em 1em;
  background-color: #ffffe6;
  border: 2px solid #fc6;
  color: #000;
  margin-right: 2em;
}
form#userlogin table {
  background-color: #ffffe6;
  color: #000;
}
form#userlogin2 {
  float: left;
  padding: 1em 1em .7em 1em;
  background-color: #ffffe6;
  border: 2px solid #fc6;
  color: #000;
  margin-right: 2em;
}
form#userlogin2 table {
  background-color: #ffffe6;
  color: #000;
}

/* toccolours 클래스: 일부 틀의 디자인에 사용됨 */
.toccolours {
   border:1px solid #aaaaaa;
   background-color: #f9f9f9;
   padding: 5px;
   font-size: 95%;
}

/* [[그림:Example.jpg|thumb]] 프레임이 붙어 있는 그림의 배경을 하얀색으로 */
div.thumb div a img {
    background-color:#ffffff;
}

/* 한국어 글꼴에 맞춰 글자 크기 조절 (118% 증가) 및 서체 설정*/
#bodyContent {
  font-size:118%;
  font-family:'Lucida Grande',AppleGothic,'맑은 고딕',Gulim,굴림,sans-serif;
}

/* 글자 크기 조절 */
.portlet h5,
.portlet ul,
#toc .toctoggle {
    font-size: 100%;
}
.pBody,
#footer,
div.thumb div {
    font-size: 95%;
}
h2 { 
    font-weight: bold;
}

/* 최근 바뀜에서의 편집 관련 표시 */
.minor {
  font-size: smaller;
  color: #808080;
}
.newpage {
  font-size: smaller;
  color: #FF0000;
}
.bot {
  font-size: smaller;
  color: #3CB371;
}

/* 편집 요약, 이유의 모양 설정.
 (기울임 대신 글자 크기 약간 작게 하여 구별) */
.comment {
  font-style: normal !important;
  font-size: 9pt;
}

/* 최근 바뀜에서 문서 분량 변경에 색깔 넣기
 (증가는 초록색 감소는 빨간색) */
.mw-plusminus-pos {
  color:green;
}
.mw-plusminus-neg {
  color:red;
}

/* 문서 목록과 주시문서 목록에서 넘겨주기의 모양 설정
 (연한 회색) */
.allpagesredirect a,
.watchlistredir a  {
  color:#888888;
}

/* 대문에서 특정 요소를 숨김 */
body.page-대문 #t-cite,
body.page-대문 #lastmod,
body.page-대문 #siteSub,
body.page-대문 #contentSub,
body.page-대문 h1.firstHeading {
  display: none !important;
}

/* [[MediaWiki:Edittools]] 편집 입력 도구의 버튼 */
.my-buttons {
  padding: 0.5em;
}
.my-buttons a {
  color: black;
  background-color: #ccddee !important;
  font-weight: bold;
  font-size: 0.9em;
  text-decoration: none;
  border: thin #006699 outset;
  padding: 0 0.1em 0.1em 0.1em;
}
.my-buttons a:hover, .my-buttons a:active {
  background-color: #bbccdd;
  border-style: inset;
}
#editpage-specialchars a {
  text-decoration: none;
}
#editpage-specialchars a:hover {
  text-decoration: underline;
}

/* 링크 냅두면 가만히 가리키면 밑줄 */
.portlet a {
   text-decoration: none;
}
.portlet a:hover {
   text-decoration: underline;
}

/** 미디어 시작 틀과 관련된 코드 **/
/* [[위키백과:관리자 요청/2008년 9월]] */
div.listenlist {
  background: url("http://upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/30px-Gnome-speakernotes.png");
  padding-left: 40px;
}
 
div.videolist, div.multivideolist {
  background: url("http://upload.wikimedia.org/wikipedia/en/thumb/2/20/Tango-video-x-generic.png/40px-Tango-video-x-generic.png");
  padding-left: 50px;
}
 
div.medialist {
  min-height: 50px;
  margin: 1em;
  background-position: top left;
  background-repeat: no-repeat;
}
 
div.medialist ul {
  list-style-type: none;
  list-style-image: none;
  margin: 0;
}
 
div.medialist ul li {
  padding-bottom: 0.5em;
}
 
div.medialist ul li li {
  font-size: 91%;
  padding-bottom: 0;
}

/** [[틀:내비게이션]] 디자인 **/
.pathnavbox {
    clear: both;
    border: 1px outset #eef;
    padding: 0.3em 0.6em;
    margin: 0 0 0.5em 0;
    background-color: #eef;
    font-size: 90%;
}
 
.pathnavbox ul {
    list-style: none none;
    margin-top: 0;
    margin-bottom: 0;
}
 
.pathnavbox > ul {
    margin: 0;
}
 
.pathnavbox ul li {
    margin: 0;
}


/** TabView 확장 기능 (http://help.wikia.com/wiki/Help:Tab_view 참조) **/
/* set the base backcolor of the 'off' tabs */
.yui-navset .yui-nav li
{
  background-color: #D4DEE8;
  padding-left: 10px;
  padding-right: 10px;
}

/* set the background color of the content and the 'on' tab the same (.yui-content : 배경색 조정) */
.yui-navset .yui-nav li.selected
{
  background-color: #E7F2FF;
}

/* style the 'on' tab */
.yui-navset .yui-nav .selected {
border-style: solid;
border-width: 2px 0 0 0;
border-top-color: #2F5DBA;
}

/* keep the side padding, but enforce no gap between content area and tabs */
.yui-content {
margin-top: 0;
padding-top: 0.25em;
padding-left: 0.5em;
padding-right: 0.5em;
}