html, body {
	margin: 0;
	padding: 0 0 40px;
	color: #000;
	background: #605246 url(../kuvat/bg.png) repeat-x;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 100%;
	text-align: center;
}

* html body { padding: 0 0 20px; }

h1, h2, h3, h4, h5, h6 { color: #000; }

h1 {
	font-size: 130%;
	margin: 16px 0 13px 13px;
}

h2, h3, h4, h5, h6 { margin: 16px 0 16px 0; }

h2 { font-size: 125%; }
h3 { font-size: 120%; }
h4 { font-size: 110%; }
h5 { font-size: 105%; }
h6 { font-size: 100%; }

p {
	margin: 0 0 19px 13px;
	line-height: 120%;
}

a:link, a:visited {
	color: #DE0000;
	text-decoration: none;
}

a:hover { text-decoration: underline; }

img { border: 0; }

textarea {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 90%;
	border: 1px solid #000;
	margin-bottom: 3px;
	background-color: transparent;
}

input {
	font-size: 80%;
	border: 1px solid #000;
	margin-bottom: 3px;
	background-color: transparent;
}

input.submit {
	background-color: #DE0000;
	color: #FFF;
	border: none;
}

fieldset {
	margin: 0;
	padding: 0;
	border: none;
}

div {
	position: relative;
	padding: 0;
	margin: 0;
}

th { text-align: left; }

table.kalenteri {
	width: 100%;
	padding: 0;
	font-size: 95%;
}

table.kalenteri td.tanaan { color: #DE0000; }

div#container {
	width: 874px;
	margin: 1px auto 0;
	padding: 8px;
	background-color: #FFF;
	text-align: left;
}

div#header {
	width: 874px;
	height: 327px;
	margin: 0 auto;
	background: transparent url(../files/kuvat/imagokuva.jpg) no-repeat;
}

div#menu {
	width: 874px;
	height: 42px;
	background: #F0E8D7 url(../kuvat/bg_bar_menu.png) no-repeat;
	font-size: 90%;
	font-weight: bold;
}

div#menu ul {
	list-style-type: none;
	margin: 0 50px 0 14px;
	padding: 0;
}

div#menu li ul li { height: auto; }

div#menu li {
	float: left;
	position: relative;
	margin: 0;
	padding: 0;
	height: 42px;
	z-index: 1;
}

div#menu ul li:hover, div#menu ul li#valittu { background: transparent url(../kuvat/bar_stripe.png) left bottom repeat-x; }

div#menu ul li a, div#menu ul li a:visited {
	position: relative;
	display: block;
	color: #000;
	line-height: 34px;
	padding: 0 18px;
	text-decoration: none;
	text-transform: uppercase;
}

* html div#menu ul li a, * html div#menu ul li a:visited { display: inline; }

div#menu ul.submenu {
	position: absolute;
	display: none;
	margin: 0;
	padding: 0;
	left: 0;
	top: 42px;
	width: 150px;
}

div#menu ul.submenu li {
	margin: 0;
	padding: 0 3px;
	display: block;
	float: none;
	background-color: #F0E8D7;
	width: 150px;
}

div#menu ul li:hover ul.submenu {
	position: absolute;
	display: block;
	text-transform: none;
	z-index: 1;
}

div#menu ul.submenu a, div#menu ul.submenu a:visited {
	display: block;
	color: #000;
	text-transform: none;
	margin: 0;
	padding: 0;
}

* html div#menu ul.submenu a, * html div#menu ul.submenu a:visited { display: inline; }
*+html div#menu ul.submenu a, *+html div#menu ul.submenu a:visited { display: inline-block; }

div#menu ul.submenu li:hover { background: #E6D9BD none; }

* html div#menu { z-index: 1; }
* html div#menu ul { z-index: 2; }
* html div#menu ul li { z-index: 3; }
* html div#menu ul li a { z-index: 4; }
* html div#menu ul.submenu { z-index: 5; }
* html div#menu ul.submenu li { z-index: 6; }
* html div#menu ul.submenu li a { z-index: 7; }

div#content {
	position: relative;
	width: 874px;
	padding: 8px 0 0;
	background-color: #FFF;
	color: #000;
	font-size: 80%;
	text-align: left;
	z-index: 0;
}

*+html div#content { z-index: -1; }

div#content div#vasen {
	float: left;
	width: 635px;
}

div#content div#oikea {
	float: right;
	width: 235px;
}

div.keltainen_laatikko {
	float: right;
	width: 196px;
	height: 216px;
	margin: 3px 0 5px 8px;
	padding: 10px;
	background: #FEF9BF url(../kuvat/bg_box_yellow_fef9bf.gif) repeat-x;
	overflow: auto;
	/* overflow-y: auto;
	overflow-x: hidden; */
}

div.punainen_laatikko {
	float: right;
	width: 196px;
	height: 206px;
	margin: 3px 0 5px 8px;
	padding: 10px;
	background: #FFF url(../kuvat/bg_box_redfade_f9dbcf.gif) repeat-x;
	overflow: auto;
	/* overflow-y: auto;
	overflow-x: hidden; */
}

div.keltainen_laatikko p, div.punainen_laatikko p { margin: 0 0 13px 0; }

div.clear {
	height: 1%;
	clear: both;
	visibility: hidden;
}

*+html div.clear { 	display: inline-block; }
* html div.clear { display: inline; }

div#footer {
	height: 31px;
	margin: 0;
	padding: 0 13px;
	font-size: 70%;
	font-weight: bold;
	background: #D3D3D3 url(../kuvat/bg_bar_address.png) repeat-x;
}

div#footer p {
	margin: 0;
	line-height: 24px;
}

div.hr {
	margin: 6px auto;
	height: 5px;
	background: url(../kuvat/middlestripe.gif)  no-repeat;
	border: 0;
}

div.hr hr { display: none; }



/*--------------------------------------------------|
| dTree 2.05 | www.destroydrop.com/javascript/tree/ |
|---------------------------------------------------|
| Copyright (c) 2002-2003 Geir Landrö               |
|--------------------------------------------------*/

.dtree {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #666;
	white-space: nowrap;
}
.dtree img {
	border: 0px;
	vertical-align: middle;
}
.dtree a {
	color: #333;
	text-decoration: none;
}
.dtree a.node, .dtree a.nodeSel {
	white-space: nowrap;
	padding: 1px 2px 1px 2px;
}
.dtree a.node:hover, .dtree a.nodeSel:hover {
	color: #333;
	text-decoration: underline;
}
.dtree a.nodeSel {
	background-color: #c0d2ec;
}
.dtree .clip {
	overflow: hidden;
}


/* Lightboxin tyylit */

#lightbox{	position: absolute;	left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto;}
#lightbox a img{ border: none; }

#outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; }
#imageContainer{ padding: 10px; }

#loading{ position: absolute; top: 150px; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }
#hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(../kuvat/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(../kuvat/nextlabel.gif) right 15% no-repeat; }

#imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100%	; }

#imageData{	padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em; outline: none;}	 	

#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }
