/**
* Template by emowes.com               *
* @version 1.0                         *
* @copyright (C) 2007 - Jani Peltonen  *
* @web http://www.emowes.com           *
**/

/*global resets - eliminates cross browser inconsistancies*/

* {  
margin: 0;
padding-bottom: 0;
padding-top: 0;
}
h1,h2,h3,h4,h5,h6,p,blockquote,label,ul,ol,dl,fieldset,address { margin: 0; } 
li,dd { margin-left:0;} 
fieldset { padding: 0; } 
img {border: 0;}
a img {border: 0;}
table {
font-size: 1em;
}

form {
margin: 0px;
padding: 0px;
}
/*end global resets*/

.clear { clear:both }

body {
text-align: center;
margin: 0;
background: #2E1602 url(../images/) repeat-x;
font-family:  Tahoma, Arial, Helvetica, sans-serif;
font-size: 12px;
}
body.contentpane {
text-align: left;
background-image: none;
background-color: white;
padding: 5px;
}
.container {
margin: 0;
padding: 0;
margin: 0 auto;
text-align:left;
width: 1000px;
background: url(../images/);
}

/* #### YLÄOSA #### */
.top_osa {
width: 1000px;
height: 413px;
background: url(../images/bg_top_fin.jpg) no-repeat;
}
.top_osa_en {
width: 1000px;
height: 413px;
background: url(../images/bg_top_en.jpg) no-repeat;
}
.top_osa_de {
width: 1000px;
height: 413px;
background: url(../images/bg_top_de.jpg) no-repeat;
}
.top_inner_top {
width: 1000px;
height: 106px;
}
.liput {
width: 150px;
position: relative;
left: 770px;
top: 15px;
}
.top_inner_middle {
width: 1000px;
height: 33px;
}
.top_menun_siirto {
width: 87px;
height: 33px;
float: left;
}
.top_menu {
width: 828px;
height: 33px;
float: left;
}
.top_inner_bottom {
width: 1000px;
height: 274px;
}

/* #### KESKIOSA #### */
.middle {
width: 1000px;
background: url(../images/bg_middle.jpg) repeat-y;
}
.left {
width: 325px;
float: left;
}
.left_inner {
position: relative;
left: 85px;
top: -7px;
width: 220px;
}
.content {
width: 600px;
float: left;
}
.content_inner {
position: relative;
left: ;
top: ;
width: 575px;

}
/* #### ALAOSA #### */
.bottom {
width: 1000px;
height: 80px;
background: url(../images/bg_bottom.jpg) no-repeat;
}
.bottom_inner {
position: relative;
top: 35px;
color: #A3792E;
text-align: center;
}
.toteutus {
position: relative;
left: 720px;
top: 8px;
color: #D3A34F;
text-align: right;
width: 200px;
}


/* #### MODUULIT #### */

div.left div.module div div div table, div.left div.module-kirjaudu div div div table { /* moodulien joisa table säädöt */
padding: 10px 5px 5px 5px;
}
div.left div.module div div div { /* moduulien missä ei ole tablea säädöt */
padding: 0px 0px 10px 0px;
}
div.left div.module-tuotekuvia div div div { /* tuotekuvat-säädöt */
padding: 0px 0px 0px 0px;
}
div.left div.module div div div ul, div.left div.module-tiedotteet div div div ul,
div.left div.module-suosituimmat div div div ul { /* latest news, popular moduulien yms listojen säätöä */
padding: 5px 0 5px 30px;
}
/* tiedotteet h3 */
div.module-tiedotteet div div div h3 {
background: url(../images/bg_moduleheading_tiedotteet.jpg) repeat-x;
text-indent: -1000px; height: 31px; font-size: 0px;
}
/* suosituimmat h3 */
div.module-suosituimmat div div div h3 {
background: url(../images/bg_moduleheading_suosituimmat.jpg) repeat-x;
text-indent: -1000px; height: 31px; font-size: 0px;
}
/* kirjaudu h3 */
div.module-kirjaudu div div div h3 {
background: url(../images/bg_moduleheading_yllapito.jpg) repeat-x;
text-indent: -1000px; height: 31px; font-size: 0px;
}
/* tuotekuvia h3 */
div.module-tuotekuvia div div div h3 {
background: url(../images/bg_moduleheading_tuotekuvia.jpg) repeat-x;
text-indent: -1000px; height: 31px; font-size: 0px;
}
/* tekstimoduuli */
div.module-tekstimoduuli {
padding: 0 7px 0 7px;
}


/* #### LINKIT #### */

a, a:visited {
color: #4E290B;
text-decoration:  none;
font-weight: bold;
}
a:hover {
color: #4E290B;
text-decoration: underline;
}
div.bottom_inner a {
color: #DA7B03;
}
div.bottom_inner a:hover {
color: #DA7B03;
text-decoration: underline;
}
div.bottom_inner span a, div.bottom_inner span a:visited { /*kirjautusmiskohdan linkki*/
color: #A3792E;
}
div.bottom_inner span a:hover {
color: #A3792E;
text-decoration: none;
}
div.toteutus a, div.toteutus a:visited {
font-weight: normal;
color: #A3792E;
}
div.toteutus a:hover {
color: #A3792E;
text-decoration: underline;
}
/* #### LISTAT #### */

ul {
margin: 0;
padding-left: 30px;
}

li {
line-height:;
padding-left: 0px;
padding-top: 0px;
list-style-position:outside;
}

/* #### MODULETABLE #### */

table.moduletable {
	width: 100%;
	margin-bottom: 5px;
	padding: 0px;
	border-spacing: 0px;
	border-collapse: collapse;
font-size: 12px;
}

div.moduletable {
	padding: 0;
	margin-bottom: 2px;
font-size: 12px;
}

table.moduletable th, div.moduletable h3, div.module h3 {
background: url(../images/bg_moduleheading.jpg) repeat-x;
	color: #FFE2B8;
	text-align: center;
	padding-left: 0px;
	height: 31px;
	line-height: 31px;
	font-weight: bold;
	font-size: 12px;
	text-transform: uppercase;
	margin: 0 0 0px 0;
letter-spacing: 2px;
}

table.moduletable td {
	font-size: 11px;
	padding: 0px;
	margin: 0px;
	font-weight: normal;
}

/* #### SEKALAISTA #### */

td.contentheading {
line-height: 34px;
font-weight: bold;
font-size: 18px;
color: #4E290B;
font-style: italic;
/*text-decoration: underline;*/
}

.sectiontableheader {
  font-weight: bold;
  background: #f0f0f0;
  padding: 4px;
}

.sectiontablefooter {

}

.sectiontableentry1 {
	background-color : #ffffff;
}

.sectiontableentry2 {
	background-color : #f9f9f9;
}

table.contentpane {
  width: 100%;
	padding: 0px;
	border-collapse: collapse;
	border-spacing: 0px;
	margin: 0px;
}

table.contentpane td {
	margin: 0px;
	padding: 0px;
}

.inputbox {
	padding: 2px;
	border:solid 1px #cccccc;
	background-color: #ffffff;
}

.componentheading {
	background: url(../images/subhead_bg.png) repeat-x;
	color: #4E290B;
	text-align: left;
	padding-top: 4px;
	padding-left: 4px;
	height: 21px;
	font-weight: bold;
	font-size: 14px;
	text-transform: uppercase;
}

/* #### MENU #### */

a.mainlevel:link, a.mainlevel:visited {
	display: block;
	background: url(../images/menu_bg.png) no-repeat;
	vertical-align: middle;
	font-size: 11px;
	font-weight: bold;
	color: #4E290B;
	text-align: left;
	padding-top: 5px;
	padding-left: 18px;
	height: 20px !important;
	height: 25px;
	width: 100%;
	text-decoration: none;
}

a.mainlevel:hover {
	text-decoration: underline;
	color: #4E290B;
}

a.mainlevel#active_menu {
	color:#4E290B;
	font-weight: bold;
}

a.mainlevel#active_menu:hover {
	color: #4E290B;
	text-decoration: underline;
}

a.sublevel:link, a.sublevel:visited {
	padding-left: 1px;
	vertical-align: middle;
	font-size: 11px;
	font-weight: bold;
	color: #c64934;
	text-align: left;
}

a.sublevel:hover {
	color: #900;
	text-decoration: none;
}

a.sublevel#active_menu {
	color: #333;
}

/* #### TOP-MENU #### */

ul#mainlevel-nav {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 0.8em;
}

ul#mainlevel-nav li {
	background-image: none;
	padding-left: 0px;
	padding-right: 0px;
	float: left;
	margin: 0;
	font-size: 11px;
	line-height: 23px;
	white-space: nowrap;
	border-right: 1px solid #cccccc;
}

ul#mainlevel-nav li a {
	display: block;
	padding-left: 15px;
	padding-right: 15px;
	text-decoration: none;
	color: #333333;
	background: transparent;
}



ul#mainlevel-nav li a:hover {
width: auto; /* ie6 fixi hoverille */
	color: #fff;
	background: url(../images/bg_top_menu_hover.jpg) repeat-x;
}

/* ###¤ JCE-editorin css #### */
.font12px {
font-size:12px;
}
.font12px_bold {
font-size:12px;
font-weight: bold;
}
.font14px {
font-size:14px;
}
.font14px_bold {
font-size:14px;
font-weight: bold;
}
.font16px {
font-size:16px;
}
.font16px_bold {
font-size:16px;
font-weight: bold;
}

ul.jflanguageselection li a { /* fishinlippujen väliin vähänrakoa */
padding-left: 5px;
}