/*
  Classes:

  DIV.wikitext - the transformed wiki page text.

  A.wiki           - link to page in wiki.
  A.named-wiki    - a named link to page in wiki (from e.g. [name|WikiPage]).
  A.interwiki     - link to page in another wiki
    SPAN.wikipage    - page name within interwiki link.
  A.named-interwiki  - link to page in another wiki
  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.
*/

/* NS4 & OmniWeb 4 don't grok @import.  This allows us to put things which
 * break NS4 and OW4 in another file.
 */
@import url(phpwiki-heavy.css);

BODY { 	
margin:0 0 10px 0;
padding:0;
color: #303A43;
font-family: georgia, serif;
background-color: #fff;
/*background image info is in heavy
*/
}


#title {
margin:0;
/*background image info is in heavy
*/
}





h1.title {
padding-left:4px;
}

h1 {
	margin: 0 0 0 4px;
	font-family: arial; 
	font-size: 36px;
	font-weight: normal;
	color: #303A43;
	padding-bottom: 10px;
	text-align: left;	
}


/*
 * NS4, defaults from BODY don't always propagate correctly.
 * So we need this:
 */ 
.wikitext, P, TD { font-family: georgia, serif; }


 
.wikitext PRE { font-family: monospace; }

DIV.wikitext {
background-color:#fff;
 border-top: 1px solid #369;
 border-bottom: 1px solid #369;
 padding-left: 0.8em; 
 padding-right: 0.8em; 
 padding-top: 0px;
 padding-bottom: 0px;
 margin: 0;
 /* This breaks Netscape 4: (display does not go full width).
    width: auto;
 */
 clear: both;
}

INPUT.wikitext { margin:0px; }
form {
margin:0px;


}



#toolbar { 
margin: 0;
padding: 4px 8px 12px 8px;
font-weight: normal;
color: #303A43;

border-bottom: 5px solid #B8CFE7;


}


#disclaimer {
font-size: 12px;
font-style:italic;
margin: 0;
padding: 4px 8px 4px 8px;
}









.anci {
font-style:italic;
font-size:10px;
}
/*
 * 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 {
 background: #369;
 height: 1px;
 width: 90%;
 margin-left:auto;
 margin-right:auto;
 align:center; /* for NS4 */
}


/*
 * Link styles
 */
/* Wiki Links */


A:link {
	color: #369;
	text-decoration: none;
	border-bottom: 1px solid #369;
	
}

A:visited {
	color: #636;
	text-decoration: none;
	border-bottom: 1px dotted #636;
	}

A:hover {
	color: #fc3;
	text-decoration: none;
	border-bottom: 1px solid #fc3;
	
}






.wiki  { font-weight: normal; }
/* 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 A:link, .named-wikiunknown A:link {
color:#fff; 
}

.wikiunknown, .named-wikiunknown
{color: #600; }

/* Interwiki links */

.wikipage   { font-weight: normal#669; }

.interwiki,
I .interwiki .wikipage, EM .interwiki .wikipage
{ font-style: oblique; }

.interwiki .wikipage,
I .interwiki, EM .interwiki  
{ font-style: normal; }

/*
 * wikiaction, wikiadmin, wikiunsafe:
 */

.wikiunsafe                     { background-color: #ccc; }

/*
 * No border on external link icons.
 */
img.linkicon, img.rssicon	{ border: 0px; }
img.rssicon		{ vertical-align: top; }
/* This screws up NS4, moved to phpwiki-heavy.css 
img.linkicon		{ vertical-align: middle; }
*/

 
/*  CR***
 * 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; }

* CR *** 
*/




/* Make the textarea on the edit page full width */
TEXTAREA.wikiedit { width: 100%; margin-top: 10ex; }


/* Calendar plugin */

a.cal-hide, a.cal-arrow { text-decoration: none; }
.cal-arrow { font-weight: bold; }
.cal-header { font-size: larger; }
.cal-dayname { font-size: smaller; text-decoration: underline; }
table.cal { border: thin solid black; } 


/* IncludePage plugin */
.transclusion-title {
  font-style: oblique;
  font-size: smaller; /* 0.75em; */
  text-decoration: underline;
  text-align: right;
} 

div.transclusion { 
  background: #cfc;
  border: thin;
  border-style: solid;
  padding-left: 0.8em; 
  padding-right: 0.8em; 
  padding-top: 0px;
  padding-bottom: 0px;
  margin: 0.5ex 0px;
}

/* The transclusion of the TextEditingRules Synopsis on templates/editpage.html */
div.wiki-edithelp .transclusion {
  font-size: smaller;
  background: inherit;
  padding: 0.5ex 0.5em;
  margin: 0.2ex 5%;
}
div.wiki-edithelp .transclusion p {
  margin: 0;
}
div.wiki-edithelp {
  background-color: #E6F2FD; /* paler blue */
  font-size: smaller;
  padding: 0.05ex 1%;
}
  
/****************************************************************
 **
 ** Diff Output
 **
 *****************************************************************/
.diff .block	{ padding: 0.5ex 0.5em; margin: 0.5ex 0; }
.diff .block tt	{ font-weight: bold; }
.diff del,
.diff ins	{ font-weight: bold; text-decoration: none; }

/* These screw up NS4 --- moved to phpwiki-heavy.css
.diff .block div { position: relative; padding-left: 1.5em; } 
.diff .prefix	{ position: absolute; left: 0.5em; top: 0; }
*/

.diff .block	{ background: #ccc; }
.diff .context	{ background: #fff; }
.diff .original,
.diff .deleted	{ background: #fcc; }
.diff .final,
.diff .added	{ background: #cfc; }
/*
.diff .original	{ background: #feb; }
.diff .final	{ background: #efb; }
*/
/* These don't work in NS4 -- it completely ignores <del> and <ins>. */
.diff del	{ background: #f99; }
.diff ins	{ background: #9f9; }



/* For emacs users
 *
 * Local Variables:
 * mode: c
 * c-file-style: cc-mode
 * End:
 */
