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

/*
 Classes:

 div.wikitext - the transformed wiki page text.

 a.wiki             - link to page in wiki.
 a.named-wiki       - a named link to page in wiki (from e.g. [name|WikiPage]).
 a.interwiki        - link to page in another wiki
 span.wikipage    - page name within interwiki link.
 a.named-interwiki  - link to page in another wiki
 a.url              - link to external URL from wiki page.
 a.named-url        - link to external URL from wiki page.

 .wikiunknown a, .wikiunknown u
 .named-wikiunknown a, .named-wikiunknown u

 a.wikiaction
 a.wikiadmin
 .wikiunsafe

 a.backlinks

 TODO: Get rid of tables in wikiaction forms.
 */

body {
    background: #fafafa url("images/bgpaper8.png");
}

body.edit {
    background: #fafafa url("images/bggranular.png");
}

body {
}

/* Ensure identical vertical alignment for adjacent form buttons,
   whether image based (Theme buttons) or not */
input[type=submit],
input[type=cancel],
input[type=image] {
    vertical-align: middle
}

h1, h2, h3, .toolbar, td {
    font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
}

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

input.numeric {
    text-align: right;
}

.wikitext pre {
    font-family: Monaco, monospace;
}

input[type=text] {
    border-top: 1px solid #7c7c7c;
    border-left: 1px solid #c3c3c3;
    border-bottom: 1px solid #dddddd;
    border-right: 1px solid #c3c3c3;
}

/* 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;
}

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

/**
 * Wiki
 */
div.wikitext {
    background: white;
    border-top: 1px solid #7c7c7c;
    border-left: 1px solid #c3c3c3;
    border-bottom: 1px solid #dddddd;
    border-right: 1px solid #c3c3c3;
    padding-left: 0.8em;
    padding-right: 0.8em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    margin: 0.5ex 0;
    clear: both;
}

input.wikitext {
    margin: 0;
}

input[type=text] {
    height: 2.7ex;
    padding: 0.4ex 0.3ex;
}

/**
 * PageTypes
 */
.interwiki-map thead td {
    background: #e8e8e8;
    font-weight: bold;
    font-size: smaller;
}

.interwiki-map thead td:first-child {
    text-decoration: underline;
}

.interwiki-moniker {
    background: #eee;
}

.interwiki-url {
    background: #f8f8f8;
}

/* 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: 1em;
}

body.sidebar h2 {
    margin-top: 0;
}

div.error {
    background: #eee;
    border: 1px solid gray;
    padding-left: 0.8em;
    padding-right: 0.8em;
    padding-top: 0.8ex;
    padding-bottom: 0;
    margin-top: 1em;
    clear: both;
    font-size: smaller;
}

/* Debug */
.debug {
    color: black;
    background: white;
    font-family: monospace;
    font-size: smaller;
    margin: 1ex 0;
    padding: 0.5ex 0.5em;
    border: 1px solid #eee;
}

/*
 * Link styles
 */
/* Wiki Links */
a.wiki {
    text-decoration: none;
}

.wiki, .named-wiki {
    font-weight: bold;
    color: #1d42be;
}

/*blue*/

/* Unknown links */
.wikiunknown a, .named-wikiunknown a, .wikiunknown U {
    text-decoration: none;
}

.wikiunknown, .named-wikiunknown {
    color: #555;
}

/* Interwiki links */
a.interwiki {
    text-decoration: none;
}

.wikipage {
    font-weight: bold;
}

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

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

/*
 * wikiaction, wikiadmin, wikiunsafe:
 */
a.wikiaction, a.wikiadmin {
    text-decoration: none;
}

img {
    border: 0;
}

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

img.rssicon {
    vertical-align: middle;
}

img.wiki-button {
    vertical-align: middle;
}

.wiki-button {
    border: 0;
}

a.wikiaction {
    border: 0;
}

/* backlinks */
a.backlinks {
    color: #006;
}

/* Make the textarea on the edit page full width */
textarea.wikiedit {
    width: 100%;
    margin-top: 1ex;
}

p.editdate {
    font-size: smaller;
    margin-bottom: 0;
    font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
}

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

a.cal-hide,
a.cal-arrow {
    text-decoration: none;
}

.cal-arrow {
    font-weight: bold;
}

.cal-dayname {
    font-size: smaller;
    text-decoration: none;
}

table.cal td {
    background: white;
    border-top: 1px solid #7c7c7c;
    border-left: 1px solid #c3c3c3;
    border-bottom: 1px solid #dddddd;
    border-right: 1px solid #c3c3c3;
}

table.cal-header td {
    font-size: larger;
    background: white;
    border: 0;
}

table.cal td.cal-dayname {
    background: #e8e8e8;
}

table.cal td.cal-today {
    background: #f4f4f4;
    border-top: 1px solid #7c7c7c;
    border-left: 1px solid #c3c3c3;
    border-bottom: 1px solid #dddddd;
    border-right: 1px solid #c3c3c3;
}

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

.transclusion-title {
    font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
    font-size: smaller;
    text-decoration: underline;
    text-align: right;
    font-style: oblique;
    margin-bottom: 0.25ex;
    margin-right: 0.25em;
}

.transclusion {
    background: #fdfdfd;
    border-top: 1px solid #7c7c7c;
    border-left: 1px solid #c3c3c3;
    border-bottom: 1px solid #dddddd;
    border-right: 1px solid #c3c3c3;
    padding-left: 0.8em;
    padding-right: 0.8em;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0.5ex;
    margin-left: 0.25em;
    margin-right: 0.25em;
    margin-bottom: 0.1ex;
    font-size: smaller;
}

/* The transclusion of the TextEditingRules Synopsis on templates/editpage.html */
.wiki-edithelp .transclusion {
    font-size: smaller;
    background: inherit;
    padding: 0.5ex 0.5em;
    margin: 0.2ex 5%;
}

.wiki-edithelp .transclusion p {
    margin: 0;
}

.wiki-edithelp {
    background: white;
    border-top: 1px solid #7c7c7c;
    border-left: 1px solid #c3c3c3;
    border-bottom: 1px solid #dddddd;
    border-right: 1px solid #c3c3c3;
    padding-left: 0.5em;
    padding-right: 0.5em;
    padding-top: 0.75ex;
    padding-bottom: 0.75ex;
    margin-left: 0;
    margin-right: 0;
    margin-top: 1ex;
    margin-bottom: 1ex;
    font-size: smaller;
}

.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;
}

div.wiki-message {
    background: #fff url("images/bggranular.png");
    border: solid 1px #d8d8d8;
    padding: 6pt;
}

.printer {
    display: none;
}

/**
 * Diff Output
 */
/* main box */
.diff {
    background: white;
    border-top: 1px solid #7c7c7c;
    border-left: 1px solid #c3c3c3;
    border-bottom: 1px solid #dddddd;
    border-right: 1px solid #c3c3c3;
}

.diff .block {
    background: #d8d8d8;
}

/* individual blocks */
.diff .context {
    background: white;
    border: none;
}

/* + - line prefix */
.diff .block tt.prefix {
    font-weight: normal;
    font-family: monospace;
    margin-left: -1.6em;
    color: black;
    border: none;
}

/* changed words */
.diff ins {
    font-weight: bolder;
}

.diff ins {
    text-decoration: none;
}

/* blocks containing deleted or added words */
.diff .original,
.diff .deleted,
.diff .final,
.diff .added {
    background: white;
}

/* blocks containing deleted words */
.diff .original:first-child,
.diff .deleted:first-child {
    border-top: 2px solid #f99; /* fcc */
}

.diff .original,
.diff .deleted {
    background: white;
    border-left: 2px solid #f99; /* fcc */
    border-right: 2px solid #f99; /* fcc */
}

.diff .original:last-child,
.diff .deleted:last-child {
    border-bottom: 2px solid #f99; /* fcc */
}

/* blocks containing added words */
.diff .final:first-child,
.diff .added:first-child {
    border-top: 2px solid #9f9; /* cfc */
}

.diff .final,
.diff .added {
    background: white;
    border-left: 2px solid #9f9; /* cfc */
    border-right: 2px solid #9f9; /* cfc */
}

.diff .final:last-child,
.diff .added:last-child {
    border-bottom: 2px solid #9f9; /* cfc */
}

/* deleted words */
.diff del {
    background: #fcc;
}

/* f99 */
/* added words */
.diff ins {
    background: #cfc;
}

/* 9f9 */

/**
 * PageList output
 */
.pagelist {
    font-size: smaller;
}

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

.pagelist tr.oddrow {
    background: #eee;
}

.pagelist thead td {
    background: #e8e8e8;
    text-decoration: none;
    font-weight: bold;
}

.pagelist thead td u {
    text-decoration: none;
}

/* Yellow highlight for every td of mouseover'd tr in pagelist tbody
   ie mac ignores all these */
.pagelist tbody tr:hover>td {
    border: solid #ffff99 2px;
}

/* some browsers give wacky expanding :hover cells,
   use transparent border here instead of padding change */
.pagelist tbody tr>td {
    border: solid transparent 2px;
}

th.gridbutton {
    background-color: ThreeDLightShadow;
    color: black;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: small;
    font-weight: normal;
    height: 18px;
    white-space: nowrap;
    max-height: 24px;
    padding: 5px 0 5px 0;
    margin: 5px 0;
    float: none;
    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;
}

/**
 * Search
 */
#searchholder {
    display: inline;
}

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

.search-term {
    background: #9bdaff;
    font-weight: normal;
}

dl {
    display: table;
}

/* dotted underline each dt. use display:table to shrink width */
dt {
    display: table;
    font-weight: bold;
    vertical-align: baseline;
    margin-top: 1.25ex;
    margin-bottom: 0.25ex;
    padding-left: 0.25ex;
    padding-right: 0.25ex;
    border-bottom-style: dotted;
    border-bottom-width: 2pt;
    border-bottom-color: #9999cc;
}

/* No underlines for wiki-links in dt,
   we already have dotted underline */
dt a.wiki, dt a.named-wiki {
    text-decoration: none;
}

/* No top margin for first dt */
dl>dt:first-child {
    margin-top: 0;
}

/* underline each dd. */
/* use display:table to shrink width */
dd {
    /* overflows wide text beyond containing dl */
    /* in most browsers :( Would have been nice */
    /*   display: table; */
    position: relative;
    margin-left: 3.5em;
    margin-bottom: 0.5ex;
    padding-left: 0.125em;
    padding-bottom: 0.5ex;
    padding-right: 0.125em;
    border-bottom-style: solid;
    border-bottom-width: thin;
    border-bottom-color: #9999cc;
}

pre,
div.plugin code {
    color: black;
    display: block;
    background-color: #fcfcfc;
    font-size: 90%;
    line-height: 1.25em;
    margin-top: 0.25em;
    margin-left: 0;
    margin-bottom: 2ex;
    margin-right: 0;
    padding-top: 0.25em;
    padding-left: 0.5em;
    padding-bottom: 0.25em;
    padding-right: 0.5em;
    border-style: solid;
    border-width: 1px;
    border-color: #ccc;
}

pre {
    background: #fafafa url("images/bgpaper8.png");
}

/* Indented wrap past diff buttons in RecentChanges */
ul li.rc-major, ul li.rc-minor {
    margin-left: 0;
    padding-left: 3em;
    text-indent: -3em;
}

/**
 * PageHistory, Info
 */
td.pageinfo {
    font-weight: bold;
}

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

/**
 * Other
 */
.printer, .no-css {
    display: none;
}

/* Disabled plugins =================================================== */

.disabled-plugin {
    clear: both;
    margin: 1ex 0;
    padding: 0;
}

.disabled-plugin .title {
    color: #400;
    background-color: inherit;
    font-size: x-small;
    text-align: right;
    padding: 0 0.5em;
}

.disabled-plugin pre {
    color: black;
    background: #ddd;
    margin: 0;
    padding: 0.3ex 0.5em;
}

/*
 * "E-mail" style blockquote
 */
blockquote.mail-style-quote {
    border-left: medium #284 solid;
    padding-left: 1em;
    margin-left: 0;
    margin-right: 0;
}

.mail-style-quote blockquote.mail-style-quote {
    margin-left: -0.6em;
}

/*
 * wikiblog
 */
div.wikiblog {
    margin: 1ex 2em;
    padding: 0 0;
}

div.wikiblog > div {
    margin: 0 0;
    padding: 0.5ex 0.5em;
}

div.wikiblog > div.wikiblog-footer {
    padding: 0.2ex 0.5em;
}

h3.wikiblog-summary {
    font-size: medium;
    font-weight: bold;
    margin: 0 0 1ex 0;
}

table.wikiblog-form {
    width: auto;
    border-collapse: collapse;
    margin: 0.25em 0;
}

.wikiblog-form caption {
    caption-side: top;
    font-weight: bold;
    text-align: left;
    padding: 0.5ex 0.5em;
}

.wikiblog-form th {
    vertical-align: top;
    text-align: right;
    padding: 0 0 0.3em 0.5em;
}

.wikiblog-form td {
    padding: 0.25em 0.5em;
}

.wikiblog-form td.submit-button {
    padding: 0;
}

.wikiblog-form input[type=text],
.wikiblog-form textarea {
    margin: 0 0;
    width: 100%;
}

div.wikicomment div.wikicomment-footer {
    padding: 0.2ex 0.5em;
}

div.wikicomment div.wikicomment-footer .named-wiki {
    font-size: small;
}

table.interwiki-map {
    margin: 1em 2em;
}

.interwiki-map th {
    text-decoration: underline;
    text-align: left;
    padding-left: 1em;
}

.interwiki-map td.interwiki-url {
    padding-left: 2em;
}

.interwiki-map th.interwiki-url {
    padding-left: 3em;
}

/* postnuke css:*/
.gensmall {
    font-size: 10px
}

td.cat {
    font-weight: bold;
    letter-spacing: 1px;
    color: #000000;
    background: url(./images/cellpic1.png);
    height: 27px
}

/* Main table cell colours and backgrounds */
td.row1 {
    background: #eaedf4;
    color: #000000
}

td.row2 {
    background: #d9e2ec;
    color: #000000
}

td.row3 {
    background: #cad9ea;
    color: #000000
}

td.spacerow {
    background: #cad9ea;
    color: #000000
}

/* This is the outline round the main forum tables */
.forumline {
    background: #ffffff;
    color: #000000;
    border: 1px solid #006699
}

/* Sidebar */
.box {
    background: #ffffff;
    border: 1px solid silver
}

.box-title {
    font-family: Tahoma, sans-serif;
    font-weight: normal;
    background-color: #ccc;
    color: black;
    text-align: center;
    border: none;
    padding: 2px 0 2px 0;
}

.box-data {
    width: 160px;
    font-size: 9pt;
    font-weight: normal;
    border: none;
}

.box-data .wiki {
    font-weight: normal;
}

td.sidebar {
    border-spacing: 0;
    margin: 0;
}

/* BoxRight plugin ==================================================== */

div.boxright {
    background-color: #e9fbff;
    width: 200px;
    right: 10px;
    padding: 0.5em;
    float: right;
    border: thin solid #888888;
}

/* RssFeed */
div.rss {
    margin: 1em;
    padding: 1em;
    font-size: 0.9em;
    background-color: #eeeeee;
    border: thin dashed #aaa;
}

div.feed {
    color: #333;
    margin: -0.5em;
    margin-bottom: 0;
    padding: 0.3em;
    font-weight: bold;
    background-color: #f2f2f2;
    font-size: 1.2em;
}

div.itemdesc {
    padding-left: 1em;
}

div.rssitem {
    border-top: thin dashed #aaa;
}

/* SqlResult */
table.sqlresult {
    border: 1px outset gray;
    background: white;
    margin: 0.5ex 0.5em;
    padding: 1px;
}

.sqlresult tr.evenrow {
    background: #eee;
}

.sqlresult tr.oddrow {
    background: white;
}

table.sqlresult td {
    margin: 1px;
    border: 1px solid gray;
}

/* TeX2png plugin ===================================================== */

img.tex {
    vertical-align: middle;
}

/* PhotoAlbum plugin ================================================== */

.boldsmall {
    font-weight: bold;
    font-size: 11px;
}

.wikiwyg_toolbar {
    background: #D3D3D3;
    border: 1px outset;
    letter-spacing: 0;
    padding: 2px;
}

span.wikiwyg_control_link a {
    padding-right: 8px;
}

.wikiwyg_button {
    background: #D3D3D3;
    border: 1px solid #D3D3D3;
    cursor: pointer;
    width: 20px;
    height: 20px;
    vertical-align: bottom;
}

.wikiwyg_button:hover {
    border: 1px outset;
}

.wikiwyg_button:active {
    border: 1px inset;
}

.wikiwyg_separator {
    background: #D3D3D3;
    border: 1px solid #D3D3D3;
    width: 9px;
    height: 20px;
    vertical-align: bottom;
}

.wikiwyg_selector {
    width: 70px;
}

.wikiwyg_wysiwyg table {
    border-collapse: collapse;
    margin-bottom: .2em;
}

.wikiwyg_wysiwyg table td {
    border: 1px;
    border-style: solid;
    padding: .2em;
    vertical-align: top;
}

/**
 * Wiki
 */
textarea.wikiedit, input.wikitext, textarea.summary {
    background: white;
    border-top: 1px solid #7c7c7c;
    border-left: 1px solid #c3c3c3;
    border-bottom: 1px solid #dddddd;
    border-right: 1px solid #c3c3c3;
    padding-left: 0.8em;
    padding-right: 0.8em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    margin: 0.5ex 0;
    clear: both;
}

img.toolbar:hover {
    cursor: pointer;
}

input.toolbar[type=image] {
    vertical-align: top;
}

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

/**
 * PageTypes
 */
.interwiki-map thead td,
.interwiki-moniker,
.interwiki-url {
    padding-left: 1em;
    padding-right: 1em;
}

/**
 * Diff Output
 */
/* main box */
.diff {
    margin: 0.5ex 0;
    padding: 1px;
}

.diff .block {
    padding: 0.5ex 0.5em;
}

/* blocks containing deleted or added words */
.diff .original, .diff .deleted,
.diff .final, .diff .added {
    padding: 1px;
}

.diff .block div {
    position: relative;
    padding-left: 1.5em;
}

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

/* deleted & added words */
.diff del, .diff ins {
    padding-left: 0.5ex;
    padding-right: 0.5ex;
}
