/*  screen.css - MoinMoin Default Styles
    Modified for the FSFE Wiki

Copyright (c) 2001, 2002, 2003 by Juergen Hermann
Copyright (c) 2009 by Paul Boddie
*/

/* FSFE styles... */

@import "style.css";

/* Event aggregation... */
/* This is provided by the separate dependency, EventAggregator. */

@import "event-aggregator.css";
@import "improvedtableparser.css";

/* content styles */

/* debug 
* {border: 1px dotted blue;}
*/

/* See common.css for basic link styling. */

a:link { text-decoration: none; }
a:link:hover, a:link:active { text-decoration: underline; color: green; }
a:visited { text-decoration: none; }
a:visited:hover { text-decoration: underline; color: black; }
a.nonexistent:link { color: #666 }
a.nonexistent:hover { color: black; text-decoration: underline }

a.download {
    font-size: 120%; 
    letter-spacing: 0.05em;
    font-weight: bold;
    background: #E7E7E7;
    border: 1px solid #9C9C9C;
    padding: 0.5em;
    text-align: center;
}

input {
    /* does strange effect to button (text size becomes bigger when clicking)
    font-size: 1em;
    font-family: Arial, Lucida Grande, sans-serif;
    */
}

textarea {
    font-size: 1em;
    font-family: monospace;
}

.disabled {
    /* IE ignore disabled attribute, but at least show items in gray */
    color: gray;
}

/* user interface styles */

#searchform {
    margin: 4px 0.5em 8px 0.5em;
    padding: 0;
    font-size: 0.82em;
    float: right;
    clear: right;
    text-align: right;
}
*[dir="rtl"] #searchform {
    float: left;
    clear: left;
    text-align: left;
}
#searchform input {
    font-size: 100%;
    vertical-align: middle;
}

#interwiki {
    font-size: 1em;
}

#locationline {
    padding: 0;
    font-size: 100%;
    font-weight: normal;
    margin: 0.25em 12px 5px 12px;
    clear: right;
}
*[dir="rtl"] #locationline {
    clear: left;
}

#pagelocation {
    font-size: 1.5em;
    letter-spacing: 0.05em;
}


*[dir="rtl"] #pagetrail span.sep {
    visibility: hidden;
}
*[dir="rtl"] #pagetrail span.sep:after {
    content: " « ";
}

#pageline {
    clear: both;
    margin: 0;
    padding: 0;
    width: 100%;
    /* sync these values, line-height is needed for IE */
        height: 4px;
        line-height: 4px;
    border-bottom: 1px solid #4d7da9;
    border-top: 1px solid #4d7da9;
    background: #81BBF2;
}

.editbar form div {
    display: inline;
    margin-left: 1em;
}

#message {
    padding: 5px 10px;
    background: #D8FF9E url(../img/fsfe/bg-content-right.png) top right repeat-y;
        /* from #text, #text h1 in style.css */
}

#message p {
    margin: 5px 0;
    padding: 0;
    /* font-weight: bold; */
}

#message div.buttons {
    font-weight: normal;
}

.dialog form {
    margin: 0 15px;
}

.dialog td {
    border: none;
    padding: 5px;
}

.dialog td.label {
    text-align: right;
    font-weight: bold;
    width: 25%;
}

*[dir="rtl"] .dialog td.label {
    text-align: left;
}

.dialog td.content input {
    width: 100%;
}

/* NOTE: This seems to prevent the gap between contenttop (see style.css) and
 * NOTE: page/content, but I'm not completely sure why. A top margin/padding
 * NOTE: with a value other than zero is required. */

#content {
    padding: 0.5em 0.5em 0.5em 0;
    margin-right: 0.5em;
}

/* We use here dumb css1 ids because of IE suckiness */
#editor-textarea {
    font-family: monospace;
    border: 1px solid #8cacbb;  
    color: black;
    background-color: white;
    padding: 3px;
    width: 100%;
    margin-top: 0.5em;
}

#editor-help {
    font-family: monospace;
    font-size: small;
    border: 1px solid #8cacbb;  
    color: black;
    padding: 3px;
    margin-top: 0.5em;
}

#editor-comment {
    font-size: 100%;
    border: 1px solid #8cacbb;
    color: black;
    background-color: white;
    vertical-align: middle;
    padding: 1px;
    display: inline;
    width: 70%;
}

#preview, #previewbelow {
    border: 1px solid #6C7680;
    padding: 10px 30px 20px 30px;
    background: url(../img/draft.png);
    margin-top: 0.5em;
}

#textcha {
    font-size: 100%;
    margin-top: 0.5em;
    border: 2px solid #FF8888;
    color: black;
    vertical-align: middle;
    padding: 3px 2px;
}

#textcha-answer {
    border: 2px solid #000000;
    padding: 3px 2px;
}

button.loginbutton {
    border: 0;
    padding: 0;
    margin: 0;
    background-color: transparent;
}

input.button {
    /*
    border: 1px solid #8cacbb;  
    color: black;
    background-color: #CCCCCC;
    vertical-align: middle;
    text-decoration: none;
    font-size: 100%;
    cursor: pointer;
    margin: 2px;
    padding: 1px;
    display: inline;
    */
}

#credits, #version, #timings{
    margin: 5px 10px;
    padding: 0;
    text-align: center;
    font-size: 0.88em;
    color: #6C7680;
}

#credits li, #timings li {
    display: inline;
    padding: 0 2px;
    margin: 0 4px;
}

#credits img {
    vertical-align: middle;
}

.diff {
    width:99%;
}

.diff-header {
    font-weight: bold;
}

.diff-title {
    background-color: #C0C0C0;
}

.diff-added {
    background-color: #E0FFE0;
    vertical-align: sub;
}

.diff-removed {
    background-color: #FFFFE0;
    vertical-align: sub;
}

.diff-added span {
    background-color: #80FF80;
}

.diff-removed span {
    background-color: #FFFF80;
}

table.navigation {
    float: right;
    margin: 2px;
}
        
#openididentifier {
    background: url(../../common/openid.png) no-repeat;
    background-position: 0 50%;
    padding-left: 18px;
}

#page-history {
        overflow: auto; /* the info history does not format comments like the RecentChanges action */
}
