/*  screen.css - MoinMoin Default Styles

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

/* content styles */

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

html {
	background-color: #cccccc;
	background-image: url(../img2/bg.gif);
	background-repeat: repeat-y;
}

body {
	margin: 0;
    padding: 0;
    border: 0;
	font-family: Arial, Helvetica, sans-serif;
/*	font-size: 14px; */
	font-size: 12px;
	height: 100%;
}

a:link { text-decoration: none; }
a:link:hover, a:link:active { text-decoration: underline; color: green; }
a:visited { text-decoration: none; color: blue; }
a:visited:hover { text-decoration: none; color: red; }

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

#sidebar_left_top {
	width: 183px;
	min-height: 400px;
	float: left;
	position: absolute:
	top: 0;
	left: 0;
}

.sidebar_left {
/*
	position: absolute;
	top: 330px;
	left: 0;
*/
	width: 180px;
	float: left;
	margin: 28px 0 0 -196px;
	font-size: 12px;
}

.sidebar_right {
	width: 173px;
	min-height: 400px;
	float: right;
	margin: 26px 10px 10px 10px;
	padding: 0 0 0 10px;
	border-left: 1px solid #aaa;
	clear: right;
	font-size: 12px;
}

#unilinks {
	background-image: url(../img2/vasenmosaiikki.gif);
	background-repeat: no-repeat;
	background-position: bottom;
	background-color: #00407a;
	padding: 4px 4px 140px 4px;
	font-size: 12px;
}

#unilinks a {
	color: #fff;
	margin-left: 2px;
	text-decoration: none;
}

#unilinks a:hover {
	color: yellow;
}

#unilinks a.greendot {
	background-image: url(../img2/vihrea.gif);
	background-repeat: no-repeat;
	background-position: left;
	padding-left: 10px;
}

#unilinks a.reddot {
	background-image: url(../img2/punainen.gif);
	background-repeat: no-repeat;
	background-position: left;
	padding-left: 10px;
}

#unilinks a.yellowdot {
	background-image: url(../img2/keltainen.gif);
	background-repeat: no-repeat;
	background-position: left;
	padding-left: 10px;
}

#header {
	width: 740px;
	height: 80px;
	position: absolute;
	top: 0;
	left: 183px;
	margin: 0;
	padding: 0;
	background-image: url(../img2/oy-header.gif);
	background-repeat: no-repeat;	
}

#logo {
	position: absolute;
	top: 80px;
	left: 183px;
    margin: 0;
    padding: 2px 10px 2px 10px;
    /* For text only logo */
    line-height: 20px;
    font-weight: bold;
	background-color: #00386b;
	color: #fff;
	width: 720px;
	height: 20px;
	text-transform: uppercase;
	font-size: 14px;
	font-family: "Gill Sans", "Trebuchet MS", Arial;
}

#section_image {
    float: left;
    margin: 0;
    padding: 0;
	background-color: #eee;
/*
	background-image: url(../img2/header-robo.jpg);
	background-repeat: no-repeat;
*/
	width: 740px;
	height: 162px;
}

.section_image,
.section_image_slideshow
 {
    float: left;
    margin: -24px 0 0 -20px;
    padding: 0;
/*
	background-image: url(../img2/header-empty.jpg);
	background-image: url(../img2/header-robo.jpg);
	background-repeat: no-repeat;
*/
	width: 740px;
	height: 162px;
	overflow: hidden;
}
.section_image p,
.section_image_slideshow p
 {
	margin: 0;
	padding: 0;
	width: 740px;
	max-width: none;
}

.section_image_slideshow img {
    position:absolute;
    top:0;
    left:0;
    margin: 0;
	padding: 0;
	z-index:8;
    opacity:0.0;
}

.section_image_slideshow img.active {
    z-index:10;
    opacity:1.0;
}

.section_image_slideshow img.last-active {
    z-index:9;
}


/*
#HeaderMain\.content .section_image {
	background-image: url(../img2/header-robo.jpg);
}

#HeaderResearch\.content .section_image {
	background-image: url(../img2/header-browse.jpg);
}
*/

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

#logo img {
    vertical-align: middle;
}

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

#username {
    display: inline;
    margin: 5px 12px;
    padding: 0;
    text-align: right;
    white-space: nowrap;
}

*[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: blue;
    font-size: 0.82em;
    cursor: pointer;
}

#username input:hover {
    color: red;
}

#searchform {
    float: left;
    margin: 20px 0 20px 0px;
    padding: 0;
    font-size: 0.82em;
}

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

#searchform form div {
    display: inline;
}

#searchinput {
	width: 168px;
	margin: 0 0 5px 0;
}

#pagetrail {
    clear: right;
    margin: 5px 12px;
    padding: 0;
    font-size: 0.88em;
}

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

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

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

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

#locationline {
    clear: right;
    padding: 0;
}

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

#pagelocation {
    display: inline;
    margin: 5px 12px;
    padding: 0;
    font-size: 1.5em;
}

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

/* 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 {
	float: left;
    margin: 0;
	padding: 0 10px 0 10px;
    zoom: 1; /* for avoiding a gap between navibar and pageline on IE */
	width: 720px;
	height: 24px;
	background-color: #003d75;
}

#navibar li {
    float: left;
    display: inline;
    margin: 0 2px;
    padding: 2px 5px;
    border-bottom: none;
    white-space: nowrap;
}

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

#navibar li.wikilink {
	color: #fff;
}

#navibar li.userlink {
	color: #fff;
}

#navibar a, #navibar a:visited
 {
	color: #fff;
}

#navibar a:hover
 {
	color: #ccf;
}

#navibar li.current a {
	color: #ccf;
}

#navibar li:hover {
}

#navibar li.current, #navibar li.current:hover {
	color: #aad;
}


/* included navibar in content, with dropdown menu */

.navibar {
    margin: -25px 0 24px -20px;
	padding: 0;
	width: 720px;
	height: 24px;
	clear: both;
}

.navibar ul {
	position: relative;
	list-style: none;
    margin: 0;
	padding: 0 10px 0 10px;
    zoom: 1; /* for avoiding a gap between navibar and pageline on IE */
	width: 720px;
	height: 24px;
	background-color: #003d75;
}

.navibar ul li {
    float: left;
    margin: 0;
    padding: 0;
    border-bottom: none;
    white-space: nowrap;
	height: 24px;
	font-size: 14px;
}

.navibar ul li a {
	display: block;
	padding: 0 6px 0 6px;
 	font-weight: bold;
}

.navibar ul li:hover,
.navibar ul li.hover
{
	position: relative; 
}

.navibar ul li ul {
	visibility: hidden; 
	width: 220px;
	height: auto;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: #eee;
}

.navibar ul li ul li {
	float: none;
	background-color: #eee;
	border-bottom: 1px solid #ccc;
	font-size: 12px;
	height: auto;
}

.navibar ul li ul li a {
	width: 100%;
	display: inline-block; 
	color: #000;
	font-weight: normal;
}

.navibar ul ul ul {
	left: 100%; top: 0; 
}
.navibar ul li:hover > ul {
	visibility: visible;
}


.navibar ul li a,
.navibar ul li a:visited
 {
	color: #fff;
}
.navibar ul li a:hover
 {
	color: #ccf;
	text-decoration: none;
}
.navibar ul li ul li a,
.navibar ul li ul li a:visited
 {
	color: #000;
}
.navibar ul li ul li a:hover
 {
	color: #444;
	text-decoration: none;
}


/* Sidenavi */

.sidenavi {
	position: absolute;
	top: 330px;
	left: 0;
	width: 186px;
}

	
.navibar a, .navibar a:visited
 {
	color: #fff;
}

.navibar a:hover
 {
	color: #ccf;
}

#content #footer {
	height: 0;
	visibility: hidden;
}

#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 #9C9C9C;
    background: #81BBF2;
}

.editbar {
    clear: both;
    display: block;
    margin: 0;
    padding: 0 8px;
    white-space: nowrap;
    font-size: 0.8em;
}

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

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

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

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

div#footer .editbar {
}

div#footer .editbar .disabled {
	color: #bbc;
}

.editbar a, .editbar a:visited { color: #fff; }

.editbar a:hover { color: #ccd; }

#pageinfo {
	margin-right: 10px;
}

#message {
    clear: both;
    margin: 0;
    padding: 5px 10px;
    border-bottom: 1px solid #c9c9c9;
    background: #E6EAF0;
}

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

#page {
    margin: 0;
	width: 740px;
	font-size: 14px;

/*	float: left; */
	position: absolute;
	float: left;
	top: 104px;
	left: 183px;
	height: auto;
	min-height: 100%;
	
   /* 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!
    */
}

#page #content {
	padding: 10px 10px 40px 20px;
	min-height: 500px;
	font-size: 12px;
}

#page #content p {
	max-width: 480px;
}

/* 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;
	margin-left: -31px;
}

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

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

div#pagebottom {
}

div#footer {
	position: relative;
    clear: both;
    margin: 0 0 0 -183px;
    padding: 0;
	width: 923px;
	background-color: #00407a;
	text-align: right;
	border-top: 6px solid #fff;
}

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