body {
  	font-family: Arial, Helvetica, Sans-serif;
  	font-size: 12px;
	padding:  0;
	margin: 0;  
	color: #333333;
	text-align: center;
}
a img{
	border: 0;
}
#first {
	margin: 0 auto;


	text-align: center;
}
#second {
	background-image: url('../img/lay/tlo.png');
	background-repeat: repeat-x;
	background-color: #ece8dc;
	/*height: 350px;*/
}
a {
	color: #333333;
}
.main_wrap{
	width: 1000px;
  	margin: 0 auto;
}

#logo {
	float: left;
}
#logo img {
	margin: 10px;
	height:93px;
}
div#menu {
	float: right;
	height: 20px;
	margin-top: 90px;
	width: 670px;
	position: relative;
	text-align: right;
}
div#menu a {
	text-transform:uppercase;
	color: #c4c4c4;
	font-family: 'Open Sans',sans-serif;
}
div#menu a:hover {
	color: #f58221;
}
/*div#menu a.strona_glowna {
	display: block;	
	width: 105px;
	height: 14px;
	background: url(../img/lay/strona_glowna.png) no-repeat;
}
div#menu a.strona_glowna:hover {
  	background-position: -105px 0px;
}
div#menu a.o_nas {
	display: block;	
	width: 37px;
	height: 14px;
	background: url(../img/lay/o_nas.png) no-repeat;
}
div#menu a.o_nas:hover {
  	color: #f58221;
}
div#menu a.biura {
	display: block;	
	width: 37px;
	height: 14px;
	background: url(../img/lay/biura.png) no-repeat;
}
div#menu a.biura:hover {
  	background-position: -37px 0px;
}
div#menu a.wirtualne_biuro {
	display: block;	
	width: 114px;
	height: 14px;
	background: url(../img/lay/wirtualne_biuro.png) no-repeat;
}
div#menu a.wirtualne_biuro:hover {
  	background-position: -114px 0px;
}
div#menu a.klienci {
	display: block;	
	width: 47px;
	height: 14px;
	background: url(../img/lay/klienci.png) no-repeat;
}
div#menu a.klienci:hover {
  	background-position: -47px 0px;
}
div#menu a.partnerzy {
	display: block;	
	width: 71px;
	height: 14px;
	background: url(../img/lay/partnerzy.png) no-repeat;
}
div#menu a.partnerzy:hover {
  	background-position: -71px 0px;
}
div#menu a.media {
	display: block;	
	width: 71px;
	height: 14px;
	background: url(../img/lay/media.png) no-repeat;
}
div#menu a.media:hover {
  	background-position: -89px 0px;
}
div#menu a.kontakt {
	display: block;	
	width: 56px;
	height: 14px;
	background: url(../img/lay/kontakt.png) no-repeat;
}
div#menu a.kontakt:hover {
  	background-position: -56px 0px;
}*/
#menu ul, #menu li {
	padding: 0;
	margin: 0;
}
#menu ul {
	list-style-type: none;
}
#menu ul a {
	text-decoration: none;
}	
#menu li {
	float: left;	
	position: relative;
	margin-left: 20px;
}
#znak3 {
	width: 9px;
	height: 5px;
	position: absolute;
	top: 22px;
	left: 50%;
	z-index: 5;
	margin-left: -5px;
	background-image: url('../img/lay/znak3.png');
	background-repeat: no-repeat;	
}
#znak4 {
	width: 6px;
	height: 9px;
	position: absolute;
	top: 23px;
	left: -1px;
	z-index: 5;
	background-image: url('../img/lay/znak4.png');
	background-repeat: no-repeat;	
}
#main {
	clear: both;
	width: 1000px;
	min-height: 450px;		
	height: auto !important;
	height: 450px;
	
	border: 1px solid #e8e8e8;
	border-right: none;
	position: relative;
	padding-bottom: 20px;
	z-index: 3;
}

#rog1 {
	position: absolute;
	top: -2px;
	left: -1px;
	height: 10px;
	width: 10px;
	z-index: 5;
}
#main_left {
	float: left;
	width: 270px;
	color: #555555;
	margin-top: 10px;
	min-height: 305px;	
}
#kafelki_pion {
	width: 220px;
	margin: 0 auto;	
	text-align: left;
}
.kafelka_pion {
	/*background-image: url('../img/lay/znak.png');
	background-repeat: no-repeat;
	background-position: right top;*/
}
.kafelka_pion a {
/*	display: block;
	height: 20px;*/
}
.kafelka_pion a.lnk1, .kafelka_pion a.lnk2, .kafelka_pion a.lnk3 {
	font-size:17px;
	color: #c4c4c4;
	font-weight:normal;
	text-decoration:none;
	font-family:'Open Sans', sans-serif;
}
.kafelka_pion img {
	margin-top: 4px;
}
.pasek_kafelki_pion {
	background-image: url('../img/lay/kropka.png');
	background-repeat: repeat-x;
	background-position: center;
	padding: 0;	
}
#txt1,#txt2,#txt3 {
  padding-top: 0;
	overflow:hidden;
	clear: both;
}
#txt1 p,#txt2 p,#txt3 p{
  margin: 0;
}
#strz {
	position: absolute;
	left: -2px;
	top: 37px;
}
#main_content {
	float: left;
	width: 727px;
	margin: 15px 0;
}

#kafelki_poziom {
	clear: both;
}
.kafelka_poziom {
	margin-top: 10px;
	width: 200px;
	float: left;
	text-align: left;
	padding: 0 24px;
	text-align: justify;
	height: 100px;
	line-height: 17px;
}
.kafelka_poziom p{
	margin:4px 0;
}

.kafelka_poziom a.title{
	font-size:16px;
	color: #c4c4c4;
	text-decoration:none;
	font-family: 'Open Sans', sans-serif;
}
.kafelka_poziom a.title span{
	
	color: #F58221;
}


.kafelka_poziom img.znak2 {
	float: right;

}
*html .kafelka_poziom {
	width: 249px;
	}
#rog2 {
	position: absolute;
	bottom: 0;
	left: -1px;
	height: 10px;
	width: 10px;
	z-index: 5;
}
#footer1 {
	height: 94px;
	margin-top: 20px;
	text-align:left;
}
#footer1a {
	height: 94px;
	margin-top:0;
	text-align:left;
	clear:left;
	border-top: 2px solid #ffffff;
}
#footer1 img, #footer1a img {
	margin: 0;
	border-right:2px solid #ffffff;
	width:141px;
	height:94px;
}
#footer1a img.dark_border{
	border-right:2px solid #898885;
}
#footer1 .last img, #footer1a .last img {
	margin: 0;
	border-right: 0 solid #ffffff;
	width:142px;
	height:94px;
}
#footer2 {
	height: 50px;
	background: #898885 url('../img/lay/footer2_szary.png') top left no-repeat;
	text-align:center;
}
#footer2a {
	height: 60px;
	background: #898885 url('../img/lay/footer2_szary.png') bottom left no-repeat;
	text-align:center;
}
#footer2 a, #footer2a a {
	color: #ffffff;
	text-decoration: none;
	text-shadow: #333333 1px 1px 1px;
	font-size:13px;
}
*html #footer2, *html #footer2a {
	height: 60px;
	}
.kafelka_footer {
	float: left;
	width: 143px;
	padding: 0;
	text-align: center;
	color: #ffffff;
}
.kafelka_footer_last{
	float: left;
	width: 141px;
	padding: 0;
	text-align: center;
	color: #ffffff;
}
*html .kafelka_footer {
	width: 141px;
}
*html .kafelka_footer_last {
	width: 140px;
}
.kafelka_footer a.middle, .kafelka_footer_last a.middle{
  display: block;
  margin-top: 0;
  text-align: center;
  width:141px;
	height: 35px;
	padding-top:15px;
}
.kafelka_footer a.middle2, .kafelka_footer_last a.middle2{
  display: block;
  margin-top: 0;
  text-align: center;
  width:141px;
	height: 30px;
	padding-top:10px;
}
#footer3 {
	height: 74px;
	width: 998px;
	border-style: solid;
	border-color: #dbd9d3;
	border-width: 0px 1px 0px 1px;	
	float: left;
	text-align: left;
}
* html #footer3 {
	width: 1000px;
}
#napis {
	padding-top: 35px;
	padding-left: 20px;
	padding-right: 20px;
	float: left;
	font-size: 12px;
}
#loga {
	float: left;
	margin-top: 18px;
}
.logo {
	width: 180px;
	float: left;
}
#footer4 {
	height: 9px;
	background-image: url('../img/lay/footer3.png');
	background-repeat: no-repeat;
	clear: both;
}
#footer5 {
	height: 100px;
}
#footer5 table td {
	width: 460px;
	padding: 19px;
  	font-family: Arial, Helvetica, Sans-serif;
  	font-size: 11px;		
}
#footer5 table td#left {
	text-align: left;
}
#footer5 table td#right {
	text-align: right;
}
#footer5 table td#right a{
  font-weight: bold;
  text-decoration: none;
}
#footer5 table td#right a:hover{
  
}

/*slider*/
.clear {
	clear:both
}

#gallery {
	position:relative;
	height:286px;
	/*-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
border:1px solid #ffffff;*/
overflow:hidden;
}
	.gallery a {
		float:left;
		position:absolute;
		top:20px;
		right:0;
	}
	
	.gallery a img {
		border:none;
	}
	
	.gallery a.show {
		z-index:500
	}

	.gallery .caption {
		z-index:600; 
		background-color:#000; 
		color:#ffffff; 
		height:60px; 
		width:100%; 
		position:absolute;
		bottom:0;
	}

	.gallery .caption .content {
		margin:5px;
		font-size: 24px;
		text-align:left;
		color: #ffffff;
		text-shadow: #000000 1px 1px 1px;
		padding: 10px 0 0 40px;
	}
	
	.gallery .caption .content h3 {
		margin:0;
		padding:0;
		color:#1DCCEF;
	}
	
.pics {  
    height:  135px;  
    width:   220px;  
    padding: 0;  
    margin:  0;  
} 
 
.pics img {  
    padding: 0;  
    width:  220px; 
    height: 135px; 
    top:  0; 
    left: 0 
} 
