@media (max-width: 1023px)
{
    /*---------------
        Main styles
    ---------------*/
    :root
    {
        --font_size_title: 26px;
    }


    .block_head .title
    {
        line-height: 28px;
    }



    .pagination
    {
        margin-top: 40px;
    }



    /*---------------
        Header
    ---------------*/
    header .logo .slogan
    {
        display: block;
    }


    header .contacts
    {
        width: auto;
        margin-right: 10px;
        margin-left: auto;
    }

    header .contacts .links
    {
        width: auto;
        margin-top: 0;
        margin-left: 20px;
    }


    header .mob_menu_link
    {
        display: block;
    }


    header .mob_menu_link.active
    {
        top: -15px;
    }

    header .menu
    {
        position: absolute;
        z-index: 99;
        top: -15px;
        left: 0;

        display: none;

        width: 100%;
        min-height: 100vh;
        margin: 0;
        padding: 60px;

        text-align: center;

        background: #fff;
        box-shadow: 0 4px 32px 0 rgba(0, 0, 0, .27);
    }

    header.absolute .mob_menu_link.active
    header.absolute .menu
    {
        top: -30px;
    }

    header .menu .item + .item
    {
        margin-top: 20px;
        margin-left: 0;
    }

    header .menu .item > a
    {
        font-size: 14px;

        display: inline-block;

        text-align: center;
        vertical-align: top;
    }



    /*---------------
        Sidebar
    ---------------*/



    /*---------------
        Main section
    ---------------*/
    .first_section
    {
        overflow: hidden;

        padding-bottom: 60px;
    }

    .first_section:before
    {
        right: 20px;
        bottom: -10px;

        width: calc(100% - 40px);
        height: 150px;
    }


    .first_section .info
    {
        width: 100%;

        text-align: center;
    }

    .first_section .info .title
    {
        font-size: 32px;
    }

    .first_section .info .title:after
    {
        left: 50%;

        margin-left: -82px;
    }

    .first_section .info .desc
    {
        width: 600px;
        margin-right: auto;
        margin-left: auto;

        text-align: left;
    }

    .first_section .info .desc li
    {
        font-size: 18px;
    }


    .first_section .form
    {
        width: 428px;
        margin: 40px auto 0;
        padding: 38px 51px 51px;
    }

    .first_section .form .title
    {
        font-size: 26px;
        line-height: 26px;
    }


    .first_section .slider
    {
        display: none;
    }



    .services .block_head
    {
        padding: 50px 0 30px;
    }

    .services .flex > *
    {
        width: 50%;
    }

    .services .item
    {
        padding-bottom: 21%;
    }



    .portfolio
    {
        padding-top: 50px;
    }

    .portfolio .block_head .title
    {
        position: relative;
    }

    .portfolio .block_head .all_link
    {
        position: relative;
        top: 0;
        left: 0;

        margin-left: 20px;
    }


    .portfolio .tabs
    {
        margin-top: 10px;
    }

    .portfolio .tabs a:first-child
    {
        margin-left: 9px;
    }

    .portfolio .tabs a
    {
        font-size: 13px;
        line-height: 17px;

        height: 40px;
        padding: 8px 19px;
    }


    .portfolio .flex > *
    {
        width: 33.333%;
    }

    .portfolio .item
    {
        padding-bottom: 21%;
    }

    .portfolio .item .logo img
    {
        max-height: 45px;
    }



    .steps
    {
        padding-top: 50px;
    }

    .steps .bg
    {
        height: 294px;
    }


    .steps .data
    {
        width: 100%;
    }

    .steps .data .items
    {
        min-height: 130px;
        padding: 20px 0;
    }

    .steps .data .items:before
    {
        right: -20px;

        width: calc(100% + 40px);
        height: 100%;

        background-size: 100% 100%;
    }


    .steps .video_review
    {
        width: calc(100% - 380px);
    }

    .steps .video_review:before
    {
        display: none;
    }

    .steps .video_review .thumb
    {
        width: 100%;
        height: 220px;
        padding-bottom: 0;
    }

    .steps .video_review .info
    {
        width: 100%;
        margin-top: 25px;
        padding: 0;

        align-self: center;
    }

    .steps .video_review .name
    {
        font-size: 24px;

        padding-top: 24px;
    }

    .steps .video_review .author
    {
        font-size: 15px;
    }


    .steps .form
    {
        width: 360px;
        margin-top: -350px;
        margin-left: auto;
        padding: 35px 40px;
    }

    .steps .form .title
    {
        font-size: 22px;
    }



    .cases .item .info
    {
        padding: 20px;
    }

    .cases .item
    {
        font-size: 16px;
    }



    .tz
    {
        padding-top: 50px;
    }


    .tz .info
    {
        font-size: 16px;

        width: 270px;
        padding-bottom: 50px;
    }

    .tz .info .title
    {
        font-size: 40px;
    }

    .tz .info .sub_title
    {
        font-size: 24px;
    }


    .tz .cont .img
    {
        max-width: calc(100% - 300px);
        margin-bottom: -30px;
    }


    .tz .cont .img img.logo
    {
        top: 15px;
        left: 15px;

        width: 60px;
    }

    .tz .cont .img .name
    {
        font-size: 14px;
        font-weight: 700;

        top: 45px;
    }

    .tz .cont .img .maximum
    {
        font-size: 20px;

        width: 220px;
        height: 70px;
    }

    .tz .cont .img .maximum b
    {
        font-size: 22px;
    }

    .tz .cont .img .flex:before
    {
        top: 24px;

        width: 72px;
        height: 30px;
        margin-left: -36px;

        background-size: 100% 100%;
    }

    .tz .cont .img .flex:after
    {
        bottom: 20px;

        width: 41px;
        height: 41px;
        margin-left: -21px;

        background-size: 100% 100%;
    }



    .structure
    {
        padding-top: 50px;
        padding-bottom: 30px;
    }

    .structure .block_head
    {
        margin-bottom: 30px;
    }

    .structure .block_head .title br
    {
        display: none;
    }


    .structure .col .title:before,
    .structure .col .title:after
    {
        display: none;
    }


    .structure .col_left
    {
        display: flex;

        width: calc(100% + 10px);
        max-width: calc(100% + 10px);
        margin: 0 auto;
        margin-bottom: -10px;
        margin-left: -10px;
        padding: 0;

        justify-content: flex-start;
        align-items: stretch;
        align-content: stretch;
        flex-wrap: wrap;
    }

    .structure .col_left .title
    {
        position: relative;
        top: 0;
        left: 0;

        width: calc(100% - 10px);
        margin-bottom: 20px;
        margin-left: 10px;
    }


    .structure .col_right
    {
        display: flex;

        width: calc(100% + 10px);
        max-width: calc(100% + 10px);
        margin-top: 40px;
        margin-bottom: -10px;
        margin-left: -10px;
        padding: 0;

        justify-content: flex-start;
        align-items: stretch;
        align-content: stretch;
        flex-wrap: wrap;
    }

    .structure .col_right .title
    {
        position: relative;
        top: 0;
        left: 0;

        width: calc(100% - 10px);
        margin-bottom: 20px;
        margin-left: 10px;
    }


    .structure .col .item
    {
        width: calc(33.333% - 10px);
        margin-bottom: 10px;
        margin-left: 10px;
        padding: 10px 15px;

        text-align: center;
    }

    .structure .col .item + .item
    {
        margin-top: 0;
    }

    .structure .col .item:after,
    .structure .col .item + .item:before
    {
        display: none;
    }


    .structure .col .sub_item
    {
        position: relative;
        top: 0;
        right: 0;

        display: none;

        width: 100%;
        margin: 13px 0 0;
    }

    .structure .col .sub_item:after
    {
        display: none;
    }



    .team
    {
        padding: 30px 0;
    }

    .team .block_head .all_link
    {
        margin-top: 10px;
    }

    .team .item
    {
        font-size: 16px;
    }



    .clients
    {
        padding: 30px 0;
    }

    .tz + .clients
    {
        padding: 60px 0 50px;
    }

    .clients .slider
    {
        padding: 20px;
    }



    .articles
    {
        padding: 30px 0;
    }

    .articles .flex
    {
        margin-left: -15px;
    }

    .articles .flex > *
    {
        width: calc(33.333% - 15px);
        margin-bottom: 30px;
        margin-left: 15px;
    }


    .articles .flex.big > *
    {
        width: calc(50% - 20px);
    }



    .vacancies
    {
        padding-bottom: 60px;
    }



    .order_block
    {
        padding-top: 50px;
    }

    .order_block .info
    {
        width: 100%;
        margin-bottom: 30px;
        padding-top: 0;

        text-align: center;
    }

    .order_block .percents
    {
        font-size: 62px;
    }


    .order_block .form
    {
        margin: 0 auto -40px;
    }



    .contacts_info
    {
        padding: 70px 0 50px;
    }



    .map
    {
        padding-bottom: 50%;
    }



    .service_info
    {
        min-height: 500px;
        padding: 60px 0 120px;
    }

    .service_info .info .title
    {
        font-size: 32px;
        line-height: 52px;

        margin-bottom: 3px;
    }

    .service_info .info .desc
    {
        font-size: 14px;
        line-height: 22px;

        width: 628px;
    }

    .service_info .info .desc > *
    {
        width: 100%;
    }

    .service_info .info .desc > * + *
    {
        margin-top: 10px;
        margin-left: 0;
    }

    .service_info .info .desc > * br
    {
        display: none;
    }


    .service_info .slide
    {
        height: 500px;
    }

    .service_info .slider .owl-dots
    {
        bottom: 60px;
    }



    .article_info + .articles
    {
        padding: 0;
    }



    /*---------------
        Footer
    ---------------*/
    footer .copyright
    {
        max-width: calc(100% - 352px);
        margin-left: 30px;
    }



    /*---------------
        PopUp
    ---------------*/
    .modal_title
    {
        font-size: 26px;
        line-height: 26px;
    }



    .fancybox-slide--html
    {
        padding: 10px;
    }



    .case_modal
    {
        padding: 30px;
    }

    .case_modal .case_title
    {
        font-size: 26px;

        padding-right: 50px;
    }

    .case_modal .info .text
    {
        line-height: 22px;
    }

    .case_modal .stages
    {
        width: calc(100% + 60px);
        margin-right: -30px;
        margin-left: -30px;
        padding: 30px 30px 70px;
    }
}
