html {
  height: 100%;
  margin-bottom: 0px;
}

form {
  margin: 0;
  padding: 0;
}

table {
  border: none;
}

img {
	border: none;
	/*behavior: url(iepngfix.htc);*/
}

body {
	background: #000;
	font-family: Tahoma, Arial, sans-serif;
	line-height: 100%;
	margin: 0;
	padding: 0;
	font-size: 12px;
	color: #fff;
	background: #978c7a url(../images/tlo.jpg) top center no-repeat;
}
	

/* a links */
a:link, a:visited {
	outline: none;
	text-decoration: underline;
	font-weight: normal;
	color: #1b00a4;
}

a:hover {
	text-decoration: none;
	font-weight: normal;
	color: #ff0303;
}


p {
	margin-top: 0;
	margin-bottom: 5px;
	text-align: justify;
}

#hr_div {
  width: 100%;
  height: 15px;
  text-align: center;
  /*background: transparent url(../images/hr.jpg) top center no-repeat;*/
}

/************************/
/***  layout elements ***/
/************************/

#page_bg1 {
	height: 100%;
	padding: 0;
	/*background: transparent url(../images/tlo.jpg) top center no-repeat;*/
}

#page_bg {
	padding: 0;
	/*background: url(../images/tlo_srodek.png) top center repeat-y;*/
	text-align: center;
}


#main_page {
  width: 950px;
  min-height: 993px;
  margin: 0 auto;
}

#wrapper {
  text-align: center;
  
}

#header {
	height: 238px;
	margin: 0 auto;
	width: 950px;
	background: transparent url(../images/index_02.png) top center no-repeat;
	line-height: 100%;
}

#srodek{
  margin: 0 auto;
  overflow: hidden;
  width: 950px;
  min-height: 362px;
  background: transparent url(../images/zaklad_04.png) top center repeat-y;
  
}

#menu {
  margin: 0 auto;
  float: left;
  text-align: left;
  width: 350px;
}

#text {
  float: left;
  width: 600px;
  overflow: hidden;
}

#footer {
	text-align: left;
	margin: 0 auto;
	padding: 0;
	width: 950px;
	height: 393px;
	background: transparent url(../images/index_14.png) top center no-repeat;
}

/***********************/
/*** Header elements ***/
/***********************/



/**********************/
/*** Center elemets ***/
/**********************/

#text_frame {
  text-align: justify;
  line-height: 150%;
  font-size: 16px;
  padding-right: 120px;
  padding-left: 40px;
  padding-top: 30px;
}

/*************************/
/*** Menu elements ***/
/*************************/

#m1 {
  margin: 0 auto;
  width: 350px;
  height: 55px;
  padding-top: 50px;
}

#m2 {
  margin: 0 auto;
  width: 350px;
  height: 55px;
  padding-top: 15px;
}

#m3 {
  margin: 0 auto;
  width: 350px;
  height: 55px;
  padding-top: 15px;
}

#m4 {
  margin: 0 auto;
  width: 350px;
  height: 55px;
  padding-top: 15px;
  padding-left: 6px;
}

#m5 {
  margin: 0 auto;
  width: 350px;
  height: 55px;
  padding-top: 15px;
}

/***********************/
/*** Footer elements ***/
/***********************/



#footer a:link, a:visited {
	font-weight: normal;
	color: #fff;
	text-decoration: none;
}

#footer a:hover {
  text-decoration: underline;
}

#footer_text {
  margin: 0 auto;
  padding-top: 297px;
  padding-left: 110px;
  font-size: 15px;
}




/***************/
/*** Galeria ***/
/***************/

.thumbnail_list {
	/*float: left;
	margin-right: 12px;*/
}

.thumbnail_list img {
	background-color: transparent;
	border:1px solid #9f6e36;
	margin:2px 0px 2px 5px;
	padding:2px;
	/*position:relative;*/
}

.thumbnail_list img:hover {
	background-color: #eb3d28;
}



/****************/
/*** Lightbox ***/
/****************/

#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;  }
* html #outerImageContainer{ position: relative; background-color: #fff; width: 250px; height: 250px; margin: 0 auto; margin-top: 0px; }
#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: 86px; 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; }

/* wypunktowanie */

.myli{
	margin-left: 0;padding-left: 0;
	list-style: none;
}

.myli li{
	margin:5px;
	padding-left: 25px;
	background: url(../images/red_arrow.jpg) 0 50% no-repeat;
}

.podli li{
	list-style: none;
	padding-left: 20px;
	background: url(../images/bullet.jpg) 0 50% no-repeat;
}

p.normalny {
  font-weight: normal;
}
