/* css styles */

html,body {
	height: 100%;
}

body.thesite {
        padding:0px;
        margin: 0px;
        text-align: left;
        background-color: #595959;
    	background-image: url(../images/boordi.jpg);
	    background-repeat: repeat-x;


} 

/* styles */

ul
{
margin: 0px 0px 0px 7px;
padding: 0;
list-style: none;
}

table.maintable {
   margin : 0px;
   height: 100%;
   width: 792px;
   padding : 0px;
   background-image: url(../images/sivutausta.png);
   background-repeat: repeat-y;
   position : absolute;
   left : 75px;
   top : 0px;

}
   
li
{
line-height: 15px;
padding-left: 15px;
padding-top: 0px;
background-image: url(../images/arrow.png);
background-repeat: no-repeat;
background-position: 0px 2px;
}

td {
	text-align: left;
	font-size: 11px;
        font-family: Arial, Helvetica, sans-serif;
        padding-right: 4px;
}

h2 {
	text-align: left;
	font-size: 16px;
        font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
}

h3 {
	text-align: left;
	font-size: 13px;
        font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
}

/* Joomla core stuff */
a:link, a:visited {
	text-decoration: none;
	font-weight: bold;
        color: #666622;
}

a:hover {
	 font-weight: bold;
         color: #000000;
}

a.readon:link, a.readon:visited {
	color: #666622;
}

td .contentdescription {
        text-align: left;
        padding: 0px;
        margin: 0px;
        border: 0px;
}

table.contentpaneopen {
        width: auto;
	padding: 0px 4px 0px 0px;
	border-collapse: collapse;
	border-spacing: 0px;
	margin: 0px;
        text-align: left;
}


table.contentpaneopen td {
	font-family: Arial, Helvetica, sans-serif;
	line-height: 13px;
	font-size: 11px;
        text-align: left;
	padding: 0px;
}

table.contentpane {
        width: auto;
	padding: 0px;
	border-collapse: collapse;
	border-spacing: 0px;
	margin: 0px;
        text-align: left;
}

table.contentpane td {
	font-family: Arial, Helvetica, sans-serif;
	line-height: 13px;
	font-size: 11px;
        text-align: left;
	padding: 0px;
}


table.contentpaneopen td.contentheading, table.contentpane td.contentheading {
	line-height: 20px;
	font-weight: bold;
	font-size: 12px;
	font-family: Arial, Helvetica, sans-serif;
        text-align: left;
	padding: 0px;
}

table.contentpaneopen td.componentheading, table.contentpane td.componentheading {
	line-height: 16px;
	font-weight: bold;
	font-size: 11px;
	font-family: Arial, Helvetica, sans-serif;
	text-indent: 8px;
        text-align: left;
	padding: 0px;
}

.latestnews { 
        text-decoration: none;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 11px;
}

a.latestnews:link, a.latestnews:visited { 
        text-decoration: none;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 11px;
}

a.latestnews:hover { 
        text-decoration: none;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 11px;
}

.back_button {
	float: left;
        text-align: center;
        font-family: Arial, Helvetica, sans-serif;
        text-decoration: none;
        font-size: 11px;
        font-weight: bold;
        border: 1px #cccccc solid;
        background: #EEEEEE url(../images/button_bg.png) repeat-x;
        color: #666622;
        width: auto;
        padding: 0px 10px;
        line-height: 20px;
        margin: 1px;
}

.button {
	float: left;
        text-align: center;
        font-family: Arial, Helvetica, sans-serif;
        text-decoration: none;
        font-size: 11px;
        font-weight: bold;
        border: 1px #cccccc solid;
        background: #EEEEEE url(../images/button_bg.png) repeat-x;
        color: #666622;
        width: auto;
        padding: 0px 10px;
        line-height: 20px;
        margin: 1px;
}

.inputbox {
}

.componentheading {
	text-align: left;
	line-height: 25px;
	font-weight: bold;
	font-size: 18px;
	font-family: Arial, Helvetica, sans-serif;
	color: #99BB88;
        }

.contentpagetitle {
}

table.searchinto {
	width: 100%;
}

table.searchintro td {
	font-weight: bold;
}

table.moduletable {
	width: 100%;
	margin-bottom: 10px;
	padding: 0px;
	border-spacing: 0px;
	border-collapse: collapse;
}

div.moduletable {
	padding: 0;
	margin-bottom: 2px;
	text-align: left;
	font-size: 11px;
	font-family: Arial, Helvetica, sans-serif;
}

table.moduletable th, div.moduletable h3 {
	background: url(../images/subhead_bg.png) repeat-x;
	text-align: left;
	padding-left: 4px;
	height: 21px;
	line-height: 21px;
	font-weight: bold;
	font-size: 13px;
        font-family: Arial, Helvetica, sans-serif;
	margin: 0 0 2px 0;
}

table.moduletable td {
	font-size: 11px;
	padding: 0px;
	margin: 0px;
	font-weight: normal;
	font-family: Arial, Helvetica, sans-serif;
}

table.pollstableborder td {
}

.sectiontableheader {
}

.sectiontablefooter {
}

.sectiontableentry1 {
}

.sectiontableentry2 {
}

.small {
	color: #999999;
	font-size: 11px;
        background: #FFFFFF;
}

.createdate {
	height: 15px;
	padding-bottom: 10px;
	color: #999999;
	font-size: 11px;
        background: #FFFFFF;
}

.modifydate {
	height: 15px;
	padding-top: 10px;
	color: #999999;
        background: #FFFFFF;
	font-size: 11px;
}

table.contenttoc {
}

table.contenttoc td {
}

table.contenttoc th {
}

a.mainlevel:link, a.mainlevel:visited {
	display: block;
	background: #FFFFFF;
	line-height: 22px;
	height: 22px;
	width: auto;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #666622;
	text-align: left;
	padding-left: 10px;
	text-decoration: none;
	font-weight: bold;
}

a.mainlevel:hover {
	display: block;
	background: #FFFFFF;
	line-height: 22px;
	height: 22px;
        padding-left: 10px;
	width: auto;
	background-position: 0px -22px;
	color:#000000;
	font-weight: bold;
}

a.mainlevel#active_menu {
	display: block;
	background: #FFFFFF;
	line-height: 22px;
	height: 22px;
        padding-left: 10px;
	width: auto;
	background-position: 0px -22px;
	color:#000000;
	font-weight: bold;
}

a.mainlevel#active_menu:hover {
	display: block;
	background: #FFFFFF;
	line-height: 22px;
	height: 22px;
        padding-left: 10px;
	width: auto;
	background-position: 0px -22px;
	color:#000000;
	font-weight: bold;
}

a.sublevel:link, a.sublevel:visited {
	padding-left: 2px;
	vertical-align: middle;
	font-size: 12px;
	font-weight: normal;
	text-align: left;
}

a.sublevel:hover {
	color: #000000;
        background: #FFFFFF;
	text-decoration: none;
}

a.sublevel#active_menu {
	color: #000000;
        background: #FFFFFF;
}

.highlight {
	background-color: Yellow;
	color: Blue;
	padding: 0;
}
.code {
	background-color: #DDD;
        color: #404040;
	border: 1px solid #BBB;
}

form {
/* removes space below form elements */
	margin: 0;
 	padding: 0;
        width: auto;
}

div.mosimage {
  border: 1px solid #CCC;
}

.mosimage {
  border: 1px solid #CCCCCC;
  margin: 5px
}

.mosimage_caption {
  margin-top: 2px;
  background: #EFEFEF;
  padding: 1px 2px;
  color: #666;
  text-transform: none;
  font-size: 10px;
  border-top: 1px solid #CCCCCC;
}

span.article_seperator {
	display: block;
	height: 1.5em;
}





/* css layout */

/* header */
#header {
	background: #CCCC99 url(../images/main_header.jpg);
        color: #000000;
        height: 172px;
		margin-left: 16px;
		margin-right: 14px;
}

/* header inner */
#header_inner {
	background: #EEFFCC url(../images/header.jpg) no-repeat bottom left;
        color: #000000;
        height: 145px;
}

/* top menu container*/
#navigation {
	background: #CCCC99 url(../images/main_navi.jpg);
        color: #FFFFFF;
        height: 34px;
		margin-left: 16px;
		margin-right: 14px;
}

#buttons_inner {
	height: 35px;
}

#buttons {
	margin: 0px;
	padding: 0px;
	width: auto;
}

ul#mainlevel-nav
{
	list-style: none;
	padding: 0;
	margin: 0;
	margin-left : 55px;
	font-size: 0.8em;
}

ul#mainlevel-nav li
{
        float: left;
	background-image: none;
	text-align: left;
	font-family: Arial,Helvetica,sans-serif;
        font-size: 12px;
        font-weight: bold;
	padding-left: 0px;
	padding-right: 0px;
	margin: 6px 0px 0px 0px;
	line-height: 12px;
	white-space: nowrap;
        border-right: 1px solid #000;
}

ul#mainlevel-nav li a
{
	margin
	display: block;
	padding-left: 10px;
	padding-right: 10px;
	text-decoration: none;
	color: #000;
}

#buttons>ul#mainlevel-nav li a { width: auto; }

	ul#mainlevel-nav li a:hover
{
	color: #000000;
	background: #CCCC99;
}

/* surrounding container */
#container {
        width: 100%;
	float: left;
}

/* main content */
#content {
        color: #333333;
	margin-right: 5px;
        padding: 10px 10px 10px 40px;
        text-align: left;

}


/* right menu */
#sidebar {
	background: #FFFFFF;
        color: #333333;
	float: right;
        margin: 0px 40px 0px 0px;
        padding: 10px 0px 10px 0px;
}

#sidebar  { 
	width: 210px;
        voice-family: "\"}\""; 
        voice-family:inherit;
        width: 170px;
} 

  /* CSS1 UAs should see and use 2nd width */



/* main footer */
#footer {
        color: #666666;
	clear: both; 
        padding: 10px 40px 0px 40px;
        text-align: center;
	font-family: Arial,Helvetica,sans-serif;
        font-size: 11px;
}
