a.pieni:link {
	color: #E50D0D;
	font-family: sans-serif;
	font-size: 9pt;
	text-decoration: underline;
}

a.pieni:visited {
	color: #E50D0D;
	font-family: sans-serif;
	font-size: 9pt;
	text-decoration: underline;
}

a.pieni:hover {
	color: #cc6300;
	font-family: sans-serif;
	font-size: 9pt;
	text-decoration: underline;
}

a.pieni:active {
	color: #FFFFFF;
	font-family: sans-serif;
	font-size: 9pt;
	text-decoration: underline; 
}

a:link {
	color: #cc6300;
	font-family: sans-serif;
	text-decoration: none;
}

a:visited {
	color: #cc6300;
	font-family: sans-serif;
	text-decoration: none;
}

a:hover {
	font-family: sans-serif;
	text-decoration: underline;
}

a:active {
	/* color: #FFFFFF; */
	/* color: #cc6300; */
	font-family: sans-serif;
}

a.menu:link {
	color: #000000;
	font-family: sans-serif;
	font-size: 9pt;
	text-decoration: none;
}

a.menu:visited {
	color: #000000;
	font-family: sans-serif;
	font-size: 9pt;
	text-decoration: none;
}

a.menu:hover {
	color: #cc6300;
	font-family: sans-serif;
	font-size: 9pt;
	text-decoration: none;
}

a.menu:active {
	color: #E50D0D;
	font-family: sans-serif;
	font-size: 9pt;
	text-decoration: none;   
}

body {
	margin:0px;
	margin-top: -1px;
	background:#D0D0C9;
	color: #333333;
	text-align:center;
	padding:0;
}

div.menu_item_placer {
	margin-top: 0px;
	margin-left: 30px;
	padding-bottom: 5px;
	padding-top: 1px;
}

fieldset.login
{
	border: 1px solid #cc6300;
	width: 25em;
	padding-top: 15px;
	margin-left: 35px;

}

input.login
{
	width: 13em;
	color: #781351;
	background: #fee3ad;
	border: 1px solid #781351
}

label.login
{
	width: 4em;
	float: left;
	text-align: right;
	margin-right: 0.5em;
	display: block;
	padding-right: 10px;
}

legend.login
{
	color: #fff;
	background: #ffa20c;
	border: 1px solid #781351;
	padding: 2px 6px
}

p.footer {
	margin-top: 8px;
	margin-left: 25px;
	margin-right: 25px;
	font-family: Arial;
	font-size: 8pt;
	color: #CECECE;
	text-align: center;
}

td {
	margin-top: 8px;
	margin-left: 25px;
	margin-right: 25px;
	font-family: Arial;
	font-size: 10pt;
	color: #5F5F5F;
}

.submit input
{
	margin-left: 4.5em;
}


.submit input
{
	color: #000;
	background: #ffa20f;
	border: 2px outset #d7b9c9
}

.leipis {
	margin-top: 8px;
	margin-bottom: 16px;
	margin-left: 25px;
	margin-right: 35px;
	font-family: Arial;
	font-size: 10pt;
	color: #5e5e5e;
	/* text-align: justify; */
}

#alapalkki {
	background-color: #cc6300;
	border:solid ##C4C4C4;	
	border-width:1px 0 1px 0;
	color: #FFFFFF;
	font-family: sans-serif;
	font-size: 8pt;
	text-align: center;
	padding: 6px;
	font-weight: bold;
}

#banner {
	height:94px;
	background:#eeeeee;
	color: #333333;
	margin-top: 0px;
}

#nav, #nav ul {
	padding: 0;
	margin:0;
	list-style: none;
	line-height: 1;
	z-index: 1;
}

/* DROPDOWN */
#nav a.dropdown {
	display: block;
	width: 71px; /* IE vaatii toimiakseen */
	color: white;
	line-height: 24px;
	text-decoration: none;
	font-weight: bold;
	font-family: sans-serif;
	font-size: 9pt;
	text-align:center
	
}
#nav a.dropdown:hover{background:transparent;}

#nav li.dropdown {
	width: 71px; /* IE vaatii toimiakseen */
	height: 24px;
	margin-left: 20px;
	margin-right: 20px;
	float: left;
}

/* second-level lists */
#nav li.dropdown ul {
	border:solid #C4C4C4;
	border-width: 1px;
	position: absolute;
	background: #F6F6F6;
	padding: 5px;
	width: 140px;
	height: auto;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}

#nav li.dropdown ul li {
	vertical-align: middle;
	background-image: url('images/menu_pisteet_t.gif');
	background-position: center left;
	padding: 0px;
}

#nav li.dropdown ul li.vika {
	background-image: url('images/menu_pisteet_ala.gif');
	background-position: center left;
}

#nav li:hover ul, #nav li.sfhover ul { /* IE requirs js: lists nested under hovered list items */
	left: auto;
} 


#oikea {
	width:750px;
	background:#ffffff;
	color: #333333;
	border:solid #C4C4C4;	
	border-width:0 0 0 1px;
	text-align:left;
	z-index: -1;
}

#reunat {
	text-align:left;
	border:0px;
	width:770px;
	background-image: url('images/reunat.gif');
	background-repeat: repeat-y;
	margin:auto;
}

#sisalto {
	text-align:left;
	border:1px solid #C4C4C4;
	width:750px;
	margin:auto;
}

/* sivuvalikon toka alakategoria */
#sub1 {
	margin-left: 3px;
	font-size: 9pt;
}

/* sivuvalikon toka alakategoria */
#sub2 {	
	font-size: 9pt;
	margin-left: 9px;
}

#valipalkki {
	height:24px;
	width: 750px;
	background-color: #cc6300;
}
 
#valipalkki_menut {
	width: 745px;
	height: 24px;
	text-align: left;
	float: left;
	padding-left: 5px;
}

* html #valipalkki { /* tan hack + box model hack for IE */
        width: 735px; // this one is for ie6
}

/* lomakkeen asettelussa tarvittavat määrittelyt */

div.rivi{
	float: left;
	clear: both;
	padding-top: 10px;
	width: 100%;
}

div.otsikko{
	float: left;
	clear: left;
	width: 200px;
}

div.elementit{
	float: left;
	clear: right;
}

div.pari{
	float: left;
	clear: both;
}


