.wikiheader {
  width: 100%;
  margin-bottom: 3em;
}

.wikiheader.search {
  margin-bottom: 1em;
}


.wikiheader h2 {
  background: #FFF9A0;
  font-size: 1.5em;
  z-index: 2;
  padding: 0.5em;
  position: relative;
}

.wikiheader ul {
  list-style: none;
  padding: 0;
  font-size: 0.9em;
  position: relative;
  z-index: 1;
  top: 1px;
}

.wikiheader li {
  display: inline-block;
  margin-right: 13px;
}

.wikiheader a {
  background-color: #FEFFCF;
  display: block;
  padding: 5px;
  padding-left: 26px;
  background-repeat: no-repeat;
  background-position: 5px 8px;
}

.wikiheader a:hover, .wikiheader a.active {
  background-color: #FFF9A0;
  border-bottom: 1px solid #FFF9A0;
}

.wikiread { background-image: url('/media/icons/book.png'); }
.wikiread.active { background-image: url('/media/icons/book_open.png'); }
.wikiedit { background-image: url('/media/icons/page_white_edit.png'); }
.wikidelete { background-image: url('/media/icons/cancel_small.png'); }
.wikirename { background-image: url('/media/icons/page_copy.png'); }
.wikihistory { background-image: url('/media/icons/clock_edit.png'); }
.wikilinks { background-image: url('/media/icons/page_link.png'); }
.wikidiscuss { background-image: url('/media/icons/comments.png'); }

.wikibody .tableofcontents {
  border: 1px solid #FFCD47;
  background: #FEFFCF;
  width: 33%;
  padding: 10px;
  padding-top: 5px;
  float: right;
  margin-left: 15px;
  margin-bottom: 10px;
}

.wikibody .tableofcontents.cleared {
  float: none;
  clear: both;
  margin-left: 0;
  width: 50%;
}

.wikibody .tableofcontents h2 {
  text-align: center;
  margin: 0;
  margin-bottom: 5px;
}

.wikibody .tableofcontents a {
  border: 0;
}

.wikibody .tableofcontents ol li {
  line-height: 16px;
  text-align: left;
}

.tableofcontents ol {
  list-style-position: inside;
  margin-left: 26px;
}

.tableofcontents ol.outer {
  margin: 0;
}

.wikibody {
  position: relative;
  top: -13px;
  clear: both;
}

.wikibody p, .wikibody li {
  text-align: justify;
}

.wikibody a {
  font-weight: normal;
  border-bottom: 1px solid #6F1700;
}

.wikibody a.uncreated {
  color: #000;
  border-bottom: 1px dashed #AAA;
}

.wikibody a.uncreated:hover {
  color: #6F1700;
}

.wikibody h3 {
  font-size: 1.5em;
  margin: 15px 0 10px 0;
  border-bottom: 1px solid #DDD;
}

.wikibody h4 {
  margin: 1em 0 0.5em 0;
  font-size: 1.25em;
}

.wikibody ul {
  list-style-type: disc;
  list-style-position: outside;
  padding-left: 15px;
}

.wikibody p {
  margin-bottom: 1em;
}

.contentbox.wikicategories {
  width: 580px;
  padding: 5px;
}

.wikicategories h3 {
  display: inline;
  padding: 0;
  background: transparent;
}

.wikicategories ul {
  list-style: none;
  display: inline;
  padding: 0;
}

.wikicategories li {
  display: inline;
}

.basic.form textarea {
  clear: both;
  width: 567px;
  height: 40em;
  margin: 4px 0 0 3px;
}

.edit.form {
  margin-top: -14px;
  border-top: 0;
}

.basic.form p.submit input.submit {
  display: inline;
}

.basic.form p.submit {
  text-align: center;
}

.gog-widget {
  display: inline-block;
}

.gog-widget.jj1 {
  margin-left: 6em;
  margin-right: 1em;
  margin-bottom: 2em;
}

.gog-iframe {
  max-width: 420px !important;
}


.search-results {
  margin-left: 2em;  
  margin-bottom: 1em;
  margin-top: 1em;
  
}

.search-results li {
  padding-left: 0.5em;
  margin-bottom: 0.5em;
}

.pagelist {
  padding: 0.5em 0;
  margin-top: 1em;
  
}

.search-results .highlight {
  font-weight: bold;
}


