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

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

* { padding: 0; margin: 0; }

body {
  font-family: "Trebuchet MS",Verdana,Arial,sans-serif;
  font-size: 14px;
  background-color: __pagebackground__;
  color: __text__;
  line-height: 1.5em;

  width: 825px;
}

div.secedit {
  float: right;
  width: auto;
}

/* bf2 specific */
div.dokuwiki .secondbar {
  float: left;
  margin: 0px 40px 0px 40px;
  background-color: __background_neu__;
  border-bottom: 1px solid __border__;
  font-family: "Trebuchet MS",Verdana,Arial,sans-serif;
  font-size: 16px;
}

div.footer-functions {
  float: right;
  margin-right: 45px;
  margin-bottom: 30px;

  color:__existing__ ; 
  font-size: 13px;
  text-align: right;
}

div.sf-logo {
  margin-left: 40px;
}

div.header-bottom {
  position:absolute;
  top:122px;
  left:255px;
  width:520px;
  height:80px;
}

.stylehead {
  height: 210px;
}

.nav-box {
  position: absolute;
  top: 240px;
  left: 50px;

  font-weight: bold;
  font-size: 15px;
}

/* the document */

body.main .dokuwiki {
  position: relative;
  background-image: url(images/header.png);
  background-repeat: no-repeat;

  margin: 5px 0px;
}

div.dokuwiki div.page {
  padding: 20px;
  text-align: left;
}
body.main div.dokuwiki div.page {
  min-height:250px;
  padding: 0px 40px 0px 180px;
}

div.dokuwiki table {
  font-size: 100%;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  border-width: 2px 2px 2px 2px;
  border-spacing: 0px;
  border-style: solid solid solid solid;
  border-color: __border__;
  border-collapse: separate;
  margin-top: 1em;
  margin-bottom: 2em;
}

div.dokuwiki tr,
div.dokuwiki td,
div.dokuwiki th {
  vertical-align: top;
}

div.dokuwiki img {
  border: 0;
}

div.dokuwiki p,
div.dokuwiki blockquote,
div.dokuwiki pre {
  margin: 1em 0;
}

div.dokuwiki hr {
  border: 0px;
  border-top: 1px solid __border__;
  text-align: center;
  height: 0px;
}

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

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

div.dokuwiki form {
  border: none;
  display: inline;
}

div.dokuwiki input#qsearch__in {
  height: 1.2em;
  margin: 0px;
  padding: 0.1em;
  font-size:1em;
  }


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

div.dokuwiki label.simple {
  display: block;
  text-align: left;
  font-weight: normal;
}

div.dokuwiki label.block input.edit {
  width: 50%;
  font-size:1em;
  margin: 0px;
  padding: 0.1em;
}

div.dokuwiki fieldset {
  width: 300px;
  text-align: center;
  border: 1px solid __border__;
  padding: 0.5em;
  margin: auto;
}

div.dokuwiki textarea.edit {
  font-family: monospace;
  font-size: 12px;
  color: __text__;
  background-color: __background__;
  border: 1px solid __border__;
  padding: 0.3em 0 0 0.3em;
  width: 100%;
}

/* nice alphatransparency background except for IE <7 */
html>body div.dokuwiki textarea.edit {
  background:  __background__ url(images/inputshadow.png) repeat-x top;
}

div.dokuwiki input.edit,
div.dokuwiki select.edit {
  font-size: 100%;
  border: 1px solid __background_hov__;
  color: __text__;
  background-color: __white__;
  vertical-align: middle;
  margin: 1px;
  padding: 0.20em 0.3em;
  display: inline;
}

/* nice alphatransparency background except for IE <7 */
html>body div.dokuwiki input.edit,
html>body div.dokuwiki select.edit {
}

div.dokuwiki select.edit {
  padding: 0.1em 0;
}

div.dokuwiki input.missing {
  font-size: 100%;
  border: 1px solid __border__;
  color: __text__;
  background-color: #ffcccc;
  vertical-align: middle;
  margin: 1px;
  padding: 0.20em 0.3em;
  display: inline;
}

/* disabled style - not understood by IE */
div.dokuwiki textarea.edit[disabled],
div.dokuwiki textarea.edit[readonly],
div.dokuwiki input.edit[disabled],
div.dokuwiki input.edit[readonly],
div.dokuwiki select.edit[disabled] {
  background-color: __background_neu__!important;
  color: __text_neu__!important;
}

/* edit form */
div.dokuwiki div.toolbar,
div.dokuwiki div#wiki__editbar {
  margin: 2px 0;
  text-align: left;
}
div.dokuwiki div#size__ctl {
  float: right;
  width: 60px;
  height: 2.7em;
}
div.dokuwiki #size__ctl img {
  cursor: pointer;
}
div.dokuwiki div#wiki__editbar div.editButtons {
  float: left;
  padding: 0 1.0em 0.7em 0;
}
div.dokuwiki div#wiki__editbar div.summary {
  float: left;
}
div.dokuwiki .nowrap {
  white-space: nowrap;
}
div.dokuwiki div#draft__status {
  float: right;
  color: __text__;
  font-size: 70%;
  font-weight: bold;
}

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


div.dokuwiki input.button,
div.dokuwiki button.button {
  border: 1px solid __background_hov__;
  color: __white__;
  background-color: __text_other__;
  text-decoration: none;
  height: 2em;
  vertical-align: middle;
  margin: 3px;
  padding: 0.1em 1.5em 0.1em 1.5em;
  font-size: 70%;
}

/* nice alphatransparency background except for IE <7 */
html>body div.dokuwiki input.button,
html>body div.dokuwiki button.button {
  }

div.dokuwiki input.button:hover {
  border-color: __background_hov__;
  background-color: __background_hov__;
  color: __white__;
  }   

div.dokuwiki input.button {
  background-color: lightgray;
  border:1px solid #719FBD;
  font-size:10px;
  font-weight:bold;
  height:auto;
  padding: 0;
}

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

div.dokuwiki div.pagenav {
  margin: 1em 0 0 0;
}

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

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

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

div.dokuwiki a:link,
div.dokuwiki a:visited {
  /* color: __extern__; */
  color: #0E4B73;
  text-decoration: none;
}
div.dokuwiki a:hover,
div.dokuwiki a:active {
  text-decoration: underline;
}

div.bar-right a:link, div.dokuwiki .bar-right a:visited {
  color: __background_alt__;
}
div.bar-right a:hover, 
div.bar-right a:active {
  text-decoration: underline;
}



div.dokuwiki h1 a,
div.dokuwiki h3 a,
div.dokuwiki h5 a,
div.dokuwiki a.nolink {
  color: __text__;
  text-decoration: none !important;
}

div.dokuwiki h2 a,
div.dokuwiki h4 a {
  /* color: __existing__; */
  color: #0E4B73;
  text-decoration: none !important;
}

/* external link */
div.dokuwiki a.urlextern {
  background: transparent url(images/link_icon.gif) 0px 2px no-repeat;
  padding: 1px 0px 1px 17px;
}

/* windows share */
div.dokuwiki a.windows {
  background: transparent url(images/windows.gif) 0px 1px no-repeat;
  padding: 1px 0px 1px 16px;
}

/* interwiki link (icon are set by dokuwiki) */
div.dokuwiki a.interwiki {
}

/* link to some embedded media */
div.dokuwiki a.media {
}

div.dokuwiki a.urlextern:link,
div.dokuwiki a.windows:link,
div.dokuwiki a.interwiki:link {
  color: __extern__;
}

div.dokuwiki a.urlextern:visited,
div.dokuwiki a.windows:visited,
div.dokuwiki a.interwiki:visited {
  color: __visited__;
}
div.dokuwiki a.urlextern:hover,
div.dokuwiki a.urlextern:active,
div.dokuwiki a.windows:hover,
div.dokuwiki a.windows:active,
div.dokuwiki a.interwiki:hover,
div.dokuwiki a.interwiki:active {
  color: __text__;
}

/* email link */
div.dokuwiki a.mail {
  background: transparent url(images/mail_icon.gif) 0px 1px no-repeat;
  padding: 1px 0px 1px 16px;
}

/* existing wikipage */
div.dokuwiki a.wikilink1 {
  color: __existing__ !important;
}

/* not existing wikipage */
div.dokuwiki a.wikilink2 {
  color: __missing__ !important;
  text-decoration: none !important;
  border-bottom: dashed 1px __missing__ !important;
}

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

div.dokuwiki div.preview {
  background-color: __background_neu__;
  padding: 4px;
  border: 1px dashed __text__;
}

div.dokuwiki div.breadcrumbs {
  background-color: __background_neu__;
  color: __text_alt__;
  font-size: 80%;
  padding-left: 4px;
  border-bottom: 1px solid __background__;
}

div.dokuwiki div.breadcrumbs a{
  color: __text_alt__;
}


div.dokuwiki span.user {
  color: __text_alt__;
  font-size: 90%;
}

div.dokuwiki li.minor {
  color: __text_neu__;
  font-style: italic;
}

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

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

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

div.dokuwiki img.mediacenter {
  border: 0;
  display: block;
  margin: 0 auto;
}

/* smileys */
div.dokuwiki img.middle {
  vertical-align: middle;
}

div.dokuwiki acronym {
  cursor: help;
  border-bottom: 1px dotted __text__;
}

/* general headline setup */
div.dokuwiki h1,
div.dokuwiki h2,
div.dokuwiki h3,
div.dokuwiki h4,
div.dokuwiki h5 {
  color: __text__;
  background-color: inherit;
  font-size: 100%;
  font-weight: normal;
  margin: 0 0 1em 0;
  padding: 0.5em 0 0 0;
  border-bottom: 1px solid __border__;
  clear: left;
}

div.dokuwiki h3,h1 {
  color: __existing__;
}


/* special headlines */
div.dokuwiki h1 {font-size: 180%; margin-left: 0px; border-bottom: 1px solid #E0E0E0; padding: 30px 0 3px 0; font-weight: bold;}
div.dokuwiki h2 {font-size: 160%; margin-left: 0px; border-bottom: 1px solid #E0E0E0; padding: 30px 0 3px 0; font-weight: bold;}
div.dokuwiki h3 {font-size: 140%; margin-left: 0px; border-bottom: 1px solid #E0E0E0; padding: 30px 0 3px 0; font-weight: bold;}
div.dokuwiki h4 {font-size: 120%; margin-left: 0px; border-bottom: 1px solid #E0E0E0; padding: 30px 0 3px 0; font-weight: bold;}
div.dokuwiki h5 {font-size: 100%; margin-left: 0px; border-bottom: 1px solid #E0E0E0; padding: 30px 0 3px 0; font-weight: bold;}

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

/* unordered lists */
div.dokuwiki ul {
  line-height: 1.5em;
  list-style-type: square;
  list-style-image: none;
  margin: 0 0 0.5em 1.5em;
  color: __text__;
}

/* ordered lists */
div.dokuwiki ol {
  line-height: 1.5em;
  list-style-image: none;
  margin: 0 0 0.5em 1.5em;
  color: __text_alt__;
  font-weight: bold;
}

/* the list items overriding the ul/ol definition */
div.dokuwiki .li {
  color: __text__;
  font-weight: normal;
}

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

div.dokuwiki li.open {
  list-style-image: url(images/open.gif);
    /*list-style-type: circle;*/
}

div.dokuwiki li.closed {
  list-style-image: url(images/closed.gif);
    /*list-style-type: disc;*/
}

div.dokuwiki blockquote {
  border-left: 2px solid __border__;
  padding-left: 3px;
}

div.dokuwiki pre {
  font-size: 120%;
  padding: 0.5em;
  border: 1px solid __border__;
  color: __text__;
  overflow: auto;
}

/* code blocks by indention */
div.dokuwiki pre.pre {
  background-color: __background_other__;
}

/* code blocks by code tag */
div.dokuwiki pre.code {
  background-color: __background_other__;
  font-size: 90%;
  font-family: monospace;
  line-height: 110%;
}

/* inline code words */
div.dokuwiki code {
  background-color: #F5F5F5;
}

/* code blocks by file tag */
div.dokuwiki pre.file {
  background-color: __background_alt__;
}

/* inline tables */
div.dokuwiki table.inline {
  background-color: __background_alt__;
  border-spacing: 0px;
  border-collapse: collapse;
}

div.dokuwiki table.inline th {
  padding: 3px;
  border: 1px solid __border__;
  background-color: __background__;
}

div.dokuwiki table.inline td {
  padding: 3px;
  border: 1px solid __border__;
}

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

div.dokuwiki div.toc {
  border-left: 10px solid white;
  margin-top: 1.2em;
  float: right;
  width: 200px;
  font-size: 80%;
  clear: both;
}

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

div.dokuwiki span.toc_open,
div.dokuwiki span.toc_close {
  border: 0.4em solid __background_alt__;
  float: right;
  display: block;
  margin: 0.4em 3px 0 0;
}

div.dokuwiki span.toc_open span,
div.dokuwiki span.toc_close span {
  display: none;
}

div.dokuwiki span.toc_open {
  margin-top: 8px;
  border-top: 0.4em solid __text__;
}

div.dokuwiki span.toc_close {
  margin-top: 4px;
  border-bottom: 0.4em solid __text__;
}

div.dokuwiki #toc__inside {
  border: 1px solid __border__;
  background-color: __background__;
  text-align: left;
  padding: 0.5em 0 0.7em 0;
}

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

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

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

div.dokuwiki a.toc:link,
div.dokuwiki a.toc:visited {
  /* color: __extern__; */
  color: #0E4B73;
}

div.dokuwiki a.toc:hover,
div.dokuwiki a.toc:active {
  color: __text__;
}

/* ---------------------------- Diff rendering --------------------------*/
div.dokuwiki table.diff {
  background-color: __background__;
  width: 100%;
}
div.dokuwiki td.diff-blockheader {
  font-weight: bold;
}
div.dokuwiki table.diff th {
  border-bottom: 1px solid __border__;
  font-size: 120%;
  width: 50%;
  font-weight: normal;
  text-align: left;
}
div.dokuwiki table.diff td {
  font-family: monospace;
  font-size: 100%;
}
div.dokuwiki td.diff-addedline {
  background-color: #ddffdd;
}
div.dokuwiki td.diff-deletedline {
    background-color: #ffffbb;
}
div.dokuwiki td.diff-context {
    background-color: __background_neu__;
}
div.dokuwiki table.diff td.diff-addedline strong,
div.dokuwiki table.diff td.diff-deletedline strong {
    color: red;
}

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

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

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

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

div.dokuwiki 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 __border__;
  background-color: __background_other__;
  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 --------------- */

div.dokuwiki .search_result {
  margin-bottom: 6px;
  padding: 0 10px 0 30px;
}

div.dokuwiki .search_snippet {
  color: __text_other__;
  font-size: 12px;
  margin-left: 20px;
}

div.dokuwiki .search_sep {
  color: __text__;
}

div.dokuwiki .search_hit {
  color: __text__;
  background-color: __highlight__;
}
div.dokuwiki strong.search_hit {
  font-weight: normal;
}

div.dokuwiki div.search_quickresult {
  margin: 0 0 15px 30px;
  padding: 0 10px 10px 0;
  border-bottom: 1px dashed __border__;
}
div.dokuwiki div.search_quickresult h3 {
}

div.dokuwiki ul.search_quickhits {
  margin: 0 0 0.5em 1.0em;
}

div.dokuwiki ul.search_quickhits li {
  margin: 0 1.0em 0 1.0em;
  float:left;
  width: 30%;
}

/* ------------------ Additional ---------------------- */

div.footerinc {
  width: 900px;
  margin-left: auto;
  margin-right: auto;
  background: url('images/botbg.gif');
  background-repeat: no-repeat;
  text-align: center;
  padding-top:30px;
  padding-bottom:0px;
}


.footerinc a img {
  opacity: 0.5;
  border: 0;
}

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

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

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

/* --------- Toolbar -------------------- */
button.toolbutton {
  background-color: __background__;
  padding: 1px 0px 1px 0px;
  margin: 0 1px 0 0;
  border: 1px solid __border__;
  cursor: pointer;
}


div.picker {
  width: 250px;
  border: 1px solid __border__;
  background-color: __background_alt__;
}

button.pickerbutton {
  padding: 0px;
  margin: 0 1px 1px 0;
  border: 0;
  background-color: transparent;
  font-size: 80%;
  cursor: pointer;
}

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

div.dokuwiki a.spell_error {
  color: #f00;
  text-decoration: underline;
}

div.dokuwiki div#spell__suggest {
  background-color: __background__;
  padding: 2px;
  border: 1px solid __text__;
  font-size: 80%;
  display: none;
}

div.dokuwiki div#spell__result {
  border: 1px solid __border__;
  color: __text__;
  font-size: 14px;
  padding: 3px;
  background-color: __background_other__;
  display: none;
}

div.dokuwiki span.spell_noerr {
  color: #093;
}

div.dokuwiki span.spell_wait {
  color: #06c;
}

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

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

div.dokuwiki dl.img_tags dt {
  font-weight: bold;
  background-color: __background_alt__;
}
div.dokuwiki dl.img_tags dd {
  background-color: __background_neu__;
}

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

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

button.toolbutton {
  padding-top: 2px;
  margin-right: 2px;
}

div.picker {
  width: 250px;
  border: 1px solid __border__;
  background-color: __background_alt__;
}

button.pickerbutton {
  padding: 0px;
  margin: 0 1px 1px 0;
  border: 0;
  background-color: transparent;
  font-size: 80%;
  cursor: pointer;
}


/* ----------------- Editing page --------------------- */

div.license {
  color:#777777;
  font-size: 10px;
  line-height: 120%;
  padding-top: 2px;
}

