#vine_left, #vine_bottom, #vine_right, #vine_top, #contentmask { behavior: url(iepngfix.htc) }

#vine_left {
	height: 330px;
	width: 150px;
	margin-left: -430px;
	overflow: hidden;
	position: absolute;
	z-index: 5;
	left: 50%;
	top: 100px;
	background-image: url(../kuvat/vines_left.png);
}
#vine_bottom {
	height: 140px;
	width: 500px;
	margin-left: -430px;
	overflow: hidden;
	position: absolute;
	z-index: 5;
	left: 50%;
	top: 430px;
	background-image: url(../kuvat/vines_bottom.png);
}
#vine_right {
	height: 200px;
	width: 125px;
	margin-left: 345px;
	overflow: hidden;
	position: absolute;
	z-index: 5;
	left: 50%;
	top: 40px;
	background-image: url(../kuvat/vines_right.png);
}
#vine_top {
	height: 40px;
	width: 75px;
	margin-left: 395px;
	overflow: hidden;
	position: absolute;
	z-index: 5;
	left: 50%;
	top: 0px;
	background-image: url(../kuvat/vines_top.png);
}
#navigate {
	height: 25px;
	width: 660px;
	margin-left: -315px;
	overflow: hidden;
	position: absolute;
	z-index: 10;
	left: 50%;
	top: 15px;
}
#contents {
	height: 430px;
	width: 650px;
	margin-left: -306px;
	overflow: auto;
	position: absolute;
	z-index: 2;
	left: 50%;
	top: 42px;
    background-color: transparent
}

#contents p, #contents td, #contents a, #contents ol , #contents map{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: x-small;
	color: #666666;
	letter-spacing: 1px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 5px;
	margin-left: 0px;
  border: 0
}

#contents a:link:hover, #contents a:visited:hover {
	color : #666666;
    background-color: #FF99CC
}

#contents h1 {
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: medium;
	font-weight: bold;
	color: #333333;
	letter-spacing: 1px;
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 5px;
	margin-left: 0px;
}

#contents h2 {
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: small;
	font-weight: bold;
	color: #555555;
	letter-spacing: 2px;
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 5px;
	margin-left: 0px;
}

#contents h3 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: small;
	font-weight: bold;
	color: #555555;
	letter-spacing: 2px;
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 5px;
	margin-left: 0px;
}

#photobar {
	height: 82px;
	width: 650px;
	margin-left: -314px;
	overflow: hidden;
	position: absolute;
	z-index: 3;
	left: 50%;
	top: 68px;
}

#contentmask {
	background-image: url(../kuvat/contentmask.png);
	height: 30px;
	width: 640px;
	margin-left: -310px;
	overflow: auto;
	position: absolute;
	z-index: 3;
	left: 50%;
	top: 452px;
}

#contents img {
    padding: 10px;
}

#citation {
	overflow: auto;
	position: relative;
	z-index: 15;
	top: 20px;
    font-style: italic;
	font-size: small;
	font-family : Tahoma, "Times New Roman", serif;
	text-align : center;
	color : #003333;
}

#gallery {
	height: 405px;
	width: 657px;
	margin-left: -314px;
	overflow: hidden;
	position: absolute;
	z-index: 3;
	left: 50%;
	top: 42px;
    padding: 0;
}

#cattery {
	height: 405px;
	width: 657px;
	margin-left: -314px;
	overflow: auto;
	position: absolute;
	z-index: 3;
	left: 50%;
	top: 42px;
    padding: 0;
}

#photogallery {
	height: 405px;
	width: 657px;
	margin-left: -314px;
	overflow: hidden;
	position: absolute;
	z-index: 3;
	left: 50%;
	top: 42px;
    padding: 0;
  background-color: #EB9AEB
}


body {
	background-color: #FFFFFF;
	background-image: url(../kuvat/bg_vine.jpg);
	background-repeat: repeat-x;
	margin: 0;
}

#textbase {
    background-color: #FFFFFF;
	background-image: url(../kuvat/textbase.jpg);
	height: 350px;
	width: 660px;
	margin-left: -315px;
	overflow: hidden;
	position: absolute;
	z-index: 1;
	left: 50%;
	top: 40px;
}

#imagebase {
    background-color: #FFFFFF;
    background-image: url(../kuvat/mimosa_large.jpg);
	height: 500px;
	width: 650px;
	margin-left: -310px;
	overflow: hidden;
	position: absolute;
	z-index: 1;
	left: 50%;
	top: 40px;
}

#navisub {
	height: 250px;
	width: 110px;
	margin-left: -422px;
	overflow: hidden;
	position: absolute;
	z-index: 10;
	left: 50%;
	top: 42px;
}

#tablescreen {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: x-small;
	color: #666666;
	height: 430px;
	width: 660px;
	margin-left: -310px;
	overflow: auto;
	position: absolute;
	z-index: 3;
	left: 50%;
	top: 42px;
}

#tablescreen th {
    text-align: center;
    border: thin outset #FF66CC;
    vertical-align: middle;
}

#tablescreen tr {
    text-align: left;
}

#tablescreen td {
    border: thin outset #FF99CC
}

.galleryitem a {
	float : left;
	white-space : nowrap;
	overflow : hidden;
	display: block;
	width : 76px;
	height : 76px;
	border: none;

}

.galleryitem {
	font-family : Tahoma, "Times New Roman", serif;
    padding : 0;
    margin: 0
}

.galleryitem td {
    vertical-align: top;
    padding: 0;
    margin: 0;
}

.galleryitem a:link, .galleryitem a:visited {
	color : #FF99FF;
    border: 2px solid #FF99FF;

}

.galleryitem a:link:hover, .galleryitem a:visited:hover {
	color : #6699FF;
    border: 2px solid #6699FF;

}

.galleryimage {
  padding : 0;
  background-color : transparent;
  border: 2px solid #FFC9FF;
}

#photobar a {
	text-decoration: none;
	display: block;
}

#photobar div {
	float : left;
	width : 80px;
	height : 96px;
	text-align : center;
	margin : 0px;
	white-space : nowrap;
	overflow : hidden;
	font-size : 70%;
	background: #CCCCFF;
  padding: 0px
}

#photobar :link:hover, #photobar :visited:hover {
	background: #6633CC;
	color: #FFCCCC;
    border: thin solid #6633CC;
}

.imagetype0 {
  float : left;
  padding : 0;
  background-color : transparent;
  border: none;
  margin: 0
}

.imagetype1 {
	float : right;
	padding : 1ex;
	background-color : transparent;
}

.imagetype2 {
	padding : 1ex;
    margin : 1ex;
	background-color : transparent;
    border: thin ridge #DCDCDC
}

.imagetype3 {
	padding : 1ex;
    margin : 1ex;
	background-color : transparent;
}

.imagetype4 {
    display: inline;
}

@media screen {
    .hiddenlink {
	display: none;
    }

}

@media print {
	#navigate, #navisub, #vine_left, #vine_right, #vine_bottom, #vine_top, #textbase {
	display: none;
}
	#contents {
	width: auto;
    height: auto;
	overflow: auto;
	left: 0px;
	top: 0px;
	margin-left: 0px;
	}
}
