/**
 * This theme will probably be renamed something like "Space" to
 * avoid any potential copyright issues.
 *
 * #fff; white
 * #000; black
 * #fff313; yellow
 * #ddc300; darker-yellow
 * #5791ff; bright-blue
 * #0053db; blue
 * #8452b5; magenta
 * #982505; red
 * #ef0032; light-red
 * #009000; green
 * #1bab11; light-green
 * #ff7e00; orange
 */

@import url(../default/phpwiki-common.css);

/**
 * General
 */
img {
    border: 0;
}

img.inlineimage {
    display: inline;
    vertical-align: middle;
}

form {
    margin: 0;
}

input.button {
    font-family: Helvetica, Arial, sans-serif;
}

input {
    font-family: Helvetica, Arial, sans-serif;
}

textarea, input {
    color: white;
    background: black;
}

dt {
    font-weight: bold;
}

table {
    border-spacing: 1px;
    /* For Mozilla */
    empty-cells: show;
}

td {
    color: white;
}

caption {
    caption-side: top;
    text-align: left;
    margin-bottom: .5ex;
}

a {
    color: #0053db;
}

a:hover {
    color: #5791ff;
}

/* --------------------------------------------------------------- */

/**
 * Wiki
 */
body {
    font-family: Helvetica, Arial, sans-serif;
    color: white;
    background-color: black;
}

/* Main wiki text box */
div.wikitext {
    clear: both;
}

/**
 * <hr>
 * Not all browsers support this, but it's a cool trick when it is!
 */
div.wikitext hr {
    visibility: hidden; /* for Mozilla */
    background-image: url("images/hr.png");
    background-repeat: repeat-x;
    background-position: center;
}

/* for Mozilla */
div.wikitext hr:after {
    visibility: visible;
    display: block;
    content: url("images/hr.png");
    text-align: center;
    margin-top: -2.5ex;
    margin-bottom: 1ex;
}

div.wikitext pre {
    font-family: monospace;
}

/**
 * Wiki Forms
 *
 * The div inside the wikiadmin upload form does not
 * have a class yet, so it must be referenced indirectly
 */
div.wikiaction, form.wikiadmin div {
    background-color: #002;
    border: 1px solid #006;
    margin-top: 0.5ex;
    margin-bottom: 0.5ex;
    padding: 0.5ex 0.5em;
}

form.wikiadmin div {
    background-color: black;
}

/**
 * Link styles
 */
/* WikiWords */
.wiki {
    text-decoration: none;
}

.named-wiki {
    text-decoration: underline;
}

div.wikitext a.wiki, div.wikitext a.named-wiki {
    color: #fff313;
    font-weight: bold;
}

.wikitext a.wiki:hover, .wiki:hover {
    color: #44cff4;
}

/* Action buttons */
a.wikiaction, a.wikiadmin, a.wiki-rc-action, a.wikiunsafe {
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
}

a.wikiaction {
    color: #115511;
    font-weight: bold;
}

a.wikiaction:hover {
    color: #1bab11;
}

a.wikiadmin {
    color: #982505;
    font-weight: bold;
}

a.wikiadmin:hover {
    color: #ef0032;
}

/* Unknown links */
.wikiunknown, .named-wikiunknown {
    color: gray;
    font-weight: normal;
    font-size: 100%;
}

/* QuestionMark #600 */
.wikiunknown a, .named-wikiunknown a {
    color: #0053db;
    background: #1b1722;
    text-decoration: none;
    font-weight: normal;
}

.wikiunknown a:hover, .named-wikiunknown a:hover {
    color: #5791ff;
}

/* Backlinks */
.backlinks {
    text-decoration: none;
}

h1 .backlinks {
    text-decoration: none;
}

/* Interwiki links */
.wikipage {
    font-weight: bold;
}

.interwiki {
    text-decoration: none;
}

.interwiki, i.interwiki .wikipage, em .interwiki .wikipage {
    font-style: oblique;
}

.interwiki .wikipage, i .interwiki, em .interwiki {
    font-style: normal;
}

/**
 * Headings
 */
h1 {
    color: #000;
    background-color: #fff313;
}

div.toolbar h1 a.wiki, h1 a.backlinks, h2 a.wiki {
    border: 0;
    color: #fff313;
    background-color: #000;
    text-decoration: none;
}

div.toolbar h1 a.wiki, h2 a.wiki {
    color: #0053db;
}

div.toolbar h1 a.wiki:hover, h1 a.wiki:hover, h2 a.wiki:hover {
    border: 0;
    color: #5791ff;
}

img.toolbar:hover {
    cursor: pointer;
}

h2, h3, h4, h5, h6 {
    display: inline;
    padding-top: 0.25ex;
    padding-left: 0.5em;
    padding-right: 0.25em;
    padding-bottom: 1px;
    margin-top: 2ex;
    margin-bottom: 0;
}

h2:after, h3:after, h4:after, h5:after, h6:after {
    display: block;
    content: " | ";
    color: black;
    margin-left: 0.3em;
}

h2:after {
    border-left: 0.5em solid #0053db;
    border-top: 0.15ex solid #0053db;
}

h3:after {
    border-left: 0.5em solid #96c;
    border-top: 0.15ex solid #96c;
}

h4:after {
    border-left: 0.5em solid #639;
    border-top: 0.15ex solid #639;
}

h5:after {
    border-left: 0.5em solid #888;
    border-top: 0.15ex solid #888;
}

h6:after {
    border-left: 0.5em solid #aaa;
    border-top: 0.15ex solid #aaa;
}

h2 {
    color: #0053db;
    border-left: 0.25em solid #0053db;
}

h3 {
    color: #96c;
    border-left: 0.25em solid #96c;
}

h4 {
    color: #639;
    border-left: 0.25em solid #639;
}

h5 {
    color: #888;
    border-left: 0.25em solid #888;
}

h6 {
    color: #aaa;
    border-left: 0.25em solid #aaa;
}

/* Mozilla RecentChanges Sidebar */
body.sidebar {
    font-size: smaller;
    margin: 0.5em;
}

body.sidebar div.wikitext {
    padding: 0.5em;
}

body.sidebar div.wikitext ul {
    padding-left: 0;
    line-height: 150%
}

body.sidebar div.wikitext h2:after {
    margin-bottom: 1ex;
    vertical-align: top;
}

/**
 * Tables
 */
table, td {
    font-family: Arial, Helvetica, sans-serif;
}

caption {
    font-family: Arial, Helvetica, sans-serif;
}

.pagelist tr.evenrow {
    background: #111;
}

.pagelist tr.oddrow {
    background: black;
}

th.gridbutton {
    background-color: ThreeDLightShadow;
    color: black;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: small;
    font-weight: normal;
    margin: 5px 0;
    white-space: nowrap;
    max-height: 24px;
    padding: 5px 0 5px 0;
    border-width: 1px;
    border-style: solid;
    border-color: ThreeDHighlight ThreeDDarkShadow ThreeDDarkShadow ThreeDHighlight;
}

input.gridbutton, a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
    text-decoration: none;
    font-size: small;
    font-weight: normal;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    background-color: ThreeDLightShadow;
    color: black;
}

/**
 * Toolbar
 */
.toolbar, input.button, #signin {
    font-family: Arial, Helvetica, sans-serif;
}

.toolbar hr {
    visibility: hidden;
}

div.toolbar, #signin {
    color: white;
    padding: 0;
    margin: 0;
}

input.toolbar {
    border-width: 0;
}

#navbuttons {
    margin-right: 7em; /* wrap around logo */
    margin-bottom: 1ex; /* space for h1 */
}

#navbuttons input {
    position: relative;
    bottom: -2px;
}

.editdate {
    font-family: Arial, Helvetica, sans-serif;
    color: #96c;
}

.toolbar .wiki {
    color: #0053db;
    text-decoration: none;
    font-weight: bold;
}

.toolbar .wiki:hover {
    color: #5791ff;
    font-weight: bold;
}

div.toolbar input {
    font-family: Helvetica, Arial, sans-serif;
}

/**
 * Edit Page & View Source
 */
/* Make the textarea the full page width */
textarea {
    border: 2px solid #0053db;
    padding-top: .5ex;
    padding-bottom: .5ex;
    padding-left: .5em;
    padding-right: .25em;
}

textarea.wikiedit {
    width: 100%;
    margin-bottom: 0.5ex;
    margin-top: 0.5ex;
    padding: 2px;
}

/* IncludePage plugin ================================================= */

.transclusion-title {
    font-style: oblique;
    font-size: smaller;
    text-decoration: none;
    text-align: right;
}

.wiki-edithelp, .transclusion {
    background: #1b1722;
    border: 1px solid #403752;
}

.wiki-edithelp {
    font-size: smaller;
    margin: 0.5ex 0;
}

.wiki-edithelp, div.transclusion {
    color: #a2a2a2;
    background-color: #1b1722;
    padding-left: 0.5em;
    padding-right: 0.5em;
    padding-top: 0.5ex;
    padding-bottom: 0.5ex;
    margin-left: 0;
    margin-right: 0;
}

.wiki-edithelp .wiki {
    color: #fff313;
    font-weight: bold;
    text-decoration: none;
    margin-top: 1ex;
    margin-bottom: 1ex;
}

.wiki-edithelp p {
    font-family: Arial, Helvetica, sans-serif;
    padding-left: 0.5em;
    padding-right: 0.5em;
    padding-top: 0.5ex;
    padding-bottom: 0.5ex;
    margin: 0;
}

/* Calendar plugin ==================================================== */

table.cal {
    border: 1px solid #006;
    background: black;
    margin: 0.5ex 0.5em;
    padding: 1px;
    /* For Mozilla */
    empty-cells: hide;
}

/* cells */
table.cal td {
    border: 1px solid #006;
    color: #fff313;
    background: black;
    text-align: right;
}

/* Month-name header */
table.cal-header {
    font-size: larger;
}

table.cal-header tr, table.cal-header td {
    text-align: center;
}

.cal-arrow {
    font-weight: bold;
    text-decoration: none;
}

/* Day-names header */
.cal-dayname td {
    text-align: center;
    font-size: smaller;
    text-decoration: underline;
}

/* Individual days */
a.cal-hide {
    text-decoration: none;
}

/* Today */
/* cell */
table.cal td.cal-today {
    margin: 1px;
    border: 1px solid gray;
}

/**
 * Diff Output
 */

/* main box */
.diff .block {
    background: #008;
    padding: 0.5ex 0.5em;
    margin: 0.5ex 0;
}

/* individual lines */
.diff .context {
    background: black;
}

/* + - line prefix */
.diff .block tt {
    font-weight: bold;
    font-family: monospace;
    margin-left: -.6em;
    color: black;
}

.diff del, .diff ins {
    font-weight: bold;
    text-decoration: none;
}

.diff .original, .diff .deleted {
    background: #a40024;
}

.diff .final, .diff .added {
    background: #cfc;
}

.diff del {
    background: #a40024;
}

.diff ins {
    background: #9f9;
}

/**
 * PageHistory, Info
 */
table.pageinfo {
    border: 1px solid #96c;
}

table.pageinfo td {
    background: black;
}

table.pageinfo td.pageinfo {
    border-right: 0.15em solid #639;
    font-weight: bold;
    color: #639;
    background: #203;
}

table.pageinfo td + td.pageinfo {
    border-right: 0;
}

.pageinfo-minoredit, .pageinfo-authorid {
    font-size: smaller;
    font-style: oblique;
}

/**
 * RecentChanges
 */
.rssicon {
    border-color: #000;
    border-width: 2px;
}

.rc-major {
    color: #fff;
    background: #000;
    font-weight: normal;
    text-decoration: none;
}

img.rssicon {
    vertical-align: top;
}

b.wikisummary {
    color: #fff313;
    background: #000;
    text-decoration: none;
    font-weight: bold;
}

/**
 * Other
 */
.printer {
    display: none;
}

.error {
    color: red;
    background: black;
    border: medium solid red;
    clear: both;
}

/* Debug */
.debug {
    color: white;
    background: black;
    font-family: monospace;
    font-size: smaller;
    margin-top: 16ex;
    margin-bottom: 4ex;
    margin-left: 0;
    margin-right: 0;
    padding: 0.5ex 0.5em;
    border: medium solid gray;
    display: table;
}

/**
 * Search Results
 */
.search-context {
    background: white;
    font-style: oblique;
}

.search-term {
    background: yellow;
    font-weight: normal;
}

/**
 * General
 */
input.numeric {
    text-align: right;
}

input {
    margin: 0;
    border-left: 1px solid #0053db;
    border-right: 1px solid #0053db;
    border-top: 1px solid #0053db;
    border-bottom: 1px solid #0053db;
    text-align: center;
}

input[type=text] {
    border-left: 2px solid #0053db;
    border-right: 2px solid #0053db;
    border-bottom: 2px solid #0053db;
    border-top: 0;
    margin-top: 2px;
    padding: 1px;
}

input[type=submit] {
    color: #0053db;
    border-left: 1.5em solid #0053db;
    border-right: 0.15em solid #0053db;
    border-top: 2px solid #0053db;
    border-bottom: 2px solid #0053db;
    padding-left: 0;
    padding-right: 0;
}

input[type=submit]:hover {
    color: #5791ff;
    border-color: #5791ff;
}

.logo img {
    margin-bottom: 1ex;
}

/**
 * Wiki Forms
 *
 * The div inside the wikiadmin upload form does not
 * have a class yet, so it must be referenced indirectly
 */
/* div.wikiaction, div.wikiadmin { */
div.wikiaction, form.wikiadmin div {
    /* Emulate the display behaviour of a table, to shrink it's width. */
    position: relative;
    display: table;
}

/* Add space between the input field and following buttons, but not after the last button. */
div.wikiaction input[type=text],
div.wikiadmin input[type=text],
form.wikiadmin input[type=file] {
    margin-right: 0.5em;
}

/**
 * Links
 */

/* Make wikiaction links look futuristic */
a.wikiaction {
    border-left: 1.5em solid #115511;
    border-right: 0.15em solid #115511;
    padding-left: 0.15em;
    padding-right: 0.3em;
}

a.wikiaction:hover {
    border-right: 0.15em solid #1bab11;
}

a.wikiadmin {
    border-left: 1.5em solid #982505;
    border-right: 0.15em solid #982505;
    padding-left: 0.15em;
    padding-right: 0.3em;
}

a.wikiadmin:hover {
    border-right: .15em solid #ef0032;
}

/* QuestionMark */
.wikiunknown a, .named-wikiunknown a {
    border: 1px solid black;
    padding-left: 1px;
    padding-right: 1px;
    padding-top: 1px;
    margin-right: 1px;
    font-size: smaller;
}

.wikiunknown a:hover, .named-wikiunknown a:hover {
    border: 1px solid #403752;
}

a.wiki-rc-action {
    border-left: 0.15em solid #0053db;
    padding-left: 0.2em;
    padding-right: 0.2em;
    padding-bottom: 0.2ex;
    margin-left: -0.25em;
}

li.rc-major a.wiki-rc-action,
li.rc-minor a.wiki-rc-action {
    border-left: 0;
    margin-left: 0;
    border-right: 0.25em solid #0053db;
    padding-right: 0.25em;
    margin-right: 0.8em;
}

p.wiki-rc-action a.wiki-rc-action:first-child {
    border-left: 0;
    margin-left: 0;
    border-right: 0;
}

li.rc-major, li.rc-minor {
    display: table;
    margin-bottom: .25ex;
    padding-left: 0.25em;
    padding-right: 0.25em;
}

li.rc-minor {
    font-size: 75%;
    margin-top: .5ex;
    border-bottom: 0;
    padding-left: 1em;
}

li.rc-minor a.wiki-rc-action {
    border-right: 0.15em solid #0053db;
    margin-right: 2em;
}

li.rc-major a.wiki-rc-action:hover,
li.rc-minor a.wiki-rc-action:hover,
a.wiki-rc-action:hover {
    border-color: #5791ff;
}

/* Link icons */
img.linkicon {
    vertical-align: middle;
}

/**
 * Headings
 */
h1 {
    padding-top: 0.25ex;
    padding-left: 0.5em;
    padding-right: 0.25em;
    padding-bottom: 1px;
}

div.toolbar h1 a.wiki, h1 a.backlinks {
    padding-top: 0.25ex;
    padding-left: 0.25em;
    padding-right: 0.25em;
    padding-bottom: 1px;
}

h2 a.wiki {
    padding-top: 0.25ex;
    padding-left: 0.25em;
    padding-right: 0.25em;
    padding-bottom: 1px;
}

div.toolbar input {
    text-align: left;
}

/**
 * Edit Page & View Source
 */
div.transclusion {
    font-size: smaller;
}

/**
 * Diff Output
 */
.diff .block div {
    position: relative;
    padding-left: 1.5em;
}

.diff .prefix {
    position: absolute;
    left: 0;
    top: 0;
}

.editdate {
    padding-top: 0.25ex;
    padding-left: 0.5em;
    padding-right: 0.5em;
    padding-bottom: 1px;
    margin-top: 2em;
    margin-bottom: 0;

    border-left: 0.5em solid #96c;
    border-top: 0.15em solid #96c;
}

div.toolbar .wiki {
    border-left: 1.5em solid #0053db;
    border-right: 0.15em solid #0053db;
    padding-left: 0.15em;
    padding-right: 0.3em;
}

div.toolbar .wiki:hover {
    border-right: 0.15em solid #5791ff;
}

b.wikisummary {
    padding: 2px;
    margin: 1px;
}
