* {
	padding: 0;
	margin: 0;
}
html {
	letter-spacing: 0;
	font-size: 95%;
	text-align: center;
	margin: 0 auto;
	color: #fff;
}
body {
	background: url(http://heikkialanen.net/pics/bg.png) fixed #333;
	font-family: "trebuchet ms", georgia, verdana;
	position: relative;
}
p {
/*	background: url(http://heikkialanen.net/new/pics/bg_grey_grid.png) #fff;*/
	background: #eee;
	color: #000;
	line-height: 140%;
	margin: 5px 30px 15px 30px;
	padding: 5px;
}
p.intro {
	background: #eee;
	color: #222;
	width: 500px;
}

.big {
	background: transparent;
	color: #fff;
	font-family: georgia;
	font-size: 180%;
}
h1, h2, h3, h4 {
	background: #444;
	border-left: 10px solid #555;
	color: #fff;
	font-family: "trebuchet ms", verdana;
	font-weight: lighter;
	letter-spacing: 0.5pt;
	opacity: 0.9;
	-moz-opacity: 0.9;
	filter:alpha(opacity=90);
	padding: 5px 20px;
	text-align: left;
}
h1 {
	background: url(http://heikkialanen.net/pics/bg_title2.jpg) top right no-repeat #444;
	font-size: 250%;
	margin: 0.5em 0 0.5em;
}
h2 {
	font-size: 130%;
	margin: 0.75em 0 0.75em;
}
h3 {
	font-size: 100%;
	margin-top: 10px;
}
h4 {
	background: #b00;
	border: 0px solid #000;
	font-size: 95%;
	color: #fff;
	margin: 10px 0 5px;
	padding: 3px;
}

a:link {
	color: #faa;
	text-decoration: underline;
}
p a:link {
	color: #b33;
}
a:visited { 
	color: #f88;
	text-decoration: underline;
}
p a:visited {
	color: #b00;
}
a:active { 
	color: red;
	text-decoration: none;
}
a:hover { 
	color: #fff;
	text-decoration: none;
	background: #d22;
}
p a:hover {
	color: #fff;
}
a.nohover:hover {
	background: none;
}

/* -------------------------------------------------------- */

#main_frame {
	margin: 0 auto;
	width: 840px;
	position: relative;
}
#fixed {
/*	position: fixed; top: 0;
	z-index: 200;*/
}
#corner {
	background: url(http://heikkialanen.net/pics/bg_deco4.png);
	height: 500px;
	left: 0;
	position: fixed;
	top: -1px;
	width: 500px;
	z-index: -100;
}
#otsikko {
	background: #fff;
	border-bottom: 1px solid #000;
	color: #333;
	font-family: georgia, arial;
	font-size: 3em;
	height: 75px;
	position: relative;
	text-align: left;
	width: 820px;
}
#content {
	text-align: left;
	float: left;
	margin-top: 0px; /* 110px if header fixed */
	padding: 0;
	width: 840px;
}

ul#updates {
	line-height: 210%;
	margin: 0 30px;
	list-style: square;
}
ul#updates li {
	/*background: #333;
	*/color: #fff;
	font-style: normal;
}
ul#updates li b {
	background: #eee;
	color: #222;
	margin-right: 10px;
	padding: 3px;
}
#footer {
	background: #444;
	border-left: 10px solid #555;
	color: #fff;
	font-family: "trebuchet ms";
	font-size: 90%;
	margin: 10px 0;
	padding: 5px;
	text-align: right;
	width: 820px;
}

/*      ------------        navi       -----------       */

#navi {
	background: url(/pics/naviback2.png);
	font-family: "trebuchet ms", arial;
	font-weight: lighter;
	width: 840px;
	float: left;
	letter-spacing: 0.5pt;
}
#navi ul {
	width: 840px; 
	float: left;
	list-style: none;
	margin-left: 0;
}
#navi ul li {
	float: left;
	width: 168px;
	display: block;
	background: #eee;
}
#navi ul li a {
	border-bottom: 1px solid #ddd;
	text-decoration: none;
	background: #eee;
	display: block;
	color: #444;
	padding: 6px;
	-webkit-transition:all 200ms;
	-moz-transition:all 200ms;
	-o-transition:all 200ms;
	transition:all 200ms;	
}
#navi ul li a:hover {
	text-decoration: none;
	background: #ddd;
	/*height: 100px;
	*/border-bottom: 4px solid #c00;
	padding-bottom: 3px;
	color: #000;
}

#navi ul li#currentpage {
	background: url(/pics/naviback2.png) red;
	color: #fff;
	border-bottom: 1px solid #900;
	padding-top: 6px;
	padding-bottom: 6px;
	margin: 0;
}
.navinumber {
	color: #c00;
	font-size: 17px;
	font-weight: bold;
}
#navi ul li#currentpage .navinumber {
	color: #fff;
	font-weight: normal;
}
.navitext {
	font-size: 16px;
}

/* --------- updates --------*/

#updates table {
	width: 800px;
}

#updates table td {
	padding: 7px;
}

/* ---------- photos -------- */




#photocategories a {
	padding: 4px;
}
.selected {
	background: #eee;
	color: #222;
	padding: 4px;
}
#photos {
	margin: 0 auto;
	text-align: center;
}
#photos img {
	border: 20px solid #fff;
	margin: 20px 0px 0px;
	min-height: 250px;
}
#photos a:hover {
	background: none;
}
#photos a:hover img {
	border-color: #ddd;
}
#photos p {
	background: #fff;
}
span.caption {
	background: #fff;
	color: #000;
	line-height: 2em;
    margin: 20px auto;
	padding: 10px;
	text-align: left;
}

/* --------------------------------------------------- */


#selfphoto {
	border: 20px solid #fff;
	margin: 0;
}

table#me {
	background: none;
	text-align: left;
	line-height: 120%;
	margin: 20px auto;
	padding: 10px;
	width: 800px;
}
table#me td {
	padding: 4px 8px;
}
table#me .col1 {
	width: 250px;
	text-align: right;
	vertical-align: top;
	letter-spacing: 0.2em;
}
table#me em {
	background: #eee;
	color: #222;
	font-style: normal;
	line-height: 150%;
	padding: 3px 5px;
}


