/* CSS Document: styles_galleria
   Viihdegalleria
*/

*
{
	margin: 0 0 0 0;
	padding: 0 0 0 0;
}
body, html, div#wrapper {
	width: 100%;
	/*height: 100%;*/
	padding: 0;
	border: 0;
	/*background-color:#878787;*/
	color: #333333;
	text-align: center;
	font-family: Verdana, sans-serif;
	font-size: 12px;
}
a img{
	border:0;
}
div#wrapper {
	/*
background-image: url(../img/gallery/vg_bottom_bg.gif);
background-position: bottom;
background-attachment: fixed;
background-repeat: repeat-x;
	*/
	margin: 0 auto;
	margin-top:20px;
	width: 800px;
}
.clearFloat{
	clear: both;
	display: block;
}
.clearFloat:after{
	content: ".";
	clear: both;
	display: block;
	height: 0px;
	visibility: hidden;
}
#header {
	text-align: left;
	margin-left: 20px;
	margin-right: 20px;
	/*height: 30px;*/
	/*background-image: url(../img/gallery/vg_header_bg.gif);*/
	background-repeat:repeat-x;
}
#header #logo {
float: left;
margin-right:10px;
	padding-top: 0px;	
}

#header h3 {
float: left;
width: 300px;
height: 18px;
margin: 13px 0 0 5px;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: normal;
}
#header h3 span.beat{
	font-weight: bold;	
}

#header #sulje {
float: right;
width: 60px;
height: 16px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size:12px;
padding-top: 2px;
padding-bottom: 2px;
text-align: center;
border: solid 1px #b3b3b3;
background-color: #878787;
margin: 4px 5px 0 0;
}
#header #sulje a:link, #header #sulje a:visited, #header #sulje a:active{
	color: #ffffff;
	text-decoration: none;
}

.kuvalinkit a:link, .kuvalinkit a:visited, .palaute a:link, .palaute a:visited, .lisaakuvaraportteja a:link, .lisaakuvaraportteja a:visited{
color: #333333;
text-decoration: none;
}
#header #sulje a:hover, .kuvalinkit a:hover, .kuvalinkit a:active, .palaute a:hover, .palaute a:active, .lisaakuvaraportteja a:hover, .lisaakuvaraportteja a:active {
color: #BCBBBB;
text-decoration: none;
}
div.content{
	width: 100%;
	margin-top:25px;
}
div#navi{
margin-bottom: -5px;
}
ul#menu {
	margin: 0;
	padding: 0;
	white-space: nowrap;
}
ul#menu img {
display: inline;
border: 0;
}
#menu li {
	margin: 0;
	padding: 4px 0;
	list-style-type: none;
}
#menu a {
	padding: 0 8px;
	border-right: 1px solid #b6b6b6;
	height:18px;
}
#menu .last {
	border-right: 0 none;
}
#menu a {
	color: #FFFFFF;
	text-decoration: none;
}
#menu a:hover {
	color: #BCBBBB;
}
#menu li, #menu a, #menu span {
	float: left;
}
.kuvateksti {
padding-top: 5px;
width: 330px;
font-size: 12px;
}
h5 {
font-size: 11px;
font-weight: bold;
margin-top: 17px;
margin-bottom: 2px;
}
.kuvalinkit .articletime {
color: #BCBBBB;
font-size:10px;
}
.lisaakuvaraportteja{
text-align:right;
}
.palaute, .lisaakuvaraportteja{
padding-top: 22px;
margin-right: 20px;
font-size: 10px;
float:right;
}
.palaute{
	margin-top:10px;
	padding-top:0;
}
.wrap1 img {
	border: 0;
	display: block;
	/*
	max-height: 502px;
	max-width: 652px;
	*/
}
.wrap1 {
	display: table-cell;
	padding: 0;
}
.wrap0 {
	display: table;
	margin: .5em auto;
}
.aright {
	text-align: right;
	font-size:10px;
	text-transform: uppercase;
	padding-bottom: 2px;
}
.aleft {
	text-align: left;
}
/* IE/Mac \*//*/
.wrap0 {
	display: block;
	margin: 1em 0;
	text-align: center;
}
.wrap1 {
	display: inline-block;
	width: 1px;
	white-space: nowrap;
}
/**/
/* /////////////////// */
body #wrapper .thumbnail_holder {
width: 480px;
text-align: center;
float: none;
margin-top: 40px;
margin: 60px auto 0 auto;
}
.thumbnail_holder div {
float: left;
width: 118px;
height: 118px;
border-left: solid 1px #8f8f8f;
border-top: solid 1px #8f8f8f;
border-right: solid 1px #000000;
border-bottom: solid 1px #000000;
background-color: #5d5d5d;
}
.thumbnail_holder a {
	display: table-cell;
	width: 118px;
	height: 118px;
	text-align: center; 
	vertical-align: middle;
	background: #5d5d5d;
}
.thumbnail_holder img {
	border: solid 1px #a09f9f;
	vertical-align: middle;
}

div.bottomAd{
	margin-top:40px;	
}
/*\*//*/
.thumbnail_holder a {
	display: block;
}
.thumbnail_holder span {
	display: inline-block;
	vertical-align: middle;
	height: 100%;
	width: 1px;
}
.thumbnail_holder a {
	font-size: 1px;
}
/*  */
.thumbnail_holder div {
	border-collapse: collapse; /* Op7 */
}

.thumbnail_holder a:hover {
	background-color: #454545;
}


