@font-face {
    font-family: 'Montserrat';
    src: url("../fonts/Montserrat-Regular.ttf");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: url("../fonts/Montserrat-Medium.ttf");
    font-weight: bold;
    font-style: normal;
}
.none {
    display: none !important;
}

:root {
    /*Primary*/
    --primary-100: #E3EEF7;
    --primary-200: #BBD5EC;
    --primary-300: #93BDE1;
    --primary-400: #6CA5D6;
    --primary-500: #428BCA;
    --primary-600: #3072AB;
    --primary-700: #255883;
    --primary-800: #1A3D5C;
    --primary-900: #0F2334;

    /*Secondary*/
    --secondary-50: #F9F9F9;
    --secondary-100: #F2F2F2;
    --secondary-200: #D9D9D9;
    --secondary-300: #BFBFBF;
    --secondary-400: #A6A6A6;
    --secondary-500: #8C8C8C;
    --secondary-600: #737373;
    --secondary-700: #595959;
    --secondary-800: #404040;
    --secondary-900: #262626;

    /*Success*/
    --success-100: #CCF5B7;
    --success-300: #8BE95D;
    --success-400: #73D13D;
    --success-500: #52C41A;
    --success-700: #2D6C0E;

    /*Warning*/
    --warning-100: #FEF3DC;
    --warning-300: #FCD078;
    --warning-500: #FAAD14;
    --warning-700: #A56F04;

    /*Error*/
    --error-100: #FEE7E8;
    --error-200: #FBB3B7;
    --error-300: #F9858B;
    --error-400: #FF4D4F;
    --error-500: #F5222D;
    --error-700: #AB0810;

    /*ELSE*/
    --white: #FFF;
    --black: #000;
    --border-radius: 4px;

    --dxbx-top-bar-background: var(--primary-500);
    --dxbx-content-background: #fff;
    --dxbx-top-bar-logo: url('../images/logo_white.svg') no-repeat center center;
    --dxbx-top-bar-logo-small: url('../images/logo_small_white.svg') no-repeat center center;
}

[data-theme="PINK"] {
    /*Primary*/
    --primary-100: #FDE7F4;
    --primary-200: #FCCFEA;
    --primary-300: #FAB7DF;
    --primary-400: #F787CA;
    --primary-500: #E767B3;
    --primary-600: #F1279F;
    --primary-700: #D80E86;
    --primary-800: #A80B68;
    --primary-900: #78084A;
}

[data-theme="NEW_YEAR"] {
    /*Primary*/
    --primary-100: #e7e7f9;
    --primary-200: #9f9ff5;
    --primary-300: #6d6deb;
    --primary-400: #5353d7;
    --primary-500: #3838b5;
    --primary-600: #2b2bae;
    --primary-700: #21219d;
    --primary-800: #0e0e79;
    --primary-900: #030341;

    --dxbx-top-bar-background: url('../images/new_year_top_bar_background.svg') var(--primary-500);
    --dxbx-content-background: url('../images/new_year_pattern.svg') #fff;
    --dxbx-top-bar-logo: url('../images/new_year_logo.svg') no-repeat center center;
}

.main-container {
    background: var(--dxbx-content-background);
}

.page-content {
    min-height: calc(100vh - 120px);
    background: var(--dxbx-content-background);
    position: relative;
    margin: 0;
    padding: 8px 20px 24px;
}

.dxbx-form {
    position: relative;
    margin: 0;
    padding: 8px 20px 24px;
}

.light-blue {
    color: var(--primary-400) !important;
}

.btn {
    outline: none !important;
}

.btn-primary,
.btn-primary:focus,
.btn-primary:focus:active,
.btn-primary:active:hover,
.btn-primary[disabled],
.open>.btn-primary.dropdown-toggle {
    background-color: var(--primary-500) !important;
    border-color: var(--primary-500) !important;
}
.btn-primary:hover,
.btn-primary:hover:focus,
.open>.btn-primary.dropdown-toggle:focus {
    background-color: var(--primary-400) !important;
    border-color: var(--primary-400) !important;
}

.btn-success,
.btn-success:focus,
.btn-success:focus:active,
.btn-success:active:hover,
.btn-success[disabled] {
    background-color: var(--success-500) !important;
    border-color: var(--success-500) !important;
}
.btn-success:hover,
.btn-success:hover:focus {
    background-color: var(--success-400) !important;
    border-color: var(--success-400) !important;
}

.btn-warning,
.btn-warning:focus,
.btn-warning:focus:active,
.btn-warning:active:hover,
.btn-warning[disabled] {
    background-color: var(--warning-500) !important;
    border-color: var(--warning-500) !important;
}
.btn-warning:hover,
.btn-warning:hover:focus {
    background-color: var(--warning-300) !important;
    border-color: var(--warning-300) !important;
}

.btn-danger,
.btn-danger:focus,
.btn-danger:focus:active,
.btn-danger:active:hover,
.btn-danger[disabled] {
    background-color: var(--error-500) !important;
    border-color: var(--error-500) !important;
}
.btn-danger:hover,
.btn-danger:hover:focus {
    background-color: var(--error-400) !important;
    border-color: var(--error-400) !important;
}

.dataTable>thead>tr>th.sorting_desc:after,
.dataTable>thead>tr>th.sorting_asc:after {
    color: var(--primary-500)
}

.widget-title {
    color: var(--primary-500);
}

.no-skin .nav-list>li.open>a {
    color: var(--primary-500);
}

.ajax-loading-overlay>.ajax-loading-icon {
    border: 3px solid var(--primary-500) !important;
    border-right-color: transparent !important;
}

.ace-nav>li.light-blue>a:hover,
.ace-nav>li.light-blue>a:focus {
    background-color: var(--primary-400)
}

.select2-container--open .select2-dropdown {
    border-color: var(--primary-500) !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--primary-500) !important;
}

.date-picker-wrapper.no-shortcuts {
    background: var(--white) !important;
    border-color:  var(--primary-500) !important;
}

.date-picker-wrapper .month-wrapper table .day.checked,
.date-picker-wrapper .month-wrapper table .day.toMonth.hovering {
    background: var(--primary-300) !important;
}

.date-picker-wrapper .drp_top-bar .apply-btn {
    background: var(--primary-500) !important;
    border-color: var(--primary-500) !important;
    color: var(--white) !important;
}

.date-picker-wrapper .month-wrapper {
    border-color: var(--primary-500) !important;
}

input[type=checkbox].ace:checked+.lbl::before {
    color: var(--primary-500) !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: var(--primary-400) !important;
}

.datepicker table tr td.active:hover, .datepicker table tr td.active:hover:hover, .datepicker table tr td.active.disabled:hover, .datepicker table tr td.active.disabled:hover:hover, .datepicker table tr td.active:active, .datepicker table tr td.active:hover:active, .datepicker table tr td.active.disabled:active, .datepicker table tr td.active.disabled:hover:active, .datepicker table tr td.active.active, .datepicker table tr td.active:hover.active, .datepicker table tr td.active.disabled.active, .datepicker table tr td.active.disabled:hover.active, .datepicker table tr td.active.disabled, .datepicker table tr td.active:hover.disabled, .datepicker table tr td.active.disabled.disabled, .datepicker table tr td.active.disabled:hover.disabled, .datepicker table tr td.active[disabled], .datepicker table tr td.active:hover[disabled], .datepicker table tr td.active.disabled[disabled], .datepicker table tr td.active.disabled:hover[disabled] {
    background-color: var(--primary-500) !important;
    color: var(--white) !important;
}

.ui-dialog .ui-dialog-titlebar {
    color: var(--primary-500) !important;
}


.date-picker-wrapper .first-date-selected,
.date-picker-wrapper .last-date-selected {
    background-color: var(--primary-500) !important;
}

.date-picker-wrapper .day.checked {
    background-color: var(--primary-300);
}

.table>tbody>tr.warning>td {
    background-color: var(--warning-100);
}

input[type=email], input[type=url], input[type=search], input[type=tel], input[type=color], input[type=text], input[type=password], input[type=datetime], input[type=datetime-local], input[type=date], input[type=month], input[type=time], input[type=week], input[type=number], textarea {
    border-radius: var(--border-radius) !important;
    border-color: var(--secondary-300) !important;
}

.ui-dialog .widget-header,
.ui-jqdialog .widget-header,
.ui-dialog .widget-header input,
.ui-jqdialog .widget-header input {
    color: var(--primary-500) !important;
}

.tableButtonsPlaceholder .btn-group,
.tableButtonsPlaceholder .btn-group-vertical,
.tableButtonsPlaceholder .btn,
.pprnomenclatureTableButtonsPlaceholder .btn-group,
.pprnomenclatureTableButtonsPlaceholder .btn-group-vertical,
.pprnomenclatureTableButtonsPlaceholder .btn,
.pprsupplyTableButtonsPlaceholder .btn-group,
.pprsupplyTableButtonsPlaceholder .btn-group-vertical,
.pprsupplyTableButtonsPlaceholder .btn{
    vertical-align: top;
    margin-bottom: 0;
    margin-top: 5px;
}
.formButtonsPlaceholder {
    text-align: left;
}
.rub_up {
    width: 16px;
    height: 16px;
    display: inline-block;
    margin-left: 5px;
}
.rub_up img {
    width: 16px;
    height: 16px;
    margin-bottom: 1px;
}
#info-container {
    display: block;
    position: fixed;
    width: 350px;
    height: auto;
    top: 45px;
    right: 0;
    padding: 10px 10px 0 0;
    z-index: 1030;
}
#info-container .info-block {
    background: var(--white);
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 0 7px rgba(0,0,0,0.3);
    border-width: 2px;
    border-style: solid;
    text-align: center;
}
#info-container .info-block h1 {
    font-size: 16px;
    margin: 0 0 5px;
    text-align: center;
    font-weight: 700;
}
#info-container .info-block.success h1 {
    color: var(--success-500);
}
#info-container .info-block.alert h1 {
    color: var(--warning-500);
}
#info-container .info-block.error h1 {
    color: var(--error-500);
}
#info-container .info-block.question h1 {
    color: var(--primary-500);
}
#info-container .info-block p {
    margin-bottom: 0;
    text-align: left;
}
#info-container .info-block img {
    max-width: 100%;
}
#info-container .info-block.success {
    border-color: var(--success-500);
}
#info-container .info-block.alert {
    border-color: var(--warning-500);
}
#info-container .info-block.error {
    border-color: var(--error-500);
}
#info-container .info-block.question {
    border-color: var(--primary-500);
}
#info-container .info-block.question p {
    margin-bottom: 10px;
}
.one-entity {
    width: 150px;
    display: inline-block;
    vertical-align: bottom;
    padding-bottom: 8px;
}
.bootstrap-datetimepicker-widget th.next, .bootstrap-datetimepicker-widget th.prev {
    font-size: 10px !important;
}
.datepicker table tr td.today {
    background: var(--white) !important;
    border: 1px solid var(--primary-500)  !important;
    color: var(--primary-500) !important;
}
.datepicker table tr td.today:hover {
    color: var(--white) !important;
    background: var(--primary-500) !important;
}
.bootstrap-datetimepicker-widget .picker-switch a {
    color: var(--primary-500) !important;
}
.bootstrap-datetimepicker-widget .picker-switch a span.glyphicon-calendar {
    border-bottom: 1px solid;
    padding-bottom: 5px;
    border-top-color: var(--primary-500);
}
.bootstrap-datetimepicker-widget .picker-switch a span.glyphicon-time {
    border-top: 1px solid;
    padding-top: 5px;
}
.ajax-overlay-filterSearch {
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.4);
    position: absolute;
    top: 0;
    left: 0;
}
.table-order-items {
    margin-bottom: 0px;
}
.table-order-items tbody tr td input {
    width: 100%;
    text-align: right;
}
.table-order-items tbody tr td {
    text-align: right;
    vertical-align: middle;
}
.table-order-items tbody tr td:last-child input {
    text-align: right;
}
.table-order-items tbody tr td button.deleteBtn {
    width: 33px;
    height: 33px !important;
    background: var(--error-500) !important;
    border: 0;
    border-radius: 1px;
    color: var(--white);
}
.table-order-items tbody tr td input.nomenclature {
    width: calc(100% - 40px);
    float: left;
    text-align: left;
}
.table-order-items tbody tr td input.customer-comment-input {
    text-align: left;
}
.table-order-items tbody tr td input.supplier-comment-input {
    text-align: left;
}
.table-order-items tbody tr td button.addNewNomenclatura {
    width: 33px;
    height: 33px;
    background: var(--primary-500);
    border: 0;
    border-radius: 1px;
    color: var(--white);
    vertical-align: top;
}
.table-order-items tbody tr.error {
    background-color: var(--error-500) !important;
}
.table-order-items td.other {
    width: 50px;
}
.table-order-items td.rownumber {
    width: 30px;
}
.table-order-items td.digits {
    width: 90px;
    text-align: right;
    border-right: 1px solid var(--secondary-200);
}
.table-order-items td.comment {
    width: 200px;
    text-align: left;
}
.table-order-items td.comment-create {
    width: 250px;
    text-align: left;
}
.step-create {
    margin: 30px 0;
    text-align: center;
}
.step-create ul {
    margin: 0;
    padding: 0;
    display: inline-block;
}
.step-create ul li {
    list-style: none;
    display: inline-block;
    height: 40px;
    width: 40px;
    line-height: 40px;
    border: 1px solid var(--primary-500);
    color: var(--primary-500);
    border-radius: 50%;
    opacity: 0.6;
    font-size: 14px;
    margin-right: 35px;
    position: relative;
}
.step-create ul li:after {
    display: block;
    content: "";
    width: 40px;
    height: 3px;
    background: var(--primary-500);
    position: absolute;
    top: 19px;
    right: -41px;
    opacity: 0.4;
}
.step-create ul li:last-child:after {
    display: none;
}
.step-create ul li.done:after {
    opacity: 1;
}
.step-create ul li:last-child {
    margin-right: 0;
}
.step-create ul li.active {
    opacity: 1;
}
.step-create ul li.done {
    background: var(--primary-500);
    color: var(--white);
    opacity: 1;
}
#supplier_info_container,
#order-date-container {
    display: none;
}
.step-container.order-create-container {
    display: flex;
    flex-direction: column;
}
.order-schedule {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 700px;
    margin: 20px auto;
}
.order-schedule-container {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 25px 50px;
    background-color: var(--warning-500);
    border: 1px solid rgba(169, 68, 66, 0.29);
}
.order-schedule-title {
    font-size: 18px;
    color: var(--black);
    margin: 0;
}
.order-schedule-attention-title {
    font-size: 22px;
    color: var(--warning-500);
    margin: 20px;
    text-align: center;
}
.third-step.one-step p.order-schedule-title {
  width: auto;
  margin: 0;
}
.order-schedule-table-date-picker-container {
    width: 50%;
}
.order-schedule-table-date-picker-container-all-uhr {
    width: 70%;
}
.order-schedule-table-td-all-uhr {
    width: 30%;
}
.order-schedule-nearest-title {
    margin: 0;
}
.order-schedule-table {
    margin: 15px 0;
}
.order-schedule-table th,
.order-schedule-table td {
    padding: 5px;
}
.order-schedule-table-td.condition-type {
  width: 20%;
}
.order-schedule-date-input {
    background: var(--white) !important;
    border: 1px solid var(--secondary-300);
    color: var(--secondary-500);
}
.date.input-group.input-group-sm.uhr-date {
    display: flex;
    align-items: center;
}
.step-container .form-group {
    clear: both;
}
.step-container .form-group .control-label {
    text-align: right;
    line-height: 32px;
    float: none;
    vertical-align: top;
    padding-top: 0;
    border-radius: var(--border-radius);
}
.step-container .form-group .col-sm-6 {
    float: none;
    display: inline-block;
    vertical-align: top;
}
.step-container .form-group .col-sm-6 input {
    width: 100%;
}
.step-container .form-group .error-text {
    display: inline-block;
    width: 24%;
    color: var(--error-500);
    margin: 0;
    line-height: 1.35;
}
.step-button {
    text-align: center;
    width: 100%;
    margin: 30px 0;
}
.step-button .btn.btn-default {
    cursor: default;
    outline: 0;
}
.step-container .one-step {
    display: none;
}
.step-container .one-step:first-child {
    display: block;
}
.one-step h2 {
    text-align: center;
    margin: 30px 0 20px;
    font-size: 18px;
}
.table-new-invoice {
    margin-bottom: 0px;
}
.table-new-invoice tbody tr td input {
    width: 100%;
    text-align: right;
}
button#addTr {
    width: 100%;
    font-size: 16px;
    line-height: 21px;
}
.second-step .table-container {
    margin-bottom: 40px;
}
.first-step input {
    width: 100%;
}
.table-new-invoice tbody tr td.number {
    text-align: right;
    vertical-align: middle;
}
.table-new-invoice tbody tr td {
    text-align: left;
}
/*.table-new-invoice tbody tr td:last-child input {*/
    /*text-align: right;*/
/*}*/
.table-new-invoice tbody tr td button.deleteBtn {
    width: 33px;
    height: 33px !important;
    background: var(--error-500) !important;
    border: 0;
    border-radius: 1px;
    color: var(--white);
}
.table-new-invoice tbody tr td select.nomenclature {
    width: calc(100% - 40px);
    float: left;
    text-align: left;
}
.table-new-invoice tbody tr td button.addNewNomenclatura {
    width: 33px;
    height: 33px;
    background: var(--primary-500);
    border: 0;
    border-radius: 1px;
    color: var(--white);
    vertical-align: top;
    float: right;
}
.table-new-invoice tbody tr.error {
    background-color: var(--error-100) !important;
}
.newNomenclatura-modal {
    display: block;
    width: 530px;
    height: auto;
    padding: 15px;
    background: var(--white);
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -150px;
    margin-left: -170px;
    border: 2px solid var(--primary-500);
    z-index: 10000;
    text-align: right;
}
.newNomenclatura-modal h3 {
    margin: 5px 0 10px;
    color: var(--primary-500);
    text-align: left;
}
.newNomenclatura-modal .modal-body {
    padding: 0;
}
.newNomenclatura-modal .modal-body .form-group {
    margin-bottom: 10px;
    height: 34px;
}
.newNomenclatura-modal .modal-body .form-group label {
    display: block;
    width: 150px;
    float: left;
    text-align: right;
    line-height: 34px;
}
.newNomenclatura-modal .modal-body .form-group input {
    width: 100%;
}
.newNomenclatura-modal .modal-body .form-group .inputs {
    width: 335px;
    float: right;
}
.third-step.one-step p {
    width: auto;
    margin: auto;
}
.order-summary {
    width: 500px;
    margin: 0 auto;
}
@media (max-width: 991px) {
    .step-container .form-group .col-sm-6 {
        width: 100%;
    }
    .step-container .form-group .control-label {
        text-align: left;
    }
}
#aboutInvoice .one-entity {
    height: 34px;
    padding: 6px 10px;
    margin-top: 0;
    line-height: 34px;
    padding: 0 10px;
    background-color: var(--secondary-100);
    color: var(--secondary-700);
    border: 0;
    width: 100%;
}
#aboutInvoice input[readonly] {
    border: 0;
}
.actItems-table,
.chargeOnAct-table,
.actItems-table td {
    vertical-align: middle !important;
}
.actItems-table tbody tr td button>.ace-icon {
    margin: 0;
}
.actItems-table tbody tr td .deleteBtn {
    width: 33px !important;
    height: 33px !important;
    background: var(--error-500) !important;
    border: 0;
    border-radius: 1px !important;
    color: var(--white);
    margin: 0 !important;
    line-height: 27px;
}
.actItems-table tbody tr td .plusOne {
    width: 34px !important;
    height: 34px !important;
    border: 0;
    border-radius: 1px !important;
    color: var(--white);
    margin: 0 !important;
    padding: 0;
}
.actItems-table tbody tr td .plusOne.disable,
.actItems-table tbody tr td .plusOne.disable:hover {
    opacity: 0.6;
    cursor: default;
    background-color: var(--primary-500) !important;
}
.actItems-table tbody tr td .plusOne .ace-icon {
    font-size: 8px;
    margin-bottom: 3px;
}
.actItems-table tbody tr td.number {
    text-align: right;
}
.actItems-table tbody tr span.dash,
.table-order-items tbody tr span.dash{
    width: 33px;
    height: 33px;
    display: block;
    margin: 0 auto;
    font-size: 20px;
    line-height: 33px;
    text-align: center;
}
.actItems-table tbody tr td.error {
    background-color: var(--error-500);
}
.search-open-link {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 55px;
    color: var(--secondary-500);
    line-height: 31px;
    z-index: 1050;
}
div.input-group.input-group-sm > input.form-control,
.page-content-area .select2-choice,
textarea.textarea-with-copy-button {
    height: 34px;
    line-height: 31px;
    padding-top: 0;
    padding-bottom: 0;
}
span.ui-selectmenu-text {
    height: 34px;
    font-size: 12px;
    padding: 0.5em 2.1em 0.4em 1em;
}
.nav-list > li .submenu > li > a {
    padding-right: 23px;
}
.nav-list > li .submenu > li > a > .menu-icon.fa-cog {
    display: inline-block;
}
.label-custom {
    width: 100%;
    display: inline-block !important;
    height: 23px;
    text-align: left;
    font-size: 12px;
    margin-top: 5px;
}
.DTTT .btn-group .btn {
    margin-right: 10px;
}
.row.header {
    background-color: var(--secondary-50);
    padding: 0px 10px 10px 10px;
}
.margin-top-20 {
    margin-top: 20px;
}
.cursor-as-hand {
    cursor: pointer;
}
.boolean-widget {
    margin-top: 4px;
}
@media all and (max-width: 706px) {
    .form-actions .btn-primary,
    .form-actions .btn-success,
    .form-actions .btn-danger,
    .buttons-block .btn,
    .additional-buttons-block .btn,
    .formButtonsPlaceholder > .btn-group {
        width: 100%;
        margin-bottom: 10px !important;
        margin-top: 0px;
        margin-left: 0px !important;
    }
    .form-actions.default-buttons-block .btn {
        margin-bottom: 10px !important;
        margin-left: 0px !important;
    }
    .form-actions.default-buttons-block .btn:first-child {
        margin-left: 0px !important;
    }
}
.nextline-button {
    margin-top: 10px;
    margin-left: 0px;
    margin-right: 0 !important;
}
.buttons-block,
.additional-buttons-block {
    margin-bottom: 0px;
    display: block;
    margin-top: 20px;
    padding: 19px 0px 20px;
    width: calc(100% + 26px);
    margin-left: -13px;
}
.default-buttons-block {
    padding-right: 0px !important;
    margin-top: 0px;
}
#intervalEmpty.deleteInterval {
    display: none ;
}
div#tabs.sidebar.h-sidebar {
    position: relative !important;
    margin-bottom: 20px;
    background: var(--white);
}
div#tabs.sidebar.h-sidebar::before {
    position: relative !important;
}
.dataTables_length {
    display: inline-block;
    margin-top: 6px;
    margin-left: 6px;
    float: right;
}
.table-additional.nextline-button:not(.with-img) {
    margin-top: 10px;
}
.ui-dialog .ui-dialog-content {
    overflow: visible !important;
    min-height: auto !important;
    margin: 12px 10px 15px;
    padding: 0;
}
.ui-button.ui-widget.ui-dialog-titlebar-close {
    outline-width: 0 !important;
}
ul.tableConfig {
    list-style-type: none;
    overflow-y: auto;
    margin-left: 30px;
}
ul.tableConfig label {
    font-size: 11px;
    margin-bottom: 0;
}
ul.tableConfig input {
    position: relative;
    top: -1px;
}
#tableConfigDialog {
    margin: 0;
}
#table-config-reset.btn.btn-link {
    color: var(--secondary-400) !important;
    padding-top: 10px !important;
}
#listTable tr.selected-table-row {
    background-color: var(--secondary-50);
}
#listTable tr.selected-table-row > td[style] {
    background-color: var(--secondary-50) !important;
}
.break-words {
    word-wrap: break-word;
}
.display-flex {
    display: inline-flex;
}
div.row-icons-holder {
    flex-flow: row wrap;
    display: flex;
    justify-content: space-between;
}
div.row-icons-holder span:last-child {
    margin-right: 0px !important;
}
#listTable td.table-checkbox-column {
    vertical-align: middle;
    text-align: center;
}
#listTable td.table-buttons-column {
    vertical-align: middle;
}
#listTable td.table-icons-column {
    vertical-align: top;
}
.percent-right {
    margin-left: 5px;
}
@media all and (max-width: 480px) {
    #navbar .open ul.dropdown-navbar {
        max-width: 380px;
        height: auto;
    }
}
@media all and (max-width: 400px) {
    #navbar .open ul.dropdown-navbar {
        max-width: 330px;
        height: auto;
    }
}
@media all and (max-width: 320px) {
    #navbar .open ul.dropdown-navbar {
        max-width: 290px;
        height: auto;
    }
}
li.dropdown-header .mobile-close {
    display: none;
}
@media all and (max-width: 480px) {
    li.dropdown-header .mobile-close {
        display: block;
        position: absolute;
        right: 15px;
        top: 6px;
        z-index: 800;
    }
}
.priority_fatal {
    background-color: var(--error-500) !important;
}
.priority_fatal span {
    color: var(--error-500) !important;
}
.priority_fatal_icon {
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    color: var(--error-500);
    display: inline-block;
    font-family: FontAwesome;
    font-size: 12px;
    font-stretch: normal;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    height: 14px;
    line-height: 14px;
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
    margin-right: 5px;
    text-align: center;
    text-rendering: auto;
    text-shadow: none;
    text-transform: none;
    white-space: nowrap;
    width: 14px;
}
.priority_fatal_icon::before {
    box-sizing: border-box;
    display: inline;
    height: auto;
    width: auto;
    content: "\f071";
}
.navbar-brand img {
    height: 29px;
    width: auto;
}
/* invoice */
.datatable.invoice_items table td,
.datatable.invoice_items table th {
    vertical-align: middle;
    border: 1px solid var(--secondary-200);
    padding: 6px 8px;
}
.datatable.invoice_items table {
    border: 1px solid var(--secondary-50);
}
.datatable.invoice_items input.number {
    text-align: right;
}
.datatable.invoice_items .title {
    display: block;
    padding: 7px 20px;
}
#invoice_items.datatable.invoice_items .delimiter {
    width: 5px;
    padding: 0px;
    background-color: var(--white) !important;
    border-top: none;
    border-bottom: none !important;
}
#invoice_items .nomenclature-row.disabledRow {
    background-color: var(--secondary-50);
    color: var(--secondary-600);
}
.datatable.invoice_items td.number {
    text-align: right;
    padding-right: 20px;
    position: relative;
}
.close-left {
    position: relative;
    left: -10px;
}
.datatable.invoice_items .blue,
.datatable.invoice_items .blue input {
    font-weight: bold;
    color: var(--primary-500);
}
.datatable.invoice_items input.error {
    background: var(--error-500);
}
.datatable.invoice_items .grey {
    color: var(--error-300);
}
.datatable.invoice_items tr.error,
.datatable.invoice_items tr.error.warning,
.datatable.invoice_items tr.error.warning > td {
    background-color: var(--error-100) !important;
}
.table-striped>tbody>tr:nth-of-type(odd) {
    background-color: var(--secondary-50) !important;
}
tr.nomenclature-row-highlight {
    border: 2px solid var(--primary-500);
}
.nomenclature-highlight-input {
    border: 4px solid var(--primary-500) !important;
}
input.nomenclature-highlight-input {
    border: 4px solid var(--primary-500) !important;
}
td.receivedCount {
    max-width: 70px;
}
.egais-copyable {
    border: solid 1px grey;
    margin-right: 5px;
    padding: 2px;
    height: 28px;
}
/* invoice end*/
.ui-dialog-titlebar-close {
    float: right;
}
.ui-dialog-titlebar-close .ui-button-text {
    display: none;
}
.ui-widget-overlay {
    opacity: .50 !important;
    /* Make sure to change both of these, as IE only sees the second one */
    filter: alpha(opacity=50) !important;
    background-color: var(--secondary-800) !important;
    /* This will make it darker */
}
.detail-switch {
    float: left;
    width: 200px;
    margin-top: 7px;
    margin-bottom: 10px;
}
.detail-switch .boolean-widget {
    margin: 0 !important;
    height: 18px;
}
.detail-switch>span {
    vertical-align: super;
}
.detail-switch .boolean-widget input[type=checkbox].ace.ace-switch + .lbl {
    min-height: 18px !important;
}
.detail-switch input[type=checkbox].ace.ace-switch.ace-switch-4 + .lbl::before {
    height: 16px;
    width: 30px;
    line-height: 16px;
    text-indent: -30px;
}
.detail-switch input[type=checkbox].ace.ace-switch.ace-switch-4 + .lbl::after {
    width: 12px;
    height: 12px;
    line-height: 14px;
    font-size: 6px;
}
.detail-switch input[type=checkbox].ace.ace-switch.ace-switch-4:checked + .lbl::after {
    left: 15px;
}
.detail-switch input[type=checkbox].ace.ace-switch.ace-switch-4:checked + .lbl::before {
    text-indent: 4px !important;
}
.detail-switch .boolean-widget input[type=checkbox].ace.ace-switch.ace-switch-4 + .lbl::before,
.detail-switch input[type=checkbox].ace.ace-switch.ace-switch-5 + .lbl::before {
    content: "" !important;
}
.badge-nomenclature {
    background-color: transparent !important;
    float: right;
    margin-left: 3px;
    font-size: 9px !important;
    padding: 1px 7px !important;
}
.nomenclature-block {
    float: right;
    width: 20px;
    margin-left: 3px;
    position: relative;
}
.nomenclature-block .nomenclature-info {
    position: absolute;
    width: 210px;
    right: 5px;
    top: 30px;
    background: var(--secondary-800);
    color: var(--white);
    padding: 10px;
    display: none;
    -webkit-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;
    z-index: 100;
    box-shadow: 0 0 7px rgb(0,0,0);
}
.nomenclature-block .nomenclature-info p {
    margin-bottom: 5px;
}
.nomenclature-block .nomenclature-info p:last-child {
    margin-bottom: 0px;
}
.nomenclature-block:hover {
    cursor: pointer;
}
.nomenclature-block:hover .nomenclature-info {
    display: block;
    -webkit-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;
}
.nomenclature-row-description {
    display: none;
}
.nomenclature-row-description td {
    background-color: var(--secondary-50);
    color: var(--secondary-700);
    font-size: 10px;
}
.all-warehouse-block {
  padding-bottom: 10px;
  width: 500px;
  float: right;
  text-align: right;
  padding-right: 8px;
}
.select2-container .select2-choice .select2-arrow {
    text-align: left;
}
.datatable.invoice_items table td {
    border-left: 0;
    border-right: 0;
}
.datatable.invoice_items table .nomenclature-row-description td {
    border-top: 0;
}
.datatable.invoice_items .widget-main.no-padding .table-bordered th:first-child {
    border-left: 1px solid var(--secondary-200);
}
/*.datatable.invoice_items .widget-main.no-padding .table-bordered > thead > tr > th:last-child {*/
/*    border-right: 1px solid var(--secondary-100);*/
/*}*/
.table>thead:first-child>tr:first-child>th {
    border-top: 1px solid var(--secondary-200);
}
.nomenclature-row.error .nomenclature-block .badge.badge-info.badge-nomenclature {
    border: 1px solid var(--secondary-800);
    color: var(--secondary-800);
}
@media (max-width: 767px) {
    .detail-switch {
        float: none;
    }
    .all-warehouse-block {
        float: none;
        width: 100%;
        text-align: left;
    }
    .isActive_acceept .nomenclature-block .nomenclature-info {
        right: inherit;
    }
}
.bootstrap-datetimepicker-widget .timepicker .btn {
    margin-bottom: 0px !important;
}
#invoice_items .form-group .select2-container {
    position: relative;
    z-index: 2;
    table-layout: fixed;
}
#id_sumVat, #id_sum{
    text-align: right;
}
#reportTable td.number {
    text-align: right;
}
#reportTable td.centred,
.blankItems-table td {
    vertical-align: middle !important;
}
#reportTable td.error {
    background: var(--error-500) !important;
}
.reportTable_wrapper .dataTables_filter label {
    width: 100%;
}
#reportTable  td span.dash {
    font-size: 16px;
}
#reportTable  th.sorting_disabled {
    color: var(--secondary-600) !important;
}
@media (max-width: 786px) {
    .xs-block-padding {
        padding-left: 0;
        padding-right: 0;
    }
}
div.date.input-group input[readonly="readonly"] {
    background: var(--white) !important;
    border: 1px solid var(--secondary-300) !important;
    color: var(--secondary-500);
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
.input-group.date .input-group-addon {
    border-radius: 0 var(--border-radius) var(--border-radius) 0 !important;
}
.new_ruels_maybe {
    color: red;
}
.chargeOnAct-table {
    max-width: 100%;
    margin-bottom: 0;
    border-bottom: 1px solid var(--secondary-200);
}
.chargeOnAct-table input {
    width: 100%;
}
.chargeOnAct-table tbody tr td .deleteBtn {
    width: 33px;
    height: 33px !important;
    background: var(--error-500) !important;
    border: 0;
    border-radius: 1px;
    color: var(--white);
    margin: 0;
    line-height: 27px;
}
.chargeOnAct-table tbody tr td .btnformA,
.chargeOnAct-table tbody tr td  .btnMark,
.chargeOnAct-table tbody tr td  .btnProducer {
    width: 33px;
    height: 33px !important;
    margin: 0 4px 0 0 !important;
    line-height: 20px;
    font-size: 18px;
    padding: 0;
    text-align: center;
}
.chargeOnAct thead th, .actItems-table thead th {
    border-left: 1px solid var(--secondary-200);
}
.chargeOnAct-table .rowDop .formA_table tr th,
.chargeOnAct-table .rowDop .producer_table tr th{
    text-align: center;
    color: var(--secondary-600);
    border-left: 0;
}
.chargeOnAct-table .rowDop .formA_table tr td,
.chargeOnAct-table .rowDop .producer_table tr td{
    padding: 8px;
}
.chargeOnAct-table .rowDop .mark_table tr th {
    color: var(--secondary-600);
}
.chargeOnAct-table .rowDop .mark_table tr td {
    padding: 8px;
    text-align: center;
}
.chargeOnAct-table tr td.open {
    border: 1px solid var(--secondary-400);
    background: var(--secondary-100);
    position: relative;
}
.chargeOnAct-table tr td.open:before {
    display: block;
    content: "";
    height: 1px;
    width: 100%;
    background: var(--secondary-100);
    position: absolute;
    bottom: -1px;
    left: 0;
}
.chargeOnAct-table .hintBtn {
    width: 33px;
    height: 33px;
    border: 1px solid var(--black);
    line-height: 30px;
    text-align: center;
    font-size: 16px;
    background: transparent;
    outline: none;
}
.chargeOnAct-table .hintBtn.emptyHint {
    color: var(--error-500) !important;
    border-color: var(--error-500) !important;
    font-weight: bold;
}
.chargeOnAct-table .hintBtn.fullHint {
    color: var(--success-500) !important;
    border-color: var(--success-500) !important;
}
.chargeOnAct-table .rowDop,
.chargeOnAct-table .rowDop>td>div{
    display: none;
}
.chargeOnAct-table .rowDop>td {
    border: 1px solid var(--secondary-400);
    background: var(--secondary-100);
    padding: 0;
}
.chargeOnAct-table .rowFormA>td>div,
.chargeOnAct-table .rowProducer>td>div{
    margin: 10px 10px 0;
}
.chargeOnAct-table .rowMark>td>div {
    margin: 10px;
    text-align: center;
}
.chargeOnAct-table .rowDop h3 {
    margin: 5px 0 10px;
    text-align: center;
    font-size: 16px;
    padding-bottom: 7px;
    border-bottom: 1px solid var(--secondary-400);
}
.chargeOnAct-table .rowDop table {
    width: 100%;
}
.addNewMark {
    margin-top: 10px;
}
.chargeOnAct-table td.number,
.chargeOnAct-table td.number input {
    text-align: right;
}
.chargeOnAct-table tbody tr td.error,
.chargeOnAct-table tbody tr.error {
    background-color: var(--error-500);
}
.chargeOnAct-table tbody tr td .btnformA,
.chargeOnAct-table tbody tr td  .btnMark,
.chargeOnAct-table tbody tr td  .btnProducer{
    margin: 0 3px 0 0 !important;
}
.chargeOnAct-table tbody tr td {
    vertical-align: middle;
}
.chargeOnAct-table .rowFormA tbody tr td,
.chargeOnAct-table .rowProducer tbody tr td{
    text-align: center;
}
.chargeOnAct-table .rowMark tbody tr td {
    text-align: left;
}
.chargeOnAct-table tbody tr td.lineNumber {
    text-align: center;
}
.listError {
    padding-left: 0;
    text-align: left;
    margin-left: 20px;
}
.chargeOnAct-table .hiddenMarkCodeInfo {
    display: none;
}
.yamaps {
    width: 100%;
    height: 400px;
    display: none;
}
.sidebar .btnFeedback,
.sidebar .btnFeedback:focus,
.sidebar .btnFeedback:active{
    text-align: center;
    height: 40px;
    line-height: 42px;
    color: var(--white);
    background: var(--primary-500);
    position: relative;
    z-index: 1;
    display: block;
    text-decoration: none;
}
.sidebar .btnFeedback .fa {
    font-size: 14px;
    margin-right: 3px;
    vertical-align: text-bottom;
}
.sidebar .marketplaceBtn,
.sidebar .marketplaceBtn:focus,
.sidebar .marketplaceBtn:active{
    text-align: center;
    height: 40px;
    line-height: 42px;
    color: var(--white);
    background: var(--primary-500);
    position: relative;
    z-index: 1;
    display: block;
    text-decoration: none;
}
.sidebar .marketplaceBtn .fa {
    font-size: 14px;
    margin-right: 3px;
    vertical-align: text-bottom;
}
.sidebar.menu-min .marketplaceBtn .menu-text, .sidebar.menu-min .nav-list > li > a .arrow {
    display: none
}
.header-phone {
    font-size: 13px;
    margin: 0 0 0 92px;
    padding: 0;
    color: var(--white);
    line-height: 45px;
    float: left;
}
.header-phone .fa {
    margin-right: 5px;
    margin-left: 8px;
}
.report-filter-block {
    padding-bottom: 5px;
}
.categorySysInfo .but-refresh {
    position: absolute;
    left: 250px;
    top: 33px;
}
.categorySysInfo .label-local {
    display: inline-block !important;
    height: 23px;
    text-align: left;
    font-size: 12px;
    margin-top: 3px;
}
.categorySysInfo .btn-systemInfo {
    font-size: 22px;
    padding: 0;
    margin-right: 7px !important;
    color: var(--primary-500);
    border: 0;
    background: transparent;
    vertical-align: bottom;
    outline: none;
}
.categorySysInfo .containerSysInfo {
    display: none;
    border: 1px solid var(--secondary-200);
    padding: 10px;
    border-radius: 2px;
    background: var(--secondary-50);
    margin-bottom: 10px;
}
.categorySysInfo .titleSysInfo {
    line-height: 28px;
    margin: 0;
    font-size: 19px;
    color: var(--secondary-600);
    font-weight: lighter;
    padding: 10px;
    transition: all 0.4s linear;
    -webkit-transition:  all 0.4s linear;
    -moz-transition:  all 0.4s linear;
    -o-transition: all 0.4s linear;
}
.categorySysInfo .titleSysInfo.open {
    background: var(--primary-100);
    border: 1px solid var(--secondary-200);
    border-bottom: 0;
    border-radius: 2px;
}
.categorySysInfo:first-of-type > .titleSysInfo {
    margin-top: 10px;
}
.categorySysInfo .listBlock ul {
    display: none;
}
.categorySysInfo .btn-openList {
    clear: both;
    margin-bottom: 5px;
}
.categorySysInfo .btn-openList i.fa {
    font-size: 18px;
    margin-right: 5px;
    vertical-align: bottom;
}
.categorySysInfo .progress {
    padding: 0;
    margin: 0;
    height: 23px;
}
.categorySysInfo #btn-garbage {
    text-align:left;
    height: auto !important;
    padding: 0 !important;
}
.categorySysInfo .progress[data-percent]:after {
    line-height: 23px;
}
#listTable td code {
    background: none;
    border: none;
    height: auto;
    color: inherit;
    font-size: inherit;
    font-family: inherit;
    padding: 0;
    display: inline-block;
    width: auto;
    overflow: auto;
    text-align: left;
    max-height: 300px;
    resize: none;
}

.header-phone {
    display: flex;
    align-items: center;
    margin: 0 0 0 27px;
}
.header-phone .helpdesk-btn .fa {
    margin: 0 8px 0 0;
    font-size: 13px;
}
.header-phone .helpdesk-btn span {
    font-size: 12px;
    line-height: 12px;
}
.moreInfoContainer {
    position: absolute;
    /*top: 8px;*/
    right: 50px;
    z-index: 1050;
    cursor: default;
}
.moreInfoContainer .moreInfoloader {
    position: absolute;
    width: 100%;
    background: rgba(0,0,0,0.5);
    height: 70px;
    top: 0;
    left: 0;
    padding: 0;
}
.moreInfoContainer .moreInfoloader i {
    margin-top: 22px;
}
.moreInfoContainer .moreInfoBlock {
    position: absolute;
    width: 230px;
    text-align: left;
    background: var(--secondary-800);
    color: var(--white);
    padding: 0;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    display: none;
    z-index: 20;
    top: 19px;
    height: auto;
    right: 0px;
}
.nomenclature-row .moreInfoContainer .badge.badge-info.badge-nomenclature {
    border: 1px solid var(--secondary-800);
    color: var(--secondary-800);
    margin-top: 5px;
}
.select2-container.select2-allowclear .select2-choice .select2-chosen {
    margin-right: 70px;
}
.nomenclature-block .moreInfoBlock p {
    margin-bottom: 5px;
}
.nomenclature-block .moreInfoBlock p:last-child {
    margin-bottom: 0px;
}
.moreInfoContainer .moreInfoBlock .infoInnerBlock {
    margin: 10px 10px 5px;
}




/*  alcojournal  */
.bootstrap-datetimepicker-widget .timepicker .btn {
    margin-bottom: 0px !important;
}
.form-group .control-label {
    text-align: right;
    padding-top: 7px;
}




/*  pricecontrol  */
.table-registry-price {
    margin-bottom: 0;
}
.table-registry-price tbody tr td input {
    width: 100%;
}
button#addTr,
button#addNewTrBtn {
    width: 100%;
    font-size: 16px;
    line-height: 21px;
}
.table-registry-price tbody tr td:first-child {
    text-align: right;
    vertical-align: middle;
}
.table-registry-price tbody tr td:last-child input {
    text-align: right;
}
.table-registry-price tbody tr td button.deleteBtn {
    width: 33px;
    height: 33px !important;
    background: var(--error-500) !important;
    border: 0;
    border-radius: 1px;
    color: var(--white);
}
.table-registry-price tbody tr td button.deleteBtn.disable {
    background: var(--warning-500) !important;
    cursor: default;
}
.table-registry-price tbody tr td button.deleteBtn.disable:focus {
    outline: none;
}
.table-registry-price tbody tr.error {
    background-color: var(--error-500) !important;
}
.table-registry-price tbody tr input[readonly="readonly"] {
    border: 0;
    background: none !important;
    color: var(--secondary-700);
}
.table-registry-price tbody tr input.price[readonly="readonly"],
.table-registry-price tbody tr input.vat[readonly="readonly"],
.table-registry-price tbody tr input.dateFromDisable[readonly="readonly"] {
    text-align: right;
}
.table-registry-price #sorter {
    cursor: pointer;
    font-size: 18px;
    line-height: 9px;
    display: inline-block;
    height: 10px;
    vertical-align: inherit;
    margin-left: 5px;
}
.table-registry-price #sorter i.fa-sort-asc {
    margin-top: 3px;
}
.ajax-overlay-price {
    width: 100%;
    height: 50px;
    text-align: center;
    display: none;
    line-height: 50px;
}
.ajax-overlay-price > .ajax-loading-icon {
    width: 26px;
    height: 26px;
    -webkit-animation: rotateIcon .8s infinite linear;
    animation: rotateIcon .8s infinite linear;
}
.buyers-editor-modal {
    display: block;
    width: 600px;
    max-height: calc(100% - 105px);
    background: var(--white);
    position: fixed;
    top: 75px;
    left: 50%;
    margin-left: -230px;
    z-index: 1000;
    border-radius: 2px;
    border: 1px solid var(--secondary-200);
    overflow: auto;
}
.buyers-editor-modal .modal-head {
    padding: 0 0 0 15px;
    border-bottom: 1px solid var(--secondary-200);
    background: var(--white);
}
.buyers-editor-modal .modal-head h3 {
    margin: 10px 0;
    font-size: 15px;
    color: var(--primary-500);
}
.buyers-editor-modal .modal-body {
    max-height: calc(100% - 100px);
}
#modal_fileImport .modal-footer,
.compPriceListDiv  .modal-footer,
.buyers-editor-modal .modal-footer{
    padding: 0;
    background: 0;
    border: 0;
    text-align: center;
}
.buyers-editor-modal .modal-footer {
    padding-bottom: 10px;
}
#modal_fileImport .modal-footer .btn,
.compPriceListDiv .modal-footer .btn,
.buyers-editor-modal .modal-footer .btn {
    width: auto;
}
.buyers-editor-modal .tags .tag{
    white-space: inherit;
}
.buyers-editor-modal .dropdown-menu {
    position: inherit !important;
}
.finish-label {
    text-align: left;
}
.tab-fill-buttons .dropdown-menu {
    right: 0;
    left: auto;
    padding: 0;
}
.tab-fill-buttons .dropdown-menu li .btn {
    width: 100%;
    text-align: right;
    background: var(--white) !important;
    border: 0;
    text-shadow: none;
}
.tab-fill-buttons .dropdown-menu li .btn.btn-primary {
    color: var(--primary-500) !important;
}
.tab-fill-buttons .dropdown-menu li .btn.btn-danger {
    color: var(--error-500) !important;
}
.tab-fill-buttons.btn-group>.btn>.caret {
    margin-top: 0;
}
#modal_fileImport .modal-footer {
    padding: 0;
    background: 0;
    border: 0;
    text-align: center;
}
#modal_fileImport .modal-footer .btn {
    width: auto;
}
.disableBuyers {
    display: inline-block;
    position: relative;
    font-size: 11px;
    font-weight: normal;
    vertical-align: baseline;
    background-color: var(--secondary-300);
    color: var(--white);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
    padding: 6px 22px 6px 9px;
    margin-bottom: 3px;
    margin-right: 3px;
}
.moreBuyers.approve .finish-label,
#buyerTitle.approve {
    background: var(--secondary-100);
    border: 1px solid var(--secondary-200);
}
.moreBuyers .finish-label {
    margin-bottom: 0;
    background: var(--secondary-50);
    border: 1px solid var(--secondary-200);
    border-top: 0 !important;
}
#buyerTitle {
    margin-bottom: 0;
}




/*  alcodec  */
.alcodec-label{
    padding-right: 0 !important;
}
.alcodec-switcher{
    width: 100%;
    display: inline-block;
    margin: 0 0 5px 0;
    text-align: right;
}
.alcodec-input {
    width: 100%;
}
.alcodec-select {
    width: 100%;
}
.finish-label {
    display: block;
    height: 34px;
    padding: 6px 10px;
    margin-top: 0;
    line-height: 1.42857143;
    background-color: var(--secondary-100);
    color: var(--secondary-700);
    border: 0;
    font-size: 12px;
    width: 100%;
}
.step-content .form-group {
    margin-left: 0;
    margin-right: 0;
}
.step-content .form-group input {
    width: 100%;
}
.step-content .form-group select {
    width: 100%;
}
.step-content .step-title {
    text-align: center;
    margin: 30px 0 20px;
    font-size: 18px;
}
.recognized {
    width: 100%;
}
.recognized tr td {
    width: 50%;
    padding: 3px 0;
}
.recognized tr td:first-child {
    text-align: right;
}
.recognized tr td:last-child {
    padding-left: 15px;
}
.nav-tabs.background-blue {
    background: none !important;
    border: 0 !important;
    border-bottom: 1px solid var(--primary-500) !important;
    padding-left: 0 !important;
}
.nav-tabs.tab-color-blue > li > a,
.nav-tabs.tab-color-blue > li > a:focus {
    background-color: var(--secondary-50) !important;
    color: var(--secondary-700) !important;
    border: 1px solid #e5e5e5 !important;
    border-bottom-width: 0;
    padding-left: 25px;
    padding-right: 25px;
    margin-right: 0 !important;
}
.nav-tabs.tab-color-blue > li.active > a,
.nav-tabs.tab-color-blue > li.active > a:focus,
.nav-tabs.tab-color-blue > li.active > a:hover {
    border-color: var(--primary-500) !important;
    border-top-width: 1px;
    border-bottom: 2px solid var(--white) !important;
    padding-left: 25px;
    padding-right: 25px;
    font-weight: bold;
    color: var(--primary-500) !important;
    margin-right: 0;
    margin-top: 0;
    background: var(--white) !important;
}
#div_details .form-group,
#div_invoice .form-group,
#div_turnOver .form-group {
    padding: 0 !important;
}
#table_details thead tr th,
#table_invoices thead tr th,
#table_returns thead tr th,
#table_turnOver thead tr th {
    color: var(--secondary-600) !important;
    background: var(--secondary-100);
    background-image: -webkit-linear-gradient(top, var(--secondary-50) 0%, var(--secondary-100) 100%);
    background-image: -o-linear-gradient(top, var(--secondary-50) 0%, var(--secondary-100) 100%);
    background-image: linear-gradient(to bottom, var(--secondary-50) 0%, var(--secondary-100) 100%);
}
#table_invoices .dataTables_borderWrap .dataTables_wrapper,
#table_returns .dataTables_borderWrap .dataTables_wrapper,
#table_details_wrapper .dataTables_borderWrap .dataTables_wrapper,
#table_turnOver  .dataTables_borderWrap .dataTables_wrapper {
    margin: 7px;
}
#table_details_wrapper .details-control i {
    margin-top: 0 !important;
}
#table_turnOver tbody tr td {
    vertical-align: middle;
}
#id_text_main {
    padding-left: 15px;
    display: none;
    margin: 0 auto;
    padding: 15px;
    background: var(--secondary-50);
    margin-top: 10px;
}
#table_turnOver_wrapper div:nth-child(2) {
    overflow-x: scroll;
}
button.deleteBtn {
    width: 33px;
    height: 33px;
    background: var(--error-500);
    border: 0;
    border-radius: 1px;
    color: var(--white);
}
#but_companyInfo, #but_syncCatalog {
    height: 33px;
    border-radius: 1px;
    color: var(--white);
    vertical-align: middle;
    padding-bottom: 0;
}
#but_companyInfo > .ace-icon {
    vertical-align: top;
}
#but_syncCatalog > .ace-icon {
    vertical-align: baseline;
}
.btn > .ace-icon {
    margin-right: 5px;
}
.btn > .ace-icon.fa-plus {
    vertical-align: middle !important;
}
.table .btn {
    margin-top: 7px;
}
td.details-control {
    width: 2%;
    max-width: 30px;
}
.dataTables_wrapper input[type=text],
.dataTables_wrapper input[type=search],
.dataTables_wrapper select {
    margin: 0 !important;
}
input[readonly] {
    border: 0 !important;
}
.highlight{
    background-color: var(--error-500) !important;
}

span.tag {
    cursor: pointer;
}
#validator_table.error {
    margin-top: 25px;
    display: none;
    border: 1px solid var(--warning-500);
}
#validator_table.success {
    margin-top: 25px;
    display: none;
    border: 1px solid var(--success-500);
}
#validator_table.success .validator-header {
    border-bottom: 1px solid var(--success-500);
    background: var(--success-500);
    font-size: 12px;
}
#validator_table.error .validator-header {
    border-bottom: 1px solid var(--warning-500);
    background: var(--error-500);
    font-size: 12px;
}
#validator_table.error .validator-header .error {
    color: var(--error-500);
    font-weight: bold;
}
#validator_table .validator-header .btn-link {
    padding: 0;
}
#validator_table>div {
    padding: 10px 15px;
}
#validator_table .validator-body .valid {
    display: none;
}
#validator_table.success .validator-body {
    display: none;
}
#validator_table .validator-body .error {
    display: block;
}
#validator_table .validator-body {
    padding: 0 15px;
}
#validator_table .title {
    color: var(--primary-500);
    font-size: 16px;
    font-weight: bold;
    padding-bottom: 8px;
    margin: 25px 0 15px;
    border-bottom: 1px solid var(--primary-500);
}
#validator_table .small-title {
    color: var(--secondary-700);
    font-size: 14px;
    font-weight: bold;
}
#validator_table.error .validator_date-block {
    border-top: 1px solid var(--primary-500);
    background: var(--secondary-200);
}
#validator_table.success .validator_date-block {
    border-top: 1px solid var(--success-500);
    background: var(--white);
}
#validator_table ul.list-error {
    margin-left: 15px;
    margin-bottom: 15px;
    list-style: none;
}
#validator_table ul.list-error li:before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary-500);
    margin-right: 10px;
    vertical-align: middle;
}
#alcodecForm {
    padding-left: 12px;
    padding-right: 12px;
}
#alcodecForm .widget-box {
    border: 0;
}
#alcodecForm .widget-header {
    background: var(--white);
    border: 0;
    padding: 0;
}
#alcodecForm .widget-header h4 {
    border-bottom: 0;
    display: block;
    font-size: 19px;
    line-height: 28px;
    margin-bottom: 16px;
    margin-top: 10px;
    padding-bottom: 4px;
    color: var(--primary-500) !important;
}
#alcodecForm .widget-main {
    padding: 15px 0;
}
#alcodecForm .wizard .step-content {
    border: 1px solid var(--primary-100);
    margin-top: 25px;
    margin-bottom: 15px;
}
#id_modal_lpLabel {
    margin: 0;
    line-height: 32px;
}
#id_modal_lpLabel span {
    margin-right: 5px;
}
#alcodecForm .step-content .step-pane {
    padding: 5px 10px 15px;
}
#alcodecForm #modal_fileImport .modal-footer {
    padding: 0;
    background: 0;
    border: 0;
    text-align: center;
}
#alcodecForm #modal_fileImport .modal-footer .btn {
    width: auto;
}
#alcodecForm #modal_fileImport .modal-body>h4 {
    margin: 0 0 10px;
}
#alcodecForm #modal_fileImport .ace-file-input .ace-file-container {
    height: 34px;
}
#alcodecForm #modal_fileImport .ace-file-input .ace-file-container .ace-icon {
    line-height: 28px;
    width: 32px;
}
#alcodecForm #modal_fileImport .ace-file-input .ace-file-container .ace-file-name {
    line-height: 32px;
    height: 32px;
    padding-left: 40px;
}
#alcodecForm #modal_fileImport .ace-file-input .ace-file-container:before {
    line-height: 28px;
}
#alcodecForm #modal_fileImport .ace-file-input .remove {
    right: 0;
    top: 1px;
    width: 32px;
    height: 32px;
    line-height: 32px;
    background-color: var(--error-500);
    border-radius: 0;
}
#alcodecForm #modal_fileImport .ace-file-input .remove .fa {
    font-size: 15px;
}
#alcodecForm #modal_fileImport .ace-file-input .ace-file-container.selected {
    margin-right: 20px;
}
#alcodecForm .dataTables_wrapper .dataTables_filter label {
    width: calc(100% - 12px);
}
#alcodecForm .tabbable .tab-content {
    border: 1px solid var(--primary-500);
    border-top: 0;
}
#alcodecForm #table_turnOver_wrapper input[type=checkbox].ace.ace-switch + .lbl {
    margin-left: 10px;
}
#alcodecForm #table_turnOver_wrapper .tableButtonsPlaceholder label small{
    color: var(--secondary-700);
    font-weight: bold;
}
#alcodecForm #modal_company, #modal_lp .modal-body>h4 {
    text-align: center;
}
#alcodecForm #modal_company #table_licenses {
    color: var(--secondary-700);
}
#alcodecForm #modal_company .modal-footer {
    padding: 10px 0 0;
    background: 0;
    text-align: center;
}
#alcodecForm #modal_company .modal-footer .btn {
    width: auto;
}
#alcodecForm .wiki-link {
    text-align: center;
    margin-top: -10px;
    padding-bottom: 10px;
}

#table_turnOver tbody tr td.alco-importer {
    min-width: 300px;
}




/*  order  */
.additional-info{
    text-align: left;
    color: var(--secondary-400);
    font-size: 10px;
    line-height: 14px;
    margin-top: 2px;
}
li.select2-results__option--highlighted .additional-info {
    color: var(--secondary-100);
}
button.btn-primary.comment-sup-open-btn,
button.btn-primary.comment-open-btn,
button.btn-primary.delete-btn,
button.btn.btn-primary.add-new-manager,
button.btn.btn-primary.not-bound,
button.btn.btn-primary.open-order,
button.btn.btn-success.bind-order,
button.btnDelete {
    width: 33px;
    height: 33px !important;
    margin-top: 0;
    border: 0;
}
.table-order-items button.btn-primary.delete-btn {
    background: var(--error-500) !important;
    border: 0;
    border-radius: 1px;
    color: var(--white);
    margin-top: 0;
}
.table-order-items button.btnDelete {
    display: none;
    margin-right: 0 !important;
    color: var(--error-500) !important;
    background: transparent !important;
    margin-top: 0;
    font-size: 14px;
}
.step-button.order-step-button .btn.btn-primary{
    width: 100px !important;
}
.step-button.order-step-button .btn.statusChanger, .step-button.order-step-button .btn.repeatOrder{
    width: 160px !important;
}
.step-button.order-step-button .btn.statusChanger.createInvoice {
    width: 170px !important;
}
button.btn.btn-primary.add-new-manager{
    margin-right: 0px !important;
}
table.table.table-order-items tr.additional-info-row{
    display: none;
}
div.tab-fill-buttons{
    float: right;
    margin-bottom: 10px;
}
.add-by-buyers-nomenclature-modal {
    display: block;
    width: 530px;
    height: auto;
    padding: 15px;
    background: var(--white);
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -150px;
    margin-left: -170px;
    border: 2px solid var(--primary-500);
    z-index: 1500;
    text-align: center;
}
.additional-inline-info, span.result-count {
    font-weight: bold;
}
.additional-partner-inline-info {
    color: var(--secondary-500);
}
.search-item {
    padding: 3px;
    border: 1px solid #a2a2a2;
}
.paramsRow td label.finish-label{
    height: auto !important;
}
.table-order-items tbody tr td input {
    min-width: 73px;
}
.select2-container.select2.nomenclature {
    max-width: inherit;
}
.table-order-items tbody tr td input.customer-comment-input {
    border: 0;
    padding-left: 10px;
}
.table-order-items tbody tr td.disable {
    background: var(--secondary-50);
}
.table-order-items tbody tr td.disable .btnDelete.showBtn {
    display: inline-block;
    vertical-align: middle;
}
.table-order-items .mainRow .btn > .ace-icon {
    margin-right: 0;
}
.table-order-items tbody tr td span.infoNomenclature {
    display: none;
}
.table-order-items tbody tr td.disable span.infoNomenclature {
    display: inline-block;
    width: calc(100% - 42px);
    margin-right: 5px;
    vertical-align: inherit;
}
.table-order-items tbody tr td.items-buyers-nomenclature.disable input,
.table-order-items tbody tr td.items-buyers-nomenclature.disable .select2-container,
.table-order-items tbody tr td.items-suppliers-nomenclature.disable input,
.table-order-items tbody tr td.items-suppliers-nomenclature.disable .select2-container:not(.options-select2) {
    display: none;
}
td.number,
th.number {
    text-align: right;
}
#pprnomenclatureTable tbody tr:hover {
    cursor: pointer;
}
.buyers-nom-container {
    margin: 5px;
    display: inline-block;
    padding: 0;
    min-width: 320px;
    text-align: center;
    width: calc(100% - 580px);
    vertical-align: top;
    font-size: 20px;
    color: var(--secondary-700);
    font-weight: bold;
}
.table-order-items tbody tr td:last-child {
    min-width: 90px;
    width: 90px;
}
.table-order-items tbody tr td {
    text-align: left;
}
.table-order-items tbody tr td.number {
    text-align: center;
}
.finish-label {
    line-height: 1.3 !important;
    padding: 8px 10px !important;
}
.table-order-items tbody tr td.disable input[readonly] {
    color: var(--secondary-700);
}
.table-order-items tbody tr td.items-sum input[readonly]{
    background: var(--white) !important;
    color: var(--secondary-700);
}
.select2-results li.dopInfoOption {
    color: var(--secondary-300);
    margin-top: -7px;
    background: var(--white);
}
.select2-results li.select2-highlighted + li.dopInfoOption {
    background: var(--primary-500);
}
.finish-comment {
    display: inline-block;
    margin-left: 10px;
    width: calc(100% - 200px);
    height: auto;
    min-height: 34px;
    margin-bottom: 5px;
}
label.label-comment {
    width: 185px;
    vertical-align: top;
    line-height: 34px;
    margin-bottom: 0;
}
.table-order-items tr td.digits:first-of-type {
    border-right: 3px solid var(--secondary-700);
}
.order-nomenclature .moreInfoContainer .badge.badge-info.badge-nomenclature {
    border: 1px solid var(--secondary-800);
    color: var(--secondary-800);
}
.items-buyers-nomenclature .moreInfoContainer,
.items-suppliers-nomenclature .moreInfoContainer  {
    right: 25px;
}
.items-buyers-nomenclature .select2-container .select2-choice > .select2-chosen,
.items-suppliers-nomenclature .select2-container .select2-choice > .select2-chosen {
    margin-right: 50px;
}





/*  order-bind  */
div span .bind-order-invoice-button{
    padding-top: 0px;
    padding-bottom: 10px;
    font-size: 10px;
}
span.not-bound{
    color: var(--error-500)  !important;
    width: calc(100% - 40px);
}
span.bound{
    color: var(--success-500) !important;
    width: 100%;
}
div.order-table-header{
    background-color: var(--primary-500);
    margin-bottom: 0px;
}
div.order-bind-container table tbody tr td{
    padding-top: 2px;
    padding-bottom: 2px;
    line-height: 38px;
}
.order-items-row td{
    background: rgba(0, 172, 255, 0.05);
}
.link {
    display: inline-block;
    position: absolute;
    top: 0;
    color: var(--secondary-500);
    line-height: 33px;
    z-index: 3000;
}
.delete-link {
    right: 24px;
}
.order-link {
    right: 48px;
}

.lds-css.ng-scope {
    display: inline-block;
}
@keyframes lds-eclipse {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    50% {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@-webkit-keyframes lds-eclipse {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    50% {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
.lds-eclipse {
    position: relative;
}
.lds-eclipse div {
    position: absolute;
    -webkit-animation: lds-eclipse 1s linear infinite;
    animation: lds-eclipse 1s linear infinite;
    width: 160px;
    height: 160px;
    top: 20px;
    left: 20px;
    border-radius: 50%;
    box-shadow: 0 20px 0 0 var(--primary-500);
    -webkit-transform-origin: 80px 90px;
    transform-origin: 80px 90px;
}
.lds-eclipse {
    width: 25px !important;
    height: 25px !important;
    -webkit-transform: translate(-12.5px, -12.5px) scale(0.125) translate(12.5px, 12.5px);
    transform: translate(-12.5px, -12.5px) scale(0.125) translate(12.5px, 12.5px);
}
.select2-results .select2-highlighted {
    background: var(--primary-500) !important;
    color: var(--white) !important;
}
.select2-results li.select2-highlighted + li.dopInfoOption {
    background: var(--primary-500) !important;
}
.ui-dialog, .ui-jqdialog {
    z-index: 1050 !important;
    overflow: visible !important;
}
#manager-editor-modal .modal-body .form-group {
    margin-bottom: 10px;
    height: 34px;
}
#manager-editor-modal .modal-body .form-group label,
#inviteFriendModal .modal-body .form-group label {
    display: block;
    width: 150px;
    float: left;
    text-align: right;
    line-height: 34px;
}
#manager-editor-modal .modal-body .form-group .inputs,
#inviteFriendModal .modal-body .form-group .inputs {
    width: 335px;
    float: right;
}
.buyers-editor-modal#manager-editor-modal {
    width: 530px;
    text-align: right;
    border: 2px solid var(--primary-500);
}
.buyers-editor-modal#manager-editor-modal .modal-head h3 {
    text-align: left;
    color: var(--primary-500);
    margin: 5px 0 10px;
    font-size: 20px;
}
.buyers-editor-modal#manager-editor-modal .modal-head {
    padding: 0;
    border-bottom: none;
    margin: 20px 10px 10px;
    background: var(--white);
}
#open-manager-editor {
    margin-top: 5px;
    margin-right: 2px !important;
    width: 100%;
}
#open-manager-editor i {
    margin-right: 5px;
}
#manager-eraser {
    margin-top: 5px;
}



.actItems-table tbody tr .inputDiff_realQuantity {
    width: calc(100% - 38px);
    display: inline-block;
    text-align: right;
}

.actItems-table tbody tr .inputDiff_realVolume {
    width: calc(100% - 38px);
    display: inline-block;
    text-align: right;
}

.actItems-table tbody tr td .plusOne {
    display: inline-block;
    float: right;
}
.actItems-table tbody tr.error {
    background-color: var(--error-500);
}
.actItems-table tbody tr span.dash {
    display: inline-block;
}
.egaisact-table {
    table-layout: fixed;
}
.actItems-table tbody tr .realization-price,
.actItems-table tbody tr .realization-sum{
    text-align: right;
    max-width: 6em;
}



/* redesign */

html, body, h1, h2, h3, h4, h5, h6 {
    font-family: "Montserrat";
    font-weight: normal;
}
.navbar-header.pull-left {
    display: flex;
    align-items: center;
    height: 45px;
}
.navbar-header>ul>li.top-menu-item {
  align-items: center;
  justify-content: center;
  display: flex;
  margin-right: 24px;
}
.no-skin .navbar .navbar-toggle,
.no-skin .navbar .navbar-toggle.display {
    background-color: var(--primary-400);
}
.sidebar .btnFeedback,
.sidebar .btnFeedback:focus,
.sidebar .btnFeedback:active {
    background-color: var(--primary-500);
}
.sidebar .marketplaceBtn,
.sidebar .marketplaceBtn:focus,
.sidebar .marketplaceBtn:active {
    background-color: var(--primary-500);
}
.no-skin .nav-list>li .submenu>li.active>a,
.no-skin .nav-list>li.active>a {
    color: var(--primary-500);
}
.no-skin .nav-list li.active>a:after {
    border-right-color: var(--primary-500);
}
.nav-list>li:before {
    background-color: var(--primary-500);
}
.no-skin .nav-list>li.active:after {
    border-color: var(--primary-500);
}
.blue {
    color: var(--primary-500) !important;
}
.dataTable>thead>tr>th[class*=sorting_],
.dataTable>thead>tr>th[class*=sort]:hover {
    color: var(--primary-500);
}
.no-skin .nav-list>li>a:focus {
    color: var(--primary-500);
    background-color: var(--primary-100);
}
.no-skin .nav-list>li:hover>a {
    color: var(--primary-500);
    background-color: var(--white);
}
.dataTables_wrapper .row:first-child {
    background-color: transparent;
    border: 0;
    padding-bottom: 0;
}
.header.smaller.lighter.blue {
    border-bottom: 0;
    margin-bottom: 0;
    margin-top: 18px;
    padding-bottom: 4px;
    margin-left: 12px;
    margin-right: 12px;
    font-size: 23px;
}
.page-header {
    border-bottom: 0;
    margin-top: 18px;
    padding-bottom: 4px;
    font-size: 21px;
    color: var(--primary-500) !important;
}
.tableButtonsPlaceholder {
    padding: 0;
}
.no-skin .nav-list>li .submenu>li.active:not(.open)>a,
.no-skin .nav-list>li .submenu>li.active:not(.open)>a:hover {
    background-color: var(--primary-100);
}
.no-skin .nav-list>li>.submenu li>.submenu>li>.submenu li a {

}
.no-skin .nav-list>li>.submenu li>.submenu li.active>a {
    color: var(--primary-500) !important;
}
.scroll-bar {
    background-color: var(--primary-300);
}
.table>thead>tr {
    color: var(--secondary-700);
}
.table>thead>tr,
.dataTable>thead>tr>th.sorting_asc,
.dataTable>thead>tr>th.sorting_desc {
    background: #fff;
}
input[type=email]:focus,
input[type=url]:focus,
input[type=search]:focus,
input[type=tel]:focus,
input[type=color]:focus,
input[type=text]:focus,
input[type=password]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=date]:focus,
input[type=month]:focus,
input[type=time]:focus,
input[type=week]:focus,
input[type=number]:focus,
textarea:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
    color: var(--secondary-700);
    border-color: var(--primary-500);
    background-color: var(--white);
    outline: 0;
}
#listTable td {
    border-right: 0 !important;
    border-left: 0 !important;
}
.ace-nav>li.light-blue>a,
.ace-nav>li.open.light-blue>a {
    background-color: var(--primary-400);
}
.pagination>li.active>a, .pagination>li.active>a:focus, .pagination>li.active>a:hover {
    background-color: var(--primary-500);
    border-color: var(--primary-500);
}
.dataTables_wrapper .row:last-child {
    border-bottom: 0;
    padding-top: 10px;
    padding-bottom: 8px;
    background-color: var(--secondary-50);
}
.pager>li>a, .pagination>li>a {
    color: var(--primary-500);
}
.pager>li.disabled>a,
.pager>li.disabled>a:hover,
.pagination>li.disabled>a,
.pagination>li.disabled>a:hover,
.pager>li>a,
.pagination>li>a {
    background-color: var(--white);
    border-color: var(--secondary-200);
}
.no-skin .nav-list>li>.submenu li>.submenu>li a:hover {
    background-color: var(--primary-100);
    color: var(--primary-500);
}
.no-skin .sidebar-toggle {
    background-color: var(--secondary-50);
    border-color: var(--secondary-200);
}
.no-skin .nav-list>li>a,
.scroll-track {
    background-color: var(--secondary-50);
}
input[type=checkbox].ace.ace-switch.ace-switch-4+.lbl::before, input[type=checkbox].ace.ace-switch.ace-switch-5+.lbl::before,
input[type=checkbox].ace.ace-switch.btn-flat+.lbl::after {
    border-radius: var(--border-radius) !important;
}

input[type=checkbox].ace.ace-switch.ace-switch-4:checked+.lbl::before, input[type=checkbox].ace.ace-switch.ace-switch-5:checked+.lbl::before {
    background-color: var(--primary-500);
    border-color: var(--primary-500);
    color: var(--white) !important;
}
.dataTables_filter.open {
    background: var(--white);
}
.link-filter.open {
    background-color: var(--primary-600) !important;
    border-color: var(--primary-600) !important;
    margin: 0;
}
.no-skin .sidebar.h-sidebar .nav-list>li.active,
.no-skin .sidebar.h-sidebar .nav-list>li.active:last-child {
    border-color: var(--primary-500);
}
.sidebar.h-sidebar .nav-list>li,
.sidebar.h-sidebar .nav-list>li>a {
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}
.sidebar.h-sidebar .nav-list {
    border-bottom-color: var(--primary-500);
}
.ui-jqgrid-view>.ui-jqgrid-titlebar {
    background: var(--primary-500) !important;
}
.label.label-white {
    background-color: var(--secondary-50);
    border-radius: 4px !important;
}
.no-skin .nav-list>li .submenu>li>a {
    border: 0;
    color: var(--secondary-700) !important;
}
.accordion-style1.panel-group .panel-heading .accordion-toggle.collapsed {
    color: var(--primary-500);
}
.accordion-style1.panel-group .panel-heading .accordion-toggle:hover {
    color: var(--primary-500);
    background-color: var(--primary-100);
    text-decoration: none;
}
a {
    color: var(--primary-500);
}
#tableTtn_wrapper .table-bordered>tbody>tr>td,
#tableTtn_wrapper .table-bordered>tbody>tr>th,
#tableTtn_wrapper .table-bordered>tfoot>tr>td,
#tableTtn_wrapper .table-bordered>tfoot>tr>th {
    border-left: 0;
    border-right: 0;
}
#tableTtn_wrapper .dataTables_wrapper .row:first-child+.dataTable {
    border: 1px solid var(--secondary-200);
}
#reportTable, .chargeOnAct, .actitems {
    border: 1px solid var(--secondary-200);
}
#reportTable tbody td {
    border-right: 0;
    border-left: 0;
}
.page-header h1 {
    color: var(--primary-500);
    margin: 0;
}
.badge-info, .badge.badge-info, .label-info, .label.label-info {
    border-color: var(--primary-500);
    color: var(--primary-500);
    padding: 3px 7px;
}
li.item-blue {
    border-left-color: var(--primary-500);
}
.table-bordered {
    border: 1px solid var(--secondary-200);
}
.table-bordered>tbody>tr>td,
.table-bordered>tbody>tr>th {
    border-left: 0;
    border-right: 0;
}
.table-bordered>thead>tr>td,
.table-bordered>thead>tr>th {
    border-bottom-width: 1px;
    font-weight: bold;
}
.steps>li.active .step, .steps>li.active:before, .steps>li.complete .step, .steps>li.complete:before {
    border-color: var(--primary-500);
}
.steps>li:hover, .steps>li:hover:before, .steps>li.complete:hover:before {
    border-color: var(--primary-400);
}
.alert-info {
    color: var(--primary-500);
    background-color: var(--primary-100);
    border-color: var(--primary-100);
}
#importers_add_div #importers_add_but {
    width: 33px;
    height: 33px;
}
.tags .tag {
    background: var(--primary-500);
}
.btn-link {
    color: var(--primary-500);
}
.tags-hover, .tags-hover:hover {
    border-color: var(--primary-500);
}
.ace-file-input .ace-file-container:before {
    background-color: var(--primary-500);
}
.dropdown-navbar>li.dropdown-header {
    background-color: var(--primary-100);
    color: var(--primary-500);
    border-bottom-color: var(--secondary-200);
}
.dropdown-navbar>li.dropdown-footer>a {
    color: var(--primary-500) !important;
}
.dropdown-navbar>li.dropdown-header>.ace-icon {
    color: var(--primary-500);
}
.btn-info, .btn-info.focus, .btn-info:focus {
    background-color: var(--primary-500) !important;
    border-color: var(--primary-500);
}
.btn-white.btn-primary.active,
.btn-white.btn-primary:active,
.btn-white.btn-primary:focus,
.btn-white.btn-primary:hover,
.open>.btn-white.btn-primary.active.dropdown-toggle,
.open>.btn-white.btn-primary.dropdown-toggle {
    background-color: var(--primary-100) !important;
    border-color: var(--primary-500);
    color: var(--primary-500) !important;
}
.dropdown-menu>li.active:hover>a,
.dropdown-menu>li.active>a,
.dropdown-menu>li:hover>a,
.dropdown-menu>li>a:active,
.dropdown-menu>li>a:focus {
    background: var(--primary-500);
    color: var(--white);
}
.btn-white.btn-primary {
    border-color: var(--primary-500);
    color: var(--primary-500) !important;
}
.btn.btn-link {
    color: var(--primary-500) !important;
}
.editable-click,
a.editable-click,
a.editable-click:hover {
    border-bottom-color: var(--primary-500);
}
input[type=checkbox].ace+.lbl:hover::before,
input[type=checkbox].ace:hover+.lbl::before,
input[type=radio].ace+.lbl:hover::before,
input[type=radio].ace:hover+.lbl::before {
    border-color: var(--primary-500);
}
.nav>li>a {
    padding: 10px 6px;
}
.no-skin .nav-list>li .submenu>li>a:hover {
    color: var(--primary-500);
    background-color: var(--primary-100);
}
.table>caption+thead>tr:first-child>td,
.table>caption+thead>tr:first-child>th,
.table>colgroup+thead>tr:first-child>td,
.table>colgroup+thead>tr:first-child>th,
.table>thead:first-child>tr:first-child>td,
.table>thead:first-child>tr:first-child>th {
    position: relative;
    padding-right: 20px;
}
.dataTable>thead>tr>th[class*=sort]:after {
    right: 5px;
    position: absolute;
    top: calc(50% - 9px);
}
.dataTables_filter {
    padding: 10px;
    margin-right: -10px;
}
.dataTables_filter.open label:after {
    display: block;
    position: relative;
    content: "";
    width: calc(100% + 56px);
    height: 1px;
    background: var(--white);
    top: 11px;
    right: 10px;
    z-index: 1000;
}
.dataTables_filter.open {
    background: var(--white);
    border: 1px solid var(--primary-500);
    border-bottom: 0;
    margin-top: -5px;
}
.filterSearch-table {
    background: rgb(255, 255, 255);
    padding: 10px 10px 0;
    margin: 10px 0 10px -10px;
    border: 1px solid var(--primary-500);
    width: calc(100% + 20px);
}
.form-actions.default-buttons-block .btn,
.form-actions.default-buttons-block .btn:first-child {
    margin-left: 0px!important;
}
.imgLogo {
    margin: -4px 8px 0 0;
    border-radius: 100%;
    border: 2px solid var(--white);
    max-width: 38px;
    vertical-align: middle;
}
.login-box .toolbar>div {
    padding: 12px 0 6px;
}
.login-box .toolbar>div:first-child>a {
    margin-left: 12px;
}
.login-box .toolbar>div:first-child+div>a {
    margin-right: 12px;
}
.login-layout .widget-box {
    background: var(--primary-500);
}
.login-layout .widget-box .widget-main {
    background-color: var(--white);
}
.login-box .toolbar {
    background: var(--primary-500);
}
.login-box .info {
    color: var(--primary-500);
    padding-bottom: 10px;
    margin-top: -5px;
    text-align: center;
}
.header.blue {
    border-bottom-color: var(--primary-500);
}
.link-filter {
    margin-top: 0 !important;
}
.dataTable>thead>tr>th.sorting_disabled {
    color: var(--secondary-700);
}
#choiceAllBuyers,
#cleanAllBuyers,
#choiceAllSuppliers,
#cleanAllSuppliers {
    margin-left: 5px;
    margin-right: 0 !important;
}
#pprsupplyTable tr td.dangerPrice {
    background: var(--error-500);
}
#pprsupplyTable tr td.successPrice {
    background: var(--primary-300);
}
i.ace-icon.glyphicon-plus {
    font-family: Arial;
}
.windowInfoContainer {
    position: fixed;
    width: 100%;
    height: auto;
    background: transparent;
    bottom: 0;
    right: 0;
    display: none;
}
.windowText {
    position: fixed;
    right: 100px;
    bottom: 20px;
    width: 100%;
    max-width: 400px;
    height: auto;
    padding: 10px;
    border: 1px solid var(--primary-500);
    border-radius: 2px;
    text-align: center;
    font-size: 13px;
    background: var(--white);
    line-height: 22px;
    display: none;
    z-index: 6000;
}
.windowText p {
    color: var(--secondary-700);
    margin: 0;
}
.windowInfoContainer .windowText:before {
    content: "";
    display: block;
    border: 15px solid transparent;
    border-left: 15px solid var(--primary-500);
    position: absolute;
    right: -30px;
    bottom: 15px;
 }
.windowInfoContainer .windowText:after {
    content: "";
    display: block;
    position: absolute;
    right: -28px;
    bottom: 16px;
    border: 14px solid transparent;
    border-left: 14px solid var(--white);
}
.windowInfoContainer .windowInfo {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--primary-500);
    border-radius: 50%;
    color: var(--white);
    line-height: 50px;
    text-align: center;
    cursor: pointer;
    /*animation-name: pulse;*/
    /*-webkit-animation-name: pulse;*/
    /*animation-duration: 1.5s;*/
    /*-webkit-animation-duration: 1.5s;*/
    /*animation-iteration-count: infinite;*/
    /*-webkit-animation-iteration-count: infinite;*/
}
.windowInfoContainer .windowInfo i.fa-info {
    font-size: 26px;
    line-height: 60px;
}
.windowTextBanner {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 100%;
    max-width: 555px;
    height: auto;
    border: 1px solid var(--primary-500);
    border-radius: 2px;
    text-align: left;
    background: var(--white);
    line-height: 20px;
    display: none;
    z-index: 6000;
    overflow: auto;
    font-size: 13px;
    -ms-transform: translate(-50%,-50%);
    -moz-transform:translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}
.windowTextBanner>ol {
    margin: 0 0 0 33px;
    padding: 0;
}
.windowTextBanner>ol>li {
    margin:5px;
    font-size: 13px;
    line-height: 25px;
}
.presentsHeader {
    padding: 10px 20px 10px;
    text-align: center;
    font-size: 24px;
    margin: 0 0 1px;
    color: var(--white);
    background-color: var(--primary-500);
}
.presentsImg {
    width: 100%;
    height: 135px;
    margin-top: 10px;
    background: no-repeat url("../images/vegias_icon.png") center;
    background-size: contain;
}
.presents {
    padding: 10px 40px;
    text-align: justify;
}
.presents>p {
    margin-bottom: 7px;
}
.presents>p.attention {
    text-align: center;
}
.presents>ol {
    margin: 7px 0 10px 30px;
}
.surveyWrapper {
    background-color: var(--primary-500);
    cursor: pointer;
}
.surveyWrapper>a {
    color: var(--white);
    text-decoration: none;
}
.survey {
    margin: 0;
    text-align: center;
    color: var(--white);
    padding: 10px;
}
.egaisTextBanner-icon {
    margin-left: 5px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 23px;
    height: 21px;
    border-radius: 2px;
    font-size: 21px;
    text-align: center;
    vertical-align: center;
    background: repeat-x #3f96d4!important;
    background-image: linear-gradient(to bottom,#4a9ede 0,#348dc9 100%)!important;
    color: white;
}
.egaisTextBanner-icon>i {
    font-size: 9px;
}
.windowTextBanner ul{
    margin-bottom: 0;
}
@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0.9);
        opacity: 0.7;
    }
}
@-webkit-keyframes pulse {
    0% {
        -webkit-transform: scale(0.95);
        opacity: 0.7;
    }
    50% {
        -webkit-transform: scale(1);
        opacity: 1;
    }
    100% {
        -webkit-transform: scale(0.95);
        opacity: 0.7;
    }
}
.select2-container--default .select2-selection .select2-selection__clear {
    right: 23px;
    font-size: 19px;
    color: var(--secondary-500);
    margin-left: 5px;
}
.select2-container .select2-selection--single {
    border-radius: var(--border-radius);
    border-color: var(--secondary-300);
}
.select2-container--default.select2-container--focus .select2-selection {
    border-color: var(--primary-300);
    border-radius: var(--border-radius);
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-right: 34px;
}
.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,
.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
    border-color: var(--primary-400);
    border-bottom: var(--white);
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
.select2-container--open .select2-dropdown {
    -webkit-box-shadow: 0 5px 5px rgba(0,0,0,0.1);
    box-shadow: 0 5px 5px rgba(0,0,0,0.1);
}
.nomWithSelect {
    position: relative !important;
}
.select2-container.select2-allowclear .select2-selection__rendered {
    padding-right: 65px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 30px;
}
.manager-link {
    right: 0;
    top: 0;
    line-height: 1.5;
    float: right;
    position: relative;
    bottom: 23px;
    font-size: 17px;
    color: var(--secondary-700);
}
.selectors-row .btnDesign {
    width: 33px;
    height: 33px;
    display: block;
    font-size: 14px;
    color: var(--primary-500);
    text-align: center;
    line-height: 33px;
}
.ui-dialog .ui-dialog-buttonpane,
.ui-dialog .ui-jqdialog-buttonpane,
.ui-jqdialog .ui-dialog-buttonpane,
.ui-jqdialog .ui-jqdialog-buttonpane {
    background: var(--white) !important;
    border-top: 0 !important;
}
.blankItems-table {
    margin-bottom: 0;
    border: 1px solid var(--secondary-200);
}
.info-block.question .btn.blankBtn {
    width: 100%;
    text-align: center;
    padding: 0;
    margin-top: 5px;
}
.pprsupplyTableButtonsPlaceholder {
    position: relative;
}
.pprsupplyTableButtonsPlaceholder .btn-group,
.pprsupplyTableButtonsPlaceholder .btn-group-vertical,
.pprsupplyTableButtonsPlaceholder .btn {
    border-width: 5px;
    vertical-align: bottom !important;
    margin-bottom: 5px;
}
.pprsupplyTableButtonsPlaceholder .dataTables_filter {
    position: absolute;
    bottom: 0;
    right: 0;
}
.pprsupplyTableButtonsPlaceholder .buyers-nom-container span {
    font-weight: normal;
    font-size: 15px;
}
.pprsupplyTableButtonsPlaceholder .reload-btn,
.pprnomenclatureTableButtonsPlaceholder .reload-btn{
    display: none;
}
.tab-fill-buttons .dropdown-menu li:hover .btn.btn-primary {
    background: var(--primary-100) !important;
}
.tab-fill-buttons .dropdown-menu li:hover .btn.btn-danger {
    background: var(--error-500) !important;
}
#pprnomenclatureTable tbody tr.summ {
    font-weight: bold;
}


/* for fixedHeader */
table.fixedHeader-floating {
    position: fixed !important;
    background-color: white;
}

table.fixedHeader-floating.no-footer {
    border-bottom-width: 0;
}

table.fixedHeader-locked {
    position: absolute !important;
    background-color: white;
}

@media print {
    table.fixedHeader-floating {
        display: none;
    }
}



/*for Email*/
.commentFormContainer {
    border: 1px solid #418aca;
    margin: 20px auto;
    width: 100%;
    max-width: 800px;
}
.commentFormContainer .form-header,
.unsubscribeFormContainer  .form-header{
    height: 45px;
    background: var(--primary-500);
    position: relative;
}
.commentFormContainer .commentBlock {
    margin: 20px;
    text-align: center;
}
.commentFormContainer .commentBlock textarea {
    width: 100%;
    max-width: 600px;
    height: 100px;
    margin: 20px auto;
    display: block;
}
.commentFormContainer .detailsOrder {
    border-top: 1px solid var(--primary-500);
    padding: 20px;
}
.commentFormContainer table {
    margin: 10px 0 0;
}
.commentFormContainer table thead td {
    font-weight: bold;
}
.commentFormContainer table .nomenclatureRow {
    background: var(--secondary-50);
}
.unsubscribeFormContainer {
    border: 1px solid #418aca;
    margin: 20px auto;
    width: 100%;
    max-width: 500px;
}
.unsubscribeFormBlock {
    margin: 20px;
}
.unsubscribeFormBlock .reasonBlock label {
    display: block;
    margin: 5px 0;
}
.unsubscribeFormBlock .reasonBlock input {
    margin-right: 5px;
}
.commentFormContainer .tableContainer {
    width: 100%;
    overflow: auto;
}
@media (max-width: 786px) {
    .commentFormContainer,
    .unsubscribeFormContainer {
        margin-top: 0;
        margin-bottom: 0;
    }
}


.form-actions {
    width: 100%;
    margin-left: 0;
}

.blankItems-table table {
    margin: 0;
    border: 1px solid var(--secondary-200);
}

.blankItems-table tr  {
    background: var(--white) !important;
}
.blankItems-table tr.moreTr > td {
    background-color: rgb(249, 249, 249);
}
.buyers-editor-modal#write-choice-modal {
    max-width: 100%;
    width: 525px;
    padding: 15px;
    top: calc(50% - 70px);
}
.buyers-editor-modal#write-choice-modal .modal-head {
    border: 0;
    padding: 0;
}
.buyers-editor-modal#write-choice-modal .btn {
    margin-top: 5px;
}
.buyers-editor-modal#write-choice-modal .btn:last-of-type {
    margin-right: 0 !important;
}


#inviteFriend {
    float: right;
    margin-top: 4px;
    display: block;
}
#inviteFriendModal #inviteCancelBtn,
#infoBlockInviteFriend #inviteInfoCancelBtn {
    color: var(--error-500);
    background: var(--white);
    border: 0;
    position: absolute;
    right: 5px;
    top: 5px;
    width: 30px;
    height: 30px;
    font-size: 16px;
}
#inviteFriendModal #inviteCancelBtn:focus,
#infoBlockInviteFriend #inviteInfoCancelBtn:focus {
    outline: none;
}
.buyers-editor-modal#inviteFriendModal {
    width: 500px;
    margin-left: -190px;
}
#inviteFriendModal .modal-body .form-group .inputs {
    width: 297px;
}
#inviteFriendModal .modal-body .form-group .inputs input {
    width: 100%;
}
#inviteFriendModal .modal-body {
    text-align: center;
}
#inviteFriendModal .modal-body p {
    text-align: left;
}
#inviteFriendModal .modal-body p.agreement {
    font-size: 8px;
    margin-top: 10px;
    margin-bottom: 0;
}
#infoBlockInviteFriend {
    padding: 15px 15px 5px;
}
.egaisact-table .calculatedQuantity input {
    width: 100%;
    background: transparent !important;
    color: var(--secondary-800);
    font-size: 11px;
    text-align: right;
}
.egaisact-table td.calculatedQuantity.error input {
    background: var(--error-500) !important;
}
.filterSearch-table .form-group.multiselect .btn-group {
    margin-top: 0;
}


/*OrderBlankTemplate obt */
#pageHeaderOBT h3 {
    display: inline-block;
    margin-bottom: 20px;
    width: calc(100% - 270px);
}
#pageHeaderOBT #addBuyerBtn {
    float: right;
    margin-top: 17px;
}
.table-obt-items {
    margin-bottom: 0px;
    table-layout: fixed;
}
.table-obt-items tbody tr td input {
    width: 100%;
    text-align: right;
}
.table-obt-items tbody tr td {
    text-align: right;
    vertical-align: middle;
}
.table-obt-items tbody tr td:last-child input {
    text-align: right;
    border-right: 1px solid var(--secondary-200);
}
.table-obt-items tbody tr td input.nomenclature {
    width: calc(100% - 40px);
    float: left;
    text-align: left;
}

.table-obt-items tbody tr.error {
    background-color: var(--error-500) !important;
}
.table-obt-items tbody tr td.error {
    background-color: var(--error-500) !important;
}
.table-obt-items td.other {
    width: 50px;
}
.table-obt-items td.rownumber {
    width: 25px;
    max-width: 25px;
}
.table-obt-items td.digits {
    width: 90px;
    text-align: right;
}
.table-obt-items tbody tr span.dash {
    width: 33px;
    height: 33px;
    display: block;
    margin: 0 auto;
    font-size: 20px;
    line-height: 33px;
    text-align: center;
}
.table-obt-items button.btnDelete {
    display: none;
    margin-right: 0 !important;
    color: var(--error-500) !important;
    background: transparent !important;
    margin-top: 0;
    font-size: 14px;
}
.table-obt-items tbody tr td input {
    min-width: 73px;
}
.table-obt-items tbody tr td.disable {
    background: var(--secondary-50);
}
.table-obt-items tbody tr td.disable .btnDelete.showBtn {
    display: inline-block;
    vertical-align: middle;
}
.table-obt-items .mainRow .btn > .ace-icon {
    margin-right: 0;
}
.table-obt-items tbody tr td span.infoNomenclature {
    display: none;
}
.table-obt-items tbody tr td.disable span.infoNomenclature {
    display: inline-block;
    width: calc(100% - 42px);
    margin-right: 5px;
    vertical-align: inherit;
}
.table-obt-items tbody tr td.items-buyers-nomenclature.disable input,
.table-obt-items tbody tr td.items-buyers-nomenclature.disable .select2-container,
.table-obt-items tbody tr td.items-suppliers-nomenclature.disable input,
.table-obt-items tbody tr td.items-suppliers-nomenclature.disable .select2-container:not(.options-select2) {
    display: none;
}
.table-obt-items tbody tr td:last-child {
    min-width: 35px;
    width: 35px;
    max-width: 35px;
}
.table-obt-items tbody tr td {
    text-align: left;
}
.table-obt-items tbody tr td.number {
    text-align: right;
}
.table-obt-items tbody tr td.disable input[readonly] {
    color: var(--secondary-700);
}
.table-obt-items tbody tr td.items-sum input[readonly] {
    background: var(--white) !important;
    color: var(--secondary-700);
}
.table-obt-items tr.obt-row-group-top,
#table_ob .obt-row-group-top {
    background: var(--secondary-50);
    height: 50px;
}
#table_ob .obt-row-group-top {
    font-weight: bold;
}
#table_ob tr.obt-row-group-top td.obt-header .supplierName {
    line-height: 33px;
}
#table_ob tr.obt-row-group-top .obt-supplyDate {
    text-align: right;
    border-left: 0;
    float: right;
    width: 420px;
}
#table_ob tr.obt-row-group-top .obt-supplyDate>span {
    line-height: 33px;
    margin-right: 10px;
}
#table_ob tr.obt-row-group-top .obt-supplyDate .supplyDate-block {
    width: 125px;
    display: inline-block;
    vertical-align: top;
    margin-right: 10px;
    height: 36px;
}
#table_ob tr.obt-row-group-top .obt-supplyDate button {
    display: inline-block;
    vertical-align: top;
    margin-top: 0;
}
.table-obt-items tr.highlight {
    background: var(--primary-300) !important;
}
#row_createRowBtn td {
    padding: 0;
}
#row_createRowBtn td button {
    margin-top: 0;
}
#row_selectNomenclature {
    background: var(--primary-100);
}
#row_selectNomenclature td {
    border: 0;
}
#row_selectNomenclature td:last-of-type {
    border-right: 1px solid var(--secondary-200);
    vertical-align: middle;
    padding-left: 18px;
}
.table-obt-items .obt-nomenclature {
    width: 25%;
    min-width: 25%;
    max-width: 25%;
    position: relative;
}
.table-obt-items .obt-nomenclature span {
    /*display: inline-block;
    width: calc(100% - 41px);*/
    vertical-align: middle;
}
.table-obt-items .obt-nomenclature .price {
    width: auto;
}
.table-obt-items .moreInfoPrice {
    height: 33px;
    width: 33px;
    display: inline-block;
    border: 1px solid var(--primary-500);
    border-radius: 2px;
    text-align: center;
    line-height: 31px;
    vertical-align: middle;
    font-size: 13px;
    margin-right: 5px;
    opacity: 1;
    position: static;
}
.table-obt-items .obt-nomenclature .select-supplier-nom-block,
.table-ob-items .select-supplier-nom-block {
    width: 100%;
    border-radius: 0;
    line-height: 22px;
    border: 1px solid var(--secondary-400);
    padding: 5px 40px 5px 5px;
    height: 32px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--white);
}
.table-ob-items .select-supplier-nom-span {
    overflow: hidden;
    height: 20px;
    display: inline-block;
}
.table-obt-items .obt-nomenclature .select-supplier-nom-block.open,
.table-ob-items .select-supplier-nom-block.open {
    border: 1px solid var(--primary-500);
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
.table-obt-items .obt-nomenclature .selection__arrow,
.table-ob-items .editDopInfo .selection__arrow {
    border-color: var(--secondary-500) transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    right: 8px;
    margin-top: -2px;
    position: absolute;
    top: 50%;
    width: 0;
}
.table-obt-items .obt-nomenclature .selection__clear,
.table-ob-items .editDopInfo .selection__clear {
    position: absolute;
    right: 22px;
    font-size: 19px;
    color: var(--secondary-500);
    width: 20px;
    top: 10px;
    cursor: pointer;
}
.table-ob-items .editDopInfo .selection__clear {
    right: 15px;
    top: 4px;
}
.table-obt-items .obt-supplier {
    width: 25%;
    min-width: 25%;
    max-width: 25%;
    position: relative;
}
.table-obt-items .obt-nomenclature .findNomOneSup,
.table-ob-items .editDopInfo .findNomOneSup {
    position: absolute;
    left: 8px;
    top: 39px;
    width: calc(100% - 16px);
    background: var(--white);
    border: 1px solid var(--primary-500);
    border-top: 1px solid var(--secondary-100);
    z-index: 1000;
    box-shadow: 0 4px 5px rgba(0,0,0,0.1);
}
.table-ob-items .editDopInfo .findNomOneSup {
    top: 22px;
    width: calc(100% + 2px);
    left: -9px;
}
.table-obt-items .obt-nomenclature .findNomOneSup ul,
.table-ob-items .editDopInfo .findNomOneSup ul {
    padding: 0;
    list-style: none;
    margin: 0;
}
.table-obt-items .obt-nomenclature .findNomOneSup ul li,
.table-ob-items .editDopInfo .findNomOneSup ul li {
    font-size: 11px;
    padding: 6px;
    color: var(--secondary-800);
    cursor: pointer;
}
.table-obt-items .obt-nomenclature .findNomOneSup ul li:hover,
.table-ob-items .editDopInfo .findNomOneSup ul li:hover {
    color: var(--white);
    background-color: var(--primary-400);
}
.table-obt-items .obt-nomenclature .findNomOneSup ul li:hover p.additional-info,
.table-ob-items .editDopInfo .findNomOneSup ul li:hover p.additional-info {
    color: var(--white);
}
.table-obt-items .obt-nomenclature .findNomOneSup ul li h4,
.table-ob-items .editDopInfo .findNomOneSup ul li h4 {
    font-size: 11px;
    margin: 0;
}
.table-obt-items .obt-nomenclature .findNomOneSup ul li:last-of-type p.additional-info,
.table-ob-items .editDopInfo .findNomOneSup ul li:last-of-type p.additional-info {
    margin-bottom: 0;
}
.table-obt-items .findSupNom {
    cursor: pointer;
    color: var(--primary-500);
}
.table-obt-items .findSupNom td {
    border-top: 0 !important;
    border-bottom: 0 !important;
}
.table-obt-items .obt-row-group-bottom .obt-supplier-footer {
    padding-left: 18px;
}
.table-obt-items .infoFindSupNom {
    position: relative;
}
.table-obt-items .infoFindSupNom td {
    padding: 3px 0 3px 89px;
    position: relative;
}
.table-obt-items .infoFindSupNom td:before {
    content: "";
    display: block;
    border: 15px solid transparent;
    border-bottom: 20px solid var(--secondary-200);
    position: absolute;
    left: 49px;
    top: -11px;
}
.table-obt-items .infoFindSupNom td:after  {
    content: "";
    display: block;
    border: 15px solid transparent;
    border-bottom: 20px solid var(--white);
    position: absolute;
    left: 49px;
    top: -9px;
}



/*OrderBlank ob */
.table-ob-items {
    margin-bottom: 0px;
}
.table-ob-items tbody tr td input {
    width: 100%;
    text-align: right;
}
.table-ob-items tbody tr td {
    text-align: right;
    vertical-align: middle;
}
.table-ob-items tbody tr td:last-child input {
    text-align: right;
}
.table-ob-items tbody tr td input.nomenclature {
    width: calc(100% - 40px);
    float: left;
    text-align: left;
}
.table-ob-items tbody tr td .ob-amount-input {
    width: calc(100% - 40px);
    float: left;
}
.table-ob-items tbody tr.error {
    background-color: var(--error-500) !important;
}
.table-ob-items tbody tr td.error {
    background-color: var(--error-500) !important;
}
.table-ob-items td.other {
    width: 20px;
}
.table-ob-items td.rownumber {
    width: 30px;
}
.table-ob-items td.digits {
    width: 140px;
    text-align: right;
}
.table-ob-items tbody tr span.dash {
    width: 33px;
    height: 33px;
    display: block;
    margin: 0 auto;
    font-size: 20px;
    line-height: 33px;
    text-align: center;
}
.table-obt-items button.btn-primary.deleteGroupBtn,
.table-obt-items button.btn-primary.deleteBtn {
    background: var(--error-500) !important;
    border: 0;
    border-radius: 1px;
    color: var(--white);
    margin: 0 !important;
    width: 33px;
    height: 33px !important;
}
.table-ob-items button.btnDelete {
    display: none;
    margin-right: 0 !important;
    color: var(--error-500) !important;
    background: transparent !important;
    margin-top: 0;
    font-size: 14px;
}
.table-ob-items tbody tr td input {
    min-width: 73px;
}
.table-ob-items tbody tr td.disable {
    background: var(--secondary-50);
}
.table-ob-items tbody tr td.disable .btnDelete.showBtn {
    display: inline-block;
    vertical-align: middle;
}
.table-ob-items .mainRow .btn > .ace-icon {
    margin-right: 0;
}
.table-ob-items tbody tr td span.infoNomenclature {
    display: none;
}
.table-ob-items tbody tr td.disable span.infoNomenclature {
    display: inline-block;
    width: calc(100% - 42px);
    margin-right: 5px;
    vertical-align: inherit;
}
.table-ob-items tbody tr td.items-buyers-nomenclature.disable input,
.table-ob-items tbody tr td.items-buyers-nomenclature.disable .select2-container,
.table-ob-items tbody tr td.items-suppliers-nomenclature.disable input,
.table-ob-items tbody tr td.items-suppliers-nomenclature.disable .select2-container:not(.options-select2) {
    display: none;
}
.table-ob-items>tbody>tr>td:last-child {
    min-width: 90px;
    width: 90px;
}
.table-ob-items>tbody>tr>td {
    text-align: left;
}
.table-ob-items tbody tr td.number {
    text-align: right;
}
.table-ob-items tbody tr td.disable input[readonly] {
    color: var(--secondary-700);
}
.table-ob-items tbody tr td.items-sum input[readonly] {
    background: var(--white) !important;
    color: var(--secondary-700);
}
.table-ob-items tr.ob-row-group-top {
    background: var(--primary-300);
    height: 50px;
}
.table-ob-items tr.ob-row-group-top td.ob-header {
    padding-left: 60px;
}
.table-ob-items tr.highlight {
    background: var(--primary-300) !important;
}
#table_ob {
    width: 100%;
    max-width: 100%;
}
#table_ob .ob-button button {
    color: var(--primary-500);
    border: 0;
    background: transparent;
    outline: none;
    line-height: 24px;
    padding: 2px 7px;
    font-size: 20px;
    vertical-align: inherit;
}
.table-ob-items tbody>tr>td:last-child {
    border-right: 1px solid var(--secondary-200);
}
#table_ob .obt-row-group-bottom>td {
    font-weight: bold;
}
#table_ob .ob-nomenclature div {
    width: 100%;
    text-overflow: clip;
    overflow: hidden;
    white-space: nowrap;
}
#table_ob .ob-nomenclature span.nomSup {
    font-size: 9px;
    color: var(--secondary-400);
    max-width: 300px !important;
    display: inline-block;
}
#table_ob .dopInfoItems {
    display: none;
}
#table_ob .dopInfoItems input {
    display: inline-block;
    width: auto;
    max-width: 53px;
    min-width: auto;
}
#table_ob .dopInfoItems strong {
    font-size: 12px;
}
#table_ob .dopInfoItems>span{
    margin-right: 7px;
}
#table_ob .dopInfoItems td {
    padding: 0;
}
#table_ob .dopInfoItems td div {
    margin: 8px;
}
#table_ob .select-supplier-nom-block {
    margin: 0 10px !important;
    display: inline-block;
    vertical-align: middle;
    width: calc((100% - 250px)/2);
    overflow: visible;
}
#table_ob .dopInfoItems .supplyNomenclature {
    margin-right: 10px;
    margin-left: 15px;
    display: inline-block;
}
#table_ob .dopInfoItems .editOBSupplierBtn {
    color: var(--primary-500);
    border: 0;
    background: transparent;
    outline: none;
    line-height: 22px;
    font-size: 20px;
    vertical-align: sub;
}
#table_ob .obt-row-group-bottom.has-error {
    color: var(--error-300);
}
#table_ob .obt-row-group-bottom .commentOpenBtn {
    width: 36px;
    height: 36px !important;
    margin-top: 0px;
    border: 0px;
}
#table_ob input[readonly]:not(#id_sum):not(.ob-suggested-amount-input) {
    background: transparent !important;
    color: var(--secondary-800);
    padding: 0;
}
#table_ob .obt-row-group-bottom.has-error input[readonly]{
    color: var(--error-300);
}
#table_ob .commentRow td {
    padding: 0;
}
#table_ob .commentRow input {
    text-align: left;
    border: 0;
    padding: 10px;
}
#table_ob .obt-summ-group {
    text-align: right;
}
#table_ob tr.nullCount {
    background: var(--secondary-50);
}
#table_ob tr.obt-row-group-top .linkOrder {
    float: right;
    line-height: 33px;
}
#table_ob tr.obt-row-group-top.DRAFT {
    background: var(--primary-100);
}
#table_ob tr.obt-row-group-top.SENT {
    background: var(--warning-100);
}
#table_ob tr.obt-row-group-top.ACCEPTED {
    background: var(--warning-100);
}
#table_ob tr.obt-row-group-top.CANCELED {
    background: var(--secondary-200);
}
#table_ob tr.obt-row-group-top.DELIVERED {
    background: var(--primary-300);
}
#table_ob tr.obt-row-group-top.REFUSED {
    background: var(--error-500);
}
#table_ob .commentRow .finish-comment {
    width: 100%;
    margin: 0 !important;
    background: var(--white);
}
#table_ob tr.obt-row-group-top .obt-supplyDate .supplyDate-block .input-group,
#table_ob tr.obt-row-group-top .obt-supplyDate .supplyDate-block .input-group .form-control {
    height: 36px;
    background: var(--white) !important;
}
#table_ob tr.obt-row-group-top .obt-supplyDate .supplyDate-block .input-group .form-control  {
    padding: 7px !important;
}
#table_ob .table-condensed td {
    border: 0 !important;
}
#table_ob .editDopInfo {
    display: none;
    position: relative;
}

#table_ob .editDopInfo .btn {
    border: 0;
    border-radius: 1px;
    color: var(--white);
    margin-top: 0;
    height: 33px !important;
    width: 33px !important;
}

span.bold {
    font-weight: bold;
    font-size: 13px;
}
.egaisact-table .calculatedQuantity input {
    width: 100%;
    background: transparent !important;
    color: var(--secondary-800);
    font-size: 11px;
    text-align: right;
}
.egaisact-table td.calculatedQuantity.error input {
    background: var(--error-500) !important;
}
.egaisact-table .dopInfoActItems {
    color: var(--secondary-700);
    font-size: 10px;
    display: none;
}
.egaisact-table .dopInfoActItems p {
    display: inline-block;
    margin: 0 10px 0 0;
}

.egaisact-table th {
    padding-right: 8px !important;
}
.isNumber{
    text-align: right;
}
.emailConfirmation {
    text-align: center;
    font-size: 12px;
}

.emailConfirmation button {
    margin-top: 20px;
}

.emailConfirmation div {
    margin-top: 20px;
}

#passwordArea {
    display: none;
}

#passwordArea td {
    padding: 3px;
}

#passwordArea td.buttons {
    padding-top: 10px;
    text-align: right;
}

#passwordArea input.error {
    border-color: var(--warning-500);
    color: var(--error-300);
}

#passwordForm {
    width: 350px;
    margin: 0 auto;
    border: 2px var(--primary-500) solid;
    padding: 10px 20px 20px 20px;
}

#passwordForm table {
    width: 100%;
}

#passwordForm td {
    padding: 3px;
    text-align: right;
}

#passwordForm td.buttons {
    padding: 15px 0px 15px 10px;
    text-align: right;
}

#passwordForm #errorMsg td {
    background-color: var(--error-500);
    border: 1px var(--error-500) solid;
    color: var(--white);
    text-align: left;
    padding: 5px;
}

#addCompanyButton {
    margin-top: 10px;
}

#copyUsersButton {
    margin-top: 10px;
}

#vegais-dashboard {
    text-align: center;
}

#vegais-dashboard table {
    width: 100%;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    table-layout:fixed;
}

#vegais-dashboard table > thead > tr > th {
    text-align: center;
    padding-left: 0;
    padding-right: 0;
    border: 1px var(--secondary-200) solid;
    font-size: 12px;
    width: 90px;
}

#vegais-dashboard table > thead > tr > th:first-child {
    width: 40px;
}

#vegais-dashboard table > tbody > tr > td {
    padding-right: 0;
    border: 1px var(--secondary-200) solid;
    vertical-align: middle;
}

#vegais-dashboard table > tbody > tr > td:first-child {
    padding-left: 0;
    vertical-align: middle;
}

#vegais-dashboard h2 {
    margin-top: 30px;
}

#vegais-dashboard h6 {
    margin-bottom: 30px;
}

#vegais-dashboard .name {
    text-align: left;
    width: auto;
    padding-left: 8px!important;
}

#vegais-dashboard i.fa-check {
    color: var(--success-500);
}

#vegais-dashboard i.fa-exclamation-circle {
    color: var(--error-500);
}

#vegais-dashboard i.fa-arrow-left {
    padding-right: 5px;
}

#vegais-dashboard i.fa-arrow-right {
    padding-left: 5px;
}

#vegais-dashboard div.table-wrapper {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
}

#vegais-dashboard div.legend {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
    padding-left: 10px;
    text-align: left;
}

#vegais-dashboard div.legend i {
    width: 25px;
}

#vegais-dashboard button.goto-dxbx {
  margin-bottom: 25px;
}
.tags input[type=text],
.tags input[type=text]:focus {
    height: 30px;
}
.invoice-number-editor-modal {
    display: block;
    max-height: calc(100% - 105px);
    background: var(--white);
    position: fixed;
    top: 200px;
    left: 50%;
    margin-left: -230px;
    z-index: 1000;
    border-radius: 2px;
    border: 1px solid var(--secondary-200);
    overflow: auto;
}
.invoice-number-editor-modal label {
    margin-right: 10px;
}
.invoice-number-editor-modal input {
    width: 300px;
}
.invoice-number-editor-modal .modal-head {
    padding: 0 0 0 15px;
    border-bottom: 1px solid var(--secondary-200);
    background: var(--white);
}
.invoice-number-editor-modal .modal-head h3 {
    margin: 10px 0;
    font-size: 15px;
    color: var(--primary-500);
    font-weight: bold;
}
.invoice-number-editor-modal .modal-body {
    max-height: calc(100% - 100px);
    white-space:nowrap;
}
.invoice-number-editor-modal .modal-hint {
    font-weight: bold;
}
.invoice-number-editor-modal .modal-footer{
    padding: 0;
    background: 0;
    border: 0;
    text-align: center;
    padding-bottom: 10px;
}
.invoice-number-editor-modal .modal-footer .btn {
    width: 120px;
}

#dashboard-content i.icon-centered {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

#dashboard-content i.icon-centered::before {
    background-color: transparent;
}
.table.table-order-items>thead:first-child>tr:first-child>.thOrders,
.table.table-ob-items>thead:first-child>tr:first-child>.thOrders,
.table.table-obt-items>thead:first-child>tr:first-child>.thOrders {
    padding: 10px;
}
.table.table-order-items>thead tr:nth-child(1) th.thOrders,
.table.table-ob-items>thead tr:nth-child(1) th.thOrders,
.table.table-obt-items>thead tr:nth-child(1) th.thOrders {
    background: white;
    position: sticky;
    top: 44px;
    z-index: 10;
    /*box-shadow: 0 0.1em 0.1em -0.1em rgba(0,0,0,.125);*/
}
table tr th.thOrders{
    outline: 1px solid var(--secondary-200);
    border:none;
    outline-offset: -1px;
}
.items-buyers-suggest-count-wrapper {
    position: relative;
    display: flex;
    flex-direction: row;
    border: 1px solid var(--primary-500);
}
.buyers-suggest-count-input.suggest-count-input.buyers-input,
td.ob-suggested-amount>.items-buyers-suggest-count-wrapper>.ob-suggested-amount-input[readonly] {
    background-color: var(--white) !important;
    color: var(--secondary-500);
    text-align: center;
    padding-right: 33px;
}
td.ob-suggested-amount>.items-buyers-suggest-count-wrapper>.ob-suggested-amount-input[readonly] {
    padding: 5px 33px 6px 4px;
}
.buyers-suggest-count-input.suggest-count-input.buyers-input.suggest-count-input-disabled {
    background-color: var(--secondary-50) !important;
    padding-right: 0;
}
.table-order-items tbody tr td.items-buyers-suggest-count {
    text-align: center;
}
.table-order-items tbody tr td.items-suppliers-count {
    text-align: right;
}
.items-buyers-suggest-count-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 33px;
    color: var(--white);
    background-color: var(--primary-500);
    cursor: pointer;
}
.items-buyers-suggest-count-icon:hover {
    background-color: var(--primary-500);
}
.table.table-bordered.table-ob-items>thead>tr>th:last-child,
.table.table-bordered.table-order-items>thead>tr>th:last-child {
    border-right-color: inherit;
}
.table-ob-items tbody tr>td>.ob-suggested-amount-input-locked {
    background-color: white !important;
    text-align: center;
}

.chargeOnAct thead th, .actItems-table thead th {
    border-left: 1px solid var(--secondary-200);
}

/* Overriding bootstrap and ace styles mainly to set font-size */
body {
    font-size: 12px;
}

label {
    font-size: 12px;
}


input[type=email], input[type=url], input[type=search], input[type=tel], input[type=color], input[type=text], input[type=password], input[type=datetime],
input[type=datetime-local], input[type=date], input[type=month], input[type=time], input[type=week], input[type=number], textarea {
    font-size: 12px;
}

.form-control, output {
    font-size: 12px;
    border-radius: var(--border-radius) !important;
}

.page-header h1 {
    font-size: 22px;
}

.ui-jqgrid-view>.ui-jqgrid-titlebar {
    font-size: 13px;
}

.nav-list>li>a {
    font-size: 12px;
}

.btn {
    font-size: 12px;
    line-height: 20px;
    border-radius: var(--border-radius) !important;
}
.login-layout .widget-box .widget-body .toolbar>div>a {
    font-size: 13px;
}

.dataTables_wrapper label {
    font-size: 12px;
}

.table-header {
    font-size: 12px;
}

.alert {
    font-size: 12px;
}

.steps>li .title {
    font-size: 12px;
}

i.ace-icon.fa {
    font-size: 120%;
}


.btn-xsm{
    height: 24px !important;
    font-size: 10px;
    line-height: 1;
    padding: 2px 4px;
}

.top-additional-buttons-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.top-additional-buttons-block{
    margin-bottom: 12px;
    align-items: center;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.top-additional-buttons-block .btn{
    margin-top: 0;
    margin-bottom: -6px;
}

.dropdown-menu.info-menu {
  padding: 4px 0;
  border-radius: var(--border-radius) !important;
  right: auto;
  left: 50%;
  transform: translate(-50%, 0);
}

.dropdown-menu.info-menu hr {
  margin: 4px 0;
}

.dropdown-menu.info-menu .info-menu-item {
  padding: 5px 12px;
  text-align: center;
  font-size: 12px;
  line-height: 22px;
  cursor: pointer;
}

.dropdown-menu.info-menu .info-menu-item.info-menu-item-description {
  color: var(--black);
  border: none;
}

.dropdown-menu.info-menu .info-menu-item:hover {
  background-color: var(--secondary-50);
  color: var(--primary-500);
}

.dropdown-menu.info-menu .info-menu-item > a {
  color: var(--primary-500);
  font-size: 12px;
}

.dropdown-menu.info-menu .info-menu-item > button {
  width: 100%;
}

.dropdown-menu.info-menu .info-menu-item:hover > a {
  color: inherit;
  background-color: inherit;
}

/*error404.scala.html*/
.error404-container .img-container {
    text-align: center;
    min-height: 400px;
}
.error404-container .content-container {
    text-align: justify;
    margin: 10px auto;
    width: 570px;
    padding: 20px;
    color: var(--primary-500);
    font-size: 20px;
}
.error404-container .error-title {
    margin: 0;
}

/*writeoff.scala.html*/
.writeoff-container .input-date {
    background: var(--white) !important;
    border-color: var(--secondary-300);
    color: var(--secondary-500);
}

/*actitems.scala.html*/
.chargeOnAct .producer_table .editable-error-block {
    color: var(--error-500)
}


/*header*/
.dxbx-header {
  display: flex;
  height: 45px;
  justify-content: space-between;
  background: var(--dxbx-top-bar-background);
  position: fixed;
  z-index: 10;
  width: 100%;
  padding: 0;
}

.dxbx-header > .dxbx-logo-container {
  display: flex;
}

.dxbx-header > .dxbx-logo-container > .dxbx-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: -7px 20px 0;
  background: var(--dxbx-top-bar-logo);
  background-size: contain;
  width: 160px;
}

@media (max-width: 1366px) {
  .dxbx-header > .dxbx-logo-container > .dxbx-logo {
    background: var(--dxbx-top-bar-logo-small);
    background-size: contain;
    width: 28px;
    margin: 0 10px;
  }
}

.dxbx-header > .header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;

  margin-right: 24px;
}

.dxbx-header > .header-content > .header-content-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: rgb(255, 255, 255);
  height: 100%;
}

.dxbx-header > .header-content > .header-content-user-actions {
   display: flex;
   align-items: center;
   gap: 4px;
   line-height: 1.15;
   cursor: pointer;
}

.dxbx-header .header-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    background-color: var(--white);
    border-radius: 4px;
    border: none;
    padding: 4px 15px;
    color: var(--black);
    line-height: 1;
}

#certifications_alert_button {
  color: var(--white);
}

.dxbx-header .header-action-btn:hover,
.dxbx-header .header-action-btn:focus {
  color: var(--primary-400);
  border-color: var(--primary-400);
}

.dxbx-header .header-action-btn:hover > svg > path,
.dxbx-header .header-action-btn:focus > svg > path {
  fill: var(--primary-400);
  color: var(--primary-400);
}

@media (max-width: 768px) {
  .dxbx-header .header-action-btn {
    width: 32px;
    padding: 2.4px 0;
  };
}

@media (max-width: 425px) {
  .dxbx-header .header-action-btn {
    width: 26px;
    height: 26px;
    padding: 2.4px 0;
  };
}

@media (max-width: 768px) {
  .dxbx-header .header-action-btn > .header-action-btn-text {
    display: none;
  }
}


.notification_tasks_toggle {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.count_notification {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #fff;
}
