body {
margin: 10px 0 0;
padding: 0;
background-color: #ecf1e3;
font-family: Verdana, Arial, Helvetica, sans-serif;
width: 100%;
min-width: 600px;
height: 100%;
font-size: 100%;
}

div#wrap {
margin:0 auto;
position: relative;
width: 740px;
padding: 0;
background: #fff url(../gfx/wrap_sides_bg2.gif) repeat-y top center;
}

#header {
width: 740px;
height: 87px;
background: #ecf1e3 url(../gfx/header_bg3.gif) no-repeat top left;
padding: 0;
}


#path {
float:left;
margin: 5px 0px;
padding: 0 0 0 15px;
height: 19px;
font-size: 80%;
width: 720px;
}

#main {
float: right;
width: 520px;
margin: 2px 0 0 0;
padding:  0 10px 0 10px;
font-size: 90%;
}

#banner {
float: right;
width: 160px;
margin: 21px 0px 0px 0px;
padding: 0px 5px 0px 5px;
text-align: center;
}

#sidebar {
float: left;
width: 170px;
margin: 0;
padding: 0 0 80px 0;
}

#sidebar_news_header{
	background-color: #C0CDA6;
        width:152px;
         font-size:105%;
         padding:10px;
}

#sidebar_news_header a{
	color: #979A9C;       
        font-size:56%;
        text-decoration:none;
}

#sidebar_news {
	background-color: #BAD1DD;
	margin: 40px 0 0 10px;
        width:172px;
}

#sidebar_news ul{
  padding:5px 0 10px 19px;
  margin:0px 0 0px 0px;
  
}

#sidebar_news li{
  font-size:70%;
  margin:5px 0 0 0;
}

#sidebar_news li a{
  text-decoration:none;
}

#footer {
clear: both;
background: #d2e2d0;
margin: 0 1px;
font-size: 65%;
color: #000;
height: 23px;
text-align: center;
}

#footer a {
color: #000;
height: 23px;
text-decoration: none;
}

#prop {
float: right;
width: 1px;
height: 430px;
}

#top_nav_container {
margin: 0 1px;
padding: 0;
font-size: 75%;
}

#top_nav_container ul {
text-align: center;
margin: 0;
padding: 0;
color: #000;
background: #d2e2d0;
width: 100%;
line-height: 29px;
font-size: 93%;
font-weight: bold;
}
#top_nav_container li {
display: inline;
margin: 0;
}
#top_nav_container li a:link, #top_nav_container li a:visited {
margin: 0;
padding: 0px 25px 3px 25px;
text-decoration: none;
color: #000;
background: transparent;
}

#top_nav_container li a:hover {
text-decoration: underline;
}

ul#navlist_sidebar {
list-style: none;
margin: 5px 0 0 10px;
padding: 0;
border: none;
color: #333;
font-size: 65%;
width: 100%;
_width: 160px;
}

#navlist_sidebar li {
border-left: 4px solid #003963;
background: #EBEEEA;
margin: 0 0 1px 0;
}

#navlist_sidebar li a {
display: block;
padding: 6px 5px 5px 0.5em;
color: #3D3D3D;
text-decoration: none;
width: 100%;
font-weight: bold;
_height: 1%;
}

#navlist_sidebar .header a {
color: #666;
background: #d2e2d0;
text-decoration: none;
font-weight: bold;
}

#navlist_sidebar .header a:hover {
background: #d2e2d0;
}

html>body #navlist_sidebar li a { width: auto; }

#navlist_sidebar li a:hover {
background: #EBEEEA;
}

div#fns {
margin:0 auto;
position: relative;
width: 712px;
padding: 0;
font-size: 90%;
text-align: right;
}

#fns a {
position: absolute;
right: 0;
text-decoration: none;
color: #a1a09c;
margin: -11px 0 0 0;
}

#print_tool {
margin: 8px 0 2px 731px;
padding: 0;
height: 19px;
}

#print_tool a {
margin: 0;
padding: 0;
text-decoration: none;
}

#print_tool a img {
margin: 0;
padding: 0;
border: 0;
}

h1, h2, h3 {
font-family: Verdana, Arial, Helvetica, sans-serif;
margin-top: 0;
margin-bottom: 0px;
color: #003963;
}

h1 { font-size: 140%; font-weight: normal;}

h2 { font-size: 110%; }

h3 { font-size: 100%; }

p, #main li {
font-size: 85%;
line-height: 125%;
}

p p, #main li li { font-size: 100%; }

a:link {
color: #395a73;
text-decoration: underline;
}
a:visited {
color: #395a73;
}
a:hover {
color: #395a73;
text-decoration: none;
}
a:active {
color: #395a73;
}

a.login:link, a.login:visited {
text-decoration: none;
color: #8C8C8C;
}

a.msg_ok:link, a.msg_ok:visited {
color: #077C0E;
font-weight: bold;
text-decoration: underline;
}

a.msg_ok:hover, a.msg_ok:active {
color: #077C0E;
font-weight: bold;
text-decoration: none;
}

a.msg_err:link, a.msg_err:visited {
color: #A01C2B;
font-weight: bold;
text-decoration: underline;
}

a.msg_err:hover, a.msg_err:active {
color: #A01C2B;
font-weight: bold;
text-decoration: none;
}

a.msg_neutral:link, a.msg_neutral:visited {
color: #000000;
font-weight: bold;
text-decoration: underline;
}

a.msg_neutral:hover, a.msg_neutral:active {
color: #000000;
font-weight: bold;
text-decoration: none;
}

a.sitemap:link, a.sitemap:visited { color: #000000; }

th {
font-size: 75%;
font-weight: bold;
background: #EFEFEF;
}
hr 
{
border: none;
border-top: 1px solid #D7D5BE;
width: 99%;
height: 1px;
margin: 0;
padding: 0;
background: #fff;
}

/* formien tyylit */
.form_caption {
font-weight: bold;
background: #fff;
}
.form_field {
width: 500px;
}
.user_form_header {
font-weight: bold;
padding: 3px;
}
.webpage_form_text {
font-weight: bold;
background: #EFEFEF;
font-size: 85%;
}
.webpage_form_field_date {
width: 200px;
}
.webpage_form_field {
width: 500px;
}
.form_general {
font-weight: bold;
background: #EFEFEF;
}
.login_field {
background: #fff;
border: 1px solid #D5D5D5;
width: 140px;
}

.webpage_form_data_field {
background: #FAFAFA;
}

.user_form_header {
font-weight: bold;
}
.user_textfield {
width: 200px;
}
.user_textfield_long {
width: 400px;
}

/* painikkeet */
.btn_green_button, .btn_red_button {
color: #fff;
border: 2px solid #fff;
width: 150px;
height: 22px;
margin:1em 0 0 0;
font-size:80%;
}
.btn_green_button {
background:#077C0E;
}
.btn_red_button {
background:#A01C2B;
}

/* palautetekstit */
.text_green_feedback {
font-size:100%;
font-weight: bold;
color: #077C0E;
}
.text_red_feedback {
font-size:100%;
font-weight: bold;
color: #A01C2B;
}
.text_black_feedback {
font-size:100%;
font-weight: bold;
color: #000000;
}

#feedback_form input.txt {
width: 300px;
}

#feedback_form textarea {
width: 300px;
height: 250px;
}

/* muuta tauhkaa */
.sitemap, .search_result { line-height: 1.6em; }

#sitemap ul {
margin: 0;
padding-left: 13px;
}
.small_italic {
font-size: 80%;
font-style: italic;
}
.calendar { border: 1px solid #E0E0E0; }

.td_form_caption {
background-color: #F7F7F7;
padding: 3px;
}

ul.news, .news ul {
margin: 1em 0 0 0;
padding: 0;
}
.news h2 {
font-size: 100%;
color: #003963;
margin: 0;
padding: 4px 0;
background: url(../gfx/dotted_line_h.gif) repeat-x bottom left;
}
.news li {
margin: 0 0 0.7em 0;
padding: 0;
clear: both;
list-style-type: none;
}
.news a:link {
color: #395a73;
}
.news a:visited {
color: #395a73;
}
.news .date {
background: #395a73;
border-right: 1px solid #EBEEEA;
border-bottom: 1px solid #EBEEEA;
float: left;
text-align: center;
margin: 0 8px 5px 0;
line-height: 1.1em;
padding: 2px;
font-size: 80%;
font-weight: bold;
width: 80px;
white-space: nowrap;
color: #fff;
}

.field_caption {
background-color: #EFEFEF;
font-weight: bold;
padding: 4px;

}
.field_text {
background-color: #FBFBFB;
padding: 2px;
font-size: 90%;
}
.field_field {
width: 490px;
}

form#search_form {
background: #fff url(../gfx/bg_search2.gif) no-repeat;
margin: 2px 0 0 10px;
padding: 1px 0px 8px 0;
width: 170px;
}

#search_form input.txt {
background-color: #fff;
border: 1px solid #9EB4BF;
margin-right: 1px;
margin-left: 5px;
padding: 0 0 0 5px;
width: 100px;
}

#search_form input.btn {
color: #fff;
font-size: 70%;
font-weight: bold;
background-color: #003963;
border: 1px solid;
border-color: #fff #424242 #424242 #fff;
height: 18px;
width: 42px;
margin: 4px 0 0 0;
}

.register_btnP_s {
color: #000;
font-size: 80%;
background-color: #D4D0C8;
border: 1px solid;
border-color: #fff #424242 #424242 #fff;
height: 22px;
width: 70px;
margin: 4px 0 0 0;
}

.register_btnP {
color: #000;
font-size: 80%;
font-weight: bold;
background-color: #D4D0C8;
border: 1px solid;
border-color: #fff #424242 #424242 #fff;
height: 23px;
width: 110px;
margin: 4px 0 0 0;
}

.register_btnN {
color: #fff;
font-size: 80%;
font-weight: bold;
background-color: #840505;
border: 1px solid;
border-color: #fff #424242 #424242 #fff;
height: 23px;
width: 110px;
margin: 4px 0 0 0;
}

#register .header {
	background-color: #E9E9E9;
	padding: 3px;
	font-size: 90%;
	font-weight: bold;
}

#register .row {
	background-color: #F4F4F4;
	padding: 3px;
	font-size: 90%
}

#register_view {
	background-color: #F4F4F4;
	padding: 3px;
}

