/***********************************************************************************/
/* ERMS CSS FILE - Edited by Kari-Pekka Mikkola 13.8.2008		           */
/* Notice about IE7 100% height hack				                   */
/**********************************************************************************/


html {
	height: 100%; 
}

body { 
	height: 100%;
	margin: 0;
	padding: 0;
	font-family: arial, verdana, sans-serif;
	background: url(images/bg.jpg);
	font-size: 100%;
	vertical-align: top;
	text-align: center; /* Center alignment for ie6 if xmnls is used in html-tag */
}

/**********************/
/* Layout begins here */
/**********************/

/* Footerin asemointi 96% ei toimi IE7, joka tulkitsee korkauden absoluuttisesti näytön korkeudesta, ainakin perusasetuksilla*/
#container {
	display: table; /* Mozilla vaatii tämän jotta tausta toistuu */
	vertical-align: top;
	text-align: left; /* IE6 correction of content alignment for centering body */
	background: #EBF3F5 url(images/bg_content.jpg) repeat-y top center; 
	margin: 0 auto 0 auto;
	width: 760px;
	/*** Min-height hack start  */
	height: 96%; /* IE6, Mozilla 1.5, 2*/
	padding: 0;
}

/* Basic hack  (min-height; 96%; height: auto !import; height: 96%) did not work in one css-file, IE7 had to have its own */


#masthead {
	width: 760px;
	height: 270px;
	background: url(images/bg_masthead.jpg) no-repeat;
	margin: 0;
}

/*** Language selection styling */


#masthead #language {
	display: inline;
	float: left;
	width: 500px;
	padding: 0;
	margin: 27px 0 0 27px;
}

#language a,#language a:link, #language a:active, #language a:visited {
	font-size: 0.9em;
	font-weight: normal;
	color: #005093;
	text-decoration: none;
	margin: 0 7px 0 0;
	padding: 0 0 0 21px;
	text-decoration: none;
}

#language a:hover {
	text-decoration: underline;
}

#language #lang_active {
	text-decoration: underline; 
}

#language .flag_fi {
	background: url(images/flag_finland.jpg) no-repeat;
}

#language .flag_ru {
	background: url(images/flag_russia.jpg) no-repeat;
}

#language .flag_en {
	background: url(images/flag_uk.jpg) no-repeat; 
	}


/*** Navigation position and styling */
#navigation, #navigation_fi, #navigation_ru {
	display: inline;
	float: left;
	width: 695px;
	padding: 0;
	margin: 200px 0 0 38px;
	font-family: tahoma, sans serif;
	font-size: 0.8em;
	letter-spacing: 0.01em;

}

#navigation_ru {
	margin: 200px 0 0 38px;
	width: 700px;
}

#navigation_ru {
	margin: 200px 0 0 33px;
	width: 700px;
	letter-spacing: 0;
}

#navigation a, #navigation a:link, #navigation a:active, #navigation a:visited  {
	font-weight: normal;
	color: #005093;
	text-decoration: none;
	margin: 0 3px 0 3px;
	padding: 0;
}

#navigation_fi a, #navigation_fi a:link, #navigation_fi a:active, #navigation_fi a:visited,
#navigation_ru a, #navigation_ru a:link, #navigation_ru a:active, #navigation_ru a:visited   {
	font-weight: normal;
	color: #005093;
	text-decoration: none;
	margin: 0;
	padding: 0;
}


#navigation a:hover, #navigation_fi a:hover, #navigation_ru a:hover {
	color:  #CD0020;
	text-decoration: none;
}

#navigation #active_menu, #navigation_fi #active_menu, #navigation_ru #active_menu  {	
	color: #CD0020;
	}
 
#main-column {
	display: block;
	vertical-align: top;
	margin: 0;
	padding: 0 60px 0 60px;
	width: 640px;
	height: auto;
}

#content { 
	display: inline;
	float: left;
	margin: 20px 0 0 0;
	padding: 0;
	height: auto;
}

#left_col {
	display: inline;
	float: left;
	width: 360px;
	margin: 0 40px 0 0;
	padding: 0;
	height: auto;
}

#indexpage_news {
	display: inline;
	float: left;
	width: 238px;
	margin: 0;
 	padding: 0;
}

.clear {
	clear: both;
	height: 10px;
	overflow: hidden;
}

#footnote {
	display: block;
	width: 760px;
	height: 4%;
	clear: both;
	margin: 0 auto;
	padding: 0;
	width: 760px;
	height: 35px;
	background:  url(images/bg_footnote.jpg) no-repeat;
}

#footer { 
	text-align: center;
	margin: 0;
	padding: 10px 0 0 0;
	font-family: verdana, arial;
	font-size: 0.7em;
	color: #666666;
}

#footer a, #footer a:link ,#footer a:visited 
	{
	color: #666666;
	text-decoration: none ;
	}

#footer a:hover {
	color: blue;
	text-decoration: none;
	}

.highlight-box {
	float: right;
	width: 250px;
	min-height: 200px;
	margin: 0;
	padding: 0;
	background: url(images/bg_highlightbox.jpg) no-repeat;
}


/*** Newsflash styling */

.news_today {
	display: block;
	float: right;
	margin: 0;
	padding: 0 4px 1px 0;
	font-family: verdana, arial;
	font-size: 11px;
	font-weight: normal;
	color: black;
}

.news_header {
	display: block;
	float: left;
	height: 19px;
	width: 238px;
	margin: 0;
	padding: 0;
	background: url(images/bg_news_header.jpg) no-repeat;
}

.news_header h1 {
	text-align: left;
	font-family: arial;
	font-size: 12px;
	font-weight: bold;
	margin: 0;
	padding: 3px 10px 0 10px;
	color: black;
	}



.news_lines {
	display: block;
	float: left; 
	width: 238px;
	margin: 0;
	padding: 0;
	background: url(images/bg_news_lines.jpg) repeat-y;
}
.news_lines h1 {
	text-align: left;
	font-family: arial;
	font-size: 12px;
	font-weight: bold;
	margin: 0;
	padding: 0 10px 0.6em 10px;
	color: #005093;
}

.news_date {	
	font-family: verdana; 
	font-size: 11px;
	font-weight: normal;
	color: #444;
	margin: 0;
	padding: 0 0 0 2px;
}

.read_more { color: blue; }

.read_more a, .read_more a:link, .read_more a:active, .read_more a:visited {	
	font-family: verdana; 
	font-size: 11px;
	font-weight: normal;
	color: blue;
	margin: 0;
	padding: 0 0 0 2px;
	text-decoration: none;
}

.read_more a:hover {
	text-decoration: underline;
	}
	
.news_lines p {
	font-family: arial; 
	font-size: 12px;
	font-weight: normal;
	color: black;
	margin: 0;
	padding: 0 10px 1em 10px;
	text-decoration: none;
}

.news_footer {
	display: inline;
	float: left;
	height: 10px;
	width: 238px;
	margin: 0;
	padding: 0;
	background: url(images/bg_news_footer.jpg) no-repeat;
}

/*** Form styling */
form {
	margin: 0;
	padding: 0;
}



/*****************************/
/*   Content styling               */
/*****************************/

p, h2 { 
	text-align: left;
	margin: 0;
	font-family: arial, verdana, times new roman;
	font-size: 0.9em;
	line-height: 1.3em;
}

p {
	font-weight: normal;
	padding: 0 0 1em 0; 
	font-size: 0.9em;
}

h2 {	
	font-weight: bolder;
	padding: 0.5em 0 0.4em 0;
	font-size: 1.0em;
}

h1 {
	text-align: left;
	margin: 0;
	padding: 0 0 0.8em 0;
	font-family: haettenschweiler, impact, tahoma, times new roman;
	font-size: 1.55em;
	font-weight: normal;
	color: #005093;
	letter-spacing: 0.03em;
}


/*** Basic link styling */
a, a:link, a:visited {
	color: blue;
	text-decoration: none;
}
a:hover {
	color: blue;
	text-decoration: underline;
}


/*** List styling */
#content ul, #content ol {
	margin: 0 0 10px 25px;
	padding: 0;
	color: black;
}

#content ul li {
	margin: 0;
	padding: 0 0 0.3em 5px;
	font-weight: normal; 
	font-family: arial; 
	font-size: 0.9em; 
	line-height: 1.3em;
	list-style: disc; 
}

#content ol li {
	margin: 0;
	padding: 0 0 0.4em 5px;
	font-weight: normal; 
	font-family: arial; 
	font-size: 0.9em; 
	line-height: 1.3em;
} 

#content .img_float_left {
	display: inline;
	float: left;
	padding: 0;
	margin:0 15px 15px 0;
	border: 1px solid black;
	} 

#content td {
	vertical-align: middle;
	width: 30%;
	}

#content .logoimages {
	margin: 0;
	padding: 0 0 20px 60px;
	border: 0;
	} 
	
/* Emails */

/* ru: */

#image_preload {
	visibility: hidden;
	display: none;
	}

em {
	display: none;
}

a:link.e_office_fi, a:active.e_office_fi, a:visited.e_office_fi {
	margin: 0 0 0 0;
	padding: 0 88px 0 0;
	background: transparent url('images/e_office_fi_01.gif') no-repeat 1px 1px;
	text-decoration: none;

}
a:hover.e_office_fi {
	background: transparent url('images/e_office_fi_02.gif') no-repeat 1px 1px;
	text-decoration: none;
}

a:link.e_mail_ru, a:active.e_mail_ru, a:visited.e_mail_ru {
	margin: 0 0 0 0;
	padding: 0 94px 0 0;
	background: transparent url('images/e_mail_ru_01.gif') no-repeat 1px 1px;
	text-decoration: none;
}

a:hover.e_mail_ru {
	background: transparent url('images/e_mail_ru_02.gif') no-repeat 1px 1px;
	text-decoration: none;
}

/* e imgs */

.e_fimera {
	position: relative;
	top: 3px;
	}