/*  screen.css - MoinMoin Default Styles

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

/* content styles */

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

body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    border: 0;
    color: #000;
/*  background: #ccc url('../img2/grafiikka/taustat/harmaa1.gif') repeat-y; */
    background-color: #ccc;;
    background-position: 84% 0%;
}

#wholepage {
    position: absolute;
    border: 0;
    top: 0;
    left: 0;
    width: 923px;
/*  width: 70%;
    max-width: 923px; */
    height: 100%;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
	color: #000;
}

H5 { font-size: 12px; font-family: "Gill Sans", "Trebuchet MS", Arial; }
H4 { font-size: 12px; font-family: "Gill Sans", "Trebuchet MS", Arial; }
H3 { font-size: 14px; font-family: "Gill Sans", "Trebuchet MS", Arial; }
H2 { font-size: 16px; font-family: "Gill Sans", "Trebuchet MS", Arial; }
H1 { font-size: 18px; font-family: "Gill Sans", "Trebuchet MS", Arial; }

a:link { color: #0000e4; text-decoration: underline; }
a:link:hover, a:link:active { color: red; }
a:visited { color: purple; }
a:visited:hover { color: red; }

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 {
    position: absolute;
    left: 183px;
    height: 80px;
/*  min-width: 570px;
    width: 90%; */
    width: 740px;
    margin-right: 40px;
    background: url("../img2/grafiikka/ylamosaiikki.gif") #fff no-repeat;
    line-height: 1.1em;
    border: 0;
}

#logo {
    float: right;
    margin: 0;
    padding: 0;
    /* For text only logo */
    font-size: 1.4em;
    line-height: 1em;
    font-weight: bold;
    letter-spacing: 0.2em;
    font-family: monotype;
    color: #a2acb6;
    text-decoration: none;
    z-index: 1000;
}

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

#logo img {
    vertical-align: middle;
    z-index: 1000;
}

#logo a {
    color: #a2acb6;
    text-decoration: none;
    z-index: 1000;
}

.actionsmenu select {
	border: 1px dotted #abb3ba;
	color: inherit;
}
#username {
    display: block; 
    clear:right;
    float: right;
    top: -20px;
    margin: 5px 0;
    padding: 0;
    padding-right: 20px;
    text-align: right;
    font-size: 9px;
    white-space: nowrap;
    z.index: 50; 
}
*[dir="rtl"] #username {
    text-align: left;
    margin: 5px 0px;
}
#username ul{
    width: 180px;
}

#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 #login{
    color: #777777;
    position: absolute;
    top: -13px;
/*    left: 670px; */
    right: 10px;
}
#username a{
    color: #aaaaaa;
}
#username a:hover{
    color: #aaaaaa;
}
#username input:hover {
    color: red;
}
#searchform {
    position: absolute;
    margin: 4px 10px 0px 130px;
    padding: 0;
    white-space: nowrap;
    font-size: 0.82em;
}

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

#searchform form div {
    display: inline;
}
#pagetrail {
    clear: right;
    display: inline;
    margin: 5px 12px;
    padding: 0;
    font-size: 0.88em;
}

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

#interwiki {
    margin: 0;
    background: #00407a;
    color: #fff;
    height: 25px;
    line-height: 26px;
    text-transform: uppercase;
}

#interwiki span {
    margin-left: 11px;
    font-size: 14px;
    font-family: "Gill Sans", "Trebuchet MS", Arial;
    font-weight: bold;
}


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

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

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

#locationline {
    position: absolute;
    width: 740px;
    height: 76px;
    top: 200px;
    left: 183px;
    padding: 0;
    margin: 0;
    margin-right: 40px;
    border: 0;
    background: #fff;
}

*[dir="rtl"] #locationline {
    clear: left;
}
<!--
#pagelocation {
    display: inline;
    margin: 0;
    padding: 0;
    padding-left: 11px;
    font-size: 0.9em;
}
-->
#pagelocation {
    position: absolute;
    /* top: 79px; */
    top: 55px;
    left: 370px;
    width: 300px;
    height: 22px;
    overflow: invisible;
    margin: 0;
    padding: 0;
    padding-left: 11px;
    font-size: 12px;
    /* color: #aaaaaa; */
    color: #606060;
    z-index: 40;
}

#pagetrail li, #pagelocation li {
    display: inline;
    margin: 0;
    line-height: 28px;
}

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

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

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

* html #pagetrail li, * html #pagelocation li { /* for broken IE */
    border-left: 1px solid #AAA;
    padding: 0 0.3em;
}

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

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

#pagelocation li:last-child:after {
    content: "";
}
#pagelocation li a{
    /* color: #aaaaaa; */
    color: #606060;
}
#pagelocation li:first-child {
    display: none;
}

#navibar {
    clear: both;  /* problem: clear: right; aligns nicely right of logo,
                    but lets it float high in the header, disconnected from ground */
    display: block; 
    margin: 0;
    padding: 0 4px;
    font-size: 12px;
    zoom: 1; /* for avoiding a gap between navibar and pageline on IE */
}

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

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

#navibar li.wikilink {
}

#navibar li.userlink {
}

#navibar a, #navibar a:visited {
    color: black;
    text-decoration: none;    
}

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

#navibar li.current, #navibar li.current:hover {
}

#pageline {
    clear: both;
    display: none;
    margin: 0;
    padding: 0;
    width: 100%;
    /* sync these values, line-height is needed for IE */
        height: 0px;
        line-height: 0px;
    border-bottom: 0px solid #9C9C9C;
    background: white;
}

.editbar {
    position: absolute;
    top: 162px;
    right: 0px;
/*    clear: right; 
    display: block; */
    text-align: right;
    margin: 0;
    padding: 0;
    white-space: nowrap; 
    font-size: 12px;
    z-index: 40;
}

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

.editbar li {
    display: inline;
    padding: 0 4px;
    margin: 0;
    border: 0px 1px 0px 0px solid black;
}

.editbar ul:last-child {
	border: 0;
	margin: 0;
	padding:0
}

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

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

/*#footer .editbar {
    border-top: 1px dotted #9C9C9C;
    border-bottom: 1px solid #9C9C9C;
}*/

.editbar a, .editbar a:visited { 
    color: #ffccff; 
    display: inline;
    padding: 1px 3px;
    text-decoration: underline;
    font-weight: bold;
    background: #777777;
}
.editbar a:hover{
    color: #aaaaaa;
}
/*
#message {
    position: absolute;
    width: 400px; 
    height: 50px;
    top: 36px;
    left: 194px; 
    padding: 0;
    padding-left: 20px;
    background: #fff;
    margin: 0;
    border: 0;
    border: 7px solid #fff;
    background: #eee;
    z-index: 40;
    font-size: 12px;
    vertical-align: middle;
}
*/
#message {
    position: absolute;
    max-width: 500px;
    top: 28px;
/*  left: 292px; */
    left: 200px;
    padding: 2px;
    margin: 0;
    border: 0;
    z-index: 41;
    font-size: 11px;
    vertical-align: middle;
    background: #eeeeee; 
}

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

#globalmenu {
  position: absolute;
  background: #eee url('../img2/vasenyla-bg.gif') no-repeat;
  width: 183px;
  height: 208px;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  padding-top: 15px;
  color: white;
}

#globalmenu p {
  margin-left: 0px;
  margin-top: 0px;
  padding-bottom: 0px;
}

#globalmenu ul {
	margin: 0px;
	padding: 0px;
}

#globalmenu li {
	list-style-type: none;
	margin: 0;
	margin-bottom: 0px;
	padding: 0;
	padding-bottom: 1px;
}
#globalmenu a {
	color: #ffffff;
	font-weight: normal;
	text-decoration: none;
	margin:0px;
	padding: 0px;
	font-size: 12px;
  	font-weight: normal;
}
#globalmenu a:hover {
	color: #aaaaaa;
}

#globalmenu li a{
	font-size: 12px;
	padding-left: 5px;
	padding-top: 0px;
}
/*
#globalmenu a.www:before {content: url(../img/moin-www-ee.png); margin: 0 0.2em;}
#globalmenu a.http:before {content: url(../img/moin-www-ee.png); margin: 0 0.2em;}
#globalmenu a.https:before {content: url(../img/moin-www-ee.png); margin: 0 0.2em;}
*/
#sidemenu {
  position: absolute;
  background: #eee url('../img2/vasenala-bg.gif');
  width: 183px;
  min-height: 450px; 
  top: 208px; 
  left: 0;
  margin: 0;
  padding: 0;
  padding-top: 15px;
  font-size: 13px;
  font-weight: bold;
  z-index: 10;
  border-bottom: 1px solid #999999;
}
#sidemenu p {
  margin-left: 15px;
  line-height: 110%;
}

#sidemenu ul {
	margin: 0px 0px 0px 0px;
	padding:0;
	font-weight: normal;
}

#sidemenu li {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
#sidemenu li:first-child{
	font-weight: bold;
}
#sidemenu ul li ul{
	line-height: 100%;
	padding: 0px;
	margin: 0px;
}
#sidemenu ul li ul li p{
	font-weight: normal;
	font-size: 11px;
	margin: 0px;
	padding-left: 30px;
}
#sidemenu a, a:visited {
	text-decoration: none;
	color: blue;
}
#sidemenu a:hover {
	color: #aaaaaa;
}

#page {
   position: absolute;
   top: 208px;
   left: 183px;
   width: 740px;
/* width: 90%;
   min-width: 570px; 
   max-width: 740px; */
   min-height: 70%;
   background-color: white;
   border: 0;
   padding: 0;
   padding-top: 10px;
   margin: 0;
   margin-right: 40px;
   font-size: 90%;
   border-bottom: 8px solid #00407A;
   z-index: 30;
}
/*
#page H1, H2, H3, H4, H5 { font-family: "Gill Sans", "Trebuchet MS", Arial; }
*/
#page H1, H2, H3, H4, H5 { font-family: Arial, "Trebuchet MS"; }

#content {
    margin: 0 1em 1em 1em;
    padding: 0;
    border: 0;
/*    border-top: 1px solid #ccc; */
}

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

#footer {
    position: absolute;
    top: 203px;
    left: 0px;
    width: 100%;
    text-align: right;
    padding-bottom: 20px;
/*    background: #eee url('../img2/vasenala-bg.gif'); */
    z-index: 40;
}

#pageinfo{
    visibility: hidden;
}
#credits, #version, #timings{
    position: absolute;
    visibility: hidden;
    top: -20px;
    left: 0px;
    width: 181px;
    margin: 0;
    text-align: left;
    padding-left: 2px;
    padding-bottom: 5px;
    background: #eee url('../img2/vasenala-bg.gif'); 
    font-size: 0.7em;
    color: #6C7680;
    z-index: 1;
}

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

#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 {
    margin: 2px;
}

/* Spans for line-anchors - uses * html hack so that the rule only applies to
 * IE (where omitting the "display: none" triggers rendering bugs).
 */

* html span.anchor { display: none; }

/* IE6 has a bug with rendering of float elements. We workaround this bug by
 * assigning those elements a height attribute because we currently don't know
 * a better solution. This results in IE calculating the correct height of the
 * characters and displaying them correctly. We don't know any negative side
 * effects of this workaround:
 */
/* * html div#page, * html div#header { height: 0.001%; }   jco removed this line
*/
#globalmenu a.www { margin-left: 5px; padding-left: 14px; background: url(../img/moin-www-ee.png) left center no-repeat; }
#globalmenu a.http { margin-left: 5px; padding-left: 14px; background: url(../img/moin-www-ee.png) left center no-repeat; }
#globalmenu a.https { margin-left: 5px; padding-left: 14px; background: url(../img/moin-www-ee.png) left center no-repeat; }


/*OPISKELIJAN POLKU 

div#opintojenalku{
	position: static;
	top: 50px;
	left: 50px;
	border: none;
	background-color: blue;
	text-color: red;
}
/*YL?KUVA */

div#ylakuva{
	position: absolute;
	top: 80px;
	left: 183px;
	min-width: 570px;
   	width: 740px;
   	max-width: 740px;
	margin-left: 0px;
	height: 107px;
	z-index: 10;
}	

div#image_FrontPage{
	position: absolute;
	top: 80px;
	left: 183px;
	min-width: 570px;
   	width: 740px;
   	max-width: 740px;
	margin-left: 0px;
	height: 107px;
	background: url("../img2/ylakuva.php") #fff no-repeat;
	/* background: url("../img2/FrontPage.jpg") #fff no-repeat;  */
}
div#image_Osasto{
	position: absolute;
	top: 80px;
	left: 183px;
	min-width: 570px;
   	width: 740px;
   	max-width: 740px;
	margin-left: 0px;
	height: 107px;
	background: url("../img2/ylakuva.php") #fff no-repeat;
	/* background: url("../img2/Osasto.jpg") #fff no-repeat;  */
}
div#image_Opiskelijat{
	position: absolute;
	top: 80px;
	left: 183px;
	min-width: 570px;
   	width: 740px;
   	max-width: 740px;
	margin-left: 0px;
	height: 107px;
	background: url("../img2/Opiskelijat.jpg") #fff no-repeat; 
}
div#image_Henkilokunta{
	position: absolute;
	top: 80px;
	left: 183px;
	min-width: 570px;
   	width: 740px;
   	max-width: 740px;
	margin-left: 0px;
	height: 107px;
	background: url("../img2/Henkilokunta.jpg") #fff no-repeat; 
}
div#image_Opiskelijaksi{
	position: absolute;
	top: 80px;
	left: 183px;
	min-width: 570px;
   	width: 740px;
   	max-width: 740px;
	margin-left: 0px;
	height: 107px;
	background: url("../img2/Opiskelijaksi.jpg") #fff no-repeat; 
}
div#image_Tutkimus{
	position: absolute;
	top: 80px;
	left: 183px;
	min-width: 570px;
   	width: 740px;
   	max-width: 740px;
	margin-left: 0px;
	height: 107px;
	background: url("../img2/Tutkimus.jpg") #fff no-repeat; 
}
div#image_Yhteystiedot{
	position: absolute;
	top: 80px;
	left: 183px;
	min-width: 570px;
   	width: 740px;
   	max-width: 740px;
	margin-left: 0px;
	height: 107px;
	background: url("../img2/Yhteystiedot.jpg") #fff no-repeat; 
}
div#image_RecentChanges{
	position: absolute;
	top: 80px;
	left: 183px;
	min-width: 570px;
   	width: 740px;
   	max-width: 740px;
	margin-left: 0px;
	height: 107px;
	background: url("../img2/RecentChanges.jpg") #fff no-repeat; 
}
div#image_OsastoTemplate{
	position: absolute;
	top: 80px;
	left: 183px;
	min-width: 570px;
   	width: 740px;
   	max-width: 740px;
	margin-left: 0px;
	height: 107px;
	background: url("../img2/FrontPage.jpg") #fff no-repeat; 
}
div#image_OsastoTemplate{
	position: absolute;
	top: 80px;
	left: 183px;
	min-width: 570px;
   	width: 740px;
   	max-width: 740px;
	margin-left: 0px;
	height: 107px;
	background: url("../img2/FrontPage.jpg") #fff no-repeat; 
}
div#image_Ertek{
	position: absolute;
	top: 80px;
	left: 183px;
	min-width: 570px;
   	width: 740px;
   	max-width: 740px;
	margin-left: 0px;
	height: 107px;
	background: url("../img2/Ertek.jpg") #fff no-repeat; 
}

 div#dd_menu {
	z-index: 41;
	position: absolute;
	top: 183px;
	left: 183px;
	margin: 0;
	padding: 0;
	width: 740px;
	height: 25px;
/*	font-family: Gill Sans,
	SunSans-Regular, sans-serif; */
	font-size: 12px;
	background: url("../img2/Menu_BG.jpg");
	}

  div#dd_menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
	}

  div#dd_menu ul li {
	display: block;
 	float: left;
	height: 100%;
	width: 115px;
	padding: 4px;
	} 
  div#dd_menu ul li p{
	margin: 0;
	padding: 0;
	display: run-in;
	}

  div#dd_menu ul li p a {
	text-decoration: none;
	color: white;
	display: inline;
	background: none;
	padding: 0;
	padding-top: 5px;
	padding-bottom: 5px;
        line-height: 23px;
	border: 0;
	font-weight: bold;
	}
  div#dd_menu ul li a:hover {
	color: #aaaaaa;
	}

  div#dd_menu li ul {
	float: left;
	top: 24px;
	margin: 0;
	padding: 1px;
	display: none;
	width: 122px; 
	color: #003c73;
	background-color: #eeeeee;
	}
  div#dd_menu li:hover ul { 
	display: block; 
	}

  div#dd_menu ul li ul li {
	color: #003c73;
	margin: 0;
	padding: 0px;
	border-bottom: 2px solid #ccc;
	width: 122px;
	} 

  div#dd_menu ul li ul li p a{
	color: #003c73;
	line-height: 15px;
	font-weight: normal;
	}
  div#dd_menu ul li ul li a:hover {
	color: #aaaaaa;
	}
/*  div#content_left{
	position: absolute;
	left: 190px;
	top: 250px;
	width: 60%;
	color: blue;
	}
  div#content_right{
	position: floating;
	left: 60%;
	top: 0px;
	width: 40%;
	border-left: #aaaaaa thin-dotted;
	}
*/
.include-link{
	position: relative;
	font-size: 10px;
	text-align: right;	
}
.include-link a{
	position: floating;
	font-size: 10px;
	width: 150px;
}
.include-link a.include-page-link{
	position: absolute;
	font-size: 10px;
	width: 150px;
	visibility: hidden;
	overflow: invisible;
}
.include-link a.include-edit-link{
	position: relative;
	right: 0px;
	font-size: 9px;
	color: #aaaaaa;
}


/* End */


table#contact {
	width: 100%;
}
table#contact td{
	border: 0px;
}
table#contact IMG{
	padding-right: 20px;
}
div#tiedote{
	font-size: 8px;
	color: white;
	border: 0px solid black;
}
div#tiedote ul{
	font-size: 8px;
	color: white;
}

div#tiedote ul li a{
	color: white;
}
/*
<!--[if IE 6]>
html #globalmenu a.www { padding-left: 14px; background: url(../img/moin-www-ee.png) left center no-repeat; }
html #globalmenu a.http { padding-left: 14px; background: url(../img/moin-www-ee.png) left center no-repeat; }
html #globalmenu a.https { padding-left: 14px; background: url(../img/moin-www-ee.png) left center no-repeat; }
html #globalmenu ul li a{
	margin-left: 5px;}

<!--[endif]>

*/
#page ul { 
	list-style-type:  none;
	margin: 0px;
	margin-bottom: 5px;
	padding-left: 10px;
 }
#page ul li a{
	text-decoration: none;
}
#page a{
	text-decoration: none;
}
#pagelocation {
	width: 300px;
	height: 22px;
 	overflow: hidden;
}
#pagelocation a{
	text-decoration: none;
}
TABLE#PersonalPage {
	width: 100%;
	border:0px solid #aaaaaa;
	text-align: left;
}
#page ul li ul{
	padding: 0;
	margin-top: 0px;
	padding-left: 16px;
	list-style-type: circle; 
}
#page ul li ul li {
	padding: 0px;
}
#page ul li ul li a{
	padding: 0px;
}

#backlink {
	position: floating;
	right: 0px;
	text-align: right;
	font-weight: bold;
}
#tilavaraus {
}
#tilavaraus th {
	text-align: left;
	valign: top;
	padding-left: 5px;
	border: 1px solid black;
	background: #003c73;
	color: #aaaaaa;
}
#tilavaraus td {
	text-align: left;
	valign: top;
	padding-left: 5px;
	border: 1px solid black;
	background: #ccc;
}
#Eng {
	position: absolute;
	top: 188px;
	left: 0px;
	width: 180px;
	text-align: right;
	z-index: 50;
}
#Eng a{
	font-size: 11px;
	font-weight: bold;
	text-decoration: none;
	padding-left: 25px;
	background: url(../img2/EN.gif) left center no-repeat; 
}
#Fi {
	position: absolute;
	top: 188px;
	left: 0px;
	width: 180px;
	text-align: right;
	z-index: 50;
}
#Fi a{
	font-size: 11px;
	font-weight: bold;
	text-decoration: none;
	padding-left: 25px;
	background: url(../img2/FI.gif) left center no-repeat; 
}

#Palaute {
	padding: 15px;
	margin-right: 20px;
}
table.palaute {
	width: 700px;
	border: 0px solid black;
}
table.palaute td{
	border: 0px solid black;
}
div.Videoframe {
	width: 320px;
	height: 265px;
	margin: 5px;
        padding: 5px;
}

