div.content-view-full div.class-frontpage .articles,
div.content-view-full div.class-frontpage .projects_block {
    max-width: 940px;
    margin: 0 auto;
    margin-bottom: 50px;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}


/*  ================================
    YB
================================  */

.clearfix:before,
.clearfix:after{
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix{
    *zoom: 1;
}

img {
    height: auto;
    max-width: 100%;
    width: auto;
}

.top-banner{
    margin: 0 0 20px 0;
}

.top-banner img{
    vertical-align: top;
    max-width: 100%;
    height: auto;
}

/* ---tabs--- */

.tabs__list{
    list-style-type: none;
    position: relative;
    margin: 0 -10px 10px;
    padding-left: 0;
    zoom: 1;
}

.tabs__list:before,
.tabs__list:after {
    content: "";
    display: table;
} 
.tabs__list:after {
    clear: both;
}

.tabs__item {
    float: left;
    width: 33.3333%;
    padding: 10px;
    margin: 0;
    list-style-type: none;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.tabs__item.last_li {
    width: 14%;
}

.tabs__item_active .tabs__content{
    display: block;
}

.tabs__header a{
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    background: #bcbcc0;
    display: block;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    line-height: 26px;
    padding: 10px 0px;
    text-decoration: none;
    text-align: center;
}

.tabs__header:hover a,
.tabs__item_active .tabs__header a{
    background: #d3222a;
}

.tabs__content{
    display: none;
    position: absolute;
    left: 0;
    top: 76px;
    width: 100%;
    max-width: 767px;
}

.tabs__content-title{
    font-size: 24px;
    line-height: 30px;
    padding: 10px 15px;
    position: relative;
    color: #010204;
    font-weight: normal;
    margin: 0;
}

.tabs__content-title:before{
    display: block;
    content:"";
    width: 10px;
    height: 10px;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -5px;
    background: #d3222a;
}

.custom-btn {
    border: 1px solid #E91C2A;
    background-color: #E91C2A;
    display: block;
    color: #fff;
    text-decoration: none;
    text-align: center;
    padding: 5px;
    font-size: 16px;
    width: 100%;
    cursor: pointer;
    height: 43px;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.custom-btn:hover {
    border-color: #909090;
    color: #5d5d6c;
    background-color: #FFFFFF;
}

.custom-select {
    border: 1px solid #909090;
    color: #5d5d6c;
    background-color: #FFFFFF;
    display: block;
    text-decoration: none;
    padding: 5px;
    font-size: 14px;
    width: 100%;
    cursor: pointer;
    height: 43px;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* ---object-list--- */
.object-list{
    max-width: 767px;
    list-style-type: none;
    margin: 0 0 0 0;
}

.object-list__item{
    overflow: hidden;
    margin: 10px 0 0 0;
}

.object-list__item:first-child{
    margin-top: 0;
}

.object-list__image{
    float: left;
    margin: 0 15px 0 10px;
}

.object-list__image img{
    vertical-align: top;
    max-width: 100%;
    height: auto;
}

.object-list__describe{
    overflow: hidden;
}

.object-list__describe p{
    font-size: 12px;
    font-family: Arial,sans-serif;
    color: #64697A;
    line-height: 16px;
}

.object-list__describe h3{
    font-family: Arial,sans-serif;
    color: #64697A;
    font-size: 16px;
    margin: 0 0 10px 0;
}

/*  ================================

    Responsive layout & header & footer

  ================================ */

.header-controls{
    float: right;
    margin-top: 16px;
}

div#topmenu{
    position: relative;
    text-align: right;
    float: right;
    clear: right;
    margin: 20px 0 0 0;
}

div#topmenu div.topmenu-design{
    height: auto;
}

div#topmenu .topmenu-list {
    text-align: right;
}

div#topmenu .topmenu-item{
    margin: 0 48px 0 0;
    padding: 0;
    line-height: 1.4em;
    float: none;
    display: inline-block;
    position: relative;
    cursor: pointer;
}

div#topmenu li.lastli{
    margin-right: 0;
}

.topmenu-item {
    position: relative;
}

.topmenu-dropdown {
    display: none;
    position: absolute;
    left: 0;
    padding: 13px;
    background-color: #fff;
    min-width: 130px;
    text-align: left;

    -webkit-box-shadow: 0 1px 3px;
    box-shadow: 0 1px 3px;
}

@media screen and (min-width: 601px) and (max-width: 1024px) {

    .topmenu-item.lastli .topmenu-dropdown {
        right: 0;
        left: auto;
/*        text-align: right;*/
    }
}

div#topmenu .topmenu-dropdown .topmenu-dropdown-item {
    margin: 0 0 8px;
}

div#topmenu .topmenu-dropdown .topmenu-dropdown-item:last-child {
    margin: 0;
}

div#topmenu .topmenu-dropdown .topmenu-dropdown-link {
    padding: 0;
}

.topmenu-item.active .topmenu-dropdown {
    display: block;
}

.topmenu-toggler{
    display: none;
    position: absolute;
    top: -33px;
    right: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #BCBCC0 url(../images/menu.png) no-repeat 96% 4px;
    border: none;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: #fff;
    display: none;
    font-weight: bold;
    height: 30px;
    line-height: 30px;
    padding: 0 28px 0 10px;
    text-transform: uppercase;
    font-family: Arial,sans-serif;
    font-size: 13px;
}

/* ---footer-columns--- */
.footer-columns{
    overflow: hidden;
    margin: 10px auto;
    max-width: 940px;
    padding: 0 10px;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.footer-columns__item{
    float: left;
    width: 20%;
    padding: 0.5em;
    list-style-type: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.footer-columns__item h3{
    font-size: 16px;
    line-height: 1.2em;
    margin: 5px 0 10px;
    font-weight: normal;
    color: #222222;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}

#footer .footer-columns__item p,
.footer-columns__item address{
    font-size: 12px;
    line-height: 1.7em;
    margin: 0 0 10px 0;
    display: block;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    color: #333;
    text-align: left;
}

.footer-columns__item a{
    color: #F33;
    font-size: 11px;
    margin-bottom: 10px;
}

.footer-columns__item a[href^="mail"]{
    text-decoration: none;
}

.footer-social{
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.footer-social li{
    list-style-type: none;
    float: left;
    margin-left: 10px;
}

.footer-social li:first-child{
    margin-left: 0;
}

.tabs__list div#vis-houses div.vis-houses-category div.line-visning div.descr{
    overflow: hidden;
}

.tabs__list div#vis-houses div.vis-houses-category div.line-visning a.more{
    float: none;
    margin-left: 0;
}


.homepage-promo {
    max-width: 940px;
    margin: 30px auto 50px;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

@media screen and (max-width: 767px) {
    .homepage-promo {
        margin: 10px 0;
    }
}

.homepage-promo-wrapper {
    margin: 0 -10px;
}

.homepage-promo-block {
    width: 33.3%;
    float: left;
    padding: 0 10px;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
@media screen and (max-width: 767px) {
    .homepage-promo-block {
        float: none;
        width: auto;
        margin-bottom: 30px;
    }
}

.homepage-promo-block h3 {
    padding-left: 15px;
    position: relative;
    font-size: 16px;
    color: #222;
    font-weight: normal;
}

.homepage-promo-block h3:before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    position: absolute;
    left: 0;
    top: 5px;
    background-color: #E91C2A;
}

#main .homepage-promo-block p {
    font-size: 13px;
    color: #19161A;;
}

.homepage-promo-block .homepage_promo_link {
    border: 1px solid #909090;
    display: block;
    color: #5D5D6C;
    text-decoration: none;
    text-align: center;
    padding: 5px;
    font-size: 12px;
}

.homepage-promo-block .homepage_promo_link:hover {
    background-color: #E91C2A;
    border-color: #E91C2A;
    color: #fff;
}

.homepage-promo-block hr
{
    border-color: #BBBBBB;
    margin: 10px 0;
}

.project-contacts-m-btn {
    background: url("../images/table_th.png") repeat-x 0 0 #A4A4B2;
    color: #FFFFFF;
    font-size: 11px;
    padding: 9px;
    text-transform: uppercase;
    line-height: 14px;
    display: none;
    cursor: pointer;
}

.project-contacts-m-btn span
{
    background: url("../images/projects_closed.png") no-repeat 100% 50%;
    cursor: pointer;
    font-weight: normal;
    padding-right: 30px;
    display: block;
}

@media screen and (max-width: 767px) {
    .project-contacts-m-btn {
        display: block;
    }
    .project-contacts-list {
        display: none;
        padding: 0 9px;
    }

    .project-contacts-list h6 {
        display: none;
    }
}

@media screen and (min-width: 601px) {
    .project-contacts-list {
        display: block !important;
    }
}























    /*  ================================

    Responsive layout & header & footer

  ================================ */
@media screen and (max-width: 1024px) {  
    div#header,
    div#columns,
    div#footer{
        padding-left: 10px;
        padding-right: 10px;
    }

    /* ---header--- */

    div#topmenu {
        clear: none;
        margin: 0;
        float: none;
    }

    #header #link-home{
        width: 100%;
        background-position: center;
        margin: 0 auto;
        float: none;
    }

    .header-controls{
        float: none;
        width: 100%;
    }

    .header-controls #searchbox,
    .header-controls .social{
        margin: 3px 0;
        padding: 0;
        float: none;
    }

    .header-controls .social{
        float: left;
    }

    div#topmenu div.topmenu-design{
        margin-bottom: 0;
        border-bottom: none;
    }

    .topmenu-toggler{
        display: block;
    }

     div#topmenu .topmenu-list{
        margin-bottom: 5px;
        display: none;
    }

    div#topmenu.topmenu-expanded .topmenu-list{
        display: block;
    }

    div#topmenu .topmenu-item{
        float: none;
        margin: 0;
        width: auto;
        display: block;
        border: 1px solid #e5e5e5;
        border-top: none;
        text-align: left;
        line-height: normal;
    }

    div#topmenu .topmenu-item:first-child{
        border-top: 1px solid #e5e5e5;
    }

    div#topmenu .topmenu-item.lastli{
       border-right: 1px solid #e5e5e5; 
    }

    div#topmenu li a {
        padding: 0;
    }

    div#topmenu .topmenu-list li.selected>a {
        border: 0;
        padding: 0;
        color: inherit;
    }

    .mibile-item-trigger {
        position: absolute;
        right: 0;
        top: 0;
        border-left: 1px solid #e5e5e5;
        border-bottom: 1px solid #e5e5e5;
        width: 42px;
        height: 42px;
        display: block;
    }

    .mibile-item-trigger:after {
        content: "";
        position: absolute;
        margin: 15px 19px;
        border: 8px solid transparent;
        border-left: 8px solid #BCBCC0;
    }

    .topmenu-item.active .mibile-item-trigger:after {
        border: 8px solid transparent;
        border-top: 8px solid #BCBCC0;
        margin: 18px 12px;
    }

    div#topmenu .topmenu-item span {
        padding: 12px 8px 12px;
        font-size: 16px;
        display: block;
        height: 18px;
    }

    div#header .topmenu-dropdown {
        position: relative;
        margin: 1px 0 7px;
        width: auto;
        padding: 0 0 0 20px;
        -webkit-box-shadow: 0 0 0;
        box-shadow: 0 0 0;
    }

    div#topmenu .topmenu-dropdown-link {
        padding: 7px 0;
        font-size: 16px;
    }

    /* ---footer--- */
    .footer-columns__item{
        width: 50%;
    }

    div.social {
        display: none;
    }
}


























/*  ================================
    Media Query
//  Resolutions
//  $resolution-mobile-small: 240;
//  $resolution-mobile-standart-portrait: 320;
//  $resolution-mobile-standart-landscape: 480;
//  $resolution-tablet-standart-portrait: 768;
//  $resolution-tablet-standart-landscape: 1024;
//  $resolution-screen: 1280;
  ================================ */

@media screen and (max-width: 767px) {
    /* ---tabs--- */
    .tabs__list{
        height: auto !important;
    }

    .tabs__item, .line-visning, .tabs__item.last_li{
        width: 100%;
        float: none;
        padding-top: 0;
        padding-bottom: 0;
    }

    .tabs__header{
        padding: 10px 0;
    }

    .tabs__content{
        position: static;
    }
    .tabs__list div#vis-houses div.vis-houses-category div.line-visning{
        width: auto;
    }
    .tabs__list div#vis-houses div.vis-houses-category div.line-visning div.attribute-image,
    .tabs__list div#vis-houses div.vis-houses-category div.line-visning div.descr{
        margin-left: 0;
        float: none;
        width: 100%;
    }

    .object-list__image,
    .object-list__describe{
        float: none;
    }

    .object-list__image{
        margin: 0 0 10px 0;
    }
}

@media screen and (max-width: 500px) {

}

@media screen and (max-width: 320px) {
    .footer-columns__item{
        float: none;
        width: auto;
    }
}

.filter-form-ajax-result {
  position: relative;
  z-index: 10;
}

#tabs .filter-form-ajax-result {
    display: block;
}

.filter-form-ajax-result:after {
  display: none;
  top: 0;
  z-index: 20;
  width: 100%;
  height: 100%;
  position: absolute;
  opacity: 0.5;
  filter: alpha(opacity=50);
  background: url(../images/ajax-loader.gif) no-repeat center center #cccccc;
  content: "";
}

.filter-form-ajax-result.loading:after {
  display: block;
}