html {
	background-color: #d7d5d6;
}

body {
	padding: 0;
	margin: 0;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #000;
	background: #fff url(../images/lay/main_bg.png) repeat-x;
	line-height: 140%;
}
p, p.one, p.two, p.three, p.four {
	margin: 14px 0 14px 0;
}
p.one, p.three, p.four, p.five {
	margin: 14px 0 14px 0;
	background-image: url(../images/lay/border.gif);
	background-repeat: repeat-x;
	background-position: bottom;
	padding: 0 0 20px 0;
}
p.two, p.five {
	text-align: center;
}
p.three {
	text-align: center;
}
p.four {
	font-size: 14px;
	line-height: 29px;
}

a {
	color: #000;
	text-decoration: underline;
	color: blue;
	cursor: pointer;
        outline: 0;

}
a.big {
	font-size: 16px;
	font-weight: bold;
}
#footer, #footer a {
	color: #514f50;
	text-decoration: none;
} 
#footer a:hover, #footer_r ul li:hover {
	text-decoration: underline;
	background-color: #d7d5d6;
} 
a:hover {
	text-decoration: underline;
}

strong {
	color: #393162;
}

h1,h2,h3,h4,h5 {
	font-family: "Times New Roman", Times, serif;
	color: #33346c;
	margin: 0.5em 0 0.8em;
	padding: 0;
	margin: 0;
}
h1, h4, h5 {
	font-size: 26px;
	padding: 0 0 6px 0;
}
h5 {
	margin: 26px 0 20px 0;
}
h2 {
	font-size: 20px;
}
h3 {
	font-size: 17px;
}
.clearit {
	clear: both;
	height: 0;
	line-height: 0;
	font-size: 0;
}

#header {
	margin: 0 auto;
	text-align: left;
	width: 972px;
}
#banner {
	margin: 0 0 0 6px;
	height: 210px;
	width: 962px;
	background: url(../images/lay/header_logo.jpg) no-repeat;
}

ul.main-menu {
	width: 962px;
	margin: 0 0 0 6px;
	padding: 0;
	background: transparent url(../images/lay/main_menu_bg.png) repeat-x;
}
ul.main-menu {
	height: 40px;
}
ul.main-menu li {
	z-index: 1;
}
ul.main-menu li {
	list-style: none;
	float:left; 
	position:relative;
}
ul.main-menu li a {
	display: block;
	padding: 12px 19px 11px 18px;
	border-right:1px solid #16619e;
	font-size: 12px;
	font-family: Arial, Helvetica, sans-serif;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
}
ul.main-menu li a:hover {
	background-color: #16619e;
	text-decoration: none;
}
ul.main-menu li.kontakt a {
	border-right: none;
	padding: 12px 20px 11px 20px;
	
}
ul.main-menu ul {
	position:absolute; 
	display:none;
	top:39px; 
	left:-41px;
}
ul.main-menu li ul {
	width:14.1em;
}
ul.main-menu li ul li a {
	width: 124px;
	padding: 4px 0 4px 10px;
	font-size: 11px;
	height:auto;
	line-height:19px;
	background-color: #135091;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #2a7abb;
	border-right-width: 1px;
	border-left-width: 1px;
	border-top-style: none;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #16619e;
	border-left-color: #16619e;
}
ul.main-menu  li ul a:hover {
	background-color: #16619e;
}
ul.main-menu ul ul {
	top:auto;
}
ul.main-menu li ul ul {
	left:147px; 
	top: 0; 
	margin:0;
}
.algin_l {
	float: left;
	padding: 0 10px 0 0;
}
#main_top {
	width: 972px;
	height: 19px; 
	background: url(../images/lay/main_top_bg.png) no-repeat;
}
#main_bottom {
	width: 972px;
	height: 164px;
	background: url(../images/lay/main_btn.jpg) no-repeat;
}
#mainbottom {
	width: 972px;
	height: 27px;
	background: url(../images/lay/mainbtn.jpg) no-repeat;
}
#main_bottom1 {
	width: 972px;
	height: 17px; 
	background: url(../images/lay/main_bottom_bg.png) no-repeat;
}
#main {
	background: url(../images/lay/main_middle_bg1.png) repeat-y 0 0;
}
#columns {
	padding: 10px 37px 0 37px;
}
.end_cont {
	padding: 30px 27px 0 27px;
	color: #FFFFFF;
	text-align: justify;
}
#main  #leftcolumn {
	width: 635px;
	float: left;
	text-align: justify;
}
#main  #rightcolumn {
	width: 207px;
	float: right;
	padding: 0  0 0 20px;
}

#footer_bg {
	background-color: #d7d5d6;
}
#footer {
	margin: 0 auto;
	width: 962px;
	overflow: hidden;
	padding: 10px 17px 5px 23px;
	
}
#footer_l {
	width: 223px;
	float: left;
}
#footer_r {
	width: 735px;
	float: right;
	margin: 0 0 0 0;
}
#footer_r ul {
	padding: 0;
	margin: 0;
} 
#footer_r li {
	list-style: none;
	float:left;
	padding: 0;
}
#footer_r li a {
	display: block;
	text-decoration: none;
	padding: 0 8px 0 8px;
	border-right:1px solid #baa9b9;
}
#footer_r li#kontakt a {
	border-right: none;
	padding: 0 0 0 10px;
}
#footer_r ul ul {
	width: 40px;
	position: absolute;
	border-right:none;
	background-color: #d7d5d6;
}
#footer_r ul ul li a {
	border-right:none;
	
}

#main #rightcolumn img, .galeria img {
	border: 1px solid #135091;
}
.galeria img {
	margin: 0 21px 15px 0;
}
.img1 {
	margin: 10px 0 0 64px;
}
.img2 {
	margin: 10px 0 0 4px;
}

table {
	margin: 0 0 15px 0;
}
td {
	padding: 10px;
	font-size:14px;
}
tr.bottom td {
	border-bottom: 1px solid #000000;
}
td.right {
	border-right: 1px solid #000000;
}
td {
	border-left: 1px solid #000000;
	border-top: 1px solid #000000;
}
tr.ogolem td {
	border-top: none;
	border-bottom: 1px solid #000000;
}
td.ogolem_od {
	width: 534px;
}
td.white {
	color: #FFFFFF;
}

.contact-form .form-row {
	overflow: hidden;
	clear: both;
	margin-bottom: 0.5em;
}

.contact-form label {
	display: block;
	width: 150px;
	float: left;
}

.contact-form input,
.contact-form textarea {
	float: left;
}

.contact-form input,
.contact-form textarea {
	float: left;
}
.tytul_li {
	margin: 0 0 0 -39px;
	padding: 14px 0 14px 0;
}




