html, body, #wrap {
	border:0;
	margin:0;
	padding:0;
	height: 100%;
	width: 100%;
}
 
body {
	display: table;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 100%;
	line-height: 1.25;
	background-image: url(img/body_tlo.jpg);
	background-repeat: repeat-x;
}

body>#wrap
{
	display:table-cell;
	vertical-align:middle;
}

/* dla badzIEwia */

* html #wrap
{
	position:absolute;
	height:auto;
	text-align:center;
	/* ultrapack by Elus */
	top:expression((x=(document.documentElement.offsetHeight-this.offsetHeight)/2)<0?0:x+'px');
}

* + html #wrap
{
	position:absolute;
	height:auto;
	text-align:center;
	/* ultrapack by Elus */
	top:expression((x=(document.documentElement.offsetHeight-this.offsetHeight)/2)<0?0:x+'px');
}
.clear {clear: both; } 
:focus {
	outline: 0;
}#content {
	width: 1024px;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
}
h3 {
	font-size: 14px;
	font-weight: bold;
	color: #53005D;
}
a {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-weight: bold;
	color: #53005D;
	text-decoration: none;
}


h5 {
	font-size: 12px;
	font-weight: bolder;
	color: #666;
	margin-top: 0px;
	margin-bottom: 1px;
}
h4 {
	font-size: 14px;
	font-family: Arial, Helvetica, sans-serif;
	font-style: italic;
	font-weight: bold;
	color: #B8B9BC;
}

hr {
	margin-top: 0px;
	padding-top: 0px;
	color: #666;
}

#left_col_top {
	float: left;
	width: 237px;
	background-image: url(img/round_top_l.png);
	background-repeat: no-repeat;
	height: 36px;
	clear: left;
}
#main_col_top {
	width: 787px;
	background-image: url(img/round_top_r.png);
	background-repeat: no-repeat;
	height: 36px;
	float: left;
}
#left_col_logo {
	background-image: url(img/logo.png);
	height: 182px;
	width: 237px;
	background-repeat: no-repeat;
	float: left;
}
#main_col_top_menu {
	float: left;
	height: 16px;
	width: 787px;
}
#top_menu {
	height: 16px;
	width: 787px;
	background-image: url(img/menu_top_bg.png);
	background-repeat: no-repeat;
}
#top_menu .top_menu_item {
	float: left;
	height: 16px;
	width: 129px;
	background-image: url(img/menu_top_tab.png);
}
#top_menu .top_menu_item a {
	font-size: 11px;
	text-decoration: none;
	font-weight: bold;
	color: #666;
	padding-left: 3px;
}
#top_menu .top_menu_item a:hover {
	color: #990099;
}
#top_menu .top_menu_item a:active {
	color: #990099;
}


#slogan_top {
	background-image: url(img/slogan_top.png);
	height: 166px;
	width: 787px;
	float: right;
}
#left_module {
	float: left;
	height: 100%;
	width: 237px;
	background-image: url(img/module_bg.png);
}
#module_item {
	margin-top: 115px;
	padding-right: 24px;
	padding-left: 24px;
	float: left;
	margin-bottom: 50px;
}
#module_item p {
	font-size: 12px;
	color: #666;
}


#main {
	float: left;
	height: 100%;
	width: 787px;
}
#menu {
	background-image: url(img/main_bg.png);
	height: 49px;
	width: 787px;
	z-index: 2;
}

#menu .menuitem {
	background-image: url(img/menu_tab.jpg);
	float: left;
	height: 49px;
	width: 142px;
	font-size: 9px;
}

#menu .menuitem_a {
	background-image: url(img/menu_tab_active.jpg);
	float: left;
	height: 49px;
	width: 142px;
	font-size: 9px;
}
#menu .menuitem a, #menu .menuitem_a a {
	font-size: 12px;
	text-decoration: none;
	color: #666666;
	font-weight: bold;
	position: relative;
	display: block;
	text-align: center;
	padding-top: 12px;
}

#menu .menuitem a:hover {
	color: #990099;
}


#textbox {
	background-image: url(img/main_bg.png);
	width: 787px;
	background-repeat: repeat-y;
	height: 100%;
}
#boxing {
	width: 708px;
	height: 100%;
}
#txt_frame {
	width: 707px;
	border-right-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #000;
	border-left-color: #000;
	height: 100%;
}
#txt {
	margin-right: 40px;
	margin-left: 50px;
	padding-top: 20px;
	height: 100%;
}
#txt p {
	font-size: 11.5px;
	color: #666;
	margin-bottom: 0;
	font-weight: normal;
	text-align: justify;
}
#txt img {
	margin-right: 20px;
	margin-bottom: 60px;
	position: relative;
}



#text_bottom {
	height: 23px;
	width: 710px;
	background-image: url(img/txt_bottom.gif);
	background-repeat: no-repeat;
}

#footer {
	height: 75px;
	width: 1004px;
	float: left;
	background-image: url(img/foot_bg.gif);
	background-repeat: repeat-x;
	margin-right: 10px;
	margin-left: 10px;
}
#copyright {
	font-size: 10px;
	color: #717171;
	text-align: center;
	display: block;
}

#bottom {
	height: 22px;
	width: 1004px;
	margin-right: 10px;
	margin-left: 10px;
	background-image: url(img/round_bottom.png);
	float: left;
}

