html, body{
	font:10px verdana,serif;
	background:#fff url('pics/tausta.jpg')  repeat-y;
	z-index:0;
	overflow:auto;
	min-height: 99%;
    width: 99%;
    height: 99%;
	}


html, body, table, li, form, p, #container, .padding, #menu, #outercont, #mainwindow, #background, #textbox, #menu, #menu ul, #menu li{ padding: 0px; margin: 0px}

.tabcon {
    position: absolute;
    top: 0;
    left: 0;
	min-height: 99%;
    width: 99%;
    height: 99%;
    }

.tabcon td {
    height: 100%;
    text-align: center;} /*for stupid MSIE */

.normal, .normal td {
	text-align:justify;
	vertical-align:top;
}


#cont {
    position: relative;
    margin: 0 auto;
    width: 870px;
    text-align: left; /*corrects for IE hack*/
    
    }

#oldcontainer{
	position:relative;
	border:1px solid #000;
	width:500px;
	margin:0 auto;
	top:30%;
}

#container {
	position:absolute;
	top: 50%;
	left: 50%;
	width:900px;
	height:595px;
/*	margin-top: -301px; /*set to a negative number 1/2 of your height*/
/*	margin-left: -440px; /*set to a negative number 1/2 of your width*/
	margin: -301px auto 0 -440px;
	overflow: auto;
	padding:0px;


}
	

menu a {text-decoration:none;}

.padding {
	position:relative;
	left:3%;
	top:3%;
	width:94%;
	height:94%;
	text-align:justify;
	overflow:auto;
	}

#mainwindow {
	padding: 0px;
	margin: 0px;
	height: 469px;
	width:  860px;
	border-left: 3px solid #4D1185;
	border-right: 3px solid #4D1185;
	border-bottom: 3px solid #4D1185;
	z-index:1;
	}


#background {	
	background: url('pics/main.jpg') no-repeat #000 0% 0%;
	height: 469px;
	width:  860px;
	}




#menu dl,#menu dt,#menu dd,#menu ul,#menu li {
margin: 0;
padding: 0;
list-style-type: none;
}
#menu {
	margin: 0px;
	padding: 0px;
	height: 30px;
	border: 3px solid #4D1185;
	border-bottom: 2px solid #4D1185;
	background: url('pics/menu2.jpg') no-repeat #000 0% 0%;
	vertical-align:middle;
	top: 0;
	left: 0;
	z-index:100;
	width: 860px;
	font:14px Bookman Old Style, Verdana, Arial, Helvetica, sans-serif;
	font-weight:bold;
}
#menu dl {
float: left;
width: 110px;

}
#menu dt {
cursor: pointer;
text-align: center;
color:#fff;
height:30px;
margin: 1px;
vertical-align:middle;
}
#menu dd {
display: none;
border: 1px solid gray;
height:30px;
width:110px;
vertical-align:middle;
position:absolute;
z-index:20;
border:none;


}
#menu li {
text-align: center;
background: #4D1185;
height:30px;

}
#menu li a, #menu dt a {
color: #fff;
text-decoration: none;
display: block;
height: 100%;

}

#menu li a:hover, #menu dt:hover, #menu li a:focus, #menu dt a:hover, #menu dt a:focus {
background: #85115B;
border:none;

}


label{
	font:10px/10px verdana,serif;
	display: block;
	width: 150px;
	float: left;
	margin-bottom: 10px;
}
.innerlab{
	display: block;
	width: 50px;
	float: left;
	margin-bottom: 10px;
}

label {

	float:left;
	text-align: right;
	width: 150px;
	padding-right: 20px;
	
}

br {
	clear: left;
}
.reference{
	width:100%;
	height:105px;
	border-bottom:1px solid #000;
}
.reference a img{
	border:none;
}

#topbox{background:url('pics/mainyla.jpg') #fff;height:30px;width:860px;}
#leftbox{background:url('pics/mainvasen.jpg') #fff;height:409px;width:30px;float:left;}
#textb{background:url('pics/ikkuna.jpg') #fff;height:409px;width:800px;float:left;text-align:justify;}
#rightbox{background:url('pics/mainoikea.jpg') #fff;height:409px;width:30px;float:left;}
#bottombox{background:url('pics/mainala.jpg') #fff;height:30px;width:860px;clear:both;}

#signature{width:866px;text-align:center;color:#aaa;}
#languages,#languages a{width:866px;text-align:center;font-weight:bold;text-decoration:none;color: #4D1185;}
#signature{width:866px;font-weight:bold;color: #888;}
#portfolio td {border-bottom:1px solid #000;padding-bottom:10px;padding-top:10px; }
.leftpad {padding-left:50px}

