@media (max-width: 1400px){
    .main_screen .image_container{
        justify-content: flex-start;
    }

    .main_screen .image_container img{
        margin-left: -540px;
    }

    .client_container{
        width: calc(100% - 60px);
    }
}

@media (max-width: 1250px){
    .client_container{
        width: calc(100% - 20px);
    }

    .client_container .experts .items{
        gap: 32px 8px;
    }

    .client_container .experts .item{
        width: calc(33% - 5px);
    }
}

@media (max-width: 1200px){
    .experts .items{
        gap: 16px 8px;
        justify-content: center;
    }

    .experts .item{
        width: calc(33% - 5px);
    }

    .seo_block .left_right{
        gap: 16px;
    }

    .seo_block .text, .seo_block .img{
        width: calc(50% - 8px);
    }

    aside{
        padding: 24px 8px;
        width: 220px;
    }

    .client_expert_side, .client_expert_side header{
        width: calc(100% - 220px);
    }

    .sidebar_menu a{
        gap: 8px;
        font-size: 14px;
    }

    .sidebar_account_block .acc_info p{
        font-size: 14px;
    }

    .sidebar_account_block .acc_info p:last-child{
        font-size: 12px;
    }
}

@media (max-width: 1150px){
    footer .bottom{
        flex-wrap: wrap;
        gap: 24px;
    }

    footer .bottom p, footer .bottom ul{
        width: 100%;
    }

    footer .bottom p{
        order: 2;
    }

    aside{
        width: 340px;
        padding: 24px 32px;
        left: -340px;
        transition: all 0.3s;
    }

    aside.active{
        left: 0;
    }

    .sidebar_menu a, .sidebar_account_block .acc_info p, .sidebar_account_block .acc_info p:last-child{
        font-size: 16px;
    }

    .client_expert_side, .client_expert_side header{
        width: 100%;
    }

    .client_expert_side header .client_container .left a{
        display: flex;
    }

    aside a[href="#close"]{
        display: flex;
    }
}

@media (max-width: 1100px){
    h1{
        font-size: 40px;
        max-width: 520px;
    }

    .main_screen .container > p{
        max-width: 440px;
    }

    .main_screen .image_container{
        justify-content: flex-end;
    }

    .main_screen .image_container img{
        margin-right: -140px;
    }

    .main_screen .items{
        max-width: 540px;
        gap: 16px;
    }

    .main_screen .item{
        gap: 8px;
    }

    .chto_bespokoit .items{
        flex-wrap: wrap;
        height: auto;
        gap: 16px 0;
    }

    .chto_bespokoit a{
        width: 25%;
    }

    .kak_rabotaet p.item_title{
        margin: 12px 0;
        font-size: 22px;
    }

    .blog_section .items{
        gap: 16px 8px;
    }

    .blog_section .item{
        width: calc(33% - 4px);
    }
}

@media (max-width: 1000px){
    h1{
        font-size: 30px;
        max-width: 400px;
    }

    .main_screen .container > p{
        font-size: 16px;
        margin: 24px 0;
    }

    .main_screen .items{
        margin-bottom: 40px;
        flex-wrap: wrap;
    }

    .text_img{
        flex-wrap: wrap;
    }

    .text_img img, .text_img div{
        width: 100%;
    }
}

@media (max-width: 900px){
    .main_screen .container{
        padding: 24px 0;
    }

    h1{
        max-width: 330px;
    }

    .main_screen .container > p{
        max-width: 300px;
    }

    .main_screen .items{
        max-width: 300px;
    }

    .categories .items a{
        width: calc(50% - 6px);
    }

    .experts .item{
        width: calc(50% - 6px);
    }

    .blog_section .item {
        width: calc(50% - 4px);
    }

    .seo_block .left_right{
        gap: 48px;
    }

    .seo_block .text, .seo_block .img{
        width: 100%;
    }

    .seo_block .text{
        order: 2;
    }

    .zarabotok_block{
        flex-wrap: wrap;
        gap: 24px;
        justify-content: center;
    }

    .zarabotok_info{
        width: 100%;
        justify-content: center;
    }

    .expert_settings .left_right{
        flex-wrap: wrap;
    }

    .profile_photo, .expert_settings .left_right .input, .expert_settings .left_right .select{
        width: 100%;
    }
}

@media (max-width: 840px){
    footer .left_right{
        flex-wrap: wrap;
        gap: 36px;
    }

    footer .left, footer .right{
        width: 100%;
    }

    .blog_section .container .blog_left_bg, .blog_section .container .blog_right_bg{
        width: 50%;
    }

    .blog_section .container .blog_right_bg{
        top: 60px;
    }

    .th:not(.table_stat .th){
        display: none;
    }

    .table_stat .th .switch_btn{
        padding: 10px 0;
    }

    .client_container .table{
        padding: 0;
        border: none;
        border-radius: 0;
        background: none;
    }

    .tr:nth-child(even){
        background: none;
    }

    .tr_avatar, .tr_money, .tr_operation{
        display: flex;
    }

    .tr{
        gap: 10px;
        justify-content: space-between;
        padding: 8px 0;
        border-bottom: 1px solid #CCCBD5;
    }

    .tr_avatar, .tr_operation{
        width: 32px;
        height: 32px;
        justify-content: center;
        align-items: center;
    }

    .tr_operation_plus{
        background: #E4F9ED;
    }

    .tr_avatar{
        border: 1px solid #CCCBD5;
        border-radius: 20px;
        overflow: hidden;
    }

    .tr_avatar img{
        min-width: 100%;
        min-height: 100%;
    }

    .tr_money{
        color: #424248;
        font-weight: 600;
        line-height: 150%;
    }

    .tr_data{
        flex-wrap: wrap;
        width: calc(100% - 140px);
    }

    .table_date, .table_time{
        color: #9594A0;
        font-size: 12px;
        font-weight: 500;
        line-height: 150%;
    }

    .table_date{
        order: 1;
        width: 70px;
    }

    .table_time{
        order: 2;
        width: calc(100% - 70px);
    }

    .table_expert{
        order: 3;
        width: 100%;
        color: #424248;
        font-weight: 600;
        line-height: 150%;
    }

    .table_type, .table_duration, .table_price{
        color: #424248;
        font-size: 14px;
        font-weight: 500;
        line-height: 160%;
        letter-spacing: 0.14px;
        width: auto;
    }

    .table_type{
        order: 4;
    }

    .table_type img{
        display: flex;
    }

    .table_duration{
        order: 5;
    }

    .table_price{
        order: 6;
    }

    .table_summ{
        display: none;
    }

    .tr_data div{
        padding: 0;
    }

    .table_duration::before, .table_price:before{
        content: '•';
        margin-left: 8px;
        margin-right: 8px;
    }

    .client_container .experts .item{
        width: calc(50% - 6px);
    }

    .td_sobitie{
        width: 100%;
    }

    .switch_text{
        display: block;
        color: #2C2C30;
        font-size: 14px;
        font-weight: 500;
        line-height: 160%;
        letter-spacing: 0.14px;
    }

    .table_settings .tr{
        flex-wrap: wrap;
    }

    .td_telegram, .td_email{
        display: flex;
        align-items: center;
        gap: 12px;
        width: calc(50% - 5px);
    }

    .table_viplati .table_date{
        width: 50%;
        font-size: 16px;
    }

    .table_viplati .table_summ{
        display: block;
        width: 50%;
        order: 2;
        text-align: right;
    }

    .table_viplati .table_sposob{
        order: 4;
        color: #9594A0;
        width: 210px;
    }

    .table_viplati .table_nomer{
        order: 3;
        color: #9594A0;
        width: 90px;
    }

    .table_viplati .table_status{
        order: 5;
        width: 120px;
    }

    .table_viplati .tr_data{
        width: 100%;
        justify-content: space-between;
        gap: 12px 0;
    }

    .status_vobrabotke p{
        background: #FCEDB9;
    }

    .status_viplacheno p{
        background: #D3F6C7;
    }
}

@media (max-width: 800px){
    header .left a[href='#menu'], header .right .button{
        display: none;
    }

    header .right .a_menu, .left_menu a.red_button{
        display: flex;
    }

    .online_switch{
        margin-right: 0;
    }

    .search_block{
        width: calc(100% - 260px);
    }

    .mobile_all_filters_block, .mobile_filters_clear_block{
        display: flex;
    }

    .filters_block{
        position: fixed;
        z-index: 10;
        width: 100%;
        height: 100%;
        background: #fff;
        top: 0;
        left: 0;
        margin-top: 0;
        padding: 30px 20px;
        box-sizing: border-box;
        overflow-y: scroll;
        display: none;
    }

    .mobile_filters_head, .filters_more{
        display: block;
    }

    .all_filters_block{
        display: none;
    }

    .mobile_invisible{
        display: flex;
    }

    .desktop_invisible{
        display: none;
    }

    aside{
        padding: 24px 20px;
    }

    .sidebar_balance{
        display: flex;
    }

    .sidebar_menu{
        margin-top: 24px;
    }

    .chat_block{
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 20;
        border: none;
        border-radius: 0;
    }

    .chat_form button{
        display: flex;
        width: 46px;
        height: 46px;
        border-radius: 12px;
        background: #DB6460;
        border: none;
        outline: none;
        justify-content: center;
        align-items: center;
    }

    .chat_form input{
        font-size: 16px;
        padding: 10px;
    }

    .chat_form a{
        position: absolute;
        right: 95px;
        top: 29px;
        padding: 0;
    }

    .chat_close{
        display: block;
    }

    .chat_dialog_end table{
        display: table;
    }

    .chat_dialog_end h2{
        order: 2;
        margin: 24px 0 0;
    }

    .chat_dialog_end > img{
        order: 1;
    }

    .chat_dialog_end p{
        order: 3;
        margin: 8px 0 0;
    }

    .chat_dialog_end table{
        order: 4;
    }

    .chat_dialog_end .buttons{
        order: 5;
    }
}

@media (max-width: 740px){
    .main_img_mobile{
        display: block;
    }

    .main_img_desktop{
        display: none;
    }

    .main_screen .image_container img{
        margin-right: 0;
        max-width: 100%;
    }

    .rekl_banner p{
        font-size: 14px;
    }
}

@media (max-width: 680px){
    .chto_bespokoit .items{
        border: none;
        gap: 8px;
        justify-content: center;
        background: none;
        align-items: stretch;
    }

    .chto_bespokoit a{
        width: calc(50% - 6px);
        border-radius: 12px;
        border: 1px solid #EE8986;
        background: #fff;
        padding: 10px 8px;
        height: auto;
    }

    .zarabotok_info{
        flex-wrap: wrap;
        gap: 12px;
    }

    .vobrabotke, .dostupno{
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 650px){
    .reklama_illustration{
        display: none;
    }

    .reklama_illustration_mobile{
        display: block;
    }

    .rekl_banner .container{
        width: 100%;
    }

    footer .right{
        flex-wrap: wrap;
    }

    footer .menu_col:not(:first-child){
        width: calc(50% - 12px);
    }

    footer .menu_col:first-child{
        order: 3;
        width: 100%;
    }

    footer .menu_col:first-child ul{
        display: flex;
        gap: 16px;
    }

    footer .bottom ul{
        flex-wrap: wrap;
    }

    .filter_block{
        flex-wrap: wrap;
        gap: 20px;
    }

    .filter_title, .filter_block ul{
        width: 100%;
    }

    .big_search_block{
        flex-wrap: wrap;
    }

    .search_block{
        width: 100%;
    }

    .big_search_block > .filter_title{
        width: calc(100% - 95px);
    }

    .experts_title_slider_buttons .experst_line, .experts_title_slider_buttons .slider_buttons{
        display: none;
    }

    .table_operations .table_type{
        order: 1;
        width: 100%;
    }

    .table_operations .table_expert_method{
        order: 2;
        width: 100%;
    }

    .table_operations .table_date{
        order: 3;
        width: 70px;
    }

    .table_operations .table_time{
        order: 4;
        width: calc(100% - 70px);
    }

    div.td_green{
        color: #0AAC51;
    }

    .client_settings, .expert_settings{
        padding: 20px 0;
        background: none;
        border: none;
    }

    .client_settings_form .input{
        width: calc(50% - 5px);
    }

    .message{
        width: calc(100% - 50px);
    }

    .besplatno_polosa_container{
        display: none;
    }

    .besplatno_info{
        justify-content: space-between;
    }
}

@media (max-width: 620px){
    .experts .item{
        width: 100%;
    }

    .otzivi_slider .owl-nav{
        display: none;
    }

    .otziv{
        width: 100%;
    }

    .otzivi h2{
        font-size: 24px;
    }

    p.otziv_text{
        font-size: 18px;
    }

    .otzivi .container > p{
        font-size: 16px;
    }

    .otzivi_slider{
        margin-top: 56px;
    }

    .otzivi .container .zakr{
        right: 0;
    }

    .otkr img, .zakr img{
        width: 80px;
    }

    .blog_section .item{
        width: 100%;
    }

    .search_block .filter_title{
        display: none;
    }

    .expert_left_right .container{
        flex-wrap: wrap;
    }

    .expert_left_right .container > .left, .expert_left_right .container > .right{
        width: 100%;
    }
}

@media (max-width: 580px){
    .client_container .experts .item{
        width: 100%;
    }

    .chat_dialog_end .buttons{
        flex-wrap: wrap;
    }

    .chat_dialog_end .buttons a{
        width: 100%;
        justify-content: center;
    }

    .chat_dialog_end h2{
        font-size: 24px;
    }

    .chat_dialog_end p{
        font-size: 16px;
    }

    .chat_dialog_end{
        padding-top: 40px;
    }
}

@media (max-width: 500px){
    .categories .items a{
        flex-direction: column;
        text-align: center;
    }
    
    .mobile_all_filters_block{
        gap: 8px;
    }

    .mobile_all_filters_block a, .order_real{
        padding: 12px 12px;
    }

    .order_block{
        gap: 8px;
    }

    .order_block .orderby_select{
        width: 50%;
    }

    .order_block .order_real{
        width: 100%;
        box-sizing: border-box;
        justify-content: space-between;
    }

    .article h1, h1{
        font-size: 30px;
        font-weight: 700;
    }

    .text_content img{
        margin: 24px 0;
    }

    .text_content h2, h2{
        font-size: 24px;
    }

    .text_content h3, h3{
        font-size: 20px;
    }

    aside{
        width: 100%;
        left: -500px;
    }

    .client_settings_form .input{
        width: 100%;
    }

    .chat_head .avatar .img{
        width: 32px;
        height: 32px;
    }

    .chat_head_side{
        gap: 8px;
    }

    .avatar_info p:first-child{
        font-size: 14px;
        margin-bottom: 0;
    }

    .avatar_info p:last-child span{
        display: none;
    }

    .table_viplati .table_date{
        font-size: 14px;
    }

    .table_viplati .table_nomer{
        font-size: 14px;
        width: 75px;
    }

    .table_viplati .table_sposob{
        font-size: 14px;
        width: 90px;
    }

    .profile_photo{
        gap: 16px;
    }

    .profile_photo .img{
        width: 120px;
        height: 120px;
    }
    
    .profile_photo_text{
        width: calc(100% - 136px);
    }

    .profile_photo_text p:nth-child(2){
        font-size: 14px;
    }

    .profile_photo_text a.button_transparent p{
        display: none;
    }

    .expert_settings .input_dop_text p{
        font-size: 14px;
    }

    .input_dop_text img{
        width: 20px;
    }
}

@media (max-width: 400px){
    .main_screen{
        background: #fff;
    }

    .main_screen .image_container{
        align-items: flex-start;
    }

    .main_screen .image_container img{
        max-height: 100%;
    }

    a.button{
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
    }

    .rekl_banner .container{
        gap: 6px;
    }

    .mobile_all_filters_block a, .order_real{
        font-size: 14px;
    }

    .table_duration::before, .table_price:before{
        margin-left: 4px;
        margin-right: 4px;
    }

    .sidebar_balance a.button{
        width: fit-content;
    }

    .td_telegram, .td_email, .td_sobitie{
        padding: 12px 0;
    }

    .vobrabotke, .dostupno{
        justify-content: space-between;

    }

    .vobrabotke img, .dostupno img, .dostupno .pc_span{
        display: none;
    }

    .dostupno .mob_span{
        display: block;
    }

    .tr_data div, .table_stat .tr div{
        font-size: 14px;
    }

    .profile_photo_text a.button{
        padding: 12px;
    }
}

@media (max-height: 700px){
    .chat_dialog_end{
        padding-top: 40px;
        overflow: scroll;
        height: calc(100vh - 90px);
        box-sizing: border-box;
    }
}

@media (max-height: 620px){
    .left_menu{
        overflow: scroll;
    }

    aside{
        overflow: scroll;
    }

    .sidebar_account_block{
        position: relative;
        bottom: auto;
        margin-top: 24px;
    }
}