/*#######################--META--################################
Ravintola Pihlajasaari CSS-document
Written: 25.3.2008
Author: MarcoM
Visit: http://koti.mbnet.fi/mmnett/
OSWD Template from: Viktor Persson
URL: http://templates.arcsin.se
Copyright ravintola Pihlajasaari
#############################################################*/

/*#############################--MAIN,BODY,TEXT--##########################*/
* {
	margin:			0;
	padding:		0;
}

a {
	color: 			#682;
	font-size: 		1.0em;
}

a:hover {
	color: 			#9A6;
}

body {
	background: 		#485E75 url(img/bg.bmp) repeat-y center top;
	color: 			#333;
	font:			normal 62.5% "Lucida Sans Unicode",sans-serif;
}

form {
	margin:			3px; padding: 3px;
	border:			1px solid #D5D5D5; 
	background-color: 	#DFDFDF; 	
}

gtext {
	font-size: 		0.9em;		/*--------SIVUT PÄIVITETTY---------*/
	color: 			#b0b0b0;
	text-align: 		center;	
}

linkki a {	
	font-size: 		1.2em;	
}

p,cite,code,ul {
	font-size: 		1.1em;		/*--------TEKSTIN KOKO---------*/
	padding-bottom: 	1.2em;
}


/*###########################--LOMAKE--###########################*/

label {
	display:		block;
	font-weight:		bold;
	margin:			5px 0;
}

label a {	
	color: 			#682;
	font: 			normal 1em Verdana, sans-serif;
	font-size: 		0.9em;
}

input {
	padding:		2px;
	border:			1px solid #eee;
	font: 			normal 1em Verdana, sans-serif;
	color:			#777;
}

textarea {
	width:			350px;
	padding:		2px;
	font: 			normal 1em Verdana, sans-serif;
	border:			1px solid #eee;
	height:			100px;
	display:		block;
	color:			#777;
}

input.button { 
	font: 			bold 12px Arial, Sans-serif; 
	height: 		24px;
	margin: 		0;
	padding: 		2px 3px; 
	color: 			#FFF;
	background: 		#8EB50C url(img/nav.jpg) repeat-x 0 0;
	border: 		none;
}

/*###########################--BLOCKQUOTE MENUUT--###########################*/

blockquote {
	background: 		#DFDFDF;
	border-bottom: 		1px solid #D5D5D5;
	border-top: 		1px solid #D5D5D5;
	color: 			#333;
	display: 		block;
	font-size:		1.0em;
	margin-bottom: 		1.2em;
	padding: 		6px 12px;
}

blockquote p {
	padding: 		3px 0;
}

/*#########################--IMAGE STYLES--###########################*/
.thumbnail {
	background:	 	#fafbfc;
	border:		 	1px solid #b0b0b0;
	margin:		 	0 0 5px 5px;
	padding:	 	2px;
	float:		 	right;
}

.thumbnail2 {
	background:	 	#fafbfc;
	border:		 	1px solid #b0b0b0;
	margin:		 	0 5px 5px 0px;
	padding:	 	2px;
	float:		 	left;
}

.tableimg1 {
	align:			center;
	width:			100px;
	height:			75px;
}

.thumbnailflag {
	background:	 	#fafbfc;
	border:		 	1px solid #b0b0b0;
	margin:		 	6px;
	padding:	 	0px;
	float:		 	right;
}

.thumbnailflag2 {
	background:	 	#fafbfc;
	border:		 	1px solid #b0b0b0;
	margin:		 	7px;
	padding:	 	0px;
	float:		 	right;
}

/*###########################--TABLE--##################################*/
table {
	border-collapse: 	collapse;
	margin: 		10px;	
}

th strong {
	color: 			#fff;
}

th {
	background: 		#93BC0C url(img/nav.jpg) repeat-x;
	height: 		29px;
	padding-left: 		12px;
	padding-right: 		12px;
	color: 			#FFF;
	text-align: 		left;
	border-left: 		1px solid #B6D59A;
	border-bottom: 		solid 2px #FFF;
}

tr {
	height: 		30px;
}

td {
	padding-left: 		11px;
	padding-right: 		11px;
	border-left: 		1px solid #E8E8E8;
	border-bottom: 		1px solid #DFDFDF;
}

td.first,th.first {
	border-left: 		0px;
}

tr.row-a {
	background: 		#F8F8F8;
}

tr.row-b {
	background: 		#EFEFEF;		
}

/*#############################--UL-HEADERS--################################*/

ul {
	margin-left: 		1.2em;
}

li {
	list-style-image: 	url(img/li.gif);
}

h1 {
	font-size: 		1.4em;
}

h3 {
	font-size: 		1.2em;
	color: 			#333;
	font: 			"Lucida Sans Unicode",sans-serif;
	margin-bottom: 		0.5em;
	padding: 		0px 0px;
}

h4 {
	font-size: 		1.1em;
	color: 			#333;
	font: 			"Lucida Sans Unicode",sans-serif;
	margin-bottom: 		0.5em;
	padding: 		2px 0px;
}

h2 {
	font-size: 		1.4em;
	color: 			#006699;
	margin-bottom: 		0.5em;
	padding: 		2px 0px;
}

h5 {
	font-size: 		1.1em;
	color: 			#006699;
	margin-bottom: 		0.5em;
	padding: 		2px 0px;
}

h1,h3,h4 {
	color: 			#654;
}

.clearer {clear: 		both;}

/*############################--MAIN--#################################*/
.container {
	background: 		url(img/bgcontainer2.gif) repeat-y;
	margin: 		0 auto;
	width: 			702px;
}

/*############################--TOP--#################################*/
.top {
	background: 		#006699; /*--------#5F8000-------------*/
	font: 			normal 1.5em Verdana,sans-serif;
	height: 		25px;
	margin: 		0 auto;
	width: 			630px;
}

.top span {
	padding-left: 		24px;
}



/*#############################--HEADER--################################*/
.header {
	background: 		url(img/logo.jpg) no-repeat;
	height: 		150px;
	margin: 		0 auto;
	width: 			630px;
}

/*##############################--ITEM--###############################*/
.item {clear: both;}

.item .date {
	background: 		url(img/) no-repeat;
	color: 			#FDD;
	float: 			left;
	height: 		14px;
	text-align: 		center;
	width: 			36px;
}

.item .date div {padding-top: 4px;}

.item .date span {font: normal 1.6em serif;}

.item .content {
	float: 			left;
	width: 			446px;
}

.item h1 {
	background: 		#006699; /*---------------#567300------------------*/
	color: 			#FFF;
	line-height: 		30px;
	padding-left: 		16px;
}

.item .body {padding: 12px 18px;}

.main 
{
	float: 			left;
	min-height:		650px;
}

.main2 					/*---------------galleria IE-exp------------------*/
{
	float: 			left;
	min-height:		1800px;
}

/*###############################--NAVIGATION--##############################*/
.navigation {
	float: 			left;
	margin-left: 		1px;
	width: 			182px;
}

.navigation h1 {
	background: 		#93BC0C url(img/nav.jpg) repeat-x; /*------background: #81AC00;------------*/
	color: 			#FFF;
	font-size: 		1.3em;
	line-height: 		25px;
	padding-left: 		12px;
}

.navigation h2
{
	font: 			normal 100% "Lucida Sans Unicode",sans-serif;
	color: 			#553;			/*------------556C89--------*/
	line-height: 		11px;
	text-align: 		left;
	padding: 		11px 11px;
	font-size:		0.9em;
}

.navigation ul {
	margin: 		0; 
	padding: 		0;
	line-height: 		10px;
}

.navigation li {
	border-bottom: 		1px solid #D5E8AD;
	list-style: none;
}

.navigation li a {
	background: 		#E8F6BF url(img/bgnavigation.gif) repeat-x;	
	color: 			#553;
	display: 		block;
	padding: 		9px 4px 8px 12px;
	text-decoration: 	none;
	font-size: 		1.0em;
}

.navigation li a:hover {
	background: 		#F0FFC6;
	color: 			#553;
}

/*##############################--FOOTER--###############################*/

.laskuri
{
	border:		 	0;
	width:		 	24px;
	height:		 	7px;
	frameborder:	 	0;
}	

.footer {
	background: 		url(img/bgfooter.gif) repeat-x;
	color: 			#FFF;
	font-size: 		1.1em;
	line-height: 		40px;
	margin: 		0 auto;
	text-align: 		center;
	width: 			626px;
}

.footer a {color: #FFF;}

.footer a:hover {color: #FAFCB0;}


/*##############################--GALLERIA--###############################*/

#picturelist {
	width:			430px;
	height:			500px;
	margin-top:		20px;
	margin-bottom:		20px;
	text-align:		left;
	margin-right:		auto;
	margin-left:		auto;
}

#picturelist li {
	list-style:		none;
	float:			left;
	margin-right:		15px;
	margin-bottom:		10px;
	font-weight:		italic;
	font-size:		0.8em;
	color:			#b0b0b0;
}

#picturelist img{
	display:		block;
	border:			1px solid #006699;
}

#picturelist img:hover{
	border:			1px solid #9A6;
}

#picturelist a{
	color:			#777777;
	text-decoration:	none;
}

#picturelist a:hover{
	color:			#999999;
}

#lightbox{	position: absolute;	left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto;}
#lightbox a img{ border: none; }

#outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; }
#imageContainer{ padding: 10px; }

#loading{ position: absolute; top: 40%; left: 0%; height: 25%; width: 100%; text-align: center; line-height: 0; }
#hoverNav{ position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; }
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{ width: 49%; height: 100%; background-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(images/nextlabel.gif) right 15% no-repeat; }

#imageDataContainer{ font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; margin: 0 auto; line-height: 1.4em; overflow: auto; width: 100%	; }

#imageData{	padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em; outline: none;}	 	

#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }