/**
 * Design elements for Roundbox Template
 *
 * @author Andreas Gohr <andi@splitbrain.org>
 * @author Anika Henke <henke@cosmocode.de>
 * @author Christopher Arndt <chris@chrisarndt.de>
 * @author Don Bowman  <don@lynsoft.co.uk>
 */

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

* { padding: 0; margin: 0; }
 
body {
  font: 90% Arial, sans-serif;
  background-color: __background_other__;
  color: __text_other__;
  padding: 1%;
}

/* the document */
div.dokuwiki div.page {
  background-color: __background__;
  color: __text__;
  margin: 4px 2em 0 1em;
  text-align: justify;
}

div.dokuwiki table {
  font-size: 100%;
}

div.dokuwiki tr,
div.dokuwiki td,
div.dokuwiki th {
}

div.dokuwiki img {
  border: 0;
}

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

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

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

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

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

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

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

div.dokuwiki textarea.edit {
  font-family:monospace;
  font-size:14px;
  color: __text_neu__;
  background-color: __background_neu__;
  border: 1px solid __border_alt__;
  padding: 0.3em 0 0 0.3em;
  width:100%;
}

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

div.dokuwiki input.edit,
div.dokuwiki select.edit {
  font-size: 100%;
  border: 1px solid __border_alt__;
  color: __text_neu__;
  background-color: __background_neu__;
  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 {
  background:  __background_neu__ url(images/inputshadow.png) repeat-x top;
}

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

div.dokuwiki input.missing {
  font-size: 100%;
  border: 1px solid __border_alt__;
  color: __text_neu__;
  background-color: __background_neu__;
  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_alt__; */
}

div.dokuwiki div.license {
  padding: 0.5em;
  font-size: 90%;
  text-align: center;
}

div.dokuwiki form#dw__editform div.license {
  clear: left;
  font-size: 90%;
}

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

div.dokuwiki input.button,
div.dokuwiki button.button {
  border: 1px solid __border__;
  color: __text_alt__;
  background-color: __background_alt__;
  vertical-align: middle;
  text-decoration:none;
  font-size: 100%;
  cursor: pointer;
  margin: 1px;
  padding: 0.125em 0.4em;
}

/* nice alphatransparency background except for IE <7 */
html>body div.dokuwiki input.button,
html>body div.dokuwiki button.button {
  background:  __background_alt__ url(images/buttonshadow.png) repeat-x bottom;
}

* html div.dokuwiki input.button,
* html div.dokuwiki button.button {
  height: 1.8em;
}

div.dokuwiki div.secedit input.button {
  border: 1px solid __border__;
  color: __text__;
  background-color: __background__;
  vertical-align: middle;
  text-decoration:none;
  margin: 0;
  padding: 0;
  font-size: 10px;
  cursor: pointer;
  float:right;
  display: inline;
}

/* ----------- 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-prev input.button {
  margin-right:5px;
}

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

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

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

div.dokuwiki a:link,
div.dokuwiki a:visited {
  color: __text__;
  text-decoration: none;
}
div.dokuwiki a:hover,
div.dokuwiki a:active {
  text-decoration: underline;
}

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

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

div.dokuwiki a.urlextern:hover {
  border-bottom: 1px dotted __text_alt__;
  text-decoration: underline;
}

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

div.dokuwiki a.windows:hover {
  border-bottom: 1px dotted __text_alt__;
  text-decoration: underline;
}

/* interwiki link (icon are set by dokuwiki) */
div.dokuwiki a.interwiki {
  background: transparent url(images/interwiki.png) 0px 1px no-repeat;
  padding-left: 16px;
  border-bottom: 1px dotted __extern__;
}

div.dokuwiki a.interwiki:hover {
  border-bottom: 1px dotted __text_alt__;
  text-decoration: underline;
}

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

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

div.dokuwiki a.mail:hover {
  border-bottom: 1px dotted __text_alt__;
  text-decoration: underline;
}

/* existing wikipage */
div.dokuwiki a.wikilink1 {
  color: __existing__;
  border-bottom: 1px dotted __existing__;
}

div.dokuwiki a.wikilink1:hover {
  text-decoration: underline;
}

/* not existing wikipage */
div.dokuwiki a.wikilink2 {
  color: __missing__;
  border-bottom: 1px dotted __missing__;
}

div.dokuwiki a.wikilink2:hover {
  text-decoration: underline;
}

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

div.dokuwiki div.preview {
  background-color: __background_alt__;
  margin: 0 0 0 2em;
  padding: 4px;
  border: 1px dashed __border_alt__;
}

div.dokuwiki div.breadcrumbs {
  color: __text_alt__;
  font-size: 85%;
  padding: 0 0 0 4px;
}

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

div.dokuwiki div.user {
  font-size: 80%;
  text-align: center;
  margin-bottom: 0.3em;
}

div.dokuwiki div.meta {
/*  color: __text_alt__; */
}

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

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

/* special headlines */
div.dokuwiki h1 {font-size: 160%; margin-left: 0px; font-weight: bold;}
div.dokuwiki h2 {font-size: 150%; margin-left: 20px;}
div.dokuwiki h3 {font-size: 140%; margin-left: 40px; border-bottom: none; font-weight: bold;}
div.dokuwiki h4 {font-size: 120%; margin-left: 60px; border-bottom: none; font-weight: bold;}
div.dokuwiki h5 {font-size: 100%; margin-left: 80px; border-bottom: none; font-weight: bold;}

/* indent different sections */
div.dokuwiki div.level1 {margin-left: 3px;}
div.dokuwiki div.level2 {margin-left: 23px;}
div.dokuwiki div.level3 {margin-left: 43px;}
div.dokuwiki div.level4 {margin-left: 63px;}
div.dokuwiki div.level5 {margin-left: 83px;}

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

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

/* the list items overriding the ul/ol definition */
div.dokuwiki .li {
  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_alt__;
  padding-left: 3px;
}

div.dokuwiki pre {
  font-size: 100%;
  padding: 0.5em;
  border: 1px dashed __border_alt__;
  color: __text_neu__;
  overflow: auto;
}

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

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

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

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

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

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

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

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

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

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

div.dokuwiki div.tocheader img {
  width:0.8em;
  height:0.8em;
  float:right;
  margin-top:0.3em;
  margin-right:3px;
  cursor: pointer;
}

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

div.dokuwiki div.toc__toggle img {
  width: 0.8em;
  height: 0.8em;
}

div.dokuwiki #toc__inside {
  border: 1px solid __border_alt__;
  background-color: __background_neu__;
  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,
div.dokuwiki a.toc:active {
  color: __text_neu__;
}

div.dokuwiki a.toc:hover {
  text-decoration: underline;
}

/* ---------------------------- Diff rendering --------------------------*/
div.dokuwiki table.diff {
  background-color: __background_neu__;
  width: 100%;
  color: __text_neu__;
}

div.dokuwiki td.diff-blockheader {
  font-weight: bold;
}

div.dokuwiki td.diff-header {
  border-bottom: 1px solid __border_alt__;
  font-size: 120%;
}

div.dokuwiki td.diff-addedline {
  background: __existing__;
  font-family: monospace;
  font-size: 100%;
}

div.dokuwiki td.diff-deletedline {
  background: __missing__;
  font-family: monospace;
  font-size: 100%;
}

div.dokuwiki td.diff-context {
  background: __background_neu__;
  font-family: monospace;
  font-size: 100%;
}

div.dokuwiki span.diffchange {
  color: red;
}

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

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

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: __extern__;
  font-size: 12px;
  margin-left: 20px;
}

div.dokuwiki .search_sep {
  color: __text_neu__;
}

div.dokuwiki .search_hit {
  color: __text_neu__;
  background-color: __highlight__;
}

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

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

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

div.footerinc {
  border: 0px;
}

.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.dokuwiki div.ajax_qsearch {
  position: absolute;
  right: 225px;
  text-align: left;
  width: 200px;
  background-color: __highlight__;
  opacity: 0.9;
  display: none;
}

/* ---------- spellchecking ---------- */

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

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

div#spell_result {
  display: none;
  font-family: monospace;
  border: 1px solid __border_alt__;
  color: __text_neu__;
  font-size: 14px;
  padding: 3px;
  background-color: __background_neu__;
  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: __existing__;
}

span.spell_wait {
  color: __background__;
}

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

div.dokuwiki div.img_big {
  /* float: left; */
  padding: 1em;
  text-align: center;
}

div.dokuwiki div.img_big img {
  border: thick ridge __background_alt__;
}

div.dokuwiki table.img_tags {
  padding: 0px;
  border-collapse: collapse;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

div.dokuwiki table.img_tags caption {
  color: __text__;
  font-size: large;
  font-weight: bold;
  text-align: left;
  border-bottom: thin solid __text__;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.5em;
  padding-left: 0px;
  padding-right: 0.2em;
  padding-top: 0.2em;
  padding-bottom: 0.2em;
}

div.dokuwiki table.img_tags td, table.img_tags th {
  padding-left: 0.5em;
  padding-right: 0.5em;
  padding-top: 0.2em;
  padding-bottom: 0.2em;
  color: __text_alt__;
  border: thin solid __border_alt__;
}

div.dokuwiki table.img_tags th {
  background-color: __border_alt__;
  font-weight: bold;
  text-align: center;
}

div.dokuwiki table.img_tags td.label {
  font-weight: bold;
  color: __text_neu__;
  background-color: __background_neu__;
  width: 30%;
}

div.dokuwiki table.img_tags td.value {
  color: __text_neu__;
  background-color: __background_neu__;
}

div.dokuwiki div.imagemeta {
  color: __text_alt__;
  font-size: 70%;
  border: thin solid __border_alt__;
}

div.dokuwiki .imagemeta .contents {
  background-color: __background_neu__;
  padding: 0.3em;
}

div.dokuwiki .imagemeta .caption {
  padding: 0.3em;
  font-weight: bold;
  background-color: __background_neu__;
}

div.dokuwiki .img_title {
/*
  border: 0px;
  margin-bottom: 0.5em;
*/
}

div.dokuwiki .img_backto {
  margin-left: 1em;
}

/* ---------- current ID highlighting ---------- */
div.dokuwiki .curid {
  font-weight: bold;
}

div.dokuwiki div.success, div.error {
  /* disabled, until I get around to attaching JavaScript to this area
   * to hide it when clicked. */
  /* background-image: url(images/close.png);
  background-position: left center;
  background-repeat: no-repeat;
  padding-left: 25px; */
  background-color: __text_alt__;
  color: __background_alt__;
  font-weight: bold;
  border: thin solid __border_alt__;
  padding: 0.2em;
  padding-left: 3em;
}

#qsearch_in {
  margin-right: 0.5em;
}

.leftalign {
  text-align: left;
}

.centeralign {
  text-align: center;
}

.rightalign {
  text-align: right;
}

div.dokuwiki .toplink {
  font-size: 90%;
  margin-top: 0.5em;
  background: transparent url(images/up.gif) left center no-repeat;
  padding-left: 15px;
  clear: both;
}


