body {

	background-color: green;

}

div {

	visibility: visible;

}

p {

	margin: 20px 20px 20px 20px;

}

#main {

	height: 83%; /*83%*/
	/*height: 600px;*/
	width: 960px;
	border: 0px inset #202020;
	float: left;
	position: absolute;
	left: 50%;
	margin-left: -480px;

}

#otsikko {

	height: 50px; /*50px*/
	width: 960px; /*960px*/
	background: blue;
	font-size: 40px;
	/*color: springgreen;*/
	font-weight: bolder;
	letter-spacing: 4px;
	text-align: center;
	border-spacing: 0px 0px;
	background: url(http://users.tkk.fi/~kjaakma/kuvat/otsa3.JPG) center -10px no-repeat;

}

#otsikko a {

	width:960px; 
	height:50px; 
	display:block;
	color: black;
	/*padding-top:2px;*/
	/*font: bold .8em;*/
	/*text-align:center;*/

}

#otsikko a:visited { 

	color: black;

}

#otsikko a:hover {

	color: black;

}

#otsikko a:active {

	color: black;

}


#pylvas {

	width: 30px;
	height: 100%;
	background-color: blue;
	float: left;

}


#teksti {

	width: 930px;
	height: 100%;
	float: left;
	background-color: white;
	overflow : auto;
	font-size: 16px;

}

#ala {

	font-size: 12px;
	text-align: center;
	width: 100%;
	height: 20px;
	float: left;
	background: url(http://users.tkk.fi/~kjaakma/kuvat/column_down.JPG);
	background-color: white;
	background-position: left bottom;
	background-repeat: no-repeat;

}

#pikkuotsikko {

	height: 40px;
	width: 100%;
	font-weight: bold;
	font-size: 18px;
	font-family: Arial, serif;
	letter-spacing: 2px;
	top: 20px;
	background-color: white;
	border: 0px inset blue;
	border-spacing: 0px 0px;

}

#pikkuotsikko tr {

	background: url(http://users.tkk.fi/~kjaakma/kuvat/alaviiva.gif);	
	background-position: right bottom;
	background-repeat: no-repeat;
	text-align: right;
	vertical-align: bottom;

}

#apu {
	
	background-color: white;
	width: 50px;
	background: url();

}



.yla {/*pylvään yläosa*/

	height: 29px;
	border-spacing: 0px 0px;
	border: 0px inset blue;
	border-collapse: collapse;
	background: url(http://users.tkk.fi/~kjaakma/kuvat/column_up.JPG);
	background-position: center top;
	background-repeat: no-repeat;

}


.sivu { /*pylvään keskiosa*/

	border-spacing: 0px 0px;
	border: 0px groove #202020;
	background: url(http://users.tkk.fi/~kjaakma/kuvat/column_center_full.JPG);
	background-position: center top;
	background-repeat: repeat-y;
	background-color: white;
	text-align: right;
	border-collapse: collapse;

}

.alaosa {/*pylvään alaosa*/

	height: 25px;
	border-spacing: 0px 0px;
	border: 0px inset blue;
	border-collapse: collapse;
	background: url(http://users.tkk.fi/~kjaakma/kuvat/column_down.JPG);
	background-position: center top;
	background-repeat: no-repeat;

}

.pikkuotsikko {

	text-align: right;
	height: 50px;
	font-weight: bold;
	font-size: 20px;
	border: 0px inset blue;
	border-spacing: 0px 0px;


}
.pikkuotsikko_apu {

	height: 50px;
	border: 0px inset blue;
	width: 30px;
	border-spacing: 0px 0px;

}


a:visited { 

	color: blue;

}

a:hover {

	color:#ff6600;

}

a:active {

	color: #ff6600;

}

a {
	
	text-decoration: none;

}


/*Ylävalikko tästä alas*/

.horizontalcssmenu ul{

	margin: 0;
	padding: 0;
	list-style-type: none;

}

/*Top level list items*/
.horizontalcssmenu ul li{

	position: relative;
	display: inline;
	float: left;

}

/* -- Päävalikot -- */
.horizontalcssmenu ul li a{

	display: block;
	width: 103px; /*Width of top level menu link items 120*/
	padding: 2px 8px;
	border: 1px solid #202020;
	border-left-width: 0;
	text-decoration: none;
	/*background: url(menubg.gif) center center repeat-x;*/
	background: blue;
	color: white; /*black*/
	font: bold 13px Tahoma;

}
	
/*Sub level menu*/
.horizontalcssmenu ul li ul{

	left: 0;
	top: 0;
	border-top: 1px solid #202020;
	position: absolute;
	display: block;
	visibility: hidden;
	z-index: 100;

}

/*Sub level menu list items*/
.horizontalcssmenu ul li ul li{

	display: inline;
	float: none;

}


/* -- Alavalikko -- */
.horizontalcssmenu ul li ul li a{

	width: 115px; /*width of sub menu levels 125*/
	font-weight: normal;
	padding: 2px 5px;
	background: #e3f1bd;
	border-width: 0 1px 1px 1px;
	color: black;/*black*/

}

.horizontalcssmenu ul li a:hover{

	/*background: url(menubgover.gif) center center repeat-x;*/
	background: white;
	color: black;/*black*/

}

.horizontalcssmenu ul li ul li a:hover{

	background: #cde686;

}

.horizontalcssmenu .arrowdiv{

	position: absolute;
	right: 0;
	/*background: transparent url(menuarrow.gif) no-repeat center left;*/

}

* html p#iepara{ /*For a paragraph (if any) that immediately follows menu, add 1em top spacing between the two in IE*/

	padding-top: 1em;

}
	
/* Holly Hack for IE \*/
* html .horizontalcssmenu ul li { float: left; height: 1%; }
* html .horizontalcssmenu ul li a { height: 1%; }
/* End */

