nav > ul > li > a, #main-nav ul.level-2 li a, #page-functions li a, sidebar h4,
.home h3, .about-landing-page h3, .new-development-page h3, .new-development-head h4, .blog-sidebar h4, .agent-microsite h3,
html, button, input, select, textarea, h1.name-header, 
#cat-list h4, .listings h4,
.two-col .col h5, .agent-single-info h4, .listing-single-general h4, .listing-single-details h4, .new-development h6, .results h6,
.listing-single-agents-list h5, 
b, strong, h5, .button, .press-list .title, .large-grid .cell-head, 
.addresses b {
    font-family: 'PT Sans', sans-serif;
}

#cat-list h4, .listings h4,
.home h3, .about-landing-page h3, .new-development-page h3, .new-development-head h4, .blog-sidebar h4, .agent-microsite h3,
.two-col .col h5, .agent-single-info h4, .listing-single-general h4, .listing-single-details h4, .new-development h6, .results h6,
.listing-single-agents-list h5, 
b, strong, h5, .button, .press-list .title, .large-grid .cell-head, 
.addresses b {
    font-weight: 600;
}

.agent-microsite h1, .agent-microsite #agent-services h5, .agent-microsite .midhead, .agent-microsite .testimonial-text h5, .agent-microsite .testimonial-text strong, .agentmicrosite-press .title, .claim,
h1.name-header, h2.blog-head, h1.listing-head, .news-teaser h2, h2.subhead-header, .about-landing-page h3.about-subheader, .about-landing-page h5,
.news-teaser h2 a {
    font-family: 'Fira Sans', sans-serif;
    font-weight: 300;
}

h1, .big-text, .results li strong, .nd-case-study-list .case-studie-text strong {
    font-family: 'Lora', serif;
}

.small-quote i, .press-list li em {
    font-family: inherit !important;
    font-style: italic !important;
    font-size: 1.2em;
}

.listing-single .press-list li, .agent-single-press .press-list li {
    height: auto;
}

.agent-single {
    border-bottom: none;
}

#logo {
    margin: 20px auto 15px;
    max-height: 74px;
    width: auto;
}

#page-functions {
    margin-top: 0;
}

.listing-single-details td {
    width: 50%;
}

.button {
    cursor: pointer;
}

.header-favorite {
    position: absolute;
    right: 30px;
    bottom: 85px;
    display: none;
}

/* Картинки для каталога */
.listing-teaser .img-container,
.agent-grid-teaser .img-container,
.listing-single-agents-list .img-container,
.case-studie-img .img-container {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.slide .img-container {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto 100%;
    background-color: white;
}

.case-studie-img .img-container {
    display: block;
}

.first-item {
    position: relative;
}
.first-item .title {
    position: absolute;
    right: 0;
    top: 10%;
    z-index: 40;
}

/* Bordo - #7D0702 / #ae0c05 */
a, nav > ul > li > a:hover, #main-nav ul.level-2 li a:hover, #page-functions li a:hover::before, .share li a:hover::before, .agent-social li a:hover::before, .archive a:hover, .archive a.active, .categories a:hover, .categories a.active, .banner-social a:hover,
nav > ul li.active-trail a, #main-nav ul.level-2 li a.active, nav > ul > li > a.active,
.news-teaser h2 a:hover, .agent-grid-teaser a:hover {
    color: #ae0c05;
}

.title .image-title-link:hover,
.image-title-link:hover .title, .link-button:hover, .button:hover, .tab-menu li {
    background-color: #7D0702;
}

.tab-menu li:hover {
    background-color: #000000;
}

/* Carousel */

.carousel {
  position: relative;
    margin-bottom: 40px;
}
.carousel-inner {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.carousel-inner > .item {
  display: none;
  position: relative;
  -webkit-transition: left 0.6s ease-in-out 0s;
  -o-transition: left 0.6s ease-in-out 0s;
  transition: left 0.6s ease-in-out 0s;
}
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
  line-height: 1;
}
.carousel-inner > .active,
.carousel-inner > .next,
.carousel-inner > .prev {
  display: block;
}
.carousel-inner > .active {
  left: 0;
}
.carousel-inner > .next,
.carousel-inner > .prev {
  position: absolute;
  top: 0;
  width: 100%;
}
.carousel-inner > .next {
  left: 100%;
}
.carousel-inner > .prev {
  left: -100%;
}
.carousel-inner > .next.left,
.carousel-inner > .prev.right {
  left: 0;
}
.carousel-inner > .active.left {
  left: -100%;
}
.carousel-inner > .active.right {
  left: 100%;
}
.carousel-control {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 15%;
  opacity: 0.5;
  filter: alpha(opacity=50);
  font-size: 20px;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.carousel-control.left {
  background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);
  background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
}
.carousel-control.right {
  left: auto;
  right: 0;
  background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);
  background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
}
.carousel-control:hover,
.carousel-control:focus {
  outline: 0;
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
  filter: alpha(opacity=90);
}
.carousel-control .icon-prev,
.carousel-control .icon-next,
.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: inline-block;
}
.carousel-control .icon-prev,
.carousel-control .glyphicon-chevron-left {
  left: 50%;
  margin-left: -10px;
}
.carousel-control .icon-next,
.carousel-control .glyphicon-chevron-right {
  right: 50%;
  margin-right: -10px;
}
.carousel-control .icon-prev,
.carousel-control .icon-next {
  width: 20px;
  height: 20px;
  margin-top: -10px;
  font-family: serif;
}
.carousel-control .icon-prev:before {
  content: '\2039';
}
.carousel-control .icon-next:before {
  content: '\203a';
}
.carousel-indicators {
  position: absolute;
  bottom: -25px;
  left: 50%;
  z-index: 15;
  width: 60%;
  margin-left: -30%;
  padding-left: 0;
  list-style: none;
  text-align: center;
}
.carousel-indicators li {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 1px;
  text-indent: -999px;
  border: 1px solid #000;
  border-radius: 0px;
  cursor: pointer;
  background-color: #000 \9;
  background-color: rgba(0, 0, 0, 0);
}
.carousel-indicators .active {
  margin: 0;
  width: 12px;
  height: 12px;
  background-color: #000;
}
.carousel-caption {
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: 20px;
  z-index: 10;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.carousel-caption .btn {
  text-shadow: none;
}
@media screen and (min-width: 768px) {
  .carousel-control .glyphicon-chevron-left,
  .carousel-control .glyphicon-chevron-right,
  .carousel-control .icon-prev,
  .carousel-control .icon-next {
    width: 30px;
    height: 30px;
    margin-top: -15px;
    font-size: 30px;
  }
  .carousel-control .glyphicon-chevron-left,
  .carousel-control .icon-prev {
    margin-left: -15px;
  }
  .carousel-control .glyphicon-chevron-right,
  .carousel-control .icon-next {
    margin-right: -15px;
  }
  .carousel-caption {
    left: 20%;
    right: 20%;
    padding-bottom: 30px;
  }
}

.teaser a{
    overflow: hidden;
    display: block;
}
.teaser a img {
    display: block;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    -webkit-transition: all 0.5s ease-out;
}
.teaser a img:hover {
    -webkit-transform: scale(1.2, 1.2);
    -moz-transform: scale(1.2, 1.2);
    -o-transform: scale(1.2, 1.2);
}

.social-icon {
    display: inline-block;
    width: 22px;
    height: 22px;
    background: url(../img/icons.png) no-repeat left top;
}
.social-icon.vk:hover {
    background-position: 0 -22px;
}
.social-icon.facebook {
    background-position: -22px 0px;
}
.social-icon.facebook:hover {
    background-position: -22px -22px;
}
.social-icon.google {
    background-position: -44px 0px;
}
.social-icon.google:hover {
    background-position: -44px -22px;
}

/* 404 */
.block-404 {
    width: 90%; 
    margin: 50px 5%;
}
.block-404 h1 {
    text-align: center; 
    border-bottom: none; 
    margin-top: 10px;
}
.block-404 p {
    font-size: 18px; 
    line-height: 1.4;
}
.block-404 .col-2 {
    width: 40%; 
    float: left; 
    text-align: center; 
    margin: 25px 5%;
}
.block-404 .button {
    font-size: 1.5em; 
    line-height: 1.3; 
    padding: 0 15px;
}
.block-404 .button.link {
    color: black; 
    background: white; 
    text-decoration: underline;
}
.block-404 .button.link:hover {
    color: #ae0c05;
}
.block-404 .big-text {
    text-align: center; 
    font-size: 90px;
    line-height: 50px;
    margin-bottom: 25px;
}
.block-404 .big-text span {
    color: #ae0c05;
    font-size: 40px;
    font-family: 'PT Sans', sans-serif;
}
@media only screen and (max-width: 600px) {
    .block-404 .big-text {
        font-size: 50px;
        line-height: 40px;
    }
    .block-404 .big-text span {
        font-size: 25px;
    }
}

.search-checkoption.choice-price {
    width: 33%;
}

.rub {
    font-family: Arial;
    font-weight: bold;
}

/* New header */

nav.top-menu1 {
    margin-bottom: 0;
}
nav.top-menu1 > ul {
    height: 35px;
    border-bottom: 2px solid;
    text-align: left;
}
nav.top-menu1 > ul > li {
    padding: 0 15px;
}
nav.top-menu1 > ul > li > a {
    text-transform: none;
    letter-spacing: 0;
    color: #777777;
}
nav.top-menu1 > ul > li > a:hover, 
nav.top-menu1 > ul > li > a.active {
    color: #000000;
}

nav.top-menu2 {
    height: 30px;
}
nav.top-menu2 > ul {
    font-size: 16px;
    border-top: 2px solid;
    border-bottom: 0;
    padding: 0 15px;
}
nav.top-menu2 > ul > li {
    line-height: 30px;
    height: 30px;
}
nav.top-menu2 > ul > li > a {
    text-transform: none;
    letter-spacing: 0;
}
nav.top-menu2 > ul > li > a:hover, 
nav.top-menu2 > ul > li > a.active {
    color: #8a0000;
}
nav.top-menu2 > ul > li:first-child > a {
    padding-left: 5px;
}

.header-info {
    text-align: center;
    position: relative;
    height: 30px;
    margin: 45px 0 35px;
    background: #8a0000;
}

.logo {
    position: absolute;
    left: 50%;
    margin-left: -60px;
    margin-top: -25px;
    width: 120px;
    height: 75px;
    background: #ffffff;
}
.logo img {
    height: 75px;
}

.header-dop-info {
    padding: 5px 15px;
    color: #ffffff;
    height: 20px;
    line-height: 20px;
    font-size: 17px;
}
.header-dop-info.hdi-left {
    float: left;
    text-align: left;
}
.header-dop-info.hdi-right {
    float: right;
    text-align: right;
}
.header-dop-info a {
    color: #ffffff;
}

.header-favorite {
    right: 30px;
    top: 3px;
    bottom: auto;
    color: #000000;
    text-decoration: underline;
}

.invis {
    display: none;
}

@media only screen and (max-width: 600px) {
    header {
        padding-top: 15px;
    }
    
    .header-info {
        margin: 15px 0;
        height: auto;
    }
    .logo {
        position: relative;
        width: 100%;
        display: block;
        margin: 0;
        padding: 10px 0;
        left: 0;
        height: 95px;
    }
    .header-dop-info.hdi-left,
    .header-dop-info.hdi-right {
        float: none;
        height: auto;
    }
    
    .top-menu1 {
        top: 30px !important;
    }
    
    .invis {
        display: block;
    }
    
    .top-menu2 {
        display: none;
    }
}

/* Перенос фильтра по названию вверх */
#listings-filters > h4:first-child {
    margin-top: 0;
}
#listings_search_body_input {
    margin-bottom: 20px;
}


/* New filter inputs */

.filter-input {
    width: 115px;
    border: 1px solid #313131;
    display: inline-block;
    margin: 0 5px;
}

.filter-choice {
    display: inline-block;
    width: 22px;
    height: 22px;
    line-height: 20px;
    text-align: center;
    border: 1px solid #313131;
    margin: 0 5px 0 0;
    cursor: pointer;
}
.filter-choice.act {
    border-color: #ad1e23;
    color: #ad1e23;
}

.price-currency {
    display: inline-block;
    width: 22px;
    height: 22px;
    line-height: 20px;
    text-align: center;
    border: 1px solid #000;
    background: #000;
    margin: 0 0 5px 5px;
    cursor: pointer;
    color: #ffffff;
}
.price-currency.act {
    border-color: #ad1e23;
    background-color: #ad1e23;
}

/* Estate markers */

.listings-list li {
    position: relative;
}

.marker {
    background: rgba(255, 255, 255, 0.7) none repeat scroll 0 0;
    color: rgb(152, 0, 0);
    font-size: 16px;
    left: 0;
    line-height: 16px;
    padding: 5px 8px 6px;
    position: absolute;
    top: 15px;
}
.marker span {
    font-size: 10px;
    text-transform: uppercase;
}

/* Задолбали! */
p {
    margin: 0 0 10px;
}

/* Special offer info */

.special-info {
    position: absolute;
    left: 0;
    top: 10%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.5);
    width: 300px;
    z-index: 40;
    text-align: left;
}

.special-info table {
    border: none;
    padding: 0;
    margin: 10px 0 0;
    width: 100%;
}
.special-info table tr td {
    padding: 6px 12px;
    border-bottom: 1px solid;
    border-left: 1px solid;
    text-transform: uppercase;
    width: 50%;
    line-height: 1em;
}
.special-info table tr td:first-child {
    padding-left: 0px;
    border-left: none;
}
.special-info table tr.first-line td {
    padding-top: 0px;
}
.special-info table tr.last-line td {
    padding-bottom: 0px;
    border-bottom: none;
}

.special-info .si-price {
    font-weight: bold;
    color: #8a0000;
}

.special-info .si-text {
    margin: 10px -10px;
    padding: 5px 10px;
    color: #fff;
    background: #000;
    position: absolute;
    width: 100%;
}

/* Ссылка на страницу ЖК */
a.building_link {
	font-weight: 600;
	color: #ae0c05;
	text-decoration: underline;
}
a.building_link:hover {
	color: #000000;
}

/* Картинки в контактах */
.contacts-images {
	position: absolute;
	width: 33%;
	right: 0;
	margin-top: 100px;
}
.contacts-images img {
	width: 100%;
}
@media only screen and (max-width: 870px) {
	.contacts-images {
		display: none;
	}
}

/* Update 06/10/2015 */
.listing-single-info, .agent-single-info {
	min-height: 323px;
	position: relative;
}

/* Clearfix */

.clearfix {
    clear: both;
}

/* Designers */

body.designers-body {
    max-width: 100%;
    overflow-x: hidden;
    padding: 0;
}
.designers-body .container {
    max-width: 990px;
    margin: 0 auto;
    padding: 0 15px 50px;
}

.designers-header-bg {
    position: fixed;
    width: 100%;
    height: 180px;
    background: #ffffff;
    margin-top: -190px;
    z-index: 100;
    left: 0;
}

.designers-block {
    width: 300%;
    margin: -30px -100% 20px;
    padding: 80px 100% 30px;
    position: relative;
    background: url(./../img/designers/bg.jpg) top center no-repeat;
}
.designers-block .db-backing {
    margin: 0 80px;
    padding: 1px 0 60px;
    background-color: rgba(255, 255, 255, 0.6);
    position: relative;
}
.designers-block h1.db-title {
    line-height: 60px;
    font-size: 50px;
    font-weight: 300;
    color: #000000;
    margin: 30px 0;
    padding: 0;
    border: none;
    text-align: center;
}

.designers-block .db-content {
    margin: 0 -80px;
    position: relative;
}

.designers-block .img-container {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    overflow: hidden;
}
.designers-block .img-container img {
    max-width: 100%;
    float: left;
}
.designers-block .carousel .img-container {
    background-size: auto 100%;
}

.designers-block li {
    list-style: disc;
    list-style-position: inside;
}

.designers-block .db-preview {
    margin-top: 50px;
    width: 960px;
    position: relative;
    left: 50%;
    margin-left: -480px;
}
.designers-block .db-preview:first-child {
    margin-top: 0px;
    border: none;
}

.designers-block .db-preview .dbp-info {
    height: 356px;
    width: 300px;
    background-color: #ffffff;
    padding: 4px;
    color: #000000;
    float: left;
}
.designers-block .db-preview .dbp-name {
    margin: 15px 15px 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 26px;
}
.designers-block .db-preview .dbp-name a {
    color: #000000;
}
.designers-block .db-preview .dbp-name a:hover {
    color: #ae0c05;
}
.designers-block .db-preview .dbp-company {
    margin: 0 15px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.designers-block .db-preview .dbp-gallery {
    float: left;
    width: 660px;
    border-color: #ffffff;
    border-style: solid;
    border-width: 2px 2px 2px 0;
}
.designers-block .db-preview .dbp-gallery > div {
    float: left;
    border: 2px solid #ffffff;
    overflow: hidden;
}
.designers-block .db-preview .dbp-gallery > div.item-1 {
    float: right;
}
.designers-block .db-preview .dbp-gallery > div img {
    float: left;
}

.designers-block .db-preview .dbp-link {
    float: right;
    margin: 10px 140px 10px 10px;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
}
.designers-block .db-preview .dbp-link a {
    color: #000000;
    text-decoration: none;
    display: block;
    padding-right: 60px;
    line-height: 22px;
    background: url(./../img/designers/arrow-right.png) no-repeat center right;
}
.designers-block .db-preview .dbp-link a:hover {
    color: #ae0c05;
}

.designers-block .db-person {
    background: #ffffff;
    padding: 30px;
}
.designers-block .db-person .dbp-photo {
    float: left;
    border: 4px solid #ffffff;
    margin: -30px 35px 0 -30px;
}
.designers-block .db-person .dbp-name {
    font-size: 24px;
    font-weight: 700;
    line-height: 26px;
}
.designers-block .db-person .dbp-company {
    margin: 0 0 15px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.designers-block .db-portfolio-preview {
    width: 960px;
    margin: 30px 0;
    position: relative;
    left: 50%;
    margin-left: -480px;
}
.designers-block .db-portfolio-preview > div {
    border: 4px solid #ffffff;
    border-collapse: collapse;
    float: left;
    position: relative;
}
.designers-block .db-portfolio-preview > div.text {
    width: 540px;
    height: 227px;
    background: #ffffff;
    padding: 30px;
    overflow-y: auto;
}
.designers-block .db-portfolio-preview > div.text .t-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}
.designers-block .db-portfolio-preview > div.item-3,
.designers-block .db-portfolio-preview > div.item-4 {
    float: right;
}
.designers-block .db-portfolio-preview > div.item-2 {
    border-top-width: 0px;
}
.designers-block .db-portfolio-preview > div.item-3,
.designers-block .db-portfolio-preview > div.item-4,
.designers-block .db-portfolio-preview > div.item-5 {
    border-width: 0px 4px 4px 0px;
}
.designers-block .db-portfolio-preview > div.item-1 img,
.designers-block .db-portfolio-preview > div.item-4 img {
    width: 412px;
}
.designers-block .db-portfolio-preview > div.item-2 img {
    width: 312px;
}
.designers-block .db-portfolio-preview > div.item-3 img,
.designers-block .db-portfolio-preview > div.item-5 img {
    width: 220px;
}
.designers-block .db-portfolio-preview > div .dbp-hover {
    display: none;
    background-color: rgba(0, 0, 0, 0.5);
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    text-align: center;
}
.designers-block .db-portfolio-preview > div:hover .dbp-hover {
    display: block;
}
.designers-block .db-portfolio-preview > div .dbp-hover span {
    position: relative;
    top: 45%;
}

.designers-block .db-project-info {
    width: 630px;
    background-color: #ffffff;
    padding: 20px 30px;
}
.designers-block .db-project-info .dbi-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3em;
    padding: 0;
    margin: 0 0 20px;
    border: none;
}

.designers-block .db-project-next {
    position: absolute;
    top: 70px;
    right: 115px;
    font-size: 18px;
    font-weight: 700;
}
.designers-block .db-project-next a {
    color: #000000;
    text-decoration: none;
    display: block;
    padding: 0 0 35px;
    background: url(./../img/designers/arrow-right.png) no-repeat bottom center;
}
.designers-block .db-project-next a span {
    text-decoration: underline;
    font-weight: 700;
}

.designers-block .carousel {
    border: 4px solid #ffffff;
}
.designers-block .carousel-control img {
    position: absolute;
    top: 50%;
    margin-top: -25px;
    margin-left: -25px;
}
.designers-block .carousel-inner > .item {
    -webkit-transition: .6s ease-in-out left;
    transition: .6s ease-in-out left;
}

.designers-breadcrumb {
    position: absolute;
    top: -25px;
    color: #ffffff;
    font-size: 14px;
    list-style: none;
}
.designers-breadcrumb > li {
  display: inline-block;
}
.designers-breadcrumb > li + li:before {
  content: "/\00a0";
  padding: 0 5px;
}
.designers-breadcrumb a {
    color: #ffffff;
}
.designers-breadcrumb a:hover {
    text-decoration: underline;
}

.db-page-navigation {
    position: absolute;
    bottom: -45px;
    width: 100%;
    text-align: center;
}

@media only screen and (max-width: 1006px) and (min-width: 853px) {
    .designers-block .db-preview {
        width: 806px;
        margin-left: -404px;
    }
    .designers-block .db-preview .dbp-gallery {
        float: left;
        width: 506px;
    }
   .designers-block .db-preview .dbp-gallery > div.item-3, 
   .designers-block .db-preview .dbp-gallery > div.item-4 { 
       display: none;
    }
    
    .designers-block .db-person .dbp-photo img {
        width: 512px;
    }
    .designers-block .db-portfolio-preview {
        width: 812px;
        margin-left: -406px;
    }
    .designers-block .db-portfolio-preview > div.text {
        width: 454px;
        height: 193px;
    }
    .designers-block .db-portfolio-preview > div.item-1 img,
    .designers-block .db-portfolio-preview > div.item-4 img {
        width: 347px;
    }
    .designers-block .db-portfolio-preview > div.item-2 img {
        width: 263px;
    }
    .designers-block .db-portfolio-preview > div.item-3 img,
    .designers-block .db-portfolio-preview > div.item-5 img {
        width: 185px;
    }
    
    .designers-block .db-project-info {
        width: 580px;
    }
    .designers-block .db-project-next {
        right: 5%;
    }
}

@media only screen and (max-width: 852px) and (min-width: 600px) {
    .designers-block .db-preview {
        width: 590px;
        margin-left: -295px;
    }
    .designers-block .db-preview .dbp-gallery {
        float: left;
        width: 288px;
    }
   .designers-block .db-preview .dbp-gallery > div.item-1, 
   .designers-block .db-preview .dbp-gallery > div.item-3, 
   .designers-block .db-preview .dbp-gallery > div.item-4 { 
       display: none;
    }
    .designers-block .db-preview .dbp-link {
        margin-right: 30px;
    }
    
    .designers-block .db-person .dbp-photo img {
        width: 400px;
    }
    .designers-block .db-portfolio-preview {
        width: 662px;
        margin-left: -331px;
    }
    .designers-block .db-portfolio-preview > div.text {
        width: 372px;
        height: 158px;
    }
    .designers-block .db-portfolio-preview > div.item-1 img,
    .designers-block .db-portfolio-preview > div.item-2 img,
    .designers-block .db-portfolio-preview > div.item-3 img,
    .designers-block .db-portfolio-preview > div.item-4 img,
    .designers-block .db-portfolio-preview > div.item-5 img {
        width: auto;
    }
    
    .designers-block .db-project-info {
        width: 100%;
    }
    .designers-block .db-project-next {
        position: relative;
        top: auto;
        right: 0;
        width: 100%;
        text-align: center;
    }
    .designers-block .db-project-next a {
        display: inline-block;
        padding: 0 40px 0 0;
        background-position: right center;
    }
}

@media only screen and (max-width: 600px) {
    .designers-header-bg {
        display: none;
    }
    .designers-block {
        width: 100%;
        margin: 0 0 20px;
        padding: 0;
        background: none;
    }
    .designers-block .db-backing {
        margin: 0;
        padding: 1px 0;
        background-color: none;
        position: relative;
    }
    .designers-block .db-content {
        margin: 0;
    }
    .designers-block .db-preview {
        width: auto;
        position: static;
        margin-left: 0;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid;
    }
    .designers-block .db-preview .dbp-gallery {
        display: none;
    }
    .designers-block .db-preview .dbp-link {
        margin-right: 10px;
    }
    .designers-block .db-preview .dbp-info {
        height: auto;
    }
    .db-page-navigation {
        position: static;
        width: 100%;
        text-align: center;
        margin-left: 0px;
    }
    
    .designers-block .db-person .dbp-photo {
        float: none;
        width: 100%;
        margin: -30px 0 15px;
    }
    .designers-block .db-person .dbp-photo img {
        width: 100%;
    }
    .designers-block .db-portfolio-preview {
        width: auto;
        margin-left: 0;
        left: 0;
        margin-top: 0;
    }
    .designers-block .db-portfolio-preview > div.text {
        width: 100%;
        height: auto;
    }
    .designers-block .db-portfolio-preview > div.item-1,
    .designers-block .db-portfolio-preview > div.item-2,
    .designers-block .db-portfolio-preview > div.item-3,
    .designers-block .db-portfolio-preview > div.item-4,
    .designers-block .db-portfolio-preview > div.item-5 {
        width: 100%;
        border-width: 2px;
    }
    .designers-block .db-portfolio-preview > div.item-1 img,
    .designers-block .db-portfolio-preview > div.item-2 img,
    .designers-block .db-portfolio-preview > div.item-3 img,
    .designers-block .db-portfolio-preview > div.item-4 img,
    .designers-block .db-portfolio-preview > div.item-5 img {
        width: 100%;
        height: 200px;
    }
    
    .designers-block .db-project-info {
        width: 100%;
    }
    .designers-block .db-project-next {
        position: relative;
        top: auto;
        right: 0;
        width: 100%;
        text-align: center;
    }
    .designers-block .db-project-next a {
        display: inline-block;
        padding: 0 40px 0 0;
        background-position: right center;
    }
}

/* Art&RealEstate block */

.teaser.teaser-2 li {
    margin-bottom: 20px;
}

.teaser.teaser-2 li {
	width:49.5%;
	float:left;
	margin-right:1%;	
	overflow:hidden;
}

.teaser.teaser-2 li:nth-of-type(3n+3) {
	margin-right: 1%;
}

.teaser.teaser-2 li:nth-of-type(2n+2) {
	margin-right: 0%;
}

@media only screen and (max-width: 520px) {
    .teaser.teaser-2 li {
        float: none;
        margin-right: 1%;
        overflow: hidden;
        width: 100%;
    }
}

/* Update 2015-12-07 Slick gallery */

.estate-gallery-preview {
	margin: 0 20px 20px;
	position: relative;
}
.estate-gallery-preview * {
	outline: none;
}
.estate-gallery-preview .img-container {
	background-size: cover; 
	margin: 0 5px;
}
.estate-gallery-preview .img-container img {
	height: 90px;
	cursor: pointer;
}
.estate-gallery-preview .slick-arrow {
	position: absolute;
	top: 0;
	height: 90px;
	width: 20px;
	background: transparent;
	border: none;
	outline: none;
	color: transparent;
	font-size: 0px;
}
.estate-gallery-preview .slick-arrow.slick-prev {
	left: -20px;
}
.estate-gallery-preview .slick-arrow.slick-prev::before {
	content: "<";
	font-size: 20px;
	line-height: 90px;
	color: #000;
}
.estate-gallery-preview .slick-arrow.slick-next {
	right: -20px;
}
.estate-gallery-preview .slick-arrow.slick-next::before {
	content: ">";
	font-size: 20px;
	line-height: 90px;
	color: #000;
}

@media only screen and (max-width: 600px) {
	.estate-gallery-preview {
		display: none;
	}
}

/* Ссылка на карту в карточке товара */
@media only screen and (min-width: 600px) {
	#map_label {
		top: -200px; 
		position: relative;
	}
}

/* Update 2016-02-04 Ссылка на карту в фильтре */
.filter-view {
    display: inline-block;
    line-height: 20px;
    text-align: center;
    border: 1px solid #313131;
    background-color: #313131;
    color: #ffffff;
    margin: 0 5px 0;
    padding: 5px 18px;
}
.filter-view.act {
    border-color: #ad1e23;
    background-color: #ad1e23;
}

/* Update 2016-02-09 Шапка и стрелка */
/* Update 2016-0-30 Опять убирается сворачивание шапки
header {
    position: relative;
    padding-right: 0;
}
main {
    margin-top: 10px;
}
#header-menu-1 {
    background: #ffffff;
    height: 30px;
    position: relative;
}
.sticky-wrapper {
	position: relative;
	z-index: 10;
}
.top-menu1, .top-menu2 {
    background: #ffffff;
    position: relative;
    z-index: 100;
}
nav.top-menu2 {
    height: 35px;
}
.header-favorite {
    z-index: 100;
}
*/
#toTop {
    position:fixed;
    z-index:9999;
    bottom:10px;
    right:10px;
    background: url(../img/totop.png);
    cursor: pointer;
    color: #666;
    text-decoration: none;
    width:60px;
    height: 59px;
}
#filter-content.one-wide input {
    display: inline-block;
    width: 100%;
}

/* Update 2016-02-09 New image slider */
.slick-slide:focus {
    outline: none;
}
.estate-gallery-block {
    width: 100%;
    position: relative;
    margin-bottom: 20px;
    clear: both;
}
.estate-gallery-nav {
    background: rgba(255,255,255,0.4);
    position: absolute;
    width: 100%;
    bottom: 0;
    padding: 5px 0;
}
.estate-gallery-preview {
    margin: 0 10%;
    position: relative;
}
@media only screen and (max-width: 600px) {
    .estate-gallery-nav {
        position: relative;
    }
    .estate-gallery-preview {
        margin: 0 10px;
    }
}
.estate-gallery-preview .slick-slide img {
    border: 1px solid #ffffff;
    height: 70px;
    cursor: pointer;
}
.estate-gallery-preview .slick-slide.slick-current img {
    border-color: #8a0000;
}
.estate-gallery .img-container {
    background-size: auto 100%; 
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #efefef;
}
.estate-gallery-preview .img-container {
    background-size: cover; 
    background-position: center center;
    background-repeat: no-repeat;
    margin: 0;
}
.estate-gallery-preview .img-container img {
    height: 90px;
    cursor: pointer;
}
.estate-gallery .slick-arrow {
    position: absolute;
    top: 50%;
    margin-top: -15px;
    height: 30px;
    width: 52px;
    background: transparent;
    border: none;
    outline: none;
    color: transparent;
    font-size: 0px;
    z-index: 10;
}
.estate-gallery .slick-arrow.slick-prev {
    left: 0;
    background-image: url(/bitrix/templates/.default/img/arrow-left.png);
}
.estate-gallery .slick-arrow.slick-next {
    right: 0;
    background-image: url(/bitrix/templates/.default/img/arrow-right.png);
}
.estate-gallery-preview .slick-arrow {
    position: absolute;
    top: 50%;
    margin-top: -45px;
    height: 90px;
    width: 20px;
    background: transparent;
    border: none;
    outline: none;
    color: transparent;
    font-size: 0px;
}
.estate-gallery-preview .slick-arrow.slick-prev {
    left: -20px;
}
.estate-gallery-preview .slick-arrow.slick-prev::before {
    content: "<";
    font-size: 20px;
    line-height: 90px;
    color: #000;
}
.estate-gallery-preview .slick-arrow.slick-next {
    right: -20px;
}
.estate-gallery-preview .slick-arrow.slick-next::before {
    content: ">";
    font-size: 20px;
    line-height: 90px;
    color: #000;
} 

/* Update 2016-02-12 Табы и построчный список недвижимости */
.tab-links {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 10px 0;
    font-size: 11px;
    color: #000000;
    text-align: center;
}
.tab-links li {
    display: inline-block;
    margin: 0 5px;
    cursor: pointer;
}
.tab-links li.active {
    color: #8a0000;
}
.tab-links li span {
    text-decoration: underline;
}
@media (min-width: 768px) { 
    .tab-links {
        float: right;
        margin-top: -30px;
    }
}


.estate-list .estate-list-item {
    border-bottom: 1px solid #bfbfbf;
    margin: 10px 0;
    padding-bottom: 10px;
}
.estate-list .estate-list-img {
    float: left;
    margin-left: 10px;
}
.estate-list .estate-list-img img {
    height: 50px;
}
.estate-list .estate-list-img .img-container {
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.estate-list .estate-list-info {
    margin-left: 100px;
    margin-bottom: 5px;
}
.estate-list .estate-list-info .color {
    white-space: nowrap;
    color: #8a0000;
    font-weight: bold;
}
.estate-list .estate-list-more {
    clear: left;
    text-align: center;
}
.estate-list .estate-list-more a {
    display: inline-block;
    color: #000000;
    padding: 0px 15px;
    border: 1px solid #000000;
    font-weight: bold;
    line-height: 2em;
    font-weight: bold;
}
.estate-list .estate-list-more a:hover {
    color: #8a0000;
    border-color: #8a0000;
}
@media (min-width: 768px) { 
    .estate-list {
        display: table;
        width: 100%;
        table-layout: fixed;
    }
    .estate-list .estate-list-item {
        display: table-row;
        font-weight: inherit;
        margin: 0;
        padding: 0;
    }
    .estate-list .estate-list-item > div {
        border-bottom: 1px solid #bfbfbf;
    }
    .estate-list .estate-list-img {
        display: table-cell;
        width: 90px;
        text-align: left;
        vertical-align: top;
        padding: 8px 0;
        float: none;
    }
    .estate-list .estate-list-info {
        display: table-cell;
        text-align: left;
        vertical-align: middle;
        padding: 5px 0;
        margin: 0;
    }
    .estate-list .estate-list-more {
        display: table-cell;
        width: 120px;
        text-align: right;
        vertical-align: middle;
        padding: 5px 0;
        font-weight: inherit;
    }
}

/* Плашка в ЖК */
.development-info {
    text-align: left;
    margin-bottom: 10px;
}

.development-info table {
    border: none;
    padding: 0;
    margin: 5px 0 0;
    width: 100%;
}
.development-info table tr td {
    padding: 6px 12px;
    border-top: 1px solid;
    border-left: 1px solid;
    width: 50%;
    line-height: 1em;
}
.development-info table tr td:first-child {
    padding-left: 0px;
    border-left: none;
}
.development-info table tr.first-line td {
    border-top: none;
}

.development-info .di-text {
    margin: 5px 0px;
    padding: 5px;
    color: #fff;
    background: #000;
    width: 100%;
    text-transform: uppercase;
}
.development-info .di-text.di-gift {
    background: #7d0702;
}

.development-info .di-button {
    margin: 10px 0px;
    text-align: right;
}

@media (min-width: 768px) { 
    .development-info {
        float: right;
        width: 33%;
    }
}

/* Update 2016-03-21 Top-menu3 */
.top-menu3 {
/*    border-top: 2px solid;*/
    background: #ffffff;
    padding: 10px 15px;
}
.top-menu3:after {
    content: "";
    display: block;
    clear: both;
}
.top-menu3 #search-site {
    border: none;
    padding: 0;
}
.top-menu3 #search-site:after {
    content: "";
    display: none;
}
@media only screen and (max-width: 600px) {
    .top-menu3 #search-site {
        width: auto;
    }
}

/* Update 2016-04-12 Multilevel menu */
nav.main-nav ul.level-2 {
	padding-top: 30px;
}
nav.main-nav > ul {
	border-bottom: none; 
	border-top: 2px solid;
}
@media only screen and (max-width: 600px) {
	nav.main-nav ul.level-2 {
		padding-top: 5px;
	}
}

/* Update 2016-06-03 Правки после перезаливки стилей */

body.map-page {
	padding: 0 15px;
}

.main-nav ul.level-2 li {
    background: rgba(255,255,255,0.9);
}

@media only screen and (max-width: 1024px) {
	.listings-list .placeholder {
		display: block !important;
	}
	#listings-filters {
	    display: block !important;
	}
}

@media only screen and (max-width: 768px) {
	.listings-list .placeholder {
		display: none !important;
	}
	#listings-filters {
	    display: none !important;
	}
}

/* Update 2016-06-30 Polaroid products */

.listings-list li.listing-teaser {
    box-shadow: 0 0 5px rgba(0,0,0,0.4);
    border: 10px solid #ffffff;
}

/* Update 2016-06-27 District map */

.show-mobile {
    display: block;
}
.show-desktop {
    display: none;
}

@media only screen and (min-width: 992px) {
    .show-mobile {
        display: none;
    }
    .show-desktop {
        display: block;
    }
}

.district-block {
    position: relative;
}
.district-block img {
    width: 100%;
}
.district-area {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0;
}
.district-area.active {
    opacity: 1 !important;
}
.district-link {
    position: absolute;
    cursor: pointer;
    display: block;
    width: 7%;
    height: 5%;
    background: rgba(0, 0, 0, 0);
}

a.district-show {
    background: #7D0702;
    color: #ffffff;
    padding: 5px 10px;
    display: inline-block;
    margin: 5px 0 0;
}
a.district-show:hover {
    background: #000000;
}

/* Update 2016-07-21 Metro */

.metro-block {
    overflow: hidden;
}
.metro-block .metro-block__map,
.metro-block .metro-block__info {
    float: none;
    width: 100%; 
}
.metro-block .metro-block__map {
    position: relative;
}
.metro-block .metro-block__map img {
    width: 100%;
}
.metro-block .metro-block__map span {
    position: absolute;
    width: 16px;
    height: 16px;
    background: url(./../img/metro/point.png) no-repeat center center transparent;
    left: 50%;
    top: 50%;
    margin: -9px 0 0 -8px;
    cursor: pointer;
    opacity: 0;
}
.metro-block .metro-block__map span:hover {
    opacity: 0.5;
}
.metro-block .metro-block__map span.active {
    opacity: 1;
}
.metro-block .metro-block__list {
    list-style: none;
    margin: 15px 0 5px;
    padding: 0;
}
.metro-block .metro-block__list li {
    display: inline-block;
    padding: 0px 6px;
    line-height: 25px;
    white-space: nowrap;
    border: 1px solid #000000;
    margin: 0 10px 10px 0;
}
.metro-block .metro-block__list li span {
    display: inline-block;
    width: 15px;
    height: 15px;
    background: url(./../img/metro/close.png) top center transparent;
    position: relative;
    bottom: -3px;
    margin-left: 3px;
    cursor: pointer;
}
.metro-block .metro-block__list li span:hover {
    background-position: bottom center;
}
.metro-block .metro-block__list-count {
    margin: 10px 0;
    font-weight: bold;
}
.metro-block .metro-block__btn button {
    margin: 0;
    display: none;
}
.metro-block .metro-block__select {
    margin: 0 0 25px;
}
.metro-block .metro-block__select ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.metro-block .metro-block__select ul li {
    margin: 0 0 7px;
}
.metro-block .metro-block__select span {
    color: #ae0c05;
    border-bottom: 1px dashed;
    cursor: pointer;
}
.metro-block .metro-block__select span:hover {
    border-bottom-color: transparent;
}
.metro-block .metro-block__check {
    margin: 0 0 25px;
}
.metro-block .metro-block__check label {
    display: block;
    margin: 0 0 5px;
}
.metro-block .metro-block__check input {
    width: auto;
    position: relative;
    bottom: -2px;
}
@media (min-width: 992px) {
    .metro-block .metro-block__map,
    .metro-block .metro-block__info {
        float: left;
    }
    .metro-block .metro-block__map {
        width: 668px;
    }
    .metro-block .metro-block__info {
        width: calc(100% - 668px);
    }
}

/* Update 2016-10-19 Новый футер */

footer.no-border {
    border: none;
}

.inner-border-top {
    border-top: 2px solid;
    padding-top: 10px;
}

footer a.adding {
    display: block;
    margin: 5px 0;
}

footer .inner.inner-font-md {
    font-size: 16px;
}

.block-footer-link {
    overflow: hidden;
    text-align: left;
    margin-bottom: 25px;
    padding-top: 25px;
}
.block-footer-link ul {
    float: left;
    width: 22.9%;
    margin-right: 2.8%;
}
.block-footer-link ul:nth-child(4n) {
    margin-right: 0;
}
.block-footer-link a,
.block-footer-link span {
    display: block;
    color: #333333;
    border: 1px #DCDCDC solid;
    background-color: #FFFFFF;
    background-image: none;
    font-family: "PT Sans";
    font-weight: normal;
    font-size: 13px;
    font-style: normal;
    text-decoration: none;
    line-height: 26px;
    padding: 0px 5px 0px 5px;
    margin-bottom: 5px;
}
.block-footer-link .title a,
.block-footer-link .title span {
    font-weight: bold;
    background-color: #F5F5F5;
    color: #ae0c05;
}
.block-footer-link a:hover {
    color: #FFFFFF;
    border: 1px #8A0000 solid;
    background-color: #8A0000;
}

.block-app-to-sms form {
    margin: 0 0 15px 0;
}
.block-app-to-sms form > * {
    margin: 0px 2px 5px;
    display: inline-block;
}
.block-app-to-sms form img {
    height: 26px;
    vertical-align: bottom;
}
.block-app-to-sms form input {
    width: auto;
    max-width: 100%;
}
.block-app-to-sms form input[type="submit"] {
    background: #808080;
    border-color: #808080;
    color: #ffffff;
    padding-left: 10px;
    padding-right: 10px;
}
.block-app-to-sms form input[type="submit"]:hover {
    background: #ae0c05;
    border-color: #ae0c05;
}

footer .social-links {
    background: #711B1D;
    height: 30px;
    margin: 15px 0;
}
footer .social-links a {
    background: #711B1D;
    color: #ffffff;
}
footer .social-links li {
    display: block;
    float: left;
    font-size: 23px;
    line-height: 30px;
    height: 30px;
    width: 30px;
    border-right: 2px solid #fff;
}
footer .social-links li:last-child {
    border-right: none;
}

footer .search {
    position: absolute;
    top: 39px;
    right: 10px;
}

footer .search input {
    width: auto;
    display: inline-block;
}

@media (max-width: 767px) {
    .addresses p {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .block-footer-link {
        display: none;
    }
}

@media (max-width: 450px) {
    footer .search {
        display: none;
    }
}

/* Update 2016-11-29 Developments */

.listings.row  {
    font-size: 14px;
}
.listings.row #listings-filters {
    width: auto;
    padding: 0;
}

.dev-item .img-container {
    box-shadow: 0 0 5px rgba(0,0,0,0.4);
    border: 10px solid #ffffff;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.dev-item h4 {
    text-transform: none;
    letter-spacing: normal;
    font-weight: bold;
    font-size: 1.2em;
}
.dev-item table {
    font-size: 13px;
    width: 100%;
    margin: 10px 0;
}
.dev-item table tr td:first-child {
    padding-right: 5px;
}
.dev-item .btn-block {
    margin-top: 20px;
}
.dev-item .btn {
    display: inline-block;
    color: #FFFFFF;
    text-transform: uppercase;
    background-color: #808080;
    font-size: 15px;
    text-decoration: none;
    padding: 0px 15px;
    line-height: 30px;
}
.dev-item .btn:hover {
    color: #FFFFFF;
    background-color: #8A0000;
}

@media (max-width: 767px) {
    .dev-item .img-container {
        margin-bottom: 15px;
    }
}


.video-container {
	position: relative;
	height: 0;
	overflow: hidden;
    padding-bottom: 56.25%;
    padding-top: 30px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.video-container iframe,
.video-container object,
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Update 2017-03-29 Крутилка с цитатами */
.carousel-height {
    height: 270px;
}
.carousel-height .item {
    height: 270px;
    line-height: 270px;
}
.carousel-height .item .post-block {
    line-height: normal;
    vertical-align: middle;
    display: inline-block;
}

.post-block {
    font-size: 1.1em;
}
.post-block .post-block--title {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 10px;
}
.post-block .post-block--text {
    font-style: italic;
}
.post-block .post-block--sign {
    margin-bottom: 0px;
}