img, div {border: 0; }
body {
	margin: 0;
	background: #cae6ff;
	font-family: Tahoma, Verdana, "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #000;
	font-size: 9pt;
}
a {
	text-decoration: none;
	color: #0461c2;
}
a:active,  a:hover {
	text-decoration: underline;
	color: #0461c2;
}
td {vertical-align: top;}
h1, h1 a{
	font-size: 16pt;
	padding: 0;
	font-family: Trebuchet MS, Calibri, Helvetica, Arial, Tahoma;
}
h2, h2 a {
	font-size: 13pt;
	margin: 5px 0 5px 0;
	padding: 0;
	font-family: Trebuchet MS, Calibri, Helvetica, Arial, Tahoma;
}
h3 {
	font-size: 12pt;
	color: #000;
	margin: 5px 0 5px 0;
	padding: 0;
	font-family: Trebuchet MS, Calibri, Helvetica, Arial, Tahoma;
}


form {margin:0;}
#main {
	position: relative;
	margin-left: auto;
	margin-right: auto;
	margin-top: 10px;
	width: 910px;
}

#top {
	height: 230px;
	background: url('images/top_bg.jpg') no-repeat;
}
#top #logo {
	margin: 23px 0 0 17px;
}
#top #szukaj {
	margin-left: 155px;
	margin-right: 20px;
	margin-bottom: 2px;
	height: 71px;
	background: url('images/top_szukaj_bg.jpg') top left no-repeat;
	border-bottom: solid 1px #d1a43b;
}
#top #szukaj input {
	font-size: 9pt;
	background: #fff;
	vertical-align: middle;
}

#wielkoscliter {
	margin: 0 20px 0 0; 
	text-align: right;
	color: #fff;
	background: url('images/wielkoscliter_bg.png') top left no-repeat;
	height: 26px;
	margin: 3px 0 0 0;
	padding: 5px 30px 0 30px;
}
#wielkoscliter a {
	background: none;
	padding-right: 0;
	font-weight: bold;
	color: #fff;
}
#wielkoscliter a.size9 {font-size: 11pt;}
#wielkoscliter a.size11 {font-size: 13pt;}
#wielkoscliter a.size13 {font-size: 15pt;}


#menu {
	height: 56px;
	background: url('images/menu_bg.jpg') left no-repeat;
}

/* MENU */
/* HORIZONTAL FREESTYLE MENU LAYOUT */
/* All <ul> tags in the menu including the first level */
#listMenuRoot {
	position: absolute;
	z-index: 2;
}
.menulist, .menulist  ul {
 margin: 0;
 padding: 7px 0 0 20px;
 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: 30px; /* I'm using ems and px to allow people to zoom their font */
 width: 158px;
}

/* Second and third etc. level submenus - position across from parent instead */
.menulist ul ul {
 top: -1px; 
 margin-top: 0;
 left: 157px;
}

/*
 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;
 display: block;
 position: relative;
 margin-right: 0px;
 height: 20px;
 width: 171px;
 text-align: center;
 padding: 3px 0 0 0;
}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.menulist ul li {
 float: none;
 border-bottom: solid 1px #0462c2;
 border-left: solid 1px #0462c2;
 background: #0462c2;
 border-right: 0;
 padding: 4px 0 4px 0;
 margin: 0;
 height: auto;
}
.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;
 font-family: Trebuchet MS, Calibri, Helvetica, Arial, Tahoma; 
 padding: 3px 10px 3px 10px;
 text-decoration: none;
 font-weight: bold;
 font-size: 14pt;
}

.menulist ul a {
	font-size: 10pt;
}
.menulist a:link, .menulist a:visited {color: #fff;}

/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.menulist a:hover, .menulist a.highlighted:hover, .menulist a:focus {
 color: #fff;
 text-decoration: underline;
}

.menulist ul a:hover,.menulist ul a:active, .menulist ul a.highlighted:hover, .menulist ul a:focus {
 color: #fff;
 text-decoration: underline;
}

/*
.menulist a.highlighted {
 color: #6c5181;
}
*/

.menulist a.active {
 color: #fff;
 text-decoration: underline;
}

/*
 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 */

/* end MENU */



#skoroszyt-top {
	background: url('images/skoroszyt_top_bg.jpg') top left no-repeat;
	height: 34px;
}
#skoroszyt-sub-top {
	background: url('images/skoroszyt_sub_top_bg.jpg') top left no-repeat;
	height: 28px;
}

#main #centerblock {
	clear: both;
	background: url('images/skoroszyt_bg.jpg') top left repeat-y;
}

#main #centerblock-sub {
	clear: both;
	background: url('images/skoroszyt_sub_bg.jpg') top left repeat-y;
}

#trescl {
	position: relative;
	float:left;
	padding: 0 0 10px 0;
	margin-left: 60px;
	_margin-left: 30px;
	width: 350px;
	text-align: justify;
}
#trescl h1 {
	background: url('images/box_green_title.jpg') left top no-repeat;
	color: #fff;
	padding: 12px 5px 10px 110px;
	margin: 0;
}
#trescl img {
	float: left;
	margin: 0 10px 7px 0;
}

#trescp {
	position: relative;
	padding: 0 0 10px 0;
	margin-left: 510px;
	width: 350px;
	font-size: 10pt;
}
#trescp h1.redbox {
	background: url('images/box_red_title.jpg') right top no-repeat;
	color: #fff;
	padding: 12px 5px 10px 50px;
	margin: 0;
}
#trescp img.redbox {
	float: right;
	margin: 0 0 7px 7px;
}

#trescp h1.yellowbox {
	background: url('images/box_yellow_title.jpg') right top no-repeat;
	color: #fff;
	padding: 12px 5px 10px 50px;
	margin: 0;
}
#trescp img.yellowbox {
	float: right;
}
#trescp p {
	padding-left: 7px;
	padding-right: 7px;
}

#homenewslist {
	list-style: none;
	margin: 0;
	padding: 10px 5px 10px 5px;
}
#homenewslist h1{
	font-family: Tahoma, Verdana, "Trebuchet MS", Arial, Helvetica, sans-serif;
	margin: 7px 0 0 0;
	padding: 0;
	color: #f8c617;
	font-size: 7pt;
}
#homenewslist h2, #homenewslist h2 a{
	font-family: Tahoma, Verdana, "Trebuchet MS", Arial, Helvetica, sans-serif;
	margin: 0;
	padding: 0;
	font-size: 10pt;
}


#partnerzy {
	position: relative;
	padding: 5px 0 10px 0;
	margin-left: 510px;
	width: 350px;
	font-size: 10pt;	
	border-top: solid 2px #0085b9;
}
#partnerzy p {
	margin: 0;
	padding: 0;
	vertical-align: middle;
	color: #0085b9;
}
#partnerzy img {
	vertical-align: top;
}

#partnerzyl {
	position: relative;
	padding: 5px 0 10px 0;
	margin-left: 55px;
	_margin-left: 29px;
	width: 340px;
	font-size: 10pt;	
	border-top: solid 2px #0085b9;
	float: left;
}
#partnerzyl p {
	margin: 0;
	padding: 0 0 5px 0;
	vertical-align: middle;
}
#partnerzyl img {vertical-align: top;}

#partnerzyl-sub {
	position: relative;
	padding: 5px 0 10px 0;
	margin-left: 120px;
	_margin-left: 60px;
	width: 340px;
	font-size: 10pt;	
	border-top: solid 2px #0085b9;
	float: left;
}
#partnerzyl-sub p {
	margin: 0;
	padding: 0 0 5px 0;
	vertical-align: middle;
}


#partnerzy-sub {
	position: relative;
	padding: 5px 0 10px 0;
	margin-left: 120px;
	margin-right: 90px;
	font-size: 10pt;	
	border-top: solid 2px #0085b9;
	text-align: right;
}
#partnerzy-sub p {
	margin: 0;
	padding: 0;
	vertical-align: middle;
	color: #0085b9;
}
#partnerzy-sub img {
	vertical-align: top;
}

#tresc-sub {
	margin: 0 60px 0 100px;
	padding: 0 30px 0 20px;
	font-size: 10pt;
}

#centerblock2 #tresc-sub {
	_float:left;
	margin: 0 30px 0 420px;
	_margin: 0 30px 0 10px;
	padding: 0 0 0 15px;
	font-size: 10pt;
	line-height: 18px;
	border-left: solid 1px #d1a43b;
}
#tresc-sub a {
	background: url('images/link.gif') right no-repeat;
	padding-right: 14px;
}

#tresc-sub h1 {
	color: #0461c2;
	font-size: 18pt;
	line-height: 28px;
}
h1#page-title {
	background: url('images/page_title_bg.jpg') top left no-repeat;
	width: 704px;
	font-size: 28px;
	color: #fff;
	margin: 0;
	padding: 10px 20px 10px 20px;
}


#tresc-sub h1.akapitname {
	color: #0461c2;
	padding-top: 7px;
	font-size: 15pt;
}
#tresc-sub h2 {
	color: #0085b9;
	font-size: 14pt;
}

#tresc-sub p {
	padding-left: 10px;
	padding-right: 10px;
}

#tresc-sub td {
	border-bottom: dotted 1px #fff;
	padding: 5px 4px 5px 4px;
}
#tresc-sub th {
	background: #0461c2;
	padding: 4px;
	color: #fff;
}

#tresc-sub li {
	padding: 3px 0 3px 0;
}


#tresc-sub #rightblock {
	position: relative;
	left: 4px;
	float:right;
	border: solid 3px #0461c2;
	width: 220px;
}

ul#akapitlist {
	list-style: none;
	margin: 0;
	padding: 10px;
	border-top: solid 1px #0461c2;	
}
ul#submenu {
	list-style: none;
	margin: 0;
	padding: 10px;
}

#footer {
	background: url('images/skoroszyt_bottom_bg.jpg') no-repeat;
	height: 40px;
	color: #000;
	font-size: 8pt;
	clear: both;
}
#footer-sub {
	background: url('images/skoroszyt_sub_bottom_bg.jpg') no-repeat;
	height: 40px;
	color: #000;
	font-size: 8pt;
	clear: both;
}

#footer p {
	margin: 0;
}
#footer a {
	color: #6c5181;
	font-weight: bold;
}

#copyright {
	margin: 0;
	padding: 0;
	text-align: center;
	font-size: 8pt;
}
#copyright a {
	color: #0085b9;
}


#galeria img{
	margin: 10px;
}

fieldset.linia2 {
    border-bottom: 1px dotted #fff;
    border-top: none;
    border-left: none;
    border-right: none;
    padding: 5px 5px 5px 0;
    margin: 0;
}
label.linia2 {
    border-right: 1px dotted #fff;
    float: left;
    text-align: right;
    width: 130px;
    margin-right: 5px;
    padding: 4px 7px 0 0;
    font-size: 12px;
    line-height: 16px;
    color: #364c5b;
    display: inline;
}
fieldset.th {
    text-align: center;
    margin: 0;
    border-bottom: 1px dotted #fff;
    border-top: none;
    border-left: none;
    border-right: none;
    padding: 5px 5px 5px 0;
	font-weight: bold;
}

#sciezkapowrotu {
	margin: 0 0 0 0;
	padding: 5px 0 10px 10px;
}
#sciezkapowrotu a {
	font-size: 8pt;
	background: url('images/raquo_b.gif') no-repeat 0 50%; 
	padding-left: 9px; 
	margin-left: 2px; 
	padding-right: 3px;
}

.clearboth {clear:both;}
.floatleft {float:left;}
.floatright {float:right;}
.red {color: red;}
.small {font-size: 8pt;}
input {
	padding-left: 4px;
	margin-top: 0;
	margin-bottom: 0;
}
.center {text-align: center;}


/* Validator */
.DHTMLSuite_validInput{
	border:1px solid green;
}
.DHTMLSuite_invalidInput{
	border:1px solid red;
}

.DHTMLSuite_validInput,.DHTMLSuite_invalidInput{
	padding:1px;
	margin:0px;
}

.DHTMLSuite_validInput select{
	margin:0px;
	padding:0px;
}

.DHTMLSuite_validationImage{
	background-position:left;
	background-repeat:no-repeat;
}
td div.req {
	width: 10px;
	height: 20px;
	float: right;
}
.DHTMLSuite_invalidInputImage{
	background-image:url('images/incorrect.gif');
}
.DHTMLSuite_validInputImage{
	background-image:url('images/correct.gif');
}

.DHTMLSuite_validationBar{
	width:17px;
	background-position:center;
	background-repeat:no-repeat;	
	margin-left: 0;
}
.DHTMLSuite_validationBarInvalid{
	border-right: solid 3px #B00;
	background-image:url('images/incorrect.gif');
}

.DHTMLSuite_validationBarValid{
	border-right: solid 3px #0B0;
	background-image:url('images/correct.gif');
}
