/**
 * This incarnation of this stylesheet is a complete rewrite from the
 * ground up.
 *
 * Mozilla's "DOM Inspector" Sidebar was an invaluable troubleshooting
 * tool for mapping the more complex CSS node selectors, such as those
 * used to reference the various CalendarPlugin elements.
 */

/**
 * General
 */
img {
    border: 0;
    vertical-align: baseline;
}

form {
    margin: 0;
}

input {
    margin: 0.1em;
}

input.numeric {
    text-align: right;
}

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

caption {
    caption-side: top;
    text-align: left;
    margin-bottom: .5ex;
    /* Allow the caption to extend to the full page width */
    width: 100%;
}

/* generic classes ----------------------------------------------- */

.tt {
    font-family: monospace;
}

.strike {
    text-decoration: line-through;
}

.big {
    font-size: larger;
}

.align-left {
    text-align: left;
}

.align-right {
    text-align: right;
}

.align-center {
    text-align: center;
}

.top {
    vertical-align: top;
}

.bottom {
    vertical-align: bottom;
}

.middle {
    vertical-align: middle;
}

.baseline {
    vertical-align: baseline;
}

.nowrap {
    white-space: nowrap;
}

.fullwidth {
    width: 100%;
}

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

/**
 * Wiki
 */

/* Main wiki text box */
body {
    color: black;
    background-color: white;
    background-image: url("images/uhhbackground.jpg");
    background-repeat: repeat;
    font-family: Arial, Helvetica, sans-serif;
    margin: 1ex 0.5em;
}

body p {
    margin-left: 1em;
}

#logo img {
    border: 1px outset gray;
    margin-left: 1em;
    margin-bottom: 1ex;
}

img#signature {
    background-color: white;
    border: 1px outset gray;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 8px;
    padding-bottom: 14px;
}

div.wikitext {
    margin-top: 1ex;
    margin-bottom: 0.5ex;
    padding-left: 0.8em;
    padding-right: 0.8em;
    padding-top: 0.5ex;
    padding-bottom: 0.5ex;
    clear: both;
}

div.wikitext hr {
    height: 1px;
}

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

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

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

.wiki {
    text-decoration: none;
}

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

/**
 * wikiaction, wikiadmin, wikiunsafe:
 */
.wikiaction, .wikiadmin, .wiki-rc-action, .backlinks {
    text-decoration: none;
}

.wikiaction, .wikiadmin {
    font-weight: bold;
}

.wikiaction, .wikiaction table, span.wikiaction {
    color: #4d5a6b;
}

.wikiadmin, .wikiadmin table {
    color: #ff7e00;
}

.wikiunsafe {
}

.backlinks {
    color: #1d4fc0;
}

h1 .backlinks {
    text-decoration: underline;
}

/* Unknown links */
.wikiunknown a, .named-wikiunknown a, .wikiunknown u {
    color: #a6977a;
}

/* 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, h2, h3, h4, h5, h6 {
    font-family: Arial, Helvetica, sans-serif;
}

h1 {
    margin: 0;
}

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

.pagelist {
}

.pagelist thead, .pagelist thead u {
}

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

.pagelist tr.oddrow {
    background-color: white;
}

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 {
    font-family: Arial, Helvetica, sans-serif;
}

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

/* Prevent buttons from overlapping when wrapped */
#navbar, #actionbar {
    line-height: 140%;
}

.editdate {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    padding-top: 0.25ex;
}

/**
 * Edit Page & View Source
 */

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

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

#editarea-size {
    margin-top: 1ex;
    text-align: right;
    font-size: smaller;
}

/* 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 {
    background: inherit;
    border: 1px dotted #a6977a;
    padding-left: 0.8em;
    padding-right: 0.8em;
    padding-top: 0;
    padding-bottom: 0;
    margin-left: 0.25em;
    margin-right: 0.25em;
    margin-bottom: 0.1ex;
}

.wiki-edithelp {
    border: medium solid #d8caae;
    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;
}

.wiki-edithelp .wiki {
    color: #87785c;
}

.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 outset gray;
    margin: 0.5ex 0.5em;
    padding: 1px;
    /* For Mozilla */
    empty-cells: hide;
}

/* Month-name & arrows area */
table.cal thead {
}

table.cal table.cal-header td {
    padding-top: 110px;
}

table.cal thead tr:first-child {
    background-image: url("images/pictures/SteamVolcanoDusk.jpg");
    background-repeat: no-repeat;
    background-position: center;
    font-size: larger;
}

/* Month-name & arrows cells */
table.cal table.cal-header td {
    text-align: center;
    color: white;
    background-color: transparent;
    border: 0;
}

/* arrow text */
.cal-arrow {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

/* Day-names header */
table.cal tr .cal-dayname {
    background: inherit;
}

.cal-dayname td {
    text-align: center;
    font-size: smaller;
    text-decoration: none;
    color: black;
    padding-bottom: 0.5ex;
}

/* Individual days */
/* cells */
table.cal tbody td {
    border: 0.5pt solid #ddd;
    background-color: white;
    text-align: right;
}

/* text */
a.cal-hide {
    text-decoration: none;
    color: black;
    font-weight: normal;
}

/* Today */
/* cell */
table.cal td.cal-today {
    margin: 1px;
    background-color: white;
    border: 0.5pt solid black;
}

/* text */
table.cal td.cal-today a {
    color: blue;
}

/* Day with a data page */
/* cell */
table.cal td.cal-day {
    margin: 1px;
    background-color: white;
    border: 0.5pt solid black;
}

/* text */
table.cal td.cal-day a {
    color: red;
    text-decoration: none;
}

/**
 * Diff Output
 */

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

/* individual lines */
.diff .context {
    background-color: white;
}

/* + - 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-color: #fcc;
}

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

.diff del {
    background-color: #f99;
}

.diff ins {
    background-color: #9f9;
}

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

div.error {
    color: black;
    border: medium solid #d8caae;
    margin-top: 1em;
    margin-bottom: 1em;
    padding-left: 0.8em;
    padding-right: 0.8em;
    padding-top: 0.8ex;
    padding-bottom: 0;
    font-size: smaller;
    clear: both;
}

/* Debug */
.debug {
    color: black;
    font-family: monospace;
    margin: 1ex 0;
    padding: 0.5ex 0.5em;
    border: medium solid #d8caae;
}

.clear-floats {
    clear: both;
}

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

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

#LSResult {
    position: absolute;
    text-align: left;
    display: none;
    z-index: 100;
    background-color: white;
    border: 1px solid #d0d0d0;
    font-size: 9px;
    overflow: hidden;
}

#LSHighlight {
    background-color: #f08000;
}

#LSResult .evenrow {
    background-color: #f0f0f0;
}

.toolbar, div.toolbar {
    margin: 0.5ex 0;
}

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

div.wikitext {
    width: auto;
    background-image: url("images/tchecker-white.png");
    background-repeat: repeat;
}

.wiki-edithelp {
    background-image: url("images/tchecker-sand.png");
    background-repeat: repeat;
}

.wiki-edithelp p {
    background-image: url("images/tchecker-white.png");
    background-repeat: repeat;
}

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

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

/**
 * Other
 */
.debug {
    background-image: url("images/tchecker-sand.png");
    background-repeat: repeat;
}

/* WikicreoleTable, MediawikiTable and RichTable plugins ============== */

/*
 * table class="boxed"
 * will put a border around the table (but not around the cells)
 *
 * table class="bordered"
 * will put a border around the table and the cells
 *
 * In both cases, the caption will be bold and centered under the table
 *
 * In both cases, the headers (th) will have a "#d8d8d8" background
 */

table.boxed, table.bordered, table.bordered th, table.bordered td {
    border-width: 1px;
    border-style: solid;
    border-collapse: collapse;
    vertical-align: top;
}

table.boxed td, table.bordered td,
table.boxed th, table.bordered th {
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 0;
    padding-bottom: 0;
}

table.boxed caption, table.bordered caption {
    text-align: center;
    font-weight: bold;
    caption-side: bottom;
    padding-top: 0.8em;
}

table.boxed th, table.bordered th {
    font-weight: bold;
    background-color: #d8d8d8;
}

/* For emacs users
 *
 * Local Variables:
 * mode: c
 * c-file-style: cc-mode
 * End:
 */
