html {}
body {
	margin:0;
	padding:0;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	background-color:#F7F7F7;
	font-size: 12px;
	color: #000;
	line-height: 18px;
	background-image: url(../img/BG_img.gif);
	background-repeat: repeat-x;
}

* html #wrap {
}


p, #myHTMLContent ul {

	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #000;
	line-height: 18px;
}

p a, p a:visited, #myHTMLContent ul a, #myHTMLContent ul a:visited  {
	text-decoration: none;
	color: #103D6E;
	border-bottom: 1px dotted #ccc;
	margin-bottom: 3px;
	background-color: #FDFDFD;
	

	line-height: 18px;
}

p a:hover, #myHTMLContent ul a:hover  {
	text-decoration: none;
	color: #103D6E;
	background-color: #F4F9FD;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #103D6E;
}



img {
	behavior: url("pngbehavior.htc");
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}



#wrap {
	min-height:100%;
	width:871px;
	margin:auto;
	position:relative;
	background-image: url(../img/BG_site.gif);
	background-repeat: repeat-y;
	background-position: right top;
	margin-bottom: 200px;
}


#header {
	color:#FF00FF;
	padding:0;
	height:199px;
	background-image: url(../img/myTop.gif);
	background-repeat: no-repeat;
	background-position: right top;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: -30px;
	margin-left: 0;
}
#header img {
	position: static;
	padding-top: 15px;
	padding-left: 296px;
}

p {margin-left:10px; margin-bottom:0px;margin-top:0px;padding:5px; }

#main td p, #main tr p{
	margin-left:0px;
	padding:0px;
}
h1 {
	position:relative;
	line-height:20px;
	margin:0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 20px;
	left: 0px;
	color: #3F6017;
	font-weight: lighter;
}
h2 {
	font-weight: bold;
	font-size: 11px;
	margin:0;
	color: #666666;
}


h2 a {

	color: #466A6C;
	margin:0;
	text-decoration: underline;
}

h2 a:visited {

	color: #00939B;
	

	text-decoration: underline;
	
}

h2 a:hover {

	color: #224749;
	text-decoration: none;

}



#flash {
	/*MARGIN: 400px 5px 0px 27px;*/
	z-index:1;
	MARGIN-LEFT: -30px;
	MARGIN-BOTTOM: -390px;
}

#main {
	margin-left:315px;
	margin-bottom: 40px;
	border-top-width: 0px;
	border-top-style: solid;
	border-top-color: #B7BEC2;
	margin-top: 15px;
	width: 480px;
	padding-top: 30px;
}

#clearfooter {
clear:both;
height:40px;
overflow:hidden;
}
#footer {
	position:absolute;
	bottom:0px;
	height:160px;
	width:871px;
	margin-left:0px;
	margin-right: 200px;
	margin-bottom: -160px;

	background-image: url(../img/BG_bottom.gif);
	background-repeat: no-repeat;
	background-position: right -4px;

/*
	position:absolute;
	bottom:0;
	height:40px;
	width:582px;
	margin-left:200px;
	margin-right: 200px;
	margin-bottom: 10px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #B7BEC2;
	background-image: url(footerlogo.png);
	background-repeat: no-repeat;
	background-position: right -4px;
	
*/
}
#footer p {
	margin:0;
	font-size: 9px;
	line-height: 30px;
}
* html #main {
height:1px;
}

.png { 
  behavior: url( pngHack.htc ); 
  padding: 0; 
  }
  

strong, b, B {
	font-size: 11px;
	font-weight: bold;
	color: #666666;
}


a img,:link img,:visited img { border:none }

/* de-italicize address */
address { font-style:normal }

/* more varnish stripping as necessary... */

/*** reset some basic style
******************************************************************/


/**  Pääsivu moduulit **/ 

.date {
	visibility: hidden;
	font-size: 9px;
	font-weight: normal;
	color: #8F8F8F;

	/*word-spacing: 1pt;*/
	letter-spacing: 1px;

	}

#mainItem {
	width: 420px;
	float: left;
	margin: 3px;
	/*position: relative;*/
}

#mainItemLinks {
	height: 600px;
	width: 0px;
		/*position: relative;
	background: #F8FAFA;
	*/
	float: left;
	margin: 3px;
	
	border-top: 0px dotted #224749;
	border-left: 0px dotted #224749;
	border-right-width: 0px;
}

#mainItems {
	width: 35%;
	float: left;
	margin: 3px;
}

#mainItemsLinks {
	width: 18%;
	height: 95%;
	float: right;
	margin: 3px;
	background: #F8FAFA;
	border-top: 1px dotted #224749;
	border-left: 1px dotted #224749;
	border-right-width: 0px;

}


#mainItemsLinks p, #mainItemLinks p {
	
	margin: 1; 
	
	/*background: url(http://www.ngmedia.fi/modul_img/modul_main/004_pic.gif) no-repeat left top;
	#E3ECEC 
	text-indent: 10pt;*/
	padding: 0px 15px;
	
	
	font-size: 12px;
	font-weight: normal;
	color: #000;
	/*
	
	*/
}

#mainItemsLinks img, #mainItemLinks img {

	
	margin: 1; 
	float: right;
	/*
	background: #FFF;
	#E3ECEC 
	text-indent: 10pt;*/
	padding: 0px 15px;
	color: #000;

}
#mainItemsLinks p a, #mainItemLinks p a {

	text-decoration: none;
	text-decoration: underline;
	color: #466A6C;
	/*
	margin-left: 0px;
	padding: 0px;
	*/
}

#mainItemsLinks p a:hover, #mainItemLinks p a:hover {

	
	text-decoration: none;
	color: #2F4E50;
	/*
	margin-left: 0px;
	padding: 0px;
	*/
}

#mainItem p, #mainItems p {
	margin-bottom: 15px;
	/* dashed dotted */

}



#mainItem h2 a, #mainItems h2 a {
	color: #466A6C;
	padding-left: 4px;
	text-decoration: underline;

}

#mainItem h2 a:visited, #mainItems h2 a:visited {
	color: #224749;
	padding-left: 4px;
	text-decoration: underline;

}

#mainItem h2 a:hover, #mainItems h2 a:hover {
	color: #224749;
	padding-left: 4px;
	text-decoration: none;

}
#log {
	float: none;
	height: 73px;
	width: 256px;
	margin-top: 10px;
	position: absolute;
	margin-left: 0px;
}

#myFormB, #myFormC, #myFormA {
	width:500px;

	margin-top: 5px;
	margin-bottom: 5px;
}



#myFormB .myText, #myFormC .myText, #myFormA .myText {
	font-size:12px;
	width: 250px;
	position: relative;
	float: left;

}
#myFormA .myInput, #myFormB .myInput, #myFormC .myInput {
	width: 150px;
	border: 1px solid #333333;
	background-color: #F5F5F5;
}
#myFormD h1 {
	font-size: 12px;
	font-weight: bolder;
	margin-top: 5px;
	margin-bottom: 5px;
	background-color: #EBEBEB;
}
