/*
	Headings
------------------------------------------------*/

h1 { font-size: 2em; }

h2 { font-size: 1.5em; }

h3, h4, h5, h6 { font-size: 1em; }

h4, h5, h6 { font-weight: normal; }


/*
	Text block spacing
------------------------------------------------*/

p, dl, blockquote {
	margin: 0 0 1.5em 0;
}


/*
	Form elements
------------------------------------------------*/

input, button, select, textarea {
	font-size: 1em;
}

label, input, button, select {
	vertical-align: middle;
}


/*
	Lists
------------------------------------------------*/

ol, ul {
	list-style-position: inside;
}

#header ul,
#sitenav ol,
#sitenav ul,
#latest-offers,
#search-real-estate ul,
#search-real-estate-inner ul,
#catalog-view ul,
.sitemap,
.sitemap ul,
#sidenav ul {
	list-style-position: outside;
	list-style: none;
}


/*
	Tables
------------------------------------------------*/

table {
	border-collapse: collapse;
}


/*
	Whitespace reset
------------------------------------------------*/

body,
form,
fieldset,
#header ul,
#sitenav ol,
#sitenav ul,
#latest-offers,
#search-real-estate ul,
#search-real-estate-inner ul,
#catalog-view ul,
.sitemap,
.sitemap ul,
#sidenav ul {
	margin: 0;
	padding: 0;
}


/*
	Border reset
------------------------------------------------*/

fieldset,
a img {
	border: 0;
}


/*
	Invisibility
------------------------------------------------*/

.hidden,
legend,
#header h1,
#link-home a img,
#interact br {
	display: none;
}


/*
	Ghosting
------------------------------------------------*/

.invisible {
	visibility: hidden;
}


/*
	Visibility
------------------------------------------------*/

.show {
	display: block;
	visibility: visible;
}


/*
	Std clear fix
------------------------------------------------*/

#search-real-estate:after,
#catalog-view dl:after,
#catalog-view dd:after {
	content: ".";
	clear: both;
	display: block;
	height: 0;
	visibility: hidden;
}


/*
	Text alignment
------------------------------------------------*/

.l { text-align: left; }

.r { text-align: right; }

.c { text-align: center; }

.j { text-align: justify; }




/*
	Turtausta. Screen
------------------------------------------------*/

body {
	font: 76%/1em tahoma,verdana,arial,helvetica,sans-serif;
	background: #f2f2f2;
	color: #222;
}

a {
	color: #007940;
}

a:hover {
	color: #000;
}

table {
	font-size: 1em;
}

#wrapper {
	width: 816px;
	margin: 0 auto;
	font-size: .9em;
}

/* =header */

	#header {
		position: relative;
		width: 816px;
		padding-top: 1px;
		margin-bottom: 1px;
		border-bottom: 1px solid #cbcaca;
	}

		#link-home a {
			position: absolute;
			top: 30px;
			left: 20px;
			display: block;
			width: 150px;
			height: 70px;
		}

		#slogan,
		#header ul {
			position: absolute;
			margin: 0;
		}

		#slogan {
			left: 570px;
			bottom: 10px;
			width: 150px;
			height: 50px;
			text-indent: -9999pt;
		}

		#index #slogan {
			bottom: 30px;
		}


		#header ul {
			top: 105px;
			left: 578px;
		}

		#index #header ul {
			top: 115px;
		}

			#header li {
				float: left;
				margin: 0 5px;
			}

				#header li a {
					display: block;
					width: 25px;
					height: 20px;
					text-indent: -9999pt;
					text-decoration: none;
					background-repeat: no-repeat;
					background-position: 50% 50%;
					outline: none;
					opacity: 1;
				}

				#header li a:hover,
				#header li a.inactive {
					opacity: .5;
				}

				#header li a.inactive {
					cursor: default;
				}

				#navlink-home {
					background-image: url('/images/ico-home.gif');
				}

				#navlink-email {
					background-image: url('/images/ico-mail.gif');
				}

				#navlink-sitemap {
					background-image: url('/images/ico-sitemap.gif');
				}

	/* =sitenav */

	#sitenav {
		float: left;
		display: inline;
		width: 776px;
		margin: 0 20px 15px;
	}

	#sitenav ol {
		float: left;
	}

	#subnav {
		clear: both;
		float: left;
	}

	#languages {
		float: right;
	}

		#sitenav li {
			float: left;
		}

		#sitenav ol li {
			margin-right: 1px;
		}

		#subnav li {
			padding: 7px 0 0 0;
		}

		#languages li {
			margin-left: 1px;
		}

			#sitenav ol a,
			#languages a {
				display: block;
				padding: 0 0 0 3px;
				background: #007940 url('/images/nav-off-left.gif') no-repeat 0 100%;
				color: #fff;
				font-size: .9em;
				text-transform: uppercase;
				text-decoration: none;
			}

			#subnav a {
				padding: 0 7px;
				border-right: 1px solid #d2d2d2;
				font-size: .9em;
				text-transform: uppercase;
			}

			#subnav a.active {
				color: #000;
			}

			#subnav .last a {
				border: 0;
			}

				#sitenav ol a span,
				#languages a span {
					display: block;
					padding: 5px 7px 5px 4px;
					background: #007940 url('/images/nav-off-rite.gif') no-repeat 100% 100%;
				}

			#sitenav ol a.active,
			#sitenav ol a:hover,
			#languages a.active,
			#languages a:hover {
				background-image: url('/images/nav-on-left.gif');
			}

				#sitenav ol a.active span,
				#sitenav ol a:hover span,
				#languages a.active span,
				#languages a:hover span {
					background-image: url('/images/nav-on-rite.gif');
				}


/* =content */

	#content {
		clear: both;
		margin: 0 20px 20px;
	}

		#content p {
			line-height: 130%;
		}

/* =footer */

	#footer {
		clear: both;
		border-top: 1px solid #ccc;
		margin: 0 0 0 20px;
		padding: 10px 0;
		color: #888;
	}

		#footer em {
			float: left;
			font-style: normal;
		}

		#footer span {
			float: right;
		}

#header {
	height: 265px;

}

#index #header {
	height: 341px;
	background: url('/images/header-index.jpg') no-repeat;
}

div.default {
	background: url('/images/header-default.jpg') no-repeat;
}

div.career {
	background: url('/images/header-career.jpg') no-repeat;
}

div.contacts {
	background: url('/images/header-contacts.jpg') no-repeat;
}

div.credits {
	background: url('/images/header-credits.jpg') no-repeat;
}

div.evaluation {
	background: url('/images/header-evaluation.jpg') no-repeat;
}

div.insurance {
	background: url('/images/header-insurance.jpg') no-repeat;
}

div.partners {
	background: url('/images/header-partners.jpg') no-repeat;
}

div.projects {
	background: url('/images/header-projects.jpg') no-repeat;
}

div.topical {
	background: url('/images/header-topical.jpg') no-repeat;
}


#real-estate {
	float: left;
	width: 460px;
	padding-top: 10px;
}

	#real-estate h2 {
		min-height: 20px;
		margin-left: 5px;
		text-indent: -9999pt;
	}

	#offer,
	#look-for,
	#interact {
		float: left;
		height: 70px;
		padding-top: 1px;
	}

		#offer,
		#look-for {
			width: 165px;
			background: url('/images/box-165x70.jpg') no-repeat;
		}

		#look-for {
			margin: 0 12px;
		}

		#interact {
			width: 105px;
			background: url('/images/box-105x70.jpg') no-repeat;
		}

			#interact p {
				margin-top: 17px !important;
			}

				#interact a {
					display: block;
					margin: 0 0 6px 0;
				}

			#real-estate h3 {
				min-height: 15px;
				text-indent: -9999pt;
			}

			#offer h3,
			#look-for h3 {
				margin: 15px 0 7px 10px;
			}

			#real-estate p {
				margin: 0 0 0 10px;
			}

				#real-estate p a {
					font-size: .9em;
					font-weight: bold;
					text-transform: uppercase;
				}

				#real-estate p a.active,
				#real-estate p a.active:hover {
					color: #bbb;
					text-decoration: none;
					cursor: default;
				}

				#real-estate p span {
					margin: 0 1px;
					color: #ccc;
				}

	h3#latest-offers-title {
		clear: both;
		margin: 0 0 15px 0;
		padding: 25px 0 0 0;
	}

	#latest-offers {
		float: left;
		clear: both;
		padding: 5px 0 0 5px;
	}

		#latest-offers li {
			position: relative;
			float: left;
			display: inline;
			width: 130px;
			margin: 0 0 20px 0;
			padding-left: 85px;

		}

		#latest-offers li.fi {
			min-height: 70px;
			margin-right: 235px;
		}

		#latest-offers li.se {
			min-height: 70px;
			margin-left: -220px;
		}

		li#latest-offers-more {
			clear: both;
			float: none;
			display: block;
			width: auto !important;
			text-align: right;
		}

			li#latest-offers-more {
				font-size: .9em;
				font-family: verdana,tahoma,arial,helvetica,sans-serif;
				text-transform: uppercase;
			}

			#latest-offers h4 {
				margin: 0 0 7px 0;
				font-size: .9em;
				font-weight: bold;
				text-transform: uppercase;
			}

			#latest-offers a.r-o-link {
				position: absolute;
				top: 0;
				left: 0;
			}

			#latest-offers span {
				display: block;
				margin-top: 7px;
				font-size: .9em;

				color: #555;
			}


#search-contacts {
	margin-top: -120px;
	padding-top: 15px;
}

#index #search-contacts {
	margin-top: 0;
	float: right;
	width: 295px;
}

	#search-contacts div {
		min-height: 120px;
		margin-bottom: 15px;
		background: url('/images/block2-bg.jpg') no-repeat 0 30px;
	}

	#search-contacts h4 {
		min-height: 20px;
		margin: 0 0 0 23px;
		text-indent: -9999pt;
	}

	#search-real-estate form,
	#search-real-estate-inner form,
	#contacts p {
		margin: 30px 5px 5px 25px;
	}

		#search-real-estate li {
			float: left;
			margin: 0 0 5px 0;
		}

		#search-real-estate-inner li {
			margin: 0 0 7px 0;
		}

			#search-real-estate li label {
				float: left;
				margin-right: 12px;
			}

			li#s-r-e-submit {
				float: right;
				margin-top: .75em;
				padding-right: 12px;
			}

	#search-real-estate .inp,
	#search-real-estate select,
	#search-real-estate-inner .inp,
	#search-real-estate-inner select,
		margin-top: 4px;
	}

	#search-real-estate li {
		min-height: 37px;
	}

	#search-real-estate select,
	#search-real-estate-inner select {
		padding: 0;
	}

		#search-real-estate select option,
		#search-real-estate-inner select option {
			padding: 0;
		}

		select#city-select {
			width: 252px;
		}

		select.opt {
			width: 120px;
		}

		select.mtr {
			width: 52px;
		}

		li.ml label {
			float: left;
			margin-right: 7px;
			margin-bottom: 5px;
		}

		li.ml:after {
			content: ".";
			clear: both;
			display: block;
			height: 0;
			visibility: hidden;
		}


	#contacts p {
		font-size: 1.2em;
		line-height: 150%;
	}

		#contacts em {
			display: none;
		}

		#phone {
			display: block;
			height: 30px;
			text-indent: -9999pt;
		}


#page {
	clear: both;
}


	#primary {
		float: left;
		width: 560px;
	}

		#primary h2 {
			margin: 15px 0 20px 0;
			font-size: .9em;
			text-transform: uppercase;
		}

	.sitemap {
		margin-bottom: 30px;
	}

	.sitemap li {
		margin: 5px 0;
		font-weight: bold;
		text-transform: uppercase;
	}

		.sitemap ul {
			margin-bottom: 10px;
			margin-left: 15px;
		}

		.sitemap ul li {
			font-size: .9em;
		}

			.sitemap ul ul li {
				font-weight: normal;
			}

	#secondary {
		float: right;
		width: 175px;
	}

		#secondary p {
			margin: 0 0 10px 0;
			padding: 15px 0 15px 15px;
			background: url('../images/block5-bg.jpg') no-repeat;
		}

		#newsletter-form {
			width: 175px;
			height: 70px;
			padding-top: 1px;
			background: url('../images/box-175x70.jpg') no-repeat;
		}

			#newsletter-form fieldset {
				padding: 13px 15px 15px;
			}

				#newsletter-form label {
					font-size: .9em;
					text-transform: uppercase;
				}

				#newsletter-form input {
					margin-top: 5px;
				}

				#get-newsletter {
					margin-right: 5px;
				}

		#banners {
			margin-top: 30px;
			text-align: center;
		}

			#banners a,
			#banners object {
				display: block;
				margin: 10px auto;
			}


/*
	Misc
------------------------------------------------*/

.inp {
	border: 1px solid;
	border-color: #7b7b7b #e0e0e0 #e0e0e0 #7b7b7b;
}

input.inp,
textarea.inp {
	padding: 1px 3px;
}