body {
	margin: 0;
	padding: 0;
	font: 12px/18px Helvetica, Arial, sans-serif;
	background: #FFFFFF url('images/content_background.jpg') no-repeat top right;
	background-position: 100px 100px;
}

body.bodyhome {
	background-position: 10px 100px;
}

a {
	color: #000000;
}

a:hover {
	color: #00ABEE;
	text-decoration: none;
}

a img {
	border-width: 0px;
}

h4 {
	font-size: 1.0em;
	color: #00baf3;
}

h5 {
	font-size: 1.0em;
	color: black;
	font-weight: bolder;
	margin-top: -5px;
	margin-bottom: 0px;
}

.pdflink {
	display: block;
	padding-left: 30px;
	background: transparent url('images/pdf_link.gif') no-repeat top left;
	height: 20px;
	margin-bottom: 40px;
}

/** This one for Safari */
div#topSearch form input:focus {
    outline: none;
}

div#top {
	height: 74px;
	background: url('images/top_tausta.png') no-repeat;
	border-bottom: 1px solid #232323;
	margin: 0;
	min-width: 965px;
}

a#homeLink {
	position: absolute;
	width: 300px;
	height: 30px;
	left: 42px;
	top: 23px;
    text-decoration:none;
}

/**
*  Ylä-hakupalkin määritykset
*/

div#topSearch {
	text-align: right;
	padding-right: 25px;
}

div#topSearch form, div#topSearch p {
	float: right;	
	margin-top: 25px;
	font-size: 90%;
}

div#topSearch p {
	padding-top: 0;
}

input {
	font-size: 12px/18px;
}

div#searchInputwrapper {
	background:  transparent url('images/search.png') no-repeat top left;
	float: left;
	height: 26px;
	padding-top: 6px;	
	padding-left: 30px;
	padding-right: 14px;
}

div#topSearch input#searchInput {
	border-width: 0;
	background: transparent;
	width: 144px;
	font-size: 80%;
	w\idth: 100px; /* IE6 box model hack */
}
/** deprecated
div#topSearch input#searchSubmit {
	background:  transparent url('images/searchButton.png') no-repeat top left;
	border-width: 0;
	width: 19px;
	height: 19px;
}*/

div#topSearch form img {
	vertical-align: top;
	padding-top: 5px;
	padding-left: 8px;
}

div#topSearch p {	
	padding-top: 4px;
	padding-right: 13px;
}

div#topSearch a {
	color:#000;
}

/**
* Ylänavigoinnin määritykset
*/

div#topnavigation {
	height: 23px !important;
	max-height: 23px;
	background: #a3a3a3 url('images/topnavigation_tausta.png') repeat-x;
	border-top: 1px solid #FFFFFF;
	border-bottom: 2px solid #BFBCB9;
	margin: 0;
	padding-left: 43px;
	min-width: 922px;
}

/**
* Vasemman alanavigoinnin määritykset
*/
div#leftnavigation {
	width: 212px;
	padding: 0;
	background: #FFFFFF url('images/leftnavigation_background.png') repeat-x left top;
	
	/** Min height fast hack */
	min-height: 600px;
  height: auto !important;
  height: 600px;
	
	padding-top: 13px;
	float: left;
	color: #FFFFFF;
	/**
	padding-bottom: 2000px;
	margin-bottom: -2000px;
	**/
	margin-left: 42px;
	
	font-size: 90%;
}

/* IE6 tunkee jostain syystä 20px liikaa marginia, en keksi miksi! */
/* IE6 Only */
* html div#leftnavigation {
	margin-left: 22px;
}

div#leftnavigation ul {
	padding-left: 40px;
	margin-left: 0;
	margin-top: 0;
}

div#leftnavigation ul ul {
	padding-left: 20px;
}

div#leftnavigation li li{
list-style-type: disc;
}
div#leftnavigation li {
	padding: 0px;
	margin: 0px;
	list-style-type: square;
	text-transform: uppercase;
	line-height: 18px;
}

div#leftnavigation a {
	color: white;
	text-decoration: none;
	display: block;
}
div#leftnavigation li.menu-child {
	color: #FFFFFF;
}
div#leftnavigation a:hover, div#leftnavigation li:hover, div#leftnavigation .menu-current, div#leftnavigation li.menu-parent a, div#leftnavigation li.menu-parent {
	color: #00ABEE;
}

/***********************
* Murupolku
************************/

div#youarehere {
	padding-top: 13px;
}

div#youarehere a {
	padding: 3px;
}

div#youarehere a:hover, div#youarehere a.youarehereactive {
	background: #00ABEE;
	text-decoration: none;
	color: black;
}


div#youarehere img {
	vertical-align: text-top;
	padding: 0px 2px;
}

/**
* Itse pääsisältö-divi
*/

div#contentwrapper {	
	min-height: 100%;
	padding: 0;
	margin: 0;
	overflow: hidden;
	padding-right: 0;
	padding-bottom: 11px;
	width: 965px;
	/*border: 1px solid blue;*/
}

div#content {
	width: 425px;
	color: #2A2A2A;
	margin-left: 28px;	
	float: left;	
	/**
	padding-bottom: 2000px;
	margin-bottom: -2000px;
	**/
}

div.pagehome#content, div.pagelegalnotice#content {
	width: 520px;
	margin-left: 44px;
}

/* IE6 tunkee jostain syystä 20px liikaa marginia, en keksi miksi! */
/* IE6 Only */
* html div.pagehome#content {
	margin-left: 22px;
}

div#content h1 {
	margin-top: 23px;
	margin-bottom: 22px;
}

.sIFR-active h1 {
  visibility: hidden;
  font-family: Verdana;
  line-height: 1em;
  font-size: 33px;
  font-size: 33px;
}

div#content h2 {
	color: #00ABEE;
	font-size: 18px;
	margin-bottom: 10px;
}

div#content h3 {
	background-color: #00ABEE;
	padding: 8px 9px;
}

div#content img.floatleft {
	clear: left;
	float: left;
	display: block;
	margin-right: 15px;
	margin-bottom: 5px;
	margin-top: 5px;
}

div#content p {
	margin-bottom: 15px;
	margin-top: 0;
}

div#content ul {
	padding-left: 24px;
	margin-left: 0;
	margin-top: 9px;
	list-style-type: square;
}

div#content li {
	padding-left: 0;
}

div#content li.pdf {
	color: #00ABEE;
}
div#content li.extlink {
	color: #AAAAAA;
}
/**
* Uutisboksi
*/

div.newsbox {
	padding: 13px;
	background: #FFFFFF url('images/newsbox_background.png') no-repeat top left;
}

div.newsbox div.newsitem {
	background: url('images/newsbox_newsitem_newsbutton.png') no-repeat left 8px;
	padding-left: 86px;	
}

/** IE6 */
* html div.newsbox div.newsitem {
	background: url('images/newsbox_newsitem_newsbutton2.gif') no-repeat left 8px;
}

div.newsbox div.publicationsitem {
	background: url('images/newsbox_newsitem_publicationsbutton.png') no-repeat left 8px;
	padding-left: 86px;
	min-height: 60px;
}

/** IE6 */
* html div.newsbox div.publicationsitem{
	background: url('images/newsbox_newsitem_publicationsbutton.gif') no-repeat left 8px;
	height: 60px;
}

div#content div.newsbox a h3 {
	text-decoration: underline;
	color: #2A2A2A;
}

div#content div.newsbox a:hover h3 {
	text-decoration: none;
	color:#00ABEE
}


div#content div.newsbox h3 {
	margin-bottom: 0;
	padding-bottom: 0px;
	font-size: 12px;
	margin-left: 0;
	font-weight: normal;
	padding-left: 0;
	background-color: transparent !important;
}

div#content div.newsbox p {
	font-size: 90%;
	margin-top: 0px;
	padding-top: 0px;
}

ul.publicationarchive {
	margin-bottom: 25px;
}

ul.publicationarchive li {
	padding-top: 10px;
}

ul.publicationarchive li ul li {
	padding-top: 0px;
}

ul.publicationarchive p{
	margin: 0;
}

/**
* Oikean laidan kelluvat boksit
*/

div#rightsidebar {
	float: left;
	font-size: 90%;
	width: 187px;
	margin-left: 50px;
}

div.rightsideitem {
	background: url('images/rightsidebar_2x2_transparent_bg.png') repeat top left;
	padding: 12px;
	margin-top: 12px;
	color: white;
}

/** IE6 0.64 **/
*html div.rightsidebar {
	background: #000000;
	filter:Alpha(Opacity=64);
}

div.rightsideitem img {
	background-color: #000000;
}

div.rightsideitem h3 {
	background-color: transparent;
	margin-top: 0;
	padding: 0;
	font-size: 18px;
	font-weight: normal;
}

div.rightsideitem a {
	color: #FFFFFF;
}

div.rightsideitem a:hover {
	color: #00ABEE;
}

div.rightsideitem a.publication {
	text-decoration: none;
	display: block;
}

/**
* Footer
*/

div#footer {
	clear: both;
	font-size: 9px;
	min-width: 965px;
	position: fixed;
	bottom: 23px;
	right: 23px;
	text-align: right;
}

/** IE6 */
* html div#footer {
	padding-right: 25px;
}

a#recommended {
	font-weight: bold;
	text-decoration: none;
}

/*=:project
    scalable Inman Flash Replacement (sIFR) version 3.

  =:file
    Copyright: 2006 Mark Wubben.
    Author: Mark Wubben, <http://novemberborn.net/>

  =:history
    * IFR: Shaun Inman
    * sIFR 1: Mike Davidson, Shaun Inman and Tomas Jogin
    * sIFR 2: Mike Davidson, Shaun Inman, Tomas Jogin and Mark Wubben

  =:license
    This software is licensed and provided under the CC-GNU LGPL.
    See <http://creativecommons.org/licenses/LGPL/2.1/>    
*/

/*---- sIFR ---*/
.sIFR-flash {
  visibility: visible !important;
  margin: 0;
  padding: 0;
}

.sIFR-unloading .sIFR-flash {
  visibility: hidden !important;
}

.sIFR-replaced, .sIFR-ignore {
  visibility: visible !important;
}

.sIFR-alternate {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  display: block;
  overflow: hidden;
}

.sIFR-replaced div.sIFR-fixfocus {
  margin: 0pt; 
  padding: 0pt; 
  overflow: auto; 
  letter-spacing: 0px; 
  float: none;
}

.sIFR-dummy { 
  width: 0px;
  height: 0px;
  margin-left: 42px;
  z-index: 0;
}

/*---- Header styling ---*/

/* LIGHTBOX POPUP */
/* ========================= JAVABOX =============================*/

#overlay{display:none; position:absolute; top:0; left:0; width:100%; height:100%; z-index:5000;	background-color:#000;	-moz-opacity: 0.8; opacity:.80;	filter: alpha(opacity=80);}
#overlay[id]{position:fixed;}

#lightbox {
	background-color: #ffffff;
	padding: 10px 10px;
}

#lightboxDetails{
	font-size: 0.8em;
	padding-top: 0.4em;
	}	
#lightboxCaption{ float: left; }
#keyboardMsg{ float: right; }

#lightbox img{ border: none; } 
#overlay img{ border: none; }
