@media (max-width: 1239px)
{
    /*---------------
        Main styles
    ---------------*/
    :root
    {
        --font_size_title: 28px;
    }



    .block_head
    {
        margin-bottom: 30px;
        margin-left: -20px;
    }

    .block_head.with_carousel
    {
        padding-right: 125px;
    }

    .block_head .title,
    .block_head .all_link
    {
        margin-left: 20px;
    }



    .form .minimum
    {
        font-size: 17px;
    }



    .owl-carousel .owl-nav button
    {
        top: -78px;
    }

    .owl-carousel .owl-nav button.owl-prev
    {
        right: 60px;

        margin-right: 0;
    }

    .owl-carousel .owl-nav button.owl-next
    {
        right: 0;

        margin-right: 0;
    }



    /*---------------
        Header
    ---------------*/
    header.absolute
    {
        padding: 30px 0;
    }


    header .logo .slogan
    {
        display: none;
    }


    header .menu .item + .item
    {
        margin-left: 25px;
    }


    header .contacts
    {
        width: 165px;

        text-align: center;

        justify-content: center;
    }

    header .contacts .email,
    header .contacts .links a.whatsapp_link
    {
        display: none;
    }

    header .contacts .links
    {
        position: relative;
        top: 0;

        margin-top: 8px;
    }

    header .contacts .links a
    {
        width: 100%;
    }



    /*---------------
        Sidebar
    ---------------*/



    /*---------------
        Main section
    ---------------*/
    .first_section:before
    {
        right: 20px;

        width: 800px;
        margin-right: 0;
    }


    .first_section .info
    {
        width: calc(100% - 430px);
        margin-top: 0;
    }

    .first_section .info .title
    {
        font-size: 36px;
    }

    .first_section .info .title br
    {
        display: none;
    }

    .first_section .info .desc li
    {
        font-size: 18px;
    }


    .first_section .form
    {
        width: 380px;
        margin-right: 0;
        padding: 38px 45px 45px;
    }

    .first_section .form .title
    {
        font-size: 28px;
        line-height: 28px;
    }


    .first_section .slider
    {
        bottom: -40px;
    }

    .first_section .slider .owl-dots
    {
        top: auto;
        bottom: 100px;
        left: 20px;

        margin-left: 0;
    }

    .first_section .slide .img
    {
        height: 420px;
    }

    .first_section .slide img
    {
        max-width: 550px;
    }


    .first_section > .img,
    .first_section > .img2,
    .first_section > .img3,
    .first_section > .img4,
    .first_section > .img5,
    .first_section > .img6
    {
        display: none;
    }



    .services .block_head
    {
        padding: 60px 0 40px;
    }

    .services .item
    {
        font-size: 20px;

        padding-bottom: 17%;
    }

    .services .item .name
    {
        padding: 15px;
    }



    .portfolio
    {
        padding-top: 60px;
    }

    .portfolio .block_head .all_link
    {
        left: 195px;
    }

    .portfolio .tabs
    {
        width: calc(100% + 29px);
        margin-left: 11px;
    }

    .portfolio .item
    {
        padding-bottom: 17%;
    }

    .portfolio .item .logo
    {
        padding: 15px;
    }



    .steps
    {
        padding-bottom: 30px;
    }

    .steps .data
    {
        width: calc(100% - 435px);
    }

    .steps .data .item
    {
        font-size: 13px;
    }


    .steps .video_review .name
    {
        font-size: 28px;
    }

    .steps .video_review .author
    {
        font-size: 17px;
    }


    .steps .form
    {
        width: 400px;
        margin-right: 0;
        padding: 38px 45px 53px;
    }

    .steps .form .title
    {
        line-height: 26px;
    }


    .steps > .img,
    .steps > .img2
    {
        display: none;
    }



    .cases .item
    {
        font-size: 17px;
    }

    .cases .item .info
    {
        padding: 30px;
    }

    .cases .owl-carousel .owl-nav button.owl-prev
    {
        right: 80px;
    }

    .cases .owl-carousel .owl-nav button.owl-next
    {
        right: 20px;
    }


    .cases > .img
    {
        display: none;
    }



    .tz
    {
        padding-top: 60px;
    }

    .tz .info
    {
        font-size: 18px;

        width: 320px;
    }

    .tz .info .title
    {
        font-size: 44px;
    }

    .tz .info .sub_title
    {
        font-size: 28px;
    }


    .tz .cont .img
    {
        padding-right: 9px;
    }

    .tz .cont .img .flex > *
    {
        width: calc(50% - 8px);
    }

    .tz .cont .img img.logo
    {
        top: 20px;
        left: 20px;
    }

    .tz .cont .img .name
    {
        font-size: 16px;

        top: 60px;
    }

    .tz .cont .img .maximum
    {
        font-size: 24px;

        width: 270px;
        height: 80px;
    }

    .tz .cont .img .maximum b
    {
        font-size: 26px;
    }

    .tz .cont .img .flex:after
    {
        bottom: 34px;
    }

    .tz .owl-carousel .owl-nav button.owl-prev
    {
        left: -24px;
    }

    .tz .owl-carousel .owl-nav button.owl-next
    {
        right: -24px;
    }


    .tz > .img
    {
        display: none;
    }



    .video_link .info .title
    {
        font-size: 22px;
    }



    .structure
    {
        padding-bottom: 40px;
    }

    .structure .block_head
    {
        margin-bottom: -30px;
    }


    .structure .col_left
    {
        width: 300px;
        margin-left: 0;
    }

    .structure .col_right
    {
        width: 335px;
    }

    .structure .col .title
    {
        font-size: 22px;
    }

    .structure .col .title:after
    {
        width: calc(50% + 40px);
    }

    .structure .col_left .title
    {
        left: calc(100% + 40px);
    }

    .structure .col_right .title
    {
        right: calc(100% + 40px);
    }


    .structure > .img,
    .structure > .img2,
    .structure > .img3
    {
        display: none;
    }



    .team
    {
        padding: 40px 0;
    }

    .team .item
    {
        font-size: 17px;
    }

    .team .item .foto
    {
        margin-bottom: 20px;
    }



    .clients
    {
        padding: 40px 0;
    }

    .clients .slider
    {
        margin-top: -10px;
        padding: 30px;
    }



    .articles .flex + .flex
    {
        margin-top: 40px;
    }


    .articles .flex.big
    {
        margin-left: -20px;
    }

    .articles .flex.big > *
    {
        width: calc(33.333% - 20px);
        margin-left: 20px;
    }


    .articles .article .thumb
    {
        margin-bottom: 20px;
    }

    .articles .article .cat
    {
        margin-bottom: 12px;
    }

    .articles .article .date
    {
        margin-bottom: 12px;
        margin-left: 20px;
    }

    .articles .article .name
    {
        font-size: 17px;
    }


    .articles .flex.big .article .thumb
    {
        width: 115px;
        height: 80px;
    }

    .articles .flex.big .article .info
    {
        width: calc(100% - 130px);
    }



    .vacancies
    {
        padding: 30px 0 70px;
    }



    .order_block .form
    {
        width: 400px;
        margin-right: 0;
        margin-bottom: -80px;
        padding: 38px 45px 45px;
    }


    .order_block > .img,
    .order_block > .img2
    {
        display: none;
    }



    .contacts_info .item
    {
        font-size: 15px;
        line-height: 27px;
    }

    .contacts_info .time,
    .contacts_info .email
    {
        font-size: 15px;
    }



    .service_info .info .title
    {
        font-size: 42px;
        line-height: 64px;
    }

    .service_info .slider .owl-dots
    {
        left: 20px;

        margin-left: 0;
    }


    .service_info + .portfolio .block_head .title
    {
        line-height: normal;

        position: relative;
    }



    /*---------------
        Footer
    ---------------*/
    footer .info
    {
        padding: 25px 0;
    }


    footer .copyright
    {
        max-width: calc(100% - 402px);
        margin-left: 50px;
    }



    /*---------------
        PopUp
    ---------------*/
    .modal_title
    {
        font-size: 28px;
        line-height: 28px;
    }



    .case_modal .case_title
    {
        font-size: 28px;
    }
}
