/* Final CSS */
html, body {font-family: verdana; margin: 0px; font-size: 11px; height:100%; color: #444;}
#scroll { position: absolute; top: 0; bottom: -0.1em; width: 1px; z-index: -1;}

div {
	margin: auto;
	}

a {color: #344165; text-decoration: none;}
a:visited {color: #344165; text-decoration: none;}
a:hover {color: #ff00fc; text-decoration: underline;}
p {margin: 2px 4px 4px 4px;}
.profdiv p {margin: 2px 0;}

.small { font-size: 9px; color: #999;}
.light { color: #999;}
.count { font-size: 9px; color: #999;}

	body {
		height:100%;
		font-family: verdana, arial, sans-serif;
	}
	h1 {
		color: #fff;
		background: #fff url('img/h1bg.gif') repeat-x;
		text-transform: none;
		font-weight: bold;
		font-size: 18px;
		border: 1px solid #d9d9d9;
		padding: 4px 20px;
		margin: 0;
	}
	h2 {
		color: #344165;
		font-size: 12px;
		font-weight: bold;
		margin: 12px 4px 4px 4px;
	}
	h3 {
		color: #344165;
		font-size: 10px;
		font-weight: bold;
		margin: 6px 2px 2px 2px;
	}
	h4 {
/*		color: #bbb;
		text-transform: uppercase;
		font-weight: bold;
		font-size: 10px;
		background: #333;
		padding: 2px 0;
		text-align: center;
		margin: 0 0 0 0;
		border: 0px solid #444;
		border-width: 1px 4px;
*/	}
	#col4 h2:hover {
		cursor: pointer;
		color: #344165;
		background: #fff url('img/navbg1b.gif') repeat-x;
	}
	#col p:hover {
		cursor: pointer;
		color: #344165;
	}
	#col4 a {
		text-decoration: none;
	}
	#col4 a:visited {
		text-decoration: none;
	}
	#col4 a:hover {
		text-decoration: none;
		color: #344165;
	}
	#cols4 p {
		background: #fff url('img/navbg2.gif') repeat-x;
		border: 1px solid #ececec;
		border-width: 0px 1px 1px 1px;
		margin: 0 20px;
		color: #8a8a8a;
		padding: 2px 0;
		text-align: center;
		}
	#cols4 p:hover {
		background: #fff url('img/navbg2b.gif') repeat-x;
		color: #344165;
		}

/*buttons */
	.button {
		text-transform: none;
		font-weight: normal;
		font-size: 10px;
		text-align: center;
		margin: 6px 4px 0px 4px;
		}
	.buttonb {
		width: 140px;
		text-align: center;
	}
	.button a, .button a:visited, .buttonb a, .buttonb a:visited {
		text-transform: none;
		display: block;
		color: #222;
		background: #fff url('img/navbg1.gif') repeat-x;
		padding: 3px 0;
		border: 1px solid #d9d9d9;
		}
	.button a:hover, .buttonb a:hover {
		background: #fff url('img/navbg2b.gif') repeat-x;
		color: #344165;
		}

	.button2 {
		text-transform: none;
		font-weight: normal;
		font-size: 10px;
		text-align: center;
		padding: 0px;
		margin: 0px 20px;
		}
	.button2 a {
		display: block;
		color: #8a8a8a;
		padding: 2px 0px;
		background: #fff url('img/navbg2.gif') repeat-x;
		border: 1px solid #ececec;
		border-width: 0px 1px 1px 1px;
		}
	.button2 a:hover {
		background: #fff url('img/navbg2b.gif') repeat-x;
		color: #344165;
		}
/*buttons */

	.somediv {
		border: 1px solid #4f4f4f;
		margin: 8px 0;
		color: #bbb;
		padding: 0 0 2px 0;
		text-align: center;
		background: url('expand.gif') 3px 3px no-repeat;
		text-transform: capitalize;
		}
	.somediv img {
		border: 1px solid #bbb;
	}

	.somediv:hover {
		background: #333 url('unexpand.gif') 3px 3px no-repeat;
		/*padding: 0 0 72px 0;*/
		}
	.somediv h4 {
		cursor: pointer;
		padding: 0;
		margin: 0;
		border: 0;
		font-weight: normal;
	}

#test {
	background: #222;
	color: #fff;
	padding: 10px;
	margin: 20px;
	border: 10px solid pink;
}
hr {
	height: 1px;
	width: 98%;
	background: #d9d9d9;
	border: 0;
	margin: 4px 0;
	}
.banner72, .banner140, .banner248 {
	width: 654px;
	background: #000;
	border: 0px solid #444;
	border-width: 0 0px;
	text-align: center;
}
.banner248 {
	height: 248px;
}
.banner72 {
	height: 72px;
}
.banner140 {
	height: 140px;
}
.thumbtwable {
	padding: 5px 3px 1px 2px;
	}
.thumbtwable:hover {
	border: 1px solid #fff;
	padding: 4px 2px 0 1px;
	}
.thumbdiv p {
	width: 90px;
	height: 67px;
	border: 1px solid #000;
	background: #000;
	float: left;
	margin: 3px 4px 0 0;
	padding: 2px 0;
	}
.thumbdiv a {
	cursor: pointer;
	}
.thumbdiv p:hover {
	border: 1px solid #c30;
	}

.caldate {
	border: 1px solid green;
	display: inline;
	width: 80px;
	color: #344165;
	overflow: hidden;
	}
.caltype {
	border: 1px solid pink;
	display: inline;
	width: 80px;
	color: #d9d9d9;
	overflow: hidden;
	}
.calinfo {
	border: 1px solid blue;
	display: inline;
	width: 100px;
	overflow: hidden;
	}
.calloco {
	border: 1px solid orange;
	display: inline;
	width: 100px;
	color: #c30;
	overflow: hidden;
	}
.readmore {
	text-align: right;
	}
#footer {
	width: 1000px;
	height: 30px;
	clear: both;
	color: #fff;
	padding: 50px 0 0 0;
	background: #fff url('img/grass.jpg') no-repeat;
	text-align: center;
	}
#footer a, #footer a:visited {
	color: #fff;
	}
#footer a:hover {
	color: #d9d9d9;
	}

.fixtable {
	border: 1px solid #ccc;
	padding: 4px;
	text-align: center;
	color: #888;
	}
.fixtable td {
	height: 24px;
	border-bottom: 1px solid #ccc;
	padding: 2px 4px;
	}
.bold td {
	font-weight: bold;
	color: #222;
	text-align: center;
	}
.bgtd td {
	background: url('img/bgtd.gif') repeat-x bottom;
	}
.bgtd .col2b {
	background: url('img/bgtd2.gif') repeat-x bottom;
	}
.col1 {
	width: 58px;
	}
.col2, .col2b {
	width: 142px;
	color: #222;
	border: 1px dotted #ccc;
	border-width: 0 1px;
	}
.col2b {
	background: #dde1f8;
	}
.col3 {
	width: 40px;
	color: #344165;
	}
.col4 {
	width: 8px;
	border: 1px dotted #ccc;
	border-width: 0 1px;
	}
.col5 {
	width: 100px;
	text-align: left;
	}
.col6 {
	width: 142px;
	text-align: left;
	border: 1px dotted #ccc;
	border-width: 0 1px;
	}
.col7 {
	width: 40px;
	text-align: center;
	}
.col8 {
	width: 72px;
	text-align: left;
	border: 1px dotted #ccc;
	border-width: 0 1px;
	}
.col9 {
	width: 400px;
	text-align: left;
	}
.thumbs {
	width: 100px;
	height: 100px;
	border: 1px solid #333;
	vertical-align: middle;
	margin: 4px;
	padding: 4px;
	display: block;
	float: left;
	text-align: center;
	}
.thephoto {
	border: 1px solid #333;
	vertical-align: middle;
	margin: 4px;
	padding: 4px;
	display: block;
	float: left;
	text-align: center;
	background: #eee;
	}
.thephotoclass {
	display: block;
	border: 1px solid #333;
	vertical-align: middle;
	margin: 4px auto;
	padding: 4px;
	text-align: center;
	background: #eee;
	}

.img_shirt {
	float: left;
	margin: 0;
	padding: 4px;
	}
.img_hist {
	float: right;
	margin: 0 4px;
	padding: 4px;
	border: 1px solid #d9d9d9;
	}
/* Google map container */

#googlemap {
  height: 320px;
  width: 99%;
  margin: 0;
  border: #ccc 2px solid;
  
  /* Kulmat */
  -moz-border-radius: 0.4em;
	-webkit-border-radius: 0.4em;
	border-radius: 0.4em;
  }
  
#googlemap .ajo-ohje {
  width: 100%;
  font-size: 95%;
  }
.lastone {
	color: green;
	font-weight: bold;
	}
.final { background: #ddffdd;}
.semifinal { background: #eeffee;}

