@charset "utf-8";
body {
	font: 100% Verdana, Arial, Helvetica, sans-serif;
	background: #C0C0C0;
	margin-top: 0;/* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 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;
	position:relative;
	clear: both;
	width:600px;
	height:auto;
	z-index:auto;
	left: auto;
	top: 0px;
	visibility: visible;
	overflow: visible;
	overflow-x:auto; overflow-y:auto;
	margin-left: auto; margin-right: auto;
}
.navigation {
	background:#424d63;	
}  

#valikko
{
	position: absolute;
	left:200px;
}
#logo {
	background: #001326;/*#424d63;*/
	font: 100% "Comic Sans MS","Andy MT";	
	color: #FFFFFF;
	/*float: left;*/
	list-style: none;
	width:600px;
	height:75px;
	margin: 0;
	padding: 0;
	/*width: 100%;*/
	font-weight: bold;
	font-size: 30px;
	/*text-align: right;*/
}/*
#menu {
	background: #424d63;
	width:600px;
	/*float: left;*/
/*	list-style: none;
	margin: 0;
	padding: 0;
	/*width: 100%;*/
/*}
#menu li {
	float: left;
	font-size: 14px;
	font: 100% "Comic Sans MS","Andy MT","Lucida Sans Unicode", "Bitstream Vera Sans", "Trebuchet Unicode MS", "Lucida Grande", Verdana, Helvetica, sans-serif;
	margin: 0;
	padding: 0;
}
#menu a {
	background: #424d63 url("images/seperator.gif") bottom right no-repeat;
	color: #ccc;
	display: block;
	float: left;
	margin: 0;
	padding: 8px 12px;
	text-decoration: none;
	font-weight:bold;
}
#menu a:hover {
	background: #2580a2 url("images/hover.gif") bottom center no-repeat;
	color: #fff;
	padding-bottom: 8px;
	}
*/
A {
 /* color: #ef5b13;*/
  color: #029;
  text-decoration: none;
 /* font-size: 10pt;*/ 
 font-weight:bold;
}

A:hover {
  color: #f00c27;
  text-decoration: underline;
  /* font-size: 10pt;*/
  font-weight:900;
}
.navi {
	font-family: "Comic Sans MS","Andy MT";
font-weight:bold;
font-size: 14pt;	
}  

#teksti {
font-family: "Comic Sans MS","Andy MT";
font-weight:bold;
text-align:justify;
font-size: 13pt;
background:#FFFFFF; 
padding:2px 2px;
width:596px;
/*padding:0 20px;*/
}

#teksti2 {
font-family: "Comic Sans MS","Andy MT";
font-weight:bold;
text-align:left;
font-size: 13pt;
background:#b5bac5; 
padding:2px 2px;
width:596px;
/*padding:0 20px;*/
}

#paatosotsikko {
background:#33FF33;
}
{position: relative;
		 left: 3in}



.rivi { position: relative; width: 600px; left:0;background:#FFFFFF;}
.left { width: 288px; height: 195px; left:0; }
.right { width: 288px; height: 195px; left:auto; } 

/* Tips for Elastic layouts 
1. Since the elastic layouts overall sizing is based on the user's default fonts size, they are more unpredictable. Used correctly, they are also more accessible for those that need larger fonts size since the line length remains proportionate.
2. Sizing of divs in this layout are based on the 100% font size in the body element. If you decrease the text size overall by using a font-size: 80% on the body element or the #container, remember that the entire layout will downsize proportionately. You may want to increase the widths of the various divs to compensate for this.
3. If font sizing is changed in differing amounts on each div instead of on the overall design (ie: #sidebar1 is given a 70% font size and #mainContent is given an 85% font size), this will proportionately change each of the divs overall size. You may want to adjust based on your final font sizing.
*/
.oneColElsCtrHdr #container {
	width: 728px; /*46em; */ /* this width will create a container that will fit in an 800px browser window if text is left at browser default font sizes */
	background: #FFFFFF;
	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. */
}
.banner {
        widht: 728px;
        position:relative; left:-20px;
        }
.oneColElsCtrHdr #header { 
	background: #0066FF; 
	padding: 0 10px 0 20px;  /* 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. */
} 
.oneColElsCtrHdr #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 */
}
.oneColElsCtrHdr #mainContent {
	padding: 0 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
	background: #FFFFFF;
}
.oneColElsCtrHdr #footer { 
	padding: 0 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	background:#DDDDDD;
} 
.oneColElsCtrHdr #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 */
}



 /* common styling */
.menu {
font-family: verdana, sans-serif; 
position:relative; 
font-family: tahoma, geneva, "lucida sans unicode", "lucida grande",verdana, sans-serif;
margin-bottom:220px;
}
.menu ul {
padding:0; 
margin:0;
list-style-type: none;
}
.menu ul li {
position:relative;
float:left;
}

.menu ul li a, .menu ul li a:visited {
display:block; 
text-decoration:none; 
width:25px;
height:100px;
font-weight:bold;
background:transparent url(tab.gif) top right no-repeat; 
text-indent:-9999px;
}

.menu ul li ul {
visibility:hidden;
position:absolute;
width:190px;
top:0; 
left:0;
border:1px solid #444;
}

table {
margin:0; padding:0; border:0; 
border-collapse:collapse;
font-size:1em;
}

/* specific to non IE browsers */
.menu ul li:hover a {
color:#fff;
width:215px;
}

.menu ul li:hover ul {
visibility:visible;
}

.menu ul li:hover ul li a {
display:block; 
background:#eee;
border:0;
margin:0;
text-indent:0;
color:#333;
font-weight:normal; 
font-size:0.9em;
height:auto; 
line-height:1em; 
padding:5px; 
width:180px;
text-align:left;
}

.menu ul li:hover ul li a:hover {
background:#888; 
color:#fff;
}



.nojava{
	border:none;
	border:0px;
	margin:0px;
	padding:0px;
	font: 67.5% "Lucida Sans Unicode", "Bitstream Vera Sans", "Trebuchet Unicode MS", "Lucida Grande", Verdana, Helvetica, sans-serif;
	font-size:14px;
	font-weight:bold;
	}
.nojava ul{
	background:#333333;
	height:35px;
	list-style:none;
	margin:0;
	padding:0;
	}
	.nojava li{
		float:left;
		padding:0px;
		}
	.nojava li a{
		background:#333333 url("images/seperator.gif") bottom right no-repeat;
		color:#cccccc;
		display:block;
		font-weight:normal;
		line-height:35px;
		margin:0px;
		padding:0px 25px;
		text-align:center;
		text-decoration:none;
		}
		.nojava li a:hover, .nojava ul li:hover a{
			background: #2580a2 url("images/hover.gif") bottom center no-repeat;
			color:#FFFFFF;
			text-decoration:none;
			}
	.nojava li ul{
		background:#333333;
		display:none;
		height:auto;
		padding:0px;
		margin:0px;
		border:0px;
		position:absolute;
		width:225px;
		z-index:200;
		/*top:1em;
		/*left:0;*/
		}
	.nojava li:hover ul{
		display:block;
		
		}
	.nojava li li {
		background:url('images/sub_sep.gif') bottom left no-repeat;
		display:block;
		float:none;
		margin:0px;
		padding:0px;
		width:225px;
		}
	.nojava li:hover li a{
		background:none;
		
		}
	.nojava li ul a{
		display:block;
		height:35px;
		font-size:12px;
		font-style:normal;
		margin:0px;
		padding:0px 10px 0px 15px;
		text-align:left;
		}
		.nojava li ul a:hover, .menu li ul li:hover a{
			background:#2580a2 url('images/hover_sub.gif') center left no-repeat;
			border:0px;
			color:#ffffff;
			text-decoration:none;
			}
	.nojava p{
		clear:left;
		}	




