/**
 * This file provides the main design styles.
 *
 * @author Anika Henke <anika@selfthinker.org>
 * @author Andreas Gohr <andi@splitbrain.org>
 */


/* header
********************************************************************/

#dokuwiki__header {
    margin: 1em 0 0;
}
#IE7 #dokuwiki__header {
    margin-top: 2em;
}

#dokuwiki__header .headings {
    margin-bottom: 2.1em;
}
#dokuwiki__header h1 {
    margin-bottom: 0;
    font-size: 1.5em;
}
#dokuwiki__header h1 a {
    text-decoration: none;
    color: #00c;
    background-color: inherit;
}
#dokuwiki__header p.claim {
    margin-bottom: 0;
}
#dokuwiki__header h2 {
    margin-bottom: 0;
    font-size: 1.125em;
}

#dokuwiki__header .tools {
    margin-bottom: 2.1em;
}
#dokuwiki__header .tools ul {
    margin-bottom: 0;
}
#dokuwiki__header .tools ul li {
    display: inline;
}

#dokuwiki__header form.search {
    margin: .5em 0 0;
    display: block;
}
#dokuwiki__header form.search #qsearch__in {
    width: 12em;
    margin-right: .5em;
}

#dokuwiki__header div.breadcrumbs {
    margin-bottom: .3em;
}
#dokuwiki__header div.breadcrumbs a {
    color: __existing__;
    background-color: inherit;
}


/* tools
********************************************************************/

/* make wiki links look the same as tool links in tool bars */
#dokuwiki__usertools a.wikilink1,
#dokuwiki__pagetools a.wikilink1,
#dokuwiki__usertools a.wikilink2,
#dokuwiki__pagetools a.wikilink2 {
    color: #00c;
    border-bottom-width: 0;
}
#dokuwiki__usertools a.wikilink2:hover,
#dokuwiki__pagetools a.wikilink2:hover,
#dokuwiki__usertools a.wikilink2:active,
#dokuwiki__pagetools a.wikilink2:active,
#dokuwiki__usertools a.wikilink2:focus,
#dokuwiki__pagetools a.wikilink2:focus {
    text-decoration: underline;
}

/* highlight selected tool */
.mode_admin a.action.admin,
.mode_profile a.action.profile,
.mode_recent a.action.recent,
.mode_index a.action.index,
.mode_revisions a.action.revs,
.mode_backlink a.action.backlink {
    font-weight: bold;
}

/*____________ user tools ____________*/

#dokuwiki__usertools {
    position: absolute;
    top: 0;
    right: 0;
    border-bottom: 1px solid __border__;
    background-color: __background_alt__;
    width: 100%;
}
#dokuwiki__usertools ul,
#dokuwiki__pagetools ul {
    /* imitate #dokuwiki__site */
    margin: 0 auto;
    max-width: 64em;
    padding: 0 1em;
}
#IE6 #dokuwiki__usertools ul {
    width: 100%;
}
#dokuwiki__usertools ul li.user {
    float: left;
    margin-left: 0;
}

/*____________ page tools ____________*/

#dokuwiki__pagetools {
    position: fixed;
    bottom: 0;
    left: 0;
    border-top: 1px solid __border__;
    background-color: __background_alt__;
    width: 100%;
    z-index: 10;
}
#IE6 #dokuwiki__content {
    margin-bottom: 1.4em;
}
#dokuwiki__pagetools ul li {
    display: inline;
    margin: 0 1.5em 0 0;
}
#dokuwiki__pagetools ul li a.action.top {
    float: right;
}
#IE7 #dokuwiki__pagetools ul {
    position: relative;;
}
#IE7 #dokuwiki__pagetools ul li a.action.top {
    position: absolute;
    top: 0;
    right: 0;
}


/* sidebar
********************************************************************/

#dokuwiki__aside {
    padding-top: .4em;
    line-height: 1.2;
}

/* make sidebar more condensed */

#dokuwiki__aside h1 { margin-bottom: .222em; }
#dokuwiki__aside h2 { margin-bottom: .333em; }
#dokuwiki__aside h3 { margin-bottom: .444em; }
#dokuwiki__aside h4 { margin-bottom: .5em; }
#dokuwiki__aside h5 { margin-bottom: .5714em; }

#dokuwiki__aside p, #dokuwiki__aside ul, #dokuwiki__aside ol, #dokuwiki__aside dl,
#dokuwiki__aside pre, #dokuwiki__aside table, #dokuwiki__aside fieldset,
#dokuwiki__aside hr, #dokuwiki__aside blockquote, #dokuwiki__aside address {
    margin-bottom: .7em;
}

#dokuwiki__aside ul, #dokuwiki__aside ol {
    padding-left: 0;
}
#dokuwiki__aside li ul, #dokuwiki__aside li ol {
    margin-bottom: 0;
}


/* content
********************************************************************/

.dokuwiki .page {
}

/*____________ section indenting ____________

.dokuwiki h1 {margin-left: 0;}
.dokuwiki h2 {margin-left: 20px;}
.dokuwiki h3 {margin-left: 40px;}
.dokuwiki h4 {margin-left: 60px;}
.dokuwiki h5 {margin-left: 80px;}
.dokuwiki div.level1 {margin-left: 0;}
.dokuwiki div.level2 {margin-left: 20px;}
.dokuwiki div.level3 {margin-left: 40px;}
.dokuwiki div.level4 {margin-left: 60px;}
.dokuwiki div.level5 {margin-left: 80px;}
*/


/*____________ images ____________*/

/* embedded images (styles are already partly set in lib/styles/style.css) */
.dokuwiki img.media       { }
.dokuwiki img.medialeft   { margin: .5em 1.5em .5em 0; }
.dokuwiki img.mediaright  { margin: .5em 0 .5em 1.5em; }
.dokuwiki img.mediacenter { margin: .5em auto; }


/*____________ tables ____________*/

.dokuwiki table.inline {
    min-width: 50%;
}
.dokuwiki table.inline th,
.dokuwiki table.inline td {
    border: 1px solid __text_alt__;
}
.dokuwiki table.inline th {
    color: inherit;
    background-color: __background_neu__;
}
.dokuwiki table.inline td {
}
.dokuwiki table.inline tr:hover td {
    background-color: __background_alt__;
}
.dokuwiki table.inline tr:hover th {
    background-color: __border__;
}


/*____________ code ____________*/

.dokuwiki pre,
.dokuwiki tt,
.dokuwiki code,
.dokuwiki samp,
.dokuwiki kbd {
    background-color: __background_alt__;
    color: inherit;
}
.dokuwiki pre {
    border: 1px solid __border__;
    padding: 0 .2em;
}
/* for code in <file> */
.dokuwiki pre.file {
}

/* filenames for downloadable file and code blocks */
.dokuwiki dl.code,
.dokuwiki dl.file {
}

.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: 0 .5em;
    margin-left: 1em;
}
.dokuwiki dl.code dt a,
.dokuwiki dl.file dt a {
}

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


/*____________ misc ____________*/

/* license note in footer and under edit window */
.dokuwiki div.license {
    font-size: 90%;
}

#IE6 input.button, #IE6 button,
#IE7 input.button, #IE7 button {
    line-height: 1.4;
}

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


/* footer
********************************************************************/

.dokuwiki .wrapper {
    margin-bottom: 2.8em;
}
#IE6 .dokuwiki .wrapper {
    margin-bottom: 1.4em;
}

#dokuwiki__footer {
    margin-bottom: 1em;
}
#IE7 #dokuwiki__footer {
    height: 1%;
}
#dokuwiki__footer .doc {
    float: left;
}
#dokuwiki__footer .top {
    float: right;
}
#dokuwiki__footer .license {
    clear: both;
}
#dokuwiki__footer .license img {
    margin: 0 .5em 0 0;
    float: none;
}

