/* general stuff */

body{
margin:0;
padding:0;
text-align: center;
font-family:  arial,verdana, sans-serif;
background: #f7f6eb url(http://www.omakustanne.fi/ok/images/ok_yp.gif) repeat-x;

}

a {
text-decoration:  none;
font-weight: bold;
border: none;
color:#cd0000;
}
a:hover {
text-decoration:  underline; 
border: none;
}
 
/* Layout */

#accessibility {
position: absolute;
left: -2000px;
top: -2000px;
display: none;
}

#source {
position: absolute;
left: -2000px;
top: -2000px;
display: none;
}
#rightcol-broad{
position:relative;
top:-400px;
left:900px;
float:left;
height:20px;
width:130px;
 /*background-color:red;*/
}
#pagewidth{
max-width:1000px;
text-align:left;
margin-left:auto;
margin-right:auto;
margin-bottom: 10px;
}

#header {
/*height:  70px; */
width:  100%; 
margin:0;
padding:0;
 }
 
#top-top {
height: 50px;
width: 100%;
background: transparent;
}

#top-bottom {
height: 80px;
width: 200px;
background: green;
float: left;
}

#search {
margin: 0px;
padding: 0px;
width: 148px;
height: 28px;
float: right;
padding-left: 10px;
padding-top: 2px;
vertical-align: top;
}

#search .inputbox{
width: 100px;
height: 18px;
font-size: 11px;
background: lime;
border: none;
margin: 0px;
padding: 0px;
line-height: 14px;
}

#search .button{
margin: 0px;
padding: 0px;
height: 14px;
font-size: 11px;
background: transparent;
border: none;
line-height: 10px;
}

#search form {
margin: 0px;
padding: 0px;
}

#topmenu{
height: 20px;
float: right;
width: 600px;
background: navy;
}


#pathway{ 
width: 500px;
height: 19px;
padding-left: 20px;
padding-top: 5px;
}

#leftcol{
 width: 207px;

 position: absolute;
 margin-right: 18px;
 /*margin-left: 6px;*/
 margin-top: 4px;
 padding-top: 8px;
 background: #930000;
 } 

 
#outer{
width: 880px;
/*padding-top: 1px;*/
} 

#footer{
margin-top:20px;  
height: auto; 
width:100%; 
font-size: 10px;
}

 
 #banner {
/* width: 478px;
 height: 69px;*/
 float: right;
 margin-top: 2px;
 margin-left: 6px;
 border:black solid 2px;
 }
 
 iframe.wrapper {
 z-index: 0;
 }
 
.clr{clear:both;}
.content {
padding: 16px 0px 0px 0px;
font-size: 11px;
line-height: 18px;
margin-top:0px;
margin-left:230px;
/*width:600px;
*/
}

/* Modules */
div.module {
font-size: 14px;
/*width: 130px;*/
font-weight: bold;
margin: 0px;
padding: 0px;
margin-bottom: 5px;
}

#logi{
padding:6px;
font-weight: normal;
font-size: 12px;
color:white;
width:170px;
}
#logi a{
font-weight: bold;
font-size: 13px;
line-height: 19px;
color:silver;
width:170px;
}


#user1{
float: left;
width: 49%;
}

#user2{
float: right;
width: 49%;
}

#user3 {
float: right;

width: 100%;
}

#user1 ul, #user2 ul, #user3 ul {
list-style: none;
margin: 0px;
padding: 0px;
padding-left: 0.7em;
margin-left: 0.7em;
margin-bottom: 5px;
margin-top: 2px;
}


/* Topmenu */

 ul#mainlevel-nav
{
list-style: none;
padding: 0;
margin: 0;
float: right;
white-space: nowrap;
}

ul#mainlevel-nav li{
width: auto !important;
width: 5%;
float: left;
margin: 0;
font-size: 11px;
height: 20px;
line-height: 20px;
white-space: nowrap;
margin-right: 1px;	
}

ul#mainlevel-nav li a{
font-weight: normal;
height: 20px;
display: block;
padding-left: 5px;
padding-right: 10px;
text-decoration: none;
color: #CCCCCC;
margin-left: 5px;
white-space: nowrap;
}



/* Main Menu(s) */

a.mainlevel {
color:white;
background: #6d0000;
font-size: 13px;
font-weight: bold;
padding-left: 4px;
width: 203px;
letter-spacing: 1px;
display: block;
line-height: 26px;
margin-bottom: 4px;
text-decoration: none;
/*border-bottom: 2px solid #CACACA;*/
voice-family:"\"}\""; /* Box Model fix */
voice-family:inherit;
width: 203px;

}



html>body a.mainlevel {width:203px;} /* Opera5-Fix-fix ;-) */


a.mainlevel:hover{
background: #cb0000;
text-decoration: none;
} 
a.mainlevel#active_menu {
/*background: #cd0000;
text-decoration: none;
*/}

a.sublevel {
padding: 0px;
margin: 0px;
font-size: 12px;
padding-left: 2px;
/*width: 899px;*/
display: block;
line-height: 20px;
margin-bottom: 2px;
margin-left: 2px;
text-decoration: none;
font-weight: normal;
/*border-right: 4px solid #CACACA;
*/voice-family:"\"}\""; /* Box Model fix */
voice-family:inherit;
/*width: 3123px;*/
color:white;
}

html>body a.sublevel {width:203px;} /* Opera5-Fix-fix ;-) */

a.sublevel:hover, a.sublevel#active_menu {
text-decoration: none;

color:silver;
/*font-weight: bold;*/

/*border-left: 1px solid #CACACA;*/

voice-family:"\"}\""; /* Box Model fix */
voice-family:inherit;
width: 203px;
}
html>body a.sublevel:hover, a.sublevel#active_menu { /* Opera5-Fix-fix ;-) */
width: 203px;
}




/* Other Mambo Stuff */

#title {
}
.pathway {
color: #B2BBBB;
font-size: 11px;
text-decoration: none;
font-weight: normal;
}

.pathway a{
color: #BBBBBB;
text-decoration: none;
font-weight: normal;
}

.mosimage {
  border: 1px solid #cccccc;
  margin: 5px
}

.mosimage_caption {
  margin-top: 2px;
  background: #efefef;
  padding: 1px 2px;
  color: #666;
  font-size: 10px;
  border-top: 1px solid #cccccc;
}

hr {
width:  90%; 
 }
hr.separator {
width:  40%; 
 }
a.pnav {
}
.pnav:hover {
}
.small {
font-size: 10px;
color: #ABABAB;
line-height: 0.7;
}
.smalldark {
font-size: 10px;
color: #000;
height: 10px;
line-height: 10px;
text-align: left;
}

.sectiontableentry1 {
text-align: left;
background: #EFEFEF;
font-size: 10px;
padding: 2px;
}
.sectiontableentry2 {
background: #FFF;
font-size: 10px;
text-align: left;
padding: 2px;
}
.button {
border: 1px solid #BBBBBB;
}
.inputbox {
border: 1px solid #BBBBBB;
}

.createdate {
font-size: 10px;
color: #ABABAB;
height: 10px;
line-height: 0.7;
}
.modifydate {
font-size: 10px;
color: #ABABAB;
height: 20px;
line-height: 20px;
margin-bottom: 5px;
}
a.readon {
font-size: 10px;
text-decoration: none;
line-height: 15px;
border: 1px solid #EEEEEE;
padding-left: 13px;
background: url(../images/readon.gif) no-repeat left;
margin-top: 10px;
text-decoration: none;
font-weight: normal;
}

.blog_more {
font-size: 10px;
}

a.readon:hover {
background: #EEEEEE url(../images/readon.gif) no-repeat left;
text-decoration: none;
}

.blog {
width: 100%;
}

.contentheading{
width: 98%;
font-weight: bold;
font-size: 16px;
height: 23px;
line-height: 20px;
border-bottom: 1px solid #002E61;
font-family: 'Times New Roman', verdana, sans-serif;
color: #002E61;
}

h3{
font-weight: bold;
font-size: 16px;
height: 23px;
line-height: 20px;
border-bottom: 3px double #c16929;
font-family: 'Times New Roman', verdana, sans-serif;
color: #c16929;
padding-left:4px;
}

.contentpaneopen {
text-align: left;
background: transparent;
font-size: 12px;
line-height: 1.8;
}

table.contentpane td.contentheading {
font-weight: bold;
font-size: 16px;
height: 23px;
line-height: 20px;
font-family: 'Trebuchet MS', verdana, sans-serif;
border: none;
}

table.contentpane ul {
margin: 0px;
padding: 0px;
list-style: none;
}

table.contentpane ul li{
padding: 0px;
margin: 0px;
padding-left: 15px;
}

.contentdescription {
font-size: 11px;
}
.sectiontableheader {
font-weight: bold;
font-size: 11px;
height: 25px;
line-height: 25px;
}
.categorytitle {
font-weight: bold;
font-size: 16px;
height: 25px;
line-height: 25px;
font-family: "Trebuchet MS", Verdana, sans serif;
}
.componentheading {
font-weight: bold;
font-size: 16px;
height: 23px;
line-height: 20px;
font-family: "Trebuchet MS", Verdana, sans serif;
border-bottom: 1px solid #002E61;
color: #002E61;
margin-bottom: 5px;
}
a.category {
text-decoration:  underline; 
 }
a.category:hover {
text-decoration:  underline; 
 }
table.moduletable {
width:  100%; 
font-size: 80%;
 }
table.moduletable th  {
font-size: 80%;
}

.poll {
font-size: 11px;
text-align: center;
}


.back_button a{
font-size: 11px;
font-weight: normal;
}

.blogsection {
font-size: 11px;
}

.blog_more ul li{
list-style: none;
padding-left: 14px;
line-height: 18px;
}

table.contenttoc {
border: 1px solid #CCCCCC;
padding: 3px;
}

table.contenttoc th{
font-weight: bold;
font-size: 11px;
border-bottom: 1px solid #BBBBBB;
}

form {
margin: 0px;
padding: 0px;
}

/* CUSTOM */
#logo{
float:left;
}
#ok-head{
	font-family: Times, Georgia, Serif;
	font-weight: lighter;
	font-style: italic;
	font-size: 27px;
	color:white;
	letter-spacing: 2px;
	}
#ok-mhead{
	font-size: 9px;
	font-weight: normal;
	text-transform: uppercase;
	color:white;
}
h2 {
font-weight: bold;
font-size: 18px;
/*height: 24px;*/
line-height: 24px;
font-family: 'Times New Roman', verdana, sans-serif;
color: #002E61;
}
h5 {
font-weight: bold;
font-size: 14px;
/*height: 16px;*/ 
/*line-height: 16px;*/
/*font-family: 'Times New Roman', verdana, sans-serif;
color: #002E61;*/
color: #333;
margin:0px;
margin-bottom:14px;
margin-top:-8px;
padding:0px;
}
#tuotehaku{
color:white;
background:transparent;
position:relative;
top:12px;
margin-left:620px;
width:240px;
}
.ohje{
color:green;
}