/* CSS Document */
body  {
	font: 100% Verdana, Arial, Helvetica, sans-serif;
	background: #1e1e1e;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center; /* this centers the zawart in IE 5* browsers. The text is then set to the left aligned default in the #zawart selector */
	color: #D3EDF1;
}
#zawart {
	width: 840px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	background: #000000;
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	border: 1px solid #636363;
	text-align: left;
}
#zawart #galeria .fig{
	display:inline;
	height:350px;
	width:350px;
	vertical-align:middle;
	text-align:center;
}

#zawart #galeria img{
	background: #3b3b3b;
	padding: 4px;
	margin:10px 10px;
	border: 1px solid #CCCCCC;
	vertical-align:middle;
	text-align:center;
}
	 
 #nagl {
	padding: 0;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
	margin-bottom: 10px;
	background:url(glowna/naglowek.jpg) no-repeat left top;
	height: 200px;
}
 #nagl h1 {
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}

#zawart #nagl ul {
	margin:0px 0 20px 8px;
	list-style:none;
	padding:0;
	padding-top: 175px;
}
#zawart #nagl li {
	float:left;
	margin-left: 0px;
	margin-bottom: 0px;
}

#zawart #nagl a {
	font: bold 14px Arial, Helvetica, sans-serif;
	color: #FFFFFF;
	text-decoration: none;
	height:20px;
	display:inline;
	background-image: url(Templates/deska-1.png);
	background-repeat: no-repeat;
	background-position: center 0;
	text-align: center;
	padding: 5px 20px 5px 12px;
	/*border: dotted 1px #AAAAAA;*/
}

#zawart #nagl a:hover { color: #668AB3;	/*background-image: url(../glowna/lnk_bg.png);*/ }

#sidebar1 {
	float: right; /* since this element is floated, a width must be given */
	width: 220px; /* the background color will be displayed for the length of the content in the column, but no further */
	margin-top: 2em;
	padding: 15px 10px;
	text-align:left;
}
#sidebar1 img {
	background: #3b3b3b;
	padding: 4px;
	margin:10px 0;
	border: 1px solid #CCCCCC;
}
#mainContent { 
	margin: 0 250px 0 0; /* the right margin on this div element creates the column down the right side of the page - no matter how much content the sidebar1 div contains, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the #sidebar1 space when the content in #sidebar1 ends. */
	padding: 0 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
	font-size: 0.9em;
	line-height: 1.6em;
	text-align:justify;
} 
#mainContent h1, #mainContent h2, #mainContent h3 {
	color: #5089AB;
	margin-top: 1em;
	margin-left: 25px;
	font-weight: normal;
}
#mainContent h1{
	font-size:1.9em;
}
#mainContent h2{
	font-size:1.6em;
}
#mainContent h3{
	font-size:1.4em;
}
#mainContent a {
	text-decoration: none;
	border: 1px dotted #5089AB;
	border-left:none;
	border-right:none;
	border-top:none;
	color: #5089AB;
}

#mainContent a:hover {
	text-decoration: underline;
	border:none;
	color: #5089AB;
}
#mainContent a:visited {
	text-decoration: none;
	border: 1px dotted #416F89;
	border-left:none;
	border-right:none;
	border-top:none;
	color: #416F89;
}
#mainContent a:visited:hover {
	text-decoration: none;
	border:none;
	color: #416F89;
}

#stopka {
	margin-top:15px;
	padding: 0 10px 0 20px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	background:#111111;
	font-size:12px;
	color:#999999;
} 
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
	margin-top:175px;
}
#stopka p {
	margin: 0; /* zeroing the margins of the first element in the stopka will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
}

#zawart #nagl .fltrt a img {
	/*margin-right: 10px;*/
	border:#000000 1px solid;
	margin: 0px;
	padding: 0px;
	/*margin-right: 10px;*/
	/*padding-top:175px;*/
}
#zawart #nagl .fltrt a {
	margin: 0px;
	padding: 0 5px 0 0;
}

.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a zawart that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}
[if IE 5]>
<style type="text/css"> 
/* place css box model fixes for IE 5* in this conditional comment */
#sidebar1 { width: 220px; }
</style>
<![endif][if IE]>
<style type="text/css"> 
/* place css fixes for all versions of IE in this conditional comment */
#sidebar1 { padding-top: 30px; }
#mainContent { zoom: 1; }
/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
