@charset "utf-8";
/* CSS Document */

/* ------------------------------
global styles
------------------------------ */

body
{
	margin: 0;
	padding: 0;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 13px;
	text-align: center;
	color: #333;
	background: #ddd url(img_39.gif) repeat 0 0;
}

a:link { color: #B52C07; }
a:visited { color: #b93411; }
a:focus { color: #000; }
a:hover { color: #7d8206; }
a:active { color: red; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; }

h2
{
	color: #B52C07;
	font: 140% georgia, times, "times new roman", serif;
}

h2 a { text-decoration: none; }

h3
{
	color: #7d8206;
	font: 120% georgia, times, "times new roman", serif;
}

/* ------------------------------
container styles
------------------------------ */

#container
{
	margin: 1em auto;
	width: 650px;
	text-align: left;
	background: #fff;
	border: 1px solid #676767;
}

/* ------------------------------
header styles
------------------------------ */

#header
{
	height: 200px;
	width: 100%;
	position: relative;
	background: url(header.jpg) no-repeat 0 0;
	border-bottom: 1px solid #fff;
}

#header h1
{
	position: absolute;
	left: -500em;
}

#skipmenu
{
	position: absolute;
	left: 0;
	top: 5px;
	width: 645px;
	text-align: right;
}

#skipmenu a
{
	color: #555;
	text-decoration: none;
}

/* ------------------------------
mainnav styles
------------------------------ */

#mainnav
{
	background: #9FA41D;
	color: #272900;
	padding: 2px 0;
	margin-bottom: 22px;
}

#mainnav ul
{
	margin: 0 0 0 20px;
	padding: 0;
	list-style-type: none;
	border-left: 1px solid #C4C769;
}

#mainnav li
{
	display: inline;
	padding: 0 10px;
	border-right: 1px solid #C4C769;
}

#mainnav li a
{
	text-decoration: none;
	color: #272900;
}

#mainnav li a:hover
{
	text-decoration: none;
	color: #fff;
	background-color: #272900;
}

/* ------------------------------
menu styles
------------------------------ */

#menu
{
	float: right;
	width: 165px;
	border-left: 1px solid #C5C877;
	padding-left: 15px;
margin-right: 10px;
}

#menu p
{
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 12px;
	padding-right: 15px;
}

.pikkuteksti {
	font-size: 12px;
	font-weight:bold;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
	line-height:90%;
	color: #666;
}

#menu ul
{
	margin: 1em 0;
	padding: 0;
}

#menu ul li
{
	margin: 0 0 1em;
	padding: 0;
	list-style-type: none;
}

/* ------------------------------
contents styles
------------------------------ */

#contents
{
	float: left;
	width: 430px;
	margin: 0 0 0 20px;
}

#contents p { line-height: 130%; font-family: Georgia, "Times New Roman", Times, serif; font-size: 13px; }
.blogentry { border-bottom: 1px solid #C5C877; }

ul, ol{
padding:0px 2px 0px 20px;
margin:3px 3px 20px 30px;
line-height:1.4em;
text-indent:0px;
list-style-position:outside;
text-align:left;
}

.imagefloat
{
	float: right;
	padding: 2px;
	border: 1px solid #9FA41D;
	margin: 0 0 10px 10px;
}

/* ------------------------------
footer styles
------------------------------ */

#footer
{
	clear: both;
	color: #272900;
	text-align: right;
	font-size: 80%;
	background: #9FA41D;
	padding: 5px 10px 5px 5px;
}

#footer a
{
color: #CCC;
}

.gallerycontainer{
	position: relative;
	height: auto;/*Add a height attribute and set to largest image's height to prevent overlaying*/
}

.thumbnail img{
	border: 1px solid white;
	margin: 0 5px 5px 0;
}

.thumbnail:hover{
	background-color: transparent;
}

.thumbnail:hover img{
	padding: 0px;
	border: 1px solid black;
}

.thumbnail span{ /*CSS for enlarged image*/
	position: absolute;
	background-color: #F9F9F9;
	padding: 20px;
	padding-top: 20px;
	left: -1000px;
	border: 1px dashed gray;
	visibility: hidden;
	color: #CCC;
	text-decoration: none;
}

.thumbnail span img{ /*CSS for enlarged image*/
	border-width: 0;
	top: 0px;
	padding: 2px;
}

.thumbnail:hover span{ /*CSS for enlarged image*/
	visibility: visible; /*position where enlarged image should offset horizontally */
	z-index: 100;
/*	left: 0px;
	top: 0px;
*/	left: -10px;
	top: -100px;
}