/* small desktop 1000 - 1232px */
@media screen and (max-width: 1231px){
    .header_top,
    .header_banner,
    main section,
    main section.into,
    .footer-position,
    .desk_city_block
    {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }
    .header_top_wrap {
        height: 600px;
        background-size: cover;
    }
    .anemiya_img_desk_sm {
        border-bottom-left-radius: 40px;
        width: 352px;
        height: 287px;
    }
    .mainlogo {
        margin-top: -7px;
    }
    .header__description {
        margin-left: 0;
        margin-bottom: -1px;

        max-width: 450px;
        font-weight: 400;

        font-size: 28px;
        line-height: 36px;
        margin-top: 29px;
    }

    .hepatit_digits_wrap {
        flex-flow: column;
        justify-content: space-between;
        margin: auto;
        margin-bottom: -40px;
        margin-top: -17px;
    }
    .hepatit_digits_block {
        width: 321px;
        margin: auto;
        margin-bottom: 39px;
    }
    .header_top_menu_item {
        margin-top: 0;
        margin-left: 0;
        font-weight: 400;
        font-size: 16px;
        line-height: 16px;
    }

    .header__city-select {
        top: 39px;
        left: 14px;
    }

    .header_top_menu {
        width: 311px;
        margin-top: 8px;
    }
    .header_tag {
        max-width: 580px;
        margin-top: -10px;
        margin-left: 0;

        font-size: 16px;
        font-weight: 500;
        line-height: 16px;
        margin-bottom: 29px;
    }

    .header_top_menu_fixed{
        margin-right: -490px;
        margin-top: -9px;
        width: 246px;
    }

    .covid_this_city {
        margin-top: -14px;
        margin-left: 33px;
    }
    .mainlogo_fixed {
        margin-left: 16px;
        margin-top: -2px;
    }
    .covid_ico_wrap_fixed {
        margin-right: 16px;
    }
    .covid_ico_wrap {
        margin-right: 0px;
        margin-top: 18px;
    }
    .covid_logo_wrap {
        margin-left: 0px;
        margin-top: 20px;
    }

    .header_phone {
        margin-right: -2px;
    }
    .covid_ico_cart {
        margin-right: 0px;
        margin-top: 6px;
    }
    .steps__cart-text {
        font-size: 16px;
    }
    .last_item_align{
        margin-left: auto;
        margin-right: auto;
        width: 100%;

    }

    .header_text_wrap {
        margin-top: 132px;
        margin-left: 0;
        max-width: 430px;
    }

    .header_text_main {
        font-weight: 600;
        margin-top: -6px;
        width: 480px;

        font-size: 52px;
        line-height: 52px;
    }


    .header_text_second {
        font-size: 22px;
        line-height: 32px;
        margin-top: 42px;
        margin-bottom: 23px;
        max-width: 430px;
    }
    .doklad_text {
        font-size: 22px;
        line-height: 36px;
    }
    .doklad_digits {
        column-gap: 65px;
        margin-top: 53px;
        padding: 0 17px;
    }
    .doklad_percent-text {
        text-align: center;
        font-size: 16px;
        line-height: 24px;
    }
    .doklad_prim_wrap {
        margin-top: 36px;
    }
    h2 {
        font-size: 36px;
        line-height: 40px;
        margin-top: 13px;
        margin-bottom: 5px;
    }
    .dna_facts {
        margin-top: 45px;
    }
    .dna_img {
        height: 280px;
    }
    .dna_text_h1 {
        font-size: 24px;
        line-height: 32px;
        margin-bottom: 31px;
        margin-top: 8px;
    }
    .dna_text_main {
        font-size: 16px;
        line-height: 24px;
    }
    .dna_fact_item {
        margin-left: 48px;
    }
    .dna_next_fact {
        margin-top: 33px;
    }
    .analys_hr._after_facts {
        margin-bottom: 126px;
    }
    .func_text {
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
        text-align: center;
        margin-top: 39px;
        max-width: 295px;
    }
    img.func_img{
        width: 104px;
    }

    main section.analysis{
        margin-top: 0;
        margin-bottom: 24px;
        flex-flow: column;
        margin-left: 0;
        margin-right: 0;
    }

    .analys_group._research__wrap{
        margin-top: 68px;
    }

    .analysis.composition-of-complex-analysis__wrap{
        margin-top: 67px;
    }

    .block__text{
        font-weight: 400;
        font-size: 18px;
        line-height: 28px;
        margin-top: 15px;
        margin-bottom: 30px;
    }

    .analys_group._complex {
        margin-top: 67px;
    }

    .analys_group._actual_now{
        margin-top: 57px;
    }
    .hormons_of_theroid {
        margin-bottom: 40px;
    }
    .anemiya_img {
        margin-top: 10px;
    }
    .analys_hr.hypoterioz_hr {
        margin-top: 73px;
        margin-bottom: 78px;
    }




    .footer-position{
        display: flex;
        flex-flow: column-reverse;
    }
    .footer-text {
        margin: 0 auto;
        margin-top: 37px;
        margin-bottom: 50px;
    }
    ul.footer-social-list {
        margin-top: -17px;
    }
    ul.footer-social-list>li {
        padding-right: 0;
        padding-left: 24px;
    }
    .footer {
        padding-bottom: 26px;
    }
    .analysis_right_col {
        flex-flow: row;
        align-items: center;
        margin-top: 28px;
        margin-right: 0px;
        margin-left: 0px;
        justify-content: space-between;
    }

    .analys_signup.small {
        margin-right: 0px;
        margin-top: 0px;
        min-width: 170px;
        font-size: 15px;
    }

    .analysis_price {
        margin-bottom: 14px;
        margin-top: -2px;
    }
    .footer {
        margin-top: 96px;
    }

    .popup_banner_img_close{
        right: 26px;
        top: -30px;
    }
    .basket-place-landing-fix.dynamic .basketCount {
        top: -5px;
        right: -7px;
    }


    .footer {
        padding-top: 7px;
        padding-bottom: 0px;
    }
    .analys_hr {
        margin-top: 95px;
        margin-bottom: 88px;
    }
    .analys_hr._doklad {
        margin-top: 85px;
        margin-bottom: -7px;
    }
    .analys_hr.what_ishepatit {
        margin-top: 104px;
        margin-left: 16px;
        margin-right: 16px;
        margin-bottom: -8px;
    }
    .analys_hr.hepatit_types {
        margin-top: 104px;
        margin-bottom: 129px;
    }

    .analys_hr.after_youdtext {
        margin-bottom: 111px;
    }
    .left__block-padding {
        padding-top: 50px;
    }
    .steps__position {
        margin-top: 44px;
    }
    .steps__cart {
        max-width: 325px;
        margin-bottom: 48px;
    }
    .block__test-first {
        padding-left: 49px;
        padding-right: 47px;
        padding-bottom: 56px;
        margin-top: 17px;
    }
    .first-test__btn {
        width: 240px;
        height: 48px;
        border-radius: 20px;
        font-size: 18px;
        line-height: 24px;
        font-weight: 400;
        color: #ffffff;
        display: block;
        background-color: #0080c9;
    }
    .test-first__text {
        line-height: 24px;
        padding-right: 80px;
    }
    .first-test__label {
        margin-right: 47px;
        width: 130px;
        font-size: 16px;
        line-height: 24px;
        font-weight: 600;
        color: #000000;
        margin-top: 2px;
        margin-bottom: 9px;
    }
    .first-test__input:first-of-type {
        margin-bottom: 15px;
    }
    .first-test__input {
        width: 240px;
        height: 48px;
        font-size: 18px;
        line-height: 24px;
        color: #000000;
        font-weight: normal;
        border-radius: 4px;
    }
    .test-first__title {
        font-size: 24px;
        line-height: 32px;
        max-width: 240px;
    }
    .test-first__position {
        margin-bottom: 16px;
    }
    .position__input{
        flex-flow: column;
    }

    .hepatit_item_wrap {
        margin-bottom: 32px;
    }

    .function_wrap {
        justify-content: space-between;
        margin-left: 0px;
        padding: 0 27px;
        margin-top: 46px;
    }
    h3 {
        margin-bottom: 16px;
        font-size: 22px;
        line-height: 32px;
    }
    h3._conditions {
        font-size: 28px;
        line-height: 32px;
        margin-bottom: 50px;
    }
    .hepatit_data_text_before {
        margin-top: 40px;
        margin-bottom: 59px;
    }

    .map_wrap {
        display: flex;
        margin-top: 17px;
        margin-bottom: 10px;
        flex-flow: column;
    }
    .map_legend_wrap {
        margin-left: 0px;
        margin-top: 16px;
        flex-flow: row;
        width: 380px;
        justify-content: space-between;
    }
    .map_legend {
        margin-bottom: 0px;
    }
    .map_legend.last {
        margin-bottom: 0px;
    }
    .hyper_main_text {
        font-size: 32px;
    }
    .hyper_second_text {
        font-size: 17px;
        line-height: 24px;
        max-width: 461px;
        margin-top: 10px;
    }
    .hypertireos_wrap {
        margin-top: -5px;
    }
    .hyper_block:first-of-type {
        padding-right: 80px;
    }
    .hyper_img {
        margin-top: 33px;
        max-width: 100%;
    }
    .hyper_point {
        font-size: 16px;
        margin-left: 33px;
    }
    .test_pre {
        margin-top: 15px;
        margin-bottom: -2px;
    }
    .second__test-position {
        padding-left: 49px;
        padding-right: 31px;
        padding-top: 16px;
        padding-bottom: 23px;
    }
    .test__stage {
        margin-bottom: 86px;
    }
    .second__test-caption-question {
        width: 540px;
    }
    .second__test-left-block {
        /*background-position: right 117px;
        background-size: 52%;	    */
        background: initial;
    }
    .test__stage-line {
        width: 60.4px;
        height: 4px;
    }
    .result__test-first-block__text {
        width: 100%;
    }
    .result__persent {
        min-width: 176px;
        margin-right: 89px;
        margin-top: -4px;
    }
    .result__subtitle {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 18px;
    }
    .result__test-second__text {
        margin-bottom: 30px;
    }
    .result__test-second__text {
        font-size: 16px;
        line-height: 24px;
        margin-top: -5px;
    }
    .result__link {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 20px;
    }
    .result__test-second {
        margin-top: 52px;
    }
    .test__second-test {
        padding-left: 49px;
        padding-top: 49px;
        padding-bottom: 56px;
        padding-right: 25px;
    }
    .promocode__input {
        width: 300px;
    }
    .promocode__test-caption {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 15px;
    }
    .input__promocode-position:not(:nth-of-type(3)) {
        margin-right: unset;
    }
    .input__promocode-position:nth-of-type(1) {
        margin-right: 40px;
    }
    .input__promocode-position:nth-of-type(3) {
        margin-top: 21px;
        margin-right: 32px;
    }

    .promocode__test-caption {
        margin-bottom: 20px;
    }
    .checkbox__label {
        max-width: 286px;
    }


    .analys_hr.after_hyper {
        margin-top: -8px;
        margin-bottom: -21px;
    }
    .anemiya_img2 {
        border-bottom-right-radius: 40px;
        margin-top: 15px;
        height: 320px;
        min-width: 353px;
        background-position-x: -33px;
        background-size: cover;
    }
    .anemiya_text2 {
        padding-left: 0px;
        margin-top: 39px;
    }
    .anemiya_research.how_depends {
        margin-top: 98px;
        margin-bottom: -3px;
    }
    .analys_hr.after_cani {
        margin-top: 86px;
        margin-bottom: -19px;
    }
    .anemiya_head.clinic_block{
        display: flex;
        flex-flow: column-reverse;

    }
    .clinic_photo {
        width: 430px;
        margin: auto;
        margin-top: 15px;
        height: 440px;
        margin-bottom: 36px;
    }
    .clinic_text {
        padding-right: 0;
    }
    .clinic_bold {
        margin-top: 26px;
    }
    .analys_hr.after_clinic {
        margin-top: 103px;
        margin-bottom: 3px;
    }
    .anemiya_discout {
        margin-bottom: -4px;
    }
    .recomend_inner {
        padding: 38px 46px 39px 49px;
    }
    .recomend_details_item {
        padding: 21px 0px 26px 0px;
    }
    .result__test-first {
        margin-top: 40px;
    }
    .recomend_head {
        font-size: 24px;
        line-height: 32px;
        margin-bottom: 23px;
    }
    .recomend_details_item {
        flex-wrap: wrap;
    }
    .recomend_details_text {
        font-size: 16px;
        line-height: 24px;
        width: 100%;
        margin-bottom: 15px;
    }
    .recomend_details_button {
        margin-top: 0;
    }
    .recomend_details_code {
        font-size: 14px;
        line-height: 16px;
        width: initial;
    }
    .recomend_text {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 27px;
    }
    .action_cond {
        font-size: 18px;
        line-height: 24px;
    }
    .analys_hr._yandex {
        margin-top: 96px;
        margin-bottom: -10px;
        margin-left: 16px;
        margin-right: 16px;
    }

    ._yandex_maps .analysis{
        margin-top: 98px;
    }

    .yandex_maps{
        font-weight: 600;
        font-size: 44px;
        line-height: 48px;
        text-align: center;
        color: #002E6D;
        margin-bottom: 12px;
    }

    .footer-position{
        display: flex;
        flex-flow: column-reverse;
        flex-direction: row;
    }

    .footer-text{
        margin: 33px auto 50px 0;
    }

    .hepatit_remark {
        margin-top: -63px;
        margin-bottom: -5px;
    }

    .hyper_point_wrap {
        margin-top: 40px;
    }
    .promocode__btn {
        width: 300px;
        margin-left: unset;
        margin-top: 24px;
    }
    .container__promocode {
        margin-bottom: 104px;
    }

    .func_block {
        margin-right: unset;
        width: 170px;
        margin-bottom: -23px;
    }
    .filter__item {
        width: 100%;
        max-width: initial;
        -ms-flex-preferred-size: initial;
        flex-basis: initial;
    }
    .hepatit_data_text_before:nth-of-type(2) {
        margin-bottom: -9px;
        margin-top: 19px;
    }
    .analys_signup.large {
        width: 280px;
        margin-left: 0px;
    }

    .reseach_img {
        border-top-left-radius: 42px;
        height: 209px;
        min-height: 209px;
    }
    .research_h1 {
        font-size: 24px;
        line-height: 32px;
        font-weight: 600;
        margin-bottom: 31px;

        margin-top: 39px;

        max-width: 700px;
    }
    .research_main_text {
        font-size: 16px;
        line-height: 24px;
        padding-right: 38px;
    }
    .research_right {
        display: flex;
        flex-flow: column;
        margin-left: 47px;
    }
    .reseach_list {
        margin-top: 33px;
        margin-bottom: 46px;
        font-size: 16px;
    }
    .reseach_block {
        min-height: 350px;
        margin-bottom: 49px;
    }
    .analys_hr._after_anal {
        margin-top: 104px;
        margin-bottom: 96px;
    }


    main p {
        font-size: 16px;
        line-height: 24px;
        margin-top: 3px;
    }
    .butterfly_main_text {
        right: 89px;
    }
    .butterfly_text {
        right: 15px;
    }
    .anemiya_text {
        padding-right: 40px;
        margin-top: 29px;
    }
    .par_with_marg {
        margin-top: 37px;
        margin-bottom: -9px;
    }
    .anemiya_research {
        padding: 0;
    }
    .poloviye_hormons {
        font-weight: 600;
        font-size: 44px;
        line-height: 48px;
        margin-bottom: 52px;
    }
    .anemiya_text_listhead {
        margin-top: 15px;
        margin-bottom: 10px;
    }
    .priznaki_narusheniya {
        margin-top: -40px;
        margin-bottom: 9px;
        font-size: 28px;
        line-height: 32px

    }
    .priznaki_wrap {
        display: flex;
        flex-flow: column;
        justify-content: center;
    }
    .priznak_block {
        display: flex;
        flex-flow: column;
        margin-top: 8px;
        margin-bottom: 36px;
        max-width: initial;
    }
    .priznak_block.right {
        margin-left: 0px;
        margin-top: -3px;
    }
    .men_women_head {
        margin-top: 11px;
        margin-bottom: 26px;
    }
    .anemiya_text_top {
        margin-top: 10px;
        max-width: initial;
    }


    .anemiya_text_li {
        font-size: 18px;
        line-height: 24px;
        padding-left: 26px;
        margin-bottom: 16px;
    }
    ul>li.anemiya_text_li:before {
        top: 11px;
        width: 4px;
        height: 4px;
        left: 12px;
    }
    .anemiya_research.what_ishepatit {
        margin-top: 94px;
        padding: 0px;
    }
    .anemiya_head {
        margin-bottom: -9px;
        margin-top: -32px;
        flex-flow: column-reverse;
    }
    .anemiya_head.noreverse {
        margin-bottom: -9px;
        margin-top: 35px;
        flex-flow: column;
    }

    .anemiya_img {

        width: auto;
        margin: auto;
        margin-top: 15px;
    }
    .promocode_block {
        margin-top: 45px;
    }
    .analysis_text {
        font-size: 18px;
        line-height: 24px;
        min-width: 100%;
        margin-bottom: 14px;
    }
    .analysis_code {
        margin-left: 0;
        margin-top: 2px;
    }
    .analysis_price_block {
        padding-left: 11px;
        margin-right: auto;
    }
    .analysis_code_text {
        margin-left: 0px;
    }
    .anemiya_consulting {
        margin-top: 104px;
    }
    .consult_wrap {
        align-items: start;
    }
    .consult_ico {
        margin-top: 10px;
    }
    .record_text {
        font-size: 28px;
        line-height: 40px;
        max-width: 390px;
    }
    .record_left {
        padding: 34px 0 0 46px;
    }
    .record_wrap {
        min-width: 736px;
    }
    .record_img{
        width: 256px;
    }
    a.record_button {
        margin-top: 30px;
    }
    .anemiya_discount_block {
        flex-flow: column;
        gap: 17px;
    }
    .discount_wrap {
        margin-right: 0px;
        margin-bottom: -21px;
    }
    .discount_text {
        margin: auto;
        margin-top: 24px;
        max-width: 94%;
    }
    .hr_small {
        margin-top: 94px;
        margin-bottom: 90px;
    }
    .cond_wrap {
        margin-bottom: 84px;
        margin-top: 51px;

    }
    .cond_wrap_sup {
        margin-bottom: 90px;
    }
    .analysis_block_bg_inner {
        flex-wrap: wrap;
        padding: 20px 38px 20px 36px;
    }
    .analysis_href {
        margin-left: auto;
        margin-right: auto;
        margin-top: 15px;
    }
    .centered {
        margin-bottom: 40px;
    }
    .analysis_block {
        padding-top: 24px;
        margin-bottom: 0px;
        flex-wrap: wrap;
    }
    .analysis_total_text {
        margin-top: 50px;
        margin-bottom: -4px;
    }
    .anemiya_research.additional{
        margin-top: 96px;
    }

    .centered.additional {
        margin-bottom: 34px;
    }
    .analysis_block_more {
        font-size: 14px;
        line-height: 20px;
        margin: 24px 36px 22px;
    }
    .research_block.prices {
        margin-left: initial;
        margin-right: initial;
        flex-flow: column;
        margin-top: 31px;
        margin-bottom: 0px;
    }
    .research_block {
        margin-top: 31px;
    }
    .progress_block_wrap {
        justify-content: left;
    }
    .research_block.researches {
        width: 50%;
    }
    .progress_block_wrap {
        margin-bottom: -19px;
        padding: 0 8px;
    }
    .pr_discount_meter {
        bottom: 0px;
    }
    .analys_group {
        margin-top: 0;
    }
    .analys_group._yandex_maps{
        margin-top: 88px;
    }
    .new_line {
        display: initial;
    }
    .diagnosys_wrap {
        padding-top: 38px;
        padding-right: 32px;
        padding-bottom: 40px;
        padding-left: 32px;
        background: #F6F6F6;
        border-radius: 16px;
        display: flex;
        flex-flow: column;
        margin-top: 61px;
        margin-bottom: 103px;
    }
    .diagnosys_h1 {
        margin-bottom: 27px;
    }
    .diagnosys_right_col {
        margin-left: initial;
        display: flex;
        align-items: center;
        margin-top: 24px;
    }
    .analys_signup.normal {
        width: 168px;
        height: 48px;
        font-size: 18px;
        margin-left: auto;
        margin-top: 0px;
    }
    .diagnosys_pricenew {
        margin-bottom: 0px;
    }
    .diagnosys_priceold {
        margin-bottom: 0px;
        margin-left: 34px;
    }
    .diagnosys_text {
        max-width: initial;
    }
    .analys_hr._complex {
        margin-top: 91px;
        margin-bottom: 93px;
    }

    .grey_block_text {
        font-weight: 400;
        font-size: 18px;
        line-height: 24px;
        max-width: unset;
    }
    .grey_block_img {
        max-width: 262px;
        align-self: end;
    }
    .grey_block_img2 {
        max-width: 262px;
        align-self: end;
    }
    .grey_block_right {
        margin-left: 56px;
    }
    .analys_signup.normal2 {
        width: 240px;
        height: 48px;
        margin-top: 24px;
    }
    .grey_block {
        height: 280px;
    }
    .grey_block2 {
        height: 280px;
    }
    .grey_block_right2 {
        margin-right: 80px;
    }
    .anemiya_research.what_ishepatit {
        margin-top: 54px;
        margin-bottom: 26px;
    }

    .get-discount__option{
        flex-basis: 440px;
    }


    ._extended-examination{
        margin-top: 106px;
    }

    section.analysis.extended-examination__wrap{
        margin-top: 48px;
        padding-top: 123px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .extended-examination__title{
        font-weight: 600;
        font-size: 44px;
        line-height: 48px;
        text-align: center;
        color: #002E6D;
    }

    .extended-examination__text{
        margin-bottom: 25px;
    }

    .extended-examination__sub-group{
        margin-top: 69px;
    }

    section.analysis.extended-examination__sub-section{
        margin-top: 0;
    }

    ._atherosclerosis{
        margin-top: 95px;
    }

    ._functions{
        margin-top: 95px;
    }

    ._kidneys{
        margin-top: 95px;
    }

    .terms-of-action__group{
        border-top: 1px solid #CCD5E2;
        margin-top: 96px;
    }

    ._terms-of-action{
        margin-bottom: 44px;
    }

    .analysis-and-description-block__in-two-columns{
        margin-bottom: 75px;
        gap: 80px;
        justify-content: space-evenly;
    }

    .analysis-and-description-block__left-side{
        width: 408px;
    }

    .analysis-and-description-block__left-side .block__text{
        margin-top: 0;
    }

    .analysis-and-description-block__text{
        margin-bottom: 77px;
    }

    .square-analysis-block{
        width: 480px;
    }

    .three-blocks-in-row__wrap{
        margin-bottom: 79px;
        row-gap: 53px;
    }

    .small-img-and-text{
        width: 296px;
    }

    .small-img-and-text__text{
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
        width: 264px;
        margin: 0 auto;
    }

    .analysis__wrap {
        margin-bottom: 94px;
    }

    .analysis__blood-analysis{
        margin-bottom: 16px;
    }

    .hr_block-size{
        width: auto;
    }

    .block__text_image-with-list-of-text{
        margin-top: 39px;
    }
}

@media screen and (max-width: 1023px){
    .select {
        width: 320px;
    }

    /* скрываем иконки табов у карты */
    .offices-tabs__link .i-icon, .tab-link .i-icon{
        display: none;
    }
    .offices-tabs__link, .tab-link {
        width: 160px;
        padding: 0 44px 0px;
        height: 61px;
        color: #002e6d;
    }
    .offices-tabs__link.is-active {
        cursor: default;
        color: #ff5f49;
    }
    .offices-tabs__link.is-active:before {
        height: 2px;
        background-color: #ff5f49;
    }
    .offices-tabs__links {
        margin-left: 0;
        margin-right: 0;
    }

    .office-list {
        height: 680px;
        overflow: auto !important;
    }
}