/**
 * This file provides the main design styles for the page content.
 *
 * @author Anika Henke <anika@selfthinker.org>
 * @author Andreas Gohr <andi@splitbrain.org>
 * @author Klaus Vormweg <klaus.vormweg@gmx.de>
 */


/*____________ links to wiki pages (addition to _links) ____________*/
/* existing wikipage */
.dokuwiki a.wikilink1:link {
  color: __existing__;
  background-color: inherit;
}
.dokuwiki a.wikilink1:hover,
.dokuwiki a.wikilink1:focus {
  color: __rollover__;
  text-decoration: underline;
}
/* not existing wikipage */
.dokuwiki a.wikilink2 {
  color: __missing__;
  background-color: inherit;
}

/*____________ images ____________*/
/* embedded images (styles are already partly set in DokuWiki's lib/styles/all.css) */
.dokuwiki img.media {
  margin: .2em 0;
}
.dokuwiki img.medialeft {
  margin: .2em 1.5em .2em 0;
}
.dokuwiki img.mediaright {
  margin: .2em 0 .2em 1.5em;
}
.dokuwiki img.mediacenter {
  margin: .2em auto;
}

/*____________ tables ____________*/
.dokuwiki div.table {
  overflow-x: auto;
}
.dokuwiki table.inline {
  min-width: 50%;
}
.dokuwiki table.inline tr:hover td {
  background-color: __background_alt__;
}
.dokuwiki table.inline tr:hover th {
  background-color: __border__;
}

/*____________ lists ____________*/
.dokuwiki ul li {
  color: __text_neu__;
}
.dokuwiki ul li div.li {
  color: __text__;
}

/*____________ code ____________*/
/* fix if background-color hides underlining */
.dokuwiki em.u code {
  text-decoration: underline;
}

/* filenames for downloadable file and code blocks */
.dokuwiki dl.file a {
  text-decoration: none;
}

.dokuwiki dl.code dt,
.dokuwiki dl.file dt {
  background-color: __background_alt__;
  border: solid __border__;
  border-width: 1px 1px 0;
  color: inherit;
  display: inline;
  padding: .1em .5em .2em;
  margin-left: 1em;
}
[dir=rtl] .dokuwiki dl.code dt,
[dir=rtl] .dokuwiki dl.file dt {
  margin-left: 0;
  margin-right: 1em;
}
.dokuwiki pre.code a,
.dokuwiki pre.file a {
  text-decoration: none;
}
.dokuwiki pre.code a:hover,
.dokuwiki pre.file a:hover {
  text-decoration: underline;
}

.dokuwiki dl.code dd,
.dokuwiki dl.file dd {
  margin: 0;
}

/* for code in <file> */
.dokuwiki pre.file,
.dokuwiki dl.file pre {
  border-color: __border__;
}

/* line numbers in file */
.code .li1, .code .li2, .code.li3 {
  margin-left: 3em;
}


/*____________ media manager ____________*/
/* some headings in the media manager should not look like headings */
#mediamanager__page h2,
#mediamanager__page h3 {
  color: __text__;
}

/* to style button-like div in _fileuploader.css to look like other buttons,
   please add '.qq-upload-button' to the according styles (which don't really exist in this template) */
.qq-upload-button {
  border: 1px solid __border__;
  border-radius: 3px;
  cursor: pointer;
  overflow: visible;
  padding: .1em .4em;
  background-color: __background__;
  padding: 0.25em 0.75em;
}
.qq-upload-button:hover {
  border-color: __borderdark__;
}
/*____________ media manager popup dialog ____________*/
#media__popup_content button.button {
  padding: 0.25em 0.5em;
}
#media__popup_content button.selected {
  background-color: #f0f0f0;
  border-color: red;
}

/*____________ styling plugin ____________*/
#plugin__styling.ispopup {
  padding: 1em;
}

/*____________ admin page _______________*/
.dokuwiki ul.admin_tasks li {
  list-style: none;
}
ul.admin_tasks span.icon {
  padding-right: 0.2em;
  position: relative;
  top: 0.2em;
}
div#admin__version {
  text-align: right;
}

/* _____________ Editor _________________*/
.dokuwiki button.toolbutton {
  padding: 0.2em 0.4em;
}
#wiki__text {
  font: 100%/1.3 Consolas, "Andale Mono WT", "Andale Mono", "Bitstream Vera Sans Mono", "Nimbus Mono L", Monaco, "Courier New", monospace;
  color: __text_alt__;
}
#wiki__editbar label[for=minoredit] {
  margin-left: 20.5em;
}

/*______________ JS popup _______________*/
.JSpopup {
  background-color: __background__;
  color: __text__;
  border: 1px solid __border__;
  line-height: 1.2;
  padding: 0 .2em;
}

.JSpopup ul,
.JSpopup ol {
  padding-left: 0;
}
[dir=rtl] .JSpopup ul,
[dir=rtl] .JSpopup ol {
  padding-right: 0;
}

/*______________ diff page  _______________*/
.dokuwiki table.diff td {
  font-family: "Bitstream Vera Sans Mono", Consolas, "Andale Mono WT", "Andale Mono", "Nimbus Mono L", Monaco, "Courier New", monospace;
}
