.wiki_bar a, .wiki_bar a:link, .wiki_bar a:visited,
.wiki_content a, .wiki_content a:link, .wiki_content a:visited {
  background-color: transparent;
  color: #00e;
  text-decoration: none;
}

.wiki_bar a:hover, .wiki_content a:hover {
  background-color: transparent;
  color: #00e;
  text-decoration: underline;
}

.wiki_bar {
  padding: 0px;
}

.wiki_bar td {
  padding: 5px 10px 5px 10px;
}

.wiki_bar .file_name {
  /*width: 50%;*/
}

.wiki_bar .file_name h3 {
  display: inline;
  margin-right: 5px;
}

.wiki_bar .inactive {
  color: #999;
}

.wiki_bar .selected {
  color: #777;
  text-decoration: underline;
}

.wiki_content {
  background: #ffffff;
  border: 1px solid #ccc;
  margin: 0px;
  margin-bottom: 3px;
  padding: 10px;
  text-align: justify;
  color: #000;
  clear: both;
}

.wiki {
  text-align: justify;
  position: relative;
  clear: both;
}

.wiki a, .wiki a:link, .wiki a:visited {
  text-decoration: none;
}

.wiki a:hover {
  text-decoration: underline;
}

.wiki .contents ul, .wiki .contents ol, .wiki .contents li {
  font-size: small;
  margin: 0px;
  padding: 0px;
  list-style-type: none;
}

.wiki .contents ul ul {
  margin-left: 25px;
}

.wiki h2, .wiki h3, .wiki h4, .wiki h5 {
  font-weight: bold;
  margin-top: 25px;
  margin-bottom: 10px;
  clear: both;
}

.wiki h2 {
  border-bottom: 1px solid #ddd;
  display: block;
  width: 100%;
  font-size: large;
  margin-top: 25px;
}

/* LISTS */

.wiki ul {
  padding: 0px;
  line-height: 1.5em;
  list-style-type: square;
  margin: 0.3em 0pt 0pt 1.5em;
}

.wiki li {
  margin-bottom: 0.1em;
}

/* CONTENTS BOX */

.wiki .contents {
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  display: table;
  padding: 15px;
  float: right;
  margin: 0;
  margin-left: 10px;
  margin-top: -10px;
  width: auto;
  white-space: nowrap;
}

.wiki .contents h2 {
  font-size: small;
  font-weight: bold;
  margin: 0px;
  margin-bottom: 5px;
  padding: 0px;
  text-align: center;
}

/* TABLE */

.wiki table {
  width: 100%;
}

.wiki th {
  background-color: #e8e8e8;
  font-weight: bold;
  text-align: center;
}

.wiki td {
  text-align: left;
  padding-left: 5px;
  font-size: small;
}

.wiki td.fullspan {
  background-color: #e8e8e8;
  text-align: center;
  font-size: small;
  padding: 0;
}

.wiki td.separator {
  border-top: 1px solid #e0e0e0;
  padding: 0;
}


/* IMAGE */

.wiki .image {
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  display: block;
  float: right;
  clear: right;
  padding: 5px;
  margin: 5px;
  margin-top: 0;
  vertical-align: middle;
  text-align: center;
}

.wiki .right {
  float: right;
  clear: right;
  margin-right: 0px;
  right: 0px;
  margin-left: 15px;
}

.wiki .left {
  float: left;
  clear: left;
  margin-left: 0px;
  left: 0px;
  margin-right: 15px;
}

.wiki .image_caption {
  font-size: small;
  text-align: left;
}

.wiki .image img {
  background-color: #fff;
  border: 1px solid #ddd;
  display: block;
  text-align: center;
  width: 150px;
  margin: 0px;
  padding: 0px;
  left: 0px;
  top: 0px;
  cursor: pointer;
}

.wiki .image_large {
  display: none;
  margin: 0px;
  padding: 0px;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 250;
}

/* GALLERY */

.wiki .gallery {
  background-color: #e8e8e8;
  border: 1px solid #ccc;
  clear: both;
  display: table;
  width: auto;
}

.wiki .gallery .gallery_image {
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  padding: 5px;
  margin: 8px;
  vertical-align: middle;
  text-align: center;
}

.wiki .gallery .gallery_image_caption {
  font-size: small;
  width: 150px;
  text-align: left;
}

.wiki .gallery .gallery_image .small {
  display: block;
  text-align: center;
}

.wiki .gallery .gallery_image .small img {
  background-color: #fff;
  border: 1px solid #ddd;
  text-align: center;
  left: 0px;
  top: 0px;
  cursor: pointer;
  width: 150px;
}

/* PROCESSOR */

.wiki .processor {
  background-color: #e8e8e8;
  border: 1px solid #ccc;
  clear: both;
  width: auto;
  padding: 10px;
  margin: 10px 20px 10px 20px;
  font-family: monospace;
  font-size: 12px;
  text-align: left;
}

#raw_wiki_code {
  display: none;
  background-color: #e0e0e0;
  border: 1px solid #c0c0c0;
  padding: 10px;
  margin-top: 10px;
}

/* Styles for tabular listings such as those used for displaying directory
   contents and report results. */
table.listing {
 clear: both;
 border-bottom: 1px solid #d7d7d7;
 border-collapse: collapse;
 border-spacing: 0;
 margin-top: 1em;
 width: 100%;
}
table.listing th { text-align: left; padding: 0 1em .1em 0; font-size: 12px }
table.listing thead { background: #f7f7f0 }
table.listing thead th {
 border: 1px solid #d7d7d7;
 border-bottom-color: #999;
 font-size: 11px;
 font-weight: bold;
 padding: 2px .5em;
 vertical-align: bottom;
}
table.listing thead th :link:hover, table.listing thead th :visited:hover {
 background-color: transparent;
}
table.listing thead th a { border: none; padding-right: 12px }
table.listing th.asc a, table.listing th.desc a { font-weight: bold }
table.listing th.asc a, table.listing th.desc a {
 background-position: 100% 50%;
 background-repeat: no-repeat;
}
table.listing th.asc a { background-image: url(../asc.png) }
table.listing th.desc a { background-image: url(../desc.png) }
table.listing tbody td, table.listing tbody th {
 border: 1px dotted #ddd;
 padding: .33em .5em;
 vertical-align: middle;
}
table.listing tbody td a:hover, table.listing tbody th a:hover {
 background-color: transparent;
}
table.listing tbody tr { border-top: 1px solid #ddd }
table.listing tbody tr.even { background-color: #fcfcfc }
table.listing tbody tr.odd { background-color: #f7f7f7 }
table.listing tbody tr:hover { background: #eed !important }

/* Styles for the page history table
   (extends the styles for "table.listing") */
#wiki_history td { padding: 0 .5em }
#wiki_history td.time, #wiki_history td.diff, #wiki_history td.version, #wiki_history td.author {
 white-space: nowrap;
}
#wiki_history td.version { text-align: center }
#wiki_history td.comment { width: 100% }

/* Styles for the error page (and rst errors) */
.page_error {
  background: #fdc;
  border: 2px solid #d00;
  color: #500;
  padding: .5em;
  margin: 1em 0;
}

.macro_error {
  background: #fdc;
  border: 1px solid #d00;
  color: #500;
  padding: 1px;
  margin: 2px;
}

dl dt { font-weight: bold }
dl dt { float: left; padding-right: .5em }
dl dd { margin: 0; padding: 0 }

/* Diff view */
#overview .multi { color: #999 }
#overview .comment { padding: 1em 0 0 }

/* TIMELINE */

.timeline {
  padding-left: 15px;
}

.timeline .change {
  background-color: transparent;
  margin-left: 15px;
  padding: 5px;
}

.timeline h2 {
  border-bottom: 1px solid #bbb;
}

.timeline .change .time {
  color: #666;
}

.timeline .change .comment {
  color: #666;
  margin-left: 15px;
  padding: 5px;
  font-size: 91%;
}

/* PROFILE SPECIFIC */

.wiki .profile_info_box {
  border: 1px solid #bbb;
  padding: 5px;
  float: left;
  margin-right: 10px;
  width: 300px;
  text-align: left;
}

.wiki .game_stats_box {
  border: 1px solid #bbb;
  padding: 5px;
  float: right;
  margin-left: 10px;
  width: 200px;
}

.wiki .game_stats {
}

.wiki .game_stats .game_name {
  white-space: nowrap;
}

.wiki .game_stats .num_games {
  text-align: right;
}

.wiki .game_stats .games_bar {
  width: 100%;
}

.wiki .game_stats .games_bar .bar {
  background-color: #000;
  height: 10px;
}

