@media (max-width:1625px) {
    #topline{
        left:1%;
        margin-left:0;
    }
}

@media (max-width:1425px) {
    .row_75, .row_75.row_border{width:100%;margin:0;}
    .row_border{padding:20px 0;}

    .catalog-block .tovar-preview{
        width:19.3%;
        /*height:350px;*/
        margin-bottom:18px;
        margin-right:0.875%;
    }
    .catalog-block .tovar-preview:nth-of-type(5n){
        margin-right:0;
    }

    .catalog-block .tovar-preview{width:24.3%; margin-right:0.933% !important;}
    .catalog-block .tovar-preview:nth-of-type(4n){ margin-right:0 !important;}

    .catalog-block.simple{width:98%;margin:0 1%;}

    .tovar-block{
        width:1050px;
    }

    .contact-text{
        margin:0 0 0 2%;
    }
}

@media (max-width:1215px) {
	body, #container{
	    width: 100%;
	    min-width:0;
	    transition:all 0.3s ease 0s;
	}
        body{overflow-x:hidden;}






        /*.bx-viewport{width:calc(100% - 80px) !important;}*/

        /*.title{width:calc(96% - 50px);margin-left:2%;overflow:hidden;}*/

        .tovar-preview.action .tovar-preview-price{white-space: nowrap;width:23%;}
        .tovar-preview-price span:first-of-type{font-size:1.5em;}
        .tovar-preview.action .tovar-preview-price.del{font-size:0.8em;width:15%;}
        .tovar-preview.action .tovar-preview-price:last-of-type{width:25%;font-size:0.9em;}


}/* 1215 px*/

@media (max-width:1160px) {
    /*.header_soc{display:none;}*/
    .catalog-block .tovar-preview,
    .catalog-block .tovar-preview:nth-of-type(4n),
    .catalog-block .tovar-preview:nth-of-type(5n){width:32.6%; margin-right:1.098% !important;}
    .catalog-block .tovar-preview:nth-of-type(3n){ margin-right:0 !important;}

}

@media (max-width:1070px) {
    #subscribe_form .error_text{
        left:calc(50% - 183px);
    }
    .tovar-block{
        width:100%;
    }
}
@media (max-width:1040px) {
    .content_body{
            min-height:calc(100vh - 482px);
    }


    .fft-subscribe{margin-top:0;}
    .footer_grafic{
        text-align:center;
    }
    /*Footer end*/



    .index-text, .index-blog{width:96%;margin:20px 0 0 2%;}


    .index-catalog-item{width:29%;margin:8px 2%;}
}/* 1215 px*/

@media (max-width:1010px) {
    .simple_menu a{
        margin:0 15px;
    }
}/* 1010 px*/



@media (max-width:870px) {
    #slider-section, .slider .slide {
        height:400px;
    }
    .slide-text-holder{
        width:45%;
    }
    .slide-title, .slide:hover .slide-title{
        font-size: 4.5vw;
    }
    .slide-text, .slide:hover .slide-text{
        font-size: 5.5vw;
    }
    .slide-button div{
        font-size:2vw;
    }

    .review-row{
        flex-direction: column;
    }
    /*.banner-new{font-size:0.9em;}*/

    .index-catalog-item{width:46%;margin:8px 2%;}

    .catalog-block .tovar-preview,
    .catalog-block .tovar-preview:nth-of-type(5n),
    .catalog-block .tovar-preview:nth-of-type(4n),
    .catalog-block .tovar-preview:nth-of-type(3n){width:24.3%; margin-right:0.933% !important;}
    .catalog-block .tovar-preview:nth-of-type(4n){ margin-right:0 !important;}


      div.leftside{
        display:none;
      	position:fixed;
      	top:46px;
      	left:1%;
        width:98%;
      	border:none;
        height:calc(100vh - 46px);
        overflow-y:auto;
      	margin:0;
      	padding:0;
      	background:rgba(237,237,237,1);;
      	z-index:560;
      }

        .logo, div.catalog-tree {
            margin-left:15px;
        }

        .navbar-toggle-catalog, .navbar-toggle-menu{display:inline-block !important;}
        .topmenu>a{display:none;}
        .topmenu{
            width:80px;
            margin:0;
            left:210px;
         }
         .footer-copyright{
            margin:0;
            left:210px;
            width:auto;
         }


        .topmenu_mobile, .logo_small{display:block;}
        div[class^=navbar-toggle]{display:block;}



        .header_after_menu ul{
            position:relative;
            top: 0;
            padding: 0;
            width:100%;
            box-shadow: none;
            border: none;
            border-top: none;
            background:transparent;
            overflow-x:hidden;
        }
        .header_after_menu ul div{width:100%;}
        /*.header_after_menu ul div:last-of-type li:nth-of-type(odd){background-color:#fff;}
        .header_after_menu ul div:last-of-type li:nth-of-type(even){background-color:#f8f9fa;}*/
        .header_after_menu ul li.lm2-li, .header_after_menu ul li.lm3-li{display:block;}
        .header_after_menu ul li.lm2-li a, .header_after_menu ul li.lm3-li a{margin-bottom:0;padding-bottom:5px;}
    /*display: block;
    margin: 0px 0px 5px 40px;
}   */

        .header_button{
            margin-right:15px;
        }


    .leftmenu-title, .leftmenu-catalog{display:none;}

    div.rightside{width:100%;}
    .rightside h1{margin-top:0;}




    /* Force table to not be like tables anymore */
    .cabinet_table, .cabinet_table thead, .cabinet_table tbody,.cabinet_table th, .cabinet_table td, .cabinet_table tr {
            display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    .cabinet_table thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
    }

    .cabinet_table tr { border: 1px solid #ccc; }

    .cabinet_table td {
            /* Behave  like a "row" */
            border: none;
            border-bottom: 1px solid #eee;
            position: relative;
            padding-left: 130px;
    }
    .cabinet_table td .orders_img{
        width:100px;
        margin-left:0;
    }

    .cabinet_table td:before {
            /* Now like a table header */
            position: absolute;
            /* Top/left values mimic padding */
            top: 0;
            left: 0;
            width: 100px;
            height:calc(100% - 20px);
            padding: 10px;
            white-space: nowrap;
            text-align:left;
            /*background-color:#fafafa;*/
            border-bottom:1px solid #e9ebea;
            border-right:1px solid #e9ebea;
    }
    .cabinet_table td, .cabinet_table th, .cabinet_table td.text_center{text-align:left !important;}

    /*
    Label the data
    */
    .cabinet_table td:nth-of-type(1):before { content: "№ заказа"; }
    .cabinet_table td:nth-of-type(2):before { content: "Товар"; }
    .cabinet_table td:nth-of-type(3):before { content: "Количество"; }
    .cabinet_table td:nth-of-type(4):before { content: "Дата"; }
    .cabinet_table td:nth-of-type(5):before { content: "Состояние"; }
    .cabinet_table td:nth-of-type(6):before { content: "Стоимость"; }

    .blog_preview_holder>div{
        width:70%;
    }
    .blog_preview_holder>div.blog_preview_img{
        width:30%;
    }
}/* 870 px*/


@media (max-width:790px) {
    .simple_menu{
        padding:20px 0 20px 0;
    }
    .simple_menu a{
        margin:5px 5px;
        font-size:0.7em;
        max-width: 40px;
    }
    .simple_menu svg{
        height:25px;
    }


    .cart-form{
        float:none;
        width:300px;
        margin:0 auto;
    }
    .cart-catalog{
        float:none;
        width:90%;
        min-width:300px;
        margin:0 auto;
    }
    .cart-table{
        max-height:none;
    }

    .ord-info{
        width: calc(100% - 30px);
        margin: 0 15px 15px 15px;
        float:none;
    }
    .ord-info+.ord-info{
        margin-bottom: 0;
    }
}
/* 790 px*/

@media (max-width:730px) {
    .content_body{
            min-height:0;
    }
    .catalog-preview div{
        font-size:1.1em;
    }
    .tovar-review, .tovar-review:nth-of-type(odd) {
        float:right;
        width:calc(100% - 50px);
        margin:0 25px 25px 25px;
        box-sizing: border-box;
    }

    /*footer*/

    .f-form-title{text-align:center;}

    /*.banner-new{font-size:0.8em;}
    .banner-new-text-button{margin-top:15px;}*/

    .catalog_sort-holder{
        float:left;
        width:calc(100% - 15px);
        text-align:left;
        margin:0 0 0 15px;
    }

    .catalog-block .tovar-preview,
    .catalog-block .tovar-preview:nth-of-type(5n),
    .catalog-block .tovar-preview:nth-of-type(4n),
    .catalog-block .tovar-preview:nth-of-type(3n){width:32.6%; margin-right:1.098% !important;}
    .catalog-block .tovar-preview:nth-of-type(3n){ margin-right:0 !important;}


    .topmenu > ul > li{padding:0 25px;}

    .auth_50{
        width:96%;
        margin:20px 2% 40px 2%;
    }
}

@media (max-width:680px) {
    /*footer*/
    .fd_1, .fd_2, .fd_3{font-size:0.8em;}
    .footer_grafic{font-size:1em;}


    .title, h1.title{font-size:1.8em;}

    dl.questions{
        width:calc(100% - 40px);
        margin:0 20px;
        padding:0;
        border-right:none;
    }
    .qa_form_holder, .row_border .cabinet_form{
        width:calc(100% - 40px);
        margin:30px 20px 0 20px;
    }

    .contact-text, .contact-form_holder{
        width:calc(100% - 40px);
        margin:0 20px;
        padding:0;
    }
    .contact-form_holder>form.cabinet_form{
        margin-left:auto;
        margin-right:auto;
        margin-top:30px;
        width:100%;
    }

}

@media (max-width:630px) {
    #index_banners{height:auto;}
    .banner-new{height:33%;}
    .banner-sale{height:45%;margin-top:1%;}
    .banner-week{height:20%;margin-top:1%;}
    .banner-new, .banner-sale, .banner-week{width:100%;}
    .title.in_catalog{margin-top:10px;}

    .cart-summ{padding:10px 2% 0 2%;width:96%;text-align:center;}

    .index-blog .blog_preview_holder{height:auto;}
    .blog_preview_holder>div{
        width:100%;
    }
    .blog_preview_holder>div.blog_preview_img{
        width:100%;
        height:150px;
        padding-top:10px;
        background-size:contain;
        background-position:center 10px;
        background-repeat:no-repeat;
    }
    .index-blog .blog_preview_holder{margin:0;}
    .index-blog .blog_preview_holder>div.blog_preview_img{padding:0; background-position:center center;}
    .blog_preview_holder{
        float:left !important;
        height:auto;
        width:96%;
        margin:0 0 15px 2%;
    }
    .blog_preview-title{text-align:center;}
    .show_more_holder{
        margin:15px 0 0 0;
     }
    .pagination{float:left;width:100%;position:relative;text-align:center; margin:10px 0 20px 0;}
    .pagination div, .pagination a{margin:0 5px 0 5px; }
}

@media (max-width:590px) {
    .index-text h1, .index-blog h5{font-size:1.6em;}
    .top-slider .bx-viewport{
       left:50%;
       margin-left:-421px;
       width:846px !important;
    }
    /*footer*/
    .fd_1, .fd_2, .fd_3{font-size:0.7em;}


    .top-slider .bx-viewport, .tovar-slider .bx-viewport, .tovar-view-reviews .bx-viewport, .index-reviews .bx-viewport{left:0;margin-left:0;}
    .tovar-view-reviews .bx-viewport{width:calc(96% - 60px) !important;left:calc(2% + 30px);}
    .index-reviews .bx-viewport{width:calc(96% - 60px) !important;left:calc(2% + 32px);}


    .catalog-index-item{width:calc(48% - 2px);margin:1%;}
    div.catalog-item:not(.slide), div.catalog-category{width:calc(48% - 2px);}
    div.catalog-category{margin:0.75% !important;}
    .index-catalog-item{width:98%;margin:8px 2%;}

    .tovar-preview.action .tovar-preview-title{width:96%;text-align:center;height:auto;}
    .tovar-preview.action .tovar-preview-price, .tovar-preview.action .tovar-preview-price.del{width:100%;text-align:center;line-height:1em !important;height:auto !important;}
    .tovar-preview.action .tovar-preview-price:last-of-type{width:100%;text-align:center;margin-bottom:10px;}
    .akcia{right:0;}



    .cartbox-block .oc-form_holder, .oc-form_holder{width:90%;margin:20px 5%;}
    .oc-form_holder .grey_button{width:calc(100% - 2px);}

    .cabinet_table{width:96%;}

}/* 590 px*/

@media(max-width:540px){
    .logo{margin-left:5px;}
    .logo img{width:32px;}
    .logo img:first-of-type{display:inline-block;}
    .logo img:last-of-type{display:none;}
    .topmenu {
        width:70px;
        margin:0;
        left:40px;
    }
    .footer-copyright{
        left:40px;
    }
    .header_button{
        margin-right:8px;
    }
    .header_button sup{
        font-size:0.9em;
        position:absolute;
        top:-4px;
        right:-6px;
    }
    .primary_valuta, .header_auth {
        font-size: 15px;
    }

    .title.title_big{
        font-size:2em;
    }
    .title.title_small{
        font-size:1.2em;
    }
    .title.title_beaty{
        font-size:1.5em;
    }
    .title.title_beaty div:before, .title.title_beaty div:after{
        height:22px;
        z-index:-1;
    }

    .catalog-preview{
        width:calc(50% - 4px);
    }
    .catalog-preview:nth-of-type(odd){
        margin-left:0;
    }
    .catalog-preview:nth-of-type(even){
        margin-right:0;
    }

    .tovar-left{margin-bottom:20px;}
    .tovar-left, .tovar-right{
        width:100%;
    }
    .tovar-image{
        padding-top:115%;
    }
    .tovar-big-image{
        right:38.5%;
    }
    .tovar-small-images{
        position:absolute;
        top:-2px;right:0;
        bottom:-2px;left:65.15%;
        overflow-y:hidden;
    }
}

@media (max-width:520px) {
    .reviews-holder{
        padding:25px 0px 0 25px;
    }
    .tovar-review, .tovar-review:nth-of-type(odd) {
        float:left;
        width:100%;
        margin:0 0 25px 0px;
    }





    .reviews_page .tovar-preview{
        height:640px !important;
    }
    .reviews_page .tovar-preview-photos{height:405px;}


    #slider-section, .slider .slide {
        height:350px;
    }
    .cart-table-td:nth-of-type(1){ width:95px;}
    .cart-table-td:nth-of-type(2){ width:calc(96% - 95px);}
    .cart-table-td:nth-of-type(3){ width:100%;}

    .cabinet_table td .orders_img{
        width:70px;
    }
    .cabinet_table td .orders_img+div{
        width:calc(100% - 10px);
        padding:0 0 5px 0;
        margin:0 0 10px 0;
        border-bottom:1px dashed #ddd;
    }
    .cabinet_table td div:last-of-type{
        border-bottom:none;
    }
}

@media (max-width:450px) {
    .catalog-block .tovar-preview,
    .catalog-block .tovar-preview:nth-of-type(4n),
    .catalog-block .tovar-preview:nth-of-type(5n),
    .catalog-block .tovar-preview:nth-of-type(3n){width:49.5%; margin-right:1% !important;}
    .catalog-block .tovar-preview:nth-of-type(2n){ margin-right:0 !important;}

    .ptable{font-size:0.9em;}
    .ptable img{width:30px;}
}


@media (max-width:400px) {
    /*footer*/
    .fd, .fd_1, .fd_2, .fd_3{
 		width:90%;
 		border: none;
 		margin: 10px 0;
        font-size:0.9em;
    }

    .f-form-title, .footer_grafic{
        text-align:left;
    }
    .f-form-title, .footer_grafic span{
        font-size:1em;
        text-transform: uppercase;
        color:#32302e;
    }

    .f-contacts-links a {
        font-size: 1.3em;
        padding: 0 0 3px 0;
    }
    .f-contacts-links{
        width:46%;
        float:left;
    }
    .f-title-soc, .f-soc{
        float:left;
        width:46%;
        margin:0 0 0 6%;
    }
    .f-title-soc{
        margin:0px 0 5px 6%;
    }
    .f-soc img {
        height: 20px;
    }
    .f-title-contacts{
        margin:10px 0 10px 0;
    }
    .footer-copyright{
        font-size:0.9em;
        letter-spacing:-0.01em;
    }
    .developer{
        margin:0 10px 0 0;
        font-size:0.9em;
        letter-spacing:-0.01em;
    }


    .oc_header{font-size:1.5em;}

    #slider-section, .slider .slide {
        height:250px;
    }
    .title .title_icon{margin:0 5px;}

    .header_button svg{width:20px;height:20px;margin-top:4px;margin-right:2px;display:block;}
    .header_button sup{font-size:0.8em; top:-2px;}
}/* 400 px*/

@media (max-width:350px) {
     .cabinet_form input[type="text"], .cabinet_form input[type="email"],.cabinet_form input[type="password"],.cabinet_form textarea{
        width:calc(96% - 2px);
    }
    .cabinet_form{width:100%;}

}