body
{
	background-color:#d7d7d7;
	padding:0;
	margin:0;
	text-align: center; /* for IE */
}

body.contentpane
{
background-color:#FFFFFF;
padding:1em;
}

.kuva_oikealla
{margin-left:10px;
margin-bottom:10px;
float:right;
}

.kuva_vasemmalla
{margin-left:10px;
margin-bottom:10px;
float:left;
}

p        { 
font-variant: normal; font-size: 13px; font-family: "Trebuchet MS"; color: #333333; text-align: left ;
line-height:1.2em;
}
h1           { 
	color: #591419;
	font-weight: bold;
	font-size: 18px;
}
h2           { 
	color: #333366;
	font-weight: bold;
	font-size: 16px;
 }
 h3           { 
	color: #333366;
	font-weight: bold;
	font-size: 13px;
 }
 
 caption
 {
 text-align: left;
 
 }
 
td, th       { font-family: Trebuchet MS; font-variant: normal; font-size: 13px;
vertical-align:top;}

a:link {
	color: #0071a3; 
	font-weight: bold;
	text-decoration:none;
	
}

a:visited {
	color:#7b464a;
	font-weight: bold;
	text-decoration:none;
	
}

a.pathway:link, a.pathway:visited
{
color: #0071a3; 
}

a:hover {
	color: #900;
	text-decoration:underline;
}

td.luokitusvari
{margin:5px;
height:14px;
width:38px;
border:1px solid white;}
	
#yhteystiedot
{width:192px;
background-image:url(../images/yhteystiedot_bg.jpg);
background-repeat:no-repeat;
background-color:#e6e6e6;
margin-left:15px;
}

#yhteystiedot td.tiedot
{
padding:1px 8px 1px 8px;
}


.kirjastoPUN
{color:#711a21;
font-size:11px;}
.kirjastoSIN
{color:#333366;}


#master{
	width:773px;
	margin: 0 auto;   /* align for good browsers */
	padding:0;
	text-align: left; /* counter the body center */
}

#content{
background-color:#FFFFFF;
}

#maintable
{padding:0;
margin:0;
background-color:#FFFFFF;
}

#topimagebox{
	width:inherit;
	height:167px;
	/*background-image: url("../images/main_top_image.jpg");
	background-repeat:no-repeat;*/
}

#topimageboxLapset{
	width:inherit;
	height:167px;
	background-image: url("../images/main_top_image_lapset.jpg");
	background-repeat:no-repeat;
}


#buttons {
	margin: 0px;
	padding: 0px;

	width:100%;
	background-color:#e6e6e6;	
}

.clr{
clear:both;

}

ul#mainlevel-nav
{
	margin: 0;
	padding: 0;

	
}

ul#mainlevel-nav li
{
	margin: 0;
	padding: 0;
	display: block;
	float:left;
	list-style-type: none;
	font-size: 0.8em;
	padding:7px 15px 7px 15px;
	background-image:url(../images/main_navi_bg.gif);
		background-repeat:no-repeat;
				background-color:#e6e6e6;
}

ul#mainlevel-nav li a
{


	text-decoration: none;

	color: #333333;
	font-family:Verdana, Arial, Helvetica, sans-serif;

}



	ul#mainlevel-nav li a:hover
{
text-decoration:underline;
}




#pathway_text {
  overflow: hidden;
	display: block;
	height: 30px;
	line-height: 25px !important;
	line-height: 22px;
	padding-left: 4px;
	margin-bottom: 2px;
}

#pathway_text img {
	margin-left: 5px;
	margin-right: 5px;
	margin-top: 6px;
}

#search_outer {
	float: left;
	width: 165px;
}

#search_inner {
  border: 1px solid #cccccc;
	padding: 0px;
  height: 21px !important;
  height: 23px;
  overflow: hidden;
}

#search_inner form {
  padding: 0;
  margin: 0;
}

#search_inner .inputbox {
	border: 0px;
	padding: 3px 3px 3px 5px;
	font-family: arial, helvetica, sans-serif;
	font-size: 11px;
	color: #c64934;
}

#header_outer {
	text-align: left;
	border: 0px;
	margin: 0px;
}

#header {
	float: left;
	padding: 0px;
	margin-right: 2px;
	width: 635px;
	height: 150px;
	background: url(../images/header_short.jpg) no-repeat;
}

#top_outer{
	float: left;
	width: 165px;
}

#top_inner {
  border: 1px solid #cccccc;
	padding: 2px;
  height: 144px !important;
  height: 150px;
  overflow: hidden;
  float: none !important;
  float: left;
}

#left_outer {
  float: left;
	margin-top: 2px;
	width: 165px;
}

#left_inner {
  border: 1px solid #cccccc;
	padding: 2px;
  float: none !important;
  float: left;
}

#content_outer {
	padding: 0px;
	margin-top: 0px;
	margin-left: 2px;
	/** border: 1px solid #cccccc; **/
	float: left;
	width: 635px;
}

#content_inner{
  float: none !important;
  float: left;
  padding: 0;
  padding-top: 2px;
  margin: 0;
}
td.maincontent
{ padding:15px 30px; }

table.content_table {
	width:100%;

}

table.content_table td {
	padding: 0px;
	margin: 0px;
}


#banner_inner {
	float: left;
	padding: 0px;
	height: 70px;
}

#poweredby_inner {
	float: right;
	padding: 0px;
	margin-left: 0px;
	height: 70px;
}

#right_outer {
	margin-left: 2px;
	width: 165px;
}

#right_inner {
  float: none !important;
  float: left;
  border: 1px solid #cccccc;
  padding: 2px;
}


.user1_inner {
	border: 1px solid #cccccc;
  float: none !important;
  float: left;
	margin: 0px;
	padding: 2px;
}

.user2_inner {
	border: 1px solid #cccccc;
  float: none !important;
  float: left;
	margin: 0px;
	padding: 2px;
}

table td.body_outer {
	padding: 2px;
	/*border: 1px solid #cccccc;*/
}

.maintitle {
	color: #ffffff;
	font-size: 40px;
	padding-left: 15px;
	padding-top: 20px;
}

.error {
  font-style: italic;
  text-transform: uppercase;
  padding: 5px;
  color: #cccccc;
  font-size: 14px;
  font-weight: bold;
}

/** old stuff **/

.back_button {
	float: left;
  text-align: center;
  font-size: 11px;
  font-weight: bold;
  border: 3px double #cccccc;
  width: auto;
  background: url(../images/button_bg.png) repeat-x;
  padding: 0px 10px;
  line-height: 20px;
  margin: 10px 2px 2px 2px;
}

.pagenav {
  text-align: center;
  font-size: 11px;
  font-weight: bold;
  border: 3px double #cccccc;
  width: auto;
  background: url(../images/button_bg.png) repeat-x;
  padding: 0px 10px;
  line-height: 20px;
  margin: 1px;
}

.pagenavbar {
	margin-right: 10px;
	float: right;
}

#footer {
		background-color:#FFFFFF;
	
}

#footerinner
{
	height:30px;

	border-top:1px solid #e0e0e6;
	padding: 2px 6px 2px 6px;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:10px;
	color:#888785;
margin:0 20px 0 20px;
}

#maker
{
margin:3px 0 6px 0;
}

#maker a
{font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:9px;
color:#666666;

}
#maker a:hover
{font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:9px;
color:black;
}

/* Joomla core stuff */

table.contentpaneopen {
  width: 100%;
	padding: 0px;
	border-collapse: collapse;
	border-spacing: 0px;
	margin: 0px;
}

table.contentpaneopen td {
   padding-right: 5px;
}

table.contentpaneopen td.componentheading {
	padding-left: 4px;
}



table.contentpane {
  width: 100%;
	padding: 0px;
	border-collapse: collapse;
	border-spacing: 0px;
	margin: 0px;
}

table.contentpane td {
	margin: 0px;
	padding: 0px;
}

table.contentpane td.componentheading {
	padding-left: 4px;
}

table.contentpaneopen fieldset {
	border: 0px;
	border-bottom: 1px solid #eee;
}

.button {
  color: #c64934;
  font-family: Arial, Hevlvetica, sans-serif;
  text-align: center;
  font-size: 11px;
  font-weight: bold;
  border: 3px double #cccccc;
  width: auto;
  background: url(../images/button_bg.png) repeat-x;
  padding: 0px 5px;
  line-height: 18px !important;
  line-height: 16px;
  height: 26px !important;
  height: 24px;
  margin: 1px;
}

.inputbox {
	padding: 2px;
	border:solid 1px #cccccc;
	background-color: #ffffff;
}

.componentheading {

	color: #591419;
	font-weight: bold;
	font-size: 18px;


	text-align: left;
	padding-top: 6px;
	padding-bottom: 6px;


}

.contentcolumn {
	padding-right: 5px;
}

.contentheading {
	height: 30px;
	color: #591419;
	font-weight: bold;
	font-size: 18px;
}



.contentpagetitle {
	font-size: 13px;
	font-weight: bold;
	color: #cccccc;
	text-align:left;
}

table.searchinto {
	width: 100%;
}

table.searchintro td {
	font-weight: bold;
}

table.moduletable {
	width: 100%;
	margin-bottom: 5px;
	padding: 0px;
	border-spacing: 0px;
	border-collapse: collapse;
}

div.moduletable {
	padding: 0;
	margin-bottom: 2px;
}

table.moduletable th {

	color: #333366;
	font-weight: bold;
	font-size: 13px;
	text-align: left;
	padding-left: 4px;
	height: 21px;
	line-height: 21px;


	text-transform: uppercase;
	margin: 0 0 2px 0;
}

table.moduletable td {
	font-size: 11px;
	padding: 0px;
	margin: 0px;
	font-weight: normal;
}

table.pollstableborder td {
  padding: 2px;
}

.sectiontableheader {
  font-weight: bold;
  padding: 4px;
}

.sectiontablefooter {

}

.sectiontableentry1 {
	background-color : #ffffff;
}

.sectiontableentry2 {
	background-color : #f9f9f9;
}

.small {
	color: #999999;
	font-size: 11px;
}

.createdate {
	height: 15px;
	padding-bottom: 10px;
	color: #999999;
	font-size: 11px;
}

.modifydate {
	height: 15px;
	padding-top: 10px;
	color: #999999;
	font-size: 11px;
}

table.contenttoc {
  border: 1px solid #cccccc;
  padding: 2px;
  margin-left: 2px;
  margin-bottom: 2px;
}

table.contenttoc td {
  padding: 2px;
}

table.contenttoc th {
  background: url(../images/subhead_bg.png) repeat-x;
  color: #666666;
	text-align: left;
	padding-top: 2px;
	padding-left: 4px;
	height: 21px;
	font-weight: bold;
	font-size: 10px;
	text-transform: uppercase;
}

a.mainlevel:link, a.mainlevel:visited {
	display: block;
	vertical-align: middle;
	font-size: 11px;
	font-weight: bold;
	color: #0a5bad;
	text-align: left;
	padding-top: 5px;
	padding-left: 18px;
	height: 20px !important;
	height: 25px;
	width: 100%;
	text-decoration: none;
}

a.mainlevel:hover {
	background-position: 0px -25px;
	text-decoration: none;
	color: #0a5bad;
}

a.mainlevel#active_menu {
	color:#0a5bad;
	font-weight: bold;
	text-decoration:underline;
}

a.mainlevel#active_menu:hover {
	color: #0a5bad;
}

a.sublevel:link, a.sublevel:visited {
	padding-left: 1px;
	vertical-align: middle;
	font-size: 11px;
	font-weight: bold;
	color: #0a5bad;
	text-align: left;
}

a.sublevel:hover {
	color: #0a5bad;
	text-decoration: none;
}

a.sublevel#active_menu {
	color: #333;
	text-decoration: bold;
}

.highlight {
	background-color: Yellow;
	color: Blue;
	padding: 0;
}
.code {
	background-color: #ddd;
	border: 1px solid #bbb;
}

form {
/* removes space below form elements */
	margin: 0;
 	padding: 0;
}

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: normal;
  font-size: 10px;
  border-top: 1px solid #cccccc;
}

span.article_seperator {
	display: block;
	height: 1.5em;
}
