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

/* -------------- general elements --------------- */
div.dokuwiki {
	width: 790px;
	margin: 0 auto;
}

body {
  font: 80% "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif;
  background-color: White;
  color: Black;
  margin: 0;
  padding: 0;
}

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

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

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

img {border:0}

p {padding:0; margin: 0 0 1.0em 0;}

hr  { text-align: center; height: 0; border-style: solid none none; border-width: 1px 0 0; border-color: #606   }

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  { text-align: center; padding: 0.5em; width: 300px; border: solid 1px #606 }

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

input.edit,select.edit  { color: black; font-size: 100%; background-color: white; display: inline; padding: 1px; bottom: 22px !important; height: 22px !important; vertical-align: middle; border: solid 1px #606 }

input.missing  { color: black; font-size: 100%; background-color: #ffcccc; display: inline; padding: 1px; bottom: 22px !important; height: 22px !important; vertical-align: middle; border: solid 1px #606 }

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


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

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

/* ----------- 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: #999; text-decoration: none }
a:hover  { color: #f90; text-decoration: underline }
a:visited { opacity: 0.7; /*MS*/filter: alpha(opacity=70); }
/* external link */
a.urlextern { color: #606; text-decoration: none; background: url(images/link_icon.gif) no-repeat 0 1px; padding: 1px 0 1px 16px }
a.urlextern:visited {
  color:Purple;
}
a.urlextern:hover {
  text-decoration:underline;
}

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

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

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

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

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

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


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

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

div.breadcrumbs     { color: #fff; font-size: 80%; background-color: #606; padding-left: 4px }

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: Black;
    background-color: transparent;
    font-family: "Lucida Grande", Verdana, Lucida, Helvetica, Arial, sans-serif;
    font-size: 100%;
    font-weight: normal;
    margin-left:    0;
    margin-right:   0;
    margin-top:     0;
    margin-bottom:  1em;
    padding-left:   0;
    padding-right:  0;
    padding-top:    0.5em;
    padding-bottom: 0;
    border-bottom: 1px solid #8cacbb;
    clear: left;
}

/* special headlines */
h1 {font-size: 160%; margin-left: 0px; font-weight: bold;}
h2 {font-size: 150%; margin-left: 0px;}
h3 {font-size: 140%; margin-left: 0px; border-bottom: none; font-weight: bold;}
h4 {font-size: 120%; margin-left: 0px; border-bottom: none; font-weight: bold;}
h5 {font-size: 100%; margin-left: 0px; border-bottom: none; font-weight: bold;}
/* doekman: original
h1 {font-size: 160%; margin-left: 0px; font-weight: bold;}
h2 {font-size: 150%; margin-left: 20px;}
h3 {font-size: 140%; margin-left: 40px; border-bottom: none; font-weight: bold;}
h4 {font-size: 120%; margin-left: 60px; border-bottom: none; font-weight: bold;}
h5 {font-size: 100%; margin-left: 80px; border-bottom: none; font-weight: bold;}
*/
/* indent different sections */
div.level1 {margin-left: 3px;}
div.level2 {margin-left: 3px;}
div.level3 {margin-left: 3px;}
div.level4 {margin-left: 3px;}
div.level5 {margin-left: 3px;}
/* doekman: original
div.level1 {margin-left: 3px;}
div.level2 {margin-left: 23px;}
div.level3 {margin-left: 43px;}
div.level4 {margin-left: 63px;}
div.level5 {margin-left: 83px;}
*/
/* 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  { color: #660066; font-weight: bold; line-height: 1.5em; list-style-image: none; margin: 0 0 0.5em 1.5em; padding: 0 }

/* the list items overriding the ol definition */
.li {
  color: #000000;
  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  { margin-left: 0; padding-left: 3px; border-left: 2px solid #606 }

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

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

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

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

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

table.inline th    { background-color: #606; padding: 3px; border: solid 1px #606 }

table.inline td  { padding: 3px; border: solid 1px #606 }

.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;
  /* vincent */
  display: none;
}

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

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

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

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

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;
}

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

a.toc  { color: #606; 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  { font-size: 120%; border-bottom: 1px solid #606 }
td.diff-addedline   { font-size: 100%; font-family: monospace; background: #606 }
td.diff-deletedline  { font-size: 100%; font-family: monospace; background: #f90 }
td.diff-context   { font-size: 100%; font-family: monospace; background: #606 }
span.diffchange  { color: #f90 }

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

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

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; background: #606; text-align: left; padding: 4px; width: 40%; border: solid 1px #606 }

/* 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: #f90 }

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

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;
}

/* ---- 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    { font-size: 80%; line-height: 1.2em; background: #606; text-align: left; display: none; padding: 4px; position: absolute; right: 237px; width: 200px; border: solid 1px #606; opacity: 0.9   }

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

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

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

div#spell_result   { color: black; font-size: 14px; font-family: monospace; background-color: #606; white-space: -o-pre-wrap; display: none; padding: 3px; z-index: 1; overflow: auto; border: solid 1px #606; word-wrap: break-word  }

span.spell_noerr  { color: #f90 }

span.spell_wait   { color: #606 }

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

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

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

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;
}



