/*
##################################################################
# Site CSS - Place custom CSS, including overriding styles here.
*/


/* change appearance to be like kmess.org */

html body {
  background-color: #e6dede;
  margin: 12px;
}

#banner {
  background-color: #99ccff;
  border: 1px solid #82A0C8;
  position: relative;

  /* same spacing for the logo */
  height: 120px;
}

#banner #header a#logo img {
  margin-left: 0px;
  margin-top: 3px;

  /* width/height set in trac.ini */
}

#main {
  background-color: #fff;
  padding: 10px;
  border: 1px solid #AAA4A4;
}

html #mainnav {
  margin-top: 10px;
  border: 1px solid #AAA4A4;
  background-color: #fff;
  /* background-image: none; */
}


/* subtle layout tuning */

#banner form#search {
  position: absolute;
  right: 2px;
  top: 2px;
}

#banner #metanav {
  position: absolute;
  bottom: 2px;
  right: 2px;
}

#metanav li {
  border: 0;
}

#metanav li a:hover,
#main #ctxtnav li :link:hover,
#main #ctxtnav li :visited:hover {
  background-color: transparent;
}

html #footer {
  border-top: 0;
}

html #footer p,
html #footer a:link,
html #footer a:visited {
  color: #AAA4A4;
}

#footer p.left {
  border-left: 0;
  border-right: 0;
}

#banner form#search input#proj-search {
  border: 1px solid #AAA4A4;
  width: 10em;
}

/* Main Wiki Page - Two-column layout */

div#wikiStart-box {
  display: table-cell;
}

div#wikiStart-list {
}

div#wikiStart-tickets {
  float: right;
  margin-left: 5%;
  width: 55%;
}

div#wikiStart-tickets div p {
  /* hide trac-added p inside the divs */
  margin: 0;
  padding: 0;
}

div#wikiStart-tickets div {
  display: inline-block;
  padding: 0;
  margin: 1em;
}

div#wikiStart-tickets div dl {
  margin: 0;
  padding: 0;
}

div#wikiStart-blocker-tickets {
  background-color: #fdc;
  border: 1px solid #e88;
}

div#wikiStart-major-tickets {
  background-color: #ffb;
  border: 1px solid #eea;
}

div#wikiStart-normal-tickets {
  background-color: #fbfbfb;
  border: 1px solid #ddd;
}

div#wikiStart-minor-tickets {
  background-color: #e7ffff;
  border: 1px solid #cee;
}


/* Doxygen
 *
 * Adapted from doxygen.css from the source tarball,
 * to fit in the trac style.
 */

#main #ctxtnav {
  height: auto;  /* override trac.css */
  padding: 0;    /* override doxygen.css */
}

#content.doxygen code {
  font-family: "Courier New", monospace;
  font-size: 90%;
}

#content.doxygen h1 {
  margin: 0.15em 1em 0.5em 0;   /* reset trac margins */
}

hr {
  height: 1px;
  border: none;
  border-top: 1px solid black;
}

#content li {
  list-style-type: disc;
}

/* menu and navigation */

/* doxygens #menu becomes a clone of trac's #ctxtnav */

#menu {
  float: right;
  display: inline;
  min-height: 0; /* ie 7 */
}
* html #menu { height: 1%; } /* ie 6 */

#menu:after {
  clear:both;
  display:block;
  height:0;
  overflow:hidden;
  visibility:none;
  content:'.';
}

#menu ul {
  font-size:10px;
  list-style-image:none;
  list-style-position:outside;
  list-style-type:none;
  margin:0;
  text-align:right;
}

#menu li {
  border-right:1px solid #D7D7D7;
  float:left;
  display:inline;
  padding:0 0.75em;
  white-space:nowrap;
}

#menu li:last-child {
  border-right: none;
}

#menu li:hover,
#menu li a:hover {
  background-color: transparent;
}

.navpath {
  /* namespace path */
  margin: 0 0 1em 0;
}

#content.doxygen .contents {
  clear:both;
}

#content.doxygen div.nav {
  /* directory location */
  text-align: left;
}

#content.doxygen div.nav a.el {
  font-style: italic;
  font-weight: normal;
  font-size: 100%;
}

.dynsection {
  overflow:visible;
}

div.qindex {
  /* top index */
  margin:           0;
  padding:          4px;
  line-height:      140%;
}

div.qindex a.qindexHL {
  /* highlighted menu option */
  font-weight: bold;
}

/* element reference in text. may occur everywhere */

a.el {
  font-weight: bold;
}

.fragment {
  font-family: monospace
}

pre.fragment {
  border: 1px solid #CCCCCC;
  background-color: #f5f5f5;
  margin: 4px 8px 4px 2px;
  padding: 4px 6px 4px 4px;
}

td.indexkey,
td.indexvalue {
  background-color: #eeeeff;
  background-color: #C9E2FF;
  padding: 2px 10px 2px 10px
  margin: 2px 0px 2px 0px;
  border: 1px solid #CCCCCC;
}

td.indexkey {
  font-weight: bold;
}

tr.memlist {
  /* separate member list page */
  background-color: #D6EEFF;
}

/* not encountered

P.formulaDsp       { text-align: center; }
IMG.formulaDsp     { }
IMG.formulaInl     { vertical-align: middle; }

*/

/* source code highlights */

span.keyword       { color: #008000 }
span.keywordtype   { color: #604020 }
span.keywordflow   { color: #e08000 }
span.comment       { color: #800000 }
span.preprocessor  { color: #806020 }
span.stringliteral { color: #002080 }
span.charliteral   { color: #008080 }

/* Member description header */

.mdTable {
  border: 1px solid #868686;
  background-color: #C9E2FF;
  width: 100%;
  margin-top: 20px;
}

.mdRow {
  padding: 4px 5px;
  vertical-align: top;
}

.md {
  font-weight: bold;
}

td.mdname1 {
  font-weight: bold;
  color: #602020;
}

td.mdname {
  /* parameter name in member description */
  font-weight: bold;
  color: #602020;
}

.mdPrefix {
  /* template prefix in member description */
  color: #606060;
  font-size: 80%;
}


/* member summary table */

.mdescLeft,
.mdescRight {
  padding: 0 8px 4px 8px;
  font-size: 80%;
  font-style: italic;
  background-color: #e3e3e3;
  border: 1px none #ccc;
  margin: 0;
  vertical-align: top;
}

.memItemLeft,
.memTemplItemLeft,
.memItemRight,
.memTemplItemRight {
  border-top: 1px solid #bbb;
  background-color: #ddd;
  font-size: 80%;
  vertical-align: top;
}

.memItemLeft,
.memTemplItemLeft {
  padding: 1px 0px 0px 8px;
}

.memItemRight,
.memTemplItemRight {
  padding: 1px 8px 0px 8px;
}

.memTemplParams {
  /* template prefix in function list */
  border-top: 1px solid #868686;
  background-color: #C9E2FF;
  font-size: 80%;

  padding: 1px 0px 0px 8px;
  margin: 4px;
  font-size: 80%;
}


/* member sections */

.memitem {
  padding-bottom: 2ex;
}

.memproto {
  border-top: 1px dashed #333;
  padding: 1ex 4px 0 4px;
  margin: 0;
  color: #333;
}

.memproto td {
  color: #333;
  font-size: 110%;
  font-weight: bold;
}

.memname {
  white-space: nowrap;
  font-size: 105%;
}

.memdoc {
  padding-left: 10px;
}

.memdoc p:first-child {
  margin-top: 0;
  padding-top: 0.5ex;
  margin-right: 4em;
}

.memdoc dl,
.memdoc dt,
.memdoc dd {
  margin-top: 0;
  margin-bottom: 0;
}

.paramkey {
  text-align: right;
}

.paramtype {
  white-space: nowrap;
}

.paramname {
  color: #602020;
  font-style: italic;
  white-space: nowrap;
}

