/*
  Classes:

  DIV.wikitext - º¯È¯µÈ À§Å° ÆäÀÌÁö ÅØ½ºÆ®

  A.wiki           - À§Å° ÆäÀÌÁö·ÎÀÇ ¸µÅ©
  A.named-wiki    - À§Å° ÆäÀÌÁö·ÎÀÇ ÀÌ¸§ÀÌ ºÙÀº ¸µÅ©([name|WikiPage] ÇüÅÂ).
  A.interwiki     - ´Ù¸¥ À§Å°¿¡ ÀÖ´Â ÆäÀÌÁö·ÎÀÇ ¸µÅ©
    SPAN.wikipage    - ´Ù¸¥ À§Å°¿¡ ÀÖ´Â ÆäÀÌÁö·ÎÀÇ ÀÌ¸§ÀÌ ºÙÀº ¸µÅ©
  A.named-interwiki  - ´Ù¸¥ À§Å°¿¡ ÀÖ´Â ÆäÀÌÁö·ÎÀÇ ÀÌ¸§ÀÌ ºÙÀº ¸µÅ©
  A.url           - link to external URL from wiki page.
  A.named-url     - link to external URL from wiki page.

  .wikiunknown A, .wikiunknown U
  .named-wikiunknown A, .named-wikiunknown U
  
  A.wikiaction
  A.wikiadmin
  .wikiunsafe

  A.backlinks
  
TODO: Get rid of tables in wikiaction forms.
*/

BODY {color : #000000; background-color: #FFFFFF; margin 0; padding:0;}

.toolbar { background-color : #FFFFFF; padding-top: 10px;
}

.recent {font-size: 90%;}
INPUT.button { font-family: "±¼¸²", arial, helvetica, sans-serif; }

//.wikitext PRE { font-family:  monospace; }


.wikitext pre { background-color : #EEEEEE; font-family: monospace;}

.wikitext h1 {background-color : #E8E0FF; border: solid 1px #d0d0d0; padding-left: 3pt;}
.wikitext h2 {background-color : #EBE8FF; border: solid 1px #d0d0d0; padding-left: 4pt;}
.wikitext h3 {background-color : #F0F0FF; border: solid 1px #d0d0d0; padding-left: 5pt;}
.wikitext h4 {background-color : #F4F8FF; border: solid 1px #d0d0d0; padding-left: 6pt;}
.wikitext h5 {background-color : #F4FFFF; border: solid 1px #d0d0d0; padding-left: 7pt;}
.wikitext h6 {background-color : #F8FFFF; border: solid 1px #d0d0d0; padding-left: 8pt;}

.comment {margin-left : 5em; margin-bottom: 4px; font-size: 80%; background-color : #ffffc0; }

.wikitext {
 background: white;
 padding-left: 0.8em; 
 padding-right: 0.8em; 
 padding-top: 5px;
 padding-bottom: 5px;
 line-height: 130%;
 /* This breaks Netscape 4: (display does not go full width).
    width: auto;
 */
	border-style: dashed; border-color: #6060a0;
	border-width: 1px;
 min-height: 20em;
}


.navbar {
  text-align: right;
  font-family: sans-serif; 
  font-size:80%; 
}
.navbar div { display: inline;}

#logo {
  margin: 1em;
}

#title {
position: relative;
top: 0;
left: 10%;
width: 70%;
text-align: center;
}

#title h1 {
  font-size: 32pt;
  margin:0;
}

#main {
 position: relative;
 left: 20%;
 width:78%;
}

#main_navbar{
 position: absolute;
 left: 0;
 float:left;
 font-size: 80%;
 font-family: sans-serif;
 width: 20%;
 text-align: right;
}

#main_navbar div{
  padding-top: 0.2em;
  padding-right: 1em;  
  margin-top: 0.2em;
}

.heading {
 font-weight: bold;
 margin-top: 1em;
}
.footer {
 font-size: 80%;
 text-align: right;
}


.genblock {
	margin-left: 0.5em;
	padding-left: 0.5em;
	  line-height: 120%;
 /* This breaks Netscape 4: (display does not go full width).
    width: auto;
 */
	border-color: #c0c0c0;
	border-width: 1px;
	border-top-style: solid; 
	border-bottom-style: solid; 
}
.toctoggle {
	line-height: 110%;
	background-color : #F8FFFF;
	font-size: 90%;
}

.toc {
	margin: 1em 0 1em 0;
}

INPUT.wikitext { margin:0px; }

.toolbar { margin: 1ex 0ex; }

/*
 * This is a kluge for NS4 which doesn't honor the clear: settings on
 * .tool-left and .tool-right.
 *
 * Putting in explicit <br clear="all"> messes up the formatting in
 * other browsers.  Instead we'll put in a:
 *
 *  <div class="br"><br class="ignore" clear="all"></div>
 *
 * The clear:both on DIV.br seems to work.  And we'll disable the <br> altogether (in
 * CSS aware browsers) by setting display:none.
 *
 * Actually, I haven't yet found a browser which doesn't put a line break
 * between successive <div>'s.  This makes the <br class="ignore"> completely
 * unnecessary. 
 */
DIV.br { clear:both; line-height: 0px; }
.ignore { display: none; }
 
DIV.errors {
 background: #eee;
 border: medium;
 border-color: red;
 border-style: solid;
 padding-left: 0.8em; 
 padding-right: 0.8em; 
 padding-top: 0px;
 padding-bottom: 0px;
 margin: 1em;
 /* This breaks Netscape 4: (display does not go full width).
    width: auto;
 */
 clear: both;
}

.errors H4 {
 color:red;
 text-decoration: underline;
 margin:0px;
}

P.error {
 font-size: smaller;
 font-family: monospace;
 margin:0px;
}
.error UL
{
 font-size: smaller;
 font-family: monospace;
}

/*
 * Style for <hr>s in wiki markup.
 */
.wikitext HR {
 width: 100%;
 align:center; /* for NS4 */
}

// em { font-style: normal; font-weight: bold; }
span.inline_quote:before { content:"\201C" }
span.inline_quote:after { content:"\201D"; }
span.inline_code { font-family:monospace; color:#600000;}

/*
 * Link styles
 */
	a {color:#111188;}
    a:active {color : #335500}
    a:visited {color : #114b66}
a:hover { background-color:yellow; }

/* Wiki Links */
A.wiki { text-decoration: none; }
.wiki  { font-weight: bold; }
/* This is obscene in NS4
B .wiki, STRONG .wiki { font-size: larger; }
*/

/* Unknown links */
.wikiunknown A, .named-wikiunknown A, .wikiunknown U
{ text-decoration: none; }

.wikiunknown, .named-wikiunknown
{color: #600;}
.wikiunknown A, .named-wikiunknown A
{ color: white; background-color: #600; }

/* Interwiki links */
A.interwiki { text-decoration: none; }
.wikipage   { font-weight: bold; }

.interwiki,
I .interwiki .wikipage, EM .interwiki .wikipage
{ font-style: oblique; }

.interwiki .wikipage,
I .interwiki, EM .interwiki  
{ font-style: normal; }

/*
 * wikiaction, wikiadmin, wikiunsafe:
*/
A.wikiaction, A.wikiadmin       { text-decoration: none; border:1px solid black; padding:1px;}
A.wikiaction, .wikiaction TABLE, SPAN.wikiaction  { background-color: #ddd; }
A.wikiadmin, .wikiadmin TABLE   { background-color: #fdd; }
.wikiunsafe                     { background-color: #ccc; }

/*
 * Put a border around wikiaction forms:
 * This doesn't work for NS4.
 */
.wikiaction TABLE, .wikiadmin TABLE
{
  border-style: ridge;
  border-width: medium;
}
.wikiaction TABLE { border-color: #9cf; }
.wikiadmin TABLE  { border-color: #f99; }

span.keycap { font-family: monospace; }
 
/* Backlinks */
A.backlinks { color: #006; }

/* Make the textarea on the edit page full width */
TEXTAREA.wikiedit {margin-top: 1ex; font-family: "±¼¸²", monospace;}

