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

@media(max-width: 1240.98px) {
    .center_1200 {
        width: 991px;
    }

    .center_1100 {
        width: 891px;
    }

    body {
        min-width: 991px;
    }

    .header_phone .r1 {
        padding: 0;
        margin-left: 0;
    }

    .r2t {
        margin-left: 0;
    }

    .phone {
        display: none;
    }

    .header_phone .submit {
        margin-left: 0;
    }

    .header_text .r2 {
        font-size: 44px;
    }

    .header .women {
        margin-left: 600px;
    }

    .header .name {
        margin-left: 470px;
    }

    .katalog .project-block .table p {
        height: 40px;
        display: flex;
        align-items: center;
    }

    .work ul li {
        width: 31%;
    }

    .akc .women2 {
        right: -125px;
    }
}

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

    .center_960 {
        width: 767px;
    }

    .center_1100 {
        width: 767px;
    }

    body {
        min-width: 767px;
    }

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

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

    .header_phone .r1 a {
        font-size: 28px;
        line-height: normal;
    }

    .header_text {
        padding: 20px 0 0;
        height: auto;
    }

    .header_text .r1 {
        font-size: 34px;
        text-align: center;
    }

    .header_text .r2 {
        font-size: 36px;
        line-height: 46px;
        text-align: center;
    }

    .header .women,
    .header .name {
        display: none;
    }

    .request_callback .inputs {
        margin: 0 auto;
        float: none;
        display: block;
    }

    .request_callback .zv {
        width: 100%;
        text-align: center;
    }

    .company .text-block {
        width: 80%;
    }

    .katalog .project-block {
        margin: 60px 0;
    }

    .garant li {
        width: 33%;
    }

    .akc form {
        margin: auto;
    }

    .akc ul {
        margin: auto;
    }

    .akc .women2 {
        display: none;
    }

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

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

    .formblock5 .r3 {
        font-size: 21px;
        line-height: 31px;
    }
}

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

    .center_960 {
        width: 680px;
    }

    .center_1100 {
        width: 680px;
    }

    body {
        min-width: 680px;
    }

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

    .zv {
        font-size: 14px !important;
    }

    .request_callback .input_text input {
        height: 55px;
    }

    .request_callback .submit {
        height: 55px;
        line-height: 55px;
        font-size: 14px;
    }

    .request_callback .inputs {
        padding: 40px 0 10px;
    }

    .request_callback .input_text {
        margin-bottom: 10px;
    }

    .header_phone .submit {
        height: 50px;
        line-height: 50px;
        font-size: 13px;
    }

    .header .center-block p {
        font-size: 15px;
    }

    .r2t {
        font-size: 13px;
    }

    .header_text .r2 {
        font-size: 32px;
        line-height: 42px;
    }

    .company p {
        font-size: 15px;
        line-height: 25px;
    }

    .katalog .project-block .left-block,
    .katalog .project-block .right-block {
        width: 100%;
    }

    .katalog .project-block .right-block {
        margin-top: 15px;
    }

    .katalog .project-block .table p {
        height: auto;
    }

    .garant {
        padding: 60px 0;
    }

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

    .garant ul {
        gap: 30px 0;
    }

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

    .on_map .bg {
        height: 120px;
    }

    #map-canvas {
        height: 620px;
    }

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

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

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

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

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

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

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

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

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

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

    .formblock5 .r1 {
        font-size: 28px;
    }

    .formblock5 .r3 {
        font-size: 18px;
        line-height: 28px;
    }
}

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

    .center_960 {
        width: 570px;
    }

    .center_1100 {
        width: 570px;
    }

    body {
        min-width: 570px;
    }

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

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

    .header_logo .r2 {
        font-size: 13px;
    }

    .header .center-block p {
        font-size: 14px;
    }

    .r2t {
        text-align: center;
    }

    .header_phone .r1 {
        text-align: center;
    }

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

    .header_text .r2 {
        font-size: 26px;
        line-height: 36px;
    }

    .company .text-block {
        width: 90%;
    }

    .work ul li {
        width: 30%;
    }

    .garant li {
        width: 45%;
    }

    .akc ul {
        width: 100%;
    }

    .akc .li {
        width: 260px;
    }

    .akc .i1,
    .akc .i2,
    .akc .i3,
    .akc .i4 {
        width: 100%;
    }

    .formblock5 .r1 {
        font-size: 24px;
    }

    .formblock5 .r3 {
        font-size: 16px;
        line-height: 26px;
        padding-top: 20px;
    }
}

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

    .center_960 {
        width: 320px;
    }

    .center_1100 {
        width: 320px;
    }

    body {
        min-width: 320px;
    }

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

    .header_logo {
        margin-left: 0;
    }

    .header .center-block {
        margin-top: 25px;
    }

    .header .center-block p {
        font-size: 13px;
    }

    .header_phone .submit {
        width: 250px;
        height: 40px;
        line-height: 40px;
        font-size: 12px;
        margin: 5px auto 0;
    }

    .header_phone .r1 a {
        font-size: 24px;
    }

    .header_text .r1 {
        font-size: 19px;
    }

    .header_text .r2 {
        font-size: 18px;
        line-height: 28px;
    }

    .request_callback .inputs {
        width: 100%;
        padding-top: 20px;
    }

    .request_callback .input_text {
        width: 100%;
        margin-bottom: 10px;
    }

    .request_callback .input_text input {
        height: 45px;
        font-size: 14px;
    }

    .masked-phone::-webkit-input-placeholder {
        color: #555;
        font-size: 14px;
    }

    .masked-phone ::-moz-placeholder {
        /* Firefox 19+ */
        color: #555;
        font-size: 14px;
    }

    .masked-phone:-ms-input-placeholder {
        color: #555;
        font-size: 14px;
    }

    .masked-phone:-moz-placeholder {
        /* Firefox 18- */
        color: #555;
        font-size: 14px;
    }

    .request_callback .submit {
        height: 45px;
        line-height: 45px;
        width: 100%;
        font-size: 13px;
        letter-spacing: 1px;
    }

    .button-offer {
        font-size: 17px;
        vertical-align: -1px;
    }

    .request_callback .zv {
        font-size: 12px !important;
        width: 100%;
    }

    .company {
        padding: 40px 0;
    }

    .company h2 {
        padding-bottom: 20px;
    }

    .company p {
        font-size: 14px;
        line-height: 24px;
    }

    .katalog h2 {
        margin-top: 0;
        padding: 20px 0;
    }

    .katalog .project-block {
        margin: 40px 0;
    }

    .katalog .project-block h3 {
        font-size: 18px;
    }

    .katalog .project-block .table p {
        height: 30px;
        font-size: 10px;
        line-height: 10px;
        display: flex;
        align-items: center;
    }

    .katalog .project-block h4 {
        font-size: 15px;
    }

    .katalog .project-block .opis {
        font-size: 13px;
        line-height: 18px;
    }

    .katalog .project-block .table {
        margin: 10px 0;
    }

    .katalog .block-img {
        gap: 10px !important;
    }

    .katalog .project-block .right-block {
        margin-top: 10px;
    }

    .quiz-block {
        padding: 0 0 40px;
    }

    .quiz-block h2 {
        padding: 20px 0;
    }

    .work {
        padding-bottom: 40px;
    }

    .work h2 {
        padding: 20px 0;
    }

    .work ul li {
        width: 46%;
    }

    .garant {
        padding: 40px 0;
        background: #ebebeb;
    }

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

    .garant ul {
        gap: 20px 0;
    }

    .garant li {
        width: 100%;
    }

    .garant ul li div {
        font-size: 14px;
        line-height: 18px;
        padding: 145px 0 0;
    }

    .akc {
        padding-top: 40px;
    }

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

    .akc form {
        width: 90%;
    }

    .on_map h2 {
        height: 90px;
        line-height: 90px !important;
    }

    .on_map .bg {
        height: 90px;
    }

    #map-canvas {
        background: url('../images/map-mobile.jpg') center top no-repeat;
        height: 500px;
    }

    .formblock5 {
        padding: 40px 0;
    }

    .formblock5 .r1 {
        font-size: 18px;
    }

    .formblock5 .r3 {
        font-size: 14px;
        line-height: 24px;
    }
}