

html{
    margin:0;
    padding:0;
    height:100%;
    overflow:hidden;

    _padding:100px 100px 0px 0px;
}

body{
    margin:0;
    padding:0;
    height:100%;
    overflow:hidden;
    zoom:1;
	font: normal 11px arial;
}



a:link, a:visited {
	text-decoration: none;
	color:  #000000;
	outline: none;
	}

a:active {
	text-decoration: none;
	color:  #000000;
	outline: none;
	}

a:hover {
	color: #7bb2c0;
	text-decoration: none;
	}


p.teksti {
	font-size: 11px;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 20px;
	margin-top: 15px;
	margin-bottom: 10px;
	margin-right: 300px;

	}


p.enteksti {
	color: #4d8694;
	font-size: 11px;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 20px;
	margin-top: 15px;
	margin-bottom: 10px;
	margin-right: 300px;

	}


p.otsikko {
	font-size: 12px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	line-height: 20px;
	margin-top: 15px;
	margin-bottom: 10px;

	}


.frame{

    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    overflow:hidden;
    zoom:1;
    _right:0;
    _bottom:0;
    _width:81%;
    _height:100%;
    _position:relative;

}

.frame-bd{
  zoom:1;
}



/* header */

#main-header{
    overflow:hidden;
    position:absolute;
    width:100%;
    height:100px;
    top:20px;
    left:10px;
    _zoom:1;
    _overflow:visible;
    _padding:0 100px 0 0;

}

#main-header .frame{
  overflow:hidden;
  _padding:0 0 0 0px;
  _zoom:1;

}

#main-header .frame .frame-bd{
  zoom:1;
  _margin:0 0 0 0px;
}




/* footer */

#main-footer{
    overflow:hidden;
    position:absolute;
    width:100%;
    height:30px;
    bottom:2px;


    left:10px;
    z-index:10;
    _zoom:1;
    _overflow:visible;
    _padding:0px 0px 0px 0px;

}


#main-footer .frame{
  overflow:hidden;
  _padding:0 0 0 0px;
  _zoom:1;

}

#main-footer .frame .frame-bd{
  zoom:1;
  _margin:0 0 0 0px;
}


/* content */

#pri-main{

    overflow:hidden;
    position:absolute;
    top:120px;
    left:380px;
    right:0px;
    bottom:20px;
    z-index:2;

    _top:100px;
    _bottom:auto;
    _height:100%;
}


#pri-main .frame{

  overflow:auto;
}


#pri-sub{

	overflow:hidden;
	position:absolute;
	height:0px;
	top:100px;
	left:100px;
	right:0px;
	z-index:1;

	_bottom:0;
	_width:100%;
}


#pri-sub .frame{
  overflow:auto;
}


/* menu */

#sec-main{

    overflow:visible;
    position:absolute;
    //width:500px;

    top:130px;
    bottom:40px;
    left:50px;
    z-index:2;

    _height:100%;
    _bottom:auto;
    _padding:0 0 0 0;
}

#sec-main .frame{

    overflow:hidden;
    _padding:0 0 0 0;
}



/* MENU CSS */


ul#primary-nav,
ul#primary-nav ul {
	margin: 0;
	padding: 0;
	width: 200px; /* Width of Menu Items*/
	border-bottom: 1px solid #ccc;
	background: #fff; /* IE6 Bug */
	font-size: 100%;
}

ul#primary-nav ul.vuodet {
	margin: 0;
	padding: 0;
	width: 100px; /* Width of Menu Items*/
	border-bottom: 1px solid #ccc;
	background: #fff; /* IE6 Bug */
	font-size: 100%;
}




ul#primary-nav li {
	position: relative;
	list-style: none;
}

ul#primary-nav li a {
	display: block;
	text-decoration: none;
	color: #000;
	padding: 5px;
	border: 1px solid #ccc;
	border-bottom: 0;
}

/* Fix IE. Hide from IE Mac \*/
* html ul#primary-nav li { float: left; height: 1%; }
* html ul#primary-nav li a { height: 1%; }
/* End */

ul#primary-nav ul {
	position: absolute;
	display: none;
	left: 199px; /* Set 1px less than menu width */
	top: 0;
}


ul#primary-nav ul.vuodet2 {
	position: absolute;
	display: none;
	left: 99px; /* Set 1px less than menu width */
	top: 0;
}

ul#primary-nav ul.osateokset {
	position: absolute;
	display: none;
	left: 199px; /* Set 1px less than menu width */
	top: 0;
}



ul#primary-nav li ul li a { padding: 2px 5px; } /* Sub Menu Styles */

ul#primary-nav li:hover ul ul,
ul#primary-nav li:hover ul ul ul,
ul#primary-nav li.over ul ul,
ul#primary-nav li.over ul ul ul { display: none; } /* Hide sub-menus initially */

ul#primary-nav li:hover ul,
ul#primary-nav li li:hover ul,
ul#primary-nav li li li:hover ul,
ul#primary-nav li.over ul,
ul#primary-nav li li.over ul,
ul#primary-nav li li li.over ul { display: block; } /* The magic */

ul#primary-nav li.menubar { background: transparent url(arrow.gif) right center no-repeat; }

ul#primary-nav li:hover,
ul#primary-nav li.over { background-color: #f9f9f9; }

ul#primary-nav li a:hover { color: #7bb2c0; }






