/* Copyright Tamico Systems Oy */

html, body  {
	margin: 0;
	padding: 0;
	height: 98%;
	font-family: Times New Roman, Times, serif;
	background: #7992a2 url("tausta.png") right repeat-y;
	text-align: center;
}

#container {
	width: 960px;
	background: #fff;
	padding: 0;
	padding-bottom: 0px;
	text-align: left;
	border-left: 5px solid white;
	border-right: 5px solid white;
	border-top: 5px solid white;
	
	position: relative; /* needed for footer positioning*/
	margin: 5px auto; /* center, not in IE5 */
	
	height: auto !important; /* real browsers */
	height: 100%; /* IE6: treaded as min-height*/

	min-height: 100%; /* real browsers */
}

#topbar1 {
	width: 960px;
	height: 100px;
}

#topbar1 h1 {
	width: 960px;
	height: 100px;
	background: white url("logo-banneri.png") center no-repeat;
	margin: 0;
	padding: 0;
}

#topbar1 h1 em {
	position: absolute;
	left: -2000px;
	width: 1800px;
}

#menubar {
	width: 935px;
	height: 27px;
	margin: 0;
	padding: 0;
	padding-left: 25px;
	background: rgb(68,76,89) url(images/menubar_bg.gif) top left repeat-x;
	border-top: 5px solid white;
}

#footer {
	color: white;
	background: rgb(68,76,89) url(images/menubar_bg.gif) top left repeat-x;
	width: 940px;
	height: 17px;
	padding: 5px 10px;
	text-align: center;
	font-size: 12px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
	position: absolute;
	bottom: 0; /* stick to bottom */
	border-bottom: 5px solid white;
}

.column-in {
	margin:0;
	padding:0.5em 1em;
}

.cleaner {
	clear:both;
	height:1px;
	font-size:1px;
	border:none;
	margin:0; padding:0;
	background:transparent;
}

#content {
	padding-bottom: 2em; /* bottom padding for footer */
	font-size: 80%;
}

#feed {
	float: right;
	border-left: 1px solid rgb(68,76,89);
	margin-top: 25px;
	padding-right: 5px;
}

#maincontent {
	padding-top: 25px;
	margin-left: 50px;
	margin-right: 275px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

h1, h2, h3, h3, h4, h5 {
	vertical-align: baseline;
	font-weight: bold;
	font-family: inherit;
	font-style: inherit;
	font-size: 100%;
	border: 0 none;
	outline: 0;
	padding: 0;
	margin: 0;
}

h2 {
	font-size: 140%;
	color: rgb(68,76,89);
	padding-top: 1em;
}

h3 {
	padding-top: 1em;
	font-size: 120%;
	color: rgb(68,76,89);
}

/* MENU */

.clearit {
	margin: 0;
	padding: 0;
	height: 0;
	clear: both;
}

ul#menu{
	list-style: none;
	margin: 0;
	padding: 0;
}
ul#menu li {
	float: left;
	margin: 0;
	padding: 0;
}

ul#menu li a {
	display: block;
	height: 27px;
	padding-left: 30px;
	float: left;
	text-transform: uppercase;
	font-family: "Times New Roman", Times, Serif;
	font-size: 80%;
	color: #FFFFFF;
	text-decoration: none;
	float: left;
	height: 22px;
	padding-top: 5px;
	padding-right: 30px;
	cursor: pointer;
}

ul#menu li a:hover,
ul#menu li a.current,
ul#menu li a:hover.current {
	background: transparent url(images/menubar_hover.gif) top center no-repeat;
}

input.otsikko_input {
	width: 560px;
	font-size: 140%;
	color: rgb(68,76,89);
	font-weight: bold;
	margin-bottom: 10px;
}

a.alasivu {
	text-decoration: none;
	font-weight: bold;
	color: #333333;
}

input.w8em
        {
        margin:0;
        padding:0;
        border:1px solid #ccc;
        border-top-color:#aaa;
        border-left-color:#aaa;
        /*position:relative;*/
        height:1.2em;
		width: 80px;
        }
/* NEWS BOX */


/*

#tiedotteet {
	width: 200px;
}

#haku {
	width: 175px;
}

.newsbox {
	margin-top: 10px;
}

.newsbox h3 {
	color: white;
	padding: 3px;
	background: url(bar.gif) center repeat-x rgb(144,182,48);
	font-weight: bold;
	font-size: 100%;
}

.newsbox ul, .hakubox {
	margin: 0;
	padding: 0;
	list-style-type: none;
	font-family: Verdana, Helvetica, sans-serif;
	border-left: 1px solid rgb(68,76,89);
	border-right: 1px solid rgb(68,76,89);
	border-bottom: 1px solid rgb(68,76,89);
}

#tiedotteet a {
	width: 188px;
	font-weight: bold;
}

.newsbox a {
	display: block;
	margin: 0 5px;
	padding: 5px 0;
	text-align: left;
	border-top: 1px solid rgb(144,182,48);
}

.tiedotealku {
	display: block;
	margin: 0 5px;
	padding-bottom: 10px;
	text-align: left;
	font-size: 90%;
}

.newsbox a:link, .newsbox a:visited {
	color: black;
	text-decoration: none;
}
	
.newsbox  a:hover {
	color: rgb(144,182,48);
}

.newsbox a.first {
	border-top: none;
}

.newsbox a.more {
	color: rgb(68,76,89);
	margin: 0;
	padding: 5px 0;
	text-align: right;
	border-top: none;
	font-size: 90%;
}

#hakuruutu {
	border: 0 solid white;
	width: 120px;
	padding: 1px 2px;
}

.hakunappi{
cursor:pointer;
border:outset 1px #ccc;
background:#999;
color: rgb(68,76,89);
font-weight: normal;
padding: 1px 2px;
width: 35px;
background: url(formbg.gif) repeat-x left top;
}

.hakunappi:hover{
color: white;
background: url(bar.gif) repeat-x left center;
}

.hakubox {
	padding: 5px;
}

*/
