body {
	background-color: #FFFBE8;
	margin:0;
	padding:0;
	font-family:'trebuchet ms',arial,verdana,sans-serif;
	color:#333;
	}

a:link, a:active, a:visited {

	color:#0049aa;

	text-decoration:underline;

	}



a:visited {color:#23488c;}



a:hover {

	text-decoration:none;

	color:#024;

	}



#menu {
	clear:both;
	border-bottom:0px solid #999;
	background:#66bb49;
	height:29px;
	font-size:12px;
	}

#menu ul {
	margin:0;
	padding:0;
	list-style:none;
	}

#menu li {
	width:10%;
	height:29px;
	margin:0;
	padding:0;
	float:left;
	}

#menu a {
	display:block;
	width:100%;
	line-height:29px;
	border-left:1px solid #7e7e7e;
	height:29px;
	text-align:center;
	color:#fff;
	text-decoration:none;
	background-color: #66bb49;
	}

#menu a span {
	display:block;
	width:100%;
	height:29px;
	border-left:1px solid #ccc;
	}

#menu a:hover, #menu a.selected {
	cursor:pointer;
	background-color:#ddd;
	background-position:100% -29px;
color:#000;
	}



li#home, li#nuoret, li#talous, li#oikea {
	width:9%;
	}

li#oikea span {
	border-right:1px solid #7e7e7e;
	}


.vasensivu{
	background-color: #ffeea6;
	border-right-width: 1px;
	border-left-width: 1px;
	border-right-style: dotted;
	border-left-style: solid;
	border-right-color: #333333;
	border-left-color: #333333;
}


.sisalto {
	background-color: #fffff0;
}
.sisalto2 {
	border-right-width: 1px;
	background-color: #fffff0;
	border-right-style: solid;
	border-right-color: #333333;
}


.oikeasivu {
	background-color: #ffeea6;
	border-right-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-left-style: dotted;
	border-right-color: #333333;
	border-left-color: #333333;
	font-size:0.8em;
}

form, #main  {
	margin:0;
	padding:0;
	}

ol, ul, li {
	font-size:1em;
	line-height:1.6em;
	margin:0 0 1em 0;
	padding:0;
	}

li {
	margin:0.1em 0 0 0;
	list-style-position:outside;
	}

p {
	line-height:1.4em;
	margin:1em 0;
	}

ul.nav_categories {
	padding:0.6em 0 0 1.4em;
margin-bottom: 0px;
	}

.nav_categories li {
	list-style-position: outside;
	list-style-image: url(../ee/images/layoutkuvat/li_taus.gif);
	font-size: 12px;
	font-style: italic;
}


.nav_categories li ul {
	padding-left: 25px;
}

ul#nav_categories2 {
	padding:0 0 0 0.2em;
margin-top: 0px;
	}

#nav_categories2 li {
	list-style-position: inside;
	list-style-image: url(../ee/images/layoutkuvat/li_taus.gif);
	font-size: 12px;
	font-style: italic;
}

.right {
	float: right;
	margin-top: 5px;
	margin-right: 15px;
	margin-bottom: 5px;
	margin-left: 10px;
}

#footer span {
	float:right;
	}

#footer {
	background-color: #CCCCCC;
	background-image: url(../ee/images/layoutkuvat/footer_keski.gif);
	background-repeat: repeat-x;
	background-position: left top;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}

#footer p {
	font-size:10px;
	margin:0;
	}




.sisalto h1 {
	margin:0;
	line-height:24px;
	font-size:1.1em;
	/*background-image: url(../ee/images/layoutkuvat/h_taus.jpg);
	background-repeat: no-repeat;
	background-position: right top;*/
	padding-right: 24px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #000099;
	font-weight: bold;
	}
.sisalto2 h1 {
	line-height:24px;
	font-size:1.1em;
	/*background-image: url(../ee/images/layoutkuvat/h_taus.jpg);
	background-repeat: no-repeat;
	background-position: right top;*/
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #000099;
	font-weight: bold;
	margin-left: 10px;
	margin-right: 10px;

	}

.sisalto2 p {
	
	font-size:0.8em;
	margin-left: 20px;
	margin-right: 10px;

	}
.sisalto p {
	
	font-size:0.8em;
	margin-left: 20px;
	margin-right: 10px;

	}

.sisalto h2 {
	margin:0;
	background-image: url(../ee/images/layoutkuvat/h_taus.gif);
	background-repeat: no-repeat;
	background-position: right top;
	line-height:20px;
	font-size:1.0em;
	padding-left:17px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #000099;
	}


.sisalto li {
	list-style-position: inside;
	list-style-image: url(../ee/images/layoutkuvat/li_taus.gif);
	font-size: 12px;
	font-style: italic;
	margin-left: 20px;
}

.sisalto2 li {
	margin-top: 0px;
	margin-right: 20px;
	margin-left: 30px;
	font-size: 12px;
	
	font-weight: bold;
	line-height: 16px;
	list-style-position: inside;
	list-style-image: url(../ee/images/layoutkuvat/li_taus.gif);
}

.sisalto2 h4 {
	margin-left: 5px;
	color: #003366;
}

.oikeasivu h2 {
	margin:0;
	line-height:37px;
	font-size:12px;
	/*font-style: italic;
	font-weight: bold;*/
	color: #FFFFFF;
	padding-top: -2px;
	text-align: center;
	background-color: #66bb49;
	}
form p {
	font-size: 12px;
}


.vasensivu h2 {
	line-height:22px;
	font-size:16px;
	padding-left:17px;
	font-style: italic;
	font-weight: bold;
	color: #000;
	margin-top: 10px;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
	}
.vasensivu input {
	font-size: 12px;
}



#viesti {
	/*background-color: #eee;
	border: 1px solid #666666;*/
	padding: 3px;
	margin-top: 5px;
	margin-right: 5px;
	margin-bottom: 10px;
	margin-left: 5px;
	/*font-size: 12px;*/
     
}

#viesti2 {
	/*background-color: #eee;
	border: 1px solid #666666;*/
	padding: 3px;
	margin-top: 5px;
	margin-right: 5px;
	margin-bottom: 20px;
	margin-left: 5px;
	
}

div#viesti hr {display: block; clear: left; margin: -0.66em 0;
  visibility: hidden;}

div.clearer {clear: left; line-height: 0; height: 0;}

.vasensivu form {
	margin-left: 3px;
}
.viiva {
	line-height: 1px;
	border-top-width: 1px;
	border-top-style: dotted;
	border-top-color: #333333;
}
.left {
	margin: 5px;
	float: left;
}

#kuvavasen {
	margin: 10px;
	float: left;

}

#kuvaoikea {
	margin: 5px;
	float: right;

}

#banneri {
	background-image: url(../ee/images/layoutkuvat/banneri.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	height: 89px;
	width: 798px;
	margin-top: 0px;
	margin-left: 0px;
	background-color: #FFEEA6;
}
#oikeatop {
	float: right;
	margin-top: 0px;
	margin-right: 0px;
	font-size: 0.70em;
	padding-top: 1px;
	padding-right: 2px;
	color: #333;
}

#oikeatop a {
	color: #333;
	text-decoration: none;
}
#oikeatop a:hover {
	color: #000;
	text-decoration: underline;
	background-color: #FFFFFF;
}


.tyontekijat th {
	color: #FFFFFF;
	background-color: #999999;
}

.tyontekijat td {
	border: 1px solid #003366;
	font-size: 12px;
}
.tyontekijat #yks {
	background-color: #E2E3FE;
}
.tyontekijat #kaks {
	background-color: #F2F1EC;
}

.riviyks {
	font-size: 12px;
	background-color: #EFF5FC;
	
}

.rivikaks {
	font-size: 12px;
	background-color: #F4F4F7;
	
}

.tdvasen {
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #999999;
	border-bottom-color: #999999;
	border-left-color: #999999;
	vertical-align: top;
}
.tdkeski {
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: #999999;
	border-bottom-color: #999999;
	vertical-align: top;
}
.tdoikea {
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-top-color: #999999;
	border-right-color: #999999;
	border-bottom-color: #999999;
	vertical-align: top;
}

/* kuva-albumin css */

.categories {
 padding:           5px 10px 5px 12px;
 background-color:  #E9E9F2;  
}

.tableBorder {
 border: 1px solid #73737E;
}

.tableBorder th {
 font-family:       Verdana, Geneva, Tahoma, Trebuchet MS, Arial, Sans-serif;
 font-size:         12px;
 color:             #fff;
 font-weight:		bold;
 text-align:			left;
 padding:           5px 4px 5px 12px;
 background-color:  #7378A7;  
}

.tableBorder td {
 font-family:       Verdana, Geneva, Tahoma, Trebuchet MS, Arial, Sans-serif;
 font-size:         11px;
 color:             #000;
}


/* kuva-albumin css loppuu */


.posted {
margin-bottom: 10px;
font: 10px lucida grande, verdana, arial, helvetica, sans-serif;
background: transparent;
color: #666;
}
.paginate {
 font-family:		Verdana, Geneva, Tahoma, Trebuchet MS, Arial, Sans-serif;
 font-size:			12px;
 font-weight: 		normal;
 letter-spacing:	.1em;
 padding:			10px 6px 10px 4px;
 margin:			0;
 background-color:	transparent;
}

.pagecount {
 font-family:		Verdana, Geneva, Tahoma, Trebuchet MS, Arial, Sans-serif;
 font-size:			10px;
 color:				#666;
 font-weight:		normal;
 background-color: transparent;
}
