@media (max-width: 413px)
{
    /*---------------
        Main styles
    ---------------*/
    .block_head .title
    {
        font-size: 30px;
        line-height: 32px;
    }

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

    .block_head .title.small
    {
        font-size: 24px;
        line-height: 26px;
    }


    .block_head .sub_title
    {
        font-size: 18px;
        line-height: 26px;

        margin-top: 2px;
    }


    .block_head .desc,
    .block_head .desc2
    {
        line-height: 16px;

        width: 245px;
    }


    .block_head .links a
    {
        font-size: 12px;
        line-height: 14px;

        padding: 10px 7px;
    }



    .form .columns > *,
    .form .columns > *.width1of3,
    .form .columns > *.width2of3
    {
        width: calc(100% - var(--columns_offset));
    }



    .text_block
    {
        font-size: 14px;
        line-height: 18px;
    }



    .pagination
    {
        line-height: 24px;

        margin-right: -20px;
        margin-left: -20px;
        padding: 12px 0;
    }

    .pagination a,
    .pagination .sep
    {
        font-size: 12px;

        width: 24px;
        height: 24px;
        margin: 0;
    }

    .pagination .prev
    {
        margin-right: 5px;
    }

    .pagination .next
    {
        margin-left: 5px;
    }



    /*---------------
        Header
    ---------------*/
    .blog_header .logo a
    {
        font-size: 13px;
        line-height: 17px;
    }

    .blog_header .logo .slogan
    {
        margin-top: 10px;
    }



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



    /*---------------
        Main section
    ---------------*/
    .main_slider .block_head
    {
        height: calc(100vh - 183px);
    }

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


    .main_slider .owl-dots
    {
        bottom: 20px;

        height: 12px;
    }

    .main_slider .owl-dot
    {
        width: 12px;
        height: 12px;
    }

    .main_slider .owl-dot + .owl-dot
    {
        margin-left: 24px;
    }



    .contacts_main .cont
    {
        height: calc(100vh - 183px);
    }



    .contacts_info .desc,
    .contacts_barber .block_head .desc
    {
        width: 285px;
    }



    .history .bottom_block
    {
        min-height: 430px;
        padding-top: 25px;
    }

    .history .bottom_block .block_head
    {
        width: 200px;
    }

    .history .bottom_block .block_head .title
    {
        margin-bottom: 10px;
    }

    .history .bottom_block .block_head .desc
    {
        font-size: 14px;
        line-height: 14px;
    }



    .categories .category .block_head .desc
    {
        margin-top: 15px;
    }

    .categories .category .block_head .link > *
    {
        font-size: 14px;
        line-height: 21px;

        height: 24px;
    }



    .categories .info_block .block_head .desc
    {
        font-size: 14px;
        line-height: 16px;

        width: 260px;
    }

    .categories .info_block .block_head .link > *
    {
        font-size: 14px;
        line-height: 21px;

        height: 24px;
    }



    .category_info .head .block_head
    {
        margin-top: 40px;
    }



    .products .product .name
    {
        font-size: 24px;
        line-height: 26px;
    }

    .products .product .name br
    {
        display: none;
    }

    .products .product .thumb
    {
        margin-bottom: 20px;
    }

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

    .products .product .details *
    {
        font-size: 14px;
        line-height: 21px;

        height: 24px;
    }

    .products .product .cat
    {
        font-size: 14px;
        line-height: 14px;

        margin-top: 15px;
    }

    .products .product .volume
    {
        font-size: 18px;
        line-height: 18px;

        margin-top: 10px;
    }



    .events
    {
        padding-bottom: 38px;
    }


    .events.empty .cont
    {
        height: calc(100vh - 183px);
    }


    .events .main_event .date
    {
        font-size: 14px;

        margin-bottom: 5px;
    }

    .events .main_event .date span
    {
        font-size: 21px;
    }

    .events .main_event .date:before
    {
        font-size: 24px;
    }

    .events .main_event .name
    {
        font-size: 24px;
        line-height: 26px;
    }

    .events .main_event .desc
    {
        font-size: 14px;
        line-height: 16px;
    }


    .events .event .thumb
    {
        margin-bottom: 15px;
    }

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

    .events .event .date
    {
        margin-top: 5px;
    }



    .event_info .head .info .title
    {
        font-size: 24px;
        line-height: 26px;
    }



    .event_info .bottom .prev_link,
    .event_info .bottom .next_link
    {
        font-size: 14px;
    }



    .more
    {
        margin-top: 38px;
        padding-top: 38px;
    }



    .blog .item .desc
    {
        font-size: 13px;
        line-height: 18px;
    }



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

    .blog_item .head .title
    {
        margin-top: 10px;
    }

    .blog_item .head .title h1
    {
        font-size: 14px;
        line-height: 16px;
    }


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


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

    .blog_share .sep:nth-child(4)
    {
        display: none;
    }

    .blog_share .sep:nth-child(6)
    {
        display: block;
    }



    .blog_item .comments .comment .text
    {
        line-height: 16px;

        padding: 12px 15px;
    }



    .academy .head + .block_head .desc
    {
        font-size: 13px;
        line-height: 15px;
    }


    .academy .info_block .info
    {
        padding: 50px 20px;
    }

    .academy .info_block .info ul li
    {
        font-size: 13px;
        line-height: 15px;
    }



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



    .shedule .month
    {
        padding: 25px 20px;
    }

    .shedule .month .title
    {
        font-size: 22px;
        line-height: 24px;
    }

    .shedule .month .event .date
    {
        width: 70px;
        padding-right: 10px;
    }

    .shedule .month .event .name
    {
        width: calc(100% - 70px);
    }



    /*---------------
        Footer
    ---------------*/
    footer
    {
        font-size: 11px;
        line-height: 17px;

        letter-spacing: .1em;
    }



    /*---------------
        PopUp
    ---------------*/
    .product_modal
    {
        padding: 58px 0 40px;
    }

    .product_modal .close
    {
        top: -48px;
        right: 50%;

        width: 38px;
        height: 38px;
        margin-right: -19px;
        padding: 10px;
    }

    .product_modal .data
    {
        padding: 20px 20px 0;

        border-top: 1px solid #ccc;
    }
}
