body {
	margin: 0;
	padding: 35px 0 35px 0;
	background: #b7b3ac;
	color: #6d6f71;
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
	font-size: medium;
}
p {
	margin: 1em 0 0 0;
}
p.date { text-align: left; margin-right: 1em; font-weight: bold; }
img {
	border: none;
}
a {
	color: #555;
}
a.mail { text-decoration: none; }
a:hover {
	text-decoration: underline;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	padding: 0;
	color: #444;
	font-family: "Times New Roman", Times, serif;
	font-weight: normal;
}
h2, h3 { font-size: 2.5em; line-height: 1.3em; }

/* SECTION: header */
#header {
	position: relative;
	z-index: 2;
	width: 700px;
	margin: 0 auto 0 auto;
	padding: 30px 0 30px 0;
	
	background: #253048;
	border-bottom: 20px solid #000;
}
#header:after { /* wrap fix (cant use overflow: hidden or float fix) */
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
#header h1 { /* logo */
	display: inline;
	float: left;
	margin: 0 5px 0 5px;
	padding: 0;
	width: 170px;
	height: 40px;
	background: url(../img/logo.png) 0 0 no-repeat;
}
#header h1 a { 
	display: block;
	width: 170px;
	height: 40px;
}

/* SECTION: main navigation */
ul#nav_1 { /* main menu */
	position: relative;
	z-index: 1;
	float: right;
	margin: 15px 58px 0 0; /* see IE6 hacks */
	padding: 0;
	list-style: none;
	font-size: 0.7em; /* 10px if default is 16px */
	color: #fff;
}
ul#nav_1 li { 
	display: block;
	float: left;
	position: relative; /* for dropdown positioning */
	margin: 0 0.1em 0 0;
	padding: 0;
	border-right: 1px solid white;
}
ul#nav_1 li.selected { padding: 0 0.7em 0 0.7em; font-weight: bold; }
ul#nav_1 li.selected ul{ font-weight: normal; }
ul#nav_1 li.last { border-right: none; }
ul#nav_1 li a {
	/* do not use float: left, messes up Opera v9.24 */
	display: block;
	padding: 0 0.7em 0 0.7em;
	color: #fff;
	text-decoration: none;
}
ul#nav_1 li a:hover { 	text-decoration: underline; }
ul#nav_1 li.selected a { padding: 0; }
ul#nav_1 li ul { /* sub menu */
	display: none; /* hide by default */
	margin: 0;
	padding: 0;
	list-style: none;
}
ul#nav_1 li:hover ul { 
	display: block; /* display sub menu on hover */
	position: absolute; /* dropdown doesn't stretch / move other elements  */
	top: 1.2em;
	left: 0;
	width: 140px;
	margin: 0;
	padding: 0.5em 1em 0.8em 1em;
	border-top: 0.5em solid #253048;
	background: #b7b3ac;
}
ul#nav_1 li ul li { /* sub menu items */
	display: block;
	width: 140px;
	margin: 0;
	padding: 0.2em 0 0.2em 0;
	border: none; /* negate right border */
	border-bottom: 1px solid #aaa;
	color: #666;
}
ul#nav_1 li li.selected { padding: 0; }
ul#nav_1 li ul li a { /* sub menu item links */
	margin: 0;
	padding: 0;
	color: #666;
}
ul#nav_1 li ul li a:hover { color: #000; text-decoration: none; }

/* SECTION: navigation level 2 */
ul#nav_2 {
	position: absolute;
	bottom: -20px;
	right: 58px;
	height: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.6em; /* 10px if default is 16px */
	color: #fff;
	background: #fff url(../img/nav_bg.png) 0 0 repeat-x;
}
ul#nav_2 li { 
	display: block;
	float: left;
	margin: 0 1px 0 0; /* white line */ /* see IE6 hacks */
	padding: 0;
	background: #000;
	line-height: 18px;
	height: 20px;
}
ul#nav_2 li.selected {
	padding: 0 0.7em 0 0.7em;
	background: #000 url(../img/nav_selected.png) center bottom no-repeat;
}
ul#nav_2 li.last { margin: 0; }
ul#nav_2 li a {
	float: left;
	display: block;
	padding: 0 0.7em 0 0.7em;
	color: #fff;
	text-decoration: none;
}
ul#nav_2 li a:hover {
	height: 20px;
	background: url(../img/nav_selected.png) center bottom no-repeat;
}

/* SECTION: content */
#content {
	position: relative;
	z-index: 1;
	width: 700px;
	margin: 0 auto 0 auto;
	padding: 0 0 5.3em 0;	
	font-size: 0.8em; /* 12px if default 16px */
	line-height: 1.5em;
	overflow: hidden; /* wrap fix */
	background: #fff;
}
body#layout_first #content { 	padding: 0 0 140px 0;	 background: #cbc7bd; }
body#layout_invest #content { padding: 0 0 70px 0; }
body#layout_location #content,
body#layout_commercial #content,
body#layout_sale #content,
body#layout_news #content { padding: 0 0 1em 0; }
body#layout_tloris #content { padding: 0 0 3em 0; }
body#layout_tloris .elementx { text-align: left!important; }

/* content title */
.content_header {
	width: 700px;
}
body#layout_projects .content_header { margin-bottom: 1em; }
.content_header h2 {
	float: left;
	background: #cbc7bd;
	margin: 0;
	padding: 10px 45px 5px 45px;
	color: #fff;
	line-height: 1.2em;
}
/* print, send to friend */
.content_functions {
	float: right;
	margin: 0;
	padding: 5px 58px 5px 30px; /* see IE6 hacks */
	line-height: 2.8em;
}
.content_functions a {
	text-decoration: none;
}
.content_functions a:hover {
	text-decoration: underline;
}
/* content footer */
.content_footer {
	float: left;
	width: 584px;
	margin: 0 58px 0 58px; /* see IE6 hacks */
}
/* links to catalog */
.content_links {
	float: left;
	width: 100%;
	margin: 2em 0 0 0;
	padding: 10px 0 0 0;
	border-top: 1px solid #333;
	text-align: right;
	font-size: 0.8em;
	color: #000;
}
.content_links .important {
	display: block; width: 300px; float: left; text-align: left; padding-left: 40px;
	background: url(../img/important.png) 0 0.3em no-repeat;
}
.content_links a {
	text-decoration: none;
}
.content_links a:hover {
	text-decoration: underline;
}
.decor {
	float: left;
	height: 183px;
	width: 100%;
	background: #fff;	
}
body#layout_first .decor { background: #fff url(../img/decor_doma.jpg) 0 0 no-repeat;	}
.invest_spet .decor { height: 275px; background: #000 url(../img/invest_spet.jpg) 0 0  no-repeat; }
.invest_prino .decor { height: 275px; background: #696d4a url(../img/invest_prino.jpg) 0 0  no-repeat; }
.invest_euro .decor { height: 275px; background: #02522b url(../img/invest_euro.jpg) 0 0  no-repeat; }
body#layout_location .decor { height: auto; text-align: center; }
.invest_spet_direktor .decor { height: 275px; background: #000 url(../img/invest_spet_direktor.jpg) 0 0  no-repeat; }
.invest_prino_direktor .decor { height: 275px; background: #696d4a url(../img/invest_prino_direktor.jpg) 0 0  no-repeat; }
.invest_prino_herman .decor { height: 275px; background: #696d4a url(../img/invest_prino_herman.jpg) 0 0  no-repeat; }
.invest_euro_direktor .decor { height: 275px; background: #02522b url(../img/invest_euro_direktor.jpg) 0 0  no-repeat; }
.element {
	float: left; 
	width: 564px;
	margin: 40px 68px 0 68px;
}
.element p { text-align: justify; }
body#layout_first .element { 	width: 470px;	margin: 40px 115px 0 115px; }
body#layout_projects .element {	width: 584px;	margin: 8px 58px 0 58px; }
body#layout_invest .element { 
	width: 636px;
	margin: 40px 32px 0 32px;
	overflow: hidden;
}
body#layout_invest_direktor .element {
	width: 580px;
	margin: 40px 32px 0 32px;
	overflow: hidden;
}
body#layout_tloris .element {	width: 604px;	margin: 0px 48px 0 48px; text-align: right; }

.column {
	float: left;
}
/* layout commercial */
body#layout_commercial .element .column {
	width: 322px;
	margin-left: 50px;
}
body#layout_commercial .element .column h3 {
	margin: 1em 0 0 0;
	font-size: 2em;
	border-top: 1px solid #999;
	border-bottom: 1px solid #999;
}
body#layout_commercial .element .column h3.a { margin: 0; }
body#layout_commercial .element .column_pics {
	width: 192px;
	margin: 0;
}
body#layout_commercial .element .column_pics img { margin: 0 0 1em 0;  }

/* layout questions */
body#layout_questions .element h3 {
	margin: 1em 0 0 0;
	font-size: 2em;
	border-top: 1px solid #999;
	border-bottom: 1px solid #999;
}
body#layout_questions .element h3.a { margin: 0; }
body#layout_questions .element h4 { margin: 1em 0 0 0; font-size: 1.2em; font-weight: bold; }

/* layout sale */
body#layout_sale .element .column {
	width: 319px;
	margin-left: 90px;
}
body#layout_sale .element .column h3 {
	margin: 1em 0 0 0;
	font-size: 2em;
	border-top: 1px solid #999;
	border-bottom: 1px solid #999;
}
body#layout_sale .element .column h3.a { margin: 0; }
body#layout_sale .element .column h4 { font-size: 1.5em; margin: 1em 0 0 0; }
body#layout_sale .element .column h5 { font-size: 1em; margin: 1em 0 0 0; text-align: center; font-weight: bold; }
body#layout_sale .element .column_pics {
	width: 155px;
	margin: 0;
}
body#layout_sale .element .column_pics p.a {
	padding: 0 0 1em 0;
	border-bottom: 1px #333 dotted;
}
body#layout_sale .element .column_pics p.b { margin: 3em 0 0 0; }
body#layout_sale .element .column_pics strong.a {
	color: #444;
	font-family: "Times New Roman", Times, serif;
	font-weight: normal;
	font-size: 2em;
	padding: 0 0 0.5em 0;
}
body#layout_sale .element .column_pics span { display: block; font-size: 0.8em; line-height: 1.8em; }
body#layout_sale .element .column_pics a.a { text-decoration: none; border-bottom: 1px #333 dotted; }

/* layout tloris */
body#layout_tloris .element .column {
	position: relative;
	padding-top: 2em;
	padding-bottom: 1em;
	width: 312px;
	margin-left: 0;
	text-align: left;
}
body#layout_tloris .element .column_center {
	position: relative;
	padding-top: 4em;
	padding-bottom: 1em;
	width: 100%;
	margin-left: 0;
	text-align: left;
}
body#layout_tloris .element .column h3,
body#layout_tloris .element .column_center h3 {
	margin: 1em 0 0 0;
	font-size: 1.5em;
}
body#layout_tloris .element .column h3.a,
body#layout_tloris .element .column_center h3.a { 
	position: absolute;
	top: 0;
	width: 350px;
	margin: 0; 
	padding: 0 10px 0 10px;
	background: #253048;
	color: #fff;
}
body#layout_tloris .element .column_center h3.a { right: 0; margin-right: -50px; }
body#layout_tloris .element .column_pics {
	width: 292px;
	margin: 0;
}
body#layout_tloris .element .column_pics object { margin: 0; }
body#layout_tloris .element .column img { margin: 1em 0 0 0; float: right; }
body#layout_tloris .element .column_pics img { margin: 0 0 1em 0; float: none;  }

/* layout news */
body#layout_news .element {
	margin-top: 0;
	margin-bottom: 1em;
	padding-top: 1em;
	border-top: 1px solid #999;
}
body#layout_news .element .column {
	width: 100%;
	margin-left: 0;
}
body#layout_news h3 {
	display: inline;
	float: left;
	width: 322px;
	margin: 40px 68px 0 310px;
	padding: 0.1em 0 0.1em 0;
	font-size: 2em;
	border-top: 1px solid #999;
}
body#layout_news .element .column_pics {
	width: 100%;
	margin: 0;
}
body#layout_news .element .column_pics img { margin: 1em 5px 0 0; }

body#layout_invest_direktor .element .column,
body#layout_invest .element .column { 
	width: 194px; 
	margin-right: 25px;
	padding: 0 0 20em 0;
	margin: 0 25px 0 0;
	margin-bottom: -20em!important; /* cut columns */
}
body#layout_invest_direktor .element .column p.a { font-size: 0.8em; }
body#layout_invest_direktor .element .column p strong,
body#layout_invest_direktor .element .column p span { font-size: 1.3em; }
body#layout_invest .element .last { margin: 0; margin: 0; }
body#layout_invest_direktor .element .last { width: 340px; margin: 0; margin: 0; }
body#layout_invest .element p { margin: -0.5em 0 0 0; }
body#layout_invest_direktor .element p { margin: -0.5em 0 2em 0; padding-bottom: 2.5em; border-bottom: 1px dotted #666; }
body#layout_invest_direktor .element .column p { border: none; }
body#layout_invest .element .column p { 
	padding: 1em 0 12em 0; 
	margin: 35px 0 -10em 0; /* stretch columns */
	border-right: 1px solid #666;
}
body#layout_invest .element .column p.a { font-size: 0.8em; }
body#layout_invest .element .column p strong,
body#layout_invest .element .column p span { font-size: 1.3em; }
body#layout_invest .element .last p { border: none; }

body#layout_projects .element img { float: left; margin: 0; }
body#layout_projects .element .column {
	position: relative;
	width: 278px;
	min-height: 90px;  /* see IE6 hacks */
	margin: 0 0 0 8px; /* see IE6 hacks */
	padding: 25px 15px 15px 15px;
	background: #b7b3ac;
}
body#layout_projects .element .column h3 { 
	float: left; 
	font-size: 2em; 
	line-height: 1em; 
	margin: -0.8em 0.3em 0 0;
	padding: 0.4em 0 0 0; 
	display: inline;
}
body#layout_projects .element .column h3.a { float: none; display: block; }
body#layout_projects .element .column p { margin: 0; padding: 0;  font-size: 0.8em; line-height: 1.6em; }
body#layout_projects .element .column p.a { display: block; margin: 0; padding: 0;  }
body#layout_projects .element .column a.more { 
	display: block;
	float: right;
	text-align: right;
	color: #fff;
	padding: 0 15px 0 1em;
	background: url(../img/more.png) right center no-repeat;
	text-decoration: none;
}
body#layout_projects .element .column .a a.more { position: absolute; bottom: 1em; right: 15px; }
body#layout_projects .element .column a.more:hover { text-decoration: underline; }

#content object { margin: 30px 58px 0 58px; }

#footer {
	position: relative;
	z-index: 1;
	width: 690px;
	margin: 0 auto 0 auto;
	padding: 0.5em 5px 0 5px;
	font-size: 0.6em;
	text-align: right;
}

/* SECTION: adverts */
#beyondpage { /* area beyond which horizontal scroll does not occur */
	position: absolute; /* place it to top of the window */
	z-index: 0;
	top: 0;
	min-height: 100%; /* vertical stretch over all visible area (not really necessary) */ /* see IE6 hack */
	width: 100%;
	overflow: hidden; /* the only needed thing for modern browsers */
}
#ads_side {
	position: relative; /* set to position: relative; so that it triggers vertical scroll if reklame is bigger than the window */
	top: 0;
	left: 50%;
	margin: 0 0 0 370px; /*  position by the right page border */
	padding: 155px 0 35px 0; /* align with header */ /* padding instead of margin needed for IE6 */
	width: 160px;
	text-align: center;
}

/* SECTION: new_order */
form#new_order,
#new_order fieldset,
form#inquiry,
#inquiry fieldset {
	margin: 1em 0 0 0;
	padding: 0;
	border: none;
}
#new_order label {
	display: block;
	margin: 1em 0 0 0;
	font-weight: bold;
}
#inquiry label { line-height: 3em; font-weight: bold; }
#new_order label.form_row { float: left;  }
#inquiry label.form_row { display: block; position: relative; }
#new_order label.small { width: 210px; }

#new_order input,
#inquiry input,
#new_order textarea,
#inquiry textarea {
	display: block;
	width: 420px; /* see ie_ut6.css */
	background: #fff;
	border: 1px solid #b2b2b2;
	margin: 0.2em 0 0 0;	
}
#inquiry input.text { width: 200px; display: inline; /*position: absolute;*/ top: 0.5em; /*see ie6 hacks*/ right: 220px; }
#inquiry input.radio { width: auto; display: inline; border: none; }
#inquiry input.text_line { border: none; border-bottom: 1px solid #b2b2b2; }
#new_order .form_row input { float: left; }
#new_order .small input { width: 180px; }

#new_order p { float: left; display: block; margin: 1em 0 1em 0; width: 100%; }
#new_order label { color: #253048; }
#new_order input.button,
#inquiry input.button {
	display: block;
	margin: 1em 0 0 0;
	padding: 0 1em 0 1em;
	border: 1px solid #083;
	width: 180px;
	height: 20px;
	color: #083;
	background: #cec;
}
#inquiry input.button,
#new_order input.button { clear: both;}
/* old
#inquiry input.button { 
	border: none; 
	width: auto;
	font-weight: bold;
	text-transform: uppercase!important;
	float: right;
	margin: 0 140px 0 0;
	display: inline;
	padding: 0 10px 0 0;
	background: url(../img/next.png) center right no-repeat;
}*/

/* SECTION generiuc nav */
ul.nav {
	padding: 0 0 0 1.5em;
	margin: 1em 0 0 0;
	list-style: none;
}
#layout_tloris ul.nav { list-style: square; }
#layout_tloris ul.nav li { margin: 0 0 0.5em 0; }
#layout_tloris ul.nav li.a { margin: 2em 0 0.5em 0; }
#layout_tloris ul.nav a { 
	text-decoration: none;
	padding: 0 1em 0 0;
	border-bottom: 1px solid #ccc;
}

/* CENIK table */
#layout_questions table {
	width: 495px;
	margin: 2em 0 3em 0;
	border-collapse: collapse;
}
#layout_questions table caption { display: none; }
#layout_questions table th { background: #ccc6bd; }
#layout_questions table tr td { border-bottom: 1px solid #b2b2b2; }
#layout_questions table tr.a td { border: none; }
#layout_questions table td.b,
#layout_questions table td.b a { color: green; text-decoration: none; }
#layout_questions table td.c,
#layout_questions table td.c a { color: red; text-decoration: none; }
#layout_questions table td.d,
#layout_questions table td.d a { color: #f93; text-decoration: none; }
#layout_questions table td a:hover { text-decoration: underline; }


/* general */
.nogui { display: none!important; }
.undertxt { display: block; margin: 1em 0 0 0; text-align: right; font-size: x-small!important; }
.image_sub { margin:-3.5em 0 3.5em 0; font-size: 0.8em; }
a.button_special { 
	display: block;
	font-size: 1em; 
	line-height: 1.3em; 
	padding: 0.1em 1em 0.1em 1em; 
	margin: 0 0 0 300px;
	text-align: center;
	text-decoration: none;
	border: 1px solid #083;
	color: #083;
	background: #cec;
}
a.button_special:hover { text-decoration: underline; }
