@charset "utf-8";
/* ----------|| Basic Styling ||---------- */
* {
	padding: 0;
	margin: 0;
	}
body {
	background: #000 url(../images/bigbg.jpg) no-repeat top center;
	font-family: Tahoma, Verdana, Arial, sans-serif;
	font-size: 74%;
	line-height: 1,1em;
	word-spacing: 8 em;
	color: #333333;
	text-align:center;
	}
h1 {
	font-size: 140%;
	color: #6f0000;
	font-family: Georgia, Tahoma, Verdana, Arial;
	font-weight:bold;
	}
	
h2 {
	font-size: 100%;
	color: #5e5e5e;
	font-weight:normal;
	}
a {
	color: #6f0000;
	text-decoration: none;
	}
a:hover {
	color: #3c8d31;
	text-decoration: underline;
	}
#wrapper {
		margin-right:auto;
		margin-left:auto;
		margin-top:0px;
		padding:0px;
		text-align:left;
		width: 850px;

	}
#clear {
	clear: both;
	}
#spacer {
	float: left;
	height: 235px;
	width: 50px;
	background: url(../images/spacer.gif) no-repeat;
	}
.img {
	opacity: 0.9;
	filter:alpha(opacity=90)
	}
.imageFrame {
	padding: 3px;	
	border-bottom: 1px solid #000000;
	border-right: 1px solid #333333;
	border-top: 1px solid #b4b4b4;
	border-left: 1px solid #b4b4b4;
	margin-top: 2px;
	margin-right: 8px;
	margin-bottom: 2px;
	opacity: 0.9;
	filter:alpha(opacity=90)
}
.imageFrame2 {
	padding: 3px;	
	border-bottom: 1px solid #000000;
	border-right: 1px solid #333333;
	border-top: 1px solid #b4b4b4;
	border-left: 1px solid #b4b4b4;
	margin-top: 2px;
	margin-right: 8px;
	margin-bottom: 2px;
}	
/* ---- Header & Navigation ----*/

#topNavigation {
	float: left;
	position: relative;
	height: 30px;
	width: 850px;
/*navigaation taustis & sisällön yläosa*/
	}

#navigation ul {
	padding: 0;
	margin: 0;
	list-style: none;
	}
#navigation ul li {
	float: left;
	}
#navigation ul a {
	padding: 0.5em 1.5em;
	font-size: 12px;
	line-height: 1.5em;
	text-decoration: none;
	font-weight:bold;
	color: #FFFFFF;
	float: left;
	letter-spacing: 0.1em;
	}
#navigation ul a:hover {
	color: #CCCCCC;
}
li#main-nav a:hover, li#main-nav a:active {
	background: url(../images/gavain.png) no-repeat left top;
}
li#news-nav a:hover, li#news-nav a:active {
	background: url(../images/gavain.png) no-repeat left top;
}
li#about-nav a:hover, li#about-nav a:active {
	background: url(../images/gavain.png) no-repeat left top;
}
li#references-nav a:hover, li#references-nav a:active {
	background: url(../images/gavain.png) no-repeat left top;
}
li#contact-nav a:hover, li#contact-nav a:active {
	background: url(../images/gavain.png) no-repeat left top;
}
#language {
	float:right;
	position: absolute;
	vertical-align:middle;
	top: 0.5em;
	right: 1.4em;
	}
#language a {
	font-size: 12px;
	padding: 0.5em 0.4em;
	line-height: 1.5em;
	text-decoration: none;
	color: #FFFFFF;
	letter-spacing: 0.1em;
}
#language a:hover {
	color: #CCC;
	}
#topBar {
	float: left;
	position: relative;
	height: 38px;
	width: 850px;
	background: url(../images/ylareunus.jpg) no-repeat; /*navigaation taustis & sisällön yläosa*/
}
	
/* ---- Site Content ----*/

#mainContent {
	float: left;
	position:relative;
	width: 850px;
	min-height: 360px;
	background: #f1f1f1 url(../images/content_tausta.jpg) repeat-x bottom left;
	}
#newsContent {
	background: #f1f1f1 url(../images/mainContent_bg.jpg) repeat-x bottom left;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 5px;
	padding-bottom: 20px;
	}
/* ---- Footer & Secondary Navigation ----*/
#alaPyoristys {
	position: relative;
	float: left;
	height: 27px;
	width: 850px;
	background: url(../images/footer_bg.jpg) no-repeat;	
	}
#footer {
	position: relative;
	float: left;
	height: 30px;
	width: 850px;
	}
#copyright {
	float: left;
	font-size: 85%;
	color: #999;
	padding-left: 10px;
	position: absolute;
	top: 0px;
	}
#bottomNavigation {
	float: right;
	}
#bottomNavigation ul {
	padding: 0;
	margin: 0;
	position: absolute;
	top: 0px;
	right: 10px;
	list-style: none;
	}
#bottomNavigation ul li {
	float: right;
	}
#bottomNavigation ul a {
	padding: 0 0.7em;
	font-size: 85%;
	line-height: 1em;
	text-decoration: none;
	color: #999;
	background:url(../images/link_line.gif) no-repeat left top;
	}
#bottomNavigation ul a.first {
	background: none;
	}
#bottomNavigation ul a:hover {
	color: #CCC;
	}

