@media (max-width: 767px)
{
    /*---------------
        Main styles
    ---------------*/
    .loading aside
    {
        top: 0;

        width: 100%;
        height: 60px;
        margin-top: 0;
        padding: 10px 20px;
    }

    .loading aside .logo
    {
        line-height: 17px;

        width: auto;
        padding-top: 0;
        padding-left: 40px;

        transform: none;

        background: url(../images/logo_color.png) 0 50%/auto 100% no-repeat;

                writing-mode: horizontal-tb;
        -webkit-writing-mode: horizontal-tb;
    }


    .loading .info
    {
        font-size: 16px;
        line-height: 22px;

        width: 200px;
        height: 300px;
        max-height: calc(100vh - 120px);
        margin-top: 60px;
        padding: 20px 30px;
    }



    /*---------------
        Header
    ---------------*/
    .mob_header
    {
        display: block;
    }


    header
    {
        display: none;
    }



    /*---------------
        Sidebar
    ---------------*/
    aside
    {
        display: none;
    }



    /*---------------
        Main section
    ---------------*/
    .main_content
    {
        position: relative;

        height: auto;
        min-height: 100vh;
    }
	
	.main_content.with_scroll {
		overflow-x: hidden;
		overflow-y: hidden;
	}


    .phone_fixed
    {
        display: none !important;
    }



    .main_blocks
    {
        position: relative;

        width: 100%;
        height: auto;
    }

    .main_blocks .scroll.second
    {
        transform: none;
    }


    .scroll_down
    {
        bottom: 20px;
        left: 20px;
    }



    .products
    {
        height: auto;
        min-height: calc(100vh - 52px);
        padding: 142px 20px 200px;

        align-items: flex-start;
        align-content: flex-start;
    }

    .products .cats
    {
        width: 100%;
    }

    .products .cats > * + *
    {
        margin-top: 40px;
    }

    .products .cats button,
    .products .cats a
    {
        font-size: 42px;
        line-height: 46px;

        padding-left: 75px;
    }


    .products .product_rectangle,
    .products .product_info
    {
        top: 180px;
        right: auto;
        left: 85px;

        height: 500px;
        margin: 0;
    }

    .products .product_info1 img
    {
        height: 200px;
    }

    .products .product_info2 img
    {
        left: -90px;

        height: 320px;
    }

    .products .product_info3 img
    {
        height: 250px;
    }

    .products .product_info4 img
    {
        left: -90px;

        height: 320px;
    }

    .products .product_info5 img
    {
        left: -5px;

        height: 440px;
    }


    .products .product_rectangle.color0
    {
        background: #ffc87d;
    }

    .products .product_rectangle.color1
    {
        background: #ffc87d;
    }

    .products .product_rectangle.color2
    {
        background: #ffc87d;
    }

    .products .product_rectangle.color3
    {
        background: #ffc87d;
    }

    .products .product_rectangle.color4
    {
        background: #ffc87d;
    }

    .products .product_rectangle.color5
    {
        background: #ffc87d;
    }



    .blocks_wrap
    {
        height: auto;
        min-height: 100vh;
        padding: 0;
    }

    .blocks
    {
        min-height: 100vh;
        margin: 0 !important;

        flex-wrap: wrap;
    }

    .blocks .block
    {
        width: 100%;
        min-width: 100%;
        min-height: 70px;

        flex-grow: 0;
    }


    .blocks .block .intro
    {
        padding: 20px 20px 20px 175px;

        justify-content: flex-start;
        align-items: center;
        align-content: center;
    }

    .blocks .intro .number
    {
        font-size: 75px;
        line-height: 60px;

        left: 20px;

        padding: 0;

        transform: rotate(0deg);
        /*writing-mode: vertical-rl;
        -webkit-writing-mode: vertical-rl;*/

                writing-mode: initial;
        -webkit-writing-mode: initial;
    }

    .blocks .intro .name
    {
        font-size: 20px;

        width: 237px;
        /*padding: 0 89px 0 0;*/
        padding: 0;

        transform: none;
        /*background: url('../images/ic_intro_arr2.png') 100% 50% no-repeat;*/

        background: none;

                writing-mode: horizontal-tb;
        -webkit-writing-mode: horizontal-tb;
    }
    .blocks .intro:before
    {
        position: absolute;
        left: 105px;

        width: 69px;
        height: 8px;

        content: '';
        transform: rotate(90deg);

        background: url('../images/ic_intro_arr2.png') 100% 50% no-repeat;
    }

    .blocks .block.active .block_content .close
    {
        left: 10px;

        display: flex;
    }

    .blocks .block.active .block_content > .number
    {
        font-size: 75px;
        line-height: 75px;

        top: -10px !important;
        right: 10px;
        left: auto;

        transform: rotate(0deg);

                writing-mode: initial;
        -webkit-writing-mode: initial;
    }


    .blocks .block_content
    {
        padding-bottom: 40px;
    }

    .blocks .block_content .custom_scroll
    {
        height: auto;
        max-height: none;
    }



    .about_block .col_right
    {
        width: 100%;
    }



    .news_block .block_head
    {
        margin-bottom: 40px;
        padding-bottom: 30px;
    }

    .news_block .block_head .desc
    {
        font-size: 18px;
        line-height: 22px;
    }


    .news_block .item .title
    {
        font-size: 18px;
        line-height: 22px;
    }



    .about_packaging .col_right
    {
        width: 100%;
    }



    .production_block .block_head .desc
    {
        font-size: 18px;
        line-height: 22px;
    }


    .production_block .titles
    {
        padding-left: 0;
    }

    .production_block .titles .title
    {
        font-size: 38px;
        line-height: 42px;
    }

    .production_block .owl-carousel .owl-nav button
    {
        display: none !important;
    }


    .production_block .sub_cats .list
    {
        display: none;
    }

    .production_block .sub_cats .img
    {
        top: 0;
        right: -20px;
        bottom: 0;
        left: auto;

        max-height: calc(100% - 30px);
        margin: auto;
    }
	
	.production_block .sub_cats .slide {
		margin-bottom: 30px;
	}
	.main_product_slider_link {
		display: block;
	}



    .services_block .list .items
    {
        font-size: 16px;
        line-height: 22px;

        margin-left: -40px;

        justify-content: flex-start;
    }

    .services_block .list .items > *
    {
        margin-left: 40px;
    }



    .contacts_block .map
    {
        height: 320px;
		position: relative;
    }
	
	.contacts_block .tabs {
		display: initial;
	}
	.contacts_block .tabs__nav {
		display: flex;
		flex-direction: initial;
		margin-bottom: 20px;
		width: 100%;
		margin-right: 0;
	}
	.contacts_block .tabs__nav_item {
		margin-right: 10px;
		padding: 15px 15px;
		margin-bottom: 0;
		height: 45px;
	}
	.contacts_block .tabs__nav_item:last-child {
		margin-right: 0;
	}



    /*---------------
       Inner page
    ---------------*/
    .inner_page
    {
        padding: 92px 0 0;
    }



    /*---------------
       Page head
    ---------------*/
    .page_head
    {
        padding: 20px 20px 30px;
    }


    .page_title
    {
        font-size: 36px;
        line-height: 38px;
    }

    .page_desc
    {
        font-size: 15px;
        line-height: 21px;

        margin-top: 15px;
    }


    .mob_product_name
    {
        display: block;
    }



    /*---------------
       Catalog
    ---------------*/
    .catalog .tabs
    {
        display: block;
        overflow: auto;

        white-space: nowrap;
    }

    .catalog .tabs button
    {
        font-size: 15px;

        display: inline-block;

        width: auto;
        height: 44px;

        vertical-align: top;
    }


    .catalog_products
    {
        padding: 40px 20px;
    }

    .catalog_products .flex
    {
        margin-bottom: -30px;
        padding-left: 20px;
    }

    .catalog_products .flex > *
    {
        width: calc(100% - 40px);
        margin-bottom: 30px;
    }


    .catalog_products .item .name
    {
        top: 20px;
    }

    .catalog_products .item .details:before
    {
		/*background: #00cdff;*/
    }



    /*----------------
        Block head
    ----------------*/
    .block_head .title, h2
    {
        font-size: 24px;
        line-height: 28px;
    }

    .block_head .reset_btn
    {
        font-size: 15px;
    }



    /*------------------
        Product info
    ------------------*/
    .product_info
    {
        margin-bottom: 50px;
        padding: 0 20px;
    }


    .product_info .images
    {
        padding: 0;
    }


    .product_info .info
    {
        overflow: visible;

        height: auto;
        padding: 0;
    }

    .product_info .product_name
    {
        font-size: 23px;
        line-height: 27px;

        display: none;
    }



    /*------------
        Scopes
    ------------*/
    .scopes
    {
        margin-bottom: 50px;
        padding: 0 20px;
    }

    .scopes .grid
    {
        grid-template-columns: repeat(2, 1fr);
    }

    .scopes .item.big2
    {
        grid-column: 1 / 3;
    }

    .scopes .item .main_cat
    {
        font-size: 20px;
        line-height: 26px;
    }



    /*---------------------
        Products slider
    ---------------------*/
    .products_slider
    {
        margin-bottom: 50px;
        padding: 0 20px;
    }


    .products_slider .slider
    {
        padding-right: 40px;
    }


    .products_slider .owl-carousel .owl-nav button span:before,
    .products_slider .owl-carousel .owl-nav button span:before
    {
        width: 64px;
    }

    .products_slider .owl-carousel .owl-nav button.owl-next
    {
        left: 154px;
    }

    .products_slider .owl-dots
    {
        left: 215px;

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



    /*-----------------
        Order block
    -----------------*/
    .order_block
    {
        display: none;

        margin-bottom: 50px;
        padding: 0 20px;
    }



    /*----------------
        Scope info
    ----------------*/
    .scope_info
    {
        margin: 0 20px 50px;
    }

    .scope_info .mob_tab_name
    {
        font-size: 20px;
        line-height: 24px;
    }

    .scope_info .tab_content > * + *
    {
        margin-top: 40px;
    }



    /*--------------
        Articles
    --------------*/
    .articles
    {
        margin: 0 20px;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .articles > * + *
    {
        margin-top: 40px;
    }


    .articles .article .head .name
    {
        font-size: 17px;
    }

    .articles .article .head .date
    {
        font-size: 14px;

        margin-left: 20px;
    }



    /*------------------
        Article info
    ------------------*/
    .article_info
    {
        padding-top: 20px;
    }

    .article_info .info
    {
        overflow: visible;

        height: auto;
        margin: 0;
        padding: 0;

        order: 2;
    }

    .article_info .images
    {
        margin-bottom: 25px;
        padding: 0;
    }



    /*---------------
       footer
    ---------------*/
    footer
    {
        color: #fff;

        margin-top: 20px;
        padding: 0 20px 30px;

        border: none;
        background: #14a5f5;
    }


    footer .menu
    {
        width: calc(50% - 10px);
    }

    footer .menu.mob_show
    {
        display: block;

        margin-left: auto;
    }

    footer .menu a
    {
        color: #fff;
        font-size: 21px;
        line-height: 29px;
    }


    footer .col_left
    {
        width: calc(100% + 40px);
        margin: 0 -20px 30px;
        padding: 25px 20px;

        border-bottom: 1px solid #fff;
    }


    footer .col_right
    {
        position: static;

        display: flex;

        width: 100%;
        margin-top: 0;

        justify-content: flex-start;
        align-items: flex-start;
        align-content: flex-start;
        flex-wrap: wrap;
    }


    footer .contacts
    {
        font-size: 12px;
        line-height: 18px;

        display: block;

        width: 100%;
        margin-top: 30px;
    }

    footer .contacts > * + *
    {
        margin-top: 15px;
    }

    footer .contacts br
    {
        display: none;
    }

    footer .contacts .phone a
    {
        color: #fff;
    }


    footer .copyright
    {
        color: #fff;
        font-size: 12px;
        line-height: 18px;

        position: absolute;
        bottom: 30px;
        left: 20px;

        width: calc(50% - 30px);
        margin: 0;
    }


    footer .feedback_link
    {
        color: #fff;
        font-size: 16px;
        line-height: 23px;

        width: calc(50% - 10px);
        margin-top: 25px;

        text-align: left;
        text-decoration: underline;
    }

    footer .feedback_link span
    {
        display: none;
    }

    footer .feedback_link span + span
    {
        display: inline;
    }


    footer .socials
    {
        width: calc(50% - 10px);
        margin-top: 30px;
        margin-left: auto;
    }


    footer .creator
    {
        color: #fff;
        font-size: 12px;
        line-height: 18px;

        width: calc(50% - 10px);
        margin-top: 30px;
        margin-left: auto;
    }



    /*---------------
        PopUp
    ---------------*/
    .fancybox-slide--html
    {
        padding: 20px;
    }

    .fancybox-slide--html .fancybox-close-small
    {
        width: 50px;
        height: 50px;
        padding: 8px;
    }


    .modal
    {
        width: 100%;
        padding: 70px 40px 40px;
    }
}
