html {
	margin: 0; padding: 0;
	color: #666;
	font-family: Arial, Verdana, Tahoma, Helvetica, sans-serif;
	font-size: 8pt;
	background: url('bg.gif') #C6322C;
}
body {
	margin: 0; padding: 0;
	background: url('top_bg.gif') top repeat-x;
	height: 100%;
}
a {
	text-decoration: none;
	color: #C6322C;
}
a:hover {
	text-decoration: underline;
	color: #8E1F1C;
}
img {
	border: 0;
}
h1, p, form, #menu, #sidebar ul, #sidebar-itiw ul, .itiw-list, .itiw-list ul, .itiw-druki {
	margin: 0; padding: 0; list-style: none;
}

.clear {
	clear: both; width: 100%; display: block;
	height: 1px; font-size: 1px;
}
h1 span, #menu li a span, .link-more span, .link-pobierz span, .link-fedd span, .link-print span,
#top-panel-home span, #top-panel-map span, #top-panel-contact span, 
#home-kontakt-mail span, #top-kontakt-mail span, .itiw-login span, .poll-wyniki span {
	position: absolute;
	top: -10000px;
}
/* -- LAYOUT -- */
#site {
	position: relative; width: 980px;
	margin: 0 auto;
	padding: 20px 0 110px 0;
}
#bghack {
	position: absolute; z-index: 1;
	left: -373px; bottom: 0px;
	height: 764px; width: 1010px;
	background: url('foot_bg.png') no-repeat bottom;_background: none;
}
#top {
	position: relative; z-index: 5;
	height: 100px;
	background: url('body_bg_top.gif') no-repeat top #FFF;
}
h1 {
	position: absolute;
	top: 26px; left: 30px;
	width: 265px; height: 51px;
	background: url('logo.gif') no-repeat;
}
h1 a {
	display: block; height: 51px;
}
#menu {
	position: absolute;
	top: 0; right: 30px;
	height: 70px; width: 470px;
}
#menu li {
	 float: left; height: 70px;
}
#menu li a {
	display: block; height: 70px;
	position: relative; z-index: 2;
}
#menu li a:hover {
	margin: 0 -1px 0 0; z-index: 5;
}
#menu-1 a {background: url('menu_1.gif') no-repeat;width: 104px;}
#menu-1 a:hover {background: url('menu_1_h.gif') no-repeat;width: 105px;}
#menu-2 a {background: url('menu_2.gif') no-repeat;width: 84px;}
#menu-2 a:hover {background: url('menu_2_h.gif') no-repeat;width: 85px;}
#menu-3 a {background: url('menu_3.gif') no-repeat;width: 74px;}
#menu-3 a:hover {background: url('menu_3_h.gif') no-repeat;width: 75px;}
#menu-4 a {background: url('menu_4.gif') no-repeat;width: 127px;}
#menu-4 a:hover {background: url('menu_4_h.gif') no-repeat;width: 128px;}
#menu-5 a {background: url('menu_5.gif') no-repeat;width: 81px;}
#menu-5 a:hover {background: url('menu_5_h.gif') no-repeat; margin: 0 !important;}

#body {
	position: relative; z-index: 3;
	height: auto;_height: 100%;
	min-height: 510px;
	padding: 0 30px 30px 30px;
	background: url('body_bg_bottom.gif') no-repeat bottom #FFF;
}
#top-panel {
	position: absolute; z-index: 10;
	top: 20px; right: 0;
	width: 320px;
}
#top-search, #top-search-submit {
	float: left; overflow: hidden;
}
#top-search input {
	float: left; height: 20px; width: 130px;
	background: url('input_bg.gif') no-repeat;
	border: none; padding: 4px 5px 0 5px; margin: 0;
	color: #666;
}
#top-search-submit input {
	float: left; display: block;
	height: 23px; width: 23px;
	padding-top: 25px; border: none;
	background: url('search_submit.gif') no-repeat;
	max-height: 50px; font-size: 0;
}
#top-panel-home, #top-panel-map, #top-panel-contact {
	display: block; float: left;
	height: 23px; width: 23px;
	margin: 0 0 0 12px;
}
#top-panel-home {
	background: url('icon_home.gif') no-repeat;
}
#top-panel-map {
	background: url('icon_map.gif') no-repeat;
}
#top-panel-contact {
	background: url('icon_contact.gif') no-repeat;
}
#top-images {
	height: 275px; width: 600px;
	position: absolute; z-index: 10;
}
.top-image {
	position: absolute; top: 0; left: 0;
	z-index: 10; height: 275px; width: 600px;
	background: url('top/1.jpg') no-repeat;
}
#top-kontakt {
	position: absolute;
	top: 60px; right: 30px;
	height: 170px; width: 320px;
	background: url('kontakt.gif') no-repeat;
}
#top-kontakt1 {
	position: absolute;
	top: 53px; left: 0px;
	width: 150px;
	text-align: right;
}
#top-kontakt2 {
	position: absolute;
	top: 53px; right: 0px;
	width: 150px;
}
#container, #container-itiw {
	overflow: hidden; position: relative; height: 100%;
	border-bottom: solid 1px #E5E5E5;
	padding: 295px 0 30px 0;
}
#content {
	float: right; width: 680px;
}
#sidebar {
	float: left; width: 220px;
	margin: 25px 0 0 0;
	padding: 20px 20px 70px 0;
	border-top: solid 1px #E5E5E5;
}
#sidebar-up {
	display: block;
	position: absolute;
	bottom: 0; left: 0;
	padding: 8px 0 8px 2px;
	width: 218px;
	border-top: solid 1px #E5E5E5;
	background: url('point_up.gif') no-repeat 205px 13px;
}
#sidebar a {
	color: #666;
}
#sidebar a:hover {
	color: #C6322C;
	text-decoration: none;
}
#sidebar ul li {
	padding: 0 !important; margin: 0 !important;
	background: none !important;
}
#sidebar ul li a {
	display: block;
	padding:8px 23px 8px 2px;
	height: 100%;
	border-bottom: solid 1px #E5E5E5;
	background: url('point_sb.gif') no-repeat 205px 13px;
}
.sitebar-active {
	color: #C6322C !important;
	font-weight: bold;
	background: url('point_sb_active.gif') no-repeat 205px 13px !important;
}
#foot {
	position: relative; z-index: 3;
	height: 100px;
	margin: 0 30px -100px 30px;
	color: #FFF;
}
#foot-copy {
	float: left; padding: 31px 0 0 0;
}
#foot-trigo {
	float: right; height: 35px;
	padding: 25px 0 0 0;
}
#foot-trigo img {
	margin: 0 0 -12px 5px;
}
/* -- CONTENT -- */
h2 {
	margin: 0 0 1em 0; padding: 0;
	color: #C6322C;
	height: auto;_height: 25px;
	min-height: 25px;
	font-weight: normal; font-size: 12pt;
	border-bottom: solid 1px #E5E5E5;
}
.title-small {
	font-size: 8pt;
}
h3 {
	margin: 0; padding: 0 0 0.5em 0;
	color: #C6322C;
	font-weight: bold; font-size: 10pt;
}
h4 {
	margin: 0; padding: 0;
	color: #C6322C;
	font-weight: bold; font-size: 8pt;
}
#body p {
	padding: 0;
	margin: 0 0 1em 0;
	line-height: 1.5em;
	text-align: justify;
}
#content ul {
	margin: 0; padding: 0;
	list-style: none;
}
#content ul li {
	padding: 0 0 0 25px; margin: 0 0 0.5em 0;
	line-height: 1.5em;
	background: url('point_ul.gif') no-repeat 10px 6px;
}
#body table {
	width: 99%;
	border-collapse: collapse;
	margin: 0 0 1em 0;
}
#body table td {
	border: solid 1px #E5E5E5;
	padding: 4px 6px;
}
hr {
	border: none;
	border-top: solid 1px #BC2924;
	color: #FFF;
}

.link-more {
	display: block;
	height: 23px; width: 84px;
	margin: 10px 0 10px 0;
	background: url('link_more.gif') no-repeat;
}
.link-pobierz {
	display: block;
	height: 20px; width: 59px;
	background: url('link_pobierz.gif') no-repeat;
}
.link-fedd {
	display: block; float: right;
	height: 18px; width: 18px;
	margin: 0 10px -3px 10px;
	background: url('icon_feed.gif') no-repeat;
}
.link-print {
	display: block; float: right;
	height: 22px; width: 112px;
	margin: -3px 10px 0 20px;
	background: url('icon_print.gif') no-repeat;
	position: relative;
}
.itiw-login {
	display: block;
	height: 60px; width: 550px;
	margin: 0 0 15px 0;
	background: url('logowanie.gif') no-repeat;
}
.poll-wyniki {
	display: block; float: left;
	height: 23px; width: 57px;
	margin: 0 0 0 10px;
	background: url('bt_wyniki.gif') no-repeat;
}

#home-content {
	background: url('home_bg.gif') no-repeat 0 60px;
	height: 445px;
	position: relative;
}
#home-kontakt {
	position: absolute;
	top: 308px; left: 168px;
	width: 150px;
	text-align: right;
}
#home-kontakt2 {
	position: absolute;
	top: 308px; left: 375px;
	width: 150px;
}
#home-wstep {
	position: absolute;
	top: 90px; right: 0;
	width: 290px;
}
#home-wstep p {
	margin-right: 20px;
}
#home-sonda {
	float: left; width: 300px;
	margin: 0 20px 0 0;_margin: 0 20px 0 0;
}
#home-sonda label {
	display: block; padding: 5px 0;
	border-bottom: dashed 1px #E5E5E5;
}
#home-sonda label span {
	padding: 0 0 0 7px;
}
#home-sonda .poll-submit {
	padding: 10px 0 0 0;
}
#home-sonda .poll-submit input {
	display: block; float: left;
	height: 23px !important; width: 55px;
	border: none;
	background: url('submit_vote.gif') no-repeat;
	max-height: 50px; font-size: 0;
	padding: 25px 0 0 0;
}
#home-news {
	float: left; width: 600px;
}
#home-news-more {
	float: right;
}
.news-item {
	border-bottom: solid 1px #E5E5E5;
	padding: 0; margin: 0 0 10px 0;
	overflow: hidden; height: 100%;
}
.news-item h3 {
	padding: 0;
}
#home-news .news-item {
	float:left; width: 280px;
	margin: 0 20px 0 0;_margin: 0 10px 0 0;
	padding: 0; border: none;
}
.news-item-date {
	display: block; margin: 0 !important;
	padding: 3px 0 0.3em 0 !important;
	color: #CCC;
}
#home-news .news-item-date {
	padding: 3px 0 1em 0;
}

.bar {
	width: 500px; height: 14px;
	padding: 1px; border: solid 1px #BC2924;
}
.bar div {
	background: url('bar_bg.gif') repeat-x left;
	height: 14px;
}
.bar_container {
	clear: both; overflow: hidden; height: 100%;
	padding: 10px 0 0 0;
}
.bar_container h4 {
	padding: 0 0 5px 0;
	color: #666;
}
.bar_container .bar {
	float: left;
}
.bar_votes {
	float: left; padding: 5px 0 0 15px;
	font-weight: bold;
}
#home-sonda h4 {
	color: #666;
	padding: 4px 0 2px 0
}
#home-sonda p {
	margin: 0 0 0.5em 0
}
#home-sonda .bar {
	width: 230px; height: 10px;
}
#home-sonda .bar div {
	height: 10px;
}
/* strefa wspolnot */
.itiw-title {
	color: #666;
}
#content-itiw {
	float: right; width: 550px;
}
#sidebar-itiw {
	float: left; width: 320px;
	padding: 20px 0 20px 20px;
	margin: 0 0 50px 0;
	background: #FAFAFA;
	border: 1px solid #F5F5F5;
	position: relative;
}
.itiw-block {
	background: #FAFAFA;
	border: 1px solid #F5F5F5;
	position: relative;
	padding: 20px 0 20px 20px;
	margin: 0 0 20px 0;
	float: left; height: 100%; width: 520px; /* dla IE */
}
.itiw-block-tl, .itiw-block-tr, .itiw-block-bl, .itiw-block-br {
	position: absolute;
	height: 6px; width: 6px;
}
.itiw-block-tl {
	left: -1px; top: -1px;
	background: url('sb_corn_tl.gif') no-repeat;
}
.itiw-block-tr {
	right: -1px; top: -1px;
	background: url('sb_corn_tr.gif') no-repeat;
}
.itiw-block-bl {
	left: -1px; bottom: -1px;_bottom: -9px;
	background: url('sb_corn_bl.gif') no-repeat;
}
.itiw-block-br {
	right: -1px; bottom: -1px;_bottom: -9px;
	background: url('sb_corn_br.gif') no-repeat;
}

#sidebar-itiw .list_a, #sidebar-itiw .list_b {
	padding: 0; margin: 0;
	height: 20px; width: 300px;
	background: url('itiw_sb_list_a.gif') no-repeat !important;
}
#sidebar-itiw .list_b {
	background: url('itiw_sb_list_b.gif') no-repeat top right !important;
}
#sidebar-itiw .list_a a, #sidebar-itiw .list_b a {
	display: block; height: 16px;
	padding: 4px 0 0 15px;
	text-decoration: none; font-weight: bold;
}
#sidebar-itiw .list_a a span, #sidebar-itiw .list_b a span {
	display: block; float: left; width: 100px; 
	color: #666; font-weight: normal;
}
.list_active {
	background: url('itiw_sb_list_active.gif') no-repeat !important;
	color: #FFF;
}
.list_active span {
	color: #FECBCB !important;
}
.itiw-item-title span {
	color: #666; font-size: 11pt;
}
.itiw-photos a:hover {
	text-decoration: none;
}
.itiw-photos img {
	padding: 1px; margin: 0 0 5px 0;
	border: solid 1px #E5E5E5;
}
.itiw-content p {
	margin: 0 !important;
}
.itiw-admin-image-container {
	overflow: hidden; height: 100%;
	padding: 0 0 1em 0;
}
.itiw-admin-image-container p {
	margin: 0 !important;
}
.itiw-admin-image {
	float: right; padding: 1px 1px 0 1px;
	margin: 0 0 0 10px;
	border: solid 1px #E5E5E5;
}
.itiw-list li {
	height: 17px;
	background: url('itiw_list_b.gif') no-repeat;
	padding: 3px 10px 0 10px; margin: 0 0 10px 0;
}
.itiw-list .list_a, .itiw-list .list_b {
	height: 20px;
	background: url('itiw_list_a.gif') no-repeat;
	padding: 0 10px 0 10px; margin: 0 0 10px 0;
}
.itiw-list .list_b {
	background: url('itiw_list_b.gif') no-repeat;
}
.itiw-list span {
	padding: 3px 0 0 0;
}
.itiw-list li strong {
	display: block; float: right;
	color: #C6322C;
}
.itiw-druki li {
	padding:  0 0 0 10px !important;
}
.itiw-druki span {
	display: block; float: left;
	width: 110px; padding: 3px 0 0 0;
}
.itiw-druki strong {
	display: block; float: left !important;
	width: 300px; padding: 3px 0 0 0;
	color: #C6322C;
}
.itiw-druki .link-pobierz {
	float: right;
}
.itiw-news {
	overflow: hidden; height: 100%;
	margin: 0 0 20px 0;
}
.itiw-news-item {
	width: 250px; float: left;
	margin: 0 20px 0 0;
}
/* elementy stałe */
.pager {
	clear: both;
	list-style: none;
	margin: 10px auto 0 auto !important;
	padding: 0; width: 170px !important;
	text-align: center;
}
.pager li {
	margin: 0 !important; padding: 0 !important;
	display: block; float: left !important;
	background: #C6322C !important; color: #FFF;
}
.pager li a, .pager li span {
	display: block; float: left;
	border: none; padding: 4px 5px;
	background: #C6322C; color: #FFF;
}
.pager li a:hover {
	border: none;
	background: #FFF; color: #C6322C;
	text-decoration: none;
}

.errors, .passed, .warning {
	border: solid 1px #f43636;
	background: url('admin/icons/dialog-error.gif') no-repeat 10px 5px #feebeb !important;
	list-style-type: square !important;
	padding: 7px 5px 7px 80px !important;
	margin: 0 30px 15px 30px !important;
	min-height: 45px; height: auto;_height: 45px;
	color: #000;
}
.errors li, .passed li {
	margin: 0 !important; padding: 3px 0 !important;
	background: none !important;
}
.passed {
	border: solid 1px #178e17;
	background: url('admin/icons/dialog-ok.gif') no-repeat 10px 5px #c2f6c2 !important;
}
.map-container {
	border: solid 1px #CCC;
	padding: 1px;
	margin: 0 0 1em 0;
}
/* formularze */
#container input, 
#container textarea, 
#container select {
	padding: 4px 8px;
	border: solid 1px #e5e5e5;
	background: #fafafa;
	color: #444;_color: #000;
	font-size: 10pt;
	font-family: Tahoma, Arial, Verdana, Helvetica, sans-serif;
}
#container input:hover, 
#container textarea:hover, 
#container select:hover {
	background: #FFF;
}
#container input:focus, 
#container textarea:focus, 
#container select:focus {
	border: solid 1px #C6322C;
	background: #FFF; color: #000;
}
.input, .textarea, .checkbox, .select {
	padding: 8px 10px; clear: both;
	border-bottom: solid 1px #e5e5e5;
	overflow: hidden;_overflow: visible;
	height: auto;_height: 10px;
}
.input label, .textarea label, .checkbox label, .select label {
	width: 180px;
	display: block; float: left;
	padding: 8px 0 5px 0;
}
.textarea label {
	width: 500px;
	float: none;
}
.input input, .input textarea, .select select {
	width: 450px;
	float: right;
}
.input textarea {
	height: 70px;
}
.select select {
	width: 468px;
	height: 25px;
}
.textarea textarea {
	width: 640px;
	height: 150px;
	clear: both;
	margin: 3px 0 0 0;
}
.checkbox input {
	padding: 3px;
}

.submit {
	padding: 5px 10px;
	clear: both;
	overflow: hidden;_overflow: visible;
	height: auto;_height: 10px;
}
.input .submit {
	padding: 5px 0px 0px;
}
.submit input {
	min-width: 80px !important;_width: 80px;
	width: auto;
	float: right;
	border: solid 1px #e5e5e5;
	padding: 3px 8px !important; margin: 0 0 0 10px;
	background: #fafafa;
	color: #000; font-size: 10pt;
}
.submit input:focus {
	border: solid 1px #C6322C;
	background: #FFF;
}
.submit input:hover {
	border: solid 1px #C6322C !important;
}

/* LIGHTBOX */
#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(lightbox/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(lightbox/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; }

