/*****Reset*****/

html, body, div, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, blockquote, pre, form, fieldset, table, th, td { margin: 0; padding: 0; }

/*****Basic Elements*****/

body {
	background: url(img/ui/bg_body.jpg) repeat-x;
	font: 11px "Trebuchet MS", Arial, Helvetica, sans-serif;
}

a {
	color: #006600;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

h1 {
	color: #666666;
	font-size: 18px;
	margin-bottom: 20px;
}

h1.blog {
	color: #666666;
	font-size: 18px;
	margin-bottom: 0;
}

h2 {
	font-size: 12px;
	text-transform: uppercase;
}

div#menu-col h2 {
	margin-bottom: 5px;
}

h3 {
	font-size: 11px;
}

p { 
	line-height: 16px;
	margin-bottom: 15px;
}

p.date {
	color: #666666;
}

/*****Basic Layout*****/

div#wrap {
	margin: 0 auto;
	position: relative;
	width: 901px;
	z-index: 2;
}

div#bottom {	
	background: url(img/ui/bg_bottom.jpg) repeat-x;
	display: none;
	height: 294px;
	left: 0;
	position: absolute;
	top: 0;
	z-index: 1;
	width: 100%;
}

div#content-wrap {
	background: url(img/ui/bg_contentwrap.jpg) repeat-y;
	float: left;
	position: relative;
}

div#menu-col {
	float: left;
	padding: 20px 10px 20px 20px;
	width: 177px;
}

div#main {
	float: left;
	min-height: 400px;
	padding: 20px 20px 20px 40px;
	width: 411px;
}

div#secondary {
	color: #333333;
	float: left;
	padding: 20px 20px;
	width: 183px;
}

/*****Header*****/

div#header {
	background: url(img/ui/bg_header.jpg) no-repeat;
	height: 241px;
	position: relative;
}

img#header-img {
	left: 375px;
	position: absolute;
	top: 58px;
}

div#banner-credit {
	color: #fff;
	line-height: 21px;
	position: absolute;
	right: 10px;
	top: 34px;
}

div#header h1 {
	margin-bottom: 0;
}

div#header h1 a {
	height: 110px;
	left: 40px;
	overflow: hidden;
	position: absolute;
	text-indent: -9999px;
	top: 80px;
	width: 330px;
}

ul#top-menu, ul#lang-menu {
	list-style: none;
	padding-left: 20px;
}

ul#lang-menu {
	position: absolute;
	right: 5px;
	top: 0;
}

ul#top-menu li, ul#lang-menu li {
	float: left;
}

ul#top-menu li a, ul#lang-menu li a {
	color: #fff;
	display: block;
	line-height: 29px;
	margin-right: 5px;
}

ul#top-menu li a:hover span, ul#lang-menu li a:hover span {
	color: #fff;
}

ul#top-menu li a:hover, ul#lang-menu li a:hover {
	color: #CCCCCC;
	text-decoration: none;
}

/*****Main Menu*****/

ul#mainmenu, ul#mainmenu ul {
	font-size: 14px;
	list-style: none;
	margin-bottom: 40px;
}

ul#mainmenu ul {
	display: none;
	margin: 0 0 5px 15px;
}

ul#mainmenu li.selected ul {
	display: block;
	font-size: 12px;
}

ul#mainmenu li.selected ul ul {
	display: none;
}

ul#mainmenu li.selected ul li.selected ul {
	display: block;
}

ul#mainmenu li a {
	color: #333333;
	display: block;
	margin-bottom: 7px;
}

ul#mainmenu li a:hover, ul#mainmenu li.selected a {
	color: #666666;
	text-decoration: none;
}

/*ul#mainmenu li.selected a {
	margin-bottom: 2px !important;
}*/

ul#mainmenu ul li a {
	color: #333333 !important;
	display: block;
	margin-bottom: 2px !important;
}

ul#mainmenu ul li a:hover {
	color: #666666 !important;
	text-decoration: none;
}

ul#mainmenu li#mm17 a {
	border-top: 1px #666666 solid;
	padding-top: 5px;
}

ul#mainmenu li#mm17 ul a {
	border-top: none;
	padding-top: 0;
}

/*****Footer*****/

div#footer {
	background: url(img/ui/bg_footer.jpg) no-repeat;
	clear: left;
	color: #CCCCCC;
	height: 20px;
	line-height: 18px;
	padding: 5px 20px 0 0;
	text-align: right;
}

/*****Forms*****/

input, textarea, select {
	margin-bottom: 5px;
}

td.com-submit input, input.inputbtn {
	width: auto !important;
}

div#main label {
	display: block;
}

div#main input {
	width: 300px;
}

div#main input[type="submit"] {
	width: auto;
}

div#main textarea {
	width: 300px;
}

div.important {
	display: none;
}

/*****Post*****/

div.post {
	border-bottom: 1px #CCCCCC solid;
	margin-bottom: 15px;
}

div.cgfeedback_addcoment {
	border-top: 1px #CCCCCC solid;
	margin: 20px 0 0 0;
	padding-top: 10px;
}

div.cgfeedback_addcoment input, div.cgfeedback_addcoment textarea {
	margin-bottom: 5px;
	width: 350px;
}

div.cgfeedback_addcoment textarea {
	height: 100px;
}

div.cgfeedback_addcoment label {
	display: block;
}

div.feedback_summary_item {
	border-top: 1px #CCCCCC solid;
	padding: 10px 0 0 0;
}

/***** Lists *****/

div#main ul {
	margin: 0 0 20px 20px;
}

div#main ul li {
	margin: 0 0 10px;
}

/*****Tables*****/


/*****Images*****/

div#main img {
	float: left;
	padding: 0 10px 10px 0;
}

/*****Generic Classes*****/

div.error {
	background: #FBE3E4;
	border: 2px #FBC2C4 solid;
	color: #8A1F11;
	margin-bottom: 20px;
	padding: 10px 20px 10px 40px;
}

div.message {
	background: #FFF6BF;
	border: 2px #FFD324 solid;
	color: #554B25;
	margin-bottom: 20px;
	padding: 10px 20px 10px 40px;
}


/* news left */

div.news-left {
	border-top: 1px #999 solid;
	padding: 10px 0;
}

div.news-left p {
	margin-bottom: 5px;
}

/*****Etc*****/

a img { border: 0; }

font {
	color: #000;
}

a.rss {
	background: url(img/ui/rss.png) no-repeat;
	display: block;
	line-height: 16px;
	padding-left: 20px;
}

div#oikea_logot {
	bottom: 20px;
	right: 35px;
	position: absolute;
}