@media(max-width: 1590px) {}

@media(max-width: 1280.98px) {
    .center_1280 {
        width: 991px;
    }

    body {
        min-width: 991px;
    }

    .kons-block {
        margin-top: 10px;
        width: 250px;
    }

    .header_text .r2,
    .header .k1 {
        font-size: 36px;
    }

    .header .k2 {
        font-size: 16px;
    }

    .name {
        margin-left: 700px;
    }

    .bg .block {
        padding-left: 450px;
    }

    .formblock {
        background-position-x: -140px;
    }

    .rabota2 ul {
        width: 100%;
    }

    .rabota2 .li {
        width: 295px;
    }

    .services {
        background-position-x: -450px;
    }

    .services h2 {
        padding-left: 260px;
    }

    .garant ul {
        width: 100%;
    }

    .serv {
        margin-left: 260px;
    }

    .formblock4 {
        background-position-x: -240px;
    }

    .scroll_top {
        display: none;
    }
}

@media(max-width: 991.98px) {
    .center_1280 {
        width: 767px;
    }

    body {
        min-width: 767px;
    }

    h2 {
        font-size: 28px !important;
    }

    .header {
        background-position-x: -540px;
        height: 950px;
        background-size: cover;
        padding-bottom: 60px;
    }

    .header_logo {
        margin: 20px 0 0;
    }

    .header-top {
        justify-content: space-evenly;
    }

    .kons-block {
        width: 320px;
    }

    .name {
        margin-top: -60px;
        margin-left: 550px;
    }

    .works {
        padding-top: 60px;
    }

    .works {
        padding-top: 60px;
    }

    .bg {
        background-position-x: -650px;
    }

    .bg .block {
        padding-left: 230px;
    }

    .formblock {
        background-position-x: -270px;
    }

    .rabota2 ul {
        width: 295px;
    }

    .rabota2 .li {
        display: block;
    }

    .rabota2 .fa-arrow-right {
        display: none;
    }

    .rabota2 .fa-arrow-down {
        display: block !important;
        font-size: 48px;
        color: #bbb;
        margin-top: 40px;
        text-align: center;
    }

    .rabota2 .div1 {
        height: 110px;
    }

    .rabota2 .div {
        font-size: 15px;
        line-height: 21px;
    }

    .garant h2 {
        padding: 50px 0;
    }

    .services {
        background-position-x: -600px;
    }

    .services h2 {
        padding-left: 200px;
    }

    .serv {
        margin-left: 200px;
    }

    .garant {
        height: auto;
    }

    .formblock4 {
        background-position-x: -360px;
    }

    .bg {
        background-position-x: -900px;
    }

    .bg .block {
        padding-left: 10px;
    }

    .formblock {
        height: auto;
        padding-bottom: 100px;
    }

    .request_callback2 .leftform {
        width: 100%;
        height: auto;
        margin-right: 0;
        padding-left: 10px;
    }

    .ff-input-form .ff-submit {
        width: 220px !important;
    }

    .ff-content {
        height: auto !important;
    }
}

@media(max-width: 767.98px) {
    .center_1280 {
        width: 680px;
    }

    body {
        min-width: 680px;
    }

    h2 {
        font-size: 26px !important;
    }

    .header {
        background-position-x: -350px;
    }

    .header_phone .r1 {
        font-size: 32px;
    }

    .header_text .r2,
    .header .k1 {
        font-size: 32px;
        text-align: center;
    }

    .header_text ul {
        width: 350px;
        margin: auto;
    }

    #feedback-form-1-top {
        margin: auto;
    }

    .header .k2 {
        font-size: 15px;
        text-align: center;
    }

    .name {
        display: none;
    }

    .works ul {
        padding-top: 40px;
    }

    .works ul li img {
        padding-bottom: 0;
    }

    .works .n1 {
        padding: 15px 0 0;
        font-size: 18px;
        line-height: 28px;
    }

    .works .n2,
    .works .n3 {
        font-size: 15px;
        line-height: 28px;
    }

    .works .n3 span {
        font-size: 36px;
    }

    .works .w1 {
        font-size: 21px;
    }

    .works .w1 a {
        font-size: 32px;
    }

    .bg {
        height: auto;
        background-size: cover;
        padding: 40px 0;
    }

    .bg h2 {
        padding-top: 0;
    }

    .bg ul {
        height: auto;
    }

    .formblock {
        padding: 40px 0;
    }

    .request_callback2 .leftform p {
        font-size: 30px;
    }

    .request_callback2 .leftform p span {
        font-size: 24px;
    }

    .request_callback2 .leftform span {
        font-size: 21px;
        line-height: 33px;
    }

    .request_callback2 .leftform {
        padding-top: 0;
    }

    .request_callback2 .inputs {
        padding-bottom: 0;
    }

    /* .request_callback2 .submit {
        margin-bottom: 0;
    } */

    .services {
        background: #00355f;
        height: auto;
        padding: 40px 0;
    }

    .services h2 {
        padding-top: 0;
        padding-left: 0;
        text-align: center;
    }

    .services p {
        font-size: 21px;
        line-height: 33px;
        text-align: center;
    }

    .serv {
        margin-left: 0;
    }

    .services .inputs {
        padding: 10px 0 0;
        float: none;
        margin: auto;
    }

    .garant {
        padding: 60px 0 40px;
    }

    .garant h2 {
        padding: 40px;
    }

    .garant .div {
        font-size: 15px;
        line-height: 21px;
        padding: 15px 0 10px;
    }

    #map-canvas {
        height: 550px;
    }

    /*yandex-map balloon*/
    #map-infowindow {
        background: white;
        /* width: 260px;
        height: 230px;
        border-radius: 5px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); */
        line-height: 6px;
        /* top: 50px;
        right: 547px; */
    }

    .map-mob {
        display: block;
    }

    #map-infowindow {
        position: relative;
        right: 0 !important;
        top: 0 !important;
        width: 60%;
        padding: 25px 0 15px;
        margin: auto;
        height: auto;
        box-shadow: none;
    }

    #map-canvas {
        display: none;
    }

    #map-infowindow .r3 {
        width: 100%;
        font-size: 18px;
        line-height: 21px;
        padding: 5px 0;
    }

    #map-infowindow .r2 {
        width: 100%;
        padding: 0;
        font-size: 24px;
        line-height: 27px;
    }

    #map-infowindow .r2 a {
        font-size: 24px;
    }

    #map-infowindow .r5 {
        width: 100%;
        font-size: 16px;
        line-height: normal;
        padding-top: 5px;
        padding-left: 0;
    }

    #map-infowindow .r1 {
        width: 100%;
        font-size: 15px;
        line-height: 15px;
        padding-left: 0;
    }

    #map-infowindow .r1 span {
        font-size: 16px;
        line-height: 31px;
    }

    #map-infowindow .r6 {
        width: 100%;
        font-size: 15px;
        line-height: 15px;
        padding-left: 0;
    }

    .formblock4 {
        height: auto;
        padding: 60px 0;
    }

    .formblock4 .leftform .r1 {
        font-size: 26px;
        line-height: 32px;
        text-align: center;
    }

    .formblock4 .leftform .r3 {
        font-size: 50px;
        text-align: center;
    }

    .formblock4 .leftform {
        padding: 0;
        height: auto;
        width: 100%;
    }

    .footer-copyright {
        float: none;
        text-align: center;
        height: auto;
        padding-top: 30px;
        padding-left: 0;
    }

    .creator {
        padding: 20px 0;
        float: none;
        text-align: center;
    }

    .ff-input-form .ff-phone {
        margin-bottom: 10px !important;
        width: 230px !important;
        float: none !important;
    }

    .ff-input-form .ff-submit {
        display: block !important;
        margin-bottom: 20px !important;
    }
}

@media(max-width: 680.98px) {
    .center_1280 {
        width: 570px;
    }

    body {
        min-width: 570px;
    }

    h2 {
        font-size: 24px !important;
    }

    .nm {
        display: none;
    }

    .header_text .r2,
    .header .k1 {
        font-size: 26px;
    }

    .header_text ul li {
        font-size: 17px;
    }

    .works ul li {
        margin: 0 0 40px;
    }

    .garant {
        padding: 40px 0 20px;
    }

    /* .garant h2 {
        padding: 0 0 40px;
    } */

    .garant .li {
        padding: 0 0 20px;
    }

    .garant .div {
        padding: 10px 0;
    }

    .on_map h2 {
        height: 120px;
        line-height: 120px;
    }
}

@media(max-width: 575.98px) {
    .center_1280 {
        width: 320px;
    }

    body {
        min-width: 320px;
    }

    h2 {
        font-size: 18px !important;
        line-height: 28px !important;
    }

    .header {
        padding-bottom: 40px;
    }

    .header_logo {
        width: 280px;
        height: 82px;
        background-size: contain;
    }

    .kons-block {
        width: 100%;
    }

    .kons-block p {
        font-size: 12px;
    }

    .header_phone {
        width: 280px;
        margin-right: 0;
    }

    .header_phone .r1 {
        font-size: 26px;
    }

    .r2t {
        font-size: 14px;
        line-height: 18px;
    }

    .kons-block .submit {
        margin-bottom: 0;
    }

    .header_text {
        padding: 20px 0 0;
    }

    .header_text .r2,
    .header .k1 {
        font-size: 17px;
    }

    .header_text ul {
        width: 100%;
    }

    .header_text ul li {
        font-size: 14px;
        background-position: left 2px;
    }

    .header .k1 {
        line-height: 40px;
    }

    .header .k2 {
        font-size: 12px;
    }

    #feedback-form-1-top {
        width: 100%;
    }

    .works {
        padding-top: 40px;
    }

    .works ul li,
    .works ul li img {
        width: 100%;
    }

    .works ul li:hover .hover-bg,
    .works ul li:hover .hover_ico {
        display: none;
    }

    .works .n1 {
        font-size: 16px;
        line-height: 26px;
    }

    .works .n2,
    .works .n3 {
        font-size: 14px;
        line-height: 24px;
        width: 100%;
        display: block;
    }

    .works .n3 {
        margin-top: 10px;
        text-align: left;
    }

    .works ul li {
        margin: 0 0 30px;
    }

    .works .w1 {
        font-size: 18px;
    }

    .works .w1 a {
        font-size: 26px;
    }

    .bg {
        background: #4ca5df;
    }

    .bg ul {
        padding: 30px 0 0;
    }

    .bg ul li {
        font-size: 15px;
    }

    .formblock {
        background: #f5f1f2;
    }

    .request_callback2 .leftform p {
        font-size: 17px;
    }

    .request_callback2 .leftform p span {
        font-size: 15px;
    }

    .request_callback2 .leftform span {
        font-size: 12px;
        line-height: 24px;
    }

    .request_callback2 .inputs {
        padding-top: 20px;
    }

    .request_callback2 .inputs {
        width: 100%;
    }


    .request_callback2 .input_text {
        width: 95%;
    }

    .request_callback2 .input_text input {
        width: 90%;
    }

    .request_callback2 .submit {
        width: 95%;
        font-size: 11px !important;
        margin-bottom: 10px;
    }

    .request_callback2 .t1 {
        width: 95%;
        font-size: 11px;
    }

    .rabota2 {
        padding: 40px 0;
    }

    .rabota2 ul {
        width: 300px;
        padding: 30px 10px 0;
    }

    .rabota2 .div {
        font-size: 14px;
        line-height: 18px;
        padding: 20px 0 0;
    }

    .rabota2 .fa-arrow-down {
        font-size: 32px;
        margin-top: 20px;
    }

    .rabota2 .div1 {
        height: 90px;
    }

    .services p {
        font-size: 16px;
        line-height: 26px;
    }

    .services .inputs,
    .services .input_text,
    .services .submit,
    .services .submit:hover {
        width: 100%;
    }

    .services .input_text input {
        width: 90%;
    }

    .services .submit,
    .services .submit:hover {
        font-size: 10px !important;
    }

    .input_text {
        margin-bottom: 7px;
        width: 100%;
        padding-left: 0;
        background: #fff;
    }

    .input_text input::-webkit-input-placeholder {
        font-size: 12px;
        color: #656565;
    }

    .input_text input::-moz-placeholder {
        /* Firefox 19+ */
        font-size: 12px;
        color: #656565;
    }

    .input_text input:-ms-input-placeholder {
        font-size: 12px;
        color: #656565;
    }

    .input_text input:-moz-placeholder {
        /* Firefox 18- */
        font-size: 12px;
        color: #656565;
    }

    .request_callback .inputs {
        width: 95%;
        margin: 0 auto;
        padding: 0;
    }

    .input_text input {
        height: 46px !important;
        font-size: 12px;
        text-align: center;
        background: none;
    }

    .submit {
        font-size: 12px !important;
        height: 44px !important;
        line-height: 44px !important;
        padding: 0 !important;
        margin-bottom: 10px;
    }

    .submit i {
        display: none;
    }

    .zv {
        font-size: 10px;
        line-height: 14px;
    }

    .garant h2 {
        padding: 30px;
        margin-bottom: 40px;
    }

    .garant .i1,
    .garant .i2,
    .garant .i3,
    .garant .i4,
    .garant .i5,
    .garant .i6 {
        width: 200px;
        background-size: contain;
    }

    .div1 {
        height: 200px;
    }

    .garant .div {
        font-size: 13px;
        line-height: 18px;
    }

    .on_map h2 {
        height: 90px;
        line-height: 90px !important;
        background: #153f65;
    }

    .formblock4 {
        padding: 40px 0;
        background: #153f65;
    }

    .formblock4 .leftform .r1 {
        font-size: 16px;
        line-height: 26px;
    }

    .formblock4 .leftform .r3 {
        font-size: 36px;
        padding-top: 5px;
    }

    .ff-first-title {
        font-size: 21px !important;
        line-height: 21px !important;
    }

    .ff-second-title {
        font-size: 15px !important;
        line-height: 15px !important;
    }

    .ff-form-image {
        display: none !important;
    }

    .ff-form-block {
        padding-left: 12%;
    }

    .ff-benefits-title {
        font-size: 15px !important;
        line-height: 15px !important;
    }

    .ff-benefits p {
        font-size: 13px !important;
    }

    .ff-phone-block .ff-phone-message {
        font-size: 18px !important;
    }

    .ff-phone-block .ff-phone {
        font-size: 24px !important;
    }

    #map-infowindow .r3 {
        width: 100%;
        font-size: 14px;
        line-height: 17px;
        padding: 5px 0;
    }

    #map-infowindow .r2 {
        width: 100%;
        padding: 0;
        font-size: 21px;
        line-height: 24px;
    }

    #map-infowindow .r2 a {
        font-size: 21px;
    }

    #map-infowindow .r5 {
        width: 100%;
        font-size: 13px;
        line-height: normal;
        padding-top: 5px;
        padding-left: 0;
    }

    #map-infowindow .r1 {
        width: 100%;
        font-size: 12px;
        line-height: 12px;
        padding-left: 0;
    }

    #map-infowindow .r1 span {
        font-size: 13px;
        line-height: 28px;
    }

    #map-infowindow .r6 {
        width: 100%;
        font-size: 12px;
        line-height: 12px;
        padding-left: 0;
    }
}