body {
	margin: 0 auto;
	padding: 0;
	font-family: Arial, Verdana, Sans-Serif;
	font-size: 0.8em;
	background-color: #E7E7E7;
	background-image: url(images/yla_bg.jpg);
	background-repeat: repeat-x;
}

body a:link {
color:#305994; font-size: 8pt; text-decoration:none; font-family: arial;}

body a:visited {
color:#305994; font-size: 8pt; text-decoration:none; font-family: arial;}

body a:hover {
color:#000000; font-size: 8pt; text-decoration:underline; font-family: arial;}

body a:active {
color:#EF7C29; font-size: 8pt; text-decoration:none; font-family: arial;}

#wrap {
background: #FFF;
margin: 0 auto;
width: 760px;
}

#header {


padding-bottom:5px;
}

#vali
{
background-color: #000;
color: #fff;
width:170px;
float:left;
text-align:center;
font-weight:bold;
}

#vali2 {
padding-left:10px;
background-color: #A9A9A9;
/* margin: 0 0 0 170px; */
color: #A9A9A9;
font-weight:bold;
float:left;
width:440px;
}

#vali3 {
background-color:#D8D9DD;
color:#000;
float:right;
text-align:center;
font-weight:bold;
width:140px;
}

#joo {
background: url(backg.jpg) repeat;
clear:both;
}

#extras {
float: right;
width: 140px;
padding: 0;
font-size: 0.9em;
line-height: 1.5em;
}

#extras table {
border-collapse:collapse;
}

#extras .rivi_odd {
	background-color:#f6f6f6;
	padding:10px;
}

#extras .rivi_even {
	padding:10px;
	background-color:#fcfcfc;
}

#extras a:link {
color:#000000;
font-size: 8pt;
text-decoration:none;
font-family: arial;
}

#extras a:visited {
color:#000000;
font-size: 8pt;
text-decoration:none;
font-family: arial;
}

#extras .smalltext {
font-size:8pt;
font-weight:bold;
font-family:arial;
color:#7E7E7E;
}

#extras a:link {
color:#000000;
font-size: 8pt;
text-decoration:none;
font-family: arial;
font-weight:bold;
}

a:visited {
color:#000000;
font-size: 8pt;
text-decoration:none;
font-family: arial;
font-weight:bold;
}

#extras a:hover {
color:#000000;
font-size: 8pt;
text-decoration:underline;
font-family: arial;
font-weight:bold;
}

#extras a:active {
color:#EF7C29;
font-size: 8pt;
text-decoration:none;
font-family: arial;
font-weight:bold;
}

#extras p {
margin: 0 0 1.5em 0;
}

#content {

margin: 10px 140px 0 170px;
border-left: 1px solid #f0f0f0;
border-right: 1px solid #f0f0f0;
padding: 5px 10px 0 10px;
line-height: 1.6em;
text-align: left;
background-color: #fff;
min-height:300px;
}

#content h3 {
font-weight:bold;
font-size: 1.2em;
}

#content p {
background-color:#fff;
font-weight:normal;
font-size: 0.9em;
line-height: 1.6em;
}

#content .Helptext { color: #3C3130; font-family:Arial; text-decoration: none; font-size:8pt; }
#content .Bwhite { font-family: Arial; color: white; font-weight: bold; font-size: 10px; }
#content .Formtext { font: 8pt arial; text-decoration: none; color: black; }
#content .Linkkina { font-color: #3C3130; font-family: Arial; text-decoration: none; font-size:8pt; font-weight: bold;}
#content .singress { font-family: Arial; color: #000; font-size: 8pt; text-decoration: none; font-weight: bold; }
#content .ingress { font-family: Arial; color: #000; font-size: 10pt; text-decoration: none; font-weight: bold; }
#content .stext { font-family: Arial; color: Black; font-size: 8pt; text-decoration: none; font-weight: normal; }
#content .harmaa { font-family: Arial; color: #666666; font-size: 8pt; text-decoration: none; font-weight: bold; }
#content .konemerkki { font-family: Arial; color: Black; font-size: 12pt; text-decoration: none; font-weight: bold; }
#content .smalla { font-family: Arial; color: #315994; font-size: 8pt; text-decoration: none; font-weight: bold; }
#content .smalla:hover { font-family: Arial; color: Black; font-size: 8pt; text-decoration: none; font-weight: bold; }

#avmenu {
clear: left;
float: left;
width: 170px;
margin: 0 0 0 0;
padding: 0;
font-size: 0.9em;
background-color: #D8D9DD;
}

#avmenu ul {	
list-style: none;
width: 170px;
margin: 0 0 20px 0;
padding: 0;
font-size: 1.1em;
}	


#avmenu li {
margin-bottom: 4px;
border-left: 2px solid #D8D9DD;
}

#avmenu li a {
font-weight: bold;
height: 20px;
text-decoration: none;
color: #000;
display: block;
padding: 6px 0 0 10px;
background: #D8D9DD;
border-left: 4px solid #D8D9DD;
}	

#avmenu li a:hover {
background: #D8D9DD;
color: #CE0D2B;
border-left: 4px solid #D8D9DD;
text-decoration: none;
}

#bottomtitle {
clear:both;
height:10px;
background-color:#A9A9A9;
}

#footer {
clear:both;
background-color: #FFF;
text-align: center;
padding-top:5px;
}

.hide {
display: none;
}
