﻿body, ul, li, p, h1, h2, h3, h4 {
  margin: 0px;
  padding: 0px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: #414042;
  background: White;
}

a {
  text-decoration: none;
  color: #182986;
}

h1 {
  font-size: 14px;
  font-weight: bold;
  color: #152684;
  margin-bottom: 8px;
}

h2.contentheading {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 4px;
}

h3 {
  font-weight: bold;
  font-size: 14px;
  text-align: center;
}

h4 {
  font-size: 12px;
  font-weight: bold;
  color: #152684;
}

.fleft {
  float: left;
}

.fright {
  float: right;
}

.clear {
  clear: both;
  height: 0px;
  line-height: 0px;
}

.number2 {
  width: 50%;
  float: left;
}

/* Обёртка */
#wrapper {
  width: 1010px;
  margin: 0px auto;
}

/* Верх */
#top {
  position: relative;
}

#top img.phone {
  position: absolute;
  left: 60px;
  top: 28px;
}

/* Главное меню */
#main-menu {
  border-top: #1c2d89 7px solid;
  background: url(../images/main-menu.png) repeat-x;
  height: 56px;
  padding-top: 10px;
}

#main-menu div.moduletable {
  background: url(../images/main-menu_li.png) no-repeat left center;
  height: 38px;
  margin-left: 256px;
}

#main-menu ul {
  clear: both;
}

#main-menu li {
  float: left;
  background: url(../images/main-menu_li.png) no-repeat right center;
  list-style: none;
  padding: 0px 24px;
  line-height: 38px;
}

#main-menu a {
  font-size: 13px;
  font-weight: bold;
  color: #414042;
}

#main-menu a:hover {
  color: #1a2b87;
  text-decoration: underline;
}

/* Шапка */
#header {
  border-bottom: #172985 4px solid;
  height: 175px;
}

#header ul {
  clear: both;
}

#header li {
  list-style: none;
  float: left;
}

#header a span {
  display: none;
  color: transparent;
  visibility: hidden;
}

#header a {
  display: block;
  height: 175px;
}

#header li.item1 a {
  width: 256px;
  background: url(../images/logo.jpg) no-repeat left top;

}

#header li.item8 a {
  width: 208px;
  background: url(../images/header_house.jpg) no-repeat left top;
}

#header li.item9 a {
  width: 184px;
  background: url(../images/header_land.jpg) no-repeat left top;
}

#header li.item10 a {
  width: 170px;
  background: url(../images/header_apartaments.jpg) no-repeat left top;
}

#header li.item11 a {
  width: 192px;
  background: url(../images/header_commercial.jpg) no-repeat left top;
}

/* Основная часть */
#main {
  clear: both;
}

#main h3 {
  background: #1A2B87 url(../images/h3.png) repeat-x top;
  line-height: 25px;
  color: White;
  border-bottom: White 2px solid;
}

#main h3 a {
  color: White;
}

/* Контейнеры */
.container_right {
  background: #c4c3c3 url(images/right.png) no-repeat;
  width: 250px;
  float: left;
  min-height: 740px;
}

.container_left {
  background: #c4c3c3 url(images/left_logo.png) no-repeat;
  width: 250px;
  float: left;
  min-height: 740px;
}

.detail {
background: #c4c3c3;
}

.detail_white {
background: white;
}

/* Левая панель */
#left {
  width: 256px;
  float: left;
}

#left h3 {
  border-right: White 1px solid;
}

#left div.catalog b {
  color: #1b2d88;
}

#left div.catalog center {
  color: #1b2d88;
  border-bottom: #182986 9px solid;
  padding: 20px;
  margin-bottom: -20px;
  position: relative;
}

#left div.catalog div.select {
  background: White;
  border: #ebe9e9 1px solid;
  margin: 0px 12px;
  padding: 7px 14px;
  position: relative;
  height: 15px;
}

#left div.catalog div.active {
  color: #192b88;
}

#left div.catalog div.non-active a {
  color: #b4b4b4;
  text-decoration: underline;
}

#left div.catalog form {
  margin: 0px 0px 0px 36px;
}

#left div.catalog a.a_mgray {
  color: #231f20;
  background: url(../images/list.png) no-repeat 0px 5px;
  padding-left: 18px;
  line-height: 16px;
}

#left div.catalog select {
  width: 157px;
  height: 18px;
  font-size: 12px;
}

#left div.catalog input.inputform {
  height: 12px;
  margin-top: 4px;
}

#left div.catalog p.price {
  min-width: 16px;
  float: left;
  clear: both;
  padding-top: 4px;
}

#left div.catalog li {
  list-style: none;
}

#left div.catalog li a {
  color: #414042;
  text-decoration: underline;
  line-height: 16px;
}

#left div.catalog input.button {
  background: #1B2D88 url(../images/button.png) no-repeat center top;
  color: #e2e1e3;
  font-weight: bold;
  font-size: 14px;
  width: 81px;
  line-height: 22px;
  border: transparent 0px none;
  height: 22px;
}


/* Основной текст */
.page {
  width: 754px;
}

.page .article-content {
  padding: 35px
}

.homepage {
  width: 584px;
}

.homepage .article-content {
  width: 100%;
}

#content {
  float: left;
  background: White url(../images/content.png) repeat-x center 27px;
  min-height: 670px;
}

#content .leading {
  padding: 35px 35px 0px;
}

#content span.leading_separator {
  line-height: 0px;
}

#content .leading .article-content {
  padding: 0px;
}

#content .article_column .article-content {
  padding: 0px
}

#content .article_column {
  width: 49%;
  float: left;
}

#content .article_column .contentpaneopen {
  padding: 24px;
}

#content .article_column img {
  margin: 4px 0px;
}

#content .readon {
  float: right;
  margin-top: -14px;
  color: #a71017;
  text-decoration: underline;
  font-style: italic;
  text-transform: lowercase;
  background: url(../images/readon.png) no-repeat right 4px;
  padding-right: 16px;
}

#content .article_separator {
  line-height: 0px;
}

/* Нижний блок */
#bottom, .full_contentpaneopen {
  padding: 24px;
  margin-top: -24px;
}

#bottom .article-text, .full_contentpaneopen .article-text {
  border: #182986 0px solid;
  border-width: 10px 0px;
  padding: 12px 0px;
}

#bottom .article-text img, .full_contentpaneopen .article-text img  {
  float: left;
  padding-right: 4px;
  margin-top: -7px;
}

#bottom .article-text p, .full_contentpaneopen .article-text p {
  text-align: justify;
}

/* Правая панель */
#right {
  width: 170px;
  float: right;
}

#right h3 {
  border-left: White 1px solid;
}

#right div.moduletable {
  padding: 20px;
  margin-bottom: -20px;
}

#right p {
  text-align: justify;
  color: #231f20;
  font-size: 11px;
}

#right p.picture {
  text-align: center;
}

#right p.picture a {
  display: block;
}

#right p.picture span {
  background: url(../images/shadow.png) no-repeat -5px 2px;
  height: 120px;
  width: 130px;
  display: block;
  margin-top: -110px;
  position: relative;
  z-index: 5;
}

#right div.banneritem {
  margin-left: -10px;
}

/* Подвал */
#footer {
  border-top: #696868 1px solid;
  background: #abaaaa url(../images/footer.png) repeat-x top;
  height: 28px;
  padding-left: 256px;
  position: relative;
  margin-top: -4px;
}

#footer div.moduletable {
  background: #cac9c9 url(../images/footer_text.png) no-repeat left top;
  height: 28px;
  font-size: 11px;
}

#footer p {
  float: left;
  padding-left: 32px;
  line-height: 28px;
}

#footer a {
  color: #414042;
}

#footer a:hover {
  text-decoration: underline;
}

/* Каталог */
#catalog {
  background: url(../images/table_header.png) no-repeat center top;
  width: 717px;
  margin: 0px auto;
  font-size: 11px;
  margin-left: -15px;
}

#catalog .table-header, #catalog .table-header a {
  color: #e6e6e6;
  font-weight: bold;
}

#catalog .table-header td, #catalog tr {
  border: transparent 0px none;
}

#catalog td {
  border: transparent 0px none;
  border-bottom: #5e70c6 1px solid;
}

#catalog td.border-left {
  border-left: #5e70c6 1px solid;
}

#catalog td.border-right {
  border-right: #5e70c6 1px solid;
}

#catalog .odd {
  background: #dfdfdf url(../images/odd.png) repeat-x center top;
  line-height: 25px;
  height: 25px;
}

#catalog .even {
  background: #a4abd5 url(../images/even.png) repeat-x center top;
  line-height: 25px;
  height: 25px;
}

/* Хаки для ие6 */
* html table#catalog {
  position: relative;
  margin-left: 0px;
}

* html .page {
  width: 754px;
}

* html .page .article-content {
  padding: 35px 0px 35px 19px;
}

* html #right {
  position: relative;
  margin-right: -10px;
}

* html #content {
  height:auto !important;
  height:690px;
}

* html #content div.blog {
  width: 745px;
}