@media(max-width:1170px) {
    .wrapper {
        min-height: calc(100% - 54px)
    }
    h3 small {
        display: block
    }
    .step-2 h3 {
        padding-left: 0
    }
    .width-wrap {
        width: 100%;
        padding: 0 15px;
        -webkit-box-sizing: border-box;
        box-sizing: border-box
    }
    .phone a.modal {
        font-size: 16px;
        display: block;
        color: #000;
        line-height: 15px;
        font-weight: 500
    }
    .phone {
        padding-top: 17px
    }
    h2 {
        font-size: 24px;
    }
    .main-block h1 {
        text-align: center;
        font-size: 30px;
    }
    .main-desc {
        font-style: normal;
        font-weight: normal;
        font-size: 20px;
        line-height: 33px;
        color: #3A3A3A;
    }
    .main-block h1, .main-desc, .main-desc-red {
        max-width: 70%;
    }
    .main-block-bottom h2 {
        font-style: normal;
        font-weight: bold;
        font-size: 18px;
        line-height: 33px;
        text-align: left;
        color: #3A3A3A;
    }
    .kviz-header p {
        font-style: normal;
        font-weight: normal;
        font-size: 22px;
        line-height: 15px;
        text-align: center;
        color: #3A3A3A;
    }
    h3 {
        text-align: center;
        font-weight: 600;
        font-size: 24px;
        margin: 18px
    }
    form {
        background: #fff;
        margin-left: 0;
        width: 100%;
        -webkit-box-shadow: 0 0 3px 1px #bfbfbf;
        box-shadow: 0 0 3px 1px #bfbfbf;
        padding: 7px 12px;
        max-width: 738px;
        margin: 18px auto 0
    }
    label.radio span {
        width: auto;
        height: 159px;
        border: none;
        border-radius: 0;
        text-align: center;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        color: #000;
        display: block;
        font-style: normal;
        text-align: center;
        position: relative;
        z-index: 5;
        margin-bottom: 0;
        padding-top: 123px;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.5;
        font-family: inherit;
    }
    label.radio span:before {
        padding: 1px 8px;
        content: '';
        position: relative;
        left: 13px;
        bottom: 14px;
        background: #e9e9ea;
        width: 13px;
        height: 11px;
        border: 1px solid #e9e9ea;
        border-radius: 50%;
    }
    label.radio {
        display: block;
        text-align: center;
        margin-bottom: 16px;
        width: 32%;
        cursor: pointer
    }
    button {
        outline: none;
        font-size: 20px;
        color: #fff;
        font-weight: 400;
        width: 284px;
        height: 56px;
        margin: -17px auto 20px;
        display: block;
        cursor: pointer;
        border: none;
        background-color: #A81010;
        border-radius: 52px;
    }
    button strong {
        font-size: 26px;
        display: inline-block;
        top: 0px;
        font-weight: 500;
        margin-left: -15px;
        height: 100%;
    }
    button strong img{
        height: 100%;
    }

    .step-bar.flex {
        margin: 15px 1.6% 23px;
        text-align: center;
        padding: 1px 0;
        background-color: #fff;
        border: 1px solid #B3B3B3;
        border-radius: 19px;
    }
    .descr {
        text-align: center;
        font-size: 18px;
        margin: 15px 136px 23px
    }
    footer span:nth-child(2) {
        position: absolute;
        left: 15px;
        font-size: 12px;
        bottom: -19px
    }
    footer img {
        top: 5px;
        margin-right: -13px;
        margin-left: 11px;
        width: 150px
    }
    footer span:nth-child(3) {
        font-size: 16px;
        top: -5px;
        position: absolute;
        right: 20px
    }
    .progress-info {
        padding-left: 15px
    }
    footer .vk img {
        width: 36px
    }
    footer {
        padding-top: 13px;
        background: #333;
        color: #FFFFFF;
        font-size: 16px;
        padding-bottom: 27px
    }
    footer a {
        color: inherit;
        font-size: 16px
    }
    .step-2 label.radio span:before {
        content: '';
        position: relative;
        left: 0;
        bottom: -8px;
        display: inline-block;
        background: 0 0;
        width: 20px;
        padding: 2px;
        margin-right: 7px;
        height: 19px;
        cursor: pointer;
        border: 1px solid #9e9e9e;
        border-radius: 5px
    }
    .step-2 label.radio span {
        line-height: 100%;
        color: #000;
        font-weight: 400;
        height: auto;
        top: -19px;
        display: inline-block;
        text-align: center;
        padding-left: 12%;
        padding-top: 3px;
        padding: 15px 39px!important;
        font-size: 17px;
        cursor: default
    }
    .step-2 .check-block {
        margin: 0 7px 9px
    }
    .step-2 label.radio {
        display: inline-block;
        text-align: left;
        margin-bottom: 8px;
        width: auto;
        cursor: pointer;
        margin-top: 16px;
        padding: 0 12px
    }
    span.irs.js-irs-0 {
        margin: -7px 42px -5px
    }
    .btn_block {
        margin: 0 auto;
        width: fit-content;
        margin-top: 21px
    }
    .slider-count.flex {
        font-size: 16px;
        margin-left: -3px;
        font-weight: 400;
        width: calc(100% + 22px)
    }
    .slider-metrika.flex {
        font-size: 11px;
        font-weight: 700
    }
    .slider-descr {
        margin: 2px 44px 46px 49px
    }
    a.back strong {
        position: absolute;
        left: -21px;
        top: -7px;
        font-weight: 600;
        font-size: 29px
    }
    a.back {
        font-size: 20px;
        position: absolute;
        bottom: 17px;
        color: #7d878e;
        left: 97px
    }
    .irs-from,
    .irs-to,
    .irs-single {
        color: #000;
        font-size: 17px;
        line-height: 1.233;
        font-weight: 500;
        border: 1px solid #b7b7b7;
        text-shadow: none;
        padding: 0 9px;
        background: 0 0;
        border-radius: 5px;
        margin-left: 0;
        margin-bottom: 9px;
        top: 0;
        -moz-border-radius: 3px
    }
    .inp-label span {
        font-size: 18px;
        margin-bottom: 12px;
        display: block;
        text-align: center
    }
    input.inp {
        width: 100%;
        height: 51px;
        font-size: 19px;
        text-align: center;
        border: 2px solid #000;
        border-radius: 5px
    }
    .step-3 button.js--form-submit {
        margin-top: 14px;
        font-size: 24px;
        height: 68px;
        width: 346px;
        background: -webkit-gradient(linear, left top, left bottom, from(#3daf2a), to(#2d831f));
        background: -webkit-linear-gradient(top, #3daf2a, #2d831f);
        background: -o-linear-gradient(top, #3daf2a, #2d831f);
        background: linear-gradient(to bottom, #3daf2a, #2d831f)
    }
    .main_form p {
        font-size: 18px;
        text-align: center;
        font-weight: 500;
        white-space: pre-line;
        display: block;
        margin: 32px auto 12px
    }
    .main_form.flex-wrap {
        border: 4px solid #42ba33;
        margin: 19px 30px;
        padding: 22px 46px
    }
    .step-3 .btn-block {
        margin: 71px 0 99px
    }
    .descr small {
        font-size: 18px;
        margin-left: -84px;
        width: calc(100% + 179px);
        display: block
    }
    .popup h3 {
        margin-bottom: 21px;
        font-size: 34px;
        margin-top: 8px
    }
    .popup {
        border: 5px solid #2bb724;
        width: 100%;
        background: #fff;
        padding: 10px 14px 21px;
        -webkit-box-sizing: border-box;
        box-sizing: border-box
    }
    .change-name {
        display: block
    }
    .thank h2 {
        text-align: left;
        padding: 0;
        font-size: 38px;
        text-transform: uppercase;
        margin-top: 65px;
        width: 70%;
        font-weight: 500
    }
    .thank_p p {
        font-size: 25px;
        font-weight: 500;
        width: 50%;
        white-space: pre-line;
        margin-top: 1px
    }
    .line {
        background: #000;
        height: 2px;
        width: 84px;
        margin: 28px 0
    }
    .thank span {
        font-size: 19px;
        white-space: pre-line;
        text-align: left;
        width: 33%;
        font-weight: 500
    }
    .thank_p button {
        margin: 38px 0 377px;
        width: 365px;
        font-size: 18px
    }
    .wrapper.thank_p {
        overflow: hidden;
        background: url(../img/bg.png) 59% 0 no-repeat;
        background-size: cover
    }
    #ymap {
        width: 100%;
        height: 320px
    }
    .map {
        width: 500px;
        margin-top: 0;
        left: 20px;
        bottom: -26px;
        position: absolute
    }
    .thank {
        width: 100%
    }
    .thank_p .map p {
        margin: 0;
        width: 100%;
        margin-bottom: 10px
    }
}

@media(max-width:765px) {
    .step-1 .check-block label:nth-child(6) {
        display: none
    }
    .progress-info {
        padding-left: 18px
    }

    .phone a.mobile-phone {
        display: block
    }

    .kviz-header p {
        font-style: normal;
        font-weight: normal;
        font-size: 18px;
        line-height: 15px;
        text-align: center;
        color: #3A3A3A;
    }
    h1 {
        color: #41b003;
        text-align: center;
        text-shadow: 0 1px 0 #000;
        white-space: pre-line;
        font-size: 33px;
        margin: 17px 0 18px;
        line-height: 105%
    }
    h3 {
        text-align: center;
        font-weight: 500;
        font-size: 20px;
        margin: 14px 0
    }
    form {
        background: #fff;
        margin-left: 0;
        width: 100%;
        -webkit-box-shadow: 0 0 3px 1px #bfbfbf;
        box-shadow: 0 0 3px 1px #bfbfbf;
        padding: 7px 12px;
        max-width: 400px;
        margin: 26px auto 0
    }
    .check-block {
        margin: 0 23px 23px
    }
    label.radio {
        display: block;
        text-align: center;
        margin-bottom: 9px;
        width: 100%;
        cursor: pointer
    }
    label.radio span {
        padding-top: 121px;
        padding-left: 20px;
        float: left;

    }
    label.radio span:before {
        content: '';
        position: relative;
        left: 0px;
        bottom: 17px;
        background: #fff;
        width: 15px;
        height: 14px;
        border: 2px solid #A81010;
        border-radius: 50%;
    }
    button strong {
        font-size: 23px;
        display: inline-block;
        top: -2px;
        font-weight: 500;
        margin-left: 6px
    }
    button {
        outline: none;
        font-size: 19px;
        color: #fff;
        font-weight: 400;
        width: 234px;
        height: 53px;
        margin: -11px auto 25px;
        display: block;
        cursor: pointer;
        border: none;
    }
    .step-bar.flex {
        margin: 15px 5.6% 23px;
        text-align: center;
        padding: 1px 0;
    }
    .step-bar.flex div {
        text-align: center;
        display: block;
        width: 0;
        padding: 2px 0;
        font-size: 17px;
        font-weight: 400
    }
    .descr {
        text-align: center;
        font-size: 20px;
        margin: 26px 2px 23px
    }
    footer .width-wrap.flex {
        display: block;
        text-align: center
    }
    footer span:nth-child(2) {
        position: relative;
        left: auto;
        font-size: 11px;
        bottom: auto
    }
    footer span:nth-child(3) {
        font-size: 16px;
        top: auto;
        display: block;
        margin-top: 35px
    }
    .step-2 label.radio span:before {
        content: '';
        position: relative;
        left: 0;
        bottom: -8px;
        display: inline-block;
        background: 0 0;
        width: 20px;
        padding: 2px;
        margin-right: 7px;
        height: 19px;
        cursor: pointer;
        border: 1px solid #9e9e9e;
        border-radius: 4px
    }
    .step-2 label.radio {
        display: block;
        text-align: left;
        padding-left: 0;
        margin-bottom: 4px;
        width: 100%;
        cursor: pointer;
        margin-top: 4px;
        padding-right: 0
    }
    .step-2 .check-block {
        display: block;
        margin: 0 0 27px;
        padding-bottom: 29px;
        padding-left: 0
    }
    .step-2 h3 {
        text-align: left;
        padding-left: 11px
    }
    .irs-bar {
        height: 28px
    }
    span.irs.js-irs-0 {
        margin: -8px 11px -2px
    }
    .irs-line {
        height: 28px;
        background: #f2f2f2
    }
    .irs-slider.from {
        background: -webkit-gradient(linear, left bottom, left top, from(#069c1f), to(#83dc48));
        background: -webkit-linear-gradient(bottom, #069c1f, #83dc48);
        background: -o-linear-gradient(bottom, #069c1f, #83dc48);
        background: linear-gradient(to top, #069c1f, #83dc48);
        width: 13px;
        height: 28px;
        top: 33px;
        margin-left: -4px;
        left: 2px;
        border: none;
        border-radius: 20px 0 0 20px;
        -webkit-box-shadow: none;
        box-shadow: none
    }
    .btn_block {
        margin: 0 auto;
        width: 95%;
        max-width: 250px;
        margin-top: 21px
    }
    footer {
        padding-bottom: 12px;
        position: relative
    }
    .irs-slider.to {
        background: -webkit-gradient(linear, left bottom, left top, from(#069c1f), to(#83dc48));
        background: -webkit-linear-gradient(bottom, #069c1f, #83dc48);
        background: -o-linear-gradient(bottom, #069c1f, #83dc48);
        background: linear-gradient(to top, #069c1f, #83dc48);
        width: 13px;
        height: 28px;
        top: 33px;
        margin-left: 4px;
        left: 2px;
        border: none;
        border-radius: 0 20px 20px 0
    }
    .slider-metrika.flex {
        font-size: 5px
    }
    .slider-descr {
        margin: 10px 16px 43px 17px
    }
    .slider-count.flex {
        font-size: 14px;
        margin-left: -16px;
        text-align: center;
        line-height: 12px;
        margin-top: 5px;
        font-weight: 400;
        width: calc(100% + 33px)
    }
    .slider-count.flex span {
        white-space: pre-line;
        width: 32px
    }
    .irs-from,
    .irs-to,
    .irs-single {
        color: #000;
        font-size: 14px;
        line-height: 1.233;
        font-weight: 500;
        border: 1px solid #b7b7b7;
        text-shadow: none;
        padding: 2px 9px;
        background: 0 0;
        border-radius: 5px;
        margin-left: 0;
        margin-bottom: 5px;
        top: 1px
    }
    .step-2 label.radio span {
        margin: 0 auto;
        width: 100%;
        padding: 17px 33px!important;
        margin-bottom: 14px;
        display: block;
        color: #000;
        font-weight: 400;
        height: auto;
        top: auto;
        text-align: center;
        padding-left: 0;
        padding-top: 0;
        font-size: 18px;
        cursor: default
    }
    a.back {
        font-size: 20px;
        position: relative;
        bottom: auto;
        color: #7d878e;
        left: auto;
        display: block;
        margin: 29px auto 37px;
        width: 86px
    }
    .main_form.flex-wrap {
        border: 4px solid #42ba33;
        margin: 39px 0 4px;
        padding: 10px;
        display: block
    }
    .inp-label {
        width: 100%;
        padding: 10px 10px 4px
    }
    .inp-label span {
        font-size: 18px;
        margin-bottom: 8px
    }
    input.inp {
        width: 100%;
        height: 42px;
        font-size: 18px;
        text-align: center;
        border: 2px solid #000;
        border-radius: 4px
    }
    .step-3 button.js--form-submit {
        margin-top: 16px;
        font-size: 16px;
        height: 68px;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        width: 93%;
        margin: 16px auto 18px;
        background: -webkit-gradient(linear, left top, left bottom, from(#3daf2a), to(#2d831f));
        background: -webkit-linear-gradient(top, #3daf2a, #2d831f);
        background: -o-linear-gradient(top, #3daf2a, #2d831f);
        background: linear-gradient(to bottom, #3daf2a, #2d831f)
    }
    .main_form p {
        display: none
    }
    .step-3 .btn-block {
        margin: 0 0 29px
    }
    .descr small {
        font-size: 20px;
        margin-left: auto;
        width: 100%;
        display: block
    }
    .wrapper {
        overflow: hidden;
    }
    .thank_p h2 {
        text-align: left;
        padding: 0;
        font-size: 34px;
        text-transform: uppercase;
        margin-top: 14px;
        width: 100%;
        white-space: normal;
        font-weight: 500;
        padding-left: 27px
    }
    .change-name {
        display: inline
    }
    .thank_p p {
        font-size: 23px;
        font-weight: 500;
        width: 100%;
        white-space: normal;
        padding-left: 24px;
        margin-top: 9px
    }
    .line {
        display: none
    }
    .wrapper.thank_p {
        overflow: hidden;
        background: url(../img/mobile-png.png) 50% 0 no-repeat;
        background-size: cover
    }
    .thank-block {
        background: #fff;
        -webkit-box-shadow: 0 0 1px 0 #828282;
        box-shadow: 0 0 1px 0 #828282;
        padding: 29px 0
    }
    .thank span {
        font-size: 19px;
        white-space: pre-line;
        text-align: left;
        width: 100%;
        font-weight: 500;
        display: block;
        padding-left: 21px
    }
    .thank_p button {
        margin: 11px auto 16px;
        width: 77%;
        font-size: 18px;
        height: 66px
    }
    .thank-block {
        background: #fff;
        -webkit-box-shadow: 0 0 1px 0 #828282;
        box-shadow: 0 0 1px 0 #828282;
        padding: 29px 0;
        margin-bottom: 30px;
        margin: 0 auto 30px;
        width: 90%;
        max-width: 400px
    }
    .phone {
        padding-top: 0;
        margin-top: -3px
    }
    footer span {
        display: block
    }
    footer a {
        display: block
    }
    span.irs.js-irs-0,
    .slider-descr {
        display: none
    }
    #ymap,
    .map {
        display: none
    }
    footer span:nth-child(4) {
        top: auto
    }
    footer span:nth-child(3) {
        font-size: 16px;
        top: auto;
        display: block;
        right: auto;
        position: relative;
        margin-top: 35px;
        margin: 0
    }
    .wrapper {
        min-height: calc(100% - 114px)
    }
}
@media (max-width: 575px) {
    .main-block h1, .main-desc, .main-desc-red {
        max-width: 100%;
    }
    .main-block-bottom {
        margin-top: 70px;
        padding-bottom: 50px;
        width: 100%;
    }
    .logo {
        width: 200px;
    }
    .phone a {
        display: flex;
        justify-content: center;
        align-items: center;
        color: #A81010;
        font-family: "Open Sans", sans-serif;
        font-style: normal;
        font-weight: bold;
        font-size: 16px;
        line-height: 6px;
        text-decoration: none;
        border: 1px solid #A81010;
        border-radius: 30px;
        padding-right: 5px;
    }
    .phone img {
        margin-right: 10px;
        width: 40px;
    }
    .main-block h1, .main-desc, .main-desc-red {
        max-width: 100%;
        padding: 0 15px;
    }
    .answers_row .ans_item h3 {
        font-size: 16px;
        position: relative;
        text-align: left;
        color: #000;
        cursor: pointer;
        font-weight: 500;
        margin: 0;
        padding: 10px 0;
    }
    .contacts a {
        font-style: normal;
        font-weight: normal;
        font-size: 18px;
        line-height: 16px;
        color: #3A3A3A;
        text-decoration: none;
    }
}
@media(max-width:400px) {
    label.radio span:before {
        content: '';
        position: relative;
        left: 11px;
        bottom: 19px;
        background: #e9e9ea;
        width: 5px;
        height: 10px;
        border: 2px solid #A81010;
        border-radius: 50%;
    }
    label.radio span {
        padding-top: 121px;
        padding-left: 10px;
        float: left;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .phone a {
        display: flex;
        justify-content: center;
        align-items: center;
        color: #A81010;
        font-family: "Open Sans", sans-serif;
        font-style: normal;
        font-weight: bold;
        font-size: 14px;
        line-height: 6px;
        text-decoration: none;
        border: 1px solid #A81010;
        border-radius: 30px;
        padding-right: 5px;
    }
}

.answers_row {
    text-align: center;
}

.ans_item_group_title {
    margin: 15px 0 0;
    padding: 0;
    border-bottom: 3px solid #ccc;
    font-size: 40px;
    text-align: center;
    color: #50a71b;
    text-transform: uppercase;
}

.answers_row .ans_item h3 {
    font-size: 16px;
    position: relative;
    text-align: left;
    color: #000;
    cursor: pointer;
    font-weight: 500;
    margin: 0;
    padding: 10px 0;
}

.answers_row .ans_item .answer_p {
    height: auto;
    overflow: hidden;
    margin-left: 30px;
    pointer-events: none;
    display: none;
}

.answers_row .ans_item .answer_p p {
    font-size: 17px;
    color: #3A3A3A;
    margin: 0;
}

.description {
    text-align: center;
    font-size: 24px;
    margin: 19px 0 27px;
}

.etapy {
    text-align: center;
    font-size: 24px;
    margin: 19px 0 27px;
    color: #50a71b;
}
@media (max-width: 766px) {
    .half-width {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .step-2__form {
        width: 100%;
        height: 42px;
        border: 1px solid #3A3A3A;
        box-sizing: border-box;
        border-radius: 21px;
        margin-bottom: 10px;
        margin-right: 0px;
        padding: 20px;
    }

    .step-2__form-textarea {
        width: 100%;
        height: 104px;
        border: 1px solid #3A3A3A;
        box-sizing: border-box;
        border-radius: 21px;
        margin-bottom: 10px;
        padding: 20px;
    }

    a.back {
        font-size: 20px;
        position: relative;
        bottom: 0;
        color: #fff;
        left: 0;
        display: flex;
        align-items: center;
        width: 234px;
    }

    a.back img {
        margin-right: 30px;
    }

    a.back strong {
        position: relative;
        left: 0;
        top: 0;
        font-weight: 600;
        margin-right: 0px;
    }

    .btn-block {
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin-top: 20px;
    }
}