#navigation {
	height: 0;
	overflow: hidden;
	margin: 0;
}

img {
	border: 0 none;
	vertical-align: middle;
}

input.submit {
	width: auto!important;
	font-weight: bold!important;
}

body {
	background: url(../img/top_bg.png) repeat-x;
	text-align: center;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	padding: 0;
	margin: 0;
	border: 0 none;
	cursor: default;
}

h1, #menu, #content, #back-to-navigation, #menu-footer {
	width: 1000px;
	position: relative;
	margin: 0 auto;
	text-align: left;
}

h2 {
	font-family: Georgia, Palatino, "Times New Roman", Times, serif;
	font-weight: normal;
}

h3 {
	text-align: center;
	font-family: Georgia, Palatino, "Times New Roman", Times, serif;
	font-weight: normal;
	font-size: 16px;
	color: #666;
	margin: 20px 0;
	padding: 0;
	font-style: italic;
	border-bottom: 1px solid #E0E0E0;
	line-height: 12px;
}

/* # TOP # */

h1 {
	padding: 8px 0 0 0;
	background: url(../img/top.png);
	height: 232px;
}

#menu {
	list-style: none;
	position: absolute;
	top: 60px;
	left: 45%;
	height: 40px;
	width: 550px;
	margin: 0 auto;
	padding: 0;
	clear: both;
}

#menu li {
	float: left;
	padding-left: 20px;
}

#menu a {
	display: block;
	height: 40px;
	overflow: hidden;
	text-indent: -1000px;
}

#menu #main-page a{ background-image: url(../img/home.png); width: 93px; }
#menu #about-page a{ background-image: url(../img/about_me.png); width: 110px; }
#menu #works-page a{ background-image: url(../img/works.png); width: 96px; }
#menu #contact-page a{ background-image: url(../img/contact.png); width: 140px; }

#menu a:hover {
	background-color: #990000;
}

/* # CONTENT # */

#content {
	background: url(../img/content_middle.png) repeat-y 0 3px;
}

#text, #works, #sidebar {
	font-size: 8pt;
	text-align: justify;
	float: left;
	position: relative;
	top: -20px;
	line-height: 11pt;
	overflow: hidden;
}

#text {
	padding: 0 0 0 40px;
	width: 485px;
	color: #666;
}

#text p {
	text-indent: 25px;
	padding: 0;
	margin: 15px 0;
	clear: both;
}

#text ul.projects {
	margin: 0;
	float: left;
	clear: both;
	padding: 0;
	list-style: none;
}

#text p.projects, #text ul.projects li {
	width: 190px;
	height: 170px;
	background:  url(../img/img-bg.png) no-repeat;
	overflow: hidden;
	float: left;
	padding: 4px 5px 5px 4px;
	margin: 15px;
	text-align: center;
	float: left;
	text-indent: 0;
}

#text .projects a {
	text-decoration: none;
	color: #666;
	font-size: 10px;
	display: block;
	padding: 10px 10px 0 10px;
	width: 170px;
	height: 160px;
	overflow: hidden;
	font-weight: bold;
}

#text .projects a:hover {
	background-color: #fff;
}

#text .projects img {
	padding-bottom: 10px;
}

#text h2 {
	font-size: 16pt;
	color: #666;
	margin: 0 0 20px 0;
	padding: 3px 10px 0 10px;
	font-style: italic;
	border-bottom: 1px solid #ccc;
}

#sidebar {
	background: #990000 url(../img/content_middle.png) repeat-y right 3px;
	padding: 0 0 0 33px;
	width: 207px;
	color: white;
	top: 0;
}

#sidebar h2 {
	line-height: 12px;
	font-size: 18px;
	margin: 3px 20px 10px 0;
	padding: 0 10px;
	font-style: italic;
	border-bottom: 1px solid white;
}

#sidebar ul {
	padding-top: 3px!important;
}

#sidebar ul a {
	text-decoration: none;
	display: block;
	color: white;
	padding: 5px 0 5px 10px;
	background: url(../img/sidebar-a-bg.png) no-repeat -1000px -1000px;
}

#sidebar ul a:hover {
	background-position:1px 0;
	color: #F3E0E0;
}

#works {
	width: 200px;
	margin: 0;
	padding: 0 0 0 35px;
	color: #666;
}

#works h2 {
	line-height: 12px;
	font-size: 18px;
	color: #666;
	margin: 5px 0 20px 0;
	padding: 0 10px;
	font-style: italic;
	border-bottom: 1px solid #ccc;
}

#works ul, #sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#works li {
	text-align: center;
}

#back-to-navigation {
	height: 42px;
	clear: both;
	background: url(../img/content_bottom.png) no-repeat;
}

#back-to-navigation a {
	height: 0;
	overflow: hidden;
	display: block;
}

/* # FOOTER # */

#footer {
	background: #990000 url(../img/footer_bg.png) repeat-x;
	height: 259px;
	position: relative;
	overflow: hidden;
	clear: both;
	padding-top: 17px;
	font-size: 8pt;
	text-align: left;
}

#menu-footer {
	background: url(../img/footer.png) no-repeat;
	height: 111px;
	padding: 86px 0 0 615px;
	width: 385px;
	list-style: none;
}

#menu-footer li {
	float: left;
}

#menu-footer li a {
	color: White;
	text-decoration: none;
	padding: 11px;
	float: left;
	z-index: 1;
	position: relative;
}

#menu-footer li a:hover {
	color: #CC805A;
}

#copyright {
	background: url(../img/footer_logo_bg.png) no-repeat 0;
	color: #CC805A;
	top: 17px;
	top: -197px;
	left: 0;
	width: 1000px;
	height: 253px;
	padding: 0;
	margin: 0;
	list-style: none;
	position: relative;
}

#copyright a {
	color: white;
}

#copyright li {
	position: relative;
	margin: 0;
	padding: 0;
}

#copyright li#logo {
	top: 112px;
	left: 297px;
}

#copyright li#xhtml {
	top: 217px;
	left: 10px;
}

#copyright li#css {
	top: 189px;
	left: 220px;
}

/* Fieldset */

fieldset {
	border: 1px solid #E3E3E3;
	margin:3px 0 3px 4px;
	clear: both;
}

fieldset.tel, fieldset.gadu,fieldset.email,fieldset.skype {
	height: 47px;
	width: 234px;
	padding: 6px 0 2px 0;
	float: left;
	text-align: center;
	font-size: 20px;
	line-height: normal;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: normal;
	font-style: italic;
	clear: none;
}

form fieldset table {
	text-align: left;
	width: 100%;
}

table select, table input, table textarea {
	width: 310px;
	padding: 4px;
	border: 1px solid #D3D3D3;
	font-size: 11px;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	background: White;
}

table select {
	font-size: 12px;
	height: 23px;
	width: 318px;
}

form table tfoot td {
	text-align: center;
}

form fieldset td, form fieldset th {
	background: #F5F5F5;
	font-weight: normal;
	padding: 5px;
}

fieldset legend {
	padding: 0 5px;
	font-size: 8pt;
	color: #BFBFBF;
	font-style: italic;
	margin-left: 10px;
	font-family: Georgia;
}

fieldset a {
	color: #00A0D2;
}

fieldset a:hover {
	text-decoration: none;
}

#text div fieldset {
	text-align: left;
	height: auto;
	margin-bottom: 15px;
	background: White;
	padding-left:5px;
	padding-bottom: 5px;
	padding-right: 5px;
	float: left;
	width: 224px;
	clear: none;
	overflow: hidden;
}

#text div fieldset ul {
	padding: 5px 0;
	margin: 0;
	list-style: none;
}

#text div fieldset li {
	background: url(../img/li.png) no-repeat 5px 5px;
	padding: 0 0 0 18px;
	margin: 3px 0;
	font-size: 10px;
}

#text div fieldset legend {
	font-size: 15px;
	color: white;
	background: #990000;
	text-align: center;
	padding: 7px 5px;
	width: 215px;
	margin: 0;
}

#text div fieldset p {
	padding: 0;
	margin: 0;
}

#text div fieldset p a {
	display: block;
	width: 210px;
	padding: 3px 6px;
	text-align: center;
	color: White;
	color: #990000;
	text-decoration: none;
	text-indent: 0;
	font-family: Georgia;
	line-height: normal;
	border: 1px solid #E3E3E3;
}

#text div fieldset p a:hover {
	background: #990000;
	text-decoration: underline;
	color: White;
}

ul.browsers li {
	text-align: left!important;
	padding-left: 10px;
}

ul.klienci li {
	margin: 15px 0;
}

p.partners {
	text-align: center;
}

p.partners img {
	padding: 10px;
	vertical-align: middle;
}