* {
  /* This is the universal selector: It allows us to style every element
      on a page. In this case, we remove the default browser padding
      and margin on every element */
  margin: 0;
  padding: 0;
  }

body {
  /* Styles applying to the entire page */
  font: 11px/1.5 Verdana, Sans;
  color: #f8f8f8;
  background: #292929;
  text-align: center;
  }

#header {
  /* To the header we apply a background image which tiles horizontally */

  text-align: center;
  background: url('images/ta_energia_tlo_inny.jpg') no-repeat center top;
  }

#wrapper {
  /* The wrapper contains the content area, navigation and footer.
    It's positioned in the center of the page using auto margins */
  width: 780px;
  margin: 0 auto;
  text-align: left;
  margin-top: 2px;
  }

#content {
  /* Both the content area and navigation share the same background color */
  float: right;
  width: 590px;
  background: #3c4040 url('images/bar_duzy.jpg') no-repeat right top;
  border-left: red solid 1px;
  border-right: red solid 1px;
  border-bottom: red solid 1px;
  margin-bottom: 5px;
  }



#content h3, div.subbContent h3 {
  /* Section headers share the same tiled background image and font */

  font-size: 140%;
  text-indent: 1em;
  text-align: right;
  margin-left: 15px;
  margin-right: 15px;
  padding: 1px;
  border-bottom: dotted 1px gray;
  }

#content h4, div.subbContent h4 {
  /* Section headers share the same tiled background image and font */

  font-size: 100%;
  text-indent: 1em;
  text-align: right;
  margin-left: 15px;
  margin-right: 15px;
  padding: 1px;
  border-bottom: dotted 1px gray;
  }



#subContent {
  /* The navigation is positioned to the left using a left float */
  float: left;
  width: 182px;
  }
.subbContent {
  background: #3c4040 url('images/bar_maly.jpg') no-repeat left top;
  margin-bottom: 10px;
  border: red solid 1px;

  }

  /* The following styles apply to lists and links within the navigation */
#subContent ul {
  list-style: none;
  margin: 1em;
  }

#subContent a {
  color: #ccc;
  font: bold 1.1em Sans-Serif;
  text-decoration: none;
  }

#subContent a:hover {
  color: #f0f0f0;

  }

  /* The following styles apply to the footer and it's contents */
#footer {
  clear: both;
  text-align: center;
  padding: 2px;
  font: 0.8em Sans-Serif;
  border-top: red solid 1px;
  }

#footer a {
  color: #27aefe;
  }

#footer a:hover {
  color: #FFF;
  }

  /* General styles */
img {
  border: none;
  }

img.left {
  float: left;
  margin: 0.4em 1em 1em 0em;
	border: 2px solid white;
  }

img.right {
  float: right;
  margin: 1em 0 1em 1em;
  }
  
img.center {
margin-left: 10px;
margin-top: 10px;
border: 1px solid white;
}
  
  

h2 {
  margin-top: 11px;
  margin-left: 11px;
  padding: 3px;
  }


h5 {
  margin-right: 9px;
  margin-left: 9px;
  margin-top:  11px;
  font-size: 12px;
  }

	
	
h6 {
    font-size: 100%;
    text-indent: 1em;
   }	

p {
  margin-top: 5px;
  margin-left: 11px;
  margin-right: 11px;
  padding: 3px;
  }
div#content div.news {
  margin-top: 1px;
  margin-left: 11px;
  margin-right: 11px;
  padding-left: 11px;
  padding-bottom: 17px;
  border-top: dotted 1px #ccc;
  }

div#content div.news h5 {
  margin-left: 0px;
  margin-bottom: 3px;
  }
	

ul li {
  margin-left: 40px;
  margin-right: 30px;
  }

a {
color: #ccc;
text-decoration: none;
  }
a:hover {
 color: #fff;
  }

td, th {padding: 5px;}
.fst {width: 300px;}
.scnd {width: 40px;}
.thrd {width: 40px;}
.frth {width: 40px;}




#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; }
