﻿@charset "utf-8";
/* CSS Document */

body {
	font: 100% Verdana, Arial, Helvetica, sans-serif;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 10px 0 0 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #000000;
	background-color: #99CCFF;
}
.thrColFixHdr #container {
	width: 780px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	background: #CACACA;
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	border: 1px solid #000000;
	text-align: left; /* this overrides the text-align: center on the body element. */
}
.thrColFixHdr #header {
	background: #FFFFFF;
	padding: 0;
}


.thrColFixHdr #header h1 {
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}
.thrColFixHdr #valikko {
	background: #FFFFFF;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
	font-size: 75%;
	padding-top: 0;
	padding-right: 0px;
	padding-bottom: 0;
	padding-left: 0px;
}
.thrColFixHdr #valikko h1 {
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}


.thrColFixHdr #valikko ul {
	display:block;
	margin:0px;
	padding:2px;
	list-style:none;
	z-index: 1001;
	text-align:center;
	padding-left:0px;
	background-color: #FFFFFF;
}
.thrColFixHdr #valikko a  {
	display:block;
	width:10em;
	text-decoration:none;
	line-height:2em;

}


/*
.thrColFixHdr #valikko li:visited ul {
	display:block;
	width:10em;
	text-decoration:none;
	line-height:2em;
}

*/
.thrColFixHdr #valikko li {
	float:left;
	width:10em;
}
.thrColFixHdr #valikko li ul {
	display:none

}
.thrColFixHdr #valikko li:hover ul {
	position:absolute;
	color:#ffffff;
	background-color: #000099;
	display:block;
	width:10em;
}
.thrColFixHdr #valikko li ul li a {
	float:none;
	width: 10.1em;
	color: #000099;
	/* t&auml;m&auml; on koe */	
}
.thrColFixHdr #valikko li {
	background:#Ffffff;
	text-align:left;
	display:block;
	color:#000099;
	
}
.thrColFixHdr #valikko li:hover {
	padding-left:0px
}
/*.thrColFixHdr #valikko li ul li {	font-size:85%}*/
					
.thrColFixHdr #valikko li:hover ul li {
	border:1px;
	border-color:#000099;
	padding:4px;
	background-color: #FFFFFF;
}
.thrColFixHdr #valikko a:hover {
	text-decoration:none;
	background-color:#000099;
	color:#FFFFFF;
}
.thrColFixHdr #sidebar1 {
	float: left; /* since this element is floated, a width must be given */
	width: 170px; /* padding keeps the content of the div away from the edges */
	background-color: #cacaca;
	color: #000099;
	padding-top: 15px;
	padding-right: 10px;
	padding-bottom: 15px;
	padding-left: 10px;
}
.thrColFixHdr #sidebar2 {
	float: right; /* since this element is floated, a width must be given */
	width: 160px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
	background: #CACACA; /* the background color will be displayed for the length of the content in the column, but no further */
	padding: 15px 10px 15px 20px; /* padding keeps the content of the div away from the edges */
	color: #000099;
	text-align: center;
}
.thrColFixHdr #mainContent {
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	margin-top: 0px;
	margin-right: 200px;
	margin-bottom: 0;
	margin-left: 200px;
	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
	font-size: 80%;
	background-color: #FFD3A8;
	color: #663300;
}
.thrColFixHdr #mainContent h1 {
	color: #663333;
	font-size:24px;
}
.thrColFixHdr #mainContent h2 {
	color: #663333;
	background-color: #FFFFCC;
}
.thrColFixHdr #mainContent pre {
	color: #663333;
	font-size:12px;
}
.thrColFixHdr #footer {
	padding: 0 10px 0 20px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	background:#DDDDDD;
}
.thrColFixHdr #footer p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
	height:0;
	font-size: 1px;
	line-height: 0px;
}
