.center { text-align: center; }
.left { text-align: left; }
.right{ text-align: right; }
.f-left { float: left; }
.f-right { float: right; }
.clear { clear: both; }

body{
	background-color: #e3e0cf;
	background-image: url('img/body-bg.jpg');
	background-repeat: repeat-x;
	background-attachment: fixed;
	text-align: center; /* IE-hack */
	margin: 20px;
}

body,th, td{
	font-size: 9pt;
	font-family: Helvetica, Arial, Verdana, sans-serif;
	color: #1c1c1c;
}

th,td{
	vertical-align: top;
	text-align: left;
}

tr.dark{
	background: #EBE9DD;
}
tr.bright{
	background: #EEEDE6;
}

a, a:visited{
	color: #29577b;
	text-decoration: none;
}
a:hover, a:active{
	color: #000;
}

textarea,input{
	font-size: 12px;
}
input.submit{
	background: #fa5807;
	color: #fff;
	border: 1px solid;
	border-right-color: #D94C06;
	border-bottom-color: #D94C06;
	border-top-color: #FFAC59;
	border-left-color: #FFAC59;

}

/* glowna warstwa na stronie */
#body-container{
	width: 775px;
	background: #fff;
	border: 1px solid #b9b7aa;
	overflow: auto;
	margin: 0px auto;
	padding: 3px;
	padding-top: 0px;
}

/* tabela pomocnicza, IE fix */
#help-container{
	width: 100%;
}
	#content-left{
		background: #587c8c;
		width: 180px;
		color: #fff;
		padding-top: 35px;
	}
	#content-right{
		padding: 5px;
		padding-top: 1px;
	}

/* krotki tekst z nazwa strony nad menu */
#service-info{
	background: #fff;
	text-align: center;
	vertical-align: middle;
	color: #000;
	padding-top: 20px;
	padding-bottom: 20px;
}
	#service-name{
		font-weight: bold;
		font-size: 16px;
		color: #ff4f05;
	}
	#service-info a{
		text-decoration: none;
		color: #000;
	}

/* menu po lewej stronie */
#content-menu{
	background: url('img/menu-bg.gif') repeat-y;
}
	#content-menu ul{
		list-style: url('img/li-arrow-border.gif');
		list-style-position: inside;
		margin: 0px;
		padding: 0px;
		font-weight: bold;
	}

	#content-menu ul li{
		padding: 5px;
 		padding-left: 10px;
		border-bottom: 1px solid #9fb1bb;
	}
	#content-menu li.selected{
		background: #7693a3;
	}
	#content-menu ul a{
		color: #fff;
		padding-left: 5px;
	}
	#content-menu ul a:hover{
		color: #d3e3f0;
	}
	#content-menu ul ul{
		list-style: url('img/li-arrow-full.gif');
		list-style-position: inside;
		position: relative;
		left: 0px;
		font-weight: normal;
		margin: 0px;
		padding: 5px 0px;
		border-bottom: 1px solid #9fb1bb;
	}
	#content-menu ul ul li{
		border: 0px;
		padding: 1px;
		padding-left: 15px;
	}
	#content-menu ul ul a{
		color: #d3e3f0;
	}
	#content-menu ul ul a:hover{
		color: #fff;
	}
	#flash-menu{
		text-align: center;
		padding: 10px;
	}
/* dzial "polecamy" w belce po lewej */
#service-referrer,.related{
	text-align: left;
}
	#service-referrer div, .related div{
		background: #fff;
		font-weight: bold;
		color: #2b5678;
		text-align: center;
		padding-top: 10px;
		padding-bottom: 10px;
		border-right: 1px solid #587c8c;
	}
	#service-referrer ul,.related ul{
		list-style: url('img/li-arrow.gif');
		margin: 5px;
		padding: 5px;
		padding-left: 20px;
	}
	#service-referrer ul a, .related ul a{
		color: #d3e3f0;
	}
	#service-referrer ul a:hover, .related ul a:hover{
		color: #fff;
	}

/* zdjecie w topie */
#top-photo{
	padding-right: 1px;
}
	#top-photo img{
		border: 0px;
	}

/* opis strony w topie (obok zdjecia) */
#service-description{
	padding: 5px;
	text-align: right;
	background: #f1f1f1;
	border-bottom: 1px solid #d6cfc7;
	border-left: 10px solid #f98c09;
	vertical-align: middle;
	color: #45442f;
	width: 290px;
}
	#service-description a, #service-description a:visited{
		font-weight: bold;
		color: #45442f;
	}
	#service-description a:hover{
		text-decoration: underline;
	}

/* naglowek strony (powyzej warstwy tekstu) */
#page-title{
	font-weight: bold;
	font-size: 12px;
	background: url('img/li-arrow-full-blue.gif') no-repeat;
	background-position: 10px center;
	border-bottom: 1px solid #cacfd2;
	padding: 2px;
	padding-left: 20px;
}

/* warstwa z trescia wlasciwa strony */
#page-content{
	padding: 5px;
}

/* zakonczenie warstwy z trescia strony */
#page-content-footer{
	border-top: 2px solid #577a8d;
	background: #f8f8f8;
	text-align: right;
	height: 20px;
}
	#page-content-footer img{
		border: 0px;
	}

/* stopka */
#footer{
	background: #29577b;
	border-bottom: 5px solid #204969;
	color: #4b748a;
	text-align: center;
	vertical-align: middle;
	height: 25px;
}
	#footer a, #footer a:visited{
		color: #c7d4dc;
	}

	#footer a:hover{
		color: #fff;
	}

/* panel z reklamami na stronie glownej */
#ads-main{
	width: 100%;
}
	.ad-item-1, .ad-item-2{
		padding: 5px;
		border: 1px solid #d9cbb0;
	}
	.ad-item-2{
		border: 1px solid #c9d8dd;
	}
	.ad-item-1 a, .ad-item-2 a, .ad-item-1 a:hover, .ad-item-2 a:hover, .ad-item-1 a:visited, .ad-item-2 a:visited{
		color: #000;
	}
	.ad-item-1 img, .ad-item-2 img{
		border: 3px solid #f1f1ef;
		margin: 3px;
	}
/*	.ad-item-1 div, .ad-item-2 div{
		overflow: auto;
	}		*/
	.ad-item-link{
		text-align: right;
	}
	.ad-item-link a, .ad-item-link a:hover{
		/* color: #fffdff; */
		color: #000;
/*		background: url('img/ad-bg.gif') no-repeat; */
	}

/* wyniki wyszukiwania */
.search-result-1, .search-result-2{
	padding: 5px;
	border-bottom: 1px solid #e8e2d2;
	overflow: auto;
}
	.search-result-1 img, .search-result-2 img{
		border: 0px;
		border-top: 1px solid #ff9002;
		border-left: 1px solid #ff9002;
	}
	.search-result-1{
		background: #fff;
	}
	.search-result-2{
		background: #f0f0f0;
	}

	.search-result-1 a, .search-result-2 a, .search-result-1 a:visited, .search-result-2 a:visited{
		color: #000;
	}
	.search-result-1 a:hover, .search-result-2 a:hover, .search-result-1 a:active, .search-result-2 a:active{
		color: #29577b;
	}
	.search-pages{
		text-align:center;
		color: #ccc;
		padding: 5px;
	}
	.search-pages a.selected{
		font-weight: bold;
		color: #fa5807;
	}

/* szczegoly oferty */
#offer{
	width: 100%;
	background: #f3f1e5;
}
	#offer-description{
		padding: 5px 0px;
	}
	#offer-table{
		background: #fff;
		padding: 0px;
		margin: 0px;
		width: 100%;
	}
	#offer-data td{
		padding: 2px;
		border-bottom: 1px solid #dcd8bd;
		vertical-align: middle;
	}
		.offer-table-title{
			text-align: right;
		}
		.offer-table-data{
			font-weight: bold;
		}
		#offer-name{
			color: #fa5807;
		}
	#offer-gallery{
		padding: 5px;
		width: 250px;
		text-align: center;
		vertical-align: middle;
	}
	#offer-gallery img{
		border: 1px solid #000;
		cursor: pointer;
	}
	#offer-gallery a.selected{
		font-weight: bold;
		color: #fa5807;
	}
	.offer-section-title{
		font-weight: bold;
		text-align: center;
		font-size: 12px;
		color: #555;
		padding: 5px;
		background: #E8E7DB;
		border-top: 1px solid #dcc;
		border-bottom: 1px solid #dcc;
	}
	.offer-section{
		padding: 10px;
	}
		.offer-section table{
			width: 100%;
			border: 1px solid #cdd;
			border-spacing: 1px;
		}
		.offer-section table td{
			padding: 2px;
			vertical-align: middle;
		}
	#offer-reservation{
	    width: 95%;
	}
	#offer-reservation-info{
		padding: 3px;
		color: #f00;
		text-align: center;
		font-weight: bold;
		background: #fff;
		border: 1px solid #ccc;
	}

/* galeria zdjec (w POPUP) */
#gallery{
	text-align: center;
	background: #e3e0cf;
	margin: 10px;
	padding: 0px;
}
	#photo{
		margin: auto;
		padding:5px;
		background: #fdfdfd;
		border: 1px solid #ccc;
	}
	#photo img{
		border: 1px solid #000;
		margin: 3px;
	}
	#photo a.selected{
		font-weight: bold;
		color: #fa5807;
	}

#stats{
	position: absolute;
	left: -100px;
	top: -100px;
}

#gallery-new {
    text-align: center;
    padding: 5px;
}

div#img-count {
    float: right;
    overflow: hidden;
    font-size: 16px;
    font-weight: bold;
}

div#main-img {
    clear: both;
}

div#main-img p.title{
    font-size: 13px;
    font-weight: bold;
    text-align: center;
}

div#main-img p {
    text-align: left;
}

table#thumbnails td {
    text-align: center;
    vertical-align: middle;
}

table#thumbnails td.image {
    margin: 4px 10px;
    background: black;
    padding: 5px;
    width: 160px;
    height: 120px;
}

table#thumbnails td.image img {
    border-style: none;
}