html, body, #wrap {height: 100%; margin:0px;}
#wrap {height: auto; min-height: 100%; min-width:990px;}
#main {padding-bottom: 50px;}  /* отступ должен быть равен высоте футера */
#footer {position: relative;
	margin-top: -50px; /* отрицательное значение высоты футера */
	height: 50px;
	clear:both;} 

.clearfix:after {content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;}
.clearfix {display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix { height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

body {background:#000000 url('images/bg_top.jpg') center top no-repeat; color:#ffffff; font-family: Arial; font-size:15px;}

img, div, a, input { behavior: url('stc/iepngfix.htc') }

#ermitage_holder {height:auto; min-height:100%; background: url('images/bg_bottom.jpg') center bottom no-repeat;}
#header, #splash, #main, #footer {position:relative; width:990px; left:50%; margin-left:-495px;}
#header {height:140px;}
#splash {height:240px;}
#splash_column_part {position:absolute;}

#logo, #language, #note, #contacts, #musicplayer {float:left; height:100%;}
#logo {width:300px;}
#language {width:230px;}
#note {width:158px;}
#musicplayer {width:72px;}
#contacts {width:302px; }

#splash_menu, #splash_holder {float:left; height:100%;}
#splash_menu {width:300px; background: #555555 url('images/splash_menu_blue2.png') left top no-repeat; font-family: Georgia, 'Times New Roman';}
#splash_holder {width:690px;}

#navigation, #content {float:left; height:100%;}
#navigation {width:300px;}
#navigation div {font-family: Georgia, 'Times New Roman';}
#content {width:660px; padding-bottom:50px; padding-top:35px; padding-left:30px;}

#navigation ul {margin:0px; padding:0px;}
#navigation ul li {font-size:18px; margin-bottom:30px; list-style: none; margin-left: 0px;}
#navigation ul li ul li {font-size:16px; margin-top:10px; margin-bottom:0px;}

#navigation ul li ul li a.sel {color:#8cbbce;}
#navigation ul li ul li a.sel:hover {color:#d3e7ef;}

#navigation ul li a.sel {color:#8cbbce;}
#navigation ul li a.sel:hover {color:#d3e7ef;}


#navigation ul li ul li ul {margin-left:30px;}
#navigation ul li ul li ul li {font-size:12px;}

.bold {float:right; }
.realtylnk {display:inline-block; width:90px;}

.current, .blue {color:#1882aa;}
.price {color:#1882aa;}
.pricevalue {margin-left:5px; margin-right:5px; display:inline-block; font-size:16px; color:#333333; font-weight:bold; font:bold; height:23px; width:auto; padding-left:4px;}
.pricevalue span {padding-right:4px; display:inline-block; height:23px; line-height:23px; margin-left:0; color:#777777;}
.selector100 {background:url('images/selector100.png'); display:inline-block; width:100px; height:20px; line-height:20px; font-size:10px; text-align:center;}
.selector100_blueish {background:url('images/selector100_blueish.png'); display:inline-block; width:100px; height:20px; line-height:20px; font-size:10px; text-align:center;}
.selector_rooms {background:url('images/selector100_top_blueish.png') left top no-repeat; width:100px; font-size:10px;}
.selector_rooms span {background: url('images/selector100_bot_blueish.png') left bottom no-repeat; display:block; padding-bottom:5px;}
.selector_rooms span div {background:#273940; padding-left:5px; margin-top:5px;}

.selector150_blueish {background:url('images/selector150_blueish.png'); display:inline-block; width:150px; height:20px; line-height:20px; font-size:10px; text-align:center;}
.selector_district {background:url('images/selector150_top_blueish.png') left top no-repeat; width:150px; font-size:10px;}
.selector_district span {background: url('images/selector150_bot_blueish.png') left bottom no-repeat; display:block; padding-bottom:5px;}
.selector_district span div {background:#273940; padding-left:5px; margin-top:5px;}


.object_card {background:#222222 url('images/column_big.png') right bottom no-repeat; padding:10px; border:1px solid #333333; width:900px; z-index: 9;}

a, object, embed {-moz-outline:none;}

h1, h2, h3 {font-family: Georgia, 'Times New Roman'; font-weight:normal; margin-top:0px; padding-top:0px; margin-bottom:15px;}
h1 {font-size:36px;}
h1 {font-size:28px;}

#content p {line-height:20px;}

#fast_links {margin-top:50px; margin-bottom:50px;}
#fast_link1, #fast_link2, #fast_link3 {float:left; width:200px; padding-right:20px;}

div.error {padding:10px; border:1px solid #550000; background:#330000;}
div.ok {padding:10px; border:1px solid #005500; background:#003300;}

.bggray {background:#222222;}
.pad10 {padding:10px;}
.pad20 {padding:20px;}
.bordered {border:1px solid #555555;}
.foto {border:3px solid #777777;}

.hint {position:absolute; left:0px; top:0px; width:160px;}
.hint_top {width:160px; height:17px; background:url('images/hint_top.png') no-repeat;}
.hint_mid {width:160px; background: url('images/hint_mid.png') repeat-y;}
.hint_bot {width:160px; height:11px; background:url('images/hint_bot.png') no-repeat;}
.hint_content {padding-left:10px; padding-right:10px; font-size:11px; color:#333333;}

.hint_top_bot {width:160px; height:17px; background:url('images/hint_top_bot.png') no-repeat;}
.hint_top_mid {width:160px; background: url('images/hint_top_mid.png') repeat-y;}
.hint_top_top {width:160px; height:11px; background:url('images/hint_top_top.png') no-repeat;}


.searchform {background:#222222 url('images/column_big.png') right bottom no-repeat; border:1px solid #333333;font-size:11px; padding:10px;}
.searchmorelnk {background:url('images/selector100_bot.png') right bottom no-repeat; font-size:10px; padding-bottom:3px; width:100px; cursor:pointer;}
.searchmorelnk span {display:block; width:100px; background:#333333; text-align:center; padding-top:3px;}
.searchform_tabs td {font-size:10px; padding:5px;}
.searchform_tabs td.unselected {background-color:#333333;}

.fast_realty {float:left; background:url('images/selector200_bot.png') right bottom no-repeat; font-size:10px; padding-bottom:3px; width:200px; z-index: 0;}
.fast_realty span {display:block; width:200px; background:#333333; text-align:left; padding-top:3px;}


div.clear {clear:both; margin-top:-1px; height:1px; overflow:hidden;}


#street_helper div {padding:5px; font-size:10px; cursor:pointer;}
#street_helper div.selected {background:#555555;}
#street_helper div.hovered {background-color:#666666;}

#rieltor_helper div, #street_helper div {padding:5px; font-size:10px; cursor:pointer;}
#rieltor_helper div.selected , #street_helper div.selected {background:#555555;}
#rieltor_helper div.hovered, #street_helper div.hovered {background-color:#666666;}

.form {background:#222222; border:1px solid #333333; padding:10px;}

#realtytable td {font-size:10px;}
#search_results td {font-size:11px; border-bottom:1px solid #072733;}
#search_results td.hinted {background: url("images/sort/bg.png") no-repeat 95% center; padding-right: 14px; cursor: pointer;}
#search_results td.asc {background: url("images/sort/asc.png") no-repeat 95% center;}
#search_results td.desc {background: url("images/sort/desc.png") no-repeat 95% center;}
#search_results tr:hover {background-color:#222222;}
#search_results tr.header {background-color:#072733;}
#search_results tr.header:hover {background-color:#103948;}
#search_results tr.header td:hover {background-color: green;}

#foto_holder {display:inline-block; clear:both; width:640px; background:#222222 url('images/column_big.png') right bottom no-repeat; border:1px solid #333333; padding:10px;}
.picholder_holder {float:left; text-align:center;}
.picholder {width:160px; height:160px; display:table-cell; vertical-align:middle; text-align:center;} 


#object_foto_holder {display:inline-block; clear:both; width:500px;}
.object_picholder_holder {float:left; text-align:center;}
.object_picholder {width:100px; height:100px; display:table-cell; vertical-align:middle; text-align:center;} 
.object_picture {border:3px solid #777777; margin-top:expression((100 - this.height)/2);}

.object_picholder150 {width:150px; height:150px; display:table-cell; vertical-align:middle; text-align:center;} 
.object_picture150 {border:3px solid #777777; margin-top:expression((150 - this.height)/2);}


.picture {border:3px solid #777777; margin-top:expression((160 - this.height)/2);}
.zoom_holder {padding:5px; background:#cccccc; display:block;}
.fotozoomed {}
.closer {float:right;}
.zoomtitle {color:black; font-weight:bold; font-size:14px; text-shadow:#fff 0 1px 0;}

.columned {background-image: url('images/column.png'); background-repeat: no-repeat; background-position: right bottom;}
.columned_big {background-image: url('images/column_big.png'); background-repeat: no-repeat; background-position: right bottom;}

.event {padding:10px; background: url('images/column.png') right bottom no-repeat; border:1px solid #000000;}
.event:hover {background:#111111 url('images/column.png') right bottom no-repeat; border:1px solid #222222;} 
.snippet {margin-top:5px;}
.date {color:#777777; font-size:12px;}

.people {width:650px;}
.staff_holder {float:left; width:50%;}
.staff_holder_0, .staff_holder_1, .staff_holder_2 {padding:10px; margin-bottom:10px;}
.staff_holder_0 {background-color:#222222; border:1px solid #333333;}
.staff_holder_0:hover {background-color:#333333; border:1px solid #555555;}
.staff_holder_1, .staff_holder_2 {border:1px solid #000000;}
.staff_holder_1:hover, .staff_holder_2:hover {background-color:#222222; border:1px solid #333333;}

.partner {background-color:none; border:1px solid #000000; padding:10px;}
.partner:hover {background:#111111 url('images/column.png') right bottom no-repeat; border:1px solid #222222;}

.realtyfgn {background-color:none; border:1px solid #000000; padding:10px;}
.realtyfgn:hover {background-color:#111111; border:1px solid #333333; }

.tspan {display:inline-block; width:80px; color:#8d5ab4; margin-bottom:5px;}
.tspan2 {display:inline-block; width:120px; color:#8d5ab4; margin-bottom:5px;}
.violet {color:#8d5ab4;}

.object_card td {font-size:11px;}
.ct {font-weight:bold; width:150px;color:#1882aa;}


/* Формы и поля ввода */
form {margin:0px; padding:0px;}
input.input {width:100%; font-family: Arial; font-size:11px; border:1px solid #777777; background:#333333; color:white;}
textarea.input {width:100%; font-family: Arial; font-size:11px; border:1px solid #777777; background:#333333; color:white;}
select.input {font-family: Arial; font-size:11px; border:1px solid #777777; background:#333333; color:white;}

input.btn {font-family: Arial; font-size:11px; cursor:pointer;}
input.focused, textarea.focused, select.focused {background:#555555;}
label {cursor:pointer;}

/* Ссылки */

a:link.white {color:white;}
a:visited.white {color:white;}
a:hover.white {color:#cccccc;}

.dgray {color:#222222;}
a:link.dgray {color:#222222;}
a:visited.dgray {color:#222222;}
a:hover.dgray {color:#555555;}

.lgray {color:#cccccc;}
a:link.lgray {color:#cccccc;}
a:visited.lgray {color:#cccccc;}
a:hover.lgray {color:#ffffff;}

.gray {color:#777777;}
a:link.gray {color:#777777;}
a:visited.gray {color:#777777;}
a:hover.gray {color:#cccccc;}

a:link {color:#1882aa;}
a:visited {color:#1882aa;}
a:hover {color:#38a0c7;}

/* Классы оформления */
.s10 {font-size:10px;}
.s11 {font-size:11px;}
.s12 {font-size:12px;}
.s13 {font-size:13px;}
.s14 {font-size:14px;}
.s15 {font-size:15px;}
.s16 {font-size:16px;}
.s17 {font-size:17px;}
.s18 {font-size:18px;}
.s19 {font-size:19px;}
.s20 {font-size:20px;}
.s27 {font-size:27px;}
.red {color:#ba2a2a;}
.georgia {font-family: Georgia, 'Times New Roman';}
.tt {width:120px; font-weight:bold; color:#1882aa;}
.tt2 {width:150px; font-weight:bold; font-size:11px; color:#1882aa;}
ol.services li , ol.faq li {margin-bottom:10px; }

li.ol {margin:0px; padding:0px; padding-left:50px; list-style:none; background:url('images/li_bg.png') left top no-repeat; margin-bottom:20px;}
li.ol .number {margin:0px; margin-left:-50px; margin-right:10px; display:inline-block; width:40px; height:20px; font-size:12px; font-weight:bold; text-shadow:#000 0 1px 0; text-align:center; line-height:20px;}


.nund {text-decoration:none;}
.nundo {text-decoration:none;}
.nundo:hover {text-decoration:underline;}



#special {position:relative;}
#special_snippet {position:relative; width:190px; font-family: Arial; font-size:11px; background-color: #a60016; padding: 5px;}



ul.pager {list-style:none; margin:0px; padding:0px;}
ul.pager li {font-size:10px; line-height:20px; height:20px; display:inline-block; text-align:center; float:left; width:auto;}
ul.pager li.page_left {width:60px; background:url('images/d-pager-left.png') left top no-repeat;}
ul.pager li.page_right {width:1px; background:url('images/d-pager-right.png') left top no-repeat;}
ul.pager li.page {width:30px; background: url('images/d-pager-page.png') left top repeat-x;}
ul.pager li.selected {background: url('images/d-pager-page-selected.png') left top repeat-x;}
ul.pager li.inactive {background: url('images/d-pager-page-inactive.png') left top repeat-x;}
ul.pager li.page a {width:30px; height:20px; display:block;}
ul.pager li.page:hover {background:url('images/d-pager-page-hover.png') left top no-repeat;}
ul.pager li.selected:hover {background:url('images/d-pager-page-selected.png') left top no-repeat;}
ul.pager li.inactive:hover {background: url('images/d-pager-page-inactive.png') left top repeat-x;}

ul.pager li.page50 {width:50px; background: url('images/d-pager-page-50.png') left top repeat-x;}
ul.pager li.inactive50 {background: url('images/d-pager-page-inactive-50.png') left top repeat-x;}
ul.pager li.page50:hover {background:url('images/d-pager-page-hover-50.png') left top no-repeat;}
ul.pager li.inactive50:hover {background: url('images/d-pager-page-inactive-50.png') left top repeat-x;}

ul.pager li.page65 {width:50px; background: url('images/d-pager-page-65.png') left top repeat-x;}
ul.pager li.inactive65 {background: url('images/d-pager-page-inactive-65.png') left top repeat-x;}
ul.pager li.page65:hover {background:url('images/d-pager-page-hover-65.png') left top no-repeat;}
ul.pager li.inactive65:hover {background: url('images/d-pager-page-inactive-65.png') left top repeat-x;}

#sitemap ul {list-style:none;}

.object_index {float:left; width:50%;}
.object_card_info tr td {border-bottom:1px solid #303030;}

#foto_rotator {width:500px; height:200px;}

.cct {width:130px; font-size:12px; font-weight:bold;}
.cct2 {font-size:12px; font-weight:bold;}
.best {
    background-color: rgba(250, 0, 22, 0.7);
    color: #FFFFFF;
    font-size: 11px;
    height: 23px;
    line-height: 12px;
    margin: 0 3px;
    padding: 2px;
    position: absolute;
    text-align: center;
  //  top: 127px;
    }
    
.languages {

 position: relative;
 top: 0;
 left: 0;

}

.languages div {

 float: left;
 width: 19px;
 height: 11px;

}

#map { z-index: 0; }

/* Thumb */

.content-thumb {

 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: url('images/thumb.png');
 z-index: 9999;

}

.city-changer {

 background: #072733;
 padding: 5px;
 width: 250px;
 float: right;
 position: relative;
 right: 0;
 bottom: -5px;
 text-align: center;
 border: 1px #072733 solid; /* стили рамки */
 -moz-border-radius: 5px 5px 0 0; /* закругление для старых Mozilla Firefox */
 -webkit-border-radius: 5px 5px 0 0; /* закругл. для старых Chrome и Safari */
 -khtml-border-radius: 5px 5px 0 0; /* закругл.для брауз.Konquerer сист. Linux */
 border-radius: 5px 5px 0 0; /* закругление углов для всех, кто понимает */

}

