@charset "utf-8";
:root {
    --color-primary: #98a27f;
}
hr {margin: 10px 0 !important; display: block;}
.btn-icon {
    align-self: stretch;
    min-width: 35px;
    padding: 5px;
    background: no-repeat center center / 50% 50% #ebebeb;
    border: 1px solid #ebebeb;
    border-radius: 3px;
    min-height: 35px;
}
.btn-icon.btn-icon-transparent {background-color:transparent; border: 0;}
.btn-icon.btn-icon-rounded {border-radius: 50px;}
.btn-icon-bordered {background-color: transparent; border: 1px solid #000;}
.btn-transparent {background-color: transparent; border: 0;}

body {
    background-color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    padding-bottom: 50px
}

header {
    margin-bottom: 30px;
    border-bottom: 1px solid #ebebeb;
}

.logo {
    height: 50px;
    align-self: center;
    margin: 10px 30px 10px 0;
}

.header-inner {
    display: flex;
    flex-wrap: wrap;
}

.top-balance {
    margin-left: auto;
}

.nav-list {
    display: flex;
    height: 100%;
}

.nav-link {
    display: flex;
    text-decoration: none;
    color: #000;
    height: 100%;
    align-items: center;
    padding: 0 15px;
}

.nav-link-title {
    border-bottom: 2px solid transparent;
}

.nav-link:hover {
    background-color: #eaf5e6;
}

.nav-link.active {
    color: #636b4e;
}

.nav-link.active .nav-link-title {
    border-bottom-color: #98a27f;
    display: flex;
    height: 100%;
    align-items: center;
}

.top-balance {
    display: flex;
    align-items: center;
}

.balance-item {
    display: flex;
    margin-left: 20px;
}

.sum-available {
    margin-top: 4px;
    display: block;
    font-size: .85em;
    color: #00a372;
}

.balance-item-title {
    font-weight: bold;
    margin-right: 6px;
    cursor: pointer;
}

.balance-item-title.masked span {
    display: inline-block;
}

.balance-item-title.masked span {
    opacity: 0;
    width: 0;
    height: 0;
    overflow: hidden;
}

.balance-item-title.masked::before {
    content: '*****';
}

.user-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 30px;
    margin-left: 30px;
    border-left: 1px solid #ccc;
    align-self: center;
}

.user-menu a {
    font-size: 13px;
    color: #0290E1;
    display: inline-block;
    margin-top: 5px;
}

.checkbox-block {
    margin-top: 10px;
}

.checkbox input[type='checkbox'] {
    display: none;
}

.checkbox {
    position: relative;
    border-radius: 4px;
}

.checkbox label {
    padding-left: 30px;
    cursor: pointer;
    margin-bottom: 0;
    min-height: 22px;
    display: inline-block;
    line-height: 22px;
}

.checkbox label:before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 20px;
    height: 20px;
    content: '';
    border: 1px solid #928a8a;
    border-radius: 3px;
}

.checkbox label:hover:before {
    border-color: #0290E1;
}

.checkbox input:checked+label:before {
    border-color: #0290E1;
    background: url('images/check-white.svg') center center no-repeat #0290E1;
    background-size: 14px auto;
}

.wrap {
    width: 100%;
    max-width: 94%;
    margin: auto;
}

.small-wrap {
    width: 1200px;
}

.medium-wrap {
    width: 1500px;
}

h1 {
    margin-bottom: 25px;
}

h2, h3 {
    margin-bottom: 16px;
}

td, th {
    background-color: #fff;
    vertical-align: middle;
    padding: 15px 10px;
    border: 1px solid #e2e2e2;
    border-right: 0;
}

th {
    text-align: left;
    font-weight: 400;
    color: #888;
}

table {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 15px;
}

th:first-child, td:first-child {
    border-left: 0;
    /*     text-align: right; */
}

td.small, th.small {
    width: 50px;
}

th:last-child, td:last-child {
    border-right: 0;
}

.cell-delete {
    width: 50px;
    border-left: 0;
    padding: 0;
}

.textbox {
    margin-bottom: 10px;
}

input[type=text], input[type=email], input[type=tel], input[type=password], input.textbox, .textbox input, textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

input[type=text]:focus, input[type=email]:focus, input[type=tel]:focus, input[type=password]:focus, input.textbox:focus, .textbox input:focus, textarea:focus {
    border-color: #333;
}
.link {color: #0066c1; transition: .2s all ease-in-out; }
.link:hover {
    color: #0290E1;
    text-decoration: underline;
}
[href^="tel"] {color: #000; text-decoration: none;}
.input-hover {
    border-color: transparent;
    padding-left: 5px;
    padding-right: 5px;
}

tr:hover .input-hover {
    border-color: #ccc;
}

.input-date {
    background: url(images/date.svg) no-repeat right 10px center #fff;
    padding-right: 36px !important;
    background-size: 18px auto;
}

.input-percent {
    position: relative;
    display: inline-block;
    /* padding-right: 20px; */
}

.input-percent span {
    position: absolute;
    right: 8px;
    top: 0;
    display: flex;
    height: 100%;
    align-items: center;
}

.input-percent input {
    padding-right: 20px;
    text-align: right;
}

.btn {
    border: 1px solid #465163;
    border-radius: 3px;
    padding: 10px 15px;
    background-color: #fff;
    text-decoration: none;
    color: #2a313d;
    transition: .2s all ease-in-out;
    white-space: nowrap;
}

.btn-default {
    background-color: #465163;
    border-color: #465163;
    color: #fff;
}

.btn-default-outline {
    background-color: transparent;
    border-color: #465163;
    color: #2a313d;
}
.btn-default-outline:hover {
    color: #00a372;
    border-color: #00a372;
}

.btn-danger {
    background: #d12626;
    color: #fff;
    border-color: #d12626;
}

.btn-primary {
    background: #00a372;
    color: #fff;
    border-color: #00a372;
    min-width: 130px;
    transition: .2s all ease-in-out;
}

.btn-primary-text {
    background-color: transparent;
    color: #00a372;
    padding: 0;
    min-width: 0;
    border: 0;
}

.btn-primary:hover, .btn-primary-outline:hover {
    background: #018a61;
    color: #fff;
    border-color: #018a61;
}

.btn-primary-outline {
    background: transparent;
    color: #00a372;
    border-color: #00a372;
    min-width: 130px;
    transition: .2s all ease-in-out;
}

.btn-small {
    padding: 6px 10px;
}

.ss-main {
    min-width: 140px;
}

.btn-dashed {
    cursor: pointer;
    color: #00a372;
    border: 0;
    background-color: transparent;
    border-bottom: 1px dashed;
}
.btn-dashed-danger {
    color: #d12626;
}
.btn-dashed-danger:hover {
    color: rgb(182, 0, 0);
}


.grid-gap {
    margin-left: -10px;
    margin-right: -10px;
}

.grid-gap>.item {
    padding: 0 10px 20px;
}

.grid, .grid-gap {
    display: -webkit-flex;
    display: flex;
    -webkit-flex: 1 0 auto;
    flex: 1 0 auto;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

.grid .item, .grid-gap .item {
    max-width: 100%;
}

.xs1 {
    width: 8.3333%;
}

.xs2 {
    width: 16.6667%;
}

.xs3 {
    width: 25%;
}

.xs4 {
    width: 33.3333%;
}

.xs5 {
    width: 41.6667%;
}

.xs6 {
    width: 50%;
}

.xs7 {
    width: 58.3333%;
}

.xs8 {
    width: 66.6667%;
}

.xs9 {
    width: 75%;
}

.xs10 {
    width: 83.3333%;
}

.xs11 {
    width: 91.6667%;
}

.xs12 {
    width: 100%;
}

.form-outer, .toolbar  {
    padding: 20px;
    background-color: #f2f2f2;
    border-radius: 6px;
    margin: 15px 0;
}

.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-outer.autowidth {
    display: inline-block;
}

.form-group {
    display: flex;
    margin: 0 -10px;
    align-items: flex-start;
}

.form-title {
    font-size: 18px;
    margin-bottom: 10px;
}


.form-item {
    flex-grow: 1;
    padding: 0 10px;
}

.form-item.autowidth {
    flex-grow: initial;
}
.form-item.autowidth input {
    width: auto;
}

.form-item .btn {
    height: 100%;
}

.form-item.form-submit {
    flex-grow: initial;
}

.form-item input[type="text"], .form-item .ss-main .ss-single-selected, .form-item .ss-main {
    height: 100%;
}

.form-row {
    margin: 15px 0;
}

.form-group .btn-export {
    margin-left: auto;
}

.btn-delete {
    display: block;
    border-radius: 2px;
    color: #ec6c63;
    border: 1px solid;
    padding: 0;
    width: 35px;
    height: 35px;
    background: url('images/trash.svg') no-repeat center center;
    background-size: 20px auto;
    visibility: hidden;
    text-decoration: none;
    transition: .2s all ease-in-out;
}
.btn-delete:hover {
    opacity: 0.9;
}
tr:hover .btn-delete, .btn-delete.visible {
    visibility: visible;
}

tr:hover td {
    /*background-color: #f5f7f6;*/
}

.selected-info {
    margin: 15px 0;
}

.pagination {
    margin: 25px 0;
    display: flex;
}

.pagination-item {
    margin-right: 15px;
}

.pagination-link {
    display: block;
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid #555;
    text-decoration: none;
    color: #555;
}

.pagination-link.active {
    background-color: #555;
    color: #fff;
}

.month-group {
    margin-bottom: 40px;
    padding-bottom: 40px;
    padding-top: 40px;
    border-bottom: 1px solid #e2e2e2;
}

.month-group:first-of-type {
    border-top: 1px solid #e2e2e2;
}

.month-inner {
    margin-left: -30px;
    margin-right: -30px;
}

.month-table-wrap {
    flex-grow: 1;
    padding-left: 30px;
    padding-right: 30px;
    border-right: 1px solid #e2e2e2;
    display: flex;
    flex-direction: column;
}

.month-table-wrap-inner {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.month-balance {
    flex-shrink: 0;
    width: 250px;
    padding-left: 30px;
    justify-content: center;
    display: flex;
}

.month-table-wrap table {
    width: 100%;
    max-width: 300px;
}

/* .month-balance-inner {
    padding: 10px;
    border: 1px solid #ccdca7;
    border-radius: 6px;
    margin-top: -10px;
    background-color: #edf5db;
} */

.month-total {
    padding: 5px;
    background-color: #f2f2f2;
    border-radius: 6px;
    display: inline-flex;
    margin: 10px 0 20px;
}

.month-total p {
    padding: 5px 10px;
}

.borderless td {
    border-left: 0;
}


sup {
    vertical-align: super;
}

.login-page {
    display: flex;
    min-height: 100vh;
}

.form-logo {
    display: block;
    margin: 0 auto 30px;
    width: 150px;
}

.user-form {
    margin: auto;
    max-width: 300px;
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 6px;
}

.user-form .btn {
    width: 100%;
}

body.blocked {
    overflow: hidden
}

.popup-dark {
    position: fixed;
    overflow-y: auto;
    z-index: 999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, .8);
    padding: 50px;
    opacity: 0;
    display: flex;
    align-items: flex-start;
    visibility: hidden;
}

.popup-dark.visible {
    visibility: visible;
    opacity: 1;
}

.popup-box {
    width: 100%;
    max-width: 500px;
    margin: auto;
    /* margin: 0 auto 0 - если надо выровнять сверху (заменить первый 0 */
    background: #fff;
    border-radius: 6px;
    display: none;
}

[data-popup-size="medium"] {
    max-width: 700px;
}
[data-popup-size="big"] {
    max-width: 900px;
}
.popup-body {
    padding: 0 40px 40px 40px;
}

.popup-header {
    position: relative;
    padding: 30px 40px 20px;
    display: flex;
    justify-content: space-between;
}

.popup-header p {
    margin: 0;
    font-size: 23px;
}

.popup-box .btn-close {
    cursor: pointer;
    right: 15px;
    width: 24px;
    height: 24px;
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center center;
    display: block;
}

.popup-body textarea {
    resize: none;
}

.popup-body .success, .popup-body .error {
    display: none;
}

.popup-box .btn-close {
    background-image: url(images/close.svg);
}

.msg {
    margin-bottom: 20px;
    padding: 10px 15px;
    text-align: left;
    font-size: 14px;
    border: 1px solid;
    margin: 10px 0;
}

.msg-success {
    color: #129679;
    border-color: #129679;
    background-color: #e0fbee;
}

.msg-error {
    color: #7d3c3c;
    border-color: #f1bfbf;
    background-color: #fff8f8;
}

.msg-info {
    color: #333;
    border-color: #eae3d1;
    background-color: #fff9e4;
}

.input-wrap {
    margin-bottom: 18px;
    position: relative;
}

.input-group .input-wrap {flex: 1;}
.popup-body .input-group {width: 100%;}

.input-wrap span {
    display: block;
    position: absolute;
    padding: 0px 10px;
    background: #fff;
    left: 10px;
    font-size: 11px;
    color: #666;
    top: -6px;
    text-transform: uppercase;
}

.fixedbox {
    position: fixed;
    top: 0;
    background: #fff;
    padding: 10px 20px;
    margin: 0;
    width: 100%;
    box-shadow: 0 3px 3px rgba(0, 0, 0, .1);
    z-index: 2;
    left: 0
}

.fixedbox p {
    margin: 0 auto
}

.rows>*+* {
    margin-top: 8px;
}

.orders-overview td {
    vertical-align: top;
}

.comments-list {
    margin: 10px 0;
}

.comment-item {
    color: #333;
    padding: 5px 10px;
    border-bottom: 1px solid #e9eef1;
    padding-bottom: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    border-radius: 6px;
}

.comment-item:hover, .comment-pinned {
    background-color: #f2f2f2;
}

.comment-item:last-child {
    border-bottom: 0;
}

.comment-text {
    padding-left: 1.25em;
    margin-left: 5px;
    margin-top: 5px;
	line-height: 1.4em;
}

.comment-author-name {
    color: #888;
    display: flex;
}
.comment-options {
    margin-left: auto;
    display: flex;
    opacity: 0;
}
.comment-options button {visibility: visible !important; margin-left: 15px;}

.comment-item:hover .comment-options {
    opacity: 1;
}

.comment-item.comment-fixed {
	background: #ecf4f7;
}
.comment-item.comment-fixed .comment-options {
	opacity:1;
}
.comment-item.comment-fixed .comment-options .btn-delete-item {opacity: 0;}
.comment-item.comment-fixed:hover .comment-options .btn-delete-item {opacity:1;}


.comment-item.comment-pinned i {
    margin-top: 2px;
}

.fa-fw {
    margin-right: 5px;
}

.fa+span, .far+span, .fas+span {
    padding-left: 5px;
}

.delivery-info .fa-fw {
    color: #e4eaec;
}

.select-borders-hidden:not(:hover) .ss-main .ss-multi-selected, .select-borders-hidden:not(:hover) .ss-main .ss-single-selected, .select-borders-hidden:not(:hover) .date-sent .input-date:not(:focus) {
    border-color: transparent;
    background-image: none;
}

.select-borders-hidden:not(:hover) .ss-main .ss-multi-selected .ss-add {
    opacity: 0;
}

.small-text {
    font-size: 14px;
    color: #777;
}

.comments-list, .addcomment-form {
    max-width: 580px;
}
.addcomment-form {
    display: none;
}

.addcomment-form.visible {
    display: flex;
}

.addcomment-form .textbox {
    /* width: calc(100% - 50px); */
    margin-bottom: 0;
    border-radius: 5px 0 5px 5px;
}

.addcomment-form button {
    width: 50px;
    height: 50px;
    border-radius: 0 5px 5px 0;
    min-width: 0;
	margin-left:-1px;
}

.label-boxberry, .label-cdek, .label-other, .label-success, .label-yellow {
    padding: 3px 6px;
    border-radius: 3px;
    display: inline-block;
    color: #fff;
    font-size: 14px;
}

.label-boxberry {
    background-color: #c52459;
}

.label-success {
    background-color: #ddeddf;
    color:#515c53;
}

.label-yellow {
    background-color: #f9f7eb;
    color:#5e3b07;
}
.label-other {
    background-color: #555;
}

.small {font-size:0.8em}
.label-cdek {
    background-color: #1fad4d;
}

.date-sent {
    display: flex;
    align-items: center;
}

.date-sent .input-date {
    width: 140px;
    margin-left: 5px;
}

.th-status {
    width: 350px;
}

.th-sending {
    width: 280px;
}

.th-number {
    width: 100px;
}

aside {
    /* padding: 20px 10px; */
    position: fixed;
    right: -100%;
    z-index: 10;
    top: 0;
    height: 100vh;
    width: 100%;
    max-width: 1000px;
    background-color: #fff;
    box-shadow: 0 6px 17px 9px rgba(0, 0, 0, .15);
    transition: .2s all ease-in-out;
    display: flex;
    flex-direction: column;
}

.order-invoices-wrap, .order-invoices-wrap td {
    background: #fffef4
}

aside.visible {
    right: 0;
}

aside h3 {
    padding-left: 10px;
    padding-right: 10px;
    margin: 0;
}

/* #asideform {
    max-height: calc(100vh - 60px);
} */
#asideform {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.body-overlay {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background-color: rgba(100, 100, 100, .4);
}

.body-overlay.visible {
    display: block;
}

.aside-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #e2e2e2;
}

.close-aside {
    width: 36px;
    height: 36px;
    background: url('images/close-w.svg') no-repeat center center / 20px auto #333;
    border: 0;
    position: absolute;
    right: 6px;
    top: 6px;
    border-radius: 3px;
}

.aside-body {
    overflow-y: auto;
    flex-grow: 1;
    /* max-height: calc(100% - 50px); */
}

.aside-footer {
    height: 80px;
    padding: 20px 10px;
    text-align: center;
    position: relative;
    background-color: #fff;
}
.aside-footer button {min-width: 150px; margin: 0 5px;}

aside.has-scroll .aside-footer {
    box-shadow: 0 6px 34px 9px rgba(0, 0, 0, .15);
}

.order-list {
    margin: 0;
}

.order-list td {padding-top: 5px; padding-bottom: 5px;}
.order-list .ss-main {min-width: 0;}

.order-list th {
    border-top: 0;
    padding-top: 5px;
    padding-bottom: 5px;
}

.order-item-name {
    font-size: 14px;
}
.order-item-sku {
    white-space: nowrap;
}
.order-item-count {
    width: 60px;
}

[data-btn="show-invoice"] {
    font-size: 16px;
}

.supplier-invoice-list {
    margin-bottom: 10px;
}

.supplier-invoice-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 5px;
    border-radius: 3px;
    margin-left: -5px;
    border: 1px solid transparent;
}

.supplier-invoice-item:hover {
    border-color: #a9a4a4;
}

.btn-delete-row, .btn-delete-item {
    display: block;
    border: 0;
    padding: 0;
    width: 15px;
    height: 15px;
    background: url(images/trash.svg) no-repeat center center;
    background-size: contain;
    visibility: hidden;
    flex-shrink: 0;
}
.btn-pin-item {
    display: block;
    border: 0;
    padding: 0;
    width: 20px;
    height: 20px;
    background: url(images/pin.svg) no-repeat center center;
    background-size: contain;
    visibility: hidden;
    flex-shrink: 0;
}

.supplier-invoice-item:hover .btn-delete-row {
    visibility: visible;
}

.order-invoices-wrap {
    padding: 0;
}

.order-invoices-wrap table {
    margin: 0;
}

.order-invoices-wrap tr:first-child td {
    border-top: 0;
}

.tab-content:not(.active) {
    display: none;
}

.input-group {
    display: inline-flex;
    flex-wrap: wrap;
}

.input-group>*:not(:last-child) {
    margin-right: 10px;
}

.buttons-group {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
}

.buttons-group>* {
    margin-top: 5px;
    margin: 5px;
}
.buttons-group>*:not(:last-child) {
    margin-right: 10px;
}

.not-completed-row td {
    background: #f7e9e9
}
.part-completed-row td {
    background: #f1efd2
}
.not-completed-row td:nth-child(2), .part-completed-row td:nth-child(2) { background: #fff}

.completed-row td + td + td {
    background: #ecf7e9
}

hr {
    border: none;
    color: #dedede;
    background-color: #dedede;
    height: 1px;
    display: block;
    margin: 20px 0;
}

.input-group+hr {
    margin-top: 10px;
}

.ss-options-truncated .ss-option {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.ss-main.ss-options-truncated .ss-single-selected .placeholder {
    max-width: 260px;
}

tr.highlighted td {
    background-color: #e0f7e5;
}

[data-hidden-content] {
    display: none;
}

.order-action-buttons {
    display: flex;
}

.order-action-buttons>* {
    margin-right: 10px;
    min-width: 36px;
    text-align: center;
    height: 36px;
    /* padding: 5px; */
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.order-label .inline-svg-icon {max-width: 90%; max-height: 90%; fill: currentColor;}
.order-label {
    padding: 7px 10px;
    border-radius: 3px;
    width: 36px;
}
.label-incomplete {
    color: #e9b004;
    background-color: #fcf3e1;
}
.label-complete {
    color: #48a350;
    background-color: #d4f5dd;
}


[data-btn="add-alert"] {
    visibility: hidden;
    padding: 7px 10px;
    background-color: #f2f2f2;
    color: #999;
    border: 0;
    margin-left: auto;
    border-radius: 3px;
}

.btn-order-action {width: 30px; height: 30px; background-color: #ebebeb; border-radius: 50%; padding: 5px;
    background: no-repeat center center / 50% 50% #ebebeb;
    border: 1px solid #ebebeb;}
    .btn-order-action.red-bg {
        background-color: #fee5de;
        border-color: #eccabe;
    }
    .btn-order-action.yellow-bg {
        background-color: #ffed9c;
        border-color: #f2d075;
    }
    .btn-order-action.green-bg {
        background-color: #d5eede;
        border-color: #a7d9b2;
    }

    [data-btn="paid"] {background-image: url('images/paid.svg');}
    [data-btn="tesli"] {background-image: url('images/tesli.svg');}
    [data-btn="receipt"] {background-image: url('images/receipt.svg');}

    .order-table-row:hover [data-btn="add-alert"] {
        visibility: visible;
    }

    .order-table-row.has-alert [data-btn="add-alert"] {
        visibility: visible;
        background-color: #fddfdf;
        color: #c00;
    }

    .label-incomplete+[data-btn="add-alert"] {
        margin-left: 0;
    }

    .alert-list {
        position: fixed;
        right: 30px;
        bottom: 30px;
        width: 300px;
		z-index:9999999;
    }
    .alert-item {
        padding: 10px;
        background-color: #ccc;
        border-radius: 6px;
        margin-bottom: 20px;
        position: relative;
    }
    .alert-success > * {
        color: #2b7f56;
    }
    .alert-success {
        background-color: #dff1e5;
    }
    .alert-error > * {
        color: #c00;
    }
    .alert-error {
        background-color: #f6dfe3;
    }
    .alert-warning > * {
        color: #725f21;
    }
    .alert-warning {
        background-color: #f7e3be;
    }
    .btn-close-alert {
        background: 0;
        border: 0;
        width: 14px;
        height: 14px;
        position: absolute;
        right: 10px;
    }
    .alert-header {
        font-weight: bold;
        font-size: 1.1em;
        margin-bottom: .2em;
    }
    .inline-svg-icon {
        max-width: 100%;
        max-height: 100%;
    }

    .btn-close-alert svg {
        fill: currentColor;
    }

    .number-form {display: flex;}
    .number-form .btn {min-width: 50px; margin-left: 5px;}
    [data-target="send_boxberry"] {
        margin-left: auto;
        background-image:  url(images/boxberry.svg);
    }
    .pdf-link {background-image: url('images/pdf.svg'); background-color: transparent; border: 1px solid #e4e4e4;}
    .order-table-row .status-item {margin-bottom: 10px; display: flex; justify-content: flex-start; align-items: center;}
    .order-table-row .status-item > span {margin-right: 10px;}
    .order-table-row > td {border-bottom: 3px solid #999;}
    /* .order-table-row:hover .btn-icon {background-color: #fff; border-color: #e4e4e4;} */
    .fade_image {
        display:none;
        background: #fff;
        position: absolute;
        padding: 10px 10px;
        width: 180px;
        text-align:center;
        height: 180px;
        box-shadow: 0 3px 4px rgb(0 0 0 / 40%);
        margin-top: -50px;
        right: 100%;
    }
    .fade_image_wrap:hover .fade_image {display:block}
    .fade_image img {max-width:100%; max-height:100%}

    /* orders sale */
    .order-sale-content {display: flex; }
    .order-sale-item {border-top: 2px solid #b8b8b8; position: relative;}
    .order-sale-item .order-title {display: flex; align-items: center;}
    .order-sale-item .order-title .comments {margin-left: auto; color: #ccc;}
    .order-sale-item .order-title .comments.has-comments {color: #13a877;}
    .order-sale-item .order-title .has-comments i {margin-right: 0;}
    .order-sale-item.expanded {
        box-shadow: 0 6px 17px 9px rgba(0, 0, 0, .15);
        border-radius: 6px;
        border-top-color: transparent;
    }
    .order-sale-item [data-col] { padding: 15px; border-right: 1px solid #ebebeb;}
    .order-sale-item [data-col]:last-child {border-right: 0;}
    .expand-order {
        position: absolute;
        left: -30px;
        top: 15px;
        border-radius: 6px;
        width: 30px;
        height: 30px;
        border: 0;
        font-size: 26px;
        color: #62713d;
        background-color: #f0f3e8;
        line-height: 30px;
    }
    .expand-order.active {
        font-size: 0;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        background-color: #98a27f;
        color: #fff;
    }
    .expand-order.active::before {
        content: '\2212';
        font-size: 26px;
        line-height: inherit;
    }
    .order-sale-bottom {
        display: none;
        padding: 15px;
        border-top: 1px solid #ebebeb;
        margin-top: 20px;
    }
    [data-col="maininfo"] {
        flex-basis: 220px;
    }

    [data-col="delivery"] {
        flex-basis: 290px;
    }

    [data-col="price"] {
        flex-basis: 170px;
    }

    [data-col="status"] {
        flex-basis: 200px;
    }

    [data-col="actions"] {
        width: 65px;
        display: flex;
        flex-direction: column;
    }

    [data-col="person"] {
        flex-grow: 1;
    }

    .order-sale-list {
        /* max-width: 1200px; */
    }

    .order-sale-col .delivery-title {
        display: flex;
        align-items: center;
        margin-top: -10px;
    }
    .order-sale-col .delivery-title [data-btn="set-date"] {margin-left: auto; margin-right: -10px; color: #75939f;
    }

    .order-sale-email {color: #3f70af; text-decoration: none;}

    .order-sale-col .order-sum {font-size: 1.1em;}
    .order-sale-col .order-profit {font-size: 13px; color: #777; margin-left: 10px;}
    .old-sum {color: #555; position: relative; font-size: .8em;}
    .old-sum::after {content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background-color: #c00; transform: rotate(-15deg);}
    .order-sum-discount {color: #c00; font-size: 14px; margin-left: 10px;}

    [data-col="actions"] button{
        margin-bottom: 7px;
    }
    .delivery-date.date-alert {padding-left: 18px; position: relative;}
    .delivery-date.date-alert::before {
        content: '!';
        position: absolute;
        left: 0;
        top: 50%;
        margin-top: -7px;
        width: 14px;
        height: 14px;
        font-size: 12px;
        line-height: 14px;
        font-weight: bold;
        color: #fff;
        text-align: center;
        border-radius: 50%;
        background-color: #ff5805;
    }
    .delivery-track {background-color: #ebebeb; color: #444; padding: 3px 6px; border-radius: 3px; display: inline-block; font-size: 14px;}

    .ss-main.select-dotted .ss-single-selected {border: 0; padding: 0;}
    .ss-main.select-dotted .ss-arrow {display: none;}
    .ss-main.select-dotted .ss-single-selected { width: auto; border-radius: 0;}
    .ss-main.select-dotted .ss-single-selected .placeholder {
        border-bottom: 1px dotted;
        width: auto;
        flex-basis: auto;
        flex-grow: 0;
    }
    .client-status .small-text {margin-bottom: 4px;}
	.shop-status {position:relative;}
	.shop-status .ss-main {margin-left:18px}
    .shop-status .order-status-color {
		top: 4px;
        width: 12px;
        height: 12px;
        background-color: #ccc;
        border-radius: 50%;
        display: block;
        margin-right: 5px;
        align-self: center;
		position:absolute;
    }
    .select-shop-status {margin-bottom: 10px;}
	.order-company-info {
	border: 1px solid #c9baa8;
    display: inline-block;
    padding: 6px 10px;
    border-radius: 5px;
    background: #f9f7eb;
    font-size: 12px;
    line-height: 18px;
    color: #5e3b07;}
	.order-company-info i {color:#cfc6af; margin-top:2px}
    .ss-main.borderless .ss-single-selected {
        border: 0;
        padding: 0;
    }
    .ss-main.borderless {
        min-width: 0;
        width: auto;
    }
    .order-sale-item .order-domain {color: #f0681a; font-size: 14px;}
    .order-last-updated {color: #888; font-style: italic; font-size: 14px;}

    .fns-status {color: #13a877; font-size: 14px;}
    .btn-dashed.fns-status {color: #f0681a;}
    .order-sale-col .items-number [data-btn="download-receipt"] {padding: 5px; margin-left: 5px; color: #75939f;}

    /*
    notifications - hotdesk
    */
    .notif-block {margin-left: 20px; align-self: center; position: relative;}
    .open-notif-list {width: 40px;height: 40px;background: url('images/notify.svg') no-repeat center center / 80% auto transparent; border: 0;}
    .open-notif-list:hover {opacity: 0.85;}
    .notif-counter {
        position: absolute;
        background-color: #ff5500;
        font-size: 11px;
        color: #fff;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        line-height: 16px;
        border: 2px solid #fff;
        right: 0;
        top: 5px;
    }
    .notif-list-outer {
        position: absolute;
        top: 100%;
        width: 340px;
        transform: translateX(-50%);
        z-index: 10;
        background-color: #fff;
        padding: 15px;
        border-radius: 6px;
        box-shadow: 0 4px 30px -2px rgba(50, 56, 68,  .15), 0 -2px 8px -2px rgba(50, 56, 68,  .15);
        margin-top: 10px;
        display: none;
    }
    .notif-list { max-height: 300px; overflow-y: auto; position: relative;  }
    .notif-list.ps {
        margin-right: -15px;
        padding-right: 30px;
    }
    .notif-header {
        display: flex;
        align-items: baseline;
        margin-bottom: 10px;
    }

    .notif-header button {
        font-size: .8em;
        margin-left: auto;
        color: #ff5500;
        background: transparent;
        border: 0;
    }

    .notif-header p {
        font-size: 1.2em;
    }

    .notif-item {
        padding: 10px 0 10px 14px;
        font-size: .9em;
        border-bottom: 1px solid #eaebed;
        position: relative;
        display: flex;
        align-items: flex-start;
    }
    .notif-item .btn-mark-read {
        visibility: hidden;
        width: 20px; height: 20px; background: url('images/check-w.svg') no-repeat center center / 60% auto #7b818f; border-radius: 50px; margin-left: 10px;
        border: 0;
        flex-shrink: 0;
    }
    .notif-item.new:hover .btn-mark-read {visibility: visible;}

    .notif-item.new::before {
        content: '';
        position: absolute;
        width: 6px;
        height: 6px;
        background-color: #ff5500;
        border-radius: 50%;
        left: 0;
        top: 17px;
    }

    .tabs-default-outer {
        border-top: 1px solid #ebebeb;
        border-bottom: 1px solid #ebebeb;
        padding: 15px 0;
        margin-bottom: 20px;
    }
    .tabs-default {
        display: flex;
        flex-wrap: wrap;
    }
    .tab-item {
        cursor: pointer;
    }
    .tab-item.active {
        cursor: default;
    }
    .tabs-default .tab-item {
        border-radius: 50px;
        padding: 10px 20px;
    }
    .tabs-default .tab-item:hover {

    }
    .tabs-default .tab-item.active {
        background-color: var(--color-primary);
        color: #fff;
    }
    .h1-outer {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-bottom: 25px;
    }
    .h1-outer .top-buttons {
        margin: 10px 0;
    }
    .h1-outer h1 {
        margin-bottom: 0;
    }
    /* .rows-group {
        display: grid;
        max-width: 600px;
        grid-row-gap: 20px;
        grid-template-columns: 200px 1fr;
    } */
    .rows-list {
        max-width: 600px;
    }
    .row-item {
        display: flex;
        margin-bottom: 20px;
    }
    .row-title {
        flex: 0 0 160px;
        padding-right: 20px;
        color: #666;
        margin-top: 10px;
    }
    .row-title.for-text {
        margin-top: 0;
    }
    .row-title  + * {
        flex-grow: 1;
        max-width: calc(100% - 150px);
    }
    .order-page-table td {
        vertical-align: top;
    }

    .flex {display: flex;}
    .aic {align-items: center;}
    .jcsb {justify-content: space-between;}

    .text-label {
        padding:6px 10px; display:inline-block; border-radius:4px;
    }
    .text-label.yellow {
        background-color:#f3eec8;
    }
    .text-label.green {
        background-color:#d9f3c8;
    }

    .form-small input, .form-small .btn, .input-small {
        padding: 5px 10px !important;
    }
    .form-small {
        display: inline-flex;
        align-items: center;
        margin-left: -5px;
        margin-right: -5px;
    }
    .form-small .form-item {
        padding-left: 5px;padding-right: 5px;
    }
    input.small-number {
        max-width: 60px;
    }
.category-item-name {display:flex; align-items:top}
.category-item-name button {width: 69px;  min-width: 0; margin-left: 15px;}
.category-item-name.inp-hidden button {display:none}
.category-item-name.inp-hidden textarea {padding:0;cursor:default;border:0;overflow:hidden}
.small-select .ss-main  {min-width:0}
.catalog-item-helper {color:#bcb5b1;font-size:12px;}
.nav-subcats {
	position: absolute;
    padding: 7px 15px;
    border: 1px solid #ccc;
    z-index: 25;
    background: #fff;
    margin-top: -10px;
    border-radius: 5px; 
	display:none
}
.nav-item:hover > .nav-subcats {display:block}
.nav-subcats a {text-decoration:none; display:block; padding:4px 0}
[onclick] {cursor:pointer}
[data-stock-data] {display:none; width:auto}
[data-stock-data] td {padding:5px 3px; border:0; border-bottom:1px solid #e3e3e3; font-size:14px;}
[data-stock-data] td span {color:#777}
[data-stock-data] tr:last-child td {border-bottom:0}
[data-stock-btn] {margin-left:auto}
.dashed-link {display:inline-block; cursor:pointer; border-bottom:1px dashed; color:#394b58}
.button-row {display:flex; align-items:center;}
.second-line-menu {padding: 15px 0 35px;
    border-top: 1px solid #ebebeb;
    background: #f9f9f9; display:none}
.second-line-menu  a {text-decoration:none}
.order-address {padding:10px 0;  color:#8d4c12}
.order-address.sklad-address {border:1px dashed; border-width:1px 0 1px;}
[data-sub-menu] {display:none;align-items:center;gap:20px;position:absolute;}
[data-sub-menu].opened {display:flex;}
.is-flex {display:flex}
.is-flex.inline {display:inline-flex}
.gap10 {gap: 10px;}
.gap20 {gap: 20px;}
.gap30 {gap: 30px;}
.is-flex.a-c, .a-i-x {align-items:center}
.j-c-sb {justify-content:space-between}
.field-item {margin:15px 0; display:flex; justify-content:space-between; gap:20px;}
.field-item p {color:#999; font-size:14px; margin-bottom:10px; width:80px}
.must {color:#cc0000}
.order-item-name .order-item-sku {background: #efe9de;
    display: inline-block;
    padding: 5px 7px;
    border-radius: 3px;}
.message {display:inline-block; padding:6px 10px; border-radius:5px}
.a-i-c {align-items:center}
.status-dot {width:9px;height:9px;border-radius:100%;}
.alert {display:inline-block; padding:8px 15px; border-radius:5px; margin:5px 0}
.message-group {margin:15px 0; padding:15px 0; border:1px solid #dedede; border-width:1px 0 1px;}
.message-group .message {border:1px solid #ccc; padding:10px; border-radius:5px; margin:5px 0; display:block}
.text-block ul > li,
ul.text-block > li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 15px;
}
.text-block ul ul li {
    padding-left: 0;
}
.text-block ul ul li::before {
    display: none;
}
.text-block p:last-child,
.text-block li:last-child {
    margin-bottom: 0;
}
.text-block ul > li:before,
ul.text-block > li:before {
    content: "";
    position: absolute;
    left: 0;
    display: inline-block;
    top: 0.5em;
    width: 5px;
    height: 5px;
    margin-top: 2px;
    pointer-events: none;
    background-color: #555;
    border-radius: 50px;
    vertical-align: middle;
}
.comments-scrolled {
	max-height:300px;overflow-y:auto; margin-bottom:15px; border:1px solid #ccc; border-radius:12px; padding:12px
}
.comment-item:hover button{visibility:visible}
.success-row, .success-row td {background:#f2fbf7}
.cancel-row {background:#fbf2f2}
.is_designer {color:#c52459}
.grey {color:#999}
.help-info {color:#999; padding:4px 10px; border:1px solid; border-radius:3px; font-size:0.8em}
.red {color:#f01a1a !important}
.orange {color:#f0681a !important}
.green {color:#13a877 !important}
.client-status .ss-main.borderless {max-width:160px}
.waiting-loader {position: fixed; display:none;
    left: 50%;
    top: 50%;
    z-index: 100000;}
.btn-small-rounded {
	height: 31px;
    border-radius: 100%;
    color: #999;
    width: 31px;
    font-size: 12px;
    display: flex
;
    justify-content: center;
    border-color: #999;
    align-items: center;
}