@media (max-width: 767px)
{
    /*---------------
        Main styles
    ---------------*/
    :root
    {
        --font_size_title: 24px;
    }


    .block_head .title
    {
        font-weight: 700;
        line-height: 26px;
    }

    .block_head .title br
    {
        display: none;
    }



    .page_title
    {
        font-size: 26px;
    }



    .text_block
    {
        line-height: 22px;
    }

    .text_block h2
    {
        font-size: 22px;
        line-height: 26px;

        margin-bottom: 15px;
    }

    .text_block h3
    {
        margin-bottom: 15px;
    }

    .text_block img.left,
    .text_block img.right
    {
        float: none;

        width: auto;
        max-width: 100%;
        margin: 0 0 22px;
    }

    .text_block blockquote,
    .text_block q
    {
        padding: 15px 20px;
    }

    .text_block .cols .col
    {
        width: 100%;
    }

    .text_block .cols .col + .col
    {
        margin-top: 30px;
    }



    /*---------------
        Header
    ---------------*/
    header.absolute
    {
        padding: 20px 0;
    }


    header .logo
    {
        margin-left: -10px;
    }

    header .logo a,
    header .logo img
    {
        max-width: 120px;
    }

    header .logo .slogan
    {
        display: none;
    }


    header .contacts
    {
        margin-right: 5px;
    }

    header .contacts .links
    {
        margin-left: 15px;
    }



    header.absolute .mob_menu_link.active,
    header.absolute .menu
    {
        top: -20px;
    }



    /*---------------
        Sidebar
    ---------------*/



    /*---------------
        Main section
    ---------------*/
    .first_section
    {
        padding-top: 130px;
    }

    .first_section .info .title
    {
        font-size: 28px;
        font-weight: 700;
    }

    .first_section .info .desc li
    {
        font-size: 16px;
    }

    .first_section .info .desc li + li
    {
        margin-top: 15px;
    }


    .first_section .form
    {
        width: 400px;
        padding: 38px 45px 45px;
    }

    .first_section .form .title
    {
        font-size: 25px;
        line-height: 25px;

        text-align: center;
    }

    .first_section .form .title br
    {
        display: none;
    }



    .services .item
    {
        font-size: 17px;

        padding-bottom: 35%;
    }

    .services .item .name span
    {
        display: none;
    }



    .portfolio
    {
        padding-top: 40px;
    }

    .portfolio .block_head
    {
        margin-bottom: 30px;
    }

    .portfolio .tabs
    {
        display: block;
        overflow: auto;

        margin-top: 5px;

        white-space: nowrap;
    }

    .portfolio .tabs a
    {
        display: inline-block;

        height: auto;

        vertical-align: top;
    }



    .portfolio .flex > *
    {
        width: 50%;
    }

    .portfolio .item
    {
        padding-bottom: 31%;
    }



    .steps .data .items
    {
        min-height: 120px;
    }

    .steps .data .item
    {
        font-size: 12px;
    }


    .steps .video_review
    {
        width: 100%;
    }

    .steps .video_review .thumb
    {
        width: 180px;
        height: auto;
        padding-bottom: 25%;
    }

    .steps .video_review .info
    {
        width: calc(100% - 200px);
        margin-top: 0;

        align-self: center;
    }


    .steps .form
    {
        width: 400px;
        margin: 40px auto 0;
        padding: 38px 45px 45px;
    }

    .steps .video_review .name
    {
        font-size: 22px;

        padding-top: 22px;
    }


    .steps .bg
    {
        height: 252px;
    }



    .cases .block_head .all_link
    {
        margin-top: 10px;
    }

    .cases .item
    {
        font-size: 15px;
    }



    .tz .info
    {
        font-size: 15px;

        width: 100%;
        padding-bottom: 40px;

        text-align: center;
    }

    .tz .info .title
    {
        font-size: 36px;
    }

    .tz .info .sub_title
    {
        font-size: 22px;
    }


    .tz .cont .img
    {
        width: 100%;
        max-width: 100%;
        margin-bottom: 50px;
        padding-right: 10px;
        padding-left: 10px;
    }



    .video_link
    {
        padding-bottom: 70%;
    }

    .video_link .info .title
    {
        font-size: 20px;
    }



    .structure .col .title
    {
        font-size: 20px;
    }

    .structure .col .item
    {
        width: calc(50% - 10px);
    }



    .articles .flex > *
    {
        width: calc(50% - 15px);
    }


    .articles .article .cat
    {
        margin-bottom: 5px;
    }

    .articles .article .date
    {
        width: 100%;
        margin-top: 0;
        margin-left: 0;
    }



    .articles .flex.big > *
    {
        width: calc(100% - 20px);
    }



    .vacancies .vacancy .details
    {
        line-height: 48px;

        height: 50px;
    }



    .contacts_info
    {
        padding-top: 80px;
    }

    .contacts_info .block_head
    {
        text-align: center;

        justify-content: center;
    }

    .contacts_info .flex > *
    {
        width: 100%;
        max-width: 100%;

        text-align: center;
    }

    .contacts_info .flex > * + *
    {
        margin-top: 20px;
    }

    .contacts_info .socials
    {
        justify-content: center;
    }



    .map
    {
        padding-bottom: 75%;
    }



    .service_info
    {
        min-height: 500px;
        padding: 50px 0 100px;
    }

    .service_info .info .title
    {
        font-size: 28px;
        font-weight: 700;
        line-height: 36px;

        margin-bottom: 0;
    }

    .service_info .info .title span
    {
        display: inline-block;

        padding: 15px 20px;

        vertical-align: top;
    }

    .service_info .info .title  br
    {
        display: none;
    }


    .service_info .slide
    {
        height: 545px;
    }

    .service_info .slider .owl-dots
    {
        bottom: 60px;
    }



    /*---------------
        Footer
    ---------------*/
    footer .copyright
    {
        max-width: calc(100% - 117px);
        margin-left: 20px;
    }


    footer .user_agreement
    {
        margin-top: 10px;
        margin-left: 117px;
    }



    /*---------------
        PopUp
    ---------------*/
    .fancybox-slide--html .fancybox-close-small
    {
        top: 0;
        right: 0;
    }


    .modal_title
    {
        font-size: 24px;
        line-height: 24px;
    }


    .case_modal
    {
        padding: 25px;
    }

    .case_modal .case_title
    {
        font-size: 24px;

        padding-right: 40px;
    }


    .case_modal .info .name
    {
        font-weight: 700;

        padding: 10px 15px;
    }


    .case_modal .info .gallery figure .img
    {
        height: 250px;
    }

    .case_modal .info .gallery figure.big,
    .case_modal .info .gallery figure
    {
        width: 50%;
    }

    .case_modal .info .gallery figure figcaption
    {
        padding: 10px 15px;
    }


    .case_modal .info .text
    {
        width: 100%;
        margin-top: 20px;
    }


    .case_modal .info .period
    {
        position: relative;
        right: 0;

        width: 100%;
        margin-top: 25px;
    }

    .case_modal .info .period .val
    {
        font-size: 42px;
    }


    .case_modal .stages
    {
        width: calc(100% + 50px);
        margin-right: -25px;
        margin-left: -25px;
        padding: 30px 25px 50px;
    }

    .case_modal .stages ol
    {
        width: 100%;
        max-width: 100%;
    }

    .case_modal .stages ol li + li
    {
        margin-top: 12px;
    }


    .case_modal .stages .items
    {
        position: relative;
        right: 0;
        bottom: 0;

        max-width: 100%;
        margin: 30px auto 0;
    }
}
