/**
 * main layout by
 * @author Andreas Gohr <andi@splitbrain.org>
 * @author Anika Henke <henke@cosmocode.de>
 * additional editing by
 * @author Michael Klier <chi@chimeric.de>
 */

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

body {
  font: __FontSize__ Verdana, "Lucida Grande", Lucida, Helvetica, Arial, sans-serif;
  color: __FontColor__;
  margin:__marginBody__;
  line-height:__LineHeight__;
  background:__cBodyBg__;
  
}

/* the document */

div.dokuwiki {
  margin:auto;
  padding:0;
  width: __widthWiki__;
  border:1px solid __cWikiBorder__;
  background:__cWikiBg__;
  
}

div.dokuwiki div.page {
  margin-left:1em;
  margin-right:2em;
}

div.dokuwiki div.left_sidebar {
  float:left;
  width:21%;
  padding:1em;
  padding-top:0;
  border-right:1px solid  __cLightBorder__;
}

div.dokuwiki div.right_sidebar {
  float:right;
  width:21%;
  padding:1em;
  padding-top:0;
  border-left:1px solid __cLightBorder__;
}

div.dokuwiki div.right_page {
  text-align: justify;
  float:left;
  width:70%;
  padding:1em;
  margin-left:1%;
}

div.dokuwiki div.left_page {
  text-align: justify;
  float:left;
  width:70%;
  padding:1em;
  margin-left:1%;
}

div.dokuwiki table {
  font-size:__FontSize__;
  padding:0;
  margin:0;
}

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

div.dokuwiki tr:hover {
  background: __cTableTrHover__;
  cursor: pointer;
}

div.dokuwiki img {border:0}

div.dokuwiki p {padding:0; margin: 0 0 1.0em 1em;font-size:__FontSize__;}

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

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

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

div.dokuwiki form {
  border: none;
  margin: 0;
  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%;
  font-size:11px;
}

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

div.dokuwiki textarea.edit {
  font-family:monospace;
  border: 1px solid __cFormBorder__;  
  color: __FontColor__;
  background-color: __white__;
  font-size:__FontSizeEdit__;
  padding: 3px;
  width:100%;
}

div.dokuwiki input.edit, div.dokuwiki select.edit {
  border: 1px solid __cFormBorder__;
  color: __FontColor__;
  background-color: __white__;
  display: inline;
  font-size:11px;
}

div.dokuwiki input.missing {
  border: 1px solid __cFormBorder__;
  color: __FontColor__;
  background-color: #ffcccc;
  margin: 1px;
  display: inline;
  font-size:11px;
}

/* search form */
div.dokuwiki div.left_sidebar form#dw__search,
div.dokuwiki div.right_sidebar form#dw__search {
  margin-bottom: 0.2em;
  display:block;
}

div.dokuwiki form#dw__search {
  margin-right:0.5em;
}

/* 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:40px;
   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;
}

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

div.dokuwiki input.button, div.dokuwiki button.button{
  border: 1px solid __cFormBorder__;  
  color: __FontColor__;
  font-size:11px;
  background-color: __white__;
  text-decoration:none;
  cursor: pointer;
  margin-left:1px;
}

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

div.dokuwiki div.secedit input.button {
  border: 1px solid __cFormBorder__;
  color: __FontColor__;
  font-size:11px;
  background-color: __white__;
  text-decoration:none;
  cursor: pointer;
  float:right;
  display: inline;
}

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

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

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

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

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

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

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

div.dokuwiki a {
  color:__cLink__;
  text-decoration:none;
}
div.dokuwiki a:hover {
  color:__cLinkHover__;
  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 h1 a:hover, 
div.dokuwiki h2 a:hover, 
div.dokuwiki h3 a:hover, 
div.dokuwiki h4 a:hover, 
div.dokuwiki h5 a:hover {
  color:__HeadlineColor__;
  text-decoration:none;
}

/* external link */
div.dokuwiki a.urlextern:link,
div.dokuwiki a.urlextern:active,
div.dokuwiki a.urlextern:visited {
  background: transparent url(images/link_icon.png) 0px 0px no-repeat;
  padding: 1px 0px 1px 18px;
  color:__cExternLink__;
  text-decoration:none;
}

div.dokuwiki a.urlextern:hover {
  color:__cExternLinkHover__;
  text-decoration:underline;
}

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

/* interwiki link (icon are set by dokuwiki) */
div.dokuwiki a.interwiki{
  color: __cInterwikiLink__;
  text-decoration:none;
}
div.dokuwiki a.interwiki:visited {
  color: __cInterwikiLink__;
}
div.dokuwiki a.interwiki:hover {
  color: __cInterwikiLinkHover__;
  text-decoration:underline;
}

/* link to some embedded media */
div.dokuwiki a.media {
  color:__cMediaLink__;
  text-decoration:none;
}
div.dokuwiki a.media:hover {
  color:__cMediaLinkHover__;
  text-decoration:underline
}

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

/* existing wikipage */
div.dokuwiki a.wikilink1:link    { color:__cWikiLink1__; text-decoration:none }
div.dokuwiki a.wikilink1:visited { color:__cWikiLink1__; text-decoration:none }
div.dokuwiki a.wikilink1:hover   { color:__cWikiLink1Hover__; text-decoration:underline }

/* not existing wikipage */
div.dokuwiki a.wikilink2:link    { color:__cWikiLink2__; text-decoration:none }
div.dokuwiki a.wikilink2:visited { color:__cWikiLink2__; text-decoration:none }
div.dokuwiki a.wikilink2:hover   { color:__cWikiLink2Hover__; text-decoration:underline }

/* action-links */
div.dokuwiki a.action {
  font-size: __FontSizeActLink__;
}

div.dokuwiki a.action:link       { color:__cActLink__; text-decoration:none; }
div.dokuwiki a.action:link       { color:__cActLink__; text-decoration:none; }
div.dokuwiki a.action:visited    { color:__cActLink__; text-decoration:none; }
div.dokuwiki a.action:hover      { color:__cActLinkHover__; text-decoration:none; }

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

div.dokuwiki div.preview{
  padding: 4px;
  border: 1px dashed __cDarkBorder__;
}

div.dokuwiki div.breadcrumbs {
  color: __FontColor__;
  line-height:140%;
  padding:0.3em;
  margin-left:0.8em;
  font-size:__FontSizeTrace__;
}

div.dokuwiki span.user{
  color: __FontColor__;
}

div.dokuwiki li.minor {
  color: __darkgray__;
  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-left: auto;
  margin-right: auto;
}

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

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

/* general headline setup */
div.dokuwiki h1, 
div.dokuwiki h2, 
div.dokuwiki h3, 
div.dokuwiki h4, 
div.dokuwiki h5 {
  color: __HeadlineColor__;
  font-family: Verdana, "Lucida Grande",  Lucida, Helvetica, Arial, sans-serif;
  font-weight: normal;
  margin-left:    0;
  margin-right:   0;
  margin-top:     1em;
  margin-bottom:  0.5em;
  padding-left:   0;
  padding-right:  0;
  padding-bottom:  3px;
  clear: left;
}

/* special headlines */
div.dokuwiki h1 {margin-left: 0px; font-size: __FontSizeH1__; border-bottom:1px solid __cLightBorder__;}
div.dokuwiki h2 {margin-left: 4px; font-size: __FontSizeH2__; border-bottom:1px solid __cLightBorder__;}
div.dokuwiki h3 {margin-left: 8px; font-size: __FontSizeH3__; border-bottom: none;}
div.dokuwiki h4 {margin-left: 12px; font-size: __FontSizeH4__; border-bottom: none;}
div.dokuwiki h5 {margin-left: 16px; font-size: __FontSizeH5__; border-bottom: none;font-weight:bold;}

/* indent different sections */
div.dokuwiki div.level1 {margin-left: 0px;}
div.dokuwiki div.level2 {margin-left: 4px;}
div.dokuwiki div.level3 {margin-left: 8px;}
div.dokuwiki div.level4 {margin-left: 12px;}
div.dokuwiki div.level5 {margin-left: 16px;}

/* unordered lists */
div.dokuwiki ul { 
  line-height: 1.5em;
  list-style-type: round;
  color: __darker__;
  font-size:__FontSize__;
  margin: 0 0 0.5em 2em;
  padding: 0;
}

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

/* the list items overriding the ol definition */
div.dokuwiki .li {
  color: __FontColor__;
  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);
}

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

div.dokuwiki blockquote {
  font-size:__FontSize__;
  border-left: 2px solid __dark__;
  padding-left: 3px;
  margin-left: 0;
}

/* code blocks by indention */
div.dokuwiki pre.pre {
  padding: 0.5em;
  border: 1px dashed __dark__;
  color: __FontColor__;
  background-color: __lighter__;
  overflow: auto;
}

/* code blocks by code tag */
div.dokuwiki pre.code {
  padding: 0.5em;
  border: 1px dashed __dark__;
  color: __FontColor__;
  background-color: __lighter__;
  overflow: auto;
  line-height:140%;
  width:96%;
}

/* inline code words */
div.dokuwiki code {
}

/* code blocks by file tag */
div.dokuwiki pre.file {
  padding: 0.5em;
  border: 1px dashed __dark__;
  color: __FontColor__;
  background-color: __medium__;
  overflow: auto;
  width:96%;
}

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

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

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

div.dokuwiki .leftalign{
  text-align: left;
}

div.dokuwiki .centeralign{
  text-align: center;
}

div.dokuwiki .rightalign{
  text-align: right;
}

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

div.dokuwiki div.toc {
  margin-left: 10px;
  margin-bottom: 0.5em;
  margin-top:0.5em;
  float:right;
  width: __widthTOC__;
  clear:both;
}

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

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

div.dokuwiki #toc__inside {
  border: 1px solid __cDarkBorder__;
  background-color: __cWikiTocBg__;
  text-align: left;
  padding-top: 0.5em;
  padding-bottom: 0.7em;
}

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

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 {
  color: __cTocLink__;
  text-decoration:none;
}

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

/* ---------------------------- Diff rendering --------------------------*/
div.dokuwiki table.diff { background:__white__; }
div.dokuwiki td.diff-blockheader {font-weight:bold}
div.dokuwiki td.diff-header {
  border-bottom: 1px solid __dark__;
  font-size:__FontSize__;
}
div.dokuwiki td.diff-addedline {
  background:#ddffdd;
  font-family: monospace;
  font-size: __FontSize__;
}
div.dokuwiki td.diff-deletedline { 
  background:#ffffbb;
  font-family: monospace;    
  font-size: __FontSize__;
}
div.dokuwiki td.diff-context {
  background:__lighter__;
  font-family: monospace;
  font-size: __FontSize__;
}
div.dokuwiki span.diffchange { color: red; }

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

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

div.dokuwiki div.fn{
  font-size:__FontSizeFootnote__;
}

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

div.dokuwiki a.fn_bot{
  vertical-align:super;
  font-size:__FontSizeFootnote__;
  font-weight:bold;
}

/* insitu-footnotes */
div.insitu-footnote {
  font-size: __FontSize__;
  line-height: 1.2em;
  border: 1px solid __dark__;
  background: __light__;
  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-left: 16px;
  padding-right: 10px;
}

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

div.dokuwiki .search_sep{
  color: __black__;
}

div.dokuwiki .search_hit{
  color: __black__;
  background: __highlight__;
}

div.dokuwiki div.search_quickresult{
  margin-bottom: 15px;
  padding-bottom: 5px;
  margin-left: 8px;
  padding-right: 10px;
  border-bottom: 1px dashed __cDarkBorder__;
}
div.dokuwiki div.search_quickresult h3{
  margin: 0 0 1.0em 0;
  padding: 0;
  font-size: 1em;
  font-weight: bold;
}


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

div.dokuwiki input#qsearch_in {
  width:60% !important;
  margin-right:1px;
}

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

div.footerinc {
  height: __heightFooter__;
  margin:__marginFooter__;
  border:1px solid __cDarkBorder__;
  background-color: __cWikiFooterBg__;
  margin-top:0.5em;
  
      background-image:url('images/music.jpg');
      background-repeat:repeat-both;
  background-position: top left;
}

div.dokuwiki .syndication {
  padding:1.8em;
}

div.dokuwiki .footerinc a img {
    opacity: 0.5;
}

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

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

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

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

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

div.dokuwiki div.left_sidebar div.ajax_qsearch,
div.dokuwiki div.right_sidebar div.ajax_qsearch {
  position:relative;
  left:0;
  display:none;
  font-size: __FontSize__;
  border: 1px solid __dark__;
  background: __light__;
  text-align: left;
  padding: 4px;
  margin-top:0.2em;
}

div.dokuwiki div.ajax_qsearch {
  position:absolute;
  right:100px;;
  margin-top:5px;
  width: 200px;
  opacity: 0.9;
  display:none;
  border: 1px solid __dark__;
  background: __light__;
  text-align: left;
  padding: 4px;
}

/* --------- Toolbar -------------------- */
div.dokuwiki button.toolbutton{
  background-color: __white__;
  padding: 0px;
  margin: 0 1px 0 0;
  border: 1px solid __cFormBorder__;
  cursor: pointer;
}

div.dokuwiki div.picker {
  width: 250px;
  border: 1px solid __cFormBorder__;
  background: __light__;
}

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

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

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

div.dokuwiki div#spell__suggest {
  position: absolute;
  left: 0;
  top: 0;
  display: none;
  background-color: __white__;
  padding: 2px;
  border: 1px solid __black__;
  font-size:__FontSize__;
  z-index: 2;
}

div.dokuwiki div#spell__result {
  display:none;
  font-family:monospace;
  border: 1px solid __cDarkBorder__; 
  color: __FontColor__;
  font-size:__FontSize__;
  padding: 3px;
  background-color: __lighter__;
}

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: __medium__;
}
div.dokuwiki dl.img_tags dd {
  background-color: __lightgray__;
}

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

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

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

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

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

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

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

