body {
	margin: 0;
	padding: 0;
	background-color: white;
	font-size: 11px;
}
#wrapper {
	width: 1024px;
	margin: 0 auto;
	background-color: rgb(254,255,250);
	font-family: Verdana;
}

#head {
	color: white;
	width: 1024px;
	height: 400px;
	margin-bottom: 40px;
	background-image: url(images/naglowek.jpg);
	background-position: left top;
	background-repeat: no-repeat;
	background-color: rgb(57,42,65);
	border-bottom: 6px solid #ccc;
}

#head #buttons,
#head form {
	width: 360px;
	text-align: center;
}

#buttons {
	padding-top: 40px;
}

#buttons a {
	display: block;
	margin: 0 auto;
	margin-bottom: 30px; 
	width: 134px;
	height: 51px;
	line-height: 51px;
	color: #fff;
	text-transform: uppercase;
	font-size: 14px;
	text-decoration: none;
	background: transparent url(images/b_kontakt.png) center center no-repeat;
}

#head h1 {
	position: absolute;
	display: block;
	left: 48%;
	width: 500px;
	margin-top: 330px;
	text-align: right;
	font-weight: normal;
	font-size: 36px;
	letter-spacing: -3px;
}
#head h1 a {
	color: #fff;
	text-decoration: none;
}

form {
	padding-top: 50px;
}
form label,
form input {
	margin: 10px auto;
	display: block;
}
form input {
}

#zaloguj {
	border: 1px solid #fff;
	padding: 2px 8px;
	color: white;
	cursor: pointer;
	background: transparent;
}

.paging {
	float: right;
}
.paging a {
	margin: 5px;
	padding: 5px;
	text-decoration: none;
	color: rgb(58,140,251);
}
.paging a:hover {
	background-color: #ccc;
}

.boxes {
	width: 462px;
	float: left;
	margin-right: 20px;
	margin-bottom: 10px;
	padding-top: 10px;
}
.boxes h3, .boxes h3 a, #left-text h3, #left-text h3 a {
	color: #3D548A
}
.boxes p {
	color: black;
	padding-right: 20px;
	border-right: solid 1px white;
	min-height: 60px;
}
.boxes span, #left-text span {
	color: black;
	font-style: italic;
}
.boxes p a, #left-text p a {
	color: black;
	font-weight: bold;
	text-decoration: underline;
}
.boxes p a:hover, #left-text p a:hover {
	color: #c0c0c0;
}
.boxes small,
#left-text small {
	color: rgb(27,116,244);
}

#nav {
	padding-top: 10px;
	padding-left: 30px;
	width: 393px;
	min-height: 225px;
	float: left;
	border-right: 1px solid #ccc;
}
#nav ul {
	list-style: none;
	padding: 0 0 0 10px;
}
#nav ul li {
	margin: 0px;
	padding: 2px;
	font-size: 12px;
}
#nav .categories {
	width: 190px;
	float: left;
} 
#nav .podkat_sel a,
#nav .sel a {
	color: rgb(27,116,244);
	font-weight: bold;
}
#nav a {
	text-decoration: none;
	color: #777;
	background: transparent url(images/b1.png) center left no-repeat;
	padding-left: 15px;
}
#nav a:hover {
	text-decoration: underline;
	color: #111;
}

#left-text {
	padding-left: 60px;
	background-color: white;
	padding-bottom: 10px;
	min-height: 225px;
	float: left;
	padding-top: 20px;
	padding-right: 20px;
	width: 520px;
}
#left-text h3 {
	color: #3D548A;
	font-size: 17px;
}
#left-text p {
	color: black;
}

ul li ul {
	display: none;
}
#content h1 {
	color: black;
	font-size: 17px;
}
#tekst {
	width: 820px;
	color: white;
}
.treebox {
	padding-left: 60px;
	background-color: white;
}

.box-ostatni p {
	border: none;
}
#top {
	width: 100%;
	background-color: white;
}

#link-left {
	float: left;
	margin-top: 30px;
	width: 410px;
	border-right: solid 1px white;
	margin-right: 10px;
	padding-right: 30px;
	font-size: 17px;
	color: white;
}
#link-right {
	margin-left: 80px;
	float: left;
	font-size: 17px;
	color: white;
	margin-top: 30px;
}
#left-text form {
	margin: 0 !important;
	padding: 0;
}
#left-text form h3 {
	margin: 0;
}
#left-text input {
	float: left;
}
#left-text table, #left-text table tr, #left-text table tr td, #left-text input {
	margin: 0;
	padding	0;
	text-align: left;
}
#footer {
	text-align: center;
	line-height: 20px;
	height: 20px;
	background-color: rgb(231,227,227);
	padding: 10px 0 10px 0;
}
.clear {
	clear: both;
}

.thumbnail {
	float: left;
	margin: 5px 20px 20px 0;
}
.thumbnail img {
	border: 0;
}
#pager_div {
	text-align: center;
}
#pager_div a {
	margin: 0 2px;
	padding: 7px 15px;
	background-color: rgb(231,227,227);
	text-decoration: none;
	font-weight: bold;
	color: #000;
}
#pager_div a.pager_sel,
#pager_div a:hover {
	background-color: rgb(27,116,244);
	color: #fff;
}

/* ADMIN */

#admin_nav {
	text-align: left;
	padding: 50px 0 0 30px;
}
#admin_nav ul {
	list-style: square;
	padding: 0 0 0 40px;
	margin: 0;
}
#admin_nav li {
	padding: 6px 0;
}
#admin_nav a {
	font-weight: bold;
	font-size: 14px;
	color: #fff;
	text-decoration: none;
}
#admin_nav a:hover {
	font-weight: bold;
	color: #000;
}

#admin {
	
}
#admin table {
	width: 100%;
	margin-bottom: 30px;
}
#admin table td,
#admin table th {
	border: 1px solid rgb(231,227,227);
	text-align: center;
	padding: 5px;
}
#admin table th {
	background-color: rgb(231,227,227);
}

#pager_admin {
	text-align: center;
	margin-bottom: 25px;
}
#pager_admin a {
	padding: 3px 7px;
	text-decoration: none;
	font-weight: bold;
	color: #000;
}
#pager_admin a.pager_sel,
#pager_admin a:hover {
	background-color: rgb(27,116,244);
	color: #fff;
}

#admin_menu {
	width: 300px;
	float: right;
}
#admin_menu .checkbox,
#admin_menu label {
	display: inline;
	margin: 3px 0 0 0;
}
#admin_form {
	width: 600px;
	padding-left: 20px;
	float: left;
}
#admin_form input {
	width: 100%;
}
#admin_form textarea {
	height: 250px;
	width: 100%;
}
#admin_form .submit {
	width: 30%;
}

h2 a {
	text-decoration: none;
	color: rgb(27,116,244);
}
h2 a:hover {
	color: #000;
}

.boxes p, #left-text p {text-align:justify;}

#admin a {
	color: rgb(27,116,244);
}
#admin a:hover {
	color: #000;
	text-decoration: none;
}
