/**
 * Copyright (C) 2002-2007 $ThePhpWikiProgrammingTeam
 * Copyright (C) 2008-2010 Alcatel-Lucent
 *
 * This file is part of PhpWiki.
 *
 * PhpWiki is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * PhpWiki is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with PhpWiki; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/

/*
 * Standard Alcatel-Lucent disclaimer for contributing to open source
 *
 * "The Style Sheet ("Contribution") has not been tested and/or
 * validated for release as or in products, combinations with products or
 * other commercial use. Any use of the Contribution is entirely made at
 * the user's own responsibility and the user can not rely on any features,
 * functionalities or performances Alcatel-Lucent has attributed to the
 * Contribution.
 *
 * THE CONTRIBUTION BY ALCATEL-LUCENT IS PROVIDED AS IS, WITHOUT WARRANTY
 * OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
 * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, COMPLIANCE,
 * NON-INTERFERENCE AND/OR INTERWORKING WITH THE SOFTWARE TO WHICH THE
 * CONTRIBUTION HAS BEEN MADE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL
 * ALCATEL-LUCENT BE LIABLE FOR ANY DAMAGES OR OTHER LIABLITY, WHETHER IN
 * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
 * CONTRIBUTION OR THE USE OR OTHER DEALINGS IN THE CONTRIBUTION, WHETHER
 * TOGETHER WITH THE SOFTWARE TO WHICH THE CONTRIBUTION RELATES OR ON A STAND
 * ALONE BASIS."
 */

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

/**
 * General
 */

body {
    margin: 0 0 0 0;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    color: #565c5e; /* Alcatel-Lucent grey */
}

hr {
    height: 2px;
    background-color: #aaaaaa;
}

textarea {
    font-family: monospace;
}

form {
    margin: 0;
}

img {
    border: 0;
    vertical-align: baseline;
}

h1 {
    font-size: 1.6em;
}

h2 {
    font-size: 1.4em;
    line-height: 1.1em;
}

h3 {
    font-size: 1.2em;
    line-height: 1.3em;
}

h4 {
    font-size: 1.0em;
    line-height: 1.3em;
}

h5 {
    font-size: 0.8em;
}

h6 {
    font-size: 0.6em;
}

/* Titles in the page. */
h1, .titlebar, .widget_titlebar {
    border-bottom: 2px solid #bcbcad;
    padding-bottom: 3px;
    font-family: 'trebuchet MS', Arial, Helvetica, sans-serif;
    color: #124191; /* Nokia blue */
    font-size: 1.6em;
    font-weight: normal;
    line-height: 1.3em;
    text-align: left;
    margin-top: 4px;
}

/* Hack for the wiki that inserts an unneccessary </p> */
.titlebar p {
    color: #124191;
    font-size: 1em;
    margin-bottom: 0;
    margin-top: 0;
}

.titlebar a {
    padding-left: 10px;
}

/* Because in some cases there is a <p> in nested lists */
li p {
    margin: 0;
}

div.wikitext table p {
    margin-top: 0.3em;
    margin-bottom: 0.3em;
}

.wikitext input { display: inline; }

input {
    margin: 0.1em;
}

input.numeric {
    text-align: right;
}

fieldset {
    background-color: #e0f3f7;
}

legend {
    border: 1px solid #d8d8e7;
    background-color: white;
}

table {
    /* For Mozilla */
    empty-cells: show;
}

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

label {
    display: inline-block;
}

/**
 * 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 {
    border: 1px solid #96a2ae;
    border-right-color: #d8d8e7;
    border-bottom-color: #d8d8e7;
    margin-top: 0.5ex;
    margin-bottom: 0.5ex;
    padding: 0.5ex 0.5em;
    /* Emulate the display behaviour of a table, to shrink its width. */
    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;
}

/* QuestionMark */
.wikiunknown a, .named-wikiunknown a {
    border: 1px solid #c6d2de;
    border-right-color: #a2a2a2;
    border-bottom-color: #a2a2a2;
    padding-left: 1px;
    padding-right: 1px;
    padding-top: 1px;
    margin-right: .15em;
}

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

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

/**
 * Wiki
 */

div.wikitext pre {
    font-family: monospace;
    border: 1px dashed navy;
    padding: 0.5em;
}

/**
 * PageTypes
 */
/* Main wiki text box */
div.wikitext {
    margin-top: 1ex;
    margin-bottom: 0.5ex;
    padding-bottom: 1em;
    clear: both;
}

/* Mozilla RecentChanges Sidebar */
body.sidebar {
    margin: 0.5em;
}

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

body.sidebar div.wikitext ul {
    padding-left: 1em;
}

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

/**
 * Link styles
 */
.wiki, .named-wiki {
    font-weight: bold;
}

/* Action buttons */
a.wiki-rc-action, a.wikiunsafe,
input.wikiaction, input.button, input.wikiadmin {
    text-decoration: none;
    /* don't wrap text buttons */
    white-space: nowrap;
}

input.wikiaction, input.button, input.wikiadmin {
    margin-right: 1em;
    margin-left: 1em;
}

.wikiunsafe {
    background-color: #fcc;
}

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

/* QuestionMark #600 */
.wikiunknown a, .named-wikiunknown a {
    color: #447;
    background-color: #eee;
    text-decoration: none;
    font-weight: normal;
    font-size: smaller;
}

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

h1 .backlinks {
    text-decoration: none;
    color: inherit;
}

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

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

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

table.wikipaging {
    border: 1px solid black;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* CreateToc plugin =================================================== */

div.toc {
    border: 1px solid #aaaaaa;
    background-color: #f9f9f9;
    padding: 5px;
}

div.toc ul {
    list-style: none
}

div.toc p.toctitle {
    font-weight: bold;
    font-size: 1.6em;
    margin-bottom: 1ex;
}

div.toc p {
    margin: 0;
}

.toclist a {
    text-decoration: none;
}

/**
 * headings
 */
div.toc p.toctitle, h2, h3, h4, h5, h6 {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    padding-top: .5em;
    padding-bottom: .17em;
    border-bottom: 1px solid #aaaaaa;
}

h1, h1 .backlinks, h2, .wikitext h2 a, h3, .wikitext h3 a, h4, .wikitext h4 a, h5, h6 {
    text-decoration: none;
}

/**
 * Tables
 */
.pagelist thead th {
    background: #d8d8d8;
    text-decoration: none;
    font-weight: bold;
}

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

.pagelist tr {
    vertical-align: top;
}

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

.pagelist tr.oddrow {
    background: white;
}

th.gridbutton {
    background-color: #d8d8d8;
    color: #565c5e;
    font-weight: bold;
    white-space: nowrap;
    margin: 5px 0;
    max-height: 24px;
    padding: 5px 0 5px 0;
    border: 1px solid black;
}

input.gridbutton, a.gridbutton, a:hover.gridbutton, a:visited.gridbutton {
    text-decoration: none;
    color: #565c5e;
}

/**
 * Toolbar
 */

img.toolbar:hover {
    cursor: pointer;
}

input.toolbar {
    margin: 0;
}

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

.edit-toolbar {
    padding: 0;
    margin: 0;
}

.edit-toolbar img, .edit-toolbar input {
    background-color: #fff;
    border: 1px solid ButtonFace;
}

nav#actionbuttons, nav#actionbuttons ul {
    padding: 0;
}

nav#actionbuttons ul {
    display: inline;
    margin-right: 10px;
    margin-left: -10px;
}

#actionbuttons {
    white-space: nowrap;
    margin-left: 10px;
    margin-top: 10px;
    margin-bottom: -1px;
}

#actionbuttons .named-wiki,
#actionbuttons .wikiaction,
#actionbuttons .wikiadmin {
    font-weight: normal;
    color: #565c5e; /* Alcatel-Lucent grey */
}

#actionbuttons .named-wiki:hover,
#actionbuttons .wikiaction:hover,
#actionbuttons .wikiadmin:hover {
    text-decoration: underline;
}

#actionbuttons li {
    display: inline;
    border: 1px solid #aaaaaa;
    border-bottom: none;
    border-collapse: collapse;
    padding-left: 0.8em;
    padding-right: 0.8em;
    margin-right: 10px;
    margin-left: 0;
}

#actionbuttons li.bold a {
    font-weight: bold;
}

.editdate {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    border-top: 1px #aaaaaa solid;
}

#logo img {
    float: right;
    /* "paper" borders */
    border: 1px solid #e8e6df;
    border-right-color: #b2b2b2;
    border-bottom-color: #d2d2d2;
}

/**
 * Edit Page & View Source
 */

/* Make the textarea the full page width */
textarea.wikiedit {
    font-family: monospace;
    width: 100%;
    margin-bottom: 0.5ex;
    margin-top: 0.5ex;
    padding: 2px;
}

#search-replace {
    margin-top: 1ex;
    text-align: left;
    font-size: smaller;
}

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

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

/* PageTrail plugin =================================================== */

.pagetrail {
    background-color: #FFFF99;
    padding: 0.2em;
}

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

.transclusion-title {
    text-align: right;
    font-style: oblique;
    font-size: smaller;
    text-decoration: underline;
    margin-bottom: 0.25ex;
    margin-right: 0.25em;
}

.transclusion, .wiki-edithelp {
    font-size: smaller;
}

.transclusion {
    border: 1px solid gray;
    padding: 0 0.8em;
    margin-left: 0.25em;
    margin-right: 0.25em;
    margin-bottom: 0.1ex;
}

.wiki-edithelp {
    background: white;
    border: medium solid #fff8dc; /* darker ivory */
    padding: 0.75ex 0.5em;
    margin: 1ex 0;
}

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

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

table.cal {
    border: 1px outset gray;
    background: white;
    margin: 0.5ex 0.5em;
    padding: 1px;
    /* For Mozilla */
    empty-cells: hide;
}

/* cells */
table.cal td {
    background: white;
    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 plugin ======================================================== */

.diff .prefix {
    position: relative;
    left: -1em;
}

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

/* main box */
.diff {
    margin-top: 1ex;
    margin-bottom: 0.5ex;
    background: white;
    color: black;
    border: 1px solid #494f5d;
    border-right-color: #c6d2de;
    border-bottom-color: #c6d2de;
    padding: 0;
    clear: both;
}

.diff .block {
    background: #ddd;
    padding-left: 1em;
}

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

/* entire difftextblock */
.difftext {
    margin-top: 0;
    margin-bottom: 0;
    background: white;
    border: 1px solid #e8e6df;
    border-right-color: #b2b2b2;
    border-bottom-color: #d2d2d2;
    padding: 0;
    clear: both;
}

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

/* changed words */
.diff del, .diff ins {
    font-weight: bold;
    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, .diff .deleted {
    background: #fcc;
    border: none;
}

/* blocks containing added words */
.diff .final, .diff .added {
    background: #cfc;
    border: none;
}

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

/* added words */
.diff ins {
    background: #9f9;
}

/* PageInfo plugin ==================================================== */

td.pageinfo {
    font-weight: bold;
}

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

/* Banners ============================================================ */

p.success, p.feedback, p.warning, p.warning_msg, p.error, p.information,
div.success, div.feedback, div.warning, div.warning_msg, div.error, div.information {
    font-weight: bold;
    font-size: 12px;
    text-align: center;
    border: 1px solid;
    margin: 15px 0;
    padding: 10px 10px 10px 10px;
}

.success, .feedback {
    border-color: green;
    background-color: #DFF2BF;
}

.warning_msg, .warning {
    border-color: orange;
    background-color: #FEEFB3;
}

.error {
    border-color: red;
    background-color: #FFBABA;
}

.information {
    border-color: blue;
    background-color: #BDE5F8;
}

p.success, p.feedback,
p.warning, p.warning_msg,
p.error,
p.information,
div.success, div.feedback,
div.warning, div.warning_msg,
div.error,
div.information {
    text-align: left;
    background-repeat: no-repeat;
    background-position: 10px;
    border-radius: 1em;
    padding: 10px 10px 10px 50px;
}

div.success, div.feedback,
p.success, p.feedback {
    color: #4F8A10;
    background-image: url('images/success.png');
}

div.feedback p, div.feedback li,
div.success p, div.success li {
    color: #4F8A10;
}

div.warning, div.warning_msg,
p.warning, p.warning_msg {
    color: #9F6000;
    background-image: url('images/warning.png');
}

div.warning p, div.warning_msg p,
div.warning li, div.warning_msg li {
    color: #9F6000;
}

div.error,
p.error {
    color: #D8000C;
    background-image: url('images/error.png');
}

div.error p,
div.error li {
    color: #D8000C;
}

div.information,
p.information {
    color: #00529B;
    background-image: url('images/info.png');
}

.error, .warning, .debug, .hint {
    font-weight: bold;
    text-align: left;
    border: 1px solid;
    padding: 0.5em;
}

.debug {
    background-color: white;
    border-color: #fff8dc; /* darker ivory */
}

.hint {
    background-color: #eeeeee;
    border-color: black;
}

span.error, span.warning, span.debug, span.hint {
    padding: 0;
}

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

/*
 * "DL tables"
 */
.wiki-dl-table {
    border-collapse: collapse;
    border: 2px #444 solid;
}

.wiki-dl-table tr {
    border-top: 2px #444 solid;
    border-bottom: 2px #444 solid;
    border-left: none;
    border-right: none;
}

.wiki-dl-table th,
.wiki-dl-table td {
    padding: 0.25em 0.5em;
}

.wiki-dl-table th {
    vertical-align: top;
    text-align: right;
    border-style: none;
    border-right: 1px solid #444;
}

.wiki-dl-table td {
    border: none;
}

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

.mail-style-quote blockquote.mail-style-quote {
    margin-left: 0.3em;
    margin-bottom: 0;
    background-color: transparent;
    border-style: none;
    border-left: medium solid #284;
    padding: 0;
}

/*
 * 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 #888888
}

.box-title {
    font-weight: normal;
    background-color: #ccc;
    color: black;
    text-align: center;
}

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

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

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

/* RssFeed */
div.rss {
    margin: 1em;
    padding: 1em;
}

div.feed {
    margin: -0.5em;
    padding: 0.3em;
    font-weight: bold;
    font-size: 1.2em;
}

.chandesc {
    font-weight: bold;
}

div.rssitem {
    padding-top: 1em;
    padding-bottom: 1em;
    border-top: 2px solid #565c5e; /* Alcatel-Lucent grey */
}

div.itemname {
    padding-bottom: 1em;
    font-weight: bold;
}

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

div.authordate {
    font-style: italic;
}

a.rssicon {
    font-weight: normal;
    font-size: small;
    vertical-align: middle;
}

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

#content {
    margin: 0;
    padding: 1em 1em 1.5em 1em;
    border: 1px solid #aaaaaa;
    line-height: 1.2em;
    position: relative;
    z-index: 2;
}

/* the left column width is specified in class .portlet */

#footer {
    text-align: right;
    vertical-align: bottom;
    font-style: italic;
}

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

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

td.tdselected, td.tdunselected {
    text-align: center;
    font-weight: bold;
    padding-left: 5px;
    padding-right: 5px;
}

td.tdselected {
    color: white;
    background-color: #124191;
}

td.tdunselected {
    color: black;
    background-color: #e9e8de;
}

/* Main wiki browse banner */

.browsebanner {
    clear: both;
}

.browsebanner table {
    width: 100%;
    background-color: #e9fbff;
    border: 2px solid blue;
}

.browsebanner table td {
    text-align: center;
    font-weight: bold;
    font-style: oblique;
}

/* RateIt plugin ====================================================== */

.rateit {
    font-size: 60%;
    font-weight: bold;
    vertical-align: middle;
}
