
@media (max-width:2000px) {
    .main_staff_link img{
        width: 180px !important;
    }

    .search_result_photo_block{
        padding:14px !important;
    }

    .search_result_photo_block img{
        width: 100px !important;
    }
}



@media (max-width:1600px) {
    #logo_float {
        display: none;
    }
}

@media (max-width:1500px) {
    .staff_list_cell_name {
        width:200px;
    }

    #h1_block_medium {
        background-image: none;
/*        border-style: solid;
        border-width: 3px;
        border-color: #feefd9;
        border-radius: 30px;
        box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.2);
        background-color: #F8E7CE;
*/        /*padding:0px 0px;*/
    }

    #header_text_splitter {
        display: block !important;
    }


    #h1_block_inner{
/*        line-height:28px;
*/    }

    .article_image {
        float: left;
        /*margin-left: 15px;*/
        margin-bottom: 15px;
        width: 40%;
    }

    #content_part_1 {
        margin-top: 0px;
        max-width: 50%;
    }

    h1, h1 * {
        font-size: 34px;
    }

    h2
    {
        font-size:30px;
    }

    h3, h3 span, h3 a {
        font-size: 26px;
    }

    * {
        font-size: 23px;
        /* color: #2B7BA1; */
    }

    .main_staff_link img{
        width: 150px !important;
    }

    .main_staff_link {
        margin-bottom: 25px !important;
        margin-right: 40px !important;
    }
}


@media (max-width:1300px) {
    .main_staff_link img{
        width: 130px !important;
    }

    .main_staff_link {
        font-size: 17px !important;
    }


    .phone_out_formatted {
        display: none !important;
    }

}


@media (max-width:1000px) {
    .article_image {
        width: 90%;
    }

    #content_part_1 {
        /*margin-top: 0px;*/
        max-width: 90%;
        text-align:left;
    }

    #content_part_2 {
        text-align:left;

    }

    .staff_list_cell_name {
        width: 180px !important;
    }
}

@media (max-width:900px) {
    * {
        font-size: 15px;
        /* color: #2B7BA1; */
    }

    .master_light #site_block {
        margin-top: 65px !important;
    }

    #popup_menu_block {
        margin-top: 53px !important;
        padding: 40px !important;
        padding-top: 25px !important;
    }

    #popup_menu_block a {
        font-size: 19px !important;
        line-height: 31px !important;
    }

    #content_block {
        padding: 0px 20px !important;
    }

    #content_part_1 {
        margin-left: 20px !important;
    }

    #content_part_2_outer {
        text-align: left !important;
        margin-left: 20px !important;
    }

    .staff_list_row {
        white-space: normal !important;
        margin-bottom: 30px !important;
    }

    .staff_list_row:last-child {
        white-space: normal !important;
        margin-bottom: 30px !important;
    }

    .search_result_photo_block {
/*        padding: 25px !important;
*/    }

    .search_result_photo {
        width: 170px !important;
    }

    .staff_list_cell_name {
        bottom: 0px !important;
    }

    #staff_list_pages_block {
        margin-top: 0px !important;
    }

    .paging_link_block img {
        height: 60px !important;
    }

    .logo_block {
        margin: 10px 15px !important;
    }

    #site_block {
        padding: 0px 30px !important;
    }

        #site_block::before {
            width: 34px !important;
            background-size: auto 1000px !important;
        }

        /* Правая полоса */
        #site_block::after {
            width: 41px !important; /*регулирует положение полосы по горизонтали, собственно на ширину не влияет. Если увеличивам высоту, то нужно также увеличить и эту ширину пропорционально*/
            background-size: auto 1000px !important;
        }

    #footer {
        margin: 0px 20px !important;
        margin-top: 50px !important;
        border-radius: 20px !important;
        padding: 10px !important;
    }

    .staff_list_title {
        font-size: 25px !important;
        padding: 15px 40px !important;
    }

    #h1_block_medium {
        padding: 0px 0px !important;
    }

    #phones_block_float .phone_our_link img,
    #phones_block_float .messenger_link img,
    #phones_block_float .callback_btn_order img,
    .popup_menu_btn img {
        max-height: 40px !important;
    }

    #phones_block_float .phone_our_link img {
        top: 14px !important;
    }

    .master_light #main {
        margin-top: 50px !important;
    }


    #h1_block_inner, #h1_block_inner span {
        font-size: 19px !important;
        transform: none !important;
        line-height: 24px !important;
        -webkit-text-stroke: inherit !important;
    }

    #topmenu a img {
        max-height: 29px !important;
    }

    #topmenu a {
        margin-left: 0px !important;
    }

    #bread_crumbs_block {
        display: none !important;
    }

    .staff_list_title_block_outer {
        margin-top: 0px !important;
    }

    #splitter_under_top_menu {
        display: none !important;
    }

    .staff_list_title_block_outer {
        margin-bottom: 10px !important;
    }

    #h1_block_outer{
        display:none !important;
    }

    h1, h1 * {
        font-size: 26px;
    }

    h2 {
        font-size: 23px;
    }

    h3, h3 span, h3 a {
        font-size: 21px;
    }

    * {
        font-size: 20px;
        /* color: #2B7BA1; */
    }

    .main_staff_link img{
        width: 110px !important;
    }

}
@media (max-width:600px) {
    .search_result_photo_block img {
        width: 80px !important;
    }
    .staff_list_cell_name {
        width: 120px !important;
        font-size: 14px;
    }

    .staff_list_cell_name,
    .staff_list_cell_name *
    {
        font-size: 14px;
    }

    .search_result_photo_block {
        padding: 10px !important;
    }
}

@media (max-width:500px) {
    * {
        font-size: 13px;
        /* color: #2B7BA1; */
    }

    .master_light #site_block {
        margin-top: 100px !important;
    }

    #phones_block_top{
        padding-top: 0px !important;
    }
    #phones_block_top .messenger_link img {
        max-width: 45px !important;
    }

    #phones_block_top .phone{
        margin-right:5px !important;
    }

    #phones_block_top .phone img {
        max-width: 64px !important;
    }

    #phones_block_top .callback_btn_order img {
        max-width: 195px !important;
    }

    #phones_block_top .popup_menu_btn {
        display: inline-block !important;
        margin-right:5px !important;
        margin-bottom:25px !important;
    }

    #topmenu {
        display: none !important;
    }

    .staff_list_title {
        font-size: 16px !important;
    }

    .search_result_photo {
        width: 120px !important;
    }

    .h1, h1 span, h1 a {
        font-size: 25px !important;
    }

    #return_to_list_block a {
        font-size: 15px !important;
    }

    .paging_arrow {
        font-size: 27px;
        /* font-weight: bold; */
        top: 6px;
    }

    h1, h1 * {
        font-size: 25px;
    }

    h2 {
        font-size: 21px;
    }

    * {
        font-size: 17px;
        /* color: #2B7BA1; */
    }

    #footer * {
        font-size: 14px;
    }

    .footer_column{
        margin-left:10px !important;
    }


    .main_staff_link img{
        width: 90px !important;
    }

    .main_staff_link {
        margin-bottom: 17px !important;
        margin-right: 45px !important;
        font-size: 15px !important;
    }
 }

@media (max-width:400px) {
    * {
        font-size: 12px;
        /* color: #2B7BA1; */
    }

    .main_staff_link img{
/*        width: 70px !important;
*/    }


    .main_staff_link {
        margin-bottom: 17px !important;
        margin-right: 15px !important;
        font-size: 11px !important;
        line-height: 15px !important;
    }

    #resume_external_page .standard_block_border {
        margin-right: 0px !important;
    }
}

