@media (max-width: 479px)
{
    /*---------------
	    Main styles
	---------------*/
    body
    {
        font-size: 14px;
    }


    .block_head .title
    {
        font-size: 28px;
        line-height: 32px;
    }



    /*---------------
		Header
	---------------*/
    header .cont
    {
        justify-content: space-between;
    }

    header .contacts
    {
        margin-right: 10px;
        order: 5;
    }

    header .contacts .phone
    {
        font-size: 24px;
        line-height: 30px;
    }

    header .contacts .phone span
    {
        font-size: 12px;
        line-height: 22px;
    }

    header .contacts .email
    {
        font-size: 13px;
    }


    header .callback_link
    {
        line-height: 33px;

        height: 39px;
    }

    header .callback_link span
    {
        padding-right: 18px;
        padding-left: 18px;
    }

    header .callback_link:before,
    header .callback_link:after
    {
        display: none;
    }


    header .mob_menu_link
    {
        margin-left: 25px;
    }



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



    /*---------------
		Main section
	---------------*/
    .first_section .block_title
    {
        font-size: 24px;
        line-height: 32px;
    }

    .first_section .links .order_link,
    .first_section .links .calc_link
    {
        width: 100%;
    }



    .about_block .head .title
    {
        font-size: 17px;
        line-height: 21px;
    }

    .about_block .advantages
    {
        padding: 20px;
    }

    .about_block .advantages .item
    {
        font-size: 12px;
    }

    .about_block .advantages .icon
    {
        margin-bottom: 10px;
    }



    .products .grid > *,
    .products .grid > *.big_width
    {
        width: 100%;
    }

    .products .item,
    .products .item.big_height
    {
        height: 240px;
    }



    .order_block .title
    {
        font-size: 24px;
        line-height: 30px;
    }

    .order_block .form .submit
    {
        width: 120px;
        margin-left: -120px;
    }

    .order_block .form .input.padding
    {
        padding-right: 139px;
    }


    .video_block .video iframe
    {
        height: 160px;
    }



    .passport .slider
    {
        padding: 0;
    }

    .passport .slider_wrap .thumbs
    {
        width: calc(100% + 40px);
        margin: -20px -20px 0;
        padding: 0;
    }

    .passport .slider_wrap .thumbs a + a
    {
        margin-left: 20px;
    }

    .passport .owl-carousel .owl-nav .owl-prev
    {
        left: -20px;
    }

    .passport .owl-carousel .owl-nav .owl-next
    {
        right: -20px;
    }

    .calc .form .substrate-size label[for="substrate-height"],
    .calc .form .substrate-size label[for="substrate-width"]
    {
        display: block;
        margin-bottom: 10px;
    }

    .calc .contacts
    {
        width: calc(100% + 50px);
        margin: 25px -25px -30px;
        padding: 20px 20px 20px;
    }

    .calc .contacts .line + .line .input
    {
        padding-right: 20px;
    }



    .clients .slider
    {
        padding: 0 50px;
    }



    .contacts_block .info
    {
        padding: 20px 25px 30px;
    }



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

    .text_block blockquote
    {
        font-size: 16px;
        line-height: 22px;
    }


    .text_block .gallery .item
    {
        width: calc(50% - 20px);
        padding-bottom: calc(50% - 20px);
    }

    .text_block .gallery .item.big_width
    {
        width: calc(100% - 20px);
    }

    .text_block .gallery .item.big_height
    {
        padding-bottom: calc(100% - 20px);
    }


    .text_block ul li
    {
        margin-left: 0;
    }


    .text_block img.right,
    .text_block figure.right
    {
        float: none;

        max-width: 100%;
        margin: 0 0 20px;
        margin-top: 0;
    }



    .form input[type=checkbox] + label,
    .form input[type=radio] + label
    {
        font-size: 14px;
        line-height: 20px;
    }

    .form input[type=checkbox] + label br,
    .form input[type=radio] + label br
    {
        display: none;
    }



    /*---------------
		Footer
	---------------*/
    footer .col.left,
    footer .contacts
    {
        width: auto;
    }


    footer .socials
    {
        width: 100%;
        margin-bottom: 20px;
    }



    /*---------------
		PopUp
	---------------*/
    .modal,
    #product_info
    {
        padding: 30px 25px;
    }

    .modal_title
    {
        font-size: 20px;
        line-height: 26px;

        margin-bottom: 20px;
    }


    .modal .form .submit
    {
        padding-top: 0;
    }


    .fancybox-close-small
    {
        width: 35px;
        height: 35px;
    }

    .fancybox-slide--html .fancybox-close-small
    {
        padding: 2px;
    }


    #product_info .express_calc
    {
        width: calc(100% + 50px);
        margin: 25px -25px -30px;
        padding: 20px 20px 20px;
    }

    #product_info .express_calc .title
    {
        font-size: 24px;
        line-height: 26px;

        margin-bottom: 20px;
    }

    #product_info .express_calc .form .line + .line .input
    {
        padding-right: 20px;
    }

    #product_info .express_calc .form .submit
    {
        width: 100%;
        margin-left: 0;
    }
}
