@media (max-width: 1023px)
{
    /*---------------
        Main styles
    ---------------*/
    :root
    {
        --font_size: 14px;
        --font_size_title: 32px;
    }



    .block
    {
        margin-bottom: 60px;
    }


    .block_head
    {
        margin-bottom: 30px;
    }

    .block_head .title
    {
        line-height: 37px;
    }

    .block_head .title div
    {
        padding: 0 50px;
    }



    .fixed_links
    {
        display: none;
    }



    /*---------------
        Header
    ---------------*/
    header .cont
    {
        min-height: 105px;
    }


    header .logo img
    {
        height: 75px;
    }


    header .phone a
    {
        font-size: 18px;
    }



    header.fixed
    {
        position: absolute;

        background: none;
        box-shadow: none;
    }



    /*---------------
        Sidebar
    ---------------*/



    /*---------------
        Main section
    ---------------*/
    .first_section
    {
        margin-bottom: 50px;
    }

    .first_section .info
    {
        width: 420px;
    }

    .first_section .title
    {
        font-size: 32px;
        line-height: 40px;
    }


    .first_section .bg
    {
        margin-right: -800px;
    }



    .courses .block_head .title div
    {
        background-size: auto 37px;
    }


    .courses .tabs
    {
        overflow: auto;

        padding: 0 0 10px;

        white-space: nowrap;
    }

    .courses .tabs::-webkit-scrollbar
    {
        width: 7px;
        height: 6px;

        border-radius: 0;
        background-color: #eee;

        -webkit-appearance: none;
    }

    .courses .tabs::-webkit-scrollbar-thumb
    {
        border-radius: 0;
        background-color: #ffde59;
    }


    .courses .flex
    {
        --courses_count: 2;
    }

    .courses .flex > div
    {
        width: calc(50% - 20px);
    }


    .courses .course .info
    {
        font-size: 15px;
    }

    .courses .course .hover
    {
        display: block;
    }

    .courses .course .desc
    {
        font-size: 14px;
        line-height: 20px;
    }



    .advantages .flex
    {
        margin-left: -20px;
    }

    .advantages .flex > *
    {
        width: calc(50% - 20px);
        margin-left: 20px;
    }

    .advantages .item
    {
        line-height: 20px;
    }



    .shedule .block_head .title div
    {
        background-size: auto 32px;
    }

    .shedule .tabs button
    {
        font-size: 24px;
    }


    .shedule .flex
    {
        --shedule_count: 2;
    }

    .shedule .flex > *
    {
        width: calc(50% - 20px);
    }


    .shedule .course .head
    {
        font-size: 16px;
    }

    .shedule .course .info
    {
        line-height: 20px;
    }

    .shedule .course .name
    {
        font-size: 20px;
    }



    .teachers .teacher
    {
        font-size: 15px;
        line-height: 21px;
    }



    .reviews .slider_wrap
    {
        width: 100%;
    }


    .reviews .add_review
    {
        width: 100%;
        max-width: 100%;
        margin-top: 20px;
        padding: 30px 90px;
    }



    .certs
    {
        height: 780px;
        padding-top: 115px;

        background-size: auto calc(100% + 60px);
    }

    .certs .or
    {
        font-size: 28px;
        line-height: 34px;

        width: 170px;
    }

    .certs .flex a
    {
        max-width: calc(50% - 85px);
    }



    .it_will_work .img
    {
        width: 300px;
        height: auto;
        padding-bottom: 53%;
    }


    .it_will_work .info
    {
        line-height: 20px;

        width: calc(100% - 320px);
    }

    .it_will_work .info .name
    {
        font-size: 20px;
        line-height: 22px;
    }



    .order_block .form
    {
        width: 100%;
        padding: 0 90px;
    }

    .order_block .img
    {
        width: 100%;
        margin-top: 20px;
    }
	
	
	.conference .block_head .title div
    {
        background-size: auto 32px;
    }



    /*---------------
        Footer
    ---------------*/
    footer
    {
        padding-bottom: 40px;
    }


    footer .phone a
    {
        font-size: 18px;
    }


    footer .link
    {
        margin-left: auto;
    }

    footer .link + .link
    {
        margin-top: -30px;
    }



    /*---------------
        PopUp
    ---------------*/
    .modal
    {
        width: 500px;
        padding: 40px 60px;
    }

    .modal_title
    {
        line-height: 37px;

        margin-bottom: 25px;
    }


    #success_modal .title
    {
        font-size: 28px;
        line-height: 36px;
    }
}
