/*  screen.css - Based on Modern theme
*/

/* content styles */


body {
    padding: 10px;
    margin:auto;
    background-color: rgb(242,242,242);

}

input {
    /* does strange effect to button (text size becomes bigger when clicking)
    font-size: 1em;
    font-family: Verdana, 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 */
#header {
	background-color: rgb(242,242,242);
	background-repeat: no-repeat;
	background-image: url("/common/jkd.png");

        width:800px;
	height:207px;
        margin:auto;
        padding: 0px 0px 0px 0px;
	border-left: 1px solid #acacac;
	border-right: 1px solid #acacac;
	border-bottom: 0px solid #f9fc00;

}




*[dir="rtl"] #logo {
    float: right;
}

#logo img {
    vertical-align: middle;
}

#logo a {
    color: #333;;
    text-decoration: none;
}


#username {
    margin: 0px 0px 0px 0px;
    text-align: right;
    font-size: 0.5em;
    white-space: nowrap;
}

#username a:link,
#username a:visited {
	color: #333;
}

*[dir="rtl"] #username {
    text-align: left;
    margin: 5px 0px;
}

#username li {
    display: inline;
    padding: 0 0.5em 0 0;
}

#username form {
    display: inline;
}

#username input {
    display: inline;
    padding: 0;
    margin: 0;
    border: none;
    background: #E7E7E7; /* inherit doesnt work on IE */
    color: green;
    font-size: 0.82em;
    cursor: pointer;
}

#username input:hover {
    color: red;
}

#searchform {
    background-color: rgb(242,242,242);
    float: right;
    margin: 5px 10px 150px 10px;
    padding: 00px;
    white-space: nowrap;
}

*[dir="rtl"] #searchform {
    float: left;
}

#searchform form div {
    display: inline;
}

input#searchinput {
	background-color: rbg(242,242,242)
	border: 1px solid #ddd;
	padding: 1px 1px 1px 2px;
	font-size: 11px;
	color: #222;
}

input#titlesearch, input#fullsearch {
    color: #072f7a; /*#abb3ba;*/
    background-color: rbg(242,242,242)
    border: 1px solid #999;
    border: 0;
    color: #000;
    position: relative;
    font-size: 12px;
    font-weight: normal;
}

#pagetrail {
    clear: right;
    display: inline;
    margin: 0px 12px 20px 0px;
    padding: 0px 10px 100px 10px;
    font-size: 0.8em;
}

#pagetrail a:link,
#pagetrail a:visited {
	color: #7D775C;
}


*[dir="rtl"] #pagetrail {
    clear: left;
}

#interwiki {
    margin: 5px 0px 0px 12px;
    display: inline;
    font-size: 1em;
}

*[dir="rtl"] #interwiki {
    margin: 5px 0px;
    display: inline;
    font-size: 1em;
}

#interwiki span:after {
    content: ":";
}

#locationline {
    clear: both;
    padding: 0;
    margin: 84px 5px 9px 130px;
    font-size: 0.88em;
}

*[dir="rtl"] #locationline {
    clear: left;
}

#locationline a:link, #locationline a:visited {
	color: #fff;
}

#pagelocation {
    display: inline;
    margin: 5px 12px;
    padding: 0;
}

#pagetrail li, #pagelocation li {
    display: inline;
    margin: 0px;
    color: #aaa;
}

/* XXX Warning: non-ascii characters! */
#pagetrail li:after {
    content: " » ";
}

*[dir="rtl"] #pagetrail li:after {
    content: " « ";
}

#pagetrail li:last-child:after {
    content: "";
}

#pagelocation li:after {
    content: "/ ";
}

*[dir="rtl"] #pagelocation li:after {
    content: " \\ "; /* TODO: check what looks best with RTL */
}

#pagelocation li:last-child:after {
    content: "";
}

#navibar {
    width: 800px;
    clear: both;  /* problem: clear: right; aligns nicely right of logo,
                    but lets it float high in the header, disconnected from ground */
    margin: 0px 0px 0px 0px;
    size:10px;
    font-family: Verdana, Arial, Lucida Grande, sans-serif;
    color:#f1f1f1;
    padding: 0px;
    font-size: 0.75em;
    color: #e8ff00;
    height: 22px;
    border-left: 0px solid #000;	
    border-right: 0px solid #000;	
    border-bottom: 0px solid #000;
    border-top: 0px solid #000;
}	


#navibar li {
   float: left;
    display: inline;
    margin: 0;
    padding: 3px 5px;
    white-space: nowrap;
    line-height: 22px;
}

*[dir="rtl"] #navibar li {
    float: right;
}


#navibar a, #navibar a:visited {
    color: #bbb;
    text-decoration: none;    
    padding: 2px 6px 2px 6px;
    border-left: 1px solid;
    margin-right: 4px;
}


#navibar li.current a {
    font-weight: bold;
    color: #bbb;
}

#navibar a:link,
#navibar a:visited {
    color: #bbb;
}

#navibar a:hover {
 text-decoration: underline;	
}

#navibar li.current a:link,
#navibar li.current a:visited {
    color: #bbb;
 text-decoration: underline;	
}

#pageline {
    clear: both;
	width: 100%;
	height: 1px;
	background-color: #000;
	margin: 0px;
	padding: 0;
}


.editbar {
    clear: both;
    
    display: block;
    margin: 0px;
    margin-right: 1px;
    width: 759px;    
    white-space: nowrap;
    background: #000;
    font-size: 0.75em;
    text-align: left;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
}

.editbar a:link,
.editbar a:visited,
#footer .editbar a:link,
#footer .editbar a:visited {
	color: #333333;
}

.editbar form {
 color: #333333;
 margin-left: 100px;
}
ul.editbar li {
 margin:0px 0px 0px 0px;
 padding-right:10px;

}

#footer {
    clear: all;
    border-top: 1px dotted #9C9C9C;
    background-color: #000;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    width:800px;
    height:44px;
    margin: 0px 10px 0px 10px;
    margin: auto;

    padding: 0px 0px 0px 0px;
}

#footer a:link, #footer a:visited {
	color: #dde;
}

#footer a:visited, #footer a:link {
     color: #333;
}
a#footer {

     background-color: #fff;
}

#actionsmenu {
 background-color: #fff;
}
#credits, #version, #timings{

    background-color: #000;
    text-align: center;
    font-size: 0.75em;
    width:758px;

}

#username {
    clear: both;
    display: block;
    width:758px;
    white-space: nowrap;
    background: #000;
    font-size: 0.75em;
    text-align: left;
    margin: 0px;
    border-left: 0px solid #000;
    border-right: 1px solid #000;
}

#credits a:link, #credits a:visited, #credits a:active {
    color: #333;
}

#credits li, #timings li {
    color: #bbb;

    display: inline;
    padding: 0 2px;
    margin: 0 4px;
}

#credits img {
    vertical-align: middle;
}

.editbar form, .editbar form div {
    display: inline;
    margin: 0;
    padding: 0;
}

.editbar li {
    display: inline;
    padding: 0;
    margin: 4px 6px;
}

*[dir="rtl"] .editbar li {
    float: right;
}

#header .editbar {
    border-bottom: 1px dotted #9C9C9C;
}



#message {
    clear: both;
    border-bottom: 1px dotted #9C9C9C;
}

#message p {
    padding: 2;
    margin: 15px;
    color: #9c9c9c;
    /* font-weight: bold; */
}

#message div.buttons {
    font-weight: normal;
    color: #9c9c9c;
    margin: 15px;
}

.aloittajalle {
 float:left;
 font-size:0.9em;
 width:325px;
 height:220px;
 padding: 0px 15px 5px 10px;
 background-repeat: no-repeat;
 background-image: url("/common/panel_white.jpg");

}

.aloittajalle a:visited, .aloittajalle a:link {
 color:#000;
 text-decoration: underline;
}


.vierailijalle {
 float:left;
 width:325px;
 height:220px;
 font-size:0.9em;
 padding: 0px 15px 5px 10px;
 background-repeat: no-repeat;

 background-image: url("/common/panel_white.jpg");
}

.vierailijalle a:visited, .vierailijalle a:link {
 color:#000;
 text-decoration: underline;
}

.uutisia {
 float:right;
 width:325px;
 font-size:0.9em;
 background-image: url("/common/panel_white.jpg");
 height:220px;
 padding: 0px 15px 5px 10px;



 background-repeat: no-repeat;
 background-image: url("/common/panel_white.jpg");

}
.uutisia a:visited, .uutisia a:link{
 color:#000;
 text-decoration: underline;
}

.blogi {
 float:right;
 width:325px;
 height:220px;
 font-size:0.9em;
 padding: 0px 15px 5px 10px;
 background-repeat: no-repeat;
 background-image: url("/common/panel_white.jpg");
}
.blogi a:visited, .blogi a:link {
 color:#000;
 text-decoration: underline;
}



.centerme table {
	text-align: center;
}

.clear {
 clear:both;
}
.center {
 align:center;
 vertical-align: middle 

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

#page {
    background-color: #fff;
    width:800px;
    margin:auto;
    padding: 20px 0px 20px 0px;
    border-left: 1px solid #acacac;
    border-right: 1px solid #acacac;
    font-size: 0.9em;
    background-image: url("/common/bg_white.jpg");
    background-repeat: no-repeat;
   /* theses are some Firefox 1.5b1 specific extensions, see also the CSS3 draft.
   -moz-column-width: 25em;
   -moz-column-gap: 2em;
   -moz-column-rule: solid black 0.3em;     --   doesn't work yet with 1.5b1!

   TODO: make text/gui editor NOT use #page css, we don't want columns there!
    */
}

#content {
	margin: 15px;
	color: #000;
	font-family: Verdana;
}

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

#editor-help {
    font-size: small;
   background-color: #EEEEFF;
}

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

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




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

/*
 * Collab menu support
 *
 *   tmakinen/2007-11-18
 */

dl.collab_list {
  background: #eee;
  padding: 0px;
  margin: 0;
  width: 250px;
}

dl.collab_list dd.collab_val {
  display: none;
}

dl.collab_list:hover dd.collab_val {
  position: absolute;
  display: block;
  background: #fff;
  border: 1px solid #ccc;
  width: 400px;
  margin: -17px 0px 0px 240px;
  padding: 8px;
}

dt.collab_key {
  padding: 4px;
}

dt.collab_key:hover {
  background: #ddd;
}

dd.collab_val {
  display: none;
}




div.right {
    align: right;
}
img.attachment {
    align: right;
}
