@media (max-width: 1023px)
{
    /*---------------
        Main styles
    ---------------*/
    .block_head
    {
        padding-bottom: 70px;
    }

    .block_head .title
    {
        font-size: 38px;
        line-height: 40px;
    }

    .block_head .title.small
    {
        font-size: 34px;
        line-height: 36px;
    }



    /*---------------
        Header
    ---------------*/
    header .menu .item + .item
    {
        margin-left: 29px;
    }



    .blog_header
    {
        margin-bottom: 30px;
    }

    .blog_header .top .cont.flex
    {
        padding: 0;
    }

    .blog_header .logo
    {
        padding: 30px 0;
    }



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



    /*---------------
        Main section
    ---------------*/
    .contacts_main .item
    {
        padding: 40px 0;
    }

    .contacts_main .item1 .bg
    {
        background-position: 30% 50%;
    }



    .contacts_info
    {
        padding-top: 70px;
    }

    .contacts_info .block_head
    {
        padding-bottom: 50px;
    }

    .contacts_info .adres
    {
        padding-top: 50px;
    }



    .contacts_barber .data
    {
        padding: 70px 20px;
    }



    .history .head,
    .history .bottom_block
    {
        min-height: 600px;
    }

    .history .info_block .block_head .desc,
    .history .bottom_block .block_head .desc
    {
        font-size: 18px;
    }

    .history .bottom_block
    {
        padding-bottom: 175px;
    }



    .categories .head .img
    {
        margin-bottom: 70px;
    }


    .categories .info_block .img
    {
        padding-bottom: 50%;
    }

    .categories .info_block .block_head
    {
        padding: 30px 20px;
    }

    .categories .info_block .block_head .desc
    {
        font-size: 18px;
    }



    .category_info.padding
    {
        padding-top: 70px;
    }



    .products .product
    {
        padding: 70px 20px;
    }

    .products .product .name
    {
        font-size: 34px;
        line-height: 36px;
    }

    .products .product .thumb img
    {
        max-height: 480px;
    }



    .pro.padding
    {
        padding-top: 60px;
    }


    .pro .head
    {
        min-height: 400px;
        margin-bottom: 70px;
    }

    .pro .head .block_head
    {
        width: 460px;
        max-width: 100%;
        padding: 60px 40px;
    }

    .pro .head + .block_head
    {
        padding-bottom: 70px;
    }



    .events .main_event
    {
        min-height: 400px;
    }

    .events .main_event .info
    {
        width: 560px;
        padding: 60px 40px;
    }

    .events .main_event .name
    {
        font-size: 34px;
        line-height: 36px;
    }



    .events .flex
    {
        margin-bottom: -40px;
        margin-left: -30px;
    }

    .events .flex > *
    {
        width: calc(50% - 30px);
        margin-bottom: 40px;
        margin-left: 30px;
    }

    .events .event .name
    {
        font-size: 22px;
        line-height: 24px;
    }



    .event_info
    {
        padding-bottom: 70px;
    }

    .event_info .head .info
    {
        min-height: 0;
    }

    .event_info .head .info .title
    {
        font-size: 34px;
        line-height: 36px;
    }


    .event_info .data .date
    {
        font-size: 16px;

        margin-bottom: 35px;
        padding-right: 15px;
        padding-bottom: 15px;
    }

    .event_info .data .date span
    {
        font-size: 26px;
    }



    .blog .flex
    {
        margin-bottom: -35px;
        margin-left: -20px;
    }

    .blog .flex > *
    {
        width: calc(33.333% - 20px);
        margin-bottom: 35px;
        margin-left: 20px;
    }

    .blog .item .desc
    {
        font-size: 14px;
        line-height: 20px;
    }



    .blog_item
    {
        padding-bottom: 60px;
    }


    .blog_item .head
    {
        margin-bottom: 30px;
    }

    .blog_item .head .title h1
    {
        font-size: 32px;
        line-height: 34px;
    }


    .blog_item .img
    {
        margin-bottom: 60px;
    }


    .blog_share .sep
    {
        margin: 0 30px;
    }


    .blog_item .add_comment,
    .blog_item .comments
    {
        margin-top: 60px;
    }



    .academy .head
    {
        min-height: 400px;
        margin-bottom: 70px;
    }

    .academy .head .block_head
    {
        width: 480px;
        max-width: 100%;
        padding: 40px;
    }

    .academy .head + .block_head
    {
        padding-bottom: 70px;
    }


    .academy .info_block .img
    {
        padding-bottom: 52%;
    }

    .academy .info_block .info
    {
        padding: 30px;
    }

    .academy .info_block .info .title
    {
        font-size: 26px;
        line-height: 28px;

        margin-bottom: 25px;
    }

    .academy .info_block .info ul li + li
    {
        margin-top: 10px;
    }



    .academy_contacts .head
    {
        min-height: 300px;
    }

    .academy_contacts .contacts_info .contacts
    {
        margin-bottom: 70px;
    }



    .feedback
    {
        padding: 70px 20px;
    }

    .feedback .title
    {
        font-size: 28px;
        line-height: 30px;

        margin-bottom: 35px;
    }



    .academy_calendar .head
    {
        min-height: 400px;
        margin-bottom: 70px;
    }



    .shedule .month
    {
        padding: 35px;
    }

    .shedule .month .title
    {
        font-size: 28px;
        line-height: 30px;
    }



    /*---------------
        Footer
    ---------------*/
    footer
    {
        letter-spacing: .12em;
    }


    footer .copyright * + *
    {
        margin-left: 20px;
    }


    footer .socials a + a
    {
        margin-left: 15px;
    }

    footer .socials img
    {
        height: 22px;
    }



    /*---------------
        PopUp
    ---------------*/
    .product_modal .close
    {
        top: -20px;
        right: 0;
    }


    .product_modal .thumb
    {
        width: 100%;
        margin-bottom: 20px;
    }

    .product_modal .info
    {
        width: 100%;
    }
}
