* {
	padding: 0;
	margin: 0;
}
* {
	padding: 0;
	margin: 0;
}
html {
	min-height: 100%;
	height: auto;
}


body
{
height: 1%;

background-repeat:no-repeat;
background-position: left bottom;
}

.gallerycontainer{
position: relative;
width: 900px;
height: 0px;
padding-top: 0px;
background: #000000;
}
.gallerycontainer a
{
margin: 0px;
border: 0px;
}



.thumbnail img{
float: left;

}
.thumbnail2 img{
float: left;

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

}
.thumbnail2:hover img{

}
.thumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: #FFFFFF;
padding: 0px;
left: -1000px;
border: 0px solid #666666;
visibility: hidden;
color: black;
text-decoration: none;
margin-top: 0px;
margin-left: 250px;
}
.thumbnail2 span{ /*THUMBNAIL2 -kategoria määrittää vaakakuvan asemoinnin kun muut ovat pystyjä*/
position: absolute;
background-color: #FFFFFF;
padding: 0px;
left: -1000px;
border: 0px solid #666666;
visibility: hidden;
color: black;
text-decoration: none;
margin-top: 0px;
margin-left: 0px;
}

.thumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 0px;
}
.thumbnail2 span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 0px;
}
.thumbnail:hover span{ /*CSS for enlarged image*/
visibility: visible;
top: 0;
left: 0; /*position where enlarged image should offset horizontally */
z-index: 50;
}
.thumbnail2:hover span{ /*CSS for enlarged image*/
visibility: visible;
top: 0;
left: 0; /*position where enlarged image should offset horizontally */
z-index: 50;
}

