@media(max-width:1321px) AND (min-width:1199px)
{
     .slider_products button {
        left: 26px;
        top: -79px;
    }
    .slider_products button.slick-next {right: 29px;}
    .content { width:calc(100% - 20px)}
}


@media(max-width:1199px)
{
.content.page_text.error_page {

padding-bottom: 40px;
}
}
@media(max-width:1199px) AND (min-width:1001px)
{
    footer nav ul:nth-child(3) {/* display: none; */}
    #slider .slick-slide { text-align: center; }
    #slider {/* display: none; */}
    #main_cats > div { cursor: pointer; }
    select,
    input.text,
    input[type="number"],
    textarea,
    input[type="password"],
    input[type="email"],
    input[type="text"],
    input[type="button"],
    input[type="submit"],
    .input-checkbox {
        -webkit-appearance: none;
        border-radius: 0;
    }
    .content, #banners_hp .right, div#newsletter .content, .contacts_page form, .content.page_text { width: 100%; }
    .content { width:calc(100% - 20px)}
    div.banner_product .content { width:800px;}
    div#newsletter .content {width: 725px;}
    footer nav ul, footer nav ul:first-child, footer nav ul.socials {width: calc(25% - 40px);padding: 0 20px;}
    nav ul:nth-child(2) {/* border-right:0; *//* width: 50%; */}
    footer nav ul.socials {/* width: 100%; *//* border-right:0; */}

    .contacts_page .title {
        /* text-align: center; */
    }

    footer nav ul, footer nav ul:first-child {
        /* text-align: center; */
        /* border-right: 1px solid #dddddd; */
        /* padding: 20px 0; */
        /* margin: 0; */
        /* border-bottom: 1px solid #dddddd; */
    }

    footer nav ul li:first-child {
        margin-bottom: 10px;
    }

    footer nav ul.socials {
        /* margin-bottom: 0; */
    }
    #cart_box {
        /* top: 185px; */
        /* right: inherit; */
        /* left: 4px; */
        /* margin: auto; */
        z-index: 9999999;
        right: 163px;
    }

    #banners_hp .right, #banners_hp .left, footer .copyrights .left, footer .copyrights .right { float:none; }
    footer .copyrights {line-height: 30px;height: auto;padding: 18px 0;}
    #search_box {width: calc(100% - 610px);margin: 0px 20px 20px;/* float: none; */}
    #banners_hp img { max-width: 100%; margin:10px auto; }
    #main_cats > div.left:nth-child(2) {/* float:none; */margin: 0 10px;width: calc(33.33333333333333% - 82px);}
    .slider_products button {
        left: 26px;
        top: -79px;
    }
    .slider_products button.slick-next {right: 29px;}
    .top_categories a {width: calc(16.66666666666667% - 55px);border: 1px solid #dddddd;border-top: 0;border-left: 0;}
    .top_categories a:hover { border-width: 1px; }
    .top_categories a:nth-child(6) {border-right:0;}
    #banners_hp  {background: url(images/banners_bg.png) no-repeat bottom center #e9ebf3;height: 100%;}
    .button.btn_newsletter {/* float:none; *//* margin: 12px auto; */}
    #newsletter p:first-child {/* text-align:center; *//* font-size: 17px; */}

    div#newsletter .left {
        /* text-align:center; */
    }

    #newsletter p {
        /* font-size: 13px; */
    }
    #newsletter .content:before {
        /* display: block; */
        /* float: none; */
        /* margin: 10px auto; */
    }
    .date_order { text-align: center; }
    #main_cats > div.left {width: calc(33.33333333333333% - 62px);padding: 13px 31px 0 31px;}
    #logo {/* float:none; *//* margin: 0px 0 0 2px; *//* display: table; */}
    #cart {/* float:none; *//* margin: 25px 0; */width: 269px;}
    #login_btn {float:none;margin: 0px auto 0;display:table;padding: 11px 26px 9px;position: absolute;top: 0;right: 7px;}
    #search_box input { width:calc(100% - 50px);}

    #main_nav {}
    #main_nav > ul {}
    #main_nav > ul > li {
        /* display: block; */
        /* text-align: center; */
        /* padding: 15px 0px 15px 0px; */
        /* position: relative; */
    }
    #main_nav > ul > li > a {}
    .megamenu {
        /* display: block; */
        /* padding: 13px 0px 0px; */
        /* text-align: center; */
        /* position: static; */
    }
/*    #main_nav > ul > li:hover .megamenu, .megamenu:hover {
        display: none;
        transition: none;
        padding-bottom: 0;
    }*/
    .megamenu .column {
        /*-moz-column-count: 1;
        -moz-column-gap: 0px;*/
        /* -webkit-column-count: 1; */
        /* -webkit-column-gap: 0px; */
        /* column-count: 1; */
        /* column-gap: 0px; */
        /* text-align: center; */
        /* margin-bottom: 0; */
    }

    .megamenu .column > a {
      /*  display: block;
        margin-bottom: 20px;*/
    }

    .megamenu:before , .megamenu:after{ display: none!important; }
    footer nav {/* padding: 0; */}
    footer .copyrights {text-align: center;/* border-top: 0; *//* line-height: 48px; *//* height: auto; */}
    #newsletter, #banners_hp { padding: 50px 0; }
    #top_line {/* padding: 0 15px; */}
    #top_line a {margin-left: 0;margin-right: 0;}
    .nav_side {/* display: none; *//* width: 100%; *//* text-align: center; *//* margin-bottom: 25px; */}
    .content_side {
        /* width: 100%; */
    }
    .product_list .product {
        width: calc(33.33333333333333% - 52px);
        margin: 0px 10px 20px!important;
    }
    .breadcrumbs, h1, .content_side p  {/* text-align: center; */}
    .content_side img { max-width: 100% }
    #top_contacts a {margin-left: 8px;}
    .product_image {/* width: 90%; *//* float:none; *//* margin: 0 auto 25px; */}
    .product_info {width: calc(100% - 497px);/* float:none; *//* margin: 0 auto; */margin-left: 20px;}

    .product_info h1 {
        text-align: left;
    }
    .product_image > .main img { max-width: 100%; }
    .banner_product .content:before {
        /* margin: 0 17px 50px; */
    }
    .requisites p, .requisites {/* text-align: center; */}
    .product_page { padding-bottom: 50px; }
    .banner_product {padding: 50px 0;height: auto;}
    .product_information #recommended .slider_products, .product_information #specials .slider_products { border-bottom: 0; }
    .product_information #recommended, .product_information #specials { margin:50px auto; }
    .product_info .ends_options ~ button.button.white {display: table;margin: 18px 0 0 0;}
    #banners_hp a { display: table; }
    .contacts_page .big_img { text-align:center;}
    .contacts_page  img { max-width: 100%; }
    .product_bubbles .discount {
        top: 0;
        left: 0;
        position: static;
    }
    .product_bubbles .top {
        top: 0;
        left: 0;
        position: static;
    }
    .product_page { position: relative; }
    .product_bubbles {position: absolute;top: 96px;right: 15px;float: none;}
    .contacts_page .left:not(.half) {/* float:none; */width: 100%;}
    .contacts_page .gallery_contacts.left {
    width: 50%;
}
    .contacts_page .left.main_contacts {width: calc(50% - 33px);/* margin-left: 0; *//* padding: 0 15px; *//* margin: 0 auto; */margin-left: 33px;}
    .team_members .member img {display:block;/* margin:0 auto; */}
    .team_members .member, .team_members .member:nth-child(4n) {/* display: table; *//* width: 232px; *//* margin: 0 auto 40px; *//* text-align: left; *//* background: rgba(128, 128, 128, 0.02); */width: calc(25% - 16px);}
    .login_page .left:after { display:none;}
    .team .title {padding: 30px;}
    .contacts_page form { margin:0 auto; width:95%; }
    .modal { max-width: 100%; }
    .white_bg.login_page {width: 100%;padding: 0;}

    .white_bg.forgotten {
        padding: 25px 25px 50px 25px;
        width: calc(100% - 50px);
        border-bottom: 1px solid #dddddd;
        margin-bottom: 0;
    }
    .login_page .left, .login_page .right {width: calc(100% - 50px);float:none;padding: 25px 25px;margin: 0;}
    .grey_bg { display: block; }
    .checkout_left {/* width: 100%; *//* border-right:0px solid #dddddd; *//* padding-right: 0; *//* float:none; *//* margin-bottom: 25px; */}
    .order_information {/* width: 100%; *//* float:none; */}
    .profile_menu {/* float:none; *//* width: 100%; *//* text-align: center; *//* margin-bottom: 50px; */}
    .profile_menu + .right {/* width: 100%; */}
    #profile_btn {position: absolute;right:8px;top:0;margin: 0;}
    .profile_block {
        padding: 35px 10px 10px 10px;
    }
    .profile_block button.change, .profile_address .delete_account { right:5px; }
    .cart_bg td.product_desc .title {}
    .cart_bg table tr td.price, .cart_bg table tr:first-child td:nth-child(2) {/* display: none; */}
    .cart_bg .quantity input {width: 40px;/* line-height: 29px; *//* margin: 0 1px; */}
    .cart_bg .quantity button {
        /* width: 41px; */
        /* height: 31px; */
        /* display: block; */
        /* margin: 7px auto; */
    }
    .cart_totals_page { margin-top: 20px; }
    .breadcrumbs {     padding: 20px 0 20px; }
    .totals .left { display: none; }
    .order_steps { display: none; }
    .order_details {/* width: 50%; *//* text-align: center; */}
    .confirm_left {width: calc(100% - 352px);}
    .order_form { margin-top: 20px; }
    .order_form .white_bg {padding: 20px 16px 85px;border-radius: 0;}
    .order_header #top_contacts {
        /* float: none; */
        /* text-align: center; */
    }

    .order_header #logo {
        /* margin: 0 auto; */
        float: left;
    }
    .order_header #top_contacts a {/* display: table; *//* margin-left: 0; *//* margin: 0 auto; */}
    .mfp-container { min-width: 100% }
    #slider {/* height: 228px; */}
    .content_after_slider { top:0; }
    #slider img {/* width: 100%; */}
    #banners_hp { display: none; }
    #banners_hp + #specials { margin-bottom: 50px; }
    #recommended .title, #specials .title, #specials.cart_specials .title { text-align: center; }
    .content.page_text, .category_content { width: calc(100% - 20px);  padding: 0 10px; }
    .content.page_text img { max-width: 100%;     height: auto!important; }
    #main_nav {/* display: none; */z-index: 99999;/* margin-top: 0; */}
    .fa-bars {font-size: 34px;position: absolute;cursor: pointer;top: 187px;right: 9px;color: #59b431;}
    .login_page .left {     border-bottom: 1px solid #dddddd; }
    .cart_bg {
        background:  #e9ebf3;
    }
    .order_form .white_bg .controls {

    }
    #button-cart {
        /* display: block; */
        /* width: 100%; */
    }
    #about_product {
        /* display: block; */
        /* width: 100%; */
    }
    .product_info .options input {
        /* display: block; */
        /* width: calc(100% - 43px); */
    }
    .mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
        top: 0!important;
    }

    form textarea { border-radius: 0; }

     .nav_side .current, .nav_side .current:not(.active) ~ .second_subs {
         /* display: none; */
     }
    .nav_side .active , .nav_side .active ~ .second_subs {
        /* display:block; */
        /* text-align: center; */
    }

    .nav_side nav a {/* display:block; */}

}


@media(max-width:1000px) AND (min-width:801px)
{
    footer nav ul:nth-child(3) {/* display: none; */}
    #slider {/* display: none; */}
    #main_cats > div { cursor: pointer; }
    select,
    input.text,
    input[type="number"],
    textarea,
    input[type="password"],
    input[type="email"],
    input[type="text"],
    input[type="button"],
    input[type="submit"],
    .input-checkbox {
        -webkit-appearance: none;
        border-radius: 0;
    }
    .content, #banners_hp .right, div#newsletter .content, .contacts_page form, .content.page_text { width: 100%; }
    .content { width:calc(100% - 20px)}
    div.banner_product .content { width:800px;}
    div#newsletter .content {width: 725px;}
    footer nav ul, footer nav ul:first-child, footer nav ul.socials {width: calc(25% - 40px);padding: 0 20px;}
    nav ul:nth-child(2) {/* border-right:0; *//* width: 50%; */}
    footer nav ul.socials {/* width: 100%; *//* border-right:0; */}

    .contacts_page .title {
        /* text-align: center; */
    }

    footer nav ul, footer nav ul:first-child {
        /* text-align: center; */
        /* border-right: 1px solid #dddddd; */
        /* padding: 20px 0; */
        /* margin: 0; */
        /* border-bottom: 1px solid #dddddd; */
    }

    footer nav ul li:first-child {
        margin-bottom: 10px;
    }

    footer nav ul.socials {
        /* margin-bottom: 0; */
    }
    #cart_box {
        /* top: 185px; */
        /* right: inherit; */
        /* left: 4px; */
        /* margin: auto; */
        z-index: 9999999;
        right: 163px;
    }

    #banners_hp .right, #banners_hp .left, footer .copyrights .left, footer .copyrights .right { float:none; }
    footer .copyrights {line-height: 30px;height: auto;padding: 18px 0;}
    #search_box {width: calc(100% - 610px);margin: 0px 20px 20px;/* float: none; */}
    #banners_hp img { max-width: 100%; margin:10px auto; }
    #main_cats > div.left:nth-child(2) {/* float:none; */margin: 0 10px;width: calc(33.33333333333333% - 82px);}
    .slider_products button {
        left: 26px;
        top: -79px;
    }
    .slider_products button.slick-next {right: 29px;}
    .top_categories a {width: calc(33.33333333333333% - 55px);border: 1px solid #dddddd;border-top: 0;border-left: 0;}
    .top_categories a:hover { border-width: 1px; }
    .top_categories a:nth-child(3n) { border-right:0;}
    #banners_hp  {background: url(images/banners_bg.png) no-repeat bottom center #e9ebf3;height: 100%;}
    .button.btn_newsletter {/* float:none; *//* margin: 12px auto; */}
    #newsletter p:first-child {/* text-align:center; *//* font-size: 17px; */}

    div#newsletter .left {
        /* text-align:center; */
    }

    #newsletter p {
        /* font-size: 13px; */
    }
    #newsletter .content:before {
        /* display: block; */
        /* float: none; */
        /* margin: 10px auto; */
    }
    .date_order { text-align: center; }
    #main_cats > div.left {width: calc(33.33333333333333% - 62px);padding: 13px 31px 0 31px;}
    #logo {/* float:none; *//* margin: 0px 0 0 2px; *//* display: table; */}
    #cart {/* float:none; *//* margin: 25px 0; */width: 269px;}
    #login_btn {float:none;margin: 0px auto 0;display:table;padding: 11px 26px 9px;position: absolute;top: 0;right: 7px;}
    #search_box input { width:calc(100% - 50px);}

    #main_nav {}
    #main_nav > ul {}
    #main_nav > ul > li {
        /* display: block; */
        /* text-align: center; */
        /* padding: 15px 0px 15px 0px; */
        /* position: relative; */
    }
    #main_nav > ul > li > a {}
    .megamenu {
        /* display: block; */
        /* padding: 13px 0px 0px; */
        /* text-align: center; */
        /* position: static; */
    }
/*    #main_nav > ul > li:hover .megamenu, .megamenu:hover {
        display: none;
        transition: none;
        padding-bottom: 0;
    }*/
    .megamenu .column {
        /*-moz-column-count: 1;
        -moz-column-gap: 0px;*/
        /* -webkit-column-count: 1; */
        /* -webkit-column-gap: 0px; */
        /* column-count: 1; */
        /* column-gap: 0px; */
        /* text-align: center; */
        /* margin-bottom: 0; */
    }

    .megamenu .column > a {
      /*  display: block;
        margin-bottom: 20px;*/
    }

    .megamenu:before , .megamenu:after{ display: none!important; }
    footer nav {/* padding: 0; */}
    footer .copyrights {text-align: center;/* border-top: 0; *//* line-height: 48px; *//* height: auto; */}
    #newsletter, #banners_hp { padding: 50px 0; }
    #top_line {/* padding: 0 15px; */}
    #top_line a {margin-left: 0;margin-right: 0;}
    .nav_side {/* display: none; *//* width: 100%; *//* text-align: center; *//* margin-bottom: 25px; */}
    .content_side {
        /* width: 100%; */
    }
    .product_list .product {
        width: calc(50% - 52px);
        margin: 0px 10px 20px;
    }
    .breadcrumbs, h1, .content_side p  {/* text-align: center; */}
    .content_side img { max-width: 100% }
    #top_contacts a {margin-left: 8px;}
    .product_image {/* width: 90%; *//* float:none; *//* margin: 0 auto 25px; */}
    .product_info {width: calc(100% - 497px);/* float:none; *//* margin: 0 auto; */margin-left: 20px;}

    .product_info h1 {
        text-align: left;
    }
    .product_image > .main img { max-width: 100%; }
    .banner_product .content:before {
        /* margin: 0 17px 50px; */
    }
    .requisites p, .requisites {/* text-align: center; */}
    .product_page { padding-bottom: 50px; }
    .banner_product {padding: 50px 0;height: auto;}
    .product_information #recommended .slider_products, .product_information #specials .slider_products { border-bottom: 0; }
    .product_information #recommended, .product_information #specials { margin:50px auto; }
    .product_info .ends_options ~ button.button.white {display: table;margin: 18px 0 0 0;}
    #banners_hp a { display: table; }
    .contacts_page .big_img { text-align:center;}
    .contacts_page  img { max-width: 100%; }
    .product_bubbles .discount {
        top: 0;
        left: 0;
        position: static;
    }
    .product_bubbles .top {
        top: 0;
        left: 0;
        position: static;
    }
    .product_page { position: relative; }
    .product_bubbles {position: absolute;top: 96px;right: 15px;float: none;}
    .contacts_page .left:not(.half) {/* float:none; */width: 100%;}
    .contacts_page .gallery_contacts.left {
    width: 50%;
}
    .contacts_page .left.main_contacts {width: calc(50% - 33px);/* margin-left: 0; *//* padding: 0 15px; *//* margin: 0 auto; */margin-left: 33px;}
    .team_members .member img {display:block;/* margin:0 auto; */}
    .team_members .member, .team_members .member:nth-child(4n) {/* display: table; *//* width: 232px; *//* margin: 0 auto 40px; *//* text-align: left; *//* background: rgba(128, 128, 128, 0.02); */width: calc(33% - 16px);}
    .login_page .left:after { display:none;}
    .team .title {padding: 30px;}
    .contacts_page form { margin:0 auto; width:95%; }
    .modal { max-width: 100%; }
    .white_bg.login_page {width: 100%;padding: 0;}

    .white_bg.forgotten {
        padding: 25px 25px 50px 25px;
        width: calc(100% - 50px);
        border-bottom: 1px solid #dddddd;
        margin-bottom: 0;
    }
    .login_page .left, .login_page .right {width: calc(100% - 50px);float:none;padding: 25px 25px;margin: 0;}
    .grey_bg { display: block; }
    .checkout_left {/* width: 100%; *//* border-right:0px solid #dddddd; *//* padding-right: 0; *//* float:none; *//* margin-bottom: 25px; */}
    .order_information {/* width: 100%; *//* float:none; */}
    .profile_menu {/* float:none; *//* width: 100%; *//* text-align: center; *//* margin-bottom: 50px; */}
    .profile_menu + .right {/* width: 100%; */}
    #profile_btn {position: absolute;right:8px;top:0;margin: 0;}
    .profile_block {
        padding: 35px 10px 10px 10px;
    }
    .profile_block button.change, .profile_address .delete_account { right:5px; }
    .cart_bg td.product_desc .title {}
    .cart_bg table tr td.price, .cart_bg table tr:first-child td:nth-child(2) {/* display: none; */}
    .cart_bg .quantity input {width: 40px;/* line-height: 29px; *//* margin: 0 1px; */}
    .cart_bg .quantity button {
        /* width: 41px; */
        /* height: 31px; */
        /* display: block; */
        /* margin: 7px auto; */
    }
    .cart_totals_page { margin-top: 20px; }
    .breadcrumbs {     padding: 20px 0 20px; }
    .totals .left { display: none; }
    .order_steps { display: none; }
    .order_details {/* width: 50%; *//* text-align: center; */}
    .confirm_left {width: calc(100% - 352px);}
    .order_form { margin-top: 20px; }
    .order_form .white_bg {padding: 20px 16px 85px;border-radius: 0;}
    .order_header #top_contacts {
        /* float: none; */
        /* text-align: center; */
    }

    .order_header #logo {
        /* margin: 0 auto; */
        float: left;
    }
    .order_header #top_contacts a {/* display: table; *//* margin-left: 0; *//* margin: 0 auto; */}
    .mfp-container { min-width: 100% }
    #slider {height: 228px;}
    .content_after_slider { top:0; }
    #slider img { width: 100%; }
    #banners_hp { display: none; }
    #banners_hp + #specials { margin-bottom: 50px; }
    #recommended .title, #specials .title, #specials.cart_specials .title { text-align: center; }
    .content.page_text, .category_content { width: calc(100% - 20px);  padding: 0 10px; }
    .content.page_text img { max-width: 100%;     height: auto!important; }
    #main_nav {/* display: none; */z-index: 99999;/* margin-top: 0; */}
    .fa-bars {font-size: 34px;position: absolute;cursor: pointer;top: 187px;right: 9px;color: #59b431;}
    .login_page .left {     border-bottom: 1px solid #dddddd; }
    .cart_bg {
        background:  #e9ebf3;
    }
    .order_form .white_bg .controls {

    }
    #button-cart {
        /* display: block; */
        /* width: 100%; */
    }
    #about_product {
        /* display: block; */
        /* width: 100%; */
    }
    .product_info .options input {
        /* display: block; */
        /* width: calc(100% - 43px); */
    }
    .mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
        /* top: 0!important; */
    }

    form textarea { border-radius: 0; }

     .nav_side .current, .nav_side .current:not(.active) ~ .second_subs {
         /* display: none; */
     }
    .nav_side .active , .nav_side .active ~ .second_subs {
        /* display:block; */
        /* text-align: center; */
    }

    .nav_side nav a {/* display:block; */}

}



@media(max-width:800px) AND (min-width:501px)
{
    footer nav ul:nth-child(3) { display: none; }
    #slider { display: none; }
    #main_cats > div { cursor: pointer; }
    select,
    input.text,
    input[type="number"],
    textarea,
    input[type="password"],
    input[type="email"],
    input[type="text"],
    input[type="button"],
    input[type="submit"],
    .input-checkbox {
        -webkit-appearance: none;
        border-radius: 0;
    }
    .content, #banners_hp .right, div#newsletter .content,  div.banner_product .content, .contacts_page form, .content.page_text { width: 100%; }
    footer nav ul, footer nav ul:first-child, footer nav ul.socials {width: calc(50% - 1px);}
    nav ul:nth-child(2) {  border-right:0; width: 50%;}
    footer nav ul.socials {width: 100%; border-right:0}

    .contacts_page .title {
        text-align: center;
    }

    footer nav ul, footer nav ul:first-child {
        text-align: center;
        border-right: 1px solid #dddddd;
        padding: 20px 0;
        margin: 0;
        border-bottom: 1px solid #dddddd;
    }

    footer nav ul li:first-child {
        margin-bottom: 10px;
    }

    footer nav ul.socials {
        margin-bottom: 0;
    }
    #cart_box {
        top: 185px;
        right: inherit;
        left: 4px;
        /* margin: auto; */
        z-index: 9999999;
    }

    #banners_hp .right, #banners_hp .left, div#newsletter .left, div#newsletter .right, footer .copyrights .left, footer .copyrights .right { float:none; }
    footer .copyrights {line-height: 30px;height: auto;padding: 18px 0;}
    #search_box {width: calc(100% - 11px);margin: 25px auto 0;float: none;}
    #banners_hp img { max-width: 100%; margin:10px auto; }
    #main_cats > div.left:nth-child(2) {/* float:none; */margin: 0 auto 15px;}
    .slider_products button {
        left: 26px;
        top: -79px;
    }
    .slider_products button.slick-next {right: 29px;}
    .top_categories a {width: calc(33.33333333333333% - 55px);border: 1px solid #dddddd;border-top: 0;border-left: 0;}
    .top_categories a:hover { border-width: 1px; }
    .top_categories a:nth-child(3n) { border-right:0;}
    #banners_hp  {background: url(images/banners_bg.png) no-repeat bottom center #e9ebf3;height: 100%;}
    .button.btn_newsletter {float:none;margin: 12px auto;}
    #newsletter p:first-child {/* text-align:center; */font-size: 17px;}

    div#newsletter .left {
        text-align:center;
    }

    #newsletter p {
        font-size: 13px;
    }
    #newsletter .content:before {
        display: block;
        float: none;
        margin: 10px auto;
    }
    .date_order { text-align: center; }
    #main_cats > div.left {width: calc(50% - 62px);padding: 13px 31px 0 31px;}
    #logo {float:none;margin: 0px 0 0 2px;display: table;}
    #cart {float:none;margin: 25px 0;width: 269px;}
    #login_btn {float:none;margin: 0px auto 0;display:table;padding: 11px 26px 9px;position: absolute;top: 0;right: 7px;}
    #search_box input { width:calc(100% - 50px);}

    #main_nav {}
    #main_nav > ul {}
    #main_nav > ul > li {
        display: block;
        text-align: center;
        padding: 15px 0px 15px 0px;
        position: relative;
    }
    #main_nav > ul > li > a {}
    .megamenu {
        display: block;
        padding: 13px 0px 0px;
        text-align: center;
        position: static;
    }
/*    #main_nav > ul > li:hover .megamenu, .megamenu:hover {
        display: none;
        transition: none;
        padding-bottom: 0;
    }*/
    .megamenu .column {
        -moz-column-count: 1;
        -moz-column-gap: 0px;
        -webkit-column-count: 1;
        -webkit-column-gap: 0px;
        column-count: 1;
        column-gap: 0px;
        text-align: center;
        margin-bottom: 0;
    }

    .megamenu .column > a {
        display: block;
        margin-bottom: 20px;
    }

    .megamenu:before , .megamenu:after{ display: none!important; }
    footer nav { padding: 0; }
    footer .copyrights {text-align: center;}
    #newsletter, #banners_hp { padding: 50px 0; }
    #top_line { padding: 0 15px; }
    #top_line a {margin-left: 0;margin-right: 0;}
    .nav_side {/* display: none; */width: 100%;text-align: center;margin-bottom: 25px;}
    .content_side {
        width: 100%;
    }
    .product_list .product {
        width: calc(50% - 52px);
        margin: 0px 10px 20px;
    }
    .breadcrumbs, h1, .content_side p  { text-align: center; }
    .content_side img { max-width: 100% }
    #top_contacts a {margin-left: 8px;}
    .product_image {width: 90%;float:none;margin: 0 auto 25px;}
    .product_info {width: 90%;float:none;margin: 0 auto;}

    .product_info h1 {
        text-align: left;
    }
    .product_image > .main img { max-width: 100%; }
    .banner_product .content:before {
        margin: 0 17px 50px;
    }
    .requisites p, .requisites { text-align: center; }
    .product_page { padding-bottom: 50px; }
    .banner_product {padding: 50px 0;height: auto;}
    .product_information #recommended .slider_products, .product_information #specials .slider_products { border-bottom: 0; }
    .product_information #recommended, .product_information #specials { margin:50px auto; }
    .product_info .ends_options ~ button.button.white {display: table;margin: 18px 0 0 0;}
    #banners_hp a { display: table; }
    .contacts_page .big_img { text-align:center;}
    .contacts_page  img { max-width: 100%; }
    .product_bubbles .discount {
        top: 0;
        left: 0;
        position: static;
    }
    .product_bubbles .top {
        top: 0;
        left: 0;
        position: static;
    }
    .product_page { position: relative; }
    .product_bubbles {position: absolute;top: 96px;right: 15px;float: none;}
    .contacts_page .left:not(.half) { float:none; width: 100%; }
    .contacts_page .left.main_contacts {width: 369px;margin-left: 0;padding: 0 15px;margin: 0 auto;}
    .team_members .member img { display:block; margin:0 auto;}
    .team_members .member, .team_members .member:nth-child(4n) {/* display: table; *//* width: 232px; */margin: 0 auto 40px;text-align: center;background: rgba(128, 128, 128, 0.02);}

.team_members {
    text-align: center;
}
    .login_page .left:after { display:none;}
    .team .title {padding: 30px;}
    .contacts_page form { margin:0 auto; width:95%; }
    .modal { max-width: 100%; }
    .white_bg.login_page {width: 100%;padding: 0;}

    .white_bg.forgotten {
        padding: 25px 25px 50px 25px;
        width: calc(100% - 50px);
        border-bottom: 1px solid #dddddd;
        margin-bottom: 0;
    }
    .login_page .left, .login_page .right {width: calc(100% - 50px);float:none;padding: 25px 25px;margin: 0;}
    .grey_bg { display: block; }
    .checkout_left {width: 100%;border-right:0px solid #dddddd;padding-right: 0;float:none;margin-bottom: 25px;}
    .order_information {width: 100%; float:none;}
    .profile_menu { float:none; width: 100%; text-align: center;margin-bottom: 50px;}
    .profile_menu + .right { width: 100%; }
    #profile_btn { position: absolute; right:8px; top:0; }
    .profile_block {
        padding: 35px 10px 10px 10px;
    }
    .profile_block button.change, .profile_address .delete_account { right:5px; }
    .cart_bg td.product_desc .title {}
    .cart_bg table tr td.price, .cart_bg table tr:first-child td:nth-child(2) { display: none; }
    .cart_bg .quantity input {width: 40px;/* line-height: 29px; *//* margin: 0 1px; */}
    .cart_bg .quantity button {
        /* width: 41px; */
        /* height: 31px; */
        /* display: block; */
        /* margin: 7px auto; */
    }
    .cart_totals_page { margin-top: 20px; }
    .breadcrumbs {     padding: 20px 0 20px; }
    .totals .left { display: none; }
    .order_steps { display: none; }
    .order_details {width: calc(50% - 40px);text-align: center;}
    .confirm_left {width: calc(100% - 352px);}
    .order_form { margin-top: 20px; }
    .order_form .white_bg {padding: 20px 16px 85px;border-radius: 0;}
    .order_header #top_contacts {
        /* float: none; */
        /* text-align: center; */
    }

    .order_header #logo {
        /* margin: 0 auto; */
        float: left;
    }
    .order_header #top_contacts a {/* display: table; *//* margin-left: 0; *//* margin: 0 auto; */}
    .mfp-container { min-width: 100% }
    #slider { height:109px; }
    .content_after_slider { top:0; }
    #slider img { width: 100%; }
    #banners_hp { display: none; }
    #banners_hp + #specials { margin-bottom: 50px; }
    #recommended .title, #specials .title, #specials.cart_specials .title { text-align: center; }
    .content.page_text, .category_content { width: calc(100% - 20px);  padding: 0 10px; }
    .content.page_text img { max-width: 100%;     height: auto!important; }
    #main_nav { display: none; z-index: 99999; margin-top: 0;}
    .fa-bars {font-size: 34px;position: absolute;cursor: pointer;top: 187px;right: 9px;color: #59b431;}
    .login_page .left {     border-bottom: 1px solid #dddddd; }
    .cart_bg {
        background:  #e9ebf3;
    }
    .order_form .white_bg .controls {

    }
    #button-cart {
        /* display: block; */
        /* width: 100%; */
    }
    #about_product {
        /* display: block; */
        /* width: 100%; */
    }
    .product_info .options input {
        /* display: block; */
        /* width: calc(100% - 43px); */
    }
    .mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
        /* top: 0!important; */
    }

    form textarea { border-radius: 0; }

     .nav_side .current, .nav_side .current:not(.active) ~ .second_subs {
         display: none;
     }
    .nav_side .active , .nav_side .active ~ .second_subs {
        display:block;
        text-align: center;
    }

    .nav_side nav a { display:block;}
.category_sorts > span { margin-left: 14px; }
}



@media(max-height:667px)
{
    .modal {
        max-height: calc(100% - 147px);
    }
}
@media(max-width:500px)
{
    .category_sorts { text-align: center; }
    .category_sorts  span { display: block; margin-bottom: 20px; }
    .category_sorts .right { float:none; }
    .category_sorts select { width:100px; }
    #top_line nav { width:57px; overflow: hidden; }
    footer nav ul:nth-child(3) { display: none; }
    #slider { display: none; }
    #main_cats > div { cursor: pointer; }
    select,
    input.text,
    input[type="number"],
    textarea,
    input[type="password"],
    input[type="email"],
    input[type="text"],
    input[type="button"],
    input[type="submit"],
    .input-checkbox {
        -webkit-appearance: none;
        border-radius: 0;
    }
    .content, #banners_hp .right, div#newsletter .content, footer nav ul, footer nav ul:first-child, footer nav ul.socials, div.banner_product .content, .contacts_page form, .content.page_text { width: 100%; }

    .contacts_page .title {
        text-align: center;
    }

    footer nav ul, footer nav ul:first-child {
        text-align: center;
        border-bottom: 1px solid #dddddd;
        padding: 20px 0;
    }

    footer nav ul li:first-child {
        margin-bottom: 10px;
    }

    footer nav ul.socials {
        margin-bottom: 0;
    }
    #cart_box {
        top: 185px;
        right: inherit;
        left: 4px;
        /* margin: auto; */
        z-index: 9999999;
    }

    #banners_hp .right, #banners_hp .left, div#newsletter .left, div#newsletter .right, footer nav ul, footer .copyrights .left, footer .copyrights .right { float:none; }
    footer .copyrights {line-height: 30px;height: auto;padding: 18px 0;}
    #search_box {width: calc(100% - 11px);margin: 25px auto 0;float: none;}
    #banners_hp img { max-width: 100%; margin:10px auto; }
    #main_cats > div.left, #main_cats > div.left:nth-child(2) { float:none; margin: 0 auto 15px; }
    .slider_products button {
        left: 26px;
        top: -79px;
    }
    .slider_products button.slick-next {right: 29px;}
    .top_categories a {width: calc(50% - 55px);border: 1px solid #dddddd;border-top: 0;border-left: 0;}
    .top_categories a:nth-child(2n) { border-right:0; }
    .top_categories a:hover { border-width: 1px; }

    #banners_hp  {background: url(images/banners_bg.png) no-repeat bottom center #e9ebf3;height: 100%;}
    .button.btn_newsletter {float:none;margin: 12px auto;}
    #newsletter p:first-child {/* text-align:center; */font-size: 17px;}

    div#newsletter .left {
        text-align:center;
    }

    #newsletter p {
        font-size: 13px;
    }
    #newsletter .content:before {
        display: block;
        float: none;
        margin: 20px auto;
    }
    #main_cats > div.left {width: calc(100% - 62px);padding: 13px 31px 0 31px;max-width: 326px;}
    #logo {float:none;margin: 0px 0 0 2px;display: table;}
    #cart {float:none;margin: 25px 0;width: 269px;}
    #login_btn {float:none;margin: 0px auto 0;display:table;padding: 11px 26px 9px;position: absolute;top: 0;right: 7px;}
    #search_box input { width:calc(100% - 50px);}

    #main_nav {}
    #main_nav > ul {}
    #main_nav > ul > li {
        display: block;
        text-align: center;
        padding: 15px 0px 15px 0px;
        position: relative;
    }
    #main_nav > ul > li > a, #main_nav li span.fas { color: #59b431; }
    .megamenu {
        display: block;
        padding: 13px 0px 0px;
        text-align: center;
        position: static;
    }
/*    #main_nav > ul > li:hover .megamenu, .megamenu:hover {
        display: none;
        transition: none;
        padding-bottom: 0;
    }*/
    .megamenu .column {
        -moz-column-count: 1;
        -moz-column-gap: 0px;
        -webkit-column-count: 1;
        -webkit-column-gap: 0px;
        column-count: 1;
        column-gap: 0px;
        text-align: center;
        margin-bottom: 0;
    }

    .megamenu .column > a {
        display: block;
        margin-bottom: 20px;
    }

    .megamenu:before , .megamenu:after{ display: none!important; }
    footer nav { padding: 0; }
    footer .copyrights {text-align: center;}
    #newsletter, #banners_hp { padding: 50px 0; }
    #top_line { padding: 0 15px; }
    #top_line a {margin-left: 0;margin-right: 0;}
    .nav_side {/* display: none; */width: 100%;text-align: center;margin-bottom: 25px;}
    .content_side {
        width: 100%;
    }
    .product_list .product {
        width: calc(50% - 52px);
        margin: 0px 10px 20px;
    }
    .breadcrumbs, h1, .content_side p  { text-align: center; }
    .content_side img { max-width: 100% }
    #top_contacts a {margin-left: 8px;}
    .product_image {width: 90%;float:none;margin: 0 auto 25px;}
    .product_info {width: 90%;float:none;margin: 0 auto;}

    .product_info h1 {
        text-align: left;
    }
    .product_image > .main img { max-width: 100%; }
    .banner_product .content:before {
        margin: 0 17px 50px;
    }
    .date_order { text-align: center; }
    .requisites p, .requisites { text-align: center; }
    .product_page { padding-bottom: 50px; }
    .banner_product {padding: 50px 0;height: auto;}
    .product_information #recommended .slider_products, .product_information #specials .slider_products { border-bottom: 0; }
    .product_information #recommended, .product_information #specials { margin:50px auto; }
    .product_info .ends_options ~ button.button.white {display: table;margin: 18px 0 0 0;}
    #banners_hp a { display: table; }
    .contacts_page  img { max-width: 100%; }
    .product_bubbles .discount {
        top: 0;
        left: 0;
        position: static;
    }
    .product_bubbles .top {
        top: 0;
        left: 0;
        position: static;
    }
    .product_page { position: relative; }
    .product_bubbles {position: absolute;top: 96px;right: 15px;float: none;}
    .contacts_page .left:not(.half) { float:none; width: 100%; }
    .contacts_page .left.main_contacts {width: calc(100% - 30px);margin-left: 0;padding: 0 15px;}
    .team_members .member, .team_members .member:nth-child(4n) {display: table;width: 232px;margin: 0 auto 40px;}
    .login_page .left:after { display:none;}
    .team .title {padding: 30px;}
    .contacts_page form { margin:0 auto; width:95%; }
    .modal { max-width: 100%; }
    .white_bg.login_page {width: 100%;padding: 0;}

    .white_bg.forgotten {
        padding: 25px 25px 50px 25px;
        width: calc(100% - 50px);
        border-bottom: 1px solid #dddddd;
        margin-bottom: 0;
    }
    .login_page .left, .login_page .right {width: calc(100% - 50px);float:none;padding: 25px 25px;margin: 0;}
    .grey_bg { display: block; }
    .checkout_left {width: 100%;border-right:0px solid #dddddd;padding-right: 0;float:none;margin-bottom: 25px;}
    .order_information {width: 100%; float:none;}
    .profile_menu { float:none; width: 100%; text-align: center;margin-bottom: 50px;}
    .profile_menu + .right { width: 100%; }
    #profile_btn { position: absolute; right:8px; top:0; }
    .profile_block {
        padding: 35px 10px 10px 10px;
    }
    .profile_block button.change, .profile_address .delete_account { right:5px; }
    .cart_bg td.product_desc .title {}
    .cart_bg table tr td.price, .cart_bg table tr:first-child td:nth-child(2) { display: none; }
    .cart_bg .quantity input {    width: 40px; line-height: 29px;margin: 0 1px;}
    .cart_bg .quantity button {
        width: 41px;
        height: 31px;
        display: block;
        margin: 7px auto;
    }
    .cart_totals_page { margin-top: 20px; }
    .breadcrumbs {     padding: 20px 0 20px; }
    .totals .left { display: none; }
    .order_steps { display: none; }
    .order_details {text-align: center;width: calc(50% - 40px);}
    .confirm_left { width: 100%; }
    .order_form { margin-top: 20px; }
    .order_form .white_bg {padding: 20px 16px 85px;border-radius: 0;}
    .order_header #top_contacts {
        float: none;
        text-align: center;
    }

    .order_header #logo {
        margin: 0 auto;
    }
    .order_header #top_contacts a {display: table;margin-left: 0;margin: 0 auto;}
    .mfp-container { min-width: 100% }
    #slider { height:109px; }
    .content_after_slider { top:0; }
    #slider img { width: 100%; }
    #banners_hp { display: none; }
    #banners_hp + #specials { margin-bottom: 50px; }
    #recommended .title, #specials .title, #specials.cart_specials .title { text-align: center; }
    .content.page_text, .category_content { width: calc(100% - 20px);  padding: 0 10px; }
    .content.page_text img { max-width: 100%;     height: auto!important; }
    #main_nav { display: none;z-index: 99999;
    margin-top: 0;
    position: absolute;
    top: 0;
    overflow: scroll;
    width: 100%;
    height: 100%;
    background: white;}
    .fa-times {font-size: 15px;position: absolute;top: 12px;right: 15px;color: #585858;cursor: pointer;z-index: 9999;}
    .fa-bars {font-size: 34px;position: absolute;cursor: pointer;top: 187px;right: 9px;color: #59b431;}
    .login_page .left {     border-bottom: 1px solid #dddddd; }
    .cart_bg {
        background:  #e9ebf3;
    }
    .order_form .white_bg .controls {

    }
    #button-cart {
        display: block;
        width: 100%;
    }
    #about_product {
        display: block;
        width: 100%;
    }
    .product_info .options input {
        display: block;
        width: calc(100% - 43px);
    }
    .mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
        /* top: 0!important; */
    }

    form textarea { border-radius: 0; }

     .nav_side .current, .nav_side .current:not(.active) ~ .second_subs {
         display: none;
     }
    .nav_side .active , .nav_side .current.active ~ .second_subs {
        display:block;
        text-align: center;
    }

    .nav_side nav a { display:block;}

}

@supports (-webkit-touch-callout: none) {
    form select {
        height: 45px;
        margin-top: 2px;
    }
}

@media(max-width:600px)
{
    .mobile { display: block; float:left; }
    #top_contacts a:nth-child(2), #top_line nav { display: none; }
}