html,body {
	margin:0;
	padding:0;
	background: url('../gfx/bg.jpg') left repeat-x;
	height:100%; /* needed for container min-height */
}
#cont {
	text-align:center;
	background-image: url('../gfx/bg.png');
	background-repeat: repeat-y;
	background-position: center;
	position:relative; /* needed for footer positioning*/
	margin:0 auto; /* center, not in IE5 */
	width:940px;
	height:auto !important; /* real browsers */
	height:100%; /* IE6: treaded as min-height*/
	min-height:100%; /* real browsers */
}
* html div#cont {
	height:100%;
	overflow:auto;
}
.hid {
	border: 1px solid #e1e1e1;
	background-color: #f1f1f1;
	padding:8px;
	font-variant:normal;
}	
.hid p { margin:0; padding:0; }
#header {
	background: #fff url('../gfx/bg_header.jpg');
	text-align:center;
	margin-left:auto;
	margin-right:auto;
	width: 840px;
	height: 197px;
	position:relative;
	z-index:50;
}
#ots {
	float:left;
	position:relative;
	top:90px;
	_top:75px;
	left:30px;
}
div#tar { text-align:right; margin-right:10px; }
div#tal { text-align:left; }
div#tac { text-align:center; }
#sis {
	background: #fff url('../gfx/bg_txt.jpg') no-repeat;
	width: 840px;
	margin-left:auto;
	margin-right:auto;
	position:relative;
	z-index:1;
}
#sis_l,#sis_r {
	text-align:left;
	position:relative;
	float:left;
	z-index:1;
}
#sis_l {
	float:left;
	padding:10px;
	width: 550px;
	padding-left:35px;
	min-height: 320px;
	margin-bottom: 20px;
}
#oo,#st {
	border: 4px solid #e4015a;
	width:500px;
	min-height: 30px;
	position: relative;
	float:left;
	top:-80px;
	padding:5px;
	background-color:#fff;
	font-size: 12px;
}
div#hide_ots {
	float:left;
	height:20px;
	display:block;
	text-align:left;
}
div#sulje {
	float:right;
	height:20px;
	display:block;
	text-align:right;
}
div#sulje img { border:0; }
#sis_r {
	width:240px;
	float:right;
	border-left: 1px dashed #a2a2a2;
}
div#in_l,div#in_r {
	text-align:left;
	float:left;
	margin-bottom:65px;
}
div#in_l {
	width: 280px;
}
div#in_r {
	margin-left: 10px;	
	width: 250px;
}
div#viideo {
	margin-bottom:5px;
}
table#peltable { 
	font-size: 13px;
	font-family: arial;
	color: #000;
	width: 270px;
	margin-bottom: 10px;
}
table#ark { 
	font-size: 13px;
	font-family: arial;
	color: #000;
	background-color: #f1f1f1;
	border-collapse:collapse;
	width: 530px;
	margin-bottom: 20px;
}
td#otsik { 
	background-color: #999;
	border-bottom: 2px solid #666;
	border-right: 2px solid #666;
	color:#fff;
	font-variant:small-caps;
}
#fooimg td a img { border:1px solid #888; }
#fooimg td a img:hover { border:1px solid #000; }

#footer {
	background-color: #fff;
	text-align:left;
	margin-left:auto;
	margin-right:auto;
	width: 840px;
	height: 135px;
	background-image: url('../gfx/bg_footer.jpg');
	background-repeat: no-repeat;
}
#msgok, #msger {
	position:absolute;
	top:5px;
	left:5px;
	height:25px;
	min-width:200px;
}
#clear { clear:both;}
div#in_foot {
	text-align:center;
}
div#in_foot a,link,visited,active {
	font-size:12px;
	text-decoration:none;
	color:#555;
}
div#in_foot a:hover {
	text-decoration:underline;
}
#hap_ots {
	position:relative;
	z-index:20;
	width: 230px;
	height: 20px;
	padding:2px 0px 2px 0px;
	padding-left:10px;
	background: url('../gfx/bg_ots.png') repeat-x;
	border-bottom: 1px solid #a2a2a2;
}
td#bg {
	background: url('../gfx/bg_ots.png') repeat-x;
}
#haps {
	min-height:200px;
	_height:200px;
}
#tulokset {
	margin-bottom:10px;
}
#happening {
	padding:5px;
}
table#pelaajatable {
	font-size: 12px;
	color: #000;
}
div#team_specs {
	width: 160px;
	float:left;
}
div#team_links {
	width: 370px;
	float:right;
	margin-bottom:5px;
	*margin-top:5px;
	margin-right:7px;
}
div#tl {
	float:right;
	border: 1px solid #888;
	border-right: 2px solid #888;
	border-bottom: 2px solid #888;
	height: 50px;
	margin-right: 5px;
	padding: 3px;
	text-align:center;
	background-color: #e1e1e1;
	margin-top:5px;
	
}
div#tl:hover {
	background-color: #f1f1f1;
	border: 1px solid #999;
	border-left: 2px solid #999;
	border-top: 2px solid #999;
}
h2 span#pvm { font-size:10px; color:#555; padding-left:10px; font-weight:normal;}
div#team_pic {
	margin-top:10px;
	width: 370px;
	float:right;
}
div#gtholder {
	float:right;
	margin-right: 20px;
	text-align:left;
	width: 420px;
	height: 61px;
}
div#gametable {
	height: 38px;
	background-image: url('../gfx/bg_gametable.png');
	background-repeat: no-repeat;
	background-position: bottom right;
}
	div#gametable table {
		font-size: 10px;
		width:410px;
		text-align:center;
	}
	div#gametable td#teams {
		font-family: arial;
		color: #e30059;
		font-size:12px;
		font-weight:bold;
		white-space:nowrap;
	}
#restable {
	text-align:right;
}
img#thumb {
	border: 2px solid #e30059;
	margin: 3px;
}
div#pikkut {
	font-size:12px;
}

/*sponsorit*/
#footer div#begroup {
	float:left;
	position:relative;
	top:25px;
	left:105px;
	width: 75px;
	height: 80px;
}
#footer div#uponor {
	float:left;
	position:relative;
	top:20px;
	left:130px;
	width: 140px;
	height: 40px;
}
#footer div#helmi {
	float:left;
	position:relative;
	top:20px;
	left:160px;
	width: 120px;
	height: 40px;
}
#footer div#ess {
	float:left;
	position:relative;
	top:20px;
	left:200px;
	width: 90px;
	height: 40px;
}
#footer div#pajulahti {
	clear:both;
	float:left;
	position:relative;
	top:-15px;
	left:205px;
	width: 140px;
	height: 40px;
}
#footer div#webeacon {
	float:left;
	position:relative;
	top:-15px;
	left:235px;
		*top: 70px;
		*left: -55px;
	width: 140px;
	height: 40px;
}
#footer div#ncc {
	float:left;
	position:relative;
	top:-15px;
	left:260px;
		*top: 70px;
		*left: -35px;
	width: 100px;
	height: 40px;
}
#footer div#dna {
	float:left;
	position:relative;
	top:-35px;
	left:290px;
		*top: 45px;
		*left: -5px;
	width: 80px;
	height: 40px;
}