/* By Jani Peltonen (C) http://www.emowes.com */

.formFields{
padding:3px 3px 3px 3px;
marker-offset:200px;
min-width:160px;
}

td a img {
border: none;
}

#header_image_fix {
background: #A2C4B6;
}

#left div.moduletable-moduuli {
padding: 5px 0px 5px 0px;
}

#user2 div.moduletable-moduuli table {
padding: 2px 0px 10px 10px;
}

#left div.moduletable-moduuli h3, #user2 div.moduletable-moduuli h3, #left div.moduletable-maintenance h3{
text-align: center;
font-family:Tahoma, Verdana, Arial;
font-size: 10px;
font-weight:bold;
color: #000;
background: url(../images/moduuli_bg.jpg) repeat-x;
text-transform: uppercase;
line-height: 22px;
width: 158px;
}

/* COMMON TAGS */
body {
background: #FEF4DB url(../images/liuku.jpg) repeat-x;
font-family: Tahoma, Verdana, Arial;
font-size: 12px;
text-align: center;
margin-left: 0;
margin-top: 0;
}
body.contentpane {
text-align: left;
background-image: none;
padding: 5px;
}

#login {
width: auto;
}

p, td, tr {
	font-family: Tahoma, Verdana, Arial;
	font-size: 12px;
}



h1 {

}
h2 {

}
h3 {
}

h4 {

}

hr {
}

ul {
	margin-left: 10px;
	padding-left: 10px;
	list-style-type: square;
}

li{
	margin: 2px;
}


/* NAV BARS */
/* Path way */
span.pathway {
}
a.pathway:link, a.pathway:visited {
}
a.pathway:hover {
}

/* Page nav of blog pages */
span.pagenav { /* When not a link */
	padding: 2px 6px;
	color: #bfbfbf;
	font-size: 90%;
	font-weight: bold;
	margin-top: 5px;
}
a.pagenav:link, a.pagenav:visited { /* When become a link */
	padding: 2px 6px;
	font-size: 90%;
	font-weight: bold;
	margin-top: 5px;
	text-decoration:none;
	color: #666666;
}
a.pagenav:hover {
	color: #650000;
}


/* LINKS */

/* Common links */
a:link, a:visited {
	color: #666666;
	text-decoration:underline;
}
a:hover {
	color: #650000;
}

/* Read more */
a.readon:link, a.readon:visited {
	color: #005E3C;
	font-size: 90%;
	font-weight: bold;
	padding: 2px;
	text-decoration:none;
	width: 100%;
	text-align:right;
}
a.readon:hover {
	color: #005E3C;
	text-decoration: underline;
}


/* MENU LINKS */

/* Main level */

a.mainlevel:link,
a.mainlevel:visited
{
   font-family: Tahoma, Verdana, Arial;
   text-decoration:none;
   font-size: 12px;
   font-weight:bold;
   color:#E5F8F1;
   white-space:nowrap;
   line-height: 26px;
   border-right: 1px solid #00774C;
   display: block;
   height: 26px;
   width:auto;
   margin: 0px;
   padding: 0px 15px 0px 15px;
}

a.mainlevel:hover {
  color:#000;
  -moz-opacity:.8;
  filter:alpha(opacity=80);
  background: url(../images/menu_bg4_hover.jpg) repeat-x;
}

a.mainlevel_active, a.mainlevel_active:visited {
   font-family: Tahoma, Helvetica, sans-serif;
   text-decoration:none;
   font-size: 12px;
   font-weight:bold;
   color:#E5F8F1;
   white-space:nowrap;
   line-height: 26px;
   border-right: 1px solid #00774C;
   display: block;
   height: 26px;
   width:auto;
   margin: 0px;
   padding: 0px 15px 0px 15px;

}

a.mainlevel_active:hover {
  color:#000;
  -moz-opacity:.8;
  filter:alpha(opacity=80);
  background: #CBE7DD url(../images/menu_bg4_hover.jpg) repeat-x;
}


/* Ylläpitovalikon CSS alkaa */
a.mainlevel-maintenance:link,
a.mainlevel-maintenance:visited
{
   font-family: Tahoma, Verdana, Arial;
   text-decoration:none;
   font-size: 12px;
   font-weight:bold;
   color:#005E3A;
   white-space:nowrap;
   line-height: 26px;
   display: block;
   height: 26px;
   width:auto;
   margin: 0px;
   padding: 0px 15px 0px 15px;
}

a.mainlevel-maintenance:hover {
  color:#000;
  -moz-opacity:.8;
  filter:alpha(opacity=80);
  background: url(../images/menu_bg4_hover.jpg) repeat-x;
}

a.mainlevel_active-maintenance, a.mainlevel_active-maintenance:visited {
   font-family: Tahoma, Helvetica, sans-serif;
   text-decoration:none;
   font-size: 12px;
   font-weight:bold;
   color:#E5F8F1;
   white-space:nowrap;
   line-height: 26px;
   display: block;
   height: 26px;
   width:auto;
   margin: 0px;
   padding: 0px 15px 0px 15px;

}

a.mainlevel_active-maintenance:hover {
  color:#000;
  -moz-opacity:.8;
  filter:alpha(opacity=80);
  background: #CBE7DD url(../images/menu_bg4_hover.jpg) repeat-x;
}
/* ylläpitovalikon css päättyy */

/* Sub level */
a.sublevel:link,
a.sublevel:visited
{
	font-family: Tahoma, Verdana, Arial;
	font-size: 12px;
	text-decoration:none;
	padding: 3px;
        color: #000;
}
a.sublevel:hover {
	color: #000000;
	padding-left: 5px;
}



/* Nav bar of article's pages */
div.pagenavbar { /* when not a link */
	font-size: 90%;
	font-weight: bold;
	margin: 5px;
	color: #bfbfbf;
}
div.pagenavbar a:link, div.pagenavbar a:visited { /* When become a link */
	color: #666666;
	padding: 3px 6px;
	text-decoration: none;
}
div.pagenavbar a:hover {
	color: #650000;
}

/* Back button */
div.back_button {
	margin: 5px 0px;
}
div.back_button a:link, div.back_button a:visited{
	font-weight: bold;
	color: #808080;
	padding: 3px;
	text-decoration: none;
}
div.back_button a:hover{
	color: #650000;
}


/* Nav bar of articles */
th.pagenav_prev, th.pagenav_next {
	font-size: 90%;
	font-weight: bold;
}
th.pagenav_prev a:link, th.pagenav_prev a:visited {
	padding: 2px 12px;
	text-decoration:none;
	color: #666666;
}
th.pagenav_next a:link, th.pagenav_next a:visited {
	padding: 2px 12px;
	text-decoration:none;
	color: #666666;
}
th.pagenav_prev a:hover, th.pagenav_next a:hover {
	color: #650000;
}

/* More block */
div.blog_more {
	border: #dadfe5 1px solid;
	padding: 5px;
}
div.blog_more div { /* "More..." text */
	border-bottom: #d9d9d9 1px solid;
	padding: 3px;
}
div.blog_more ul{
	list-style:url(../images/icon_morelink.gif);
}
div.blog_more li{
}
a.blogsection:link,
a.blogsection:visited
{
	text-decoration:none;
}
a.blogsection:hover {
	text-decoration: underline;
}

/* Article block */

td.contentheading {
	font-family:Tahoma, Verdana, Arial;
	font-size: 130%;
	font-weight:bold;
	color: #005E3B;
background: url(../images/heading_bg2.gif) no-repeat;
padding: 0 0 0 26px;
text-transform: uppercase;
line-height: 22px;
width: 550px;
}



td.createdate,
td.modifydate
{
	font-size: 70%;
}
table.contentpane {
	
}
table.contentpaneopen td{
	margin: 0px;
}

table.blog{ /* Blog page */
}
table.blog td{
}


a.contentpagetitle:link,
a.contentpagetitle:visited
{
	font-family:Tahoma, Verdana, Arial;
	font-size: 100%;
	font-weight:bold;
	color: #650000;
	text-decoration:none;
}
a.contentpagetitle:hover {
	text-decoration:underline;
}

/* FORMS */

div.search {
	text-align:right;
	vertical-align:middle;
}

input.button {
	font-size: 90%;
	color: #ffffff;
	border: 1px solid #9DC1B3;
	font-weight:bold;
	height: 18px;
	padding: 0px 5px;
	background: #005E3C url(../images/);
}

input.button:hover {
	font-size: 90%;
	color: #ffffff;
	border: 1px solid #005E3C;
	font-weight:bold;
	height: 18px;
	padding: 0px 5px;
	background: #9DC1B3 url(../images/);
cursor: hand;
}

input.inputbox {
border: 1px solid #005E3C;
padding: 0px 2px;
}

/*
input.inputbox {
	font-size: 90%;
	color: #000000;
	background-color: #FFFFFF;
	border: 1px solid #CCCCCC;
height: 20px;
padding: 0px 2px;
}
*/


/* Data & written by block */
td.createdate, td.modifydate {
	color:#999999;
	font-size:90%;
}
span.small {
	color:#676767;
	font-size: 100%;
}
span.highlight {
	background: #ffff80;
	padding: 4px;
}
div.pagenavcounter {
	font-size: 90%;
	font-weight:bold;
	margin-bottom: 8px;
}


/* Table of content */
table.contenttoc {
	padding: 5px;
	margin: 2px 2px 8px 8px;
	border: 1px solid #c1c1c1;
}
table.contenttoc td {
	padding: 5px;
}
table.contenttoc th {
	padding: 4px;
	border-bottom: 1px solid #d9d9d9;
}

a.toclink:link, a.toclink:visited {
	color:#666666;
	font-size: 90%;
	text-decoration:none;
}
a.toclink:hover {
	color:#000000;
	text-decoration:underline;
}

/* Section description block */
td.contentdescription {
}

/* Mambo module table  */
table.moduletable {
	width: 100%;
}
table.moduletable th {

}
table.moduletable td {
	padding: 2px;
}


/* Polls */
td.poll {/* question text */
	font-size: 100%;	
}
table.pollstableborder { /* table with answers & polls result table*/
}
table.pollstableborder td{
	padding: 2px;
	font-size: 90%;
	vertical-align: middle;
}
.smalldark {
	
}/* Stat text at the end of polls resulte table " Number of Voters".. */


/* links table and polls result table */
td.sectiontableheader { /* header bar */
	font-weight: bold;
	font-size: 110%;
	background: #650000;
	color: #ffffff;
	text-transform:uppercase;
	padding: 4px;
}
tr.sectiontableentry1 { /* content bar 1 */
	padding: 4px;
	background: #f2f2f2;
}
tr.sectiontableentry2 { /* content bar 2 */
	padding: 4px;
}
a.category:link, a.category:visited {
	color: #404040;
	font-weight:bold;
	text-decoration:none;
}
a.category:hover {
	text-decoration:underline;
}


/* Latest news module output */
ul.latestnews {
list-style-type: square;
}
li.latestnews {
list-style-type: square;
}
a.latestnews:link, a.latestnews:visited {
	text-decoration:none;
list-style-type: square;
}
a.latestnews:hover {
	text-decoration:underline;
list-style-type: square;
}

/* Popular module output */
ul.mostread{
}
a.mostread:link, a.mostread:visited {
	text-decoration:none;
}
a.mostread:hover {
	text-decoration:underline;
}


/* CUSTOM */

#main_table{
width: 870px;
}

#header_image {
background: url(../images/header_image.jpg);
height: 130px;
width: 244px;
float: left;
}

#logo {
background: url(../images/logo.jpg) no-repeat;
height: 130px;
width: 620px;
float: left;
}

#top_valikko {
height: 26px;
background: url(../images/menu_bg4.jpg) repeat-x;
}

#left_column{
	vertical-align: top;
	width: 158px;
	background: #E6E6E6;
padding: 0px;
}


#left div.moduletable {
padding: 0px 0 0px 0;
}

#left div.moduletable-fish {
padding: 0px 0 15px 5px;
margin:0;
}

#left div.moduletable-search {
padding: 5px 0 5px 5px;
margin: 0px;
}

div.moduletable-uutiset {
padding-bottom: 15px;
}

div.moduletable-uutiset h3 {
	font-family:Tahoma, Verdana, Arial;
	font-size: 130%;
	font-weight:bold;
	color: #005E3B;
background: url(../images/heading_bg2.gif) no-repeat;
padding-left: 26px;
text-transform: uppercase;
line-height: 22px;
width: 500px;
}

#top_menu {
float: left;
}

#pyr {
height: 60px;
width: 158px;
background: url(../images/pyr_mh2_rgb.gif) no-repeat;
}

#lomake_fin {
height: 26px;
width: 70px;
vertical-align: middle;
}

#main_content{
vertical-align:top;
background: #F0F0F0;
width: 712px;
padding: 40px 70px 20px 80px;
}

#main_content_2 {
vertical-align:top;
background: #F0F0F0;
width: 712px;
padding: 40px 50px 20px 60px;
}

#alabanner {
height: 18px;
background: #9CC0B4 url(../images/alabanneri.jpg) no-repeat;
}

form {
margin: 0px;
padding: 0px;
}

td#mainbody span.componentheading a {
text-decoration: none;
}

div.componentheading {
font-family:Tahoma, Verdana, Arial;
font-size: 130%;
font-weight:bold;
color: #005E3B;
background: url(../images/heading_bg2.gif) no-repeat;
padding-left: 26px;
text-transform: uppercase;
line-height: 22px;
width: 500px;
}

#pathway {
	height: 35px;
	background: url(../images/pathway_trees.gif) right no-repeat;
	border-bottom: #71706F 2px solid;
	vertical-align:bottom;
	padding-bottom: 2px;
}


#copyright{
	font-size: 80%;
	color:#ffffff;
	text-align:center;
	padding: 10px;
	width: 100%;
}

/* SIVUN KESKITYS JOKA TOIMII JOKA SELAIMESSA (bodyssä on text-align: center)*/
div#container {
margin-left: auto;
margin-right: auto;
width: 870px;
text-align: left;
}

#emowes_linkki a {
text-decoration: none;
font-size: 85%;
}

.clear {
clear: both;
}