/* Based on work by Eric Meyer: meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/ */
html, body, div, span, object, iframe, 
h1, h2, h3, h4, h5, h6, p, blockquote, pre, 
a, abbr, acronym, address, code, 
del, dfn, em, img, q, dl, dt, dd, ol, ul, li, 
fieldset, form, label, legend, 
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline
}
table {border-collapse: separate; border-spacing: 0}
caption, th, td {text-align: left; font-weight: 400}
blockquote:before, blockquote:after, q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img {border: none}

/* ------------- */
.clearfix:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0} 
.clearfix {display: inline-block} html[xmlns] .clearfix {display: block} 
* html .clearfix {height: 1%}
.overflow {
	overflow: hidden;
	height: 100%
}
/* ------------- */

body {
	background: #0f91ac;
	line-height: 1.5;
	margin-bottom: 1.5em
}

hr {
	border: solid #dadcdf;
	border-width: 0 0 1px 0;
	height: 0;
	clear: both;
	margin: 15px 0
}

/* Gora strony */
#top {
	background: url(top.png) no-repeat center;
	margin: 0 auto;
	width: 1008px;
	height: 200px
}
#logo {
	position: relative;
	top: 38px;
	left: 50px
}
#ads {
	margin: 0 auto;
	text-align: center
}


/* Zawartosc strony */
#container {
	position: relative;
	background: url(container.png) repeat-y center;
	width: 1008px;
	margin: 0 auto;
	padding-bottom: 30px;
	overflow: hidden
}
#content {
	position: relative;
	left: 50px;
	width: 700px;
	float: left;
}
.left {
	position: relative;
	left: 10px;
	width: 330px;
	float: left
}
.right {
	position: relative;
	right: 10px;
	width: 330px;
	float: right
}
#content p {
	font-family: Verdana, Geneva, Helvetica, sans-serif;
	font-size: 11px;
	color: #555;
	margin: 16px 0;
	padding: 0 16px;
	line-height: 1.7
}

#content ul {
	margin: 10px 30px;
}

#content li {
	font-family: Verdana, Geneva, Helvetica, sans-serif;
	font-size: 11px;
	color: #555;
	margin: 1px 0;
	padding: 0 1px;
	line-height: 1.7
}

#content p a, #content li a, #content fieldset a {
	font-family: Verdana, Geneva, Helvetica, sans-serif;
	font-size: 11px;
	color: #555;
	text-decoration: none;
	border-bottom: 1px solid #0f91ac;
	padding-bottom: 1px
}
#content p a:hover, #content fieldset a:hover {
	color: #0f91ac
}
#content h1, h2, h3 {
	font-family: "Trebuchet MS", Verdana, Geneva, Helvetica, sans-serif;
	font-size: 21px;
	color: #e93707;
	font-weight: lighter;
	line-height: 1;
	font-style: italic;
	background: url(h.png) no-repeat top left;
	padding: 16px 0 0 30px;
	margin-bottom: 20px
}

#content h2 {font-size: 19px}
#content h3 {font-size: 17px}

/* Prawa strona, menu */
#toolbars {
	position: relative;
	right: 50px;
	width: 200px;
	float: right;
	text-align: center;
	padding: 0 0 40px 0;
	background: #e8f9ff url(toolbars.png) repeat-x bottom
}
#toolbars ul {
	text-align: left;
	list-style: none;
	margin-bottom: 16px;
	padding: 0 7px
}
#toolbars ul li a, #toolbars ul li a:visited {
	color: #0f91ac;
	font-family: Verdana, Geneva, Helvetica, sans-serif;
	font-size: 10px;
	text-decoration: none;
	display: block;
	width: 100%;
	height: 27px;
	background: #e8f9ff url(li.png) repeat-x bottom;
	text-indent: 16px;
	line-height: 2.5;
	padding: 2px 0 0 0;
	border-bottom: 1px solid #a4def4;
	font-weight: bold
}
#toolbars ul li a:hover {
	background: #e0f7ff url(li2.png) repeat-x bottom;
	color: #29aecb
}
#container #toolbars .sub li a {
	font-size: 10px;
	color: #555;
	border-bottom: 1px solid #c8eefc;
	font-weight: normal
}
#container #toolbars .sub li a:hover {
	color: #df3206;
	background: none
}
#toolbars h3 {
	border-bottom: 1px solid #555;
	margin-bottom: 7px;
	line-height: 0.5;
	background: none;
	padding: 0
}


/* Nawigacja gorna */
ul#nav {
	position: relative;
	top: 71px;
	left: 355px;
	width: 640px;
	font-family: Verdana, Geneva, sans-serif;
	overflow: hidden
}
ul#nav li {
	float: left;
	margin-right: 3px;
	list-style: none
}       
ul#nav li a {
	width: 116px;
	height: 22px;
	display: block;
	font-weight: bold;
	font-size: 11px;
	color: #555;
	background: url(nav.png) no-repeat;
	text-decoration: none;
	text-align: center;
	padding-top: 5px
}
ul#nav li a:hover {
	color: #292929;
	background: url(nav.png) 0 -29px no-repeat
}


/* Strona glowna - bloczki ABC */
#content #abc {padding: 3px; height: 100%; overflow: hidden; margin: 0; padding: 0}
#content #abc li {list-style: none; float: left; margin: 0; padding: 0}
#content #abc li a {text-decoration: none; border: 0; padding: 0}

a#a, a:visited#a {border: 0 none; display: block; width: 227px; height: 158px; background: url(a.png) top center no-repeat; text-indent: -9999px} 
a:hover#a {background-position: 0 -158px}

a#b, a:visited#b {border: 0; display: block; width: 227px; height: 158px; background: url(b.png) top center no-repeat; text-indent: -9999px} 
a:hover#b {background-position: 0 -158px}

a#c, a:visited#c {border: 0; display: block; width: 227px; height: 158px; background: url(c.png) top center no-repeat; text-indent: -9999px} 
a:hover#c {background-position: 0 -158px}


/* Formularz - dodaj firme, rejestruj, loguj, i inne */
#add {
	position: relative;
	width: 850px;
	left: 10px;
}
#add fieldset {
	position: relative;
	border-top: 1px solid #dedcdc;
	border-right: 1px solid #c3c0c0;
	border-bottom: 1px solid #c3c0c0;
	border-left: 1px solid #dedcdc;
	margin-bottom: 25px;
	padding: 20px;
	background: #f7f7f7
}
#add fieldset.textarea {
	height: 530px
}
#add legend {
	position: relative;
	top: 0;
	left: 0;
	font-family: "Trebuchet MS", Verdana, Geneva, sans-serif;
	font-size: 14px; 
	font-weight: bold;
	color: #0f91ac
}
#add fieldset {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 11px;
	color: #555
}
#add legend span {
	position: absolute; 
	top: -32px;
	left: 0;
	line-height: 20px;
	background: #fff url(legend_left.png) 0 100% repeat-x;
	padding-left: 8px;
	display: block;
	white-space: pre
}
#add legend span span {
	position: relative; 
	top: 0; 
	left: 0;
	line-height: 20px;
	background: url(legend_right.png) 100% 100% no-repeat; 
	padding: 1px 7px 2px 0; 
	display: block
}
#add input, #add textarea, #add select {
	position: absolute;
	left: 300px;
	border-top: 1px solid #dedcdc;
	border-right: 1px solid #c3c0c0;
	border-bottom: 1px solid #c3c0c0;
	border-left: 1px solid #dedcdc;
	background: #ececec url(input.png) repeat-x bottom;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 11px;
	color: #555;
	padding: 4px 3px;
	width: 480px
}
#add label {
	float: left
}
#add option {
 	background: #ececec
}
#add textarea {
	width: 600px;
	height: 450px;
	background: #ececec
}
#add input:focus, 
#add textarea:focus, 
#add input:active,
#add select:focus {
	border: 1px solid #0f91ac;
	color: #0f91ac
}
#add #add_checkbox {
	width: auto;
	border-top: 1px solid #dadcdf;
	border-right: 1px solid #999;
	border-bottom: 1px solid #999;
	border-left: 1px solid #dadcdf;
	padding: 3px
}
#add_submit_div {
	padding: 2px 0 30px 0;
	overflow: hidden;
	height: 10px
}
#add #add_submit {
	cursor: pointer;
	border: 0;
	background: url(submit_add.png) no-repeat;
	width: 122px;
	height: 25px
}
#add #add_submit:hover, #add #add_submit:focus {background: url(submit_add2.png) no-repeat}


/* Formularz - szukaj */
#search {
	position: relative;
	margin: 0 auto 16px auto;
	background: url(search.png) no-repeat;
	width: 883px;
	height: 46px
}
#search div {display: inline}
#search #search_text {
	position: absolute;
	left: 115px;
	top: 13px;
	border: 1px solid #cdcdcd;
	background: #ececec url(input.png) repeat-x bottom;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 11px;
	color: #555;
	padding: 4px 3px 2px 3px;
	width: 200px;
	height: 16px
}
#search #search_1, #search #search_2, #search #search_3 {
	position: absolute;
	top: 13px;
	border: 1px solid #cdcdcd;
	font-size: 12px;
	color: #555;
	background: #f0f0f0;
	padding: 2px 2px 3px 2px
}
#search #search_1 {left: 340px}
#search #search_2 {left: 530px}
#search #search_3 {left: 610px}
#search #search_submit {
	position: absolute;
	left: 770px;
	top: 4px;
	cursor: pointer;
	margin-top: 7px;
	width: auto;
	border: 0 none;
	background: url(submit_search.png) no-repeat;
	width: 122px;
	height: 25px
}
#search #search_submit:hover, #search #search_submit:focus {background: url(submit_search2.png) no-repeat}


/* Dol strony */
#bottom {
	background: url(bottom.png) no-repeat center;
	width: 1008px;
	height: 80px;
	margin: 0 auto;
	overflow: hidden
}
#footer {
	position: relative;
	top: -30px;
	width: 900px;
	margin: 0 auto;
	padding: 7px 0 16px 0;
	overflow: hidden;
	text-align: center
}
#footer p {
	font-family: Verdana, Geneva, Helvetica, sans-serif;
	font-size: 11px;
	color: #ebf7fb
}
#footer a, #footer a:visited {
	font-family: Verdana, Geneva, Helvetica, sans-serif;
	font-size: 11px;
	color: #ebf7fb;
	text-decoration: none;
	border-bottom: 1px solid #ebf7fb;
	padding-bottom: 1px
}
#footer a:hover {
	border-bottom: none
}

#herby {
	text-align: center;
	margin-top: 50px
}

#content .news {clear: both; overflow: hidden; margin: 10px; padding: 5px; border-top: 3px solid #0F91AC; background: #E8F9FF; width: 600px}
#content .news a {color: #0F91AC}
#content .news a:hover {text-decoration: none}
#content .news p.newstitle {font: bold 18px "Trebuchet MS"; margin: 0 0 10px 5px}
#content .news p.newstitle a {padding: 3px; color: #0F91AC}
#content .news p.newstitle a:hover {text-decoration: none; background: #0F91AC; color: #fff}
#content .news p.newscontent {font: normal 11px/1.5 Verdana; margin: 5px}
#content .news p.newskeywords {font: normal 11px/1.5 Verdana; margin: 5px; border-top: 1px solid #0F91AC; padding: 5px; background: #fff}

#content .tag {margin: 20px; padding: 10px; background: #E8F9FF; border-left: 3px solid #0F91AC}
#content .tag p {font: bold 15px "Trebuchet MS"}
#content .tag ul {margin: 10px 20px}
#content .tag ul li {font: 11px/1.5 Verdana}
#content .tag ul li a {color: #0F91AC}
#content .tag ul li a:hover {text-decoration: none}

