html, body {
	text-align: center;
}

body {
	margin: 0;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #4E4E4E;
}
p {
	color: #4E4E4E;
	font-size: 13px;
	line-height: 1.5em;
}
a {
	color: #8b0000;
	text-decoration: underline;
}
a:hover {
	color:  red;
	text-decoration: underline;
}
a:visited:hover {
	color: red;
	text-decoration: underline;
}
h1 {
	font-size: 20px;
	font-weight: bold;
	margin: 10px 15px 10px 15px;
	clear: both;
}
h2 {
	color: #596f84;
	font-size: 15px;
	font-weight: bold;
	clear: both;
	margin: 10px 15px 5px 15px;
}
h3 {
	font-size: 13px;
	font-weight: bold;
	margin: 5px 15px;
}
#MainFrame {
	width: 100%;
	padding: 0;
	float: left;
	background: #fff url(../images/background.jpg) repeat-y scroll center;
}
#Header {
	width: 868px;
	background: #fff url(../images/header.jpg) no-repeat 2px 20px;
	height: 124px;
	margin: 0 auto;
	text-align: left;
	z-index: 10;
}
#Logo a {
	text-indent: -5000px;
	display: block;
	width: 300px;
	height: 100px;
	margin: 0;
}
#Content {
	width: 851px;
	margin: 0 auto;
	padding: 0;
	text-align: left;
}
#Homepage {
	width: 851px;
	height: 275px;
	background: transparent url(../images/homepage.jpg) no-repeat -5px 0px;
	border-top: 1px solid #bac3c0;
}
#News {
	float: right;
	width: 140px;
	margin: 20px 20px 0 0;
	height: 250px;
	overflow: hidden;
}
#News h3 {
	margin: 0 0 5px 0;
}
#News p {
	margin: 0 0 10px 0;
	font-size: 11px;
	line-height: normal;
}
#Inside {
	padding: 20px 25px 0px 25px;
	_padding: 20px 20px 0px 20px;
	clear: both;
	background: #ddeeff url(../images/content-bg.jpg) repeat-y top center;
	border-top: 1px solid #bac3c0;
	border-bottom: 1px solid #bac3c0;
	float: left;
}
#Inside h2 {
	margin: 5px 0;
}
#Footer {
	width: 866px;
	height: 43px;
	background: #fff url(../images/footer.jpg) no-repeat bottom center;
	margin: 0 auto 20px auto;
	clear: both;
	padding: 0;
}
#Footer p {
	padding: 10px 32px 0 0;
	color: #596f84;
	font-size: 11px;
	line-height: normal;
	text-align: right;
}
/* ------------- MENU ------------------ */
#menu {
	float: left;
	margin: 20px 0 0 20px;
	width: 228px;
	z-index: 30;
}
#menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
#menu ul li a {
	background: #d5e4f1 url(../images/menu-item.jpg) no-repeat 0 0;
	padding: 8px 0 0 15px;
	display: block;
	font-weight: bold;
	border-top: 1px solid #8c9dad;
	width: 228px;
	height: 20px;
	color: #8b0000;
	text-decoration: none;
}
#menu ul li ul li a {
	background: #d5e4f1 none;
	padding: 3px 0 3px 15px;
	display: block;
	font-weight: normal;
	border-top: 1px solid #afc4d9;
	width: 180px;
	height: auto;
	color: #8b0000;
	text-decoration: none;
}
#menu ul li a:hover {
	color: red;
	border-top: 1px solid #afc4d9;
}
#menu ul li ul li a:hover {
	color: red;
	border-top: 1px solid #afc4d9;
}
#menu li {
	position: relative;
	font-size: 11px;
	z-index: 30;
}
#menu li a {
	font-size: 11px;
}
#menu ul ul {
	position: absolute;
	top: 0;
	left: 243px;
	width: 180px;
}
div#menu ul ul, div#menu ul li:hover ul {
	display: none;
}
div#menu ul li:hover ul, div#menu ul ul ul li:hover ul {
	display: block;
	z-index: 30;
}
#menu p {
	margin: 10px 18px;
	font-size: 11px;
	line-height: normal;
}
#Subpage {
	border-bottom: 1px solid #bac3c0;
	border-top: 1px solid #bac3c0;
	width: 850px;
	float: left;
	background-color: #dfefff;
}
#MenuArea {
	float: left;
	width: 290px;
	height: 275px;
	border-bottom: 1px solid #bac3c0;
	background: #f2f8d5 url(../images/subpage-menu.jpg) no-repeat -5px 0;
}
#SubRightArea {
	float: left;
	width: 560px;
	background: White url(../images/subpage-content.jpg) repeat-y 0px 0px;
	min-height: 280px;
}
#PathInfo {
	width: 560px;
	height: 20px;
	background: #bdc6b0 url(../images/pathinfo.jpg) no-repeat top left;
	text-align: right;
}
#SubRightArea #PathInfo p {
	margin: 0;
	padding: 2px 20px;
	font-size: 11px;
	color: #4E4E4E;
}
#SubRightArea p {
	margin: 0px 15px 10px 15px;
	font-size: 13px;
	line-height: 1.5em;
}
#SubRightArea li {
	font-size: 13px;
	line-height: 1.4em;
}
#SubRightArea hr {
	border: none;
	border-top: 1px dotted #dfefff;
	margin: 5px 15px;
	clear: both;
	background: none;
	height: 1px;
}
.ReferenceItem {
	margin: 10px 10px 10px 0;
	width: 270px;
	_width: 265px;
	float: left;
	font-size: 11px;
	line-height: normal;
}
.ReferenceItem img {
	float: left;
	width: 100px;
	background-color: #FDFDFD;
	padding: 3px;
	border: 1px solid #dfefff;
	margin: 0 5px 0 15px;
	vertical-align: middle;
}
.ReferenceItem h3 {
	display: inline;
	margin: 0 0 5px 0;
}
#SubRightArea .TeaserText {
	font-size: 11px;
}
#Picture {
	z-index: 20;
	width: 366px;
	height: 274px;
	margin: -22px 0 0 43px;
	_margin: -22px 0 0 8px;
	float: left;
	position: relative;
	background: transparent url(/image-randomizer/) no-repeat top left;
}
#Picture a {
	display: block;
	width: 366px;
	height: 274px;
	text-indent: -6000px;
}
.Novinky a {
	background: transparent url(../images/novinky.gif) no-repeat top left;
	text-indent: -6000px;
	width: 70px;
	height: 21px;
	display: block;
}
.Time {
	font-size: 9px;
	font-weight: bold;
	margin: 5px 15px 2px 15px;
	color: #596f84;
}
#News .Time {
	margin: 5px 0 2px 0;
}
.LeftHalf {
	float: left;
	width: 60%;
}
.RightHalf {
	float: right;
	width: 39%;
}
.ServiceList {
	float: left;
	margin: 0 11px;
	width: 110px;
	float: left;
}
.ServiceList img {
	width: 100px;
	background-color: #FDFDFD;
	padding: 3px;
	border: 1px solid #dfefff;
	margin: 0 auto;
}
.ServiceList h2 {
	font-size: 13px;
	display: inline;
	text-align: center;
	margin: 0;
}
.ServiceList p {
	margin: 5px 0;
	width: 100%;
}
.TextImageLeft {
	float: left;
	background-color: #FDFDFD;
	padding: 3px;
	border: 1px solid #dfefff;
	margin: 3px 5px 3px 3px;
}
.LeftReference {
	float: left;
	width: 55%;
}
.RightReference {
	float: right;
	width: 44%;
}
.form1 {
	
}
.form2 {
	
}
.form3 {
	width: 1px;
	height: 1px;
	visibility: hidden;
	speak: none;
}
.HeadPic {
  position: relative;
  /* hide overflow: hidden from mac ie5 \*/
	 overflow: hidden;
 	/* end hide from mac ie5 */
  margin: 0;
  padding: 0;
}
#SubRightArea .HeadPic p {
	margin: 0;
	padding: 0;
}
#SubRightArea #HeadlineProjekty p {
	padding: 0;
	margin: 0;
}
.HeadPic em {
  display: block;
  position: absolute;
  top: 0px; left: 0px;
  z-index:1; /*for Opera 5 and 6*/
}
#HeadlineProjekty, #HeadlineProjekty em {
  width: 560px;
  height: 165px;
}
#HeadlineProjekty em  {
  background: url(/images/headlines/projekty-rodinnych-domu.jpg) top left no-repeat;
}
#HeadlineProjekty  {
  font-size: 1.2em;
}
*>html #HeadlineProjekty  {
  font-size: 10px; 
}
*>html .HeadPic  {  
  position: static;
}
*>html .HeadPic em  {  
  position: static;
}
*>html .HeadPic a { 
  text-decoration: none; 
}
*>html #HeadlineProjekty em  { 
  margin-bottom: -40px;  
}
#NewsLeft {
	clear: both;
	float: left;
	margin: 20px 20px 0 0;
	height: 250px;
	overflow: hidden;
	width: 280px;
}
#NewsLeft h2 {
	margin: 10px 20px 5px 20px;
}
#NewsLeft h3 {
	margin: 0 20px 5px 20px;
}
#NewsLeft p {
	margin: 0 20px 10px 20px;
	font-size: 11px;
	line-height: normal;
}
#NewsLeft .Time {
	margin: 0 20px 2px 20px;
}