/*  style-mercurialweb.css - stylesheets resembling the MercurialWikiTheme styles

Copyright (c) 2010, 2011, 2019 Paul Boddie <paul@boddie.org.uk>
Copyright (c) 2001, 2002, 2003 by Juergen Hermann
*/

/* content styles */

body {
    padding: 0;
    margin: 0;
    border: 0;

    /* Styling similar to the main site. */

    font-family: Helvetica, Verdana, Arial, sans-serif;
    color: #111;
    margin: 0 5em;
    background-color: #fff;
}

a, img {
    border: 0;
}

a:link, a:visited { color: #00b5f1; text-decoration: none; }
a:link:hover, a:link:active, a:link:focus,
a:visited:hover, a:visited:active, a:visited:focus { text-decoration: underline; }

h3 a { color: inherit !important; }

input, select {

    /* Styling similar to the main site. */

    font-family: Helvetica, Arial, sans-serif;
    font-size: 0.8571em;
}

/* Table styling. */

table
{
    margin: 1em 0;
    border-collapse: collapse;
    width: 100%;
}

th {
    text-align: left;
}

th a:link, th a:visited {
    color: #111;
}

th, td {
    padding: 0.4em 0.25em;
    vertical-align: top;
}

td p {
    margin: 0;
    padding: 0;
}

tr.parity1 {
    background: #f7f7f7;
}

hr {
    background-color: #ccc;
    color: #ccc;
    border: 0;
    height: 1px;
}

/* Index styling. */

.archives {
    text-align: left;
    white-space: nowrap;
}

.feeds {
    text-align: right;
    white-space: nowrap;
}

/* Summary table dimensions. */

table.summary td.author,
table.summary td.date,
table.branches td.date,
table.bookmarks td.date,
table.tags td.date {
    width: 10%;
}

table.manifest td.node,
table.summary.branches td.date,
table.summary.bookmarks td.date,
table.summary.tags td.date {
    width: 20%;
}

table.summary td.navigation,
table.branches td.navigation,
table.bookmarks td.navigation,
table.tags td.navigation {
    width: 5%;
}

/* Styling of headings from the main site. */

h1 { font-size: 2em; }
h2 { font-size: 1.6em; }
h3 { font-size: 1.3em; }

/* Repository information. */

td.branchinfo,
td.branches,
td.bookmarks,
td.tags {
    text-align: right;
    white-space: nowrap;
}

span.branchinfo {
    padding-top: 0.15em;
    padding-bottom: 0.15em;
}

td.branchinfo.graphlabel {
    padding-top: 0;
    padding-bottom: 0;
}

td.node {
    font-family: monospace;

    /* Monospace inline text frequently looks smaller than the surrounding text. */

    font-size: 120%;
}

span.tag,
span.bookmark,
span.branch,
span.inbranch {
    padding: 0.25em 0.5em;
    white-space: nowrap;
}

span.tag {
    background: #f1b500;
}

span.bookmark {
    background: #f1b5f1;
}

span.branch, /* default properties */
span.open {
    background: #b5f1b5;
}

span.inbranch,
span.inactive {
    background: #b5b5b5 !important;
}

span.closed {
    background-color: #f1b5b5 !important;
}

span.branch a,
span.bookmark a,
span.tag a,
span.inbranch a,
span.open a,
span.closed a,
span.inactive a {
    color: #000;
}

/* Navigational and editing controls. */

@media print {
    #header {
        display: none;
    }
}

.controls {
    float: right;
    text-align: right;
}

#navibar {
    display: inline-block;
    margin: 17px 0 2px 0;
    padding: 0;
    vertical-align: bottom;
}

#navibar li {
    display: inline;
    margin: 0;
    padding: 0;
}

#navibar li form {
    display: inline;
}

#navibar a, #navibar li.current span,
.archives a,
.feeds a,
.changeset-navigation a,
.navigation a {
    color: #fff;
    text-decoration: none;
}

#navibar a {
    background: #999;
}

.navigation {
    white-space: nowrap;
}

.archives a,
.feeds a,
.changeset-navigation a,
.navigation a {
    background: #ccc;
}

#navibar a, #navibar li.current span {

    /* Need a block to redefine the height. */

    display: inline-block;
    height: 42px;
    line-height: 42px;

    margin: 0;
    padding: 0 16px;
}

.changeset-navigation {
    line-height: 2em;
    padding-top: 0;
}

.archives a,
.feeds a,
.changeset-navigation a,
.navigation a {
    padding: 0.25em 0.5em;
}

#navibar a:hover, #navibar a:focus, #navibar li.current a, #navibar li.current span,
.archives a:hover, .archives a:focus,
.changeset-navigation a:hover, .changeset-navigation a:focus,
.navigation a:hover, .navigation a:focus {
    background: #00b5f1;
}

.feeds a:hover, .feeds a:focus {
    background: #f1b500;
}

#navibar a:hover, #navibar a:focus, #navibar li.current a,
.archives a:hover, .archives a:focus,
.feeds a:hover, .feeds a:focus,
.changeset-navigation a:hover, .changeset-navigation a:focus,
.navigation a:hover, .navigation a:focus {
    text-decoration: none;
}

/* Other elements. */

#logo {
    float: left;
    margin: 0;
    padding: 0;

    /* For text only logo */

    font-size: larger;
    font-weight: bold;
}

#logo img {
    vertical-align: bottom;
}

#logo a {
    color: black;
    text-decoration: none;
}

span.container {
    position: relative;
    float: right;

    /* Height settings correspond to navibar list entries. */

    height: 42px;
    line-height: 42px;

    /* Margin and padding correspond to the navibar settings. */

    padding: 0 16px;
}

span.container span.hint {
    display: none;
}

span.container:hover span.hint {
    display: block;
    position: absolute;
    top: 42px;
    left: 16px;
    z-index: 3;

    padding: 0 16px;

    background: #00b5f1;
    color: #fff;
}

#searchform input {
    vertical-align: middle;
}

#searchform label {
    font-size: smaller;
    color: #fff;
}

#pageline, .pageline {

    /* Prevent mixing of header and content elements. */

    clear: both;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #ccc;
}

/* Footer elements. */

#footer {
    margin-top: 1em;
}

#credits {
    float: right;

    /* Styling similar to the main site. */

    font-family: Verdana, Helvetica, Arial, sans-serif;
    font-size: .6428em;
    padding: 10px 25px;
}

#credits li {
    display: inline;
    padding: 0 2px;
    margin: 0 4px;
}

#credits img {
    vertical-align: middle;
}

#credits a {
    text-decoration: none;
}

/* Shortlog presentation. */

.commentline {
    white-space: nowrap;
    overflow: hidden;
}

/* Changeset and changelog presentation. */

.changelogfiles, .searchentryfiles {
    border-bottom: 1px solid #ccc;
}

.changesetlinks {
    position: relative;
    padding-left: 1em;
    min-height: 1.2em;
    line-height: 1.2em;
}

span.changesetlinks {
    display: inline-block;
    vertical-align: text-top;
}

.changesetlinks a {
    display: block;
}

.description {
    font-family: monospace;
    white-space: pre;
}

/* Position changeset labels at a fixed distance from the left margin. */

.changesetparentlinks,
.changesetchildlinks {
    position: absolute;
    top: 0;
    left: 0;
}

.changesetparentlinks:before {
    content: '↓'; /* down arrow (UTF-8) */
    /* content: '← '; left arrow (UTF-8) */
}

.changesetchildlinks:after {
    content: '↑'; /* up arrow (UTF-8) */
    /* content: '→'; right arrow (UTF-8) */
}

.changeset {
    font-weight: bold;
    margin-left: 1em;
}

.files {
    font-size: smaller;
}

.files span:before {
    content: '| ';
}

.files span:first-child:before {
    content: '';
}

.diff.specific div {
    display: block !important;
}

/* Folding sections for the help and diff pages. */

.help tbody:not(:target),
.diff div:not(:target) {
    display: none;
}

.help tbody:target,
.diff div:target {
    display: block;
}

/* Help views. */

.help {
    position: relative;
}

.help table {
    margin: 0 0 3em 0; /* leave space for the navigation if inactive */
}

.help table tbody {
    padding-top: 3em; /* leave space for the navigation */
}

.help p.navigation {
    position: absolute;
    top: 0;
    left: 0;
}

/* Source views. */

.source {
    background-color: #eee;
}

.source pre {
    overflow: auto;
}

.source span.line {
    display: block;
}

.file, .diff {
    overflow: hidden;
}

.plusline {
    color: #090;
}

.minusline {
    color: #900;
}

.atline {
    color: #990;
}

/* Annotations. */

tr.annotate td,
tr.annotate pre {
    margin: 0;
    padding: 0;
}

tr.annotate td.line {
    font-family: monospace;
    background-color: #eee;
    padding-right: 0.5em;
}

td.annotate {
    font-size: 80%;
}

tr.annotate td:first-child {
    width: 10%;
}

/* File views. */

.permissions {
    font-family: monospace;

    /* Monospace inline text frequently looks smaller than the surrounding text. */

    font-size: 120%;
}

/* Graph views. */

div.graph {
    position: relative;
}

table.graph {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-collapse: collapse;
}

.graphlabel {
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
}

.graphcolour-1 { fill: #d00; }
.graphcolour-2 { fill: #dd0; }
.graphcolour-3 { fill: #0d0; }
.graphcolour-4 { fill: #0dd; }
.graphcolour-5 { fill: #00d; }
.graphcolour-6 { fill: #d0d; }

.graphmarker { stroke: #ddd; stroke-width: 0.02; }

line.graphcolour-1 { stroke: #d00; stroke-width: 0.1; stroke-linecap: round; }
line.graphcolour-2 { stroke: #dd0; stroke-width: 0.1; stroke-linecap: round; }
line.graphcolour-3 { stroke: #0d0; stroke-width: 0.1; stroke-linecap: round; }
line.graphcolour-4 { stroke: #0dd; stroke-width: 0.1; stroke-linecap: round; }
line.graphcolour-5 { stroke: #00d; stroke-width: 0.1; stroke-linecap: round; }
line.graphcolour-6 { stroke: #d0d; stroke-width: 0.1; stroke-linecap: round; }
