img, div { behavior: url(../js/iepngfix.htc); border: 0; }

body {
	background:#f6f6f6 url(images/main_background.jpg) repeat-x left top;
	font-family: "Trebuchet MS", "Lucida Grande", "Bitstream Vera Sans", Verdana, Helvetica, sans-serif;
	color: #000;
	font-size: 12px;
	margin: 0;
}
a:link,
a:visited {
	text-decoration: none;
}
a:active,
a:hover {
	text-decoration: none;	
}
#main {
	margin-left: auto;
	margin-right: auto;
	width: 935px;
}
#maintop {height: 136px;}
#logo {
	width: 297px; 
	height: 131px;
	float:left;
	padding: 7px 0 0 0;
}
#flagi {
	position: relative;
	top: 45px;
	text-align: right;
	padding: 0 0 0 0;
	margin: 0 0 0 0;
	/margin: 0 0 0 0;
}
#menu {
	margin: 0 0 0 338px;
	padding-top: 75px;
	/padding-top: 80px;
}
#wybuch {
	clear: both;
	position: absolute;
	z-index: 10;
	margin: -50px 0 0 59px;
}
#belka {
	background: url('images/belka.jpg') top left no-repeat;
	height: 113px;
	font-size: 11pt;
	color: #fff;
	text-align: right;
	padding: 20px 20px 0 0;
}
#belka a {color: #fff}
#leftblock {
	background: url('images/block_bg.jpg') top left repeat-y;
	margin-left: 32px;
	_margin-left: 16px;
	width: 250px;
	_margin-top: -5px;
	float: left;
}
#leftblock a {
	color: #0e2c87;
	text-decoration: none;
}
#leftblocktitle {
	background: url('images/block_top_bg.jpg') top left no-repeat;
	padding-left: 20px;
	height: 54px;
}

#leftblock h1 {
	margin: 0px;
	background: url('images/blockleft_arrow.jpg') top left no-repeat;
	padding-left: 40px;
	margin-top: 30px;
	font-size: 14pt;
	color: #0e2c87;
	font-weight: normal;
}
#leftblock h1:first-line {
	font-size: 16pt;
	font-weight: bold;
}
#leftblock p {
	padding-left: 40px;
	margin: 15px 0 0 0;
	text-align: justify;
}
#leftblock #p1, #p2, #p3 {display: none;}

#leftblock #dyplomy {text-align:center;}
#leftblock #dyplomy img {vertical-align: middle; margin: 0 4px 8px 4px;}


#centerblock {
	width: 610px;
	margin-left: 309px;
	background: url('images/block_bg.jpg') top left repeat-y;
}
#centerblock #tresc {
	padding-left: 40px;
	margin: 15px 0 0 0;
	text-align: justify;
	font-size: 9pt;
	line-height: 20px;
}
#centerblock a {
	color: #015baa;
	text-decoration: none;
}
#centerblock p img {
	padding: 0 0 15px 15px;
}

#footer {
	margin-top: 20px;
	background-image: url('images/background_footer.jpg');
	background-position: top;
	background-repeat: repeat-x;
	background-color: #283783;
}
#footerarea {
	margin-left: auto;
	margin-right: auto;
	width: 935px;
	padding: 13px 0 15px 0;
}
#footerarea #news {
	background: #2f4176;
	width: 270px;
	margin-left: 37px;
	_margin-left: 18px;
	padding-bottom: 10px;
	float: left;
	min-height: 225px;
	_height: 225px;
}
#footerarea #news h1 {
	background: url('images/footer_aktualnosci_top.jpg') top left no-repeat;
	margin: 0;
	font-size: 13px;
	font-weight: bold;
	color: #2f4176;
	padding: 5px 20px 10px 20px;
}
#footerarea #news h5 {
	font-size: 11px;
	font-weight: bold;
	color: #ebf3f7;
	text-transform: uppercase;
	padding: 0 15px 0 15px;
	margin: 10px 0 5px 0;
	line-height: 13px;
}
#footerarea #news p {
	font-size: 11px;
	color: #ebf3f7;
	padding: 0 15px 0 15px;
	margin: 0;
	line-height: 13px;
}
#footerarea #news p a.more {
	color: #eed9a1;
}


#footerarea #realizacje {
	background: #2f4176;
	width: 613px;
	margin-left: 315px;
	padding-bottom: 10px;
	min-height: 225px;
	_height: 225px;
}
#footerarea #realizacje h1 {
	background: url('images/footer_realizacje_top.jpg') top left no-repeat;
	margin: 0;
	font-size: 13px;
	font-weight: bold;
	color: #e0e6e9;
	padding: 5px 20px 7px 20px;
}
#footerarea #realizacje #r1 {
	width: 305px;
	border-right: 1px dashed #487C98;
	float: left;
	margin-top: 7px;
}
#footerarea #realizacje #r2 {
	width: 300px;
	margin-left: 309px;
	margin-top: 7px;
}
#footerarea #realizacje h5 {
	font-size: 11px;
	font-weight: bold;
	color: #eed9a1;
	padding: 0 15px 0 15px;
	margin: 10px 0 5px 0;
	line-height: 13px;
}
#footerarea #realizacje p {
	font-size: 11px;
	color: #ebf3f7;
	padding: 0 15px 0 15px;
	margin: 0;
	line-height: 13px;
}
#footerarea #realizacje p a.more {
	color: #eed9a1;
}

#footerbottom{
	margin: 10px 7px 0 37px;
	padding-top: 7px;
	border-top: 1px dashed #487C98;
	color: #fff;
}
#footerbottom a {
	font-weight: bold;
	color: #eed9a1;
	
}

.floatleft {float:left;}
.floatright {float:right;}
.clearboth {clear:both;}
.center {text-align:center;}
.right {text-align:right;}







/* HORIZONTAL FREESTYLE MENU LAYOUT */
/* All <ul> tags in the menu including the first level */
.menulist, .menulist  ul {
 margin: 0;
 padding: 0 0 0 0;
 list-style: none;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.menulist ul {
 display: none;
 position: absolute;
 top: 1.0em; margin-top: 24px; /* I'm using ems and px to allow people to zoom their font */
 left: -1px;
 width: 158px;
}

/* Second and third etc. level submenus - position across from parent instead */
.menulist ul ul {
 top: -1px; margin-top: 0;
 left: 158px;
}

/*
 All menu items (<li> tags). 'float: left' lines them up horizontally, and they are
 positioned relatively to correctly offset submenus. Also, they have overlapping borders.
*/
.menulist li {
 float: left;
 background: url('images/menu_bg.jpg') top repeat-x;
 display: block;
 position: relative;
 margin-right: -1px;
 height: 31px;
 padding: 9px 0 0 0;
 text-transform: uppercase;
}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulist ul li {
 float: none;
 background: url('images/menu2_-bg.gif');
 border-top: dotted 1px #718690;
 padding: 0;
 margin: 0;
 height: auto;
 margin-bottom: -1px;
 text-transform: lowercase;
}
.menulist ul li.bottom {
 float: none;
 background: url('images/menu2_bottom.gif') no-repeat;
 border-top: dotted 1px #718690;
 padding: 0;
 margin: 0;
 height: auto;
 margin-bottom: -1px;
}
.menulist ul>li:last-child {
 margin-bottom: 1px; /* Mozilla fix */
}

/* Links inside the menu */
.menulist a {
 display: block;
 padding: 3px 30px 3px 30px;
 color: #fff;
 text-decoration: none;
}

/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.menulist a:hover, .menulist a.highlighted:hover, .menulist a:focus {
 color: #FFF;
 background-color: #2c3a74;
 background-image: url('images/menu_li_arrow.gif');
 background-position: left;
 background-repeat: no-repeat;
}
.menulist a.highlighted {
 color: #FFF;
 background-color: #2c3a74;
}
.menulist a:link, a:visited {color: #fff;}
/*
 If you want per-item background images in your menu items, here's how to do it.
 1) Assign a unique ID tag to each link in your menu, like so: <a id="xyz" href="#">
 2) Copy and paste these next lines for each link you want to have an image:
    .menulist a#xyz {
      background-image: url(out.gif);
    }
    .menulist a#xyz:hover, .menulist a.highlighted#xyz, .menulist a:focus {
     background-image: url(over.gif);
    }
*/

/* Only style submenu indicators within submenus. */
.menulist a .subind {
 display: none;
}
.menulist ul a .subind {
 display: block;
 float: right;
}


/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.menulist a {
 float: left;
}
.menulist ul a {
 float: none;
}
/* \*/
.menulist a {
 float: none;
}
/* */


/*
 HACKS: IE/Win:
 A small height on <li> and <a> tags and floating prevents gaps in menu.
 * html affects <=IE6 and *:first-child+html affects IE7.
 You may want to move these to browser-specific style sheets.
*/
*:first-child+html .menulist ul li {
 float: left;
 width: 100%;
}

* html .menulist ul li {
 float: left;
 height: 1%;
}
* html .menulist ul a {
 height: 1%;
}
/* End Hacks */

