@import url(code.css);

#info { margin: 0 0 1em 0 }
#wikipage { clear: both }

.wikipage h2 {
 border-bottom: 1px solid #ddd;
 box-shadow: .1em .4em .7em 0 #f2f2f2;
 padding: 0.2em .3em .1em;
}
@media print { .wikipage h2 { box-shadow: none } }

.wikipage h3 {
 border-bottom: 1px dashed #ddd;
}
.wikipage .trac-content {
 margin-left: -18px;
 padding-left: 28px;
}

/* Styles for the path of hierarchical pages */
#pagepath {
 font-size: 10px; /* same as .nav ul in trac.css */
 float: left;
 padding: .4em 0;
}
#pagepath :link, #pagepath :visited { margin: 0 .2em }
#pagepath .first:link, #pagepath .first:visited { color: #998 }
#pagepath .sep { color: #666; padding: 0 .1em }
#pagepath .pathentry { float: left }

/* Styles for the page editing form */
.preview-right {
 float: right;
 width: 50%;
 display: block;
 margin: 0 0 0 1em;
}
.sidebyside > h2 { margin: .4em 0 }
.sidebyside #preview { margin: 0 }
.sidebyside #text { overflow: hidden }

#edit { margin-top: .5em }
#edit #rows {
 float: right;
 font-size: 80%;
 margin: .4em 0 0 0;
}
#edit #rows select { font-size: 90% }
#edit fieldset { margin-left: 1px; margin-right: 1px }
#edit #text {
 clear: both;
 min-height: 10em;
 resize: vertical;
}
#edit .wikitoolbar { float: left }
#edit div.trac-resizable { clear: both }
#edit + #info { margin-top: 1em }
#edit + #attachments { margin-top: 1.5em }
#changeinfo { padding: .5em }
#changeinfo .field { float: left; margin: 0 1em .5em 0 }
#changeinfo { clear: both }
#changeinfo br { clear: left }
#changeinfo .options { padding: 0 0 1em 1em }
#changeinfo .options, #changeinfo .buttons { clear: left }
#delete, #rename, #save { margin-left: 3em }
#preview {
 background: #f8f8f8 url(../draft.png);
 margin: 1em 0 2em;
 overflow: auto;
}
#template { vertical-align: middle; padding-top: 1em; }

/* Diff view */
#overview .multi { color: #999 }
#overview .ipnr { color: #999; font-size: 80% }
#overview .comment { padding: 1em 0 0 }

@media print {
 th.diff, td.diff { display: none }
}

/* Styles for the TracGuideToc wikimacro */
.wiki-toc {
 padding: .5em 1em;
 margin: 0 0 2em 1em;
 float: right;
 clear: right;
 border: 1px outset #ddc;
 background: #ffd;
 font-size: 85%;
 position: relative;
}
.wiki-toc h4 { font-size: 12px; margin: 0 }
.wiki-toc ul, .wiki-toc ol { list-style: none; padding: 0; margin: 0 }
.wiki-toc ul ul, .wiki-toc ol ol { padding-left: 1.2em }
.wiki-toc li { margin: 0; padding: 0 }
.wiki-toc .active { background: #ff9; position: relative; }
.wiki-toc-un ul, .wiki-toc-un ol { list-style: none; }

div.trac-modifiedby {
 margin: .3em .5em;
 *width: 100%; /* Workaround horizontal scrollbar on IE7 */
 color: #888;
 font-size: 80%;
 font-style: italic;
 text-align: right;
 float: right;
}
div.trac-modifiedby :link, div.trac-modifiedby :visited { color: inherit }
div.trac-modifiedby span.trac-print { display: none; }
@media print {
 div.trac-modifiedby span { display: none; }
 div.trac-modifiedby span.trac-print { display: block; }
}

/* TracIni default value */
div.tracini td.default { font-size: 90% }
div.tracini td.nodefault {
 color: #777;
 font-size: 85%;
 font-style: italic;
 white-space: nowrap;
}
div.tracini td > p:first-child { margin-top: 0 }
div.tracini td > p:last-child { margin-bottom: 0 }
/* Diff preferences */
#prefs fieldset { margin: 1em .5em .5em; padding: .5em 1em 0 }

/* Diff/change overview */
#overview { line-height: 130%; margin-top: 1em; padding: .5em .5em .5em 0 }
#overview dt.property {
 clear: left;
 float: left;
 font-weight: bold;
 text-align: right;
 width: 7.75em;
}
#overview dd { margin-left: 8.5em }

#overview .message { padding: 1em 0 1px }
#overview dd.message p, #overview dd.message ul, #overview dd.message ol,
#overview dd.message pre { margin-bottom: 1em; margin-top: 0; }

/* Colors for change types */
.chglist .edit, #overview .mod, .diff .legend .mod { background: #fd8 }
.chglist .delete, #overview .rem, .diff .legend .rem { background: #f88 }
.chglist .add, #overview .add, .diff .legend .add { background: #bfb }
.chglist .copy, #overview .cp, .diff .legend .cp { background: #88f }
.chglist .move, #overview .mv, .diff .legend .mv { background: #ccc }
.chglist .unknown { background: #fff }

/* Legend for diff and file colors */
.legend {
 font-size: 9px;
 line-height: 1em;
 padding: .5em 0;
}
.legend h3 { display: none; }
.legend dt {
 background: #fff;
 border: 1px solid #999;
 float: left;
 margin: .1em .5em .1em 0;
 overflow: hidden;
 width: .8em; height: .8em;
}
.legend dl {
 display: inline;
 padding: 0;
 margin: 0;
 margin-right: .5em;
}
.legend dd {
 display: inline;
 float: left;
 padding: 0;
 margin: 0;
 margin-right: 2em;
}

#diff-legend {
 float: left;
 clear: right;
 margin: 1em .5em;
}

#file-legend dd { margin-left: 0; }

/* Styles for the list of diffs */
.diff ul.entries { clear: both; margin: 0; padding: 0 }

.diff li.entry {
 background: #f7f7f7;
 border: 1px solid #d7d7d7;
 list-style-type: none;
 margin: 0 0 2em;
 padding: 2px;
 position: relative;
 width: 100%;
}
.diff h2 {
 color: #333;
 font-size: 14px;
 letter-spacing: normal;
 margin: 0 auto;
 padding: .1em 0 .25em .5em;
}
.diff h2 .switch { color: #999; float: right; font-size: 75%;
  line-height: 1.6;
}
.diff h2 .switch span { border-left: 1px solid #ccc; cursor: pointer;
  padding: 0 1em;
}
.diff h2 .switch span:first-child { border: none; }
.diff h2 .switch span.active { color: #333; cursor: default; }

/* Styles for the actual diff tables (side-by-side and inline) */
.diff table.trac-diff {
 border: 1px solid #ddd;
 border-spacing: 0;
 border-top: 0;
 empty-cells: show;
 font-size: 12px;
 line-height: 130%;
 padding: 0;
 margin: 0 auto;
 table-layout: fixed;
 width: 100%;
}
.diff table.trac-diff col.lineno { width: 4em }
.diff table.trac-diff th {
 border-right: 1px solid #d7d7d7;
 border-bottom: 1px solid #998;
 font-size: 11px;
}
.diff table.trac-diff thead th {
 background: #eee;
 border-top: 1px solid #d7d7d7;
 color: #999;
 padding: 0 .25em;
 text-align: center;
 white-space: nowrap;
}
.diff table.trac-diff tbody th {
 background: #eed;
 color: #886;
 font-weight: normal;
 padding: 0 .5em;
 text-align: right;
 vertical-align: top;
}
.diff table.trac-diff td {
 background: #fff;
 font: normal 11px monospace;
 overflow: visible;
 padding: 1px 2px;
 vertical-align: top;
}
.diff table.trac-diff tbody tr:hover td {
 background: #eed;
}
.diff table.trac-diff tbody.mod tr:hover td,
.diff table.trac-diff tbody.add tr:hover td,
.diff table.trac-diff tbody.rem tr:hover td {
 background: #ddc;
}
.diff table.trac-diff tbody.mod tr:hover td del,
.diff table.trac-diff tbody.mod tr:hover td ins {
 background: #bb9;
}
.diff table.trac-diff tbody.skipped td, .diff table.trac-diff thead td {
 background: #f7f7f7;
 border: 1px solid #d7d7d7;
}
.diff td ins, .diff td del {text-decoration: none;}

/* Styles for the inline diff */
pre.diff .rem { background: #fdd; }
pre.diff .add { background: #dfd; }
.diff table.inline tbody.mod td.l, .diff table.inline tbody.rem td.l {
 background: #fdd;
 border-color: #c00;
 border-style: solid;
 border-width: 0 1px 0 1px;
}
.diff table.inline tbody.mod td.r, .diff table.inline tbody.add td.r {
 background: #dfd;
 border-color: #0a0;
 border-style: solid;
 border-width: 0 1px 0 1px;
}
.diff table.inline tbody.mod tr.first td.l,
.diff table.inline tbody.rem tr.first td.l { border-top-width: 1px }
.diff table.inline tbody.mod tr.last td.l,
.diff table.inline tbody.rem tr.last td.l { border-bottom-width: 1px }
.diff table.inline tbody.mod tr.first td.r,
.diff table.inline tbody.add tr.first td.r { border-top-width: 1px }
.diff table.inline tbody.mod tr.last td.r,
.diff table.inline tbody.add tr.last td.r { border-bottom-width: 1px }
.diff table.inline tbody.mod td del {
 background: #e99;
 color: #000;
}
.diff table.inline tbody.mod td ins {
 background: #9e9;
 color: #000;
}

/* Styles for the side-by-side diff */
.diff table.sidebyside colgroup.content { width: 50% }
.diff table.sidebyside tbody.mod td.l { background: #fe9 }
.diff table.sidebyside tbody.mod td.r { background: #fd8 }
.diff table.sidebyside tbody.add td.l { background: #dfd }
.diff table.sidebyside tbody.add td.r { background: #cfc }
.diff table.sidebyside tbody.rem td.l { background: #f88 }
.diff table.sidebyside tbody.rem td.r { background: #faa }
.diff table.sidebyside tbody.mod del, .diff table.sidebyside tbody.mod ins {
 background: #fc0;
}

/* Styles for the plain-text diff view */
.diff pre { background: #fff; border: 1px solid #ddd; font-size: 85%;
  margin: 0;
}

/* Styles for the property diffs */
.diff table.props td { padding: 2px 0.5em }
