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

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

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

h2 { font-size: 120%; }

h3 { font-size: 100%; }

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

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

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

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 #004D87; }

.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: #CD0000;
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: #782121;
}
.news a:visited {
color: #782121;
}
.news .date {
background: #CD0000;
border-right: 1px solid #B40000;
border-bottom: 1px solid #B40000;
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_search.gif) no-repeat;
 margin: 0;
 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 0px 0 5px;
width: 100px;
}

#search_form input.btn {
color: #fff;
font-size: 70%;
font-weight: bold;
background-color: #CD0000;
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;
}
.login_btn {
color: #fff;
font-size: 70%;
font-weight: bold;
background-color: #CD0000;
border: 1px solid;
border-color: #fff #424242 #424242 #fff;
height: 22px;
width: 60px;
margin: 4px 0 0 0;
}
