body {position:relative;margin:auto;padding:auto;font-family:sans-serif;font-size:12px;background:#fafafa url(img/back1.png) repeat-x 50% 0;}

#main {overflow:hidden;position:relative;margin:0 auto;padding:0 auto;width:940px;height:auto;background: url(img/centback.png) repeat-y;}
* html #main{display:inline;}

#top1 {position:relative;margin:auto;padding:auto;width:940px;height:280px;background: url(img/topback.png);}
#top2 {position:relative;margin:auto;padding:auto;width:875px;height:280px;background: url(img/top.png);}

#topR {position:absolute;margin:auto;padding:auto;left:458px;top:20px;width:400px;height:215px;z-index:0;}

#menutop {position:relative;margin:0px;top:92px;padding:0px;width:450px;height:60px;}

#menumid {position:relative;margin:auto;top:-81px;padding:auto;width:800px;height:120px;}
#item {float:right;position:relative;margin:auto;padding-left:20px;width:195px;height:125px;z-index:5;}

#centrum {position:relative;margin:auto;padding:auto;width:870px;height:auto;}

#mtop {position:relative;margin:auto;padding:auto;width:870px;height:75px;background: url(img/maintop.png);}
#mmid {position:relative;margin:auto;padding:auto;width:870px;height:auto;}
#tex {overflow:hidden;position:relative;margin:auto;padding:auto;top:-20px; width:760px; height:auto;text-align:justify;color:#520;}
* html #tex{display:inline;}
#le {float:left;position:relative;margin:auto;padding:auto;width:140px;height:auto;}
#ri {float:right;position:relative;margin:auto;padding:auto;width:600px;height:auto;line-height:2;}

#mbot {position:relative;margin:auto;padding:auto;width:870px;height:55px;background: url(img/mainbot.png);}

hr {height:2px;width:70%;color:#bbc;background-color:#bbc;border:0;}

#bot {position:relative;margin:auto;padding:auto;width:940px;height:20px;background: url(img/bot.png);}

#img {overflow:hidden;float:left;position:relative;margin:4px;padding:4px;border:#b32 solid 1px;}
#img:hover {float:left;position:relative;margin:4px;padding:3px;border:#b42 solid 2px;}

#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/prev.png) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(images/next.png) 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; }


input, textarea { display: block; padding: 3px; margin: 2px 0; border: 1px solid grey; }

form { padding: 15px; }
	
div#error { border: 2px solid #000; background-color: #ff0000; color: #fff; font-weight: bold; padding: 10px; }
	
div#info { border: 2px solid orange; background-color: yellow; color: #000; font-weight: bold; padding: 10px; }

#aa {text-decoration:none;font-size:9px;color:#888;}
#aa:hover {text-decoration:none;font-size:9px;color:#444;font-weight: bold;}

#vs_link {color:#888888;text-decoration:underline}
#vs_link:hover {color:#444444;}
.vs_naglowek {color:#552200;font-weight:bold;font-size:12px;margin-top:12px;margin-bottom:24px}
