html, body{
	margin:0;
	padding:0;
	text-align:center;
	background-color: #D4E6F7;
} 
 
#pagewidth{
	width:960px;
	text-align:left;
	margin-left:auto;
	margin-right:auto;
	border: thin solid #FF0000;
	background-color: White;
} 
 
#header{
	position:relative;
	height:200px;
	width:100%;
	padding: 0;
	margin-bottom: 5px;
	background-color:white;
} 
 
#leftcol{
	width:180px;
	float:left;
	position:relative;
	font-size: 12px;
	margin: 0;
	padding: 0;
  }
 
#twocols{
	width:780px;
	float:right;
	position:relative;
	text-align: center;
	padding: 0;
	margin: 0;
	font-family: Geneva, Arial, Helvetica, sans-serif;
  }
 
#rightcol{
	width:130px;
	float:right;
	position:relative;
	text-align: center;
	margin: 0;
	padding: 0;
	font-size: 12px;
 }
 
#maincol{
	float: left;
	display:inline;
	position: relative;
	width:600px;
	padding: 0;
	margin: 0;
	background-color: #FFFFFF;
}
 
#footer{
	height:50px;
	clear:both;
	border-top-color: #FF0000;
	border-top-style: solid;
	border-top-width: thin;
	margin-top: 5px;
	padding-bottom: 10px;
	font-size: 12px;
	color: #666666;
	text-align: center;

 } 
 

 
 /* *** Float containers fix:
 http://www.csscreator.com/attributes/containedfloat.php *** */ 
#twocols:after, #wrapper:after {
 content: "."; 
 display: block; 
height: 0; 
 clear: both; 
 visibility: hidden;
 }
 
#twocols, #wrapper{display: inline-table;}

/* Hides from IE-mac \*/
* html #twocols, * html #wrapper{
	height: 1%;
}
#twocols, #wrapper{display: block;}
/* End hide from IE-mac */  


 
 /*printer styles*/ 
 @media print{ 
/*hide the left column when printing*/ 
#leftcol{display:none;} 

/*hide the right column when printing*/ 
#rightcol{display:none;} 
#twocols, #maincol{width:100%; float:none;}
}

div#maincol p {
	padding: 5px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}


h3 {
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	padding-left: 5px;
}


h2 {
	background-color: #FFFF99;
	font-size: 16px;
	text-align: center;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

/* menu*/

 #navlist
{
color: white;
padding: 0 1px;
margin-left: 10px;
width: 14em;
font: normal 0.8em Verdana, sans-serif;
}

#navlist li
{
list-style: none;
margin: 0;
font-size: 1em;
}

#navlist a
{
display: block;
text-decoration: none;
margin-bottom: 0.5em;
margin-top: 0.5em;
color: white;
border-width: 1px;
border-style: solid;
border-color: #003366;
border-left: 1em solid #ECE9D8;
padding: 0.25em 0.5em 0.4em 0.75em;
}

#navlist a#current { border-color: #5bd #035 #068 #f30; }

#navlist a
{
width: 99%;
/* only necessary for Internet Explorer */
}

#navlist a
{
voice-family: "\"}\"";
voice-family: inherit;
width: 9.6em;
/* Tantek-hack should only used if Internet-Explorer 6 is in standards-compliant mode */
}

#navcontainer>#navlist a
{
	width: auto;
	background: #036;
/* only necessary if you use the hacks above for the Internet Explorer */
}

#navlist a:hover, #navlist a#current:hover
{
border-color: #069 red #5bd red;
padding: 0.4em 0.35em 0.25em 0.9em;
}

#navlist a:active, #navlist a#current:active
{
background: #17a;
border-color: #069 #6cf #5bd white;
padding: 0.4em 0.35em 0.25em 0.9em;
}

/* gurna pozioma lista */
 #top_menu ul
{
text-align: center;
padding-bottom: 5px;
padding-top: 5px;
padding-left: 0;
margin-top: 0;
/* cancels gap caused by top padding in Opera 7.54 */
margin-left: 0;
background-color: #036;
color: white;
width: 100%;
font-family: Verdana, Arial, Helvetica, sans-serif;
line-height: 18px;
/* fixes Firefox 0.9.3 */
}

#top_menu ul li
{
display: inline;
padding-left: 0;
padding-right: 0;
padding-bottom: 5px;
/* matches link padding except for left and right */
padding-top: 5px;
}

#top_menu ul li a
{
padding-left: 10px;
padding-right: 10px;
padding-bottom: 5px;
padding-top: 5px;
color: white;
text-decoration: none;
border-right: 1px solid #fff;
}

#top_menu ul li a:hover
{
background-color: #369;
color: white;
}

#top_menu #active { border-left: 1px solid black; }
div#lewa {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	padding-top: 20px;
}
div#lewa a {
	text-decoration: none;
	background-color: #FFFFCC;
	color: #000000;
	font-family: Geneva, Arial, Helvetica, sans-serif;
}
div#lewa img {
	border: 0px;
}
div#lewa a:hover {
	background-color: #FFFF00;
}

/* dolne menu */
 #navlist1
{
margin: 0;
padding: 0 0 20px 10px;
border-bottom: 1px solid #000;
}

#navlist1 ul, #navlist1 li
{
margin: 0;
padding: 0;
display: inline;
list-style-type: none;
}

#navlist1 a:link, #navlist1 a:visited
{
float: left;
line-height: 14px;
font-weight: bold;
margin: 0 10px 4px 10px;
text-decoration: none;
color: #999;
}

#navlist1 a:link#current, #navlist1 a:visited#current, #navlist1 a:hover
{
border-bottom: 4px solid #000;
padding-bottom: 2px;
background: transparent;
color: #000;
}

#navlist1 a:hover { color: #FF0000; }
h1 {
	background-color: white;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 24px;
	text-align: center;
	font-variant: small-caps;
}
div #maincol p {
	font-size: 12px;
	text-align: justify;
}
table {
	text-align: left;
	padding: 5px;
}
dl {
	padding-right: 5px;
}
li, dl {
	font-size: 12px;
	text-align: left;
}
div#leftcol h1, h2 {
	margin-right: 10px;
	margin-left: 10px;
	font-variant: small-caps;
	background-color: #ECE9D8;
}
img {
	border-width: 0px;
}
