/**
 * Design elements for default Template
 *
 * @author Andreas Gohr <andi@splitbrain.org>
 * @author Anika Henke <henke@cosmocode.de>
 */

/* -------------- general elements --------------- */

body {
  font-size: 80%;
  word-spacing: 1px;
  line-height:1.5em;
  background-color: #CCCCCC;
  margin: 0;
  padding: 0;
}

body, table, ul, li, p {
  font-family: "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif;
  word-spacing: 1px;
  line-height:1.5em;
  color: #444444;
}

div.dokuwiki {
	background-color: #FFFFFF;
}

div.header {
	BACKGROUND: url(images/header.jpg) no-repeat;
}

.logo a:link, .logo a:visited, .logo a:hover, .logo a:active {
	color:#CCCCCC;
	text-decoration:none;
}


	
/* the document */
div.page {
  margin-top: 4px;
  margin-left:  1em;
  margin-right: 2em;
  text-align: left;
}

table {
  font-size: 100%;
  padding:0;
  margin:0;
}

tr,td,th {padding:0; margin:0;}

img {border:0}

p {padding:0 20px 0 20px; margin: 0 0 1.2em 0;}

hr {
  border: 0px;
  border-top: 1px solid #8cacbb;
  text-align:center;
  height: 0px;
}

div.nothing {
  text-align:center;
	margin: 2em;
}

/* ---------------- forms ------------------------ */

form {
  border: none;
  margin: 0;
  display: inline;
}

label {
  display: block;
  text-align: right;
  font-weight: bold;
}

label.simple {
  text-align: left;
  font-weight: normal;
}

label input.edit {
  width: 50%;
}

fieldset {
  width: 300px;
  text-align: center;
  border: 1px solid #8cacbb;
  padding: 0.5em;
}

textarea.edit {
  font-family:monospace;
  border: 1px solid #8cacbb;  
  color: Black;
  background-color: white;
  font-size:14px;
  padding: 3px;
  width:100%;
}

input.edit,select.edit {
  font-size: 100%;
  border: 1px solid #8cacbb;
  height: 18px !important;
  max-height: 22px !important;
  min-height: 22px !important;
  color: Black;
  background-color: white;
  vertical-align: middle;
  padding: 1px;
  display: inline;
}

input.missing {
  font-size: 100%;
  border: 1px solid #8cacbb;
  height: 18px !important;
  max-height: 22px !important;
  min-height: 22px !important;
  color: Black;
  background-color: #ffcccc;
  vertical-align: middle;
  padding: 1px;
  display: inline;
}

/* --------- buttons ------------------- */


input.button, button.button{
  border: 1px solid #8cacbb;  
  color: Black;
  background-color: white;
  vertical-align: middle;
  text-decoration:none;
  font-size: 100%;
  cursor: pointer;
  height: 22px !important;
  max-height: 22px !important;
  min-height: 22px !important;
  margin: 1px;
  display: inline;
}

div.secedit input.button {
  border: 1px solid #8cacbb;
  color: Black;
  background-color: white;
  vertical-align: middle;
  text-decoration:none;
  margin: 0px;
  padding: 0px;
  font-size: 10px;
  cursor: pointer;
  height: 15px !important;
  max-height: 15px !important;
  min-height: 15px !important;
  float:right;
  display: inline;
}

/* ----------- page navigator ------------- */

div.pagenav {
	margin-top:1em;
}

div.pagenav-prev {
	text-align:right;	
	float:left;
	width:50%
}

div.pagenav-prev input.button {
	margin-right:5px;
}

div.pagenav-next {
	text-align:left;
	float:right;
	width:50%
}

div.pagenav-next input.button {
	margin-left:5px;
}

/* --------------- Links ------------------ */

a {
  color:#999999;
  text-decoration:none;
}
a:hover {
  color:#000000;
  text-decoration:underline;
}

.breadcrumbs a {
  color:#999999;
  text-decoration:none;
}
.breadcrumbs a:hover {
  color:#CCCCCC;
  text-decoration:underline;
}
	
/* external link */
a.urlextern{
    background: transparent url(images/link_icon.gif) 0px 1px no-repeat;
    padding: 1px 0px 1px 16px;
    color:#999999;
    text-decoration:none;
}
a.urlextern:hover {
  color: #000000;
  text-decoration:underline;
}

/* windows share */
a.windows{
    background: transparent url(images/windows.gif) 0px 1px no-repeat;
    padding: 1px 0px 1px 16px;
    color:#436976;
    text-decoration:none;
} 
a.windows:visited {
  color:Purple;
}
a.windows:hover { 
  text-decoration:underline;
}

/* interwiki link */
a.interwiki{
    background: transparent url(images/interwiki.png) 0px 1px no-repeat;
	padding-left: 16px;
    color:#999999;
    text-decoration:none;
}
a.interwiki:hover {
  color: #000000;
  text-decoration:underline;
}

/* link to some embedded media */
a.media {
  color:#436976;
  text-decoration:none;
}
a.media:hover {
  color:#436976;
  text-decoration:underline
}

/* email link */
a.mail {
  background: transparent url(images/mail_icon.gif) 0px 1px no-repeat;
  padding: 1px 0px 1px 16px;
  color:#436976;
  text-decoration:none;
}
a.mail:hover {
  text-decoration:underline;
}

/* existing wikipage */
a.wikilink1:link    { color:#009900; text-decoration:none }
a.wikilink1:visited { color:#009900; text-decoration:none }
a.wikilink1:hover   { color:#009900; text-decoration:underline }

/* not existing wikipage */
a.wikilink2:link    { color:#FF3300; text-decoration:none }
a.wikilink2:visited { color:#FF3300; text-decoration:none }
a.wikilink2:hover   { color:#FF3300; text-decoration:underline }


/* ------------- Page elements ----------------- */

div.preview{
  background:#f7f9fa;
  margin-left:2em;
  padding: 4px;
  border: 1px dashed #000000;
}

div.breadcrumbs{
  color: #444444;
  padding: 3px 3px 4px 6px;
}

span.user{
  color: #cccccc;
  font-size: 90%;
}

/* embedded images */
img.media {
  margin: 3px;
}

img.medialeft {
  border: 0;
  float: left;
  margin: 0 1.5em 0 0;
}

img.mediaright {
  border: 0;
  float: right;
  margin: 0 0 0 1.5em;
}

img.mediacenter {
  border: 0;
	display: block;
  margin-left: auto;
  margin-right: auto;
}

acronym {
  cursor: help;
  border-bottom: 1px dotted #000;
}

/* general headline setup */
H1, H2, H3, H4, H5 {
   COLOR: #000000;
   FONT-FAMILY: Georgia,"Times New Roman",serif;
   FONT-WEIGHT: bold;
   LETTER-SPACING: 0.1em;
   WORD-SPACING: 0.2em;
   MARGIN: 0 0 1em 0;
   PADDING: 0.5em 0 0 0;
   CLEAR: left
}

.logo H1 {MARGIN: 0; PADDING: 11px 0 0 0; FONT-SIZE: 30px; color:#CCCCCC}
H1 {FONT-SIZE: 180%}
H2 {FONT-SIZE: 160%}
H3 {FONT-SIZE: 140%}
H4 {FONT-SIZE: 120%}
H5 {FONT-SIZE: 100%}



/* indent different sections */
div.level1 {margin-left: 25px;}
div.level2 {margin-left: 25px;}
div.level3 {margin-left: 25px;}
div.level4 {margin-left: 25px;}
div.level5 {margin-left: 25px;}

div.level1>ul, div.level2>ul, div.level3>ul, div.level4>ul, div.level5>ul {margin-left: 40px;}

/* unordered lists */
ul { 
  line-height: 1.5em;
  list-style-type: square;
  margin: 0 0 0.5em 1.5em;
  padding: 0;
  list-style-image: url(images/bullet.gif);
}

/* ordered lists */
ol {
  line-height: 1.5em;
  margin: 0 0 0.5em 1.5em;
  padding: 0;
  color: #638c9c;
  font-weight: bold;
  list-style-image: none;
}

/* the list items overriding the ol definition */
.li {
  font-weight: normal;
}

ol {list-style-type: decimal}
ol ol {list-style-type: upper-roman}
ol ol ol {list-style-type: lower-alpha}
ol ol ol ol {list-style-type: lower-greek}

li.open {
  list-style-image: url(images/open.gif);
}

li.closed {
  list-style-image: url(images/closed.gif);
}

blockquote {
  border-left: 2px solid #8cacbb;
  padding-left: 3px;
  margin-left: 0;
}

/* code blocks by indention */
pre.pre {
  font-size: 120%;
  padding: 0.5em;
  border: 1px dashed #8cacbb;
  color: Black;
  background-color: #f7f9fa;
  overflow: auto;
}

/* code blocks by code tag */
pre.code {
  font-size: 120%;
  padding: 0.5em;
  border: 1px dashed #8cacbb;
  color: Black;
  background-color: #f7f9fa;
  overflow: auto;
}

/* inline code words */
code {
  font-size: 120%;
}

/* code blocks by file tag */
pre.file {
  font-size: 120%;
  padding: 0.5em;
  border: 1px dashed #8cacbb;
  color: Black;
  background-color: #dee7ec;
  overflow: auto;
}

/* inline tables */
table.inline {
  background-color: #ffffff;
  border-spacing: 0px;
  border-collapse: collapse;
}

table.inline th {
  padding: 3px;
  border: 1px solid #CCCCCC;
  border-right: none;
  border-top: none;
  border-bottom: none;
  background-color: #F5F5F5
}

table.inline td {
  padding: 3px;
  border: 1px solid #CCCCCC;
  border-right: none;
  border-top: none;
  border-bottom: none;
}

table.inline td.tcl, table.inline th.tcl {border-left:none}

table.inline th.trt {border-bottom: 1px solid #CCCCCC}

.leftalign{
  text-align: left;
}

.centeralign{
  text-align: center;
}

.rightalign{
  text-align: right;
}

/* ---------- table of contents ------------------- */

div.toc {
  margin-left: 2em;
  margin-top: 1.2em;
  margin-bottom: 0;
  float:right;
  width: 200px;
  font-size: 80%;
  clear:both;
}

div.tocheader {
  padding: 3px;
  border: 1px solid #CCCCCC;
  background-color: #F5F5F5;
  text-align: left;
  font-weight:bold;
  margin-bottom: 2px;
}

div.toctoggle {
  float:right;
  margin-top:0.3em;
  margin-right:3px;
}

div.toctoggle img {
  width:0.8em;
  height:0.8em;
}

#tocinside {
  border: 1px solid #CCCCCC;
  background-color: #ffffff;
  text-align: left;
  padding-top: 0.5em;
  padding-bottom: 0.7em;
}

ul.toc {
  list-style-type: none;
  list-style-image: none;
  line-height: 1.2em;
  margin: 0;
  padding: 0;
  padding-left: 1em;
}

ul.toc li {
  background: transparent url(images/tocdot2.gif) 0 0.6em no-repeat;
  padding-left:0.4em;
  margin-left: 0;
  
}

ul.toc li.clear {
  background-image: none;
  padding-left:0.4em;
  margin-left: 0;
}

a.toc {
  color: #436976;
  text-decoration:none;
}

a.toc:hover {
  color: #000000;
  text-decoration:underline; 
}

/* ---------------------------- Diff rendering --------------------------*/
table.diff { background:white; }
td.diff-blockheader {font-weight:bold}
td.diff-header {
  border-bottom: 1px solid #8cacbb;
  font-size:120%;
}
td.diff-addedline {
    background:#ddffdd;
    font-family: monospace;
    font-size: 100%;
}
td.diff-deletedline { 
    background:#ffffbb;
    font-family: monospace;    
    font-size: 100%;
}
td.diff-context {
    background:#f7f9fa;
    font-family: monospace;
    font-size: 100%;
}
span.diffchange { color: red; }

/* --------------------- footnotes -------------------------------- */

div.footnotes{
  clear:both;
  border-top: 1px solid #8cacbb;
  padding-left: 1em;
  margin-top: 1em;
}

div.fn{
  font-size:90%;
}

a.fn_top{
  vertical-align:super;
  font-size:80%;
}

a.fn_bot{
  vertical-align:super;
  font-size:80%;
  font-weight:bold;
}

/* insitu-footnotes */
div.insitu-footnote {
  font-size: 80%;
  line-height: 1.2em;
  border: 1px solid #8cacbb;
  background: #eef3f8;
  text-align: left;
  padding: 4px;
  max-width: 40%;    /* IE's width is handled in javascript */  
}

/* overcome IE issue with one line code or file boxes which require h. scrolling */
* html .insitu-footnote pre.code, * html .insitu-footnote pre.file {
  padding-bottom: 18px;
}

/* --------------- search result formating --------------- */
.search_result{
  margin-bottom: 6px;
  padding-left: 30px;
  padding-right: 10px;
}

.search_snippet{
  color: #999999;
  font-size: 12px;
  margin-left: 20px;
}

.search_sep{
  color: #000000;
}

.search_hit{
  color: #000000;
  background: #FFFF99;
}

div.search_quickresult{
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 1px dashed #8cacbb;
  margin-left: 30px;
  padding-right: 10px;
}

div.search_quickhits {
  margin-left: 1em;
  float:left;
  background: transparent url(images/bullet.gif) 0px 1px no-repeat;
  padding: 1px 0px 1px 8px;
  width: 30%;
}

/* ------------------ Additional ---------------------- */
.footerinc a img {
    opacity: 0.5;
}

.footerinc a:hover img {
    opacity: 1;
}

div.footerinc {
	margin-top: 10px;
	text-align: center;
}

/* ---- Admin --- */

div.acladmin label {
  text-align: left;
  font-weight: normal;
  display: inline;
}

div.acladmin table{
  margin-left: 10%;
  width: 80%;
}

/* ---------- AJAX quicksearch ----------- */

div.ajax_qsearch {
  position:absolute;
  right:237px;;
  width: 200px;
  opacity: 0.9;
  display:none;
  font-size: 80%;
  line-height: 1.2em;
  border: 1px solid #8cacbb;
  background: #eef3f8;
  text-align: left;
  padding: 4px;
}

/* ---------- Spellchecking ------------- */

a.spell_error {
  color: #ff0000;
  text-decoration: underline;
}

div#spell_suggest {
  position: absolute;
  left: 0;
  top: 0;
  display: none;
  background-color: #fff;
  padding: 2px;
  border: 1px solid #000;
  font-size:80%;
  z-index: 2;
}

div#spell_result {
  display:none;
  font-family:monospace;
  border: 1px solid #8cacbb; 
  color: Black;
  font-size:14px;
  padding: 3px;
  background-color: #f7f9fa;
  overflow: auto;
  z-index: 1;

  white-space: pre-wrap;       /* css-3 */
  white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
  white-space: -pre-wrap;      /* Opera 4-6 */
  white-space: -o-pre-wrap;    /* Opera 7 */
  word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

span.spell_noerr {
  color: #009933;
}

span.spell_wait {
  color: #0066cc;
}

/* ---------------  Image Details  ----------------- */

div.img_big {
  float: left;
  margin-right: 0.5em;
}

dl.img_tags dt {
  font-weight: bold;
  background-color: #dee7ec;
}
dl.img_tags dd {
  background-color: #f5f5f5;
}

div.imagemeta {
  color: #666;
  font-size: 70%;
  line-height: 95%;
}

div.imagemeta img.thumb{
  float:left;
  margin-right: 0.1em;
}

/* -------------- Media Popup ---------------------- */

div.mediaselect-right li, div.uploadform { 
  clear: both;
}

div.mediaedit div.data label{
	display: block;
  text-align: right; 
  width: 20%;
  float: left;
  margin-right: 0.5em;
}

div.mediaedit div.data input, div.mediaedit div.data textarea{
  width: 75%;
  padding: 0.1em;
  margin: 0.1em;
}

div.mediaedit div.data input.button {
  width: 10em;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

div.donationbox {
  display: inline;
  float: right;
  padding: 8px;
  border: 1px solid #CCCCCC;
  background-color: #F5F5F5;
  text-align: left;
  margin: 10px;
}

.donationbox label {
	display: inline;
	font-weight: normal;
}

.donationbox input[type=text], .donationbox input[type=submit], .donationbox select {
	display: inline;
	border: 1px solid #CCCCCC;
	background-color: #FFFFFF;
}

.donationbox input[type=submit] {margin-bottom: 5px; cursor: pointer}

.donationbox h2 {
	font-size: 100%;
}



