body {
	padding: 0px;
	margin: 0px;
	background-color: #760000;
	background-image: url('../kuvat/tausta.jpg');
	background-repeat: repeat-x;
	font-family: helvetica, Sans-serif;
	font-size: 10pt;
	color: #e60004;
}

a  {	color: #e60004;
	text-decoration: none;}

a:hover, a:active{color: #cc0000;}

h1, h2, h3 {color: #440000;}
h4, h5, h6 {color: white;}

h1 {	text-align: center;
	font-weight: bolder;
	font-size: 20pt;
	/*background-image: xxx;
	background-position: center;*/
	}

h2 {
	text-align: center;
	font-size: 14pt;
	}

h3 {
	text-align: center;
	font-size: 10pt;
	font-weight: bold;
	}

h4 { 
	font-weight: normal;
	text-align: center;
	font-size: 12pt;
	margin-top: 10px;
	text-decoration:underline;
	margin-bottom: 15px;
	}

h5 { 
	font-weight: bold;
	text-align: center;
	font-size: 12pt;
	margin: 4px;}

h6 { 
	font-weight: bold;
	text-align: center;
	font-size: 10pt;
	margin: 4px;}

	
p {
	font-size: 10pt;
	margin: 10px;
	}

hr {
	width: 57px;
	margin: 2px auto;
	padding: 0px;
	height: 0px;
	border: dashed 1px #ebebeb;}

blockquote {
	font-style: italic;}


#top{
	width:800px;
	margin-left: auto;
	margin-right: auto;
	text-align: right;}	

#sivu {
	width:800px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
		border: 1px #cc0000 solid;
	background: #760000;}

	#paamenu {
	position: absolute;
	margin-left: 330px;
	margin-top: 107px;
	width: 500px;
	text-align: left;
	color: #ebebeb;
	font-size: 10pt;
	}

		#paamenu a{color: #ebebeb;}
		
		#paamenu a:hover, #paamenu a:active {
		color: #cccccc;
		}

	#paamenu_jasen {
	position: absolute;
	margin-left: 330px;
	margin-top: 97px;
	width: 500px;
	text-align: left;
	color: #ebebeb;
	font-size: 10pt;
	}

		#paamenu_jasen a{color: #ebebeb;}
		
		#paamenu_jasen a:hover, #paamenu_jasen a:active {
		color: #cccccc;
		}
	
	#header {
	margin-top: 1px;
	margin-left: 1px;
	width: 798px;
	height: 135px;
	background-image: url('../kuvat/htlogo.jpg');
	background-repeat: no-repeat;
	background-color: #760000;}
		
		#etusivulle {
			position: absolute;
			margin-left: 5px;
			margin-top: 10px;
			width: 300px;
			height: 110px;}
	
	#alamenu {
		width: 790px;
		margin-left: 5px;
		margin-right: 5px;
		text-align:left;
		font-weight: bold;
		height: 19px;
		}

#left {
	margin-left: 3px;
	width: 216px;
	float: left;
	background:#760000;}
		
		#left div {
			border: 1px solid #cc0000;
			margin-bottom: 10px;
			background-image: url('../kuvat/box-gradient.jpg');
			background-repeat: repeat-y;
			color: #ebebeb;	
			text-align: center;
			padding-right: 3px;		
			padding-left: 4px;
			padding-bottom: 10px;}

		#left a{color: white;}

		#left a:hover, #paamenu a:active{color:#ebebeb;}

#left p {
	font-size: 10pt;
	margin: 0px 0px;}



	.textleft {text-align:left;}

#tekstiosa {
	color: #330000;
	width: 570px;
	height: auto;
	margin-right: 3px;
	margin-left: 222px;
	margin-bottom: 3px;
	padding-top: 4px;
	padding-bottom: 4px;
	background: #f3f3f3;
	text-align:justify;
	border: 1px #cc0000 solid;
	
	}

	#tekstiosa P {color: #600000;}
	
	#tekstiosa IMG {
	margin-top: 2px;
	margin-left: 8px;
	margin-right: 8px;
	margin-bottom: 2px;
	border: 3px #cc0000 solid;}


#tekstiosa_jasen {
	color: #330000;
	height: auto;
	width: 794px;
	margin-right: 3px;
	margin-left: 3px;
	margin-bottom: 3px;
	padding-top: 4px;
	padding-bottom: 4px;
	background: #f3f3f3;
	text-align:justify;
	border: 1px #cc0000 solid;
	}

#tasaus {clear: both;}

#footer {clear: both;
	font-size: 10pt;
	margin: 0px auto;
	text-align:center;

}

#jleft, #jright {
	width: 45%;
	margin-right: 2%;
	margin-left: 2%;
	margin-bottom: 0px;
	padding-top: 0px;
	padding-bottom: 0px;}

#jleft {float: left;}

#jright {float: right;}

.pvm {width: 75px;}
.klo {width: 50px;}


		#vieraskirja {
			width: 90%;}
			
			.vieraskirjakentta {
			width: 400px;}
			
			.vieraskirja {width:400px;}
			
			
			
			
			
/* KUVIEN MÄÄRITTELYT	*/

.isokuva {
	width: 500px;
	margin-left: 38px;}

.puolikuva {width: 250px;}

.puolikuva_r {width: 250px; margin-right: 20px; float: right; clear:right;}

.kuva3 {width: 150px;}


.tekstikuva {
	margin: 20px 10px 0px;
	clear: right;
	float: right;
	border: 2px #cc0000;
	width: 175px;
}

.tekstikuva_l {
	margin: 20px 10px 0px;
	float: left;
	border: 2px #cc0000;
	width: 225px;
}

.tekstikuva_r {
	margin: 20px 10px 0px;
	clear: right;
	float: right;
	border: 2px #cc0000;
	width: 225px;
}


/*Palstoitus + muut tekstimäärittely*/

.left {float: left;
	margin-left: 4px;}


.right {float: right;
	margin-right: 4px;
	margin-left: 4px;}

.tasaus {clear: both;} //MUISTA TÄMÄ PERÄÄN, JOS KÄYTETÄÄN EDELLÄ OLEVIA PALSTOJA

.clear {clear: right;}


.tekstioikea {text-align: right;}

.quote {
	width: 450px;
	border: 4px double #cc0000;
	margin-left: auto;
	margin-right: auto;
}	
			
			
			
.keskita {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.oikeafloat {
	margin: 20px 10px 0px;
	clear: right;
	float: right;
	border: 2px #cc0000;
}


	
			
			
			
			
			
    
***********============********************========*
***********============********************========*

/*#ohjelmisto img {
	border: none;
	float: none;
	margin-left: 2px;
	margin-right: 2px;
	width: 180px;}

*/



#naytannot {
	width:100px;}

input, select, textarea {
	margin: 2px 1px 10px 1px;
}

table input, table select {
	margin: 1px;}

legend {
	font-weight: bold;
	margin:0px 10px;
	color: black;
}

#naytantohaku {
	margin: 5px auto;
	width: 550px;
	}

#naytantohaku td{
	color: black;}	
	

/* TAULUKOT */	
table {
	margin: 5px auto;
	width: 95%;
	font-family: courier;
	border: 1px solid #cc0000;
	border-collapse: collapse;
}
	

table.pienempi {
	width: 260px;
}

table.liity{
	width: 350px;
}

th {
	border: 1px solid #cc0000;
	background-color: #760000;
	color: #e60004;
	text-align: left;
	padding-left: 4px;
	padding-right: 4px;
	font-size: 10pt;
}

tr, td {
	border: 1px solid #cc0000;
}

td {	text-align: left;
	padding-left: 4px;
	padding-right: 4px;}

.ohjelmistossa {
	margin: 5px auto;
	border: 0px;}

.ohjelmistossa tr, .ohjelmistossa td {border: 0px;}

.sivukentta{
	width: 180px;
	display: block;
	margin-left: 0px;
	margin-right: 0px;
}

.palaute{
	width: 250px;
	margin: 2px;
}

.liittyminen{
	width: 340px;
	margin: 2px;
}

.pieni {
	font-size: 10pt;
	font-weight: bold;
}

.mini {
	font-size: 8pt;
}

#kalenteri {
	background: #f3f3f3;
	color: #330000;
	height: auto;
	margin-right: 3px;
	margin-left: 3px;
	margin-bottom: 3px;
	padding-top: 4px;
	padding-bottom: 4px;
	text-align:justify;
	border: 1px #cc0000 solid;
	}

#kalenterikk{
	float: left;
	width:188px;
	margin: 5px;}

.kalenteriotsikko {
	font-size: 10pt;
	font-weight: bold;
	text-align: center;
	margin-bottom: 0px;
}

.kalenteri {
	font-size: 10pt;
	width: 188px;
	float:left;
	text-align: center; }

.kalenteri th {
	background-color: #760000;
	color: #cc0000;
}

.kalenteri a {
	color: black;
	background-color: transparent;
}

.kalenteri td:hover {
	background-color: white;
}


.viikkokalenteri{
	font-size: 8pt;
}

.viikkokalenteri td{
	width: 42%;
}

.viikkokalenteri a{
	color: black;
}



.juliste {
	max-width: 160px;
	border: none;
	margin: 0 auto:
	float: left;
	}

.logo {
	width:800px;
}

.footer {
	top: 0px;
	clear: none;
}

.peruslaatikko {
	width: 300px;
}

laatikko { width: 300px; height: auto;}

.aatikko {
	width: 550px;
}

.pienilaatikko {
	width: 175px;
}

.minilaatikko {
	width: 60px;
}

.naytelmalaatikko {
	margin: 10px auto;
	width: 500px;
}

.radio {
	margin: 0px 2px;
}

.kuvalinkki:hover, .kuvalinkki:active {
	background-color: transparent;
}

.kuvalinkki img {
	border: 2px solid #cc0000;
}

.kuvalinkki_2:hover, .kuvalinkki_2:active {
	background-color: transparent;
}

.kuvalinkki_2 img {
	border: 0px;
}

.popup {
	border: 0px;
}

.popup a:hover, .popup a:active{
	background-color: transparent;
}



img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}



#muokattava { width: 750px; height: 700px;}
	
/*
.hover {background-color: yellow;
	display: none;}

.hover:hover ul{
	display: block
	position: absolute;
	margin-top: 1px;  
	width: 150px;}
*/
#LM:hover {display:block;}	
	



***********============********************========*
***********============********************========*
***********============********************========*
***********============********************========*

ZENPHOTO ALKAA


#main {
	text-align: left;
	margin: 20px 5px;
	float: left;
	}
	
#main a img {
	border: 0px;}

#random ul, #random li {list-style: none; margin 0; padding: 0;}

#images {
	margin: 10px;
	width: 100%; 
	height: 100%;}

#star_rating_albums_1 {
	width: 550px;}


#credit, #sort {
	margin: 0 auto;
	font-size: 85%;
	color: #96967E;
	text-align: right;
	clear: left;
}

#credit a, #sort a {
	text-decoration: none;
	color: #96967E;
	border-bottom: 1px dotted #96967E;
}
#credit a:hover, #sort a:hover {
	color: #BDBDAE;
	border-bottom: 1px solid #BDBDAE;
	text-decoration: none;
}
#gallerytitle {
	border-bottom: 1px solid #E6E6DF;
	padding-bottom: 2px;
	margin-bottom: 2px;
	/*min-height: 40px;
  _height: 40px;*/
}
#gallerytitle h2 { 
	font-weight: normal; 
	font-size: 12pt; 
	margin-top: 18px;
	width:510px;
}



#imagemetadata {
  text-align: right;
}

#imagemetadata table {
  text-align: left;
  line-height: 1em;
  border: 1px solid #ccc;
  top: 2em;
  right: 0px;
  background-color: #fafafa;
}

#imagemetadata table td {
  border-bottom: 1px solid #f0f0f0;
  background-color: #f8f8f8;
  padding: 2px 5px;
}


/* Page Navigation
------------------------------ */
ul.pagelist {
	padding: 0;
	margin: 20px 0 0 0;
	list-style-type: none;
}
ul.pagelist li {
	display: inline;
}
ul.pagelist li a, ul.pagelist span.disabledlink {
	padding: 4px;
}
ul.pagelist li.current a {
	font-weight: bold;
	text-decoration: none;
	cursor: default;
	color: #5A5A4B;
}
ul.pagelist li.prev {
	margin-right: 10px;
}
ul.pagelist li.next {
	margin-left: 10px;
}
.disabledlink {
	color: #ddd;
	cursor: default;
}

.pagenav {
	g: both;
}

.disabled_nav {
	visibility: hidden;
}


/* AJAX
------------------------------ */
#albumDescEditable, #albumTagsEditable {
	margin-bottom: 12px;
}
#imageDescEditable, #albumTagsEditable {
	margin-top: 24px;
}
#imageDesc, #exif_link {
	margin-bottom: 4px;
}

#exif_link {
  float: right;
}

/* Tags
------------------------------ */
.taglist ul {
	display: inline;
	list-style-type: none;
}

.taglist ul li {
	background: url(../images/tag.png) no-repeat left center;
	list-style-type: none;
	padding-left: 18px;
	float:left;
	padding-right: 5px;
	color: #999999;
	display: inline;
	list-style-type: none;
}

.taglist .tags_title {
	background: none;
	padding-right: 5px;
	padding-left: 0;
}

/* Image Thumbnails
------------------------------ */
.imagethumb a, .imagethumb a:hover {
	display: block;
	padding: 5px;
	width: 245px;
	height: 105px;
	margin: 0px 9px 9px 0px;
	line-height: 0px;
    border: 1px solid #e6e6e6;
    background-color: #f6f6f6;
}
.imagethumb a:visited {
    background-color: #fcfcfc;
    border: 1px solid #f8f8f8;
}
.imagethumb a:hover {
	background-color: #f3f3f3;
	border: 1px solid #cccccc;
}
.imagethumb {
	float: left;
}
.albumdesc2 {
	line-height: 18px;
}


/* Album Thumbnails
------------------------------ */
#albums {
	float: left;
}
.album {
	margin: 0 12px 8px 0;
    padding: 10px 8px 2px 10px;
	float: left;
	width: 550px;
	border: 1px solid #E7F0F5;
	background: #F7F9FD;
    line-height: 100%;
    text-align: left;
}
.album a img {  }

.album .thumb {
    float: left; 
    margin-right: 6px;
}
.album h3 {
	padding: 0;
	margin: 0;
}
.album p {
	line-height: 12px;
	font-size: 11px;
    padding: 4px 0px 0px;
    margin: 0px;
}
.albumdesc small {
}


/* Individual Image
------------------------------ */
.image { 
	margin: 0;
	padding: 0;
	border: 0;
}
#image {
	text-align: center;
	line-height: 0;
}
.imgnav {
	width: 340px;
	text-align: center;
}
.imgnav .imgprevious a, .imgnav .imgnext a {
	width: 50%;
	height: 100%;
	float: left;
	padding: 4px 0;
	text-decoration: none;
}
.imgnav .imgprevious a:hover, .imgnav .imgnext a:hover {
}
.imgnav .imgprevious a {
	float: left;
}
.imgnav .imgnext a {
	float: right;
}
#narrow {
	margin: 0 auto;
	width: 500px;
}


/* Comments
------------------------------ */
#comments, #commentform {
	width: 400px;
}
.error { 
  color: #C33; 
  font-weight: bold; 
}
.comment {
	padding: 2px;
	border: 1px solid #E7F0F5;
	background: #FBFCFD;
	margin-bottom: 2px;
}
.commentform {
	width: 400px;
	}
	
.commentmeta {
	margin-bottom: 12px;
}
.commentauthor {
	font-weight: bold;
}
.commentdate {
	margin-top: 12px;
	color: #8DB8CF;
	font-size: 85%;
}
#commentcontent {
clear:none;
}


/* Forms
------------------------------ */
.captchainputbox {
	width: 6.5em;
	padding: 2px;
}
.inputbox {
	width: 250px;
	padding: 2px;
}

.checkbox {
	cursor: pointer;
}
.pushbutton {
	cursor: pointer;
	padding: 5px 10px;
}
label {
	cursor: pointer;
}
label:hover {
	color: #000;
}
#map {margin-left: -77px;}
#rating { margin-top: 10px; }

/* Admin Toolbox
------------------------------ */
#admin, #admin_data{
	position: fixed;
	right: 0px;
	top: 0px;
	width: 130px;
	border-bottom: 1px solid #E6E6DF;
	border-left: 1px solid #E6E6DF;
	background: #fff;
    z-index: 2; 	text-align: left;
}
#admin_data{
	top: 0px;
	padding-top: 20px;
	z-index: 1;
	line-height: 1.6em;

}
#admin h3 {
	font-weight: normal;
	color: #999;
	margin:0;
	padding:0; text-align: center;
}
#admin h3:hover { color: #036; }

/* Search Box
------------------------------ */
#search {
	float: right;
	text-align: left;
	margin:0;
	padding:0;
	background: #fff;
}
#search input.pushbutton {
	padding: 1px;
	font-size: 80%;
}
#search a {
text-decoration: none;
}
#search ul {
border: 1px solid #ccc; position:absolute; text-align:left; list-style: none; 
height: 8em; width: 20em; overflow: auto; 
background-color: white;
}

#searchfields_icon {
position: relative;
top: 4px;
}
.clear {
  clear:both;
  height:10px;
}

/* Archive View
---------------------------- */
#archive{
	width: 300px;
	margin: 0 auto;
	text-align: center;
}
ul.archive * {
	padding:0;
	margin:0;
	list-style:none;
}
ul.archive .year {
	margin-top:10px;
	text-align: center;
	margin-bottom:5px;
	font-weight:bold;
	font-size:18px;
}
ul.archive .month {
	font-size: 14px;
	list-style:none;
	border-top:2px solid #E6E6DF;
	padding-top: 5px;
}

/* Tag Cloud
---------------------------- */
#tag_cloud {
	text-align: center;
	background: #eee;
}

#tag_cloud ul li {
	display: inline;
	list-style-type: none;
}

#tag_cloud p {
	padding:10px 0;
	margin:20px 0;
	background: #fff;
	border-top: 3px solid #E6E6DF;
	border-bottom: 3px solid #E6E6DF;
	font-size: 18px;
	font-weight:bold;
	text-align: center;
}
/* Error Messages
------------------------------ */
.errorbox {
	padding: 20px;
	background-color: #FDD;
	border-top: 1px solid #FAA;
	border-left: 1px solid #FAA;
	border-right: 1px solid #FAA;
	border-bottom: 5px solid #FAA;
	margin-bottom: 10px;
	font-size: 100%;
	color: #DD6666;
}
.errorbox h2 {
	color: #DD6666;
	font-size: 100%;
	font-weight: bold;
	margin: 0px;
}

/* Zenphoto link
------------------------------ */

#zen-part {
 font-family: Arial, Helvetice, sans-serif;
 font-size: 1.8em;
 font-weight: 100;
}

#photo-part {
 font-family: Arial, Helvetice, sans-serif;
 font-size: 0.9em;
 font-weight: bold;
}

/* centering flowplayer 3 on image.php */
#image .flowplayer {
	margin: 0 auto;
}

/* login form */
table.password td.userlabel{
	text-align:right;
}
table.password td.userinput{
	text-align:left;
}

table.password td.userinput input, td.passwordinput input {
	width: 15em;
}

/* login form */
table.password td.passwordlabel{
	text-align:right;
}

table.password td.passwordinput{
	text-align:left;
}

table.password td.submit{
	text-align:center;
}

table.password td.hint{
	text-align:left;
}
