h4{
	font-size:20px; 
	text-align:center;
	margin-top: 20px;

}

html.sivu {
  height           : 100%; 
  width            : 100%;
}

.painike{
  text-align       : center;
}


body.sivu {
	background: url(kuvat/tausta.jpg) no-repeat center top
 ;}

iframe{
position:relative;
 top:100px;
}

iframe.kuvat{
position:relative;
 top:20px;
}

p.yt {
	font-size:20px; 
	text-align:left;
	width:400px;
	margin: 0 auto;
	padding-top: 150px;

}
p.yt2 {
	font-size:20px; 
	text-align:left;
	width:200px;
	margin: 0 auto;
	padding-top: 150px;

}
p.r {
	font-size:20px; 
	text-align:center;
	width:400px;
	margin: 0 auto;
	padding-top: 200px;
}

p.r2 {
	font-size:20px; 
	text-align:center;
	width:400px;
	margin: 0 auto;
	padding-top: 20px;
}


/* valikon css */
.rhm1{
	width:800px;
	height:64px;
	margin:0 auto;
	background:url(images/rhm1_bg.gif) repeat-x;		
}

.rhm1-bg{
	background:url(images/rhm1_bg.gif) repeat-x;
	height:64px;
}
.rhm1-bg ul{
	list-style:none;
	margin:0 auto;
}
.rhm1-bg li{
	float:left;
	list-style:none;
}
.rhm1-bg li a{
	float:left;
	display:block;
	color:#ffe8cc;
	text-decoration:none;
	font:12px 'Lucida Sans', sans-serif;
	font-weight:bold;
	padding:0 0 0 18px;
	height:64px;
	line-height:40px;
	text-align:center;
	cursor:pointer;	
}
.rhm1-bg li a span{
	float:left;
	display:block;
	padding:0 32px 0 18px;
}
.rhm1-bg li.current a{
	color:#fff;
	background:url(images/rhm1_hover_l.gif) no-repeat left 5px;
}
.rhm1-bg li.current a span{
	color:#fff;
	background:url(images/rhm1_hover_r.gif) no-repeat right 5px;
}
.rhm1-bg li a:hover{
	color:#fff;
	background:url(images/rhm1_hover_l.gif) no-repeat left 5px;
}
.rhm1-bg li a:hover span{
	color:#fff;
	background:url(images/rhm1_hover_r.gif) no-repeat right 5px;
}






/* kuvagallerian css */

/* GLOBAL */
* {
	margin:0;
	padding:0;
}
body {
	text-align:center;
	margin-left:0px;
	margin-right:0px;
	margin-top: 0px;
	margin-bottom: 20px;
	padding: 0px 0;
}

img {
	margin-top: 5px;
	border: 0;
}

img.sponsorit {
	margin-top: 25px;
	border: 0;
}


/* TYPOGRAPHY */
body, h1, h2, h3, h4, h5, h6, p, a {
	background-color:inherit;
	color: #000000;
	font-size: 25px;
	font-family: helvetica, arial, tahoma, verdana, sans-serif;
}

.linkit
 {
	font-size: 18px;
}
.saannototsikko {
  width            : 650px;
	background-color:inherit;
	color: #000000;
	font-size: 24px;
	font-family: helvetica, arial, tahoma, verdana, sans-serif;
}
.saannot {
  width            : 650px;
	background-color:inherit;
	color: #000000;
	font-size: 18px;
	font-family: helvetica, arial, tahoma, verdana, sans-serif;
}
/* LINKS */
a, a:link, a:hover {
	text-decoration:underline;
	cursor:pointer;
}
a:link a:visited a:hover, a:active {
	text-decoration:none;
}
/* MISC */
.clear {
	clear: both;
}
.borderTopLeft {
	border-top: 1px solid #787878;
	border-left: 1px solid #787878;
}
.borderBottomRight {
	border-right: 1px solid #787878;
	border-bottom: 1px solid #787878;
}
.borderRight {
	border-right: 1px solid #787878;
}
.borderRightDotted {
	border-right: 1px dotted #787878;
}
/* SITE WRAPPER */
#wrapper2, #wrapper {
	text-align:left;
	width: 500px;
	margin: 0 auto;
	padding-top: 50px;
	padding-left: 10px;
	padding-right: 10px;
}
/* ID PLATE */
#idplate {
	margin-bottom: 0px;
	margin-top: 0px;
}
#idplate .logo {
}
/* SITE TITLE */
#sitetitle {
	margin-bottom: 10px;
	border-bottom: 1px dotted #7f7f7f;
}
#sitetitle h1 {
	background-color:inherit;
	color: #7f7f7f;
	font-size: 20px;
}
/* COLLECTION HEADER */
#collectionHeader {
	margin-bottom: 15px;
}
#collectionHeader h1 {
	font-size: 14px;
}
#collectionHeader p {
	line-height: 16px;
	margin-top: 5px;
}
/* COLLECTION INLINE */
#collectionInline {
	float: left;
	position: relative;
	color:inherit;
	background-color: #b3b3b3;
width: 321px /*2 x CellWidth + 1px Gap*/
;
height: 482px /*3 x CellHeight + 2px Gap*/
;
	overflow: hidden;
}
#collectionInline .padding {
	padding: 15px;
}
#collectionInline h1 {
	background-color:inherit;
	color: #4c4c4c;
	font-size: 14px;
}
#collectionInline p {
	background-color:inherit;
	color: #4c4c4c;
	line-height: 16px;
	margin-top: 5px;
}
/* STYLE SWITCHER */
#styleswitcher {
	float: left;
	margin-bottom: 10px;
	border-right: 1px solid #787878;
}
#styleswitcher img {
	float: left;
	border-left: 1px solid #787878;
	border-bottom: 1px solid #787878;
	width: 12px;
	height: 7px;
}
/* PAGINATION */
.pagination {
	float: right;
	margin-bottom: 10px;
	padding: 0;
}
.pagination ul {
	margin: 0;
	padding: 0;
}
.pagination li {
	float: left;
	list-style: none;
	padding: 5px;
}
.pagination li, .pagination a {
}
.pagination .previous {
	font-weight: bold;
	margin-left: 25px;
}
.pagination .next {
	font-weight: bold;
}
.pagination .readout {
	font-weight: bold;
}
.pagination .current {
	border: solid 1px #7f7f7f;
}
/* QUICK JUMP */
#quickjump {
	float: right;
	margin-bottom: 10px;
	padding: 0;
}
/* CONTACT */
#contact {
	/*float: left;
*/
	margin-bottom: 10px;
	padding: 5px 0;
	border-top: 1px dotted #7f7f7f;
}
#contact span, #contact a {
}
/* STAGE */
#stage, #stage2, #index {
	float: left;
	position: relative;
	margin: 0;
}

/* PREVIEW FULL */
#previewFull {
	float: left;
	position: relative;
	color:inherit;
	background-color: #191919;
}
#previewFull .padding {
	padding-top: 15px;
}
/* TRANSPORT CONTROLS */
#previewSmall .previewSmallNav {
	position: absolute;
	bottom: 0;
	width: 100%;
	font-weight: bold;
	text-align: center;
	padding-bottom: 15px;
}
/* PAGINATION */
.previewFullNav ul {
	margin: 0;
	padding: 5px;
}
.previewFullNav li {
	display: inline;
	padding: 10px;
}
/* INDEX - GRID */
.thumbnail {
	float: left;
	position: relative;
	color:inherit;
	background-color: #949494;
	width: 160px;
	height: 120px;
	overflow: hidden;
}
.selectedThumbnail, .thumbnail:hover {
	color:inherit;
	background-color: #a1a1a1;
}
.emptyThumbnail {
	float: left;
	position: relative;
	color:inherit;
	background-color: #949494;
	width: 160px;
	height: 120px;
	overflow: hidden;
}
/* INDEX */
.selected {
	color:inherit;
	background-color: #a1a1a1;
}
.selected:hover {
	color:inherit;
	background-color: #a1a1a1;
}
.selected .alignmentInner img {
	border: solid 3px white;
	padding: 0;
	margin: 0;
}
.itemNumber {
	z-index: 0;
	position: absolute;
	top: 2px;
	left: 2px;
	background-color:inherit;
	color: #9c9c9c;
	font-size: 40px;
	font-weight: bold;
	letter-spacing: -1px;
}
.fullSize {
	position: absolute;
	left: 0;
	bottom: 0;
}
.sendMail {
	position: absolute;
	right: 0;
	bottom: 0;
}
/* INDEX - LIST */
.row {
	position: relative;
	color:inherit;
	background-color: #a1a1a1;
width: 804px /*5 x CellWidth + 4px Gap*/
;
	height: 160px;
	overflow: hidden;
}
.cellThumbnail {
	float: left;
	position: relative;
	color:inherit;
	background-color: #949494;
	width: 200px;
	height: 100%;
	overflow: hidden;
}
.cellThumbnail:hover {
	color:inherit;
	background-color: #949494;
}
.cellDescription {
	float: left;
	position: relative;
	width: 350px;
	height: 100%;
	overflow: hidden;
}
.cellDescription .padding {
	padding: 10px;
}
.cellDescription h1 {
	background-color:inherit;
	color: #E5E5E5;
	font-size: 14px;
}
.cellDescription p {
	background-color:inherit;
	color: #E5E5E5;
	line-height: 16px;
	margin-top: 5px;
}
.cellMetaData {
	float: left;
	position: relative;
	color:inherit;
	background-color: #9D9D9D;
	width: 250px;
	height: 100%;
	overflow: hidden;
}
.cellMetaDataContainer {
	width: 250px;
}
.cellMetaDataLabel {
	float: left;
	width: 40%;
	text-align: right;
}
.cellMetaDataLabel p {
	background-color:inherit;
	color: #e5e5e5;
	font-size: 10px;
	line-height: 12px;
	padding-right: 3px;
}
.cellMetaDataData {
	float: left;
	width: 60%;
	text-align: left;
}
.cellMetaDataData p, .cellMetaDataData a {
	background-color:inherit;
	color: #E5E5E5;
	font-size: 10px;
	line-height: 12px;
	font-weight: bold;
	padding-left: 3px;
}
/* PROPER ALIGNMENT INSIDE CELLS */
.alignmentOuterGrid {
	z-index: 1;
	position: static;
	text-align: center;
	display: table;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.alignmentOuter {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.alignmentOuter {
	position: static;
	text-align: center;
	display: table;
}

.alignmentMiddle {
position:absolute;
 left:15px;
 top:10px;
 
}

.alignmentInner {
	position: static;
}
.AdjustZIndex {
	position: relative;
}
/* Metadata Formatting */
.previewFullMetadata hr {
	border:0;
	height: 0px;
	margin-left: 10px;
	margin-right: 10px;
}



#detailTitle {
	margin: 10px 0 0 0;
	float:left;
	clear:both;
	text-align: center;
	width: 100%;
}

.detailNav {
	width: 100%;
	float:left;
	clear: both;
	text-align: center;

}

.detailNav ul {
	margin: 10px auto;
	text-align: center;
}

.detailNav ul li {
	display:inline;
	text-align: center;
	list-style: none;
	padding: 5px;
}



#detailImage {
	text-align: center;
	width: 100%;
}

#detailCaption {
	margin: 10px;
	text-align: center;
}


.previewMetadataRow {
	display:block;
	font-size: 11px;
	text-align:center;
	clear:both;
}

.previewMetadataLabel {
	margin-right: 3px;
	display:inline;
	font-size: 11px;
	text-align:right;
	clear:both;
}


.previewMetadataData {
	display:inline;
	font-size: 11px;
	font-weight: bold;
}


