fbody.background {
    background: #393c45;
}
section.head {
    background: #393c45;
}
#wrapper.static.foot {
    margin: 0 auto -74px;
}
#wrapper.static.h100 {
    height: 100% !important;
}
#wrapper.static #uslugi {
    width: 100%;
    height: 100%;
    position: relative;
    top: auto;
    display: table;
    background: none;
}
#wrapper.static #content {
    min-height: 100%;
}
#wrapper.auto_height #content {
    height:auto;
}

section.uslugi .nums > div {
    width: 268px;
    padding: 0 15px;
    font-size: 16px;
    margin-bottom: 10px;
}
section.uslugi .nums > div:nth-child(5n) {
    margin-right: 0;
}
#slider {
    list-style: none;
    overflow: hidden;
    position: absolute;
    z-index: 0;
    margin: 0;
    left:0;
    padding: 0;
    width: 100%;
    height: 100%;
}
#slider li {
    position: absolute;
    left: 0;
    top: 0;
    display: none;
    overflow: hidden;
    width: 100%;
    height: 100%;
}
#slider li img {
    width: 100%;
    position: relative;
    display: block;
    min-height: 100%;
}
#slider li.active {
    display: block;
}
#cost ul.submenu {
    height: 182px;
}
#filter ul.submenu li span {
    font-size: 10px;
    text-transform: none;
}
.cost_graph {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
    margin-top: 20px;
    padding-bottom: 20px;
}
.cost_graph li {
    float: left;
    background: #ededed;
    margin-right: 10px;
    width: 23%;
    height: 4px;
    text-align: right;
}
.cost_graph li.active {
    background: #0e97c1;
}
.cost_graph li span.costlabel {
    position: relative;
    top: 8px;
    left: 35px;
    color: #737373;
    font-size: 10px;
    text-transform: uppercase;
}
#wrapper.portfolio .object table tr > td {
    width: 33%;
}
#wrapper.portfolio .object table tr > td:first-child {
    padding: 0px 10px 25px 0;
    width: 30%;
}
#wrapper.portfolio .object table tr > td:last-child {
    padding: 0px 0 25px 0;
}
section.uslugi {
    position: relative;
    top: -60px;
    display: table;
    width: 100%;
    background: url('../img/head_us_bg.jpg') no-repeat center top;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
#wrapper.main section.uslugi .content {
    display: table-cell;
    opacity: 0;
    vertical-align: middle;
}
section.uslugi h1 {
    font-size: 28pt;
    text-align: center;
    color: #fff;
    font-family: 'AvenirNextCyrDemi';
    margin-bottom: 26px;
    text-transform: uppercase;
}
section.uslugi .nums {
    width: 1380px;
    margin: 0 auto;
}
section.uslugi .nums > div {
    float: left;
    text-align: center;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: #fff;
}
section.uslugi .content {
    position: relative;
    top: 0px;
    height: auto;
}
#wrapper.main footer.footer {
    position: absolute;
    bottom: 0;
    left: 0;
}
footer.footer {
    position: relative;
    background: #fff;
    width: 100%;
    min-height: 74px;
    font-size: 14px;
    font-family: 'AvenirNextCyrDemi', Arial, Helvetica, sans-serif;
}
footer.footer.fixed {
    position: fixed;
}
#wrapper.portfolio .sm-container {
    padding-bottom: 0;
}
.f-wrap {
    width: 960px;
    margin: 0 auto;
    overflow: hidden;
    padding-top: 28px;padding-bottom: 28px;
}
.f-wrap.w100 {
    width: 100%;
}
.f-wrap.p54 {
    padding-left: 54px;
    padding-right: 54px;
}
.f-wrap > div {
    float: left;
    width: 25%;
    padding: 0 10px;
    text-align: right;

}
.f-wrap > div:first-child {
    text-align: left;
    padding-left: 0;
}
.f-wrap > div:last-child {
    padding-left: 0;
    padding-right: 0;
    float: left;
}
.footer a {
    color:#0099bf;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}
@media screen and (max-width: 1366px) and (min-width: 1281px) {
    section.uslugi .nums {
        width: 1180px;
        overflow: hidden;
    }
    section.uslugi .nums > div {
        width: 228px;
    }
    #wrapper.main #info .title {
        font-size: 20pt;
        line-height: 28pt;
    }
    #wrapper.main #info .imgwrap {
        line-height: 108px;
        height: 108px;
    }
    #wrapper.static #info .title {
        font-size: 20pt;
        line-height: 28pt;
    }
    #wrapper.static #info .imgwrap {
        line-height: 108px;
        height: 108px;
    }
}

@media screen and (max-width: 1280px) and (min-width: 1024px) {
    .cost_graph li {
        width: 23%;
    }
    #wrapper.portfolio .object table tr > td:first-child {
        padding: 0 10px 25px 0;
    }
    #wrapper.portfolio .object table tr > td:last-child {
        padding: 0 0 25px 10px;
    }
    section.uslugi .nums {
        width: 1024px;
    }
    section.uslugi .nums > div {
        width: 196px;
        font-size: 14px;
        line-height: 22px;
    }
    section.head .nums span.num {
        font-size: 70px;
    }
    section.head .nums>div {
        font-size: 16px;
    }
    #wrapper.main #info .title {
        font-size: 20pt;
        line-height: 28pt;
    }
    #wrapper.main #info .imgwrap {
        line-height: 108px;
        height: 108px;
    }
    #wrapper.static #info .title {
        font-size: 20pt;
        line-height: 28pt;
    }
    #wrapper.static #info .imgwrap {
        line-height: 108px;
        height: 108px;
    }
}


@media screen and (max-device-width: 1024px) and (min-device-width: 768px) {
    #wrapper.static.foot {
        margin: 0 auto -126px;
    }
    #slider li img {
        width: auto;
        min-height: 100%;
        left: -50%;
    }
    section.uslugi {
        top: 0;
    }
    section.uslugi .nums .imgwrap, #info .imgwrap {
        line-height: 123px;
        height: 123px;
    }
    body.uslugi-bg {
        background: #393c45 url('../img/head_us_bg_m.jpg') no-repeat center;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }
    section.head .nums {
        width: 690px;
    }
    section.uslugi .nums > div {
        width: 335px;
    }
    section.uslugi .nums > div:nth-child(2n) {
        margin-right: 0;
    }
    #wrapper.portfolio .object table tr > td:first-child {
        padding: 0 15px 25px 0;
        width: 33%
    }
    #wrapper.portfolio .object table tr > td:last-child {
        padding: 0 0 25px 0;
    }
    section.uslugi .nums {
        width: 680px;
        margin: 10px auto;
        overflow: hidden;
    }
    section.uslugi .nums > div {
        margin-top: 2px;
        margin-bottom: 10px;
        height: 200px;
    }
    .f-wrap {
        width: 100%;
    }
    .f-wrap.p54, .f-wrap.m-p15 {
        padding-left: 30px;
        padding-right: 30px;
    }
    .f-wrap > div  {
        width: 100%;
        padding: 0;
        text-align: left;
        font-size: 12px;
        padding-bottom: 6px;
    }

    .f-wrap > div:last-child {
        padding-bottom: 20px;
    }

}
@media screen and (max-device-width: 1024px) and (min-device-width: 768px) and (orientation: landscape) {
    #slider li img {
        width: 100%;
        min-height: 100%;
        left: 0!important;
    }
    section.head .nums {
        width: 930px;
    }
    #wrapper.static.foot {
        margin: 0 auto -76px;
    }

    section.uslugi .nums {
        width: 930px;
    }
    section.uslugi .nums > div {
        width: 300px;
    }

    section.uslugi .nums > div:nth-child(3n) {
        margin-right: 0;
    }
    .footer .f-wrap > div {
        width: 100%;
        padding: 0;
        font-size: 12px;
        text-align: center;
    }
    /*	.footer .f-wrap > div.email {
                    width: 14%;
                    text-align: right;
            }
            .footer .f-wrap > div.phone {
                    width: 14%;
            }
            .footer .f-wrap > div.address {
                    width: 50%;
                    text-align: center;
            }
            .footer .f-wrap > div.copyright {
                    width: 22%;
            }*/
    .f-wrap > div:first-child {
        text-align: center;
    }
    .f-wrap > div:nth-child(2) {
        width: 50%;
        text-align: right;
        padding-right: 6px;
    }
    .f-wrap > div:nth-child(3) {
        width: 50%;
        text-align: left;
        padding-left: 6px;
    }
    .f-wrap {
        width: 100%;
    }
    .f-wrap.p54, .f-wrap.m-p15 {
        padding-left: 30px;
        padding-right: 30px;
    }
    .f-wrap.p54 > div {
        font-size: 10px;
    }

}
@media screen and (max-device-width: 767px) and (min-device-width: 360px)   and (orientation: landscape) {
    #slider li img {
        width: 100%;
        height: auto!important;
        left: 0!important;
        min-height: 100%;
        max-width: 100%;
    }
}
@media screen and (max-device-width: 767px) and (min-device-width: 360px) {
    #ismobile {
        display: block;
    }
    #wrapper.static.foot {
        margin: 0 auto -36px;
    }
    body.uslugi-bg {
        background: #393c45 url('../img/head_us_bg_m.jpg') no-repeat center;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        -webkit-background-attachment: fixed;
        -moz-background-attachment: fixed;
        -o-background-attachment: fixed;
        background-attachment: fixed;
    }
    #slider li img {
        width: auto;
        left: -50%;
        height: 100%;
    }
    section.head .nums {
        width: 100%;
    }
    section.uslugi h1 {
        font-size: 22pt;
    }
    section.uslugi .nums {
        width: 100%;
        overflow: hidden;
    }
    section.uslugi {
        top: 0;
        border-top: 2px solid #fff;
    }
    #wrapper.main section.uslugi {
        padding-bottom:134px;
    }
    #wrapper.main section.uslugi .content {
        display: block;
        padding-top: 60px;

    }
    #wrapper.static.h100 {
        height: auto!important;
    }
    #infowrapp {
        display: block;
    }
    #wrapper.main footer.footer {
        /*position: relative;*/
    }
    .cost_graph li {
        width: 21.55555%;
    }
    #wrapper.portfolio .object table tr > td {
        width: 100%;
    }
    #wrapper.portfolio .object table tr > td:first-child {
        padding-bottom: 25px;
        width: 100%;
    }
    #wrapper.portfolio .object table tr > td:last-child {
        padding: 0;
        width: 100%;
        padding-bottom: 25px;
    }
    section.uslugi .footer .f-wrap > div {
        width: 100%;
        /*padding-left: 24px;*/
    }
    .f-wrap {
        width: 100%;
    }
    .f-wrap.p54, .f-wrap.m-p15 {
        padding-left: 15px;
        padding-right: 15px;
    }
    .f-wrap > div  {
        width: 100%;
        padding: 0;
        font-size: 12px;
        text-align: center;
        padding-bottom: 6px;
    }
    .f-wrap > div:first-child {
        text-align: center;
    }
    .f-wrap > div:nth-child(2) {
        width: 50%!important;
        text-align: right;
        padding-right: 4px;
    }
    .f-wrap > div:nth-child(3) {
        width: 50%!important;
        text-align: left;
        padding-left: 4px;
    }
    .f-wrap > div:last-child {
        padding-bottom: 20px;
    }
    section.uslugi .nums > div {
        width: 100%;
    }
    section.uslugi .nums > div > span, #info .title > span {
        text-align: left;
        font-size: 10pt;
    }
}


@media screen and (max-device-width: 360px) {
    #ismobile {
        display: block;
    }
    #wrapper.static.foot {
        margin: 0 auto;
    }
    body.uslugi-bg {
        background: #393c45 url('../img/head_us_bg_m.jpg') no-repeat center;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        -webkit-background-attachment: fixed;
        -moz-background-attachment: fixed;
        -o-background-attachment: fixed;
        background-attachment: fixed;
    }
    section.head {
        background-attachment: fixed;
    }
    section.head .nums {
        width: 100%;
        padding: 0 15px;
        padding-bottom: 20px;
    }
    section.head .nums > div {
        font-size: 9pt;
    }
    #slider li img {
        width: auto;
        left: 0%;
        height: 100%;
        min-height: auto;
    }
    section.head .nums > div.numberOfObject,
    section.head .nums > div.experience,
    section.head .nums > div.area,
    section.head .nums > div.estimate {
        width: 50%;
    }
    section.uslugi h1 {
        font-size: 22pt;
    }
    section.uslugi .nums {
        width: 100%;
        overflow: hidden;
    }
    section.uslugi {
        top: 0;
        border-top: 2px solid #fff;
    }
    section.uslugi .content {
        top: 0;
        margin-top: 40px;
    }
    section.uslugi #info {
        margin-bottom: 40px;
    }
    section.uslugi .footer .f-wrap > div {
        width: 100%;
        /*padding-left: 24px;*/
    }
    #wrapper.main section.uslugi  {
        padding-bottom: 134px;
    }
    #wrapper.main section.uslugi .content {
        display: block;
        padding-top: 60px;
        margin-top: 0;
    }
    #wrapper.static.h100 {
        height: auto!important;
    }
    #infowrapp {
        display: block;
    }
    #wrapper.main footer.footer {
        /*position: relative;*/
    }
    #wrapper.portfolio .object table tr > td {
        width: 100%;
    }
    #wrapper.portfolio .object table tr > td:first-child {
        padding-bottom: 25px;
        width: 100%;
    }
    #wrapper.portfolio .object table tr > td:last-child {
        padding: 0;
        width: 100%;
        padding-bottom: 25px;
    }
    .cost_graph li {
        width: 21%;
    }
    .cost_graph li span.costlabel {
        top: 4px;
        font-size: 8px;
    }
    .f-wrap {
        width: 100%;
    }

    .f-wrap.p54, .f-wrap.m-p15 {
        padding-left: 15px;
        padding-right: 15px;
    }
    .f-wrap > div  {
        width: 100%;
        padding: 0;
        font-size: 12px;
        text-align: center;
        padding-bottom: 4px;
    }
    .f-wrap > div:first-child {
        text-align: center;
    }
    .f-wrap > div:nth-child(2) {
        width: 50%!important;
        text-align: right;
        padding-right: 3px;
    }
    .f-wrap > div:nth-child(3) {
        width: 50%!important;
        text-align: left;
        padding-left: 3px;
    }
    .f-wrap > div:last-child {
        padding-bottom: 20px;
    }
    section.uslugi .nums > div {
        width: 100%;
    }
    section.uslugi .nums > div > span, #info .title > span {
        text-align: left;
        font-size: 9pt;
    }
}

@media screen and (max-device-width: 480px) and (orientation: landscape) {
    #menulist li a {
        font-size: 16pt;
        line-height: 22pt;
        text-transform: uppercase;
    }
}

