.mainkehys{
/*mainkehyksen sis�ll� koko etusivun sis�lt� ja muotoilu*/
border-style:none;
	margin-left:auto;
margin-right:auto;

	width: 925px;
height: 1125px;
	overflow: hidden;
}

.pikkukehys {
/*pikkuhyksess� valikon nappulat*/
	border-style:none;
	width: 920px;
height:80px;
background-color: #F0F0F0; 
	overflow: hidden;
	/* border-right: 5px solid #F0F0F0; */
	margin-bottom: 5px;
		position:relative;
}
	.floatLeft {
float: left;
width:165px;
height:60px;
margin-top:9px;
margin-right:3px;
margin-left:3px;

padding-left:15px;
padding-bottom:15px;
}	
	
	img.pos_right {
/*valikon nappulakuvien sijoitus*/
	position:relative;
	margin:15px 9px 15px;
	}	

.keskiosionkehys {
/*sis keskiosion vasenkpl ja tekstikpl*/
	border-style:none;
	width: 920px;
height:850px;
	overflow: hidden;
	margin-bottom: 5px;

		position:relative;
}
#primary {
    float: left;
    width: 180px;
}
	#secondary {
    float: left;
    width: 165px;
    border-style:none;
	background-image:url('ltgraydk.gif');
	background-repeat:repeat;
    background-color: rgb(202,232,200);
}
.vasenkappale {
/*linkkisivujen linkit */
	border-style:none;
	width: 180px;
height:1135px;
overflow: hidden;
	margin-bottom: 5px;
	float:left;
}

.isokehys {
/*keskiosuus pohja johon tekstikehys tulee*/
	border-style:none;
   background-color: #FFF8DC;
	width: 740px;
height: 1135px;px;
	overflow: hidden;

	margin-bottom: 5px;
	
	position:relative;
/*	position:absolute;
		top:95px;
		left: 205px;*/
}
.tekstikehys {
/*tekstikehys se mihin tekstit upotetaan background-color: #ffffcc; position:relative;*/
	border-style:none;
   background-color: #FFF8DC;
	width: 700px;
height: 1135px;
	overflow: hidden;

	margin-bottom: 5px;
	z-index:auto;
	
	float:right;
/*position:absolute;
		
		left: 40px;*/
}

#pohja{	
border-style:none;
background-image:url('/images/tiili_harmaa.jpg');
background-repeat:repeat;
z-index:auto;
	width: 920px;
height: 100px;
	overflow: hidden;
	margin-bottom: 1px;
	position:relative;
} 

#ala {
	border-style:none;
   background-color: #F0F0F0;
	width: 150px;
height: 25px;
	overflow: hidden;
		z-index:1;
		margin-top:25px;
margin-bottom:25px;
margin-right:15px;
padding-bottom:25px;
		float: right;
		}	
	
.pikkukk {
/*pikkukk osa keskustan tekstin sijoitusta 
pidet��n t�m� varoiksi mukana */
	border-style:none;
	width: 555px;
height:215px;
background-color: #F0F0F0; 
	overflow: hidden;
	margin-bottom: 5px;
	
	position:absolute;
		top:675px;
		left: 220px;
}

	h1.botsikko
{
/* betonimies teksti*/
	font-family: verdana;
    top: 20px;
	font-size: 40px;
	font-weight: bold;
	color: #B22222;
	text-align:center;
	z-index:1;
} 
	h2.tebotsikko    {
	font-family:"Times New Roman", Times, serif;
	font-size: 35px;
	color: #4682B4;
	text-align:center;
	z-index:1;
} 

 h5.dateot{
 	font-family: verdana,'lucida console', sans-serif;
	font-size: small;
	font-style: italic;
    text-indent: 10px;
	text-align:left;
	color: #94182D;
	border-style:none;
   	background-color: #9999FF;
	width: 650px;
	height: 25px;
	overflow: hidden;
	float: left;
	padding-top: 7px;
	margin-top: 7px;
	z-index:2;
 }
 
p.omarg2  {
font-family: verdana,'lucida console', sans-serif;
color: #94182D;
margin-right: 2cm;
	z-index:3;
}

 p.omarg  {
	font-family: verdana,'lucida console', sans-serif;
	color: #B22222;
	margin-right: 2px;
	z-index:1;
}
p.lopuksi {
   font-family: arial, 'lucida console', sans-serif;
	 font-style: italic;
	 font-size: 14px;
		color:#B22222;
		z-index:1;
    }
		
a{
	font-weight:bold;
	text-decoration:underline;
	color:#94182d;
}	

a.oma:link 	{
	font-weight:bold;
	text-decoration: none;
	color:#D72341;     /* unvisited link */
}	
a.oma:visited 	{
	 text-decoration: none;
	 font-weight:bold;
	 color:#D72341; 
	 /* visited link */
}	 
a.oma:hover 	{
				text-decoration:underline;
				color:#E60000; 
						/* mouse over link */
}
a.oma:active	{
 text-decoration: none;
	 font-weight:bold;
 color:#00008b;
  /* selected link */}  
}   
	