tml, body, form, h1, h2, h3, h4, p {
	margin: 0;
	padding: 0;
}

body {
	background: #253d49 url(../images/mainbg.jpg) repeat;
	font: 76% Arial, Helvetica, sans-serif;
	color: #455157;
}

/* layout */

div#wrap {
	width: 841px;
	margin: 0 auto;
}

div#topbar {
	background: url(../images/topbar.jpg) repeat-x;
	height: 6px;
}

div#header {
	padding: 10px 0 0 0;
}

div#logo {
	width: 227px;
	height: 64px;
	background: url(../images/logo.gif) no-repeat;	
}

/* hide from IE6 */
div>div#logo {
	background: url(../images/logo.png) no-repeat;	
}


div#header .header-right {
	float:right;
	margin: 20px 0 0 0;
	font-weight:bolder;	
}

div#header .header-right span {
	color: #fff;
}

div#header .header-right a {
	margin: 0 0 0 30px;
}


div#mainmenu {
	float: right;
}

div#contentwrap {
	clear: both;
	background: #fff;
	padding: 8px 20px;
	min-height: 400px;
}

div#snapshot {
	text-align: left;
	margin: 0 0 10px 0;
}

div#splash {
	margin-top: 5px;
}


div#content {
	
	width: 550px;

}

div#content-wide {	
	width: 798px;

}

div#sidebar {
	float: right;
	width: 218px;
	padding-left: 10px;
}

div#footer {
	clear: both;
	background: #fff;
	padding: 15px;
	margin: 20px 0 20px 0;
}


div#footer .txt {
	color:#65767f;
	font-size:90%;
}

div#footer .txt-right {
	float:right;
	color:#65767f;
	font-size:90%;
}
div#footer .txt-right a{
	color:#65767f;
}



/* päävalikko */
div#mainmenu ul {

	padding: 0;
	list-style: none;
}

div#mainmenu ul li {
	float: left;
	width: 123px;
	height: 25px;
	text-align: center;
	background: #64777e url(../images/bg_mainmenu_li.jpg) no-repeat;
	margin-left: 2px;
}

div#mainmenu ul li.selected {
	background: #fff url(../images/bg_mainmenu_li_over.jpg) no-repeat;
	
}

div#mainmenu ul li a {
	display: block;
	padding: 4px 0 0 0;
	color: #fff;
	text-decoration: none;
}

div#mainmenu ul li.selected a {
	color: #2583ad;
	padding: 4px 0 0 0;
}

div#mainmenu ul li a:hover {
	text-decoration: underline;
}

