/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 08.08.2018, 11:51:29
    Author     : morozovvs
*/
div.cmarket_menu_item br{
    display: none;
}
div.cmarket_menu_item.profile{
    clear: both;
}
div.cmarket_menu_item{
    display: block;
    width: 10em;
    height: auto;
    padding: 0;
    float: left;
    margin: 12px 3px 0px 0px;
}
div.cmmenu{
    background: white;
    /*display: none;*/
}

.column.\@pack::before {
    content: "Мин/упак";
    font-size: initial;
}
.column.\@pack {
    font-size: 0;
}

.cell.action, .column.\@catalog, .column.\@action{
    display: none !important;
}

.headsearch{
    width: 9em;
}

@media screen and (max-width: 865px) {
    .restable .nds, .restable .rub_nds{
        display: none;
    }
    div.cmarket_menu_item{
        clear: both;
        margin: 1px;
    }
    div.cmarket_menu_item.help{
        display: none;
    }
    
    #cmpopup.addtocart {
        left: 5%;
        top: 5%;
        bottom: 5%;
        right: 5%;
    }

}

@media screen and (max-width: 740px) {
    .restable .thead{
        display: none;
    }
    .restable .cell{
        display: block;
        float: left;
        border: none;
        width: auto !important;
        min-width: 4em;
    }
    .restable .cell.nn{
        min-width: 8em;
    }
    .restable .cell.descr{
        min-width: 10em;
    }
    .restable .cell.pack{
        min-width: 7em;
        text-align: left;
    }
    .restable .cell.stock.qty{
        min-width: 9em;
        text-align: left;
    }
    .restable .cell.stock.expect{
        min-width: 13em;
        text-align: left;
    }
    .restable .cell.pack, .restable .cell.rub{
        /*clear: both;*/
    }
    .restable .cell.pack .minqty:before{
        display: inline-block;
        content: "Мин. ";
    }
    .restable .cell.pack .roundqty:before{
        display: inline-block;
        content: "Упак. ";
    }
    .restable .cell.stock.qty:before{
        display: inline-block;
        content: "Доступно:";
    }
    .restable .cell.stock.expect:before{
        display: inline-block;
        content: "След. пост.";
    }
    .restable .cell.rub:before{
        display: inline-block;
        content: "Цена без НДС:";
        font-weight: normal;
        float: left;
    }
    .restable .cell.nds:before{
        display: inline-block;
        content: "НДС:";
        float: left;
    }
    .restable .cell.rub_nds:before{
        display: inline-block;
        content: "Цена с НДС:";
        float: left;
    }
    .cell.nn, .cell.stock.qty .value, .cell.rub{
        font-weight: bold;
    }    
    .cell.matnr{
        display: none;
    }
    .restable .cell.rub, .restable .cell.nds, .restable .cell.rub_nds{
    }
    .restable .row{
        border-bottom: 1px solid black;
    }
}

@media screen and (max-width: 660px) {
    .homenav{
        height: 40px;
        width: auto;
    }
    svg{
        height: 100%;
    }
    .headsearch{
        margin-top: 0.3em;
    }
    #headsearchsubmit{
        margin: 0.4em;
        height: 1.5em;
        vertical-align: bottom;
    }
    div.searchbox {
        height: 3em;
        position: absolute;
        left: 65px;
        right: 0;
        top: 0;
    }
    div.content{
        top: 3em;
    }
    #top-utilities{
        display: none;
    }
    .cmarket_cart_summary .fname{
        width: 7em;
    }
}

textarea.cmarket_order_notes{
    width: 30em;        
}

.cmarket_cart_table .thead{
    display: none;
}
.cmarket_cart_table .row > div{
    display: block;
    float: left;
    border: none;
    width: auto !important;
    min-width: 4em;
}
.cmarket_cart_nn_container, .cmarket_cart_price_container {
    clear: both;
}
.cmarket_money{
    min-width: 6em !important;
    font-weight: bold;
}
.cmarket_money:after{
    content: "руб.";
    font-weight: normal;
}
.cmarket_cart_mass:after{
    content: "г";
    font-weight: normal;
}
.cmarket_cart_actions{
    float: right !important;
}
.newitem .cmarket_cart_nn_container{
    clear: none;
}
.newitem > .cmarket_cart_jnote{
    display: none !important;
}