:root {
    --purple: #4C3686;
    --pink: #E759BE;
    --fontColor: #A7ACB5;
    --gray: #F5F6FA;
    --white: #FFFFFF;
    --boxShadow: #D9D9D9;
    --lightBlue: #00C9F3;
}


html,
body {
    height: 100%;
    font-family: "Jura", sans-serif;
    font-size: 16px;
}

a:focus {
    outline: 0;
    outline-offset: 0;
}

.row{
    margin: 0 -4px;
}

.form-control {
    height: 36px;
    margin-bottom: 1px;
    font-size: 16px;
}

[class*=col-] {
    padding-left: 4px;
    padding-right: 4px;
}

.body-content .col-lg-4,  .body-content .col-lg-6 {
    padding-left: 15px;
    padding-right: 15px;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 57px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}



/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 10px 15px;
    border: none;
}
.nav li > form > button.logout:hover {
    background: #000;
    /*    margin-top: 3px;
        padding-top: 12px;
        padding-bottom: 12px;*/
    /*border-bottom: 2px solid #5cb85c;*/
}

.dropdown-menu li > a {
    padding: 10px 20px;
}





@media (min-width: 1359px){
    .container {
        width: 1330px;
    }
    .slide-box-wrapper{
        max-width: 590px;
    }
}

@media (min-width: 1559px){
    .container {
        width: 1530px;
    }
}

@media (min-width: 1900px){
    .container {
        width: 1830px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.table {
    display: table;
}
.table {
    border-color: #e2e7eb;
    border-radius: 2px;
    background: white;
    padding: 8px 5px;
    box-shadow: 0 0 1px;
}

.table-hover-th, .table-hover-tr {
    display: table-row;
    cursor: default;
    /*box-shadow: 0 -1px 0px #f5f5f5 inset;*/

}
.table-hover-th {
    display: table-header-group;
}

.btn {
    /*margin: 1px;*/
    padding: 11px 20px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
    transition: all 0.3s;
}

.new-line {
    /*background: rgba(255, 0, 22, 0.20);*/
}
.new-line:hover {
    background: rgba(255, 0, 22, 0.30);
}

.active-input {
    position: relative;
    cursor: text;
    background: #fcfffc;
    color: #000;
    padding: 6px 12px;
    box-shadow: 0 0 1px #444 inset;
    border-radius: 4px;
    /*min-height: 34px;*/
    min-height: 35px;
    margin: 1px 0;
}

.active-select {
    position: relative;
    cursor: pointer;
    background: #fcfffc;
    color: #000;
    padding: 6px 12px;
    box-shadow: 0 0 1px #444 inset;
    border-radius: 4px;
    min-height: 32px;
    min-width: 100px;
}

.in-input-line {
    position: relative;
    display: inline-block;
    padding: 5px 0px;
    min-height: 32px;
}

.in-line32 {
    height: 32px;
    line-height: 0;
    font-size: 10px;
}
.in-line16 {
    display: block;
    height: 16px;
    line-height: 12px;
    font-size: 12px;
    position: relative;
    padding: 1px;
}

.active-select:before{
    position: absolute;
    content: "\f0c9";
    color: #ccc;
    top: 2px;
    right: 3px;
    display: inline-block;
    font: normal normal normal 7px/7px FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.active-input:before{
    position: absolute;
    color: #ccc;
    content: "\f044";
    top: 2px;
    right: 2px;
    display: inline-block;
    font: normal normal normal 7px/7px FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.active-input.minicolor .pseudo-input{
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    display: inline-block;
    background: #f7fff6;
}

.active-input.minicolor:before{
    content: "\f1fb";
}

.active-input:hover{
    background: rgba(108, 255, 0, 0.37);
    transition: 0.3s all;
    /*color: white;*/
}

.table-hint-inline {
    font-size: 11px;
    color: #000000;
    font-weight: bold;
    line-height: 12px;
    padding-top: 2px;
    padding-left: 4px;
    /*    background: rgba(0,0,0,.02);
        box-shadow: 0 -1px 1px #d8d8d8;*/
}

.inline{
    display: inline-block;
}

.mw20{
    min-width: 20px;
}

.mw30{
    min-width: 30px;
}

.mw50{
    min-width: 50px;
}

.mw100{
    min-width: 100px;
}



.btn:hover{
    box-shadow: 0 0px 1px rgba(0, 0, 0, 0.4);
}

.control-bar {
    text-align: right;
    box-shadow: 0 6px 4px -3px rgba(0, 0, 0, 0.5), 0 0 1px 1px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
    padding: 2px;
    background: #fff;
    border-radius: 2px;
}

.switchery{
    /*margin-top: 10px;*/
    top: 2px;
    background-color:#fff;
    border:1px solid #dfdfdf;
    border-radius:20px;
    cursor:pointer;
    display:inline-block;
    height:16px;
    position:relative;
    vertical-align:middle;
    width:40px;
    -webkit-box-sizing:content-box;
    -moz-box-sizing:content-box;
    box-sizing:content-box
}
.switchery>small
{
    background:#fff;
    border-radius:100%;
    box-shadow:0 1px 5px rgba(0,0,0,0.9);
    height:20px;
    position:absolute;
    top:-2px;
    width:20px
}

.swith-label {
    float: left;
    line-height: 15px;
}


.with_switcher {
    padding: 10px 15px;
    /*width: 200px;*/
    margin-bottom: 20px;
}

.with_switcher > div{
    display: inline-block;
    float: left;
    line-height: 20px;
}

.swith-ctrl {
    float: right!important;
    /*width:20%;*/
}
.table-hover-th {
    vertical-align: top;
    border-spacing: 8px;
    box-shadow: 0 -2px 1px -2px inset, 0 2px 1px -2px inset;
}

.table-hover-tr:hover{
    background: #fafafa;
}

.table-hover-tr{
    /*border-collapse: collapse;*/
    vertical-align: top;
    border-spacing: 5px;
}

.collapse-line{
    border-collapse: collapse;
}

.btn-collapse {
    /*    background: #fff;*/
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    padding: 0 10px;
    display: inline-block;
    cursor: pointer;
    /*transition: all 0.5s;*/
}

.btn-collapse:hover{
    border-color: #5cb85c;
    box-shadow: -6px 0 2px -2px #1ab91d, 6px 0 2px -2px #1ab91d, 0 6px 1px -5px #aaa;
}

h4 {
    padding: 0 10px;
}

.header-t1 {
    display: inline-block;
    font-size: 18px;
    /* text-align: left!important; */
    padding: 5px 10px;
}

.btn-sm, .btn-group-sm > .btn {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.table-hint-inline-white {
    height: 7px;
}
.sub-bar {
    height: 38px;
    margin-bottom: 12px;
}

.active-multy-select{
    position: relative;
    cursor: text;
    background: #bdffb9;
    color: #000000;
    padding: 3px 6px;
    box-shadow: 0 0 1px #444 inset;
    border-radius: 4px;
    min-height: 28px;
    margin-bottom: 4px;
    white-space: nowrap;
}

.active-multy-select:before{
    position: absolute;
    content: "\f0c9";
    top: 2px;
    right: 3px;
    display: inline-block;
    font: normal normal normal 10px/10px FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.select-item {
    padding: 2px 6px;
    border-bottom: 1px solid #e6e6e6;
    font-size: 12px;
}

.select-item:last-child{
    border-bottom: none;
}

.b4 {
    margin-bottom: 4px;
}

.check-multy-select {
    display: inline-block;
    width: 16px;
    height: 16px;
    box-shadow: 1px 1px 1px #aaa inset, 0 0 1px #eee inset;
    line-height: 32px;
    vertical-align: sub;
    margin-right: 6px;
    transition: 1s all;
    background: #fff;
    border-radius: 9px;
    cursor: pointer;
}
.selected .check-multy-select{
    background: #5cb85c;
    box-shadow: -1px -1px 1px #555 inset, 0 0 1px #999 inset;
}

.option-multy-select {
    min-width: 200px;
    position: relative;
    background: #fff;
    padding: 4px 10px;
    border-bottom: 1px solid #666;
    border-right: 8px solid #aaa;
    border-left: 0px solid #aaa;
    transition: 0.4s all;
    box-shadow: 8px 0 11px -10px #ccc inset;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.option-multy-select.selected{
    border-right: 0px solid #aaa;
    border-left: 8px solid #5cb85c;
    box-shadow: -8px 0 11px -10px #ccc inset;
}

.option-multy-select:hover{
    border-right:5px solid #aaa;
    border-left:5px solid #aaa;
}

.option-multy-select.selected:hover{
    border-right: 5px solid var(--purple);
    border-left: 5px solid var(--purple);
}

.option-multy-select:last-child{
    border-bottom: none;
}

.option-multy-select:hover{
    cursor: pointer;
    color: white;
    background: #666;
}

.active-multy-select-holder {
    position: absolute;
    background: var(--pink);
    padding: 1px 0px;
    box-shadow: 0 0 1px var(--pink);
    z-index: 1;
    width: 100%;
    border-radius: 2px;
    z-index: 3;
    min-width: 200px;
    right: 0;
}

.check-multy-select:hover{
    box-shadow: 0px 0px 8px #5cb85c, 0px 0px 6px #5cb85c, 0px 0px 4px #5cb85c, 0 0 1px #5cb85c inset, 0 0 1px #aaa inset
}

.issue-text {
    padding: 10px;
    box-shadow: 0 0 1px #ccc inset;
}

.issue-komment {
    position: relative;
    padding: 15px 10px;
    margin: 20px 10px;
    box-shadow: 0 0 1px #ddd;
}

.issue-komment.self {
    background: #d8ff8d;
}
.issue-komment .badge {
    position: absolute;
    top: -10px;
    left: -5px;
    border-radius: 2px;
    background: #5cb85c;
}

.issue-komment.self .badge{
    background: #ff0080;
}


.issue-komment .badge.right {
    position: absolute;
    right: -5px;
    left: auto;
    background: #fff;
    color: black;
    box-shadow: 0 0 1px #5cb85c;
}

.form-box {
    width: 300px;
    margin: 100px auto 10px auto;
    box-shadow: 0px 1px 3px #000, 0 1px 2px #ffffff inset;
    padding: 15px 35px 5px 35px;
    background: whitesmoke;
    border-radius: 4px;
}

.dark {
    background: #fff linear-gradient(rgba(0, 0, 0, 0) 50%, rgba(50, 50, 50, 0.04) 50% ) center center / 100% 3px
}

.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus {
    background: #000;
    margin-top: 3px;
    padding-top: 12px;
    padding-bottom: 15px;
    border-bottom: 2px solid #9cf63aad;
}

.pager-rules.bottom-pager {
    text-align: center;
    cursor: pointer;
    padding: 15px;
    background: rgba(92, 184, 92, 0.2);
    border-radius: 3px;
    transition: all 0.5s;
}

.pager-rules.bottom-pager:hover{
    background: rgba(92, 184, 92, 0.3);
}

.table_line.self {
    background: #fff linear-gradient(rgba(92, 184, 92, 0.21) 50%, rgb(255, 255, 255) 50% ) center center / 100% 3px;
}


.table-hover-tr.row.table_line:nth-child(odd){
    background: #f4f4f4;
}

.form-control.has-error{
    box-shadow: 0 0 1px #a94442;
}

.insert_line .active-input {
    background: #9df514;
    color: #000;
}

.wrap-header {

    padding: 5px 15px;
    color: #333;
    font-weight: bold;
    position: relative;
    background: lightblue;
    border: 1px solid grey;
    margin-bottom: 2px;

}


.product-articles{
    -webkit-column-count: 5;
    -moz-column-count: 5;
    column-count: 5;
    -moz-column-width: 200px;
    -webkit-column-width: 200px;
    column-width: 200px;
    -webkit-column-gap: 30px;
    -moz-column-gap: 30px;
    column-gap: 30px;
    -moz-column-rule: 1px dotted #ccc;
    -webkit-column-rule: 1px dotted #ccc;
    column-rule: 1px dotted #ccc;
    padding-bottom: 5px;
}

.product-articles-inv{
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    -moz-column-width: 200px;
    -webkit-column-width: 200px;
    column-width: 200px;
    -webkit-column-gap: 30px;
    -moz-column-gap: 30px;
    column-gap: 30px;
    -moz-column-rule: 1px dotted #ccc;
    -webkit-column-rule: 1px dotted #ccc;
    column-rule: 1px dotted #ccc;
    padding-bottom: 5px;
}


.wrap-articles{
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    -moz-column-width: 500px;
    -webkit-column-width: 500px;
    column-width: 500px;
    -webkit-column-gap: 30px;
    -moz-column-gap: 30px;
    column-gap: 30px;
    -moz-column-rule: 1px dotted #ccc;
    -webkit-column-rule: 1px dotted #ccc;
    column-rule: 1px dotted #ccc;
    padding-bottom: 5px;
}

.wrap-articles .table_line {
    -webkit-column-break-inside: avoid;
    break-inside: avoid;
}

.st-text {
    font-weight: bold;
    display: inline-block;
    min-width: 70px;
}

.stats{
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    -moz-column-width: 170px;
    -webkit-column-width: 170px;
    column-width: 170px;
    -webkit-column-gap: 10px;
    -moz-column-gap: 10px;
    column-gap: 10px;
    -moz-column-rule: 1px dotted #ccc;
    -webkit-column-rule: 1px dotted #ccc;
    column-rule: 1px dotted #ccc;
    padding-bottom: 5px;
}

.inventory-line .total-section{
    display: inline-block;
    padding: 4px 15px;
    text-align: left;
}

.header-section {
    color: #f7db00;
    padding: 5px 25px;
    background: #555;
}

.time-header {
    padding: 7px;
    color: #222222;
    font-weight: bold;
}

.jq-selectbox__dropdown{
    font-family: "Jura", sans-serif;
    z-index: 3;
    /*top: 21px!important;*/
}

.jq-selectbox.focused .jq-selectbox__select {
    z-index: 2;
    background: white;
}

.jq-selectbox__select {
    background: honeydew;
}

.navbar-inverse .navbar-nav > li > a {
    color: #a3fd43;
}

.navbar-inverse .btn-link {
    color: #333;
    font-weight: bold;
}

.badge {
    padding: 1px 5px;
    font-size: 10px;
    line-height: 1.5;
    color: #fff;
    background-color: #a94442;
    border-radius: 4px;
}

.dropper {
    cursor: grab;
    width: 100%;
    line-height: 2;
    background: #fff linear-gradient(rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.37) 50% ) center center / 100% 2px;
    margin-top: 2px;
}

.ui-state-highlight {
    height: 3em;
    line-height: 2em;
    background: rgba(218, 33, 24, 0.47);

}

.selected-line .active-input, .selected-line .active-input-holder {
    background: rgba(237, 255, 0, 0.60);
}

.selected-line .active-input.prepare , .selected-line .active-input-holder.prepare {
    background: rgba(0, 173, 255, 0.6);
}
.selected-line .active-input.sending , .selected-line .active-input-holder.sending {
    background: rgba(239, 0, 255, 0.6);
}

.active-input.edited {
    box-shadow: 0 0 3px #5cb85c inset;
    background: #cfffcf;
}

.wrap-sortable{
    -webkit-column-break-inside: avoid;
    break-inside: avoid;
}


.inventory-line.delta-line {
    color: #f909d9;
}

.total-section.sic-res {
    color: #e83c13;
}

.prev-qty {
    padding: 9px 0 0 2px;
    font-size: 9px;
    font-weight: bold;
    color:#d9534f;
    display: inline-block;
}

.prev-qty.more{
    color:#0a45ea;
}
.prev-qty.nochange{
    color:black;
}




.btn-print {
    background: darkmagenta;
    color: white;
}




.btn-print:hover{
    color: white;
}






.line-print > div {
    display: inline-block;
}



.block-table-header {
    font-weight: bold;
    background-color: #333!important;
    color: white!important;
}

.block-table-content{
    /*break-inside: avoid;*/
}

.block-table{
    font-size: 14px;
    columns: 2;
    column-gap: 1rem;

}

.line-print {
    width: 380px;
    border: 1px solid #aaa;
    padding: 1px 10px;
    border-bottom: 1px solid transparent;
}

.line-print2 {
    width: 370px;
    /*border: 1px solid #eee;*/
    padding: 3px 10px;
    /*border-bottom: 1px solid transparent;*/
}

.print_content{
    width: 800px;
    margin: 0 auto;
    background: white;
}

.name-print {
    width: 300px;
}

.price-print{
    width: 70px;
}

.qty-print{
    width: 70px;
    text-align: right;
}
.qty-print{
    width: 70px;
    text-align: right;
}

.tr-type:nth-child(odd), .th-kassa:nth-child(even),  .tn-kassa:nth-child(even){
    background: rgba(0, 0, 0, 0.1);
}


.tn-kassa, .th-kassa{
    width: 100%;
    display: inline-block;
    padding: 0;
    text-align: center;
    font-size: 12px;
}

.tr-header {
    height: 3em;
    line-height: 3em;
}


.ui-autocomplete {
    max-height: 100px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    font-size: 16px;
    font-family: 'Jura';
    overflow-x: hidden;
}

* html .ui-autocomplete {
    height: 100px;
}

.ui-menu .ui-menu-item-wrapper{
    padding: 5px 15px;
}

.ui-menu-item-wrapper:hover{
    background: black;
    color:#a3fd43;
}

.link-line {
    padding: 6px 10px;
}

.kassa-list {
    display: inline-block;
    font-size: 12px;
    /*font-weight: bold;*/
    /*columns: 2;*/
    /*column-gap: 1rem;*/
    border-bottom: 2px solid #000;
}
.kassa-list2 {
    display: inline-block;
    font-size: 12px;
    /*font-weight: bold;*/
    /*columns: 2;*/
    /*column-gap: 1rem;*/
    /*    border-bottom: 2px solid #000;*/
}
.kassa-list2 b {
    font-size: 16px;
}
.bl-50{
    display: inline-block;
    width: 49%;
}
.bl-100{
    /*display: inline-block;*/
    width: 100%;
}
.bl-30{
    /*display: inline-block;*/
    width: 30%;
}
.bl-40{
    /*display: inline-block;*/
    width: 38%;
}

.bl-b2{
    border: 2px solid black;
    display: inline-block;
    width: 150px;
}

.bl-33{
    display: inline-block;
    width: 255px;
    border: 1px solid #777;
    padding: 5px 6px 15px 15px;
}
.b10{
    padding-top: 10px;
}

.footer-print {
    width: 785px;
}

.text-reglament{
    font-size: 12px;
}


.dropper-wrapper{
    padding-left: 4px;
    padding-right: 4px;
    float: left;
    width: 40px;
}

.dropper-wrapper{
    padding-left: 4px;
    padding-right: 4px;
    float: left;
    width: 40px;
}

.btn.btn-sm.btn-danger.btn-delete.fa.fa-trash-o {
    float: right;
    margin-top: 3px;
}

.wrap-date-inventory hr{

    margin-top: 5px;
    margin-bottom: 5px;
    border: 0;
    border-top: 1px solid #999;

}


@media (max-width: 460px){
    .inventory-line .total-section {
        display: inline-block;
        padding: 4px 15px;
        width: 100%;
        text-align: center;
    }
}

.l_all, .l_name, .l_store {
    display: inline-table;
    min-width: 320px;
}

.w100 {
    float: left;
    text-align: left;
    width: 9.9%;
    /*width: 150px;*/
}

@media (max-width:767px){
    .wrap-date-inventory .st-text{
        font-size: 32px;
    }
    .wrap-date-inventory .inverted-box{
        background: #333;
        color: #fff;
        display: block;
    }
    .wrap-date-inventory .table-hint-inline{
        font-size: 16px;
    }

    .btn{
        font-size: 18px;
    }
    .btn.btn-sm{
        font-size: 12px;
    }

    .table-hint-inline {
        font-size: 14px;
        line-height: 16px;
        padding-top: 4px;
        padding-bottom: 1px;
    }

}


.name_90 {
    width: 50px;
    height: 150px;
    display: inline-block;
    position: relative;
}

.name_flip {
    position: absolute;
    width: 150px;
    height: 50px;
    transform: rotate(-90deg);
    /* bottom: 50px; */
    top: 50px;
    /* right: 0; */
    left: -50px;
}

.name-all {
    width: 140px;
}

.l_store_report {
    width: 50px;
    display: inline-block;
}

.l_store_all {
    display: inline-block;
    width: 140px;
}

img.img-profile {
    min-height: 100px;
    width: 200px;
    float: left;
    margin: 2px;
    border: 1px solid #ccc;
    /* text-align: left; */
}

img {
    outline: 0;
    vertical-align: top;
    border: 0;
    max-width: 100.1%;
    height: auto;
}

/*.img_box {
    text-align: left;
    display: block;
    min-height: 100px;
}*/

.work_item {
    position:relative;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
}
.owl-item .work_item:hover {
    transform:scale(0.95);
    -o-transform:scale(0.95);
    -ms-transform:scale(0.95);
    -webkit-transform:scale(0.95);
}

.work_item .work_description {
    position:absolute;
    z-index:20;
    left:0;
    top:0;
    width:100%;
    height:100%;
    text-align:center;
    opacity:0;
    background-color:rgba(0,0,0,0.8);
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
}
.work_item:hover .work_description {
    opacity:1;
}
.work_item .work_description .work_descr_cont {
    position:absolute;
    left:0;
    top:50%;
    width:100%;
    opacity:0;
    transform:translateY(-100%);
    -o-transform:translateY(-100%);
    -ms-transform:translateY(-100%);
    -webkit-transform:translateY(-100%);
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
}
.work_item:hover .work_description .work_descr_cont {
    opacity:1;
    transform:translateY(-50%);
    -o-transform:translateY(-50%);
    -ms-transform:translateY(-50%);
    -webkit-transform:translateY(-50%);
}
.work_item .work_description a {
    display:block;
    margin:0 0 6px;
    font-weight:300;
    line-height:24px;
    font-size:24px;
    color:#fff;
}
.work_item .work_description span {
    color:#666;
}

.work_item a.zoom {
    position:absolute;
    z-index:30;
    left:50%;
    bottom:0;
    width:60px;
    height:36px;
    margin-left:-30px;
    opacity:0;
    background-image:url(https://img.lisiy-ostrov.ru/zoom.png);
    background-repeat:no-repeat;
    background-position:0 0;
    background-size:100% auto;
    -webkit-background-size:100% auto;
    transition: bottom 0.3s ease-in-out, opacity 0.3s ease-in-out;
    -webkit-transition: bottom 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
.work_item:hover a.zoom {
    bottom:56px;
    opacity:1;
}
.work_item a.zoom:hover {
    background-image:url(https://img.lisiy-ostrov.ru/zoom_h.png);
}

.badge-cassa-id {
    font-style: normal;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 8px;
    padding: 0px 3px;
    background: #9c27b0;
    color: white;
    z-index: 0;
}

.badge-total-id {
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 9px;
    background: #673ab7;
    color: white;
    padding: 1px 10px;
    font-style: normal;
    width: 100%;
    text-align: left;
}

b.badge-solary {
    float: right;
    background: #9e9e9e;
    /* padding: 0px; */
    width: 10px;
    text-align: center;
    color: black;
}
b.badge-capital {
    float: right;
    background: #4caf50;
    /* padding: 0px; */
    width: 10px;
    text-align: center;
    color: black;
}
b.badge-cash {
    float: right;
    background: #ff9800;
    /* padding: 0px; */
    width: 10px;
    text-align: center;
    color: black;
}


.table-cell.small-text.bot-20 {
    padding-bottom: 20px;
}

.table .table-cell {
    display: table-cell;
}

.table .table-cell {
    display: table-cell;
    min-width: 110px;
    position: relative;
}

.table-area {
    overflow-y: scroll;
}

.table-cell.small-text {
    position: relative;
    font-size: 12px;
    line-height: 13px;
    text-align: center;
    background: #cccccc94;
    color: #000000;
    padding: 3px;
    vertical-align: middle;
    border-right: 3px solid #fff;
}

.tsid{
    position: absolute;
    z-index: 1;
    font-size: 8px;
    padding: 2px;
    font-weight: bold;
}

.prev-qtymore {
    display: inline-block;
    font-size: 12px;
    color: #337ab7;
    font-weight: bold;
}
.prev-qtynochange {
    display: inline-block;
    font-size: 12px;
}

.danger {
    color: #F44336;
    font-weight: bold;
}

hr.table-hr {
    margin-top: 5px;
    margin-bottom: 10px;
    /* border-top: 1px solid #ffffff; */
}

.hiderbtn {
    width: 50px;
    font-size: 12px;
    text-align: center;
    color: #5cb85c;
    height: 20px;
    position: absolute;
    background: black;
    top: 2px;
    right: 2px;
}

.relbox{
    position: relative;
    width: 100%;
}

span.dtnsmall {
    display: block;
    text-align: center;
    font-size: 8px;
    color: blueviolet;
}

.progress {
    width: 100%;
    height: 20px;
    /*box-shadow:none;*/
    /*-webkit-box-shadow:none;*/
    /*background-image: -webkit-gradient(linear, left top, right top, from(rgba(230,230,230,0.3)),to(rgba(230,230,230,0.8)), color-stop(.2,#fff) );*/
}

.progress-bar{
    position: relative;
    overflow: hidden;
    box-shadow:none;
    background-color: #F44336;
    -webkit-box-shadow:none;
}

.progress-bar.success{
    position: relative;
    overflow: hidden;
    box-shadow:none;
    background-color: #009688;
    -webkit-box-shadow:none;
}



.hr-b {
    width: 100%;
    display: block;
    height: 1px;
    background: black;
    position: relative;
    top: 0;
    left: 0;
}

.worker_block {
    /* border: solid 1px #eee; */
    width: 100%;
    position: relative;
    border-radius: 2px;
    margin-bottom: 2px;
    padding: 4px 10px;
    box-shadow: 0 0 1px #9f9f9f;
}

.box-today{
    background: white;
    padding: 4px;
}

.info-decription {
    padding: 4px;
    position: relative;
}

.info-decription-text {
    padding: 4px 10px;
    font-style: italic;
    background: #fafafa;
}

.info-decription-btn {
    position: absolute;
    top: 2px;
    right: 0;
    padding: 4px;
    height: 30px;
    width: 30px;
    color: brown;
    font-size: 16px;
    text-align: right;
}

.info-decription-header {
    color: brown;
    font-size: 16px;
    font-weight: bold;
    height: 26px;
    padding: 1px;
    width: 100%;
    cursor: pointer;
}

.box-today h3 {
    font-size: 18px;
    padding: 4px 10px;
    background: #222;
    color: white;
}

.disable-ai-line {
    background: #ececec;
    width: 100%;
    padding: 6px 12px;
    border-radius: 4px;
    box-shadow: 0 0 1px #444 inset;
    min-height: 35px;
    margin: 1px 0;
}

.success-color {
    color: #009688;
}

.info-color {
    color: #9C27B0;
}

.btn-gradient{
    overflow: hidden;
    position: relative;
    background: #fffdf6;
    font-weight: bold;
    border-color: #00000030;
}

.btn-up-gradient {
    display: block;
    position: absolute;
    top: -14px;
    left: 0;
    width: 100%;
    height: 36px;
    background: #9e9e9e1f;
    border-radius: 8px;

}

.btn-gradient-text{
    /*    position: relative;
        top: -20px;*/
}

.important_back {
    background: #4c1762;
    color: white;
    font-weight: bold;
    /* box-shadow: 0 0 black; */
    /*box-shadow: 0 1px 3px #9e9e9e14;*/
    /*border-color: #9e9e9e14;*/

}
.important_back_lite {
    background: #f32d00;
    color: white;
    font-weight: bold;
}

.report_back {
    background: #26563e;
    color: white;
    font-weight: bold;
    border-color: black;
    box-shadow: 0 1px 3px black;
}


/*.glow-on-hover {
    border: none;
    outline: none;
    color: #fff;
    background: #111;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 4px;
}*/

/*.glow-on-hover:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 4px;
}*/

.glow-on-hover:active {
    color: #000
}

.glow-on-hover:active:after, .glow-on-hover.fixheight7:after {
    background: transparent;
}

.glow-on-hover:hover:before {
    opacity: 1;
}



@keyframes glowing {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 400% 0;
    }
    100% {
        background-position: 0 0;
    }
}

.glow-on-warning:after {
    background: transparent;
}


.art-box {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 30px;
}

.art-box-btn-inside{
    font-size: 7px;
    /*height: 100%;*/
    width: 280px;
}

.fixheight7{
    font-size: 6px;
    height: 14em;
    width: 10px;
    position: absolute;
    top: 7px;
}

/*#camera-box {
    position: absolute;
    width: 100%;
    display: none;
    top: 80px;
    z-index: 1000;
}*/

.app {
    max-width: 400px;
    min-height: 534px;
    position: relative;
    text-align: center;
    margin: 0 auto;
    background: #333;
    border: 1px solid #444;
}

.app #start-camera {
    position: absolute;
    display: none;
    border-radius: 30px;
    width: 60px;
    height: 60px;
    color: #8BC34A;
    background-color: #607D8B;
    opacity: 0.8;
    margin: 7px auto;
    left: calc(50% - 30px);
    bottom: 20px;
    border: 6px solid #888;
    box-shadow: inset 1px 1px 3px #333;
    z-index: 1;
    font-size: 30px;
    line-height: 49px;
    text-decoration: none;
}



.app #close-camera {
    position: absolute;
    display: none;
    border-radius: 30px;
    width: 40px;
    height: 40px;
    color: #ff0000;
    background-color: #000000;
    opacity: 0.8;
    margin: 7px auto;
    right: 30px;
    bottom: 30px;
    border: 3px solid #888;
    box-shadow: inset 1px 1px 3px #333;
    z-index: 2;
    line-height: 34px;
    font-size: 20px;
    text-decoration: none;
}

.app #start-camera.visible{
    display: inline-block;
}
.app #close-camera.visible{
    display: inline-block;
}

.app video#camera-stream{
    position: absolute;
    width: 100%;
    height: 100%;
    background: #ffffffc9;
    left: 0;
    top: 0;
    z-index: 0;

}

.app #camera-messages {
    position: absolute;
    z-index: 1;
    bottom: 0;
    width: 100%;
    background: #33333373;
    color: white;
    font-size: 12px;
    line-height: 2;
}

.app img#snap{
    position: absolute;
    top: 22px;
    left: 0;
    width: 400px;
    z-index: 10;
    display: none;
    width: 100%;
    height: 400px;
}

.app #error-message{
    width: 100%;
    background-color: #ccc;
    color: #9b9b9b;
    font-size: 28px;
    padding: 200px 100px;
    text-align: center;
    display: none;
}

.app .controls.visible{
    display: flex;
}
.app .controls{
    position: absolute;
    bottom: 22px;
    left: 0;
    width: 100%;
    z-index: 20;
    display: none;
    align-items: flex-end;
    justify-content: space-between;
    padding: 5px;
}

.app .controls a{
    border-radius: 50%;
    color: #fff;
    background-color: #fff;
    text-decoration: none;
    padding: 15px;
    line-height: 0;
    opacity: 0.7;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.app .controls a:hover{
    opacity: 1;
}

.app .controls a.disabled{
    background-color: #ff4444;
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

.app .controls a.disabled:hover{
    opacity: 0.5;
}

.app .controls a i{
    font-size: 18px;
}

.app .controls #take-photo{
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    left: calc(50% - 30px);
}
.app .controls #delete-photo, .app .controls #download-photo{
    padding: 0px;
    background-color: transparent;
    border-radius: 30px;
    position: absolute;
    transition: all 2s;
}

/*.app .controls i:hover{
    filter: invert(100%);
    transition: all 0.5s;
}*/


.app .controls #download-photo.disabled i{

    background-color: #afafaf;
    color: #333;
    box-shadow: 1px 1px 2px #333 inset;
    width: 60px;


}

.app .controls #download-photo i {
    font-size: 18px;
    line-height: 54px;
    border-radius: 30px;
    width: 120px;
    height: 60px;
    color: #000;
    background-color: #88b027;
    text-decoration: none;
    padding: 0px 13px;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    border: 3px solid #393939;
    box-shadow: -1px -1px 5px #333 inset;
    transition: all 2s;
}




.app .controls #download-photo{
    right: calc(50% - 90px);
    text-align: right;
}
.app .controls #delete-photo{
    left: calc(50% - 30px);
    /*text-align: left;*/
}

.app .controls #download-photo.disabled{
    right: calc(50% - 30px);
    text-align: right;
}
.app .controls #delete-photo.disabled{
    display: none;
}

.app .controls #take-photo i, .app .controls #delete-photo i{
    font-size: 32px;
    line-height: 32px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    color: #8BC34A;
    background-color: #171b1d;
    text-decoration: none;
    padding: 8px;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    border: 6px solid #888;
    box-shadow: 0px 0px 4px #89ff00;
}



.app canvas{
    display: none;
}

/*.is {
    padding: 4px;
     border: 1px solid #0a0a0a; 
    display: block;
    line-height: 162px;
    margin: 1px;
    box-shadow: 0px 0px 9px #222 inset;
    text-decoration: none;
    background: #eee;
}*/

.slider img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.badge-ai.draft-badge-summa {
    z-index: 2;
    left: unset;
    bottom: 1px;
    right: 3px;
    background-color: #607d8b;
    color: white;
    padding: 0px 3px;
    border-radius: 2px;
}

.badge-ai.draft-badge-date {
    z-index: 2;
    left: unset;
    bottom: 1px;
    right: 3px;
    background-color: var(--gray);
    color: #000000;
    padding: 0px 3px;
    border-radius: 2px;
}


.r-badge {
    position: absolute;
    top: 7px;
    right: 6px;
    padding: 4px;
    border-radius: 8px;
    background: #607d8b;
    color: white;
    font-size: 9px;
    border: 2px solid #ffffff61;
}

.w-badge {
    font-size: 10px;
    color: black;
    background: white;
    padding: 1px 4px;
    box-shadow: 1px 1px 3px #bfbfbf;
    border-radius: 2px;
}
/*.r-badge {
    font-size: 10px;
    background: #84004d;
    color: white;
    padding: 1px 4px;
    box-shadow: 1px 1px 3px #bfbfbf;
    border-radius: 2px;
}*/
.e-badge {
    font-size: 10px;
    color: black;
    background: yellowgreen;
    padding: 1px 4px;
    box-shadow: 1px 1px 3px #bfbfbf;
    border-radius: 2px;
}
.s-badge {

    font-size: 10px;
    color: white;
    background: #f80014;
    padding: 1px 4px;
    box-shadow: 1px 1px 3px #bfbfbf;
    border-radius: 2px;
}
.a-badge {
    font-size: 10px;
    color: black;
    background: #ffb800;
    padding: 1px 4px;
    box-shadow: 1px 1px 3px #bfbfbf;
    border-radius: 2px;
}
.z-badge {
    font-size: 10px;
    background: black;
    color: #ffb800;
    padding: 1px 4px;
    box-shadow: 1px 1px 3px #bfbfbf;
    border-radius: 2px;
}
.b-badge {
    font-weight: bold;
    font-size: 10px;
    background: #000;
    color: #ffffff;
    padding: 2px 4px;
    box-shadow: 1px 1px 3px #bfbfbf;
    border-radius: 4px;
}
.sl-badge {
    font-size: 8px;
    background: #0077d6;
    color: #ffffff;
    padding: 2px 4px;
    box-shadow: 1px 1px 3px #bfbfbf;
    border-radius: 2px;
}
.dl-badge {
    font-size: 8px;
    background: white;
    color: #1776c1;
    padding: 2px 4px;
    box-shadow: 1px 1px 3px #bfbfbf;
    border-radius: 2px;
}
.c-badge {
    font-size: 8px;
    background: #84004d;
    color: black;
    padding: 2px 4px;
    text-shadow: 0px -1px 3px #ffffff;
    box-shadow: 1px 1px 3px #c5c5c5;
    border-radius: 2px;
}

.dep-line.active {
    background: greenyellow;
}

.product-block {
    display: inline-block;
    width: 352px;
    min-height: 240px;
    padding: 8px;
    border: 1px solid #81ac2c6b;
    border-radius: 4px;
    position: relative;
    margin-bottom: 4px;
    overflow: hidden;
}

.on.product-block {
    border: 1px solid #2caca06b;
    box-shadow: inset -1px -1px 2px #795548;
}



.article-p {
    float: left;
    text-align: left;
}

.qty-p {
    float: right;
    text-align: right;
}

.table-hint-inline {
    font-size: 11px;
    color: #777777;
    font-weight: bold;
    line-height: 12px;
    padding-top: 2px;
    padding-left: 4px;
}

.name-product {
    /* z-index: 1; */
    position: relative;
}

.product-block .name-product > a {
    height: 3em;
    display: block;
    background: #2eac2c14;
    /* vertical-align: bottom; */
}

.product-block img {
    position: absolute;
    top: 95px;
    left: 0;
    z-index: 0;
    opacity: 70%;
    /*opacity: 30%;*/
    width: 40%;
    text-align: center;
    padding: 12px;
}
.on.product-block img {
    opacity: 70%;
}

.price_wrapper_block {
    /* margin-top: 5px; */
    border-top: solid 8px #00657099;
    background: #e4e4e440;
    padding: 8px;
    z-index: 1;
    position: relative;
}

.order-box {
    display: inline-block;
    /* padding: 5px 10px; */
    /* box-shadow: 0px 0px 2px #a7a7a7; */
    margin: 5px;
    font-size: 14px;
    border-radius: 2px;
    background: #dcdcdc;
    min-height: 250px;
    min-width: 310px;
    float: left;
    border: 1px solid #040404;

}

.order-p-box {
    width: 100px;
    display: inline-block;
    position: relative;
    padding: 2px;
    border: 1px solid #cbcbcb;
    margin-bottom: 2px;
}

.order-box-info {
    width: 100%;
    display: inline-block;
    /*float: left;*/
    position: relative;
}
.order-box-product {
    width: 100%;
    display: block;
    position: relative;
    background: gainsboro;
    border: 1px solid #ababab;

}


.a-prod-numder{
    position: absolute;
}

.dep-line {
    padding: 2px 8px;
    position: relative;
    height: 24px;
    line-height: 18px;
}

.dep-name {
    display: inline-block;
    font-size: 13px;
    font-weight: bold;
}
.dep-qty-set {
    display: inline-block;
    position: absolute;
    top: 0px;
    right: 35px;
    font-size: 12px;
    font-weight: bold;
    width: 30px;
    text-align: center;
    /*background: #f3fff3;*/
    padding: 2px;
    /*border: 1px solid #c9c9c9;*/
}
.dep-qty {
    display: inline-block;
    position: absolute;
    top: 0px;
    right: 5px;
    font-size: 12px;
    font-weight: bold;
    width: 30px;
    text-align: center;
    /*    background: #f3fff3;
        padding: 2px;
        border: 1px solid #c9c9c9;*/
}
.dep-qty .active-input {
    min-height: 16px;
    padding: 2px 4px;
}
.dep-qty .form-control {
    min-height: 23px;
    padding: 2px 4px;
    height: 20px;
    font-size: 12px;
    text-align: center;
    margin-bottom: 0;
    line-height: 0;
}
.noq .price_wrapper_block {
    border-top: solid 8px #ffb5b0;
}
.noi .price_wrapper_block {
    border-top: solid 8px #673ab78c;
}

.off .price_wrapper_block {
    border-top: solid 8px #9e9e9e;
}


.tab-menu {
    position: relative;
    float: left;
    padding: 3px;
}
.btn.btn-tab {
    background: #91ff00;
    font-weight: bold;
}
.btn.btn-tab.active {
    background: black;
    color: white;
}

.header-t1 {
    display: inline-block;
    font-size: 18px;
    /* text-align: left!important; */
    padding: 5px 10px;
}

.price_basic_block {
    display: inline-block;
    width: 49%;
    position: relative;
    text-align: right;
}

.properties_basic_block {
    display: inline-block;
    width: 49%;
    position: relative;
    text-align: left;
}

.property-badge {
    font-size: 10px;
    font-weight: bold;
    color: #2196F3;
    width: 100%;
    background: #ffffff9e;
    margin: 1px;
}

.btn-switch {
    position: relative;
    z-index: 1;
    width: 30px;
    height: 30px;
    top: 5px;
    right: 5px;
    border-radius: 20px;
    display: inline-block;
    font-size: 12px;
    line-height: 0;
    padding: 7px;
}

.img-btn-controll{
    position: absolute;
    text-align: right;
    padding: 0px 10px;
}

.pseudo-hr {
    font-weight: bold;
    font-size: 20px;
    padding-bottom: 5px;
    color: #c9564a;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
    .product-block{
        width: 320px;
    }

    .slide-box-wrapper{
        max-width: 300px;
    }
}


.section-scissors {
    padding: 5px 0px 5px 20px;
    border: 1px dotted #eee;
    position: relative;

}

.section-header {
    display: block;
    background: #000;
    color: #fff;
    padding: 3px 3px;
    width: 100px;
    height: 20px;
    text-align: center;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    position: absolute;
    transform: rotate(-90deg);
    left: -40px;
    top: 40px;
}
.section-footer {
    display: block;
    background: #000;
    color: #fff;
    padding: 3px 3px;
    width: 220px;
    height: 37px;
    line-height: 30px;
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    text-transform: uppercase;
    position: absolute;
    transform: rotate(90deg);
    right: -80px;
    top: 70px;
}

.correct-box {
    padding: 0px 0 0px 3px;
    background: var(--pink);
}

.correct-box > div{
    background: white;
    padding-left:10px;
}

.filter-line.btn-sign{
    display: inline-block;
    padding: 5px 10px;
    margin: 2px;
    border: 1px solid #eee;
    color: white;
    background: darkgray;
    text-align: center;
    width: 180px;
    cursor: pointer;
    position: relative;
}
.filter-line.active{
    background: var(--pink);
}

.table-cell .dropper {
    margin-top: 0px;
}

.checkbox-wrapper {
    left: 45px;
    top: 3px;
    position: absolute;
}

.table-cell.fw3 {
    max-width: 100px;
    min-width: 100px;
    text-align: right;
    padding-right: 10px;
    border-right: 2px solid #64bd63;
}

.table-cell.fw1 {
    max-width: 40px;
    min-width: 40px;
}
.table-cell.fn1 {
    max-width: 30px;
    min-width: 30px;
}
.tf1 {
    min-width: 1200px;
}

.zkz .section-scissors {
    padding: 0;
    border: none;
    font-size: 12px;
}

.zkz .section-header {
    display: block;
    line-height: 20px;
    background: transparent;
    color: #000;
    padding: 3px 3px;
    width: 80px;
    height: 30px;
    text-align: center;
    font-size: 8px;
    font-weight: bold;
    text-transform: uppercase;
    position: absolute;
    transform: rotate(-90deg);
    left: -20px;
    top: 25px;
}

.section-scissors.hed .table-cell.fw1 {
    height: 80px;
}
.section-scissors .table-cell.fw1 {
    min-width: 50px;
    text-align: left;
    padding-left: 5px;
}
.section-scissors.hed .table-cell.fw3 {
    height: 80px;
}
.section-scissors .table-cell.fw3 {
    min-width: 220px;
}
.section-scissors .table-cell.fn1 {
    min-width: 100px;
}
.section-scissors .table-cell {
    border-bottom: 1px ridge #eee;
    border-right: 1px ridge #eee;
}

.table-hover-tr .fw1 > div, .table-hover-tr .fw1 > input  {
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
    box-shadow: inset 0 0px 1px black;
}

.table-hover-tr .fw1.active > div, .table-hover-tr .fw1.active > input  {
    box-shadow: 0 0 3px var(--purple) inset;
    border-left: 2px solid var(--purple);
    border-right: 2px solid var(--purple);
}

.table-hover-th .fw1.active, .table-hover-th .fw1.active .price-name-fixed{
    background: var(--purple);
    color: white;
}

.price-name-fixed {
    position: fixed;
    z-index: 100;
    bottom: 5px;
    background: #e6e6e6;
    display: block;
    padding: 10px 20px;
}

.off-overflow{
    overflow: hidden;
}


.zkz .table-cell.fw1.sd1 {
    min-width: 150px;
}
.zkz .table-cell.fw1.sd2 {
    min-width: 150px;
}
.zkz .table-cell.fw1.sd3 {
    min-width: 150px;
}
.zkz .table-cell.fw1.sd4 {
    min-width: 100px;
}
.zkz .table-cell.fw1.sd5 {
    min-width: 90px;
}
.zkz .table-cell.fw1.sd6 {
    min-width: 75px;
}
.zkz .table-cell.fw1.sd7 {
    min-width: 65px;
}
.zkz .table-cell.fw1.sd8 {
    min-width: 55px;
}
.zkz .table-cell.fw1.sd9 {
    min-width: 50px;
}
.zkz .table-cell.fw1.sd10 {
    min-width: 45px;
}

.table-hover-tr.table_line.collapse-line.tab_position.selected-line {
    background: #eafd00;
    font-weight: bold;
}

.option-qty {
    position: absolute;
    display: block;
    top: 2px;
    right: 3px;
    width: 36px;
    font-size: 12px;
    padding: 4px 5px;
    border: 1px solid #607d8b;
    cursor: text;
    color: var(--pink);
    outline: none;
}

.l-option-qty {
    background: #ff0000;
    color: white;
    display: inline-block;
    padding: 2px 5px;
    border-radius: 5px;
    font-size: 10px;
    right: 20px;
    position: absolute;
    width: 30px;
    text-align: right;
    font-weight: bold;
}

.tcolor-box {
    position: absolute;
    /*z-index: 1;*/
    bottom: -2px;
    padding: 0;
    border: none!important;
    box-shadow: none!important;
    right: 4px;
    min-width: 45px;
    min-height: 16px;
}
.zkz .tcolor-box {
    position: relative;
    z-index: 1;
    padding: 0;
    border: none!important;
    box-shadow: none!important;
    /*line-height: 8px;*/
    min-height: 0;
}

span.small-badge {
    float: right;
    font-size: 8px;
    display: block;
    padding: 1px;
    /*height: 10px;*/
    font-weight: bold;
}

.tcolor-box .active-multy-select {
    min-height: 12px;
    padding: 0;
    border-radius: 2px;
    margin: 0;
    line-height: 10px;
}

.tcolor-box .select-item {
    min-height: 8px;
    font-size: 8px;
    padding: 2px 4px;
    display: inline-block;
    border: none!important;
    overflow: hidden;
    width: 30px;
    position: relative;
    box-shadow: 0 0 1px #000;
    /* margin-right: 0px; */
}

.tcolor-box .select-item .l-option-qty {
    font-size: 8px;
    padding: 0 2px;
    width: auto;
    position: absolute;
    right: 1px;
    top: 2px;
    border-radius: 1px;
}

.tcolor-box .active-multy-select:before{
    display: none;
}

.badge-ai.draft-badge-summa.danger {
    background: #f44336;
}

.swith-block {
    background: #b2b2b2;
    position: absolute;
    right: 4px;
    top: 4px;
    width: 10px;
    height: 27px;
    cursor: pointer;
}

.swith-block.active {
    background: rgb(100, 189, 99);
    box-shadow: -2px 0px 3px #7e7e7e inset;
}

.st-line {
    font-size: 8px;
    font-weight: bold;
    /*line-height: 8px;*/
}

.table-hint-inline.danger{
    color: #ff0000;
}
.table-hint-inline.success-color{
    color: #009688;
}

.btn.btn-success.btn-sm.btn-sign.fa.fa-check-square {
    font-size: 30px;
    padding: 1px 1px;
    line-height: 26px;
    color: #f4f8fa;
    border-radius: 7px;
}

.badge-ai.draft-badge-sign {
    top: 0;
    bottom: auto;
    background-color: #673ab7;
    padding: 1px 6px;
    color: white;
    border-radius: 2px;
}

.calendar-box-header {
    font-style: normal;
    width: 282px;
    padding: 1px;
    height: 29px;
    background: #e91e63;
    color: white;
    position: relative;
    box-shadow: 0 0 5px #fff inset;
}

.calendar-header-line {
    font-style: normal;
    float: left;
    width: 40px;
    /*height: 33px;*/
    text-align: center;
    border: 1px solid #eee;
    font-size: 18px;
}

.calendar-wrapper {
    font-style: normal;
    width: 282px;
    padding: 1px;
    height: 268px;
    overflow-x: hidden;
    overflow-y: scroll;
    box-shadow: 0 0 2px #607d8b;
}

.calendar-wrapper::-webkit-scrollbar {
    width: 1px;
    background-color: #f9f9fd;
}

.calendar-wrapper::-webkit-scrollbar-thumb {
    background-color: #223c50;
}

.calendar-wrapper::-webkit-scrollbar-track {
    -webkit-box-shadow: 5px 5px 5px -5px rgba(34, 60, 80, 0.2) inset;
    background-color: #f9f9fd;
}

.calendar-box {
    width: 280px;
    position: relative;
    background: #fff;
}

.month-header {
    display: block;
    min-width: 280px;
    height: 26px;
    background: #607d8b;
    text-align: center;
    color: white;
    font-weight: bold;
}


.calendar-line {
    float: left;
    width: 40px;
    height: 40px;
    vertical-align: middle;
    text-align: center;
    background: white;
    border: 1px solid #eee;
    padding: 10px 1px 1px 10px;
    font-size: 18px;
    position: relative;
}

.calendar-line.work {
    background: #bdffb9;
}

.calendar-line.current {
    padding: 3px;
    border: 4px solid #e91e63;
}

.calendar-line.delivery {
    background: #4caf50;
}


.calendar_badge {
    position: absolute;
    font-size: 8px;
    background: #4caf50;
    width: 14px;
    color: black;
    top: 0;
    left: 0;
}

.calendar_badge.night{
    background: black;
    color: #ffc107 ;
}

.sign-delivery {
    background: #959595;
    position: absolute;
    width: 10px;
    height: 10px;
    left: 3px;
    bottom: 4px;
    border-radius: 5px;
    box-shadow: 0 0 2px #000;
}

.sign-delivery.active{
    background: #00bcd4;
}

.star-rating {
    color: #cecece;
    font-size: 20px;
    padding: 4px;
    cursor: pointer;
    text-shadow: 1px 1px 2px #505050;
}

.star-rating.active {
    color: #4caf50;
}

.star-rating.vrth {
    color: #cecece;
}
.star-rating.vrta {
    color: darkcyan;
}

.swith-block-radio {
    background: transparent;
    color: transparent;
    /* border: 1px solid #d8d8d8; */
    display: inline-block;
    /*    right: 4px;
        top: 4px;*/
    width: 16px;
    height: 20px;
    /*margin-top: 6px;*/
    cursor: pointer;
    text-align: center;
    line-height: 18px;
    float: left;
    margin-bottom: 0;
    font-weight: normal;
    position: relative;
}

/*.swith-block-radio.active{
    background: #000;
    color:#fff;
}*/

.form_radio {
    display: inline-block;
    /* min-height: 32px; */
    width: auto;
    margin-top: 6px;
    height: 19px;
    border-radius: 16px;
    /*    background-color: rgb(100, 189, 99); 
        border-color: rgb(100, 189, 99); 
        box-shadow: rgb(100, 189, 99) 0px 0px 0px 9px inset; 
        transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s, background-color 1.2s ease 0s;*/
    position: relative;
    box-shadow: rgb(223 223 223) 0px 0px 0px 1px inset;
    border-color: rgb(223, 223, 223);
    background-color: rgb(255, 255, 255);
    transition: border 0.4s ease 0s, box-shadow 0.4s ease 0s;

}

.form_radio input[type=radio] {
    display: none;
}

/*.swith-block-radio:before{
    content: "";
    position: absolute;
    width: 1px;
    height: 3px;
    background: #ffffff4d;
    top: -2px;
    left: 9px;
    box-shadow: 0 2px 2px #414141;
}*/

.form_radio input[type=radio]:checked + label {
    background: #fff;
    border-radius: 100%;
    box-shadow: 0 1px 5px rgb(0 0 0 / 90%);
    height: 20px;
    /*position: absolute;*/
    top: -1px;
    width: 20px;
    color: #888;
}

.form_radio input[type=radio]:checked + label.sign_green {
    background: #5cb85c;
    color: #fff;
}
.form_radio input[type=radio]:checked + label.sign_violet {
    background: var(--purple);
    color: #fff;
}

/* Hover */




/* Disabled */
.form_radio input[type=radio]:disabled + label {
    background: #efefef;
    color: #666;
}


.form_radio label:hover {
    /*    background: #fff;
        border-radius: 100%;
        box-shadow: 0 1px 5px rgb(0 0 0 / 90%);
        height: 20px;
        position: absolute;
        top: -1px;
        width: 20px;
        color: #888;*/
}

.jq-selectbox li.sel {
    background-color: #A3ABB1;
    color: #FFF;
}

.form_radio_select {
    padding: 2px;
    border: 1px solid #eee;
}


.swith-line-radio {
    display: block;
    text-align: left;
    padding: 5px 10px;
    box-shadow: 0 0 1px #888;
    cursor: pointer;
    margin: auto;
}

.form_radio_select input[type=radio] {
    display: none;
}

.form_radio_select input[type=radio]:checked + label {
    background: #5cb85c;
    color: #ffffff;
}

.worker_block .btn-xs-s{
    position: absolute;
    right: 10px;
    top:5px;
}

.pr1 {
    color: #3300ff;
    font-weight: bold;
    /*background: #f5f5f5;*/
}

.warning-fixing {
    display: block;
    font-weight: bold;
    text-align: center;
    color: #f44336;
}

.btn-box {
    display: inline-block;
    width: 100px;
    position: absolute;
    left: 2px;
    text-align: left;
    padding: 2px 0;
}

.warn-cell .active-input {
    background: #ffe8cc;
}

.product-badge {
    position: absolute;
    left: 4px;
    background: #cddc3987;
    font-size: 7px;
    padding: 1px 3px;
    bottom: 1px;
    border-radius: 3px;
}
.badge-absolute-right{
    right: 16px;
    top: 4px;
    position: absolute;
}

.filter-line.client-select-line {
    background: white;
    color: #607d8b;
    width: 216px;
    font-weight: bold;
}

.filter-line.client-select-line.active {
    background: var(--purple);
    color: var(--white);
}

.color-cube {
    width: 20px;
    height: 10px;
    margin: 2px 4px;
    display: inline-block;
    border-radius: 2px;
    box-shadow: 0 0 3px #000;
}

.color-name {
    display: inline-block;
    font-size: 12px;
    margin: 2px;
    line-height: 15px;
    float: right;
}




.dep-name-list {
    position: relative;
    display: flex;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
    margin-top: 10px;
    /* margin-left: 10px; */
    cursor: pointer;
    background: #ececec;
    color: #333;
    padding: 10px 20px;
    border-bottom: #337ab7 5px solid;
    border-left: #61a8e6 10px solid;
    justify-content: space-between;

}

.changes-log {
    position: absolute;
    bottom: 1px;
    left: 4px;
    font-size: 9px;
}

.date-badge {
    position: absolute;
    left: 50px;
    top: 1px;
    font-size: 9px;
    background: #ffffff;
    padding: 0px 4px;
}

.product-block-list {
    display: inline-block;
    width: 316px;
    padding: 10px 20px;
    margin: 2px;
    border: 1px solid #858585;
    border-radius: 4px;
    background: gainsboro;
    position: relative;
    height: 83px;
    overflow: hidden;
}

.product-block-list-name {
    font-weight: bold;
    color: #000;
}

.product-list-price {
    font-size: 20px;
    font-weight: bold;
    position: absolute;
    background: #ffebea;
    width: 100px;
    left: 0;
    padding: 5px 11px;
    top: 50px;
    height: 32px;
    border-radius: 2px;
    line-height: 1;
}

.product-list-pieces {
    font-size: 12px;
    color: crimson;
}

.product-block-list:before {

    position: absolute;
    width: 10px;
    height: 50px;
    background: #aaa;
    left: 0;
    top: 0;
    display: block;
    content: " ";

}

.product-block-list.on-vitrine:before {

    background: #5cb85c;
}

.qty_absolute_top_left {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 60px;
    text-align: center;
}

.product-block-list .active-input-holder, .product-block-list .active-input {
    position: absolute;
    width: 60px;
    right: 5px;
    top: 5px;
    text-align: center;
    background: honeydew;
}

.product-block-list-id {

    position: absolute;
    width: 29px;
    height: 13px;
    font-size: 9px;
    background: #ffb90f;
    top: 0px;
    left: 10px;
    text-align: center;
    color: black;
    font-weight: bolder;
}

.order-zakaz-number {
    font-size: 30px;
    font-weight: bold;
    background: black;
    color: #ffb800;
    width: 100%;
    text-align: center;
}

.order-line-store {
    background: #333;
    color: #d0ff00;
    text-align: right;
    font-weight: bold;
    font-size: 17px;
    padding: 3px 5px 5px 10px;
}

.date-container {
    width: 310px;
    background: gainsboro;
    height: 80px;
}

.date-block {
    display: inline-block;
    width: 154px;
    position: relative;
    float: left;

    /*margin-bottom: 10px;*/
}

.date-label {
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    position: absolute;
    right: 5px;
    top: 2px;
}

.date-value {
    font-size: 15px;
    font-weight: bold;
    text-align: right;
    height: 30px;
    line-height: 39px;
    padding: 5px;
    white-space: nowrap;

}

.order-line-status {
    background: #333;
    color: #19f1ff;
    text-align: left;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 5px;
}

.a-prod-price {
    position: absolute;
    bottom: 2px;
    right: 2px;
    font-size: 18px;
    background: #1d1d1d;
    color: #5cb85c;
    padding: 1px 10px;
}

article.page-menu {
    -webkit-column-count: 8;
    -moz-column-count: 8;
    column-count: 8;
    -moz-column-width: 145px;
    -webkit-column-width: 145px;
    column-width: 145px;
    -webkit-column-gap: 10px;
    -moz-column-gap: 10px;
    column-gap: 10px;
    -moz-column-rule: 1px dotted #ccc;
    -webkit-column-rule: 1px dotted #ccc;
    column-rule: 1px dotted #ccc;
    margin: 0 auto;
}

.product-list-qty {
    position: absolute;
    right: 0px;
    top: 0px;
    height: 82px;
    font-size: 20px;
    font-weight: bold;
    line-height: 35px;
    padding: 43px 6px 0 5px;
    display: block;
    background: #ffebea;
    color: #000000;
    width: 71px;
    border-radius: 4px;
    text-align: right;
}

.product-list-qty:before {
    content: "minimum";
    font-size: 12px;
    position: absolute;
    bottom: -10px;
    left: 12px;
    color: #ff9797;
    z-index: 0;
}

.product-block-list.on-set-qty {
    background: lightblue;
}

.product-block-list.on-vitrine {
    background: #dfffe4;
}

.on-store {
    background: #33b77863!important;
}

.top-productwrapper {
    z-index: 2;
    position: relative;
}

.a-prod-priceOZ {
    position: absolute;
    right: 0;
    bottom: 28px;
    color: white;
    box-shadow: none;
    background: #337ab7;
}
.a-prod-priceOZ.danger {
    background: #a94442;
}

.category-header {
    padding: 6px 20px;
    font-size: 16px;
    font-weight: bold;
    /* text-transform: uppercase; */
    background: #337ab7;
    color: white;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

.order-p-box.extended{
    width: 200px;
}

.order-p-box.extended .a-prod-numder{
    font-size: 16px;
}
.order-p-box.extended .a-prod-price{
    font-size: 30px;
}
.order-p-box.extended .a-prod-priceOZ{
    font-size: 20px;
    bottom: 45px;
    right: 2px;
}

.order-line-status.danger {
    color: white;
    background: red;
}

.order-line-package.btn.btn-50 {
    width: 49.9%;
    float:left;
}
.order-line-package.btn {
    display: block;
    background: crimson;
    color: white;
    border: 3px solid #6c6c6c;
    font-size: 19px;
    padding: 6px;
}
.order-line-package.btn.btn-default {
    background: #000;
    color: white;
}

.product-block .no-foto {
    position: absolute;
    top: 95px;
    left: 0;
    z-index: 0;
    width: 40%;
    text-align: center;
    padding: 12px;
    font-size: 24px;
    font-weight: bold;
}

.order-self-badge {
    position: absolute;
    width: 40px;
    height: 15px;
    background: #ff0c00;
    border-radius: 0 0 5px 0;
    color: white;
    font-size: 10px;
    padding: 0px 10px;
    font-weight: bold;
}

.order-self-badge-warning {
    position: absolute;
    width: 69px;
    height: 20px;
    display: block;
    background: gold;
    left: 0;
    top: 59px;
    font-size: 10px;
    padding: 0px 10px;
    font-weight: bold;
}

.self-delivering .order-line-store {
    background: blueviolet;
    color: white;
}

.order-prod > div {
    padding: 5px 10px;
    display: inline-block;
    /* background: white; */
    font-size: 12px;
    font-weight: bold;
}

.order-prod {
    background: white;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;

}

.cost-block {
    display: flex;
    justify-content: space-between;
    padding: 5px 10px;
}

.cost-container {
    background: #337ab7;
    color: white;
    font-size: 16px;
    font-weight: bold;
}

.wrap-orders {
    display: flex;
    flex-wrap: wrap;
}

.prod-name {
    min-width: 140px;
}

.order-prod.flower-line {
    background: #7cffcd40;
}

.order-prod.service-line {
    background: #ff00a51c;
}

.product-list-base-qty {
    background: #333;
    color: white;
    position: absolute;
    padding: 2px 6px;
    font-size: 10px;
    bottom: 0;
    left: 100px;
    width: 90px;
}

.product-list-base-date {
    position: absolute;
    background: #005cb7;
    padding: 1px 6px;
    font-size: 8px;
    bottom: 18px;
    left: 100px;
    color: white;
}

.order-source-badge {
    position: absolute;
    font-size: 8px;
    top: -1px;
    left: 0;
    background: #6a2828;
    color: white;
    padding: 2px 6px;
}

.order-p-description {
    width: 309px;
    padding: 6px 10px;
    display: inline-block;
    white-space: normal;
    background: white;
    font-weight: bold;
    /* max-height: 200px; */
    height: 100px;
    overflow: auto;
}
.product-list-area {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: stretch;
    justify-content: space-around;
    align-items: stretch;
    /*padding: 10px 20px;*/
    background: #d5ffd5;
    color: #333;
}
.product-list-line {
    display: flex;
    flex-wrap: nowrap;
    /* align-content: center; */
    align-items: center;
    /* background: #999; */
    padding: 5px 20px;
    box-shadow: 0px 0px 1px #333;
    font-weight: bold;
}

.self-pickup .order-line-store {
    background: #3c763d;
    color: white;
}

.order-type-badge {
    font-size: 10px;
    position: absolute;
    top: 57px;
    padding: 2px 8px;
    background: #aa2727a1;
    color: #fff;
}

.table-hover-tr.table_line.collapse-line.tab_position.tf1.danger {
    background: darkred;
    color: white;
}

.product-block.filter-line.qty-off {
    /*display: none;*/
}

.dep-line.dep_off {
    color: #aaa;
}

.color-box-cube {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid #00000061;
    margin: 1px;
}

.color-box-mini {
    display: flex;
    position: absolute;
    left: 125px;
    top: 90px;
    z-index: 3;
}

.product-block.p-site .name-product > a {
    background: #ff000014;
}

.gabarite-box-mini {
    position: absolute;
    left: 126px;
    top: 126px;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    z-index: 3;
}

.gabarite-box-cube {
    font-size: 12px;
    font-weight: bold;
}

.btn-order-box {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
}

.btn-order-box > div{
    margin-bottom: 10px;
}
.product-list-pieces2 {
    font-size: 14px;
}

.product-list-price.top2 {
    top: 36px;
    right: 0;
    left: inherit;
    text-align: right;
    background: navajowhite;
}

.product-block-list.free-h {
    height: auto;
}

.table_line.off-product {
    background: #ff000021!important;
    font-weight: bold;
}

.table-hint-inline .a-badge {
    position: absolute;
    top: 3px;
    right: 3px;
}
.table-hint-inline .s-badge {
    position: absolute;
    top: 3px;
    right: 60px;
}

.table-hover-tr.row.table_line.collapse-line.off-danger {
    background: mistyrose;
}

.checkbox-wrapper .a-badge, .checkbox-wrapper .w-badge , .checkbox-wrapper .z-badge {
    position: relative;
    float: right;
    margin-left: 8px;
    margin-top: 8px;
}

.price-name .z-badge, .price-name .s-badge {
    float: right;
    position: relative;
    margin: 4px;
}

.order-line {
    padding: 5px 10px;
    background: #f4f8fa;
    float: left;
    display: inline-block;
    width: 120px;
    text-align: center;
    font-weight: bold;
    color: black;
    cursor: pointer;
    border: 1px solid #337ab7;
    margin: 5px;
}

.department-order-box {
    position: relative;
    float: none;
    padding: 10px;
    min-height: 50px;
    display: block;
}

.worker_block.old-danger {
    background: #d0d0d0;
}

textarea.form-control.active-input-holder {
    min-height: 135px;
}

.source-badge {
    position: absolute;
    top: -18px;
    left: 3px;
}

.refresh-order-btn {
    display: inline-block;
    width: 28px;
    height: 24px;
    background: #34acb6c4;
    line-height: 22px;
    font-size: 14px;
    color: #d3f1f1;
    position: absolute;
    right: 6px;
    border-radius: 3px;
    cursor: pointer;
    box-shadow: 0px -1px 2px #000 inset;
    text-align: center;
}

.q-x-badge {
    position: absolute;
    font-size: 18px;
    right: 0;
    top: 8px;
    background: #a50000;
    padding: 2px 5px 2px 10px;
    color: yellow;
    font-weight: bold;
}

.q-x-badge:before{
    position: absolute;
    content: "x";
    color: #ffb400;
    top: 5px;
    left: 2px;
    font-size: 12px;
    font-weight: bold;
}

.slide-box-wrapper {

    overflow: hidden;
    padding: 0 20px;
    position: relative;
}

.prev-slick {
    position: absolute;
    left: 0;
    top: 0;
    background: #5cb85c85;
    width: 10px;
    height: 136px;
    cursor: pointer;
    box-shadow: -1px 1px 2px #bdbdbd;
    /* padding: 0px; */
    margin-left: 2px;
}

.prev-slick.slick-disabled{
    visibility: hidden;
}

.next-slick {
    position: absolute;
    right: 0;
    top: 0;
    background: #5cb85c85;
    width: 10px;
    height: 136px;
    cursor: pointer;
    box-shadow: 1px 1px 2px #bdbdbd;
    /* padding: 0px; */
    margin-right: 2px;
}

.next-slick.slick-disabled{
    visibility: hidden;
}

.store_day_box {
    width: 310px;
    padding: 8px;
    background: #ddd;
    border-radius: 8px;
}

.store_day_in_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.store_hr {
    font-size: 20px;
    font-weight: 700;
    padding-bottom: 10px;
}

/*.tg_chat_line {
    height: 40px;
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
}*/

/* Общие стили для всех устройств */
.tg_chat_line {
    background: #2878ff;
    color: white;
    padding: 10px 20px;
    display: flex;
    flex-wrap: wrap; /* Разрешаем перенос строк */
    align-items: center;
    gap: 10px; /* Отступ между элементами */
}

.tg_chat_name {
    flex: 1; /* Занимает доступное пространство */
}

.tg_chat_ctrl {
    display: flex;
    gap: 10px; /* Отступ между кнопками */
}

/* Стили для десктопов (ширина экрана больше 768px) */
@media (min-width: 769px) {
    .tg_chat_line {
        flex-wrap: nowrap; /* Запрещаем перенос строк */
    }

    .tg_chat_name {
        text-align: left; /* Текст прижат влево */
    }

    .tg_chat_ctrl {
        text-align: right; /* Кнопки прижаты вправо */
    }
}

/* Стили для мобильных устройств (ширина экрана меньше 768px) */
@media (max-width: 768px) {
    .tg_chat_line {
        flex-direction: column; /* Элементы в столбик */
    }

    .tg_chat_name {
        width: 100%; /* На всю ширину */
        text-align: center; /* Текст по центру (или left, если нужно) */
    }

    .tg_chat_ctrl {
        width: 100%; /* На всю ширину */
        justify-content: center; /* Кнопки по центру (или flex-start, если нужно) */
    }
}


.swith-area-flex {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-evenly;
    align-items: center;
    gap: 15px;
}

.swith-block-flex {
    display: flex;
    flex-wrap: nowrap;
    align-content: space-around;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    min-width: 70px;
    min-height: 50px;
}

.order-print-badge {
    position: absolute;
    top: 0px;
    right: 0px;
    font-size: 8px;
    width: 12px;
    height: 12px;
    color: white;
    background: #0077d6;
}

.print-order-btn {
    position: absolute;
    right: 39px;
    background: #0077d6;
    width: 29px;
    height: 23px;
    border-radius: 2px;
    padding: 3px 4px;
    color: white;
    cursor: pointer;
    text-align: center;
    box-shadow: 0px -1px 2px #000 inset;
}

.date-line-list-order {
    font-size: 20px;
    font-weight: bold;
    padding: 10px;
}

.print-box-mp {
    padding: 10px 20px;
    border: 1px dashed #000;
    width: 390px;
    float: left;
}
.print-product-order-mp {
    background: black;
    color: white;
    padding: 2px 10px;
    font-size: 35px;
}

.flex-article {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.flex-item-article {
    min-width: 315px;
}

.flex-item-article.fl-right {
    text-align: right;
}

.flex-item-article .filter-line {
    display: inline-block;
    padding: 10px 10px;
    margin: 2px;
    border: 1px solid #eee;
    color: black;
    font-weight: bold;
    background: darkgray;
    text-align: center;
    width: 100%;
    cursor: pointer;
    position: relative;
}

.flex-item-article .filter-line.active {

    color: white;

    background: #2878ff;
}

.editable-cell {
    min-height: 40px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #f9f9f9;
    overflow: hidden;
    white-space: pre-wrap;
}

.editable-cell:focus {
    outline: none;
    background: #fff;
    box-shadow: 0 0 3px rgba(81, 203, 238, 1);
}

.left-badge {
    position: fixed;
    background: #337ab7;
    min-width: 0px;
    min-height: 16px;
    left: 0;
    top: 60px;
    color: white;
    font-size: 10px;
    padding: 0 4px;
}

.fin-badge{
    color: #ffb800;
}