html {
	margin: 0; padding: 0;
	font-family: Arial, Verdana, Tahoma, Helvetica, sans-serif;
	font-size: 9pt;
	background: url('img/foot_bg_right.gif') bottom right no-repeat #fff; color: #485056;
}
body {
	margin: 0 auto; padding: 0;
	position: relative;
	behavior: url("http://www.maciejorzechowski.pl/wp-content/themes/maciejorzechowski_pl/csshover3.htc"); 
}
h1, #menu, #menu li {
	margin: 0; padding: 0;
	list-style: none;
}

h1 span, #menu li span, .link-subskrybuj span, #po-logo span {
	position: absolute;
	top: -10000px;
}
.clear {
	clear: both; display: block;
	width: 100%; height: 1px;
	font-size: 1px;
}

/*--LAYOUT--*/
#site {
	width: 990px;
	margin: 0 auto;
	background: url('img/top_right.gif') no-repeat right 0;
	background: url('img/top_right.gif') no-repeat right 0;
}
#border-1 {
	position: absolute; top: 0; right: 0;
	height: 450px; width: 50%; z-index: -1;
	background: url('img/top_right_bg2.gif') no-repeat 500px bottom;
}
#border-2 {
	position: absolute; top: 0; right: 0;
	height: 119px; width: 50%; z-index: -1;
	background: url('img/top_right_bg.gif') no-repeat 70px top;
}
#border-3 {
	position: absolute; bottom: 0; left: 0;
	#height: 119px; width: 50%; z-index: -1;
	height: 159px; width: 50%; z-index: -1;
	background: url('img/foot_bg_left.gif') no-repeat top right;
}
#border-4 {
	position: absolute; top: 0; left: 0;
	#height: 119px; width: 50%; z-index: -1;
	height: 159px; width: 50%; z-index: -1;
	background: url('img/top_left_bg.gif') no-repeat top right;
}
#top {
	height: 135px;
	position: relative;
}
#top-logo {
	height: 79px; width: 100%;
	border-bottom: solid 1px #CBD1D7;
}

#samorzad-banner {
	position: absolute; top: 25px; left: 530px;
	height: 44px;
	display: block;
}
#samorzad-banner img {
	padding-right: 15px;
}
#po-logo {
	position: absolute; top: 0px; right: 10px;
	height: 60px; width: 170px;
}
#top-flash {
	padding: 0 0 0 0;
}

h1 {
	position: absolute; top: 20px; left: 0;
	width: 418px; height: 51px;
	background: url('img/logo.gif') no-repeat;
}
h1 a {display: block; height: 51px;}

#menu {
	position: absolute; top: 95px; left: 0;
	height: 30px;
}
#menu li {
	height: 30px; float: left;
	background-repeat: none;
	position: relative;
}
#menu li a {
	display: block; float: left;
	height: 30px;
	background-repeat: none;
}

#menu-1 {background-image: url('img/menu/menu_1_h.gif');}
#menu-1 a {background-image: url('img/menu/menu_1.gif'); width: 50px;}
#menu-1 .active {background-image: url('img/menu/menu_1_a.gif');}
#menu-2 {background-image: url('img/menu/menu_2_h.gif');}
#menu-2 a {background-image: url('img/menu/menu_2.gif'); width: 69px;}
#menu-2 .active {background-image: url('img/menu/menu_2_a.gif');}
#menu-3 {background-image: url('img/menu/menu_3_h.gif');}
#menu-3 a {background-image: url('img/menu/menu_3.gif'); width: 60px;}
#menu-3 .active {background-image: url('img/menu/menu_3_a.gif');}
#menu-4 {background-image: url('img/menu/menu_4_h.gif');}
#menu-4 a {background-image: url('img/menu/menu_4.gif'); width: 60px;}
#menu-4 .active {background-image: url('img/menu/menu_4_a.gif');}
#menu-5 {background-image: url('img/menu/menu_5_h.gif');}
#menu-5 a {background-image: url('img/menu/menu_5.gif'); width: 66px;}
#menu-5 .active {background-image: url('img/menu/menu_5_a.gif');}
#menu-6 {background-image: url('img/menu/menu_6_h.gif');}
#menu-6 a {background-image: url('img/menu/menu_6.gif'); width: 63px;}
#menu-6 .active {background-image: url('img/menu/menu_6_a.gif');}
#menu-7 {background-image: url('img/menu/menu_7_h.gif');}
#menu-7 a {background-image: url('img/menu/menu_7.gif'); width: 82px;}
#menu-7 .active {background-image: url('img/menu/menu_7_a.gif');}
#menu li:hover a {background: none;}
#menu li:hover ul {display: block;}

object {
	z-index:0;
}

#menu ul {
	position: absolute; top: 30px; left: 1px;
	height: auto; width: 150px;
	border: solid 1px #C1C9D1;
	border-top: none;
	display: none;
	z-index: 100
}
#menu li li {
	float: none; display: block;
	height: auto; width: 100%;
	border-top: solid 1px #C1C9D1;
	background: #fff !important;
}
#menu li li a {
	float: none; height: auto; width: 140px;
	padding: 6px 0 6px 10px;
}
#menu li li a:hover {
	background: #ccc;
}

#search {
	position: absolute; top: 95px; right: 0;
	height: 40px;
}
#search form {
	float: left;
}
#search #f_search {
	float: left; width: 130px; height: 20px;
	padding: 8px 5px 10px 5px;
	background: url('img/search_bg.gif') no-repeat;
	border: none;
}
#search-submit {
	float: left; display: block;
	height: 30px; width: 50px;
	padding-top: 40px; border: none;
	background: url('img/search_submit.gif') no-repeat;
	max-height: 50px; font-size: 0;
}
#search-links {
	float: left;
	margin: 0 0 0 10px;
}
#search-links img {
	float: left;
}
#search-links-kontrast {
	margin: 0 0 0 10px;
}

#top-langs {
	float: left; margin: 0 0 0 10px;
	height: 27px; width: 107px;
	padding: 3px 0 0 3px;
	background: url('img/langs_bg.gif') no-repeat;
	cursor: pointer; position: relative; z-index: 
}
#top-langs img {
	float: left;
}
#top-langs span {
	display: block; float: left;
	padding: 6px 0 0 5px;
	color: #4F585F;
}
#top-langs ul {
	position: absolute; top: 29px; left: 4px;
	display: none; margin: 0; padding: 0;
	width: 100px;
	background: #FFF; border: solid 1px #C1C9D1
}
#top-langs ul li {
	display: block; padding: 5px 0 5px 3px;
	margin: 0; overflow: hidden;
}
#top-langs ul li a {
	display: block; float: left;
	padding: 3px 0 0 5px;
	color: #4F585F;
}
#top-langs:hover ul, #top-langs ul:hover {
	display: block;
}

#body {
	overflow: hidden;
	padding: 0 0 10px 0;
}
#content {
	float: right; width: 630px;
}
.wordtube {
	text-align: center;
	padding: 0 0 20px 0;
}
.th {
	border: 1px solid #dddddd;
	float: left;
	padding: 5px;
	background-color: #FFFFFF;
	margin: 0 10px 10px 0;
}
.full {
	border: 1px solid #dddddd;
	float: left;
	padding: 5px;
	background-color: #FFFFFF;
	margin: 0 10px 10px 0;
}
.single {
	clear: both; display: block;
	padding-bottom: 10px;
}
.date {
	margin: -15px 0 10px 0;
	font-size: 8pt;
}
#sidebar {
	float: left; width: 340px;
}

#foot {
	height: 129px; width: 100%;
	#height: 119px; width: 100%;
	clear: both; position: relative;
	border-top: solid 1px #CBD1D7;
	background: url('img/foot_bg.gif') left top no-repeat;
}
#foot p {position: absolute; top: 55px; left: 0;}
#foot-trigo {position: absolute; top: 15px; left: 0;}
#foot-polecamy {position: absolute; top: 15px; left: 185px;}
#foot-polecamy2 {position: absolute; top: 70px; left: 225px;}
#foot-trigo span, #foot-polecamy span {display: block; float:left; padding: 5px 0 0 0;}
#foot-trigo img {margin: 7px 0 0 32px; float: left;}
#foot-polecamy img, #foot-polecamy2 img {margin: 7px 7px 0 7px; float: left;}
#foot-links {
	position: absolute;
	top: 15px;
	#top: 85px;
	right: 0;
}
#foot-links a {
	display: block; float: left;
	margin: 0 0 0 10px;
}

/*--CONTENT--*/
a {
	text-decoration: none;
	color: #333;
}
a:hover {
	text-decoration: underline;
}

p {
	margin: 0 0 1.5em 0; padding: 0;
	line-height: 1.5em;
}
ul {
	margin: 0 0 1.5em 0; padding: 0;
	line-height: 1.5em;
}
li {
	margin: 0 0 0 20px; padding: 0;
}
img {
	border: 0;
}

h2 {
	margin: 0 0 10px 0; padding: 0;
	font-size: 14pt;
	letter-spacing: -1px;
	font-weight: normal;
}
h3 {
	margin: 0 0 1em 0; padding: 0;
	font-size: 12pt;
}
hr {
	border: none; padding: 3px 0 3px 0;
	border-top: solid 1px #CBD1D7;
	width: 75%;
}

.h-b {
	color: #F95901;
}
.web-links {
	height: 41px; width: 320px; margin: 0 0 -1px 0;
	padding: 0 0 0 20px;
	background: url('img/profiles_bg.gif') no-repeat;
}
.web-links-item, .web-links-item-1 {
	padding: 10px 0 0 0;
	width: 160px; float: left;
	font-weight: bold;
}
.web-links-item-1 {width: 140px;}
.web-links-item img, .web-links-item-1 img {
	margin: 0 5px -7px 0;
}

.desc {
	padding: 12px 10px;
	background: url('img/desc_bg.gif') no-repeat #F5F6F8;
	border: solid 1px #CBD1D7; font-weight:bold;
}

.link-more, .link-more-big {
	display: block; float: right;
	height: 20px; width: 95px;
	padding: 4px 20px 0 0; margin: 5px 0 0 0;
	text-align: right;
	background: url('img/link_more.gif') no-repeat;
}
.link-more-big {
	width: 130px;
	background: url('img/link_more_big.gif') no-repeat;
}

.home-news {
	padding: 0 0 5px 0;
	overflow: hidden; height: 100%;
}
.home-news-rss {
	display: block; float: left;
	padding: 3px 7px 0 0;
}
.home-news-last {
	float: left; width: 346px; height: 262px;
	padding: 1px; position: relative; overflow: hidden;
	border: solid 1px #CBD1D7;
}
.home-news-last img {
	display: block; width: 346px; height: 262px;
}
.home-news-last-desc {
	position: absolute; bottom: 0; left: 0;
	width: 100%; padding: 12px 0; margin: 0;
	text-align: left;
	font-size: 12pt; font-weight: bold; color: #fff;
	background: #222; opacity: 0.7;
	filter: Alpha(Opacity=90);
}
.home-news ul {
	width: 279px; float:left;
	border-top: solid 1px #CBD1D7;
	margin: 0 0 0 1px; padding: 0;
	list-style: none;
}
.home-news ul li {
	height: 50px; overflow: hidden;
	margin: 0; padding: 2px 20px 0 5px;
	list-style: none; font-size: 8pt; line-height: 1.5em;
	border: solid 1px #CBD1D7;
	border-top: none; color: #4F585F;
	background: url('img/home_news_li.gif') no-repeat;
}
.home-news ul li:hover {
	height: 50px; overflow: hidden;
	margin: 0; padding: 2px 20px 0 5px;
	list-style: none; font-size: 8pt; line-height: 1.5em;
	border: solid 1px #CBD1D7;
	border-top: none; color: #4F585F;
	background: url('img/home_news_active.gif') no-repeat;
}
.home-news ul li img, ul li:hover img {
	float: left; margin: 4px 10px 0 0;
}
.home-news ul li a {color: #4F585F;}
.home-news ul li a {color: #4F585F; text-decoration: none;}
.home-news ul li:hover a {color: #fff;}

#home-poll {
	width: 305px; float: left;
}
#home-poll-in {
	height: 237px;
}
#home-poll ol {
	font-weight: bold;
	line-height: 2em;
}
#home-poll ol strong {
	color: #F95901;
}

#home-gallery {
	float: left; width: 310px; height:100%;
	margin-left: 15px;_margin-left: 7px;
}
#home-gallery-items a {
	display: block; float: left;
	margin: 0 12px 12px 0;_margin: 0 6px 12px 0;
} 
#home-gallery img {
	float: left;
	#opacity: 0.5;
	#filter: Alpha(Opacity=50);
}
#home-gallery-items a:hover img {
	#opacity: 1;
	#filter: Alpha(Opacity=100);
}

#web-links {
	padding: 1px 0 0 0;
	clear: both;
}
#web-links-in {
	height: 41px; width: 630px; margin: 0 0 -1px 0;
	padding: 0 0 0 10px;
	margin: 7px 0 0 0;
	background: url('img/profiles_bg.gif') repeat-y;
	clear: both;
}
#web-links-item {
	padding: 13px 0 0 0;
	float: left;
	margin: 0 25px 0 0;
	font-weight: bold;
}
#web-links-text {
	padding: 13px 0 0 0;
	width: 180px; float: left;
	font-weight: bold;
}
#web-links-item img {
	margin: 0 5px -7px 0;
}

#twitter-main {
	padding: 1px; position: relative;
	margin: 5px 0 20px 0;
	border: solid 1px #CBD1D7;
}
#twitter-main-in {
	height: 252px;
	padding: 5px 5px 5px 5px;
	background: url('img/twitter-main_bg.gif') no-repeat top right;
}
#twitter-main-head {
	height: 45px; color: #4F585F;
	font-size: 10pt; padding: 3px 0 0 0
}
#twitter-main ul {
	height: 203px; overflow: auto;
	margin: 0; padding: 0; list-style: none;
	clear:both;
}
#twitter-main-head strong {
	color: #485056;
}
#twitter-main-head img {
	float: left; margin: -3px 10px 0 0;
}
#twitter-main ul li {
	margin: 0 0 5px 0; padding: 0; list-style: none;
	width: 300px; color: #485056;
	background: url('img/twitter-main_item.gif') no-repeat bottom;
}
#twitter-main ul li div {
	padding: 5px 5px 5px 5px;
	background: url('img/twitter-main_item_top.gif') no-repeat top;
}
.twitter-date {
	display: block;
	color: #4F585F;
}
.link-subskrybuj {
	display: block; height: 30px; width: 69px;
	background: url('img/link_subskrybuj.gif') no-repeat;
}
.link-subskrybuj {
	position: absolute; top: 12px; right: 9px;
}

#twitter{
	padding: 1px; position: relative;
	margin: 13px 0 20px 0;
	border: solid 1px #CBD1D7;
}
#twitter-in {
	height: 100%;
	padding: 5px 5px 5px 5px;
	background: url('img/twitter_bg.gif') no-repeat top right;
}
#twitter-head {
	height: 45px; color: #4F585F;
	font-size: 10pt; padding: 3px 0 0 0
}
#twitter ul {
	height: 100%; overflow: auto;
	margin: 0; padding: 0; list-style: none;
	clear:both;
}
#twitter-head strong {
	color: #485056;
}
#twitter-head img {
	float: left; margin: -3px 10px 0 0;
}
#twitter ul li {
	margin: 0 0 5px 0; padding: 0; list-style: none;
	width: 324px; color: #485056;
	background: url('img/twitter_item.gif') no-repeat bottom;
}
#twitter ul li div {
	padding: 5px 5px 5px 5px;
	background: url('img/twitter_item_top.gif') no-repeat top;
}

