body, td, th, a, h1, h2, li, ul, p, span, input, select, textarea {
	font-family: Arial, sans-serif;
	font-size: 12px;
	line-height: 18px;
	color: #666666;
}

body {
	margin: 0px;
	padding: 0px;
	background-color: #161a1a;
	background-image: url(images/mainbkg.png);
	background-repeat: repeat-x;
	background-position: top;
}

table {
	border: 0px;
}

td {
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
}

a {
	color: #219fed;
	text-decoration: none;
}

a:visited {
	color: #219fed;
}

a:hover {
	text-decoration: underline;
}

a:active {
	outline: none;
}

a:focus {
	-moz-outline-style: none;
}

h1 {
	color: #219fed;
	font-size: 18px;
	margin-bottom: 30px;
	font-weight: normal;
}

h2 {
	margin-top: 30px;
	font-size: 16px;
}

a h2:hover {
	color: #219fed;
	text-decoration: none;
}

.red {
	color: maroon;
}

/*//////////////////////////////////////////////////////////////////
	TitleBox
//////////////////////////////////////////////////////////////////*/

td.TitleBox {
	background-color: #080808;
	background-image: url(images/samochod.jpg);
	background-repeat: no-repeat;
	background-position: right;
	padding: 20px 486px 20px 31px;
	color: #666666;
	width: 1000px;
	height: 208px;
}

tr.TitleBoxPrint { display: none; }

table.TitleBoxPrint {
	border: 1px solid black;
	padding: 10px;
}

/*//////////////////////////////////////////////////////////////////
	MainMenu
//////////////////////////////////////////////////////////////////*/

table.MainMenu {
	width: 1000px;
	height: 45px;
}

td.MainMenu, td.MainMenuHover {
	width: 167px;
	height: 45px;
	padding: 0px 0px 0px 0px;
	background-color: white;	
	background-repeat: no-repeat;
	background-position: 0px 0px;
	cursor: pointer;
	font-size: 1px;
}

td.MainMenuHover {
	background-position: 0px -45px;
}

#MainMenu img {
	border: 0px;
}

/*//////////////////////////////////////////////////////////////////
	Submenu
//////////////////////////////////////////////////////////////////*/
table.Submenu {
	width: 1000px;
}

td.Submenu, td.SubmenuHover {
	width: 200px;
	height: 151px;
	padding: 60px 10px 15px 10px;
	background-color: #4398c4;	
	background-repeat: no-repeat;
	background-position: 0px 0px;
	cursor: pointer;
	text-align: center;
}

td.SubmenuHover {
	background-position: 0px -151px;
}

h3.SubmenuHeader, a.SubmenuHeader  {
	color: black;
	font-size: 12px;
	font-weight: bold;
	font-family: Tahoma, sans-serif;
	margin: 0px 0px 2px 0px;
	padding: 0px 0px 0px 0px;
	text-decoration: none;
}

p.SubmenuDesc {
	color: white;
	margin-top: 6px;
	margin-bottom: 7px;
	font-size: 11px;
	line-height: 13px;
}

a.SubmenuLink {
	color: black;
	text-decoration: underline;
}

/*//////////////////////////////////////////////////////////////////
	Page
//////////////////////////////////////////////////////////////////*/

table.Page {
	width: 1000px;
}

td.PageContainer {
	padding: 0px 6px 0px 6px; 
}

table.PageContent {
	width: 988px;
}

td.PageContent {
	background-color: white;
	background-image: url(images/pagebkg.png);
	background-repeat: repeat-x;
	background-position: top;
	padding: 43px 25px 40px 25px;
}

/*//////////////////////////////////////////////////////////////////
	SubSection
//////////////////////////////////////////////////////////////////*/

div.SubSection {
	padding-left: 20px;
}

#SmallTable th {
	background-color: #D4D4D4;
}

td.OddRow {
	background-color: #EEEEEE;
}

#SmallTable td, #SmallTable li {
	font-size: 11px;
	line-height: 11px;
}

#SmallTable td {
	padding: 5px 10px 5px 10px;
	border: 1px solid white;
}

/*//////////////////////////////////////////////////////////////////
	PageFooter
//////////////////////////////////////////////////////////////////*/

td.PageFooter {
	height: 37px;
	font-size: 2px;
	line-height: 2px;
}

table.PageFooter {
	width: 988px;
	height: 37px;
}

/*//////////////////////////////////////////////////////////////////
	PageCorner
//////////////////////////////////////////////////////////////////*/

td.PageFooterLeft {
	height: 37px;
	width: 8px;
	font-size: 2px;
	line-height: 2px;
	background-color: white;
	background-image: url(images/footer-left.png);
	background-repeat: no-repeat;
	background-position: left;
}

td.PageFooterBottom {
	height: 37px;
	font-size: 2px;
	line-height: 2px;
	background-color: white;
	background-image: url(images/footer-gradient.png);
	background-repeat: repeat-x;
}

td.PageFooterRight {
	height: 37px;
	width: 8px;
	font-size: 2px;
	line-height: 2px;
	background-color: white;
	background-image: url(images/footer-right.png);
	background-repeat: no-repeat;
	background-position: right;
}

/*//////////////////////////////////////////////////////////////////
	Footer
//////////////////////////////////////////////////////////////////*/

td.Footer {
	padding: 0px 6px 0px 6px;
}

/*//////////////////////////////////////////////////////////////////
	FooterMenu
//////////////////////////////////////////////////////////////////*/

td.FooterMenu {
	padding: 17px 0px 10px 0px;
	border-bottom: 1px solid #262727;
	color: #219fed;
}

#FooterMenu span {
	padding: 0px 8px 0px 8px;
}

#FooterMenu span.last {
	border-right: 0px;
}

#FooterMenu a {
	color: #666666;
	text-decoration: none;
}

#FooterMenu a:hover {
	color: #b3b3b3;
}

/*//////////////////////////////////////////////////////////////////
	FooterSubMenu
//////////////////////////////////////////////////////////////////*/

td.FooterSubMenu {
	padding: 10px 0px 10px 0px;
	color: #666666;
	font-size: 11px;
}

#FooterSubMenu a {
	color: #B3B3B3;
	text-decoration: none;
	font-size: 11px;
}

#FooterSubMenu a:hover {
	color: #666666;
}

#FooterSubMenu span {
	padding: 0px 8px 0px 10px;
	font-size: 11px;
}

div.SingleColumn {
	padding: 0px 40px 0px 30px;
}

/*//////////////////////////////////////////////////////////////////
	Form
//////////////////////////////////////////////////////////////////*/

div.Error {
	color: red;
	padding-bottom: 20px;
}

input.Valid, input.Error,
textarea.Valid, textarea.Error,
select.Valid, select.Error {
	border: 1px solid #cecece;
    padding: 3px 3px 3px 3px;
    margin-right: 10px;
    height: 25px;
}

input.Error, textarea.Error, select.Error {
    background: #f8dbdb;  
    border-color: #e77776;	
}

textarea.Valid, textarea.Error {
    height: 25px;
    width: 400px;
}

td.ErrorDesc {
	min-width: 100px;
	color: #e77776;
	vertical-align: middle;
	font-size: 11px;
	line-height: 12px;
}

#WniosekUproszczony td.ErrorDesc {
	padding-top: 18px;
	padding-right: 30px;
}


/*//////////////////////////////////////////////////////////////////
	PRINT
//////////////////////////////////////////////////////////////////*/

@media print {
    body { 
		background-color: white;
		background-image: none;
    }

	table.MainMenu { display: none; }
	table.Submenu { display: none; }
	table.Page { border-bottom: 1px solid black; }
	tr.PageTop { display: none; }
	tr.TitleBox { display: none; }
	tr.TitleBoxPrint { display: table-row; }
	tr.Footer { display: none; }
	div.Print { display: none; }
}