@import './variables.css';

/*@import url('https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700,700i');*/
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,600,600i,700,700i&subset=cyrillic-ext');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap');

html, body {
    font-family: 'Roboto', sans-serif !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    font-size: 12px;
}

body {
    min-width: 890px;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #E6E6E6 transparent;
}

*::-webkit-scrollbar {
    height: 6px;
    width: 6px;
}

*::-webkit-scrollbar-track {
    background: transparent;
}

*::-webkit-scrollbar-thumb {
    background-color: #E6E6E6;
    border-radius: 4px;
}

ul li {
    line-height: 1.5 !important;
}

.navbar-brand-wrapper {
    background: #121212;
    height: 46px;
}

body.sidebar-hidden .navbar-brand-wrapper {
    background: white !important;
}

#fix-one-row-total {
    width: fit-content !important;
    padding-right: 16px !important;
}

.money-number .fractional-part {
    font-size: 0.85rem !important;
}

.cursor-default {
    cursor: default !important;
}

.cursor-not-allowed {
    cursor: not-allowed !important;
}

.copyrights > .company-info {
    text-align: right;
}

.copyrights a {
    line-height: 1em;
    font-size: 16px;
    font-weight: normal;
    color: #0091fa !important;
    border-bottom: 1px solid #1094f7;
    text-decoration: none !important;
}

.w-40 {
    width: 40% !important;
}

.main-panel {
    min-height: calc(100vh - 46px) !important;
}

.main_panel_estimate {
    margin-top: 34px;
}

.wb-break-all {
    word-break: break-all !important;
}

.ws-nowrap {
    white-space: nowrap !important;
}

input[type="text"].disabled {
    cursor: not-allowed !important;
}

.flex-fill {
    flex: 1 1 auto !important;
}

input.form-control,
.input-group-text,
.form-group textarea,
.form-group .select2-selection--multiple,
.select2-selection--single {
    background: #ffffff !important;
    border: 1px solid #d9d9d9 !important;
}

.dates .input-group-append span {
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 9px !important;
}

.dates .input-group-append span svg {
    max-width: 10px;
}

input.form-control:focus,
input.form-control:focus ~ button,
input.form-control:focus ~ div span,
.input-group-append:focus,
.input-group-text:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group .input-wrapper:focus ~ div span,
.editable-input-group input:focus > div span,
.select2-container--default .select2-search--dropdown .select2-search__field,
.calendar-table .monthselect:focus, .calendar-table .yearselect:focus {
    border-color: #80BDFF !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border-radius: 3px;
}

.input-group.flex-row-reverse input {
    border-radius: 0 2px 2px 0 !important;
}

.input-group.flex-row-reverse .input-group-text {
    border-radius: 2px 0 0 2px !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control.has-danger,
textarea.has-danger,
input.has-danger,
.form-group.has-danger .form-control,
.form-group.has-danger textarea,
.form-group.has-danger input {
    border-color: #f90000 !important;
}

.text-light-gray {
    color: rgba(0, 0, 0, 0.5) !important;
}

.text-green {
    color: #2AB96B
}

.btn {
    padding: 7px 11px !important;
}

.btn.btn-outline-success {
    padding: unset !important;
}

.btn-group {
    border-radius: 3px !important;
}

.btn-green {
    color: #2AB96B;
    background-color: transparent;
    border-color: #2AB96B !important;;
}

.btn-green:hover {
    color: #FFFFFF;
    background-color: #2AB96B;
    border-color: #2AB96B !important;
}

.btn-danger:focus, .btn-danger.focus {
    border-color: #c9302c;
}

.btn-green:focus,
.btn-green.focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.5);
    background-color: #279852 !important;
    color: #FFFFFF !important;
}

.btn-green.disabled,
.btn-green:disabled {
    color: rgba(0, 0, 0, 0.75);
    background-color: #ffffff;
    border-color: #2AB96B !important;
    cursor: not-allowed !important;
}

.btn-green:not(:disabled):not(.disabled):active,
.btn-green:not(:disabled):not(.disabled).active,
.show > .btn-green.dropdown-toggle {
    color: #FFFFFF !important;
    background-color: #279852 !important;
    border-color: #279852 !important;
}

.btn-green:not(:disabled):not(.disabled):active:focus,
.btn-green:not(:disabled):not(.disabled).active:focus,
.show > .btn-green.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.5);
    color: #FFFFFF !important;
}

.btn-yellow {
    color: #000000;
    background-color: #FFBA41;
    border-color: #FFBA41 !important;;
}

.btn-yellow:hover {
    color: #000000;
    background-color: #FFA200;
    border-color: #FFA200 !important;
}

.btn-yellow:focus,
.btn-yellow.focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.5);
    background-color: #FFBA41 !important;
    color: #000000 !important;
}

.btn-yellow.disabled,
.btn-yellow:disabled {
    color: #000000;
    background-color: #ffffff;
    border-color: #ffa200 !important;
    cursor: not-allowed !important;
    opacity: 0.5;
}

.btn-yellow:not(:disabled):not(.disabled):active,
.btn-yellow:not(:disabled):not(.disabled).active,
.show > .btn-yellow.dropdown-toggle {
    color: #000000 !important;
    background-color: #FFBA41 !important;
    border-color: #FFBA41 !important;
}

.btn-yellow:not(:disabled):not(.disabled):active:focus,
.btn-yellow:not(:disabled):not(.disabled).active:focus,
.show > .btn-yellow.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.5);
    color: #000000 !important;
}

.btn-maxipro {
    color: #ffffff;
    background-color: #AF0C3C;
    border-color: #AF0C3C !important;
}

.btn-maxipro:hover {
    color: #ffffff;
    background-color: #AF0C3C;
    border-color: #AF0C3C !important;
}

.btn-maxipro:focus,
.btn-maxipro.focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.5);
    background-color: #AF0C3C !important;
    color: #ffffff !important;
}

.btn-maxipro.disabled,
.btn-maxipro:disabled {
    color: #000000;
    background-color: #ffffff;
    border-color: #AF0C3C !important;
    cursor: not-allowed !important;
    opacity: 0.5;
}

.btn-maxipro:not(:disabled):not(.disabled):active,
.btn-maxipro:not(:disabled):not(.disabled).active,
.show > .btn-maxipro.dropdown-toggle {
    color: #ffffff !important;
    background-color: #AF0C3C !important;
    border-color: #AF0C3C !important;
}

.btn-maxipro-img {
    height: 11px;
    margin-right: 5px;
}

.company-purchases .btn[data-action="openMaxiproSidebar"] {
    height: 28px;
}

.estimate-step-action.mass-edit-panel .btn-maxipro {
    max-height: 28px;
}

.dropify-wrapper, .dropify-wrapper .dropify-clear {
    font-family: 'Roboto', sans-serif !important;
}

.ws-pre {
    white-space: pre !important;
}

.table-flex {
    font-size: 12px;
    display: flex;
    overflow: auto;
    flex-wrap: wrap;
}

.table-head, .table-body, .table-footer {
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    -webkit-flex-direction: row;
    width: 100%;
}

.table-body {
    padding-bottom: 10px;
}

.estimate-works .table-body {
    padding-bottom: 0 !important;
}

.table-row-wrap {
    width: 100%;
}

.table-row {
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    -webkit-flex-direction: row;
    flex-wrap: nowrap;
    -webkit-flex-wrap: nowrap;
    width: 100%;
    border-bottom: 1px solid #f3f3f3;
    background-color: #fff;
    /*min-width: 1050px;*/
}

.estimate-purchases .table-row,
.company-purchases .table-row {
    min-width: 1110px !important;
}

.company-accounts-wrapper .table-row-wrap {
    min-width: 1050px !important;
}

.payments-table-wrapper .table-head,
.payments-table-wrapper .table-row-wrap,
.payment-requests-table-wrapper .table-head,
.payment-requests-table-wrapper .table-row-wrap {
    min-width: 1050px !important;
}

.estimate-purchases .table-row-wrap,
.company-purchases .table-row-wrap {
    min-width: 1110px !important;
}

.payment-requests-table-wrapper .table-row {
    min-width: 1150px !important;
}

.table-body .table-row:hover {
    background-color: #f4f4f8 !important;
}

.table-body .table-row.no-hover:hover {
    background-color: transparent !important;
}

.table-footer .table-row, .table-head .table-row, .table-striped thead {
    background: #f4f4f8;
}

.table-footer .table-row {
    border-bottom-color: #fff;
}

.import-dictionary {
    max-height: calc(100vh - 200px) !important;
    overflow-y: scroll !important;
}

.add-operation-popup .import-dictionary {
    max-height: none !important;
    overflow-y: auto !important;
}

.import-dictionary .table-row {
    min-width: auto !important;
}

.import-dictionary.disabled-group .position.group .insert i {
    display: none;
}

.table-column {
    flex-grow: 0;
    -webkit-flex-grow: 0;
    flex-shrink: 0;
    -webkit-flex-shrink: 0;
    padding: 5px;

    align-items: center;
    display: flex;
    justify-content: center;
    text-align: center;
}

.table-head > .table-row {
    height: 50px;
}

.table-head .table-column {
    display: flex;
    justify-content: center !important;
    flex-direction: column !important;
}

.table-head-group {
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    -webkit-flex-direction: row;
    width: 100%;
}

.table-head-group .table-budget-label,
.table-head-group .table-remain-label,
.table-head-group .table-purchases-label,
.table-head-group .table-plan-label,
.table-head-group .table-fact-label,
.table-head-group .table-purchases-label,
.table-head-group .table-finance-total-label,
.table-head-group .table-finance-client-label,
.table-head-group .table-process-total-label,
.table-head-group .table-finance-plan-label,
.table-head-group .table-finance-сost-price,
.table-head-group .table-finance-gross-profit,
.table-head-group .table-finance-customer-settlement,
.table-head-group .table-finance-advance-analysis,
.table-head-group .table-finance-payment-balance {
    position: relative;
    text-align: center;
    background: #f4f4f8;
    line-height: 1.5;
    padding: 10px;
    border-right: 3px solid white;
}

.table-head-group .table-budget-label {
    width: 285px;
}

.table-head-group.works .table-budget-label {
    width: 175px;
}

.table-head-group .table-purchases-label {
    width: 290px;
}

.table-head-group.works .table-purchases-label {
    width: 210px;
}

.table-head-group .table-remain-label {
    width: 100px;
}

.table-head-group .table-fact-label {
    width: 290px;
}

.table-head-group .table-plan-label {
    width: 285px;
}

.table-head-group .table-finance-total-label {
    width: 110px;
}

.table-head-group .table-finance-client-label {
    width: 330px;
}

.table-head-group .table-process-total-label {
    width: 220px;
}

.table-head-group .table-finance-plan-label {
    width: 220px;
}

.table-head-group .table-finance-сost-price {
    width: 220px;
}

.table-head-group .table-finance-gross-profit {
    width: 420px;
}

.table-head-group .table-finance-customer-settlement {
    width: 330px;
}

.table-head-group .table-finance-advance-analysis {
    width: 330px;
}

.table-head-group .table-finance-payment-balance {
    width: 220px;
}

.table-head-group .table-column:last-child {
    border-right: 0 !important;
}

.table-column.checkbox {
    width: 30px;
    overflow: hidden;
    display: block;
}

.table-head .table-column.checkbox {
    display: flex !important;
}

.table-column.draggable, .table-column.draggable-empty {
    width: 24px;
    color: #999999;
    cursor: grabbing;
}

.table-column.draggable-empty {
    cursor: default;
}

.table-column.insert {
    width: 24px;
    color: #999999;
    cursor: pointer;
}

.table-column.sort {
    width: 90px;
}

ul li ul .table-column.sort {
    padding-left: 45px;
}

.table-column.type {
    position: relative;
    width: 50px;
    padding: 0;
}

.table-head .table-column.name {
    align-items: start;
}

.table-column.name {
    position: relative;
    padding-left: 0;
    min-width: 150px;
    align-items: center;
    justify-content: start;
    text-align: left;
    word-break: break-word;
}

.estimate-extra-works .table-column.name .editable.input-block.active,
.excess-wrapper .table-column.name .editable.input-block.active {
    width: 100% !important;
}

.table-column.subcontractor-column {
    min-width: 376px !important;
}

.table-column.amount.editable {
    position: relative;
}


.table-column.name .la-comment {
    display: none;
    position: absolute;
    right: 0;
    top: 7px;
    font-size: 18px;
    cursor: pointer;
}

.table-column.react-icon {
    display: flex;
}

.react-icon {
    display: flex;
    width: 20px;
    /*display: flex;*/
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
}


.icon.icon-ruler {
    display: none;
    cursor: pointer;
}

.icon.icon-ruler:hover {
    path {
        fill: #252733;
    }
}


.icon.icon-ruler.enableIcon {
    display: block;
}

.icon.icon-ruler.enableIcon.activeIcon {
}

.reactActiveBlock {
    background: var(--Bg-global, #F4F4F8);
}

.position:hover .table-column.name .la-comment {
    display: block;
}

.position .table-column.name .la-comment.active {
    display: block;
}

.col-12.estimateRuler {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.col-12.upload-inline-text {
    padding-inline: 0 !important;
}


.form-group.estimateInput {
    width: 100%;
}

.ellipsis-wrapper {
    width: 24px;
    height: 24px;
    color: #999999;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ellipsis-wrapper:hover {
    background-color: #EAEAEE;
}

ul li ul .table-column.name {
    padding-left: 30px;
}

.table-column.default {
    width: 110px;
}

.table-column.unit {
    width: 65px;
    word-break: break-all;
}
.table-column.rounding {
    width: 110px;
    word-break: break-all;
    display: flex;
    flex-direction: row !important;
    gap: 5px;
}

.roundingOptionsWrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2px;
}

.roundingOptions {
    width: 92px;
    height: 98px;
    list-style: none;
    padding: 4px 0;
    margin-left: 0;
}

.roundingOption {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 4px 8px;
    transition: background-color 0.2s;
    &:hover {
        background-color: #f4f4f4;
    }
}

.rounding-tooltipable {
    margin-top: 5px;
    cursor: pointer;
    color: #818998;
    :hover {
        color: #0c0c0c;
    }
}
.table-column.amount {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    width: 65px;
}

.tooltip-rounding {
    padding: 8px;

    >p:last-child {
        margin: 0;
    }
}
.table-column.price {
    width: 110px;
}

.table-column.cost {
    width: 110px;
}

.table-column.date {
    width: 180px;
}

.table-column.margin {
    width: 80px;
}

.table-column.customer-price {
    width: 110px;
}

.table-column.fixed-price {
    background: #f4f4f8;
}

.table-column.customer-cost {
    width: 110px;
}

.table-column.comment {
    width: 110px;
    word-break: break-word;
}

.table-column.comment.payments {
    width: 410px !important;
}

.table-column.duration {
    width: 60px;
}

.table-column.start-date {
    width: 95px;
}

.table-column.end-date {
    width: 90px;
    align-items: start;
}

.table-column.currency {
    width: 90px;
}

.table-column.actions,
.table-column.actions-purchase {
    position: relative;
    width: 74px;
    font-weight: normal;
}

.table-column.actions-work {
    width: 90px;
}

.position-receipt .table-column.actions {
    width: 35px !important;
}

.position-receipt .table-column.name {
    padding-left: 50px !important;
}

.table-column.work-date {
    width: 90px;
}

.table-column.work-amount {
    width: 100px;
}

.table-column.actions {
    color: #999999;
}

.table-column.position-work-column {
    padding: 2px 5px !important;
}

.table-column.position-work-column.actions-work .action-work-done {
    text-decoration: none !important;
}

.table-column.actions-purchase .action-purchase-done,
.table-column.position-work-column.actions-work .action-work-done {
    display: block;
    cursor: pointer;
    padding: 0.28rem 1.375rem;
}

.action-purchase-done.btn,
.action-purchase-editable,
.action-work-done,
.action-work-editable {
    padding: 3px 11px !important;
}

.table-column.actions-purchase .action-purchase-editable,
.table-column.position-work-column.actions-work .action-work-editable {
    cursor: pointer;
    padding: 0.28rem 1.375rem;
    text-decoration: none !important;
}

.table-column.position-work-column.actions-work .action-work-editable {
    text-decoration: none !important;
}

.table-column.position-work-column.actions-work .action-work-editable,
.table-column.actions-purchase .action-purchase-editable {
    display: none;
}

.position.done .table-column.position-work-column.actions-work .action-work-editable,
.position.done .table-column.actions-purchase .action-purchase-editable {
    display: block;
    cursor: pointer;
    text-decoration: underline;
}

.position.done .table-column.position-work-column.actions-work .action-work-done,
.position.done .table-column.actions-purchase .action-purchase-done {
    display: none;
}

.table-column.purchase-price {
    width: 80px;
}

.table-column.purchase-amount,
.table-column.paid-work-amount {
    width: 100px;
}

.position-works-wrapper.done.success .table-column.status-progress,
.position.done.success .position-work-column.status-progress,
.remain-wrapper.done.success .position-work-column.status-progress,
.position.done.success .table-column.checks-wrapper {
    background: rgba(9, 183, 107, 0.2);
}

.position-works-wrapper.done.warning .table-column.status-progress,
.position.done.warning .position-work-column.status-progress,
.remain-wrapper.done.warning .position-work-column.status-progress,
.position.done.warning .table-column.checks-wrapper,
.invalid-cell {
    background: rgba(249, 0, 0, 0.2);
}

.table-column.purchase-cost,
.table-column.paid-cost,
.estimate-works .table-column.paid-cost {
    width: 110px;
}

.position.done.success .table-column.paid-cost,
.position.progress-position.done.success {
    background: rgba(9, 183, 107, 0.2);
}

.position.done.warning .table-column.paid-cost,
.position.progress-position.done.warning {
    background: rgba(249, 0, 0, 0.2);
}

.position.done .table-column.add-check i {
    display: none;
}

.table-column.remain-amount {
    width: 100px;
}

.table-column.checks-wrapper {
    width: 290px;
    padding: 0 !important;
    display: block !important;
}

.table-column.checks-wrapper .check-wrapper {
    width: 290px;
    position: relative;
}

.table-column.checks-wrapper .check-wrapper > .table-column {
    display: inline-block !important;
    position: relative;
    top: calc(50% - 16px);
    margin-left: -.36em;
}

.table-column.fact-price,
.table-column.fact-cost {
    width: 110px;
}

.table-column.fact-amount {
    width: 70px;
}

.table-column.add-check > i {
    font-size: 18px;
    cursor: pointer;
    padding: 2px;
}

.table-column.add-check {
    width: 50px;
}

.table-column.subcontractor {
    width: 50px;
    text-align: center;
}

.table-column.finance-gross-profit {
    width: 140px;
}

.table-row.table-row-no-border {
    border-bottom: none !important;
}

.table-column.position-check-column .la-comment,
.table-column.position-work-column .la-comment,
.table-column.position-excess-column .la-comment {
    display: inline !important;
    position: relative !important;
    top: auto;
    right: auto;
    font-size: 1em;
}

.table-column.position-check-column.unit,
.table-column.position-work-column.unit,
.table-column.position-check-column.purchase-unit,
.table-column.position-excess-column.purchase-unit {
    width: 65px !important;
    word-break: break-all;
}


.table-column.position-work-column.work-unit {
    width: 60px !important;
    justify-content: left;
    word-break: break-all;
}

.table-column.position-check-column.amount,
.table-column.position-work-column.amount,
.table-column.position-check-column.remain-amount,
.table-column.position-check-column.purchase-amount,
.table-column.position-excess-column.purchase-amount {
    width: 65px !important;
    align-items: flex-end;
}

.table-column.position-work-column.remain-amount {
    align-items: center !important;
}

.table-column.position-check-column.supplier,
.table-column.position-excess-column.supplier {
    width: 150px !important;
    max-width: 150px;
    overflow-y: auto;
}

.table-column.position-check-column.supplier.sortable {
    flex-direction: row !important;
}

.table-column.position-check-column.statuses-wrapper,
.table-column.position-excess-column.statuses-wrapper {
    width: 130px !important;
    position: relative;
    justify-content: flex-start;
}

.table-column.position-check-column.statuses-wrapper,
.table-column.position-excess-column.statuses-wrapper {
    flex-wrap: wrap !important;
}

.table-column.position-check-column.statuses-wrapper .status-wrapper,
.table-column.position-excess-column.statuses-wrapper .status-wrapper {
    width: calc(100% - 28px);
}

.table-column.position-check-column.multiply-label,
.table-column.position-work-column.multiply-label,
.table-column.position-work-column.equal-label,
.table-column.position-check-column.purchase-multiply-label,
.table-column.position-excess-column.purchase-multiply-label {
    width: 16px !important;
    text-align: center;
}

.table-column.position-check-column.cost,
.table-column.position-work-column.cost,
.table-column.position-work-column.cost-wrapper,
.table-column.position-excess-column.cost,
.table-column.position-check-column.cost-wrapper,
.table-column.position-check-column.purchase-cost-wrapper,
.table-column.position-excess-column.purchase-cost-wrapper {
    width: 80px !important;
    text-align: left !important;
}

.table-column.position-check-column.budget,
.table-column.position-work-column.budget,
.table-column.position-check-column.purchased {
    width: 226px !important;
    text-align: center !important;
}

.table-column.position-check-column.cost-wrapper,
.table-column.position-work-column.cost-wrapper,
.table-column.position-check-column.purchase-cost-wrapper,
.table-column.position-excess-column.purchase-cost-wrapper {
    flex-wrap: wrap;
}

.table-body .table-column.position-check-column.cost-wrapper {
    border-right: 1px solid #eaeaea;
}

.table-body .table-column.position-work-column.cost-wrapper {
    border-right: 1px solid #eaeaea;
}

.table-body .position-works-wrapper .position-work-column.name {
    border-right: 1px solid #eaeaea;
}

.position-request-status {
    position: absolute;
    right: 4px;
    top: 6px;
    color: #FAD275;
    cursor: pointer;
}

.position-request-status.approved {
    color: #2AB96B;
}

.position-request-status.declined {
    color: #F1190F;
}

.table-column.position-check-column.actions-purchase,
.table-column.position-work-column.actions-work {
    width: 110px !important;
    flex-wrap: wrap;
}

.position-works-wrapper .remove-work {
    display: none;
    /*padding: 5px 0;*/
}

.position-works-wrapper .position-work:hover .remove-work {
    display: block;
}

.position-works-wrapper.disable-remove-work .remove-work,
.position-works-wrapper.done .remove-work,
.position-works-wrapper.done .add-subcontractor {
    display: none !important;
}

.position-works-wrapper .position-work-column.name .remove-subcontractor {
    display: none;
}

.position-works-wrapper:not(.done) .position-work-column.name:hover .remove-subcontractor {
    display: block;
}

.table-column.position-work-column.start-date {
    width: 70px !important;
    flex-wrap: wrap;
}

.position-checks-wrapper .position-check-column.name,
.position-checks-wrapper .position-work-column.name {
    justify-content: flex-end !important;
    align-content: flex-end !important;
    padding-left: 20px;
}

.remain-wrapper .position-check-column.name {
    justify-content: flex-end !important;
    align-content: flex-end !important;
    padding-left: 20px;
}

ul ul .position-checks-wrapper .position-check-column.name,
ul ul .remain-wrapper .position-check-column.name {
    padding-left: 50px !important;
}

.table-column.position-work-column.status-progress {
    width: 347px !important;
    text-align: center;
    position: relative;
    padding: 2px 5px;
}

.table-column.position-work-column.status-progress > div.add-work-wrapper {
    position: absolute;
    bottom: 0;
}

.table-column.name.sortable {
    align-items: center;
    justify-content: flex-start !important;
    flex-direction: row !important;
}

.position-check-row,
.position-excess-row {
    position: relative;
}

.table-row-wrap.done.success .position-check-row .table-column.position-check-column.purchase-amount,
.table-row-wrap.done.success .position-check-row .table-column.position-check-column.purchase-price,
.table-row-wrap.done.success .position-check-row .table-column.position-check-column.purchase-unit,
.table-row-wrap.done.success .position-check-row .table-column.position-check-column.purchase-cost-wrapper,
.table-row-wrap.done.success .position-check-row .table-column.position-check-column.purchase-multiply-label {
    background: rgba(9, 183, 107, 0.2);
}

.table-row-wrap.done.warning .position-check-row .table-column.position-check-column.purchase-amount,
.table-row-wrap.done.warning .position-check-row .table-column.position-check-column.purchase-price,
.table-row-wrap.done.warning .position-check-row .table-column.position-check-column.purchase-unit,
.table-row-wrap.done.warning .position-check-row .table-column.position-check-column.purchase-cost-wrapper,
.table-row-wrap.done.warning .position-check-row .table-column.position-check-column.purchase-multiply-label {
    background: rgba(249, 0, 0, 0.2);
}

.table-column.name .position-name-icons {
    height: 16px;
}

.table-column.name .position-name-icons .comment-action-icon svg {
    margin-bottom: -1px;
    width: 16px;
}

.estimate-works .position-name-icons .comment-action-icon svg {
    margin-bottom: -3px;
}

/** PAYMENT POPUP **/
#payment_modal .table-row {
    min-width: 800px;
}

#payment_modal .payment-comment span {
    height: 21px !important;
}

#payment_modal .editable .editable-wrapper {
    width: 100%;
}

.modal #payment_modal .table-flex {
    overflow: initial !important;
}

.table-column.payment-date {
    width: 15%;
}

.table-column.payment-sum {
    width: 15%;
}

.table-column.payment-comment {
    position: relative;
    padding-left: 0;
    min-width: 200px;
    align-items: center;
    justify-content: start;
    text-align: left;
}

.table-column.payment-comment > span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 350px;
    min-width: 100%;
    height: 100%;
}

.table-column.payment-finance-approve {
    width: 110px;
    text-align: center !important;
}

.table-body .table-column.payment-finance-approve {
    font-weight: bold;
    color: #4caf50;
}

.table-column.payment-subcontractor {
    width: 200px;
}

.table-column.payment-action {
    width: 60px;
}

/** END PAYMENT POPUP **/

.table-row .table-column.auto-width {
    flex: 1 1 auto !important;
}

.table-flex ul {
    width: 100% !important;
    list-style: none;
}

.table-flex ul, .table-flex ul li {
    padding: 0 !important;
    margin: 0 !important;
    font-size: 12px !important;
}

.table-flex ul ul {
    page-break-before: always;
}

.table-flex.table-bordered {
    border: 0 !important;
    border-bottom: 1px solid #f3f3f3 !important;
    border-right: 1px solid #f3f3f3 !important;
}

.table-flex.table-bordered .table-row {
    border: none !important;
}

.table-flex.table-bordered .table-row .table-column {
    border-left: 1px solid #f3f3f3;
    border-top: 1px solid #f3f3f3;
}

.table-column.help-column:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.help-tooltip {
    width: 130px;
    padding: 7px;
}

.table-flex li.collapsed ul {
    display: none;
}

/*Position*/

.toolbar-item {
    display: inline-flex;
    padding: 16px 15px 16px !important;
    position: relative;
    border: none !important;
    background: transparent !important;
    cursor: pointer;
    font-weight: bold;
    color: #fff;
}

.mass-edit-toolbar .toolbar-item:hover {
    background: #fff !important;
    color: #B8BDCF;
}

.toolbar-item-icon {
    display: inline-block;
    top: 3px;
    position: relative;
    margin: 0 0 0 4px;
}

.toolbar-item-icon-left {
    position: relative;
    margin: 0 4px !important;
    top: 2px;
}

.toolbar-item-submenu {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    width: 210px;
    padding: 10px 0;
    -webkit-box-shadow: 10px 0 15px 0 rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 10px 0 15px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.2) !important;
    background: #fff;
    transition: all 0.5s linear;
    z-index: 2;
}

.toolbar-item:hover .toolbar-item-submenu {
    display: block;
}

.toolbar-item-submenu-item {
    display: block;
    width: 100%;
    border: 0;
    text-align: left;
    font-size: 12px;
    padding: 5px 20px;
    background: #fff;
}

.toolbar-item-submenu-item[data-action="changeTypePositions"] {
    display: flex;
    align-items: center;
    padding-top: 2px;
    padding-bottom: 2px;
}

.toolbar-item-submenu-item[data-action="changeTypePositions"] .position-type {
    margin-right: 5px;
}

.toolbar-item-submenu-item:hover {
    background: #f4f4f8;
    cursor: pointer;
}

.toolbar-item-submenu-item.disabled {
    color: #bfbfbf;
}

.toolbar-item-submenu-item:disabled {
    background: #fff !important;
}

.position {
    position: relative;
    min-height: 35px;
}

.table-row.group {
    font-weight: bold;
}

.table-row.group .group-icons,
.position.in-group .position-icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.table-row.group .group-icons svg,
.position.in-group .position-icons svg {
    width: 18px;
    cursor: pointer;
    visibility: hidden;
}

.table-row.group:not(.locked):hover .group-icons svg,
.table-row.position.in-group:not(.locked):hover .position-icons svg {
    fill: #AEAEAE;
}

.table-row.group .group-icons svg:hover,
.table-row.group .group-icons svg.active-icon,
.table-row.position.in-group .position-icons svg:hover,
.table-row.position.in-group .position-icons svg.active-icon {
    fill: #12131A !important;
}

.table-row.group .group-icons svg.active-icon,
.table-row.group:not(.locked):hover .group-icons svg,
.table-row.position.in-group .position-icons svg.active-icon,
.table-row.position.in-group:not(.locked):hover .position-icons svg {
    visibility: visible;
}

.position .collapse-group {
    display: none;
    cursor: pointer;
}


#recalculation {
    margin-left: 2px;
}

#recalculation, svg#recalculation:hover, svg#recalculation.active {
    fill: none !important;
}

svg#recalculation:hover path, svg#recalculation.active path {
    stroke: #12131A !important;
    visibility: visible;
}

svg#recalculation.active {
    visibility: visible !important;
}

.position .add-after-button {
    position: absolute;
    bottom: -10px;
    left: 85px;
    border-radius: 50%;
    line-height: 1em;
    width: 18px;
    height: 18px;
    text-align: center;
    padding: 0 0 0 2px !important;
    z-index: 2;
    font-weight: bold !important;
    font-size: 12px !important;
}

.position .add-check-button {
    position: absolute;
    bottom: -10px;
    left: 85px;
    border-radius: 3px;
    line-height: 1.2em;
    height: 18px;
    text-align: center;
    padding: 0 4px !important;
    z-index: 2;
    font-size: 12px !important;
}

.position-check-row .remove-check-button,
.position-check-row .create-payment-request-button,
.position-excess-row .create-payment-request-button {
    position: absolute;
    bottom: -10px;
    left: 85px;
    border-radius: 50%;
    line-height: 1em;
    width: 18px;
    height: 18px;
    text-align: center;
    padding: 0 0 0 2px !important;
    z-index: 2;
    font-weight: bold !important;
    font-size: 12px !important;
}

.position-check-row .create-payment-request-button {
    width: auto !important;
    border-radius: 3px !important;
    padding: 0 4px !important;
    font-weight: normal !important;
    left: 110px !important;
}

.position-check-row.position .create-payment-request-button {
    left: 154px !important;
}

.position-excess-row .create-payment-request-button {
    width: auto !important;
    border-radius: 4px !important;
    padding: 0 4px !important;
    font-weight: normal !important;
}

.position .add-dictionary-after-button {
    position: absolute;
    bottom: -10px;
    left: 110px;
    border-radius: 50%;
    line-height: 1em;
    width: 18px;
    height: 18px;
    text-align: center;
    padding: 0 0 0 2px !important;
    z-index: 2;
    font-weight: bold !important;
    font-size: 12px !important;
}

.position .work-ready-button,
.position .purchase-ready-button,
.position .purchase-remove-check-button {
    position: absolute;
    top: calc(50% - 9px);
    right: 392px;
    border-radius: 50%;
    line-height: 1em;
    width: 18px;
    height: 18px;
    text-align: center;
    padding: 0 0 0 2px !important;
    z-index: 2;
    font-weight: bold !important;
    font-size: 12px !important;
}

.position .purchase-remove-check-button {
    right: -7px !important;
}

.position .purchase-ready-button {
    right: 608px !important;
}

.position .work-ready-button {
    right: 519px;
}

li.collapsed .position .collapse-group .la.la-angle-down:before, .collapse-group.collapsed .la.la-angle-down:before, .collapsed .la.la-angle-down:before {
    content: "\f105" !important;
}

.position-type {
    position: relative;
    width: 28px;
    height: 30px;
    display: inline-flex;
    vertical-align: text-bottom;
    cursor: pointer;
}

.associated {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    position: relative;
}

.associated::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 0px;

    border: 8px solid transparent;
    border-left: 8px solid rgba(0, 0, 0, 0.4);
    border-top: 0px solid rgba(0, 0, 0, 0.4);
}

.position-type::after {
    position: absolute;
    left: 0;
    top: 0;
    line-height: 30px;
    width: 28px;
    color: #fff;
    font-weight: 600;
    text-align: center;
}

.position-type.small {
    position: relative;
    width: 12px;
    height: 12px;
    background: #e6e6e6;
    border-radius: 3px;
    margin: -3px 3px 2px 0;
    display: inline-flex;
    vertical-align: text-bottom;
    cursor: pointer;
}

.position-type.locked {
    cursor: default;
}

.position-type:not(.locked):hover {
    opacity: 0.75;
}

.position-type.material {
    background: #9D69DE;
}

.position-type.material::after {
    content: attr(data-content);
}

.position-type.labor {
    background: #38C572;
}

.position-type.labor::after {
    content: attr(data-content);
}

.position-type.machinery {
    background: #2FA2DD;
}

.position-type.machinery::after {
    content: attr(data-content);
}

.position-type.shipping {
    background: #F2AD33;
    height: 28px;
}

.need-split-shipping-sum .position-type.shipping {
    border-radius: 2px 0 0 2px;
}

.position-type.shipping::after {
    line-height: 28px;
}

.position-type.shipping::after {
    content: attr(data-content);
}

.position.group .collapse-group {
    display: block;
}

.position.group .position-type {
    display: none;
}

.position.group.hide-amount-and-price + ul .position.single.in-group .table-column.unit,
.position.group.hide-amount-and-price + ul .position.single.in-group .table-column.amount,
.position.group.hide-amount-and-price + ul .position.single.in-group .table-column.price,
.position.group.hide-amount-and-price + ul .position.single.in-group .table-column.cost,
.position.group.hide-amount-and-price + ul .position.single.in-group .table-column.margin,
.position.group.hide-amount-and-price + ul .position.single.in-group .table-column.customer-price,
.position.group.hide-amount-and-price + ul .position.single.in-group .table-column.customer-cost {
    color: #aeaeae;
}

.position.group.hide-positions + ul .position.single.in-group {
    color: #aeaeae;
}

.type .position-type-selection {
    position: absolute;
    text-align: left;
    width: 160px;
    height: 125px;
    right: -160px;
    top: calc(16px - 62px);
    background: #fff;
    box-shadow: -2px 2px 20px 5px rgba(0, 0, 0, 0.2);
    border-radius: 0.1875rem;
    z-index: 3;
}

.actions .position-actions-selection {
    position: absolute;
    text-align: left;
    width: 160px;
    height: auto;
    left: -160px;
    top: 0;
    background: #fff;
    box-shadow: -2px 2px 20px 5px rgba(0, 0, 0, 0.2);
    border-radius: 0.1875rem;
    z-index: 3;
}

.type .position-type-selection .position-type:hover {
    opacity: 1;
}

.type .position-type-selection .position-type-wrap, .actions .position-actions-selection .position-action-wrap {
    padding: 5px 10px;
    cursor: pointer;
}

.type .position-type-selection .position-type-wrap:hover, .actions .position-actions-selection .position-action-wrap:hover {
    background-color: #f4f4f8;
}

.type .position-type-selection::before {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 8px 8px 0;
    border-color: transparent #fff transparent transparent;
    content: "";
    top: calc(50% - 8px);
    left: -8px;
}

.tooltipable-content .position-type-selection {
    padding: 10px;
}

.tooltipable-content .position-type-selection .position-type-wrap {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 2px 10px 2px 0;
}

.tooltipable-content .position-type-selection .position-type-wrap .position-type {
    margin-right: 5px;
}

.actions .position-actions-selection::before {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 8px;
    border-color: transparent transparent transparent #fff;
    content: "";
    top: 8px;
    right: -8px;
}

.position .edited-label {
    min-width: 40px;
    padding-left: 10px;
    font-style: italic;
    cursor: default;
    color: #888;
}

.action-text {
    color: #888;
}

.action-text:hover {
    color: #12131a;
}

/* OVERWRITTEN THEME */
.form-check {
    margin-top: 3px !important;
}

.form-check .form-check-label .input-helper:before {
    top: 0 !important;
    width: 16px !important;
    height: 16px !important;
    border: none !important;
    transition-duration: 0s !important;
}

.table-head .form-check .form-check-label .input-helper:before {
    top: -4px !important;
}

.table-head .form-check .form-check-label {
    margin-left: -5px !important;
}

.form-check .form-check-label .input-helper:after {
    font-size: 0.875rem !important;
    color: #000 !important;
    transition-duration: 0s !important;
}

.table-head .form-check .form-check-label .input-helper:after {
    font-size: 0.875rem !important;
    color: #000 !important;
    transition-duration: 0s !important;
    top: -2px !important;
}

.table-body .table-column.checkbox .form-check {
    top: calc(50% - 12px);
}

.form-check .form-check-label input:checked + .input-helper:after {
    width: 13px !important;
    line-height: 13px !important;
}

.table-row-placeholder {
    min-height: 35px;
    background: #d9d9d9;
}

.create-block {
    color: #000;
    height: 16px;
    padding-top: 5px;
    padding-left: 10px;
}

.table-column.auto-width > .editable-wrapper,
.table-column.auto-width > .editable.active {
    width: 100% !important;
}

.editable-input {
    width: 100% !important;
    padding: 2px 0 !important;
    text-align: center;
}

.editable.static-input {
    position: relative;
}

.editable-clear {
    position: absolute;
    top: calc(50% - 5px);
    right: 8px;
}

.form-static-editable-input {
    width: 100% !important;
    padding: 2px 0 !important;
    text-align: center;
}

textarea.editable-input {
    min-height: 21px;
    padding: 0 !important;
}

span.input-block {
    width: 100%;
}

.position span.input-block {
    line-height: 1.2em;
}

.w-auto {
    width: auto !important;
}

.duration.editable .editable-input {
    padding: 0.56rem 0.75rem !important;
    text-align: left;
}

.estimate-purchases .position span.input-block,
.company-purchases .position span.input-block,
.estimate-works .position span.input-block,
.excess-wrapper .position-excess-column.name span.input-block,
.estimate-extra-works .position .name span.input-block {
    width: auto !important;
}

.name .editable-input {
    justify-content: left;
}

.pivot-table {
    font-size: 11px;
    width: 500px;
    padding: 0 15px 0 0;
}

.pivot-table.progress-page {
    width: 385px !important;
}

.estimate-step-total-types {
    margin-top: -17px;
    font-size: 11px;
}

.pivot-table .pivot-table-column, .estimate-step-total-types .estimate-step-total-column {
    width: 128px;
    padding: 0 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pivot-table .pivot-table-column.smaller {
    width: 114px !important;
    padding: 0 10px !important;
}

.pivot-table .pivot-table-column.smaller .marginality-percent {
    background: #1094F7;
    color: #fff;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1px 4px;
    font-weight: normal;
    margin-top: 3px;
}

.pivot-table-column .position-type {
    margin-right: 7px;
    margin-bottom: 2px;
    width: 12px;
    height: 12px;
}

.pivot-table-column .position-type:after {
    content: unset !important;
}

.step-margin-element .editable {
    width: calc(100% - 18px);
    display: inline-block;
}

.step-margin-element .margin-percent .editable-input,
.margin-for-type .editable-input {
    padding: 0.56rem 0.75rem !important;
    text-align: left;
}

.estimate-step-name {
    white-space: nowrap;
    max-width: 605px;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 1500px) and (max-width: 1600px) {
    .estimate-step-name {
        max-width: 500px;
    }
}

@media (min-width: 1400px) and (max-width: 1499px) {
    .estimate-step-name {
        max-width: 400px;
    }
}

@media (min-width: 1300px) and (max-width: 1399px) {
    .estimate-step-name {
        max-width: 300px;
    }
}

@media (max-width: 1299px) {
    .estimate-step-name {
        max-width: 200px;
    }
}


.import-placeholder {
    width: 100% !important;
    border: none !important;
    height: 40px !important;
    text-align: center;
}

.import-table {
    border: 1px solid #f3f3f3;
}

.import-table td {
    word-break: break-word;
}

.import-table tbody > tr {
    height: 23.43px;
}

.estimate-info {
    width: calc(100% - 500px);
    padding: 0 15px;
    position: relative;
}

.estimate-document-container {
    width: 150px;
}

.estimate-info-column-content {
    display: inline-block;
    width: calc(100% - 155px);
    vertical-align: top;
}

.estimate-info-column-actions {
    display: inline-block;
    width: 150px;
    padding-left: 10px;
    vertical-align: top;
}

.document-row-flex.document-row-height {
    height: 28px;
}

.export-container {
    width: 180px;
    height: 28px;
}

.estimate-info-column-actions.export-container > a {
    width: 100%;
}

.estimate-info-column-actions .btn {
    padding: 7px 11px;
}

.estimate-info.progress-page {
    width: calc(100% - 385px) !important;
}

.estimate-info.half {
    width: calc(50%);
}

.estimate-info-label {
    width: 135px;
    padding: 0 15px;
    display: inline-flex;
}

.estimate-info-content {
    width: calc(100% - 140px);
}

.estimate-info-content i.la-user-plus {
    vertical-align: middle;
    margin-left: 3px;
}

.number-text {
    white-space: nowrap;
}

.estimate-info .not-registered {
    color: #7D7D7D;
}

.estimate-status {
    position: relative;
    width: 135px;
}

.estimate-status-current {
    position: relative;
    border-radius: 50px;
    padding: 2px 11px 2px 14px;
    color: #fff;
    font-weight: 600;
    font-size: 12px;
}

.estimate-status-current.draft {
    background: #7D7D7D;
    border: 1px solid #7D7D7D;
}

.estimate-status-current.on_agreement {
    background: #FECD7B;
    border: 1px solid #FECD7B;
}

.estimate-status-current.in_exploitations {
    background: #29BF8D;
    border: 1px solid #29BF8D;
}

.estimate-status-current.completed {
    background: #20C3DF;
    border: 1px solid #20C3DF;
}

.estimate-status .estimate-status-current > i {
    float: right;
    margin-top: 3px;
    margin-right: 4px;
}

.estimate-status-current .estimate-status-element {
    display: inline-block;
    margin-right: 0 !important;
}

.estimate-status-current .estimate-status-element:before {
    left: -17px !important;
    top: 5px !important;
}

.estimate-status-selections a, .estimate-status-selections a:hover {
    text-decoration: none;
    color: #12131a;
}

.estimate-status-selections .estimate-status-element {
    margin: 0;
    padding-left: 33px;
}

.estimate-status-selections .estimate-status-element:before {
    top: 14px;
    left: 11px;
}

.estimate-status-element {
    cursor: pointer;
    margin-left: 20px;
    position: relative;
    margin-right: 20px;
    word-break: break-word;
    display: flex;
    align-items: center;
}

.estimate-status-element:before {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    content: '';
    left: -15px;
    top: 4px;
    transform: translate(-1px, 0px) scale(0.72);
}

.estimate-status-element.draft:before {
    background: #7D7D7D;
}

.estimate-status-element.on_agreement:before {
    background: #FECD7B;
}

.estimate-status-element.in_exploitations:before {
    background: #29BF8D;
}

.estimate-status-element.completed:before {
    background: #20C3DF;
}

.estimate-name .card-title {
    text-transform: none;
}

.estimate-name {
    margin-left: 14px !important;
    padding-right: 10px !important;
}

.card-title {
    text-transform: none !important;
}

.add-child-estimate-btn {
    padding: 4px 3px !important;
    min-width: 91px !important;
}

/* RIGHT SIDABAR NAV */
.right-sidebar-nav {
    margin: 0 -20px 10px;
    background: #343434;
    color: #fff;
}

.right-sidebar-nav-tab {
    display: inline-block;
    padding: 7px 15px 7px;
    font-weight: bold;
    font-size: 13px;
    font-family: 'Roboto', sans-serif !important;
}

.right-sidebar-nav-tab.active {
    background: #fff;
    color: #333;
}

#common_directory_search_result {
    background: #fff;
}

.directory-position-search-block {
    display: inline-block;
    width: calc(100% - 425px);
    max-width: 500px;
    min-width: 200px;
    margin-left: 20px;
    float: right;
}

.right-sidebar-nav-search,
.directory-search-block {
    margin-bottom: 10px;
}

.settings-panel {
    z-index: 1000 !important;
    width: 910px !important;
    padding: 0 20px 20px;
    right: -910px !important;
    top: 46px !important;
}

/*
#right-sidebar.settings-panel {
    !*background: initial;*!
    padding: 0;
}

#right-sidebar.settings-panel ul:first-child {
    margin-left: 0 !important;
    padding: 0;
}

#right-sidebar.settings-panel > div {
    background: white;
    padding: 0 20px 20px;
}*/

.settings-panel .tab-content {
    padding-top: 20px !important;
}

.settings-panel .nav-tabs {
    margin: 0 -20px !important;
    background: #333 !important;
}

.settings-panel .nav-tabs .nav-item {
    width: auto !important;
    margin-bottom: 0px !important;
    text-align: center !important;
}

.settings-panel .nav-tabs .nav-item a {
    display: block !important;
    text-align: center !important;
}

.settings-panel .nav-tabs .nav-item .nav-link.active {
    background: #fff !important;
    color: #333 !important;
}

.main_panel_estimate .settings-panel,
.main_panel_estimate .settings-panel .nav-tabs {
    border-top-left-radius: 10px !important;
}

#receipt_sidebar,
#supply_request_right_sidebar,
.main_panel_estimate .settings-panel .nav-tabs .nav-item:first-child .nav-link {
    border-top-left-radius: 8px !important;
}

.settings-panel .nav-tabs .nav-item .nav-link {
    background: #333 !important;
    color: #fff !important;
    border-radius: 0px !important;
    padding: 11px 28px !important;
    font-weight: var(--font-bold) !important;
    text-align: center !important;
}

.settings-panel .nav-tabs {
    justify-content: left !important;
}

.settings-panel.open {
    right: 0 !important;
    box-shadow: 7px 0 80px -9px rgba(0, 0, 0, 0.45) !important;
}

.settings-panel .settings-close {
    display: none !important;
    height: 32px !important;
    width: 32px !important;
    border-radius: 50% !important;
    padding: 6px !important;
    font-size: 18px !important;
    text-align: center !important;
    background: #1094f7 !important;
    left: -16px !important;
    top: 50px !important;
}

.settings-panel.open .settings-close {
    display: block !important;
}

.content-wrapper {
    min-height: calc(100vh - 46px);
}

.autocomplete-block .autocomplete-header {
    color: #888888;
    padding: 5px 10px 0;
    border-bottom: 1px solid #d9d9d9 !important;
}

.position-autocomplete-wrapper, .supplier-autocomplete-wrapper {
    position: absolute;
    min-width: 450px;
    background: #fff;
    border: 1px solid #ccc;
    max-height: 340px;
    overflow-y: scroll;
}

.supplier-autocomplete-wrapper {
    min-width: 200px;
}

.position-autocomplete, .supplier-autocomplete {
    width: 100%;
    padding: 5px 10px;
    cursor: pointer;
}

.position-autocomplete.focused, .supplier-autocomplete.focused {
    background-color: #f4f4f8 !important;
}

.position-autocomplete:hover, .supplier-autocomplete:hover {
    background-color: #f4f4f8;
}

.position-autocomplete-name, .supplier-autocomplete-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.position-autocomplete-info, .supplier-autocomplete-info {
    font-size: 11px;
    color: #888888;
}

.position-autocomplete-info span {
    padding-right: 5px;
}

.position-autocomplete-info span.position-autocomplete-comment {
    word-wrap: break-word;
    white-space: normal;
}

/* ESTIMATE NAV */
.estimate-nav {
    background: #343434;
    color: #fff;
    position: fixed;
    top: 46px;
    z-index: 12;
    width: 100%;
    box-shadow: 0 3px 7px rgba(94, 104, 130, 0.11);
}

.estimate-nav {
    left: var(--sidebar-width);
}

.sidebar-hidden .estimate-nav {
    left: 0;
}

.estimate-menu-wrapper {
    display: flex !important;
}

.undoActionButton {
    position: fixed;
    top: 104px;
    right: 24px;
    z-index: 1000;

    cursor: pointer;

    display: none;
    padding: 12px 16px;
    align-items: center;
    gap: 8px;

    border-radius: 4px;
    background: #252733;

    /* Basic Shadow */
    box-shadow: 0px 0px 15px 0px rgba(37, 39, 51, 0.18);

    overflow: hidden;
    color: #FFF;
    text-align: center;
    text-overflow: ellipsis;

    /* Plain Text, Roboto Regular, 13px 16 */
    font-family: Roboto;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 123.077% */

    border: none;

    &:disabled {
        opacity: 0.3;
        cursor: auto;
        pointer-events: none;
    }

    &:hover {
        color: #EC3030;
    }
}

.estimate-nav-tab-separator {
    width: 1px;
    height: 28px;
    background: linear-gradient(180deg, #333333 0%, #787777 48.3%, #333333 100%);
    margin-top: 3px;
}

.estimate-nav-tab {
    color: #fff !important;
    display: inline-block;
    height: 34px;
    padding: 8px 23px;
    font-size: 13px !important;
    font-weight: bold;
}

.estimate-nav-tab:hover {
    display: inline-block;
    background: #F4F4F8;
    cursor: pointer;
    color: #333 !important;
    text-decoration: none;
}

.estimate-nav-tab.active {
    display: inline-block;
    background: #F4F4F8;
    cursor: pointer;
    color: #333 !important;
}

.estimate-nav-tab[data-id="purchase"] > div {
    position: relative;
}

.estimate-nav-tab[data-id="purchase"].exclamation > div:before {
    content: '';
    width: 7px;
    height: 7px;
    background: red;
    position: absolute;
    border-radius: 50%;
    right: -11px;
    top: calc(50% - 3px);
}

/* END ESTIMATE NAV */
/* ESTIMATE STEP */
.estimate-steps {
    padding-left: 0;
}

.estimate-step-sortable, .operation-sortable, .tariff-sortable, .widget-sortable {
    display: inline-block;
}

.estimate-step-header,
.directory-header {
    padding: 15px 0;
}

.estimate-step-header .general {
    max-width: calc(100% - 520px) !important;
}

.estimate-edit-block {
    width: 24px;
    height: 24px;
    margin-bottom: 1px;
    display: inline-block;
    cursor: pointer;
    margin-left: 10px;
    position: relative;
    background-image: url("../../new-design/images/icon/estimate-edit-icon.svg");
}

.estimate-edit-actions-item {
    display: flex;
    padding: 6px 16px 6px 12px !important;
    font-weight: normal;
    align-items: center;
}

.edit-actions-block {
    font-size: 12px;
    line-height: 14px;
    color: #12131A;
    background-color: #ffffff;
    z-index: 10;
    border-radius: 4px;
    min-width: 166px;
    padding: 6px 0;
}

.estimate-edit-actions-icon {
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
}

.estimate-edit-actions-icon.estimate-edit-actions-rename {
    background-image: url("../images/icon/edit-icon.svg");
}

.estimate-edit-actions-icon.estimate-edit-actions-delete {
    background-image: url("../images/icon/delete-icon.svg");
}

.estimate-step-sortable .la-arrow-up {
    cursor: pointer;
    color: #999999;
}

.estimate-step:first-child .estimate-step-sortable .la-arrow-up {
    display: none;
}

.estimate-step-sortable .la-arrow-down {
    cursor: pointer;
    color: #999999;
}

.estimate-step:last-child .estimate-step-sortable .la-arrow-down {
    display: none;
}

.estimate-step-sortable .la-arrow-down:hover, .estimate-step-sortable .la-arrow-up:hover {
    color: inherit;
}

.estimate-step.collapsed .estimate-step-body {
    display: none;
}

.estimate-step.collapsed .estimate-step-collapse.la.la-angle-down:before {
    content: "\f105" !important;
}

.estimate-step .estimate-step-collapse {
    margin-left: 3px;
    margin-right: 8px;
}

.estimate-step-draggble {
    margin-right: 10px;
    cursor: grabbing;
}

.estimate-step-total {
    font-size: 1.56rem;
    border-radius: 20px;
    line-height: 1rem;
    min-width: 166px;
    padding: 0.56rem 1.375rem;
}

.mass-edit-panel {
    position: relative;
    padding: 10px 0;
}

.massedit-panel span.additional-label {
    display: none;
}

.massedit-panel.process-creating-payment span.main-label {
    display: none;
}

.massedit-panel.process-creating-payment span.additional-label {
    display: inline;
}

.estimate-step-action {
    position: relative;
    padding: 10px 0;
    border-top: 1px solid #f3f3f3;
    border-bottom: 1px solid #f3f3f3;
}

.estimate-step-action.purchase-action-bar,
.estimate-step-action.works-step-action-bar {
    border-bottom: none !important;
}

.estimate-step-action-buttons {
    min-height: 28px !important;
}

.purchase-step-action-bar {
    padding: 10px 0 0 !important;
}

.estimate-vat-action {
    position: relative;
    padding: 0 0 10px;
}

.estimate-vat-action .card-title {
    font-size: 1.56rem;
    text-transform: none;
    vertical-align: -3px;
    margin-right: 20px;
}

.table-toolbar {
    display: none;
    position: absolute;
    top: -1px;
    right: 0;
    left: 0;
    background: #B8BDCF;
    width: 100%;
    height: 50px;
    z-index: 9;
}

.table-toolbar.active {
    display: block;
}

.table-toolbar .mass-edit-toolbar {
    height: inherit;
}

.estimate-step .estimate-step-content {
    margin-bottom: 15px;
}

.estimate-step-sticky {
    position: relative;
}

.estimate-step-sticky.sticky {
    position: fixed;
    top: 100px;
    z-index: 99999;
}

/* END ESTIMATE STEP */

/* SWAL */
.swal-footer {
    text-align: center !important;
}

.swal-text {
    text-align: center !important;
}

/* END SWAL */
.switch-edit-mode-wrapper {
    width: 65px;
    background: #fff;
}

.switch {
    position: relative;
    display: inline-block;
    width: 37px;
    height: 18px;
    vertical-align: bottom;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #e21c2a;
}

input:checked + .slider.primary {
    background-color: #1094f7;
}

input:checked + .slider:before {
    -webkit-transform: translateX(17px);
    -ms-transform: translateX(17px);
    transform: translateX(17px);
}

/* comment in customer */

.comment-body {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

.comment-body .card-comment-title {
    font-size: 1.56rem;
    margin-bottom: 0;
}

.comment-body .estimate-comment-text {
    font-size: 13px;
    margin-bottom: 0;
}

.estimate-comment-textarea {
    max-width: 100%;
    min-height: 148px;
    padding: 6px 8px;
    border: 1px solid #E6E6E6;
    font-size: 13px !important;
    line-height: 1.5;
}

.comment-textarea:focus {
    border: 1px solid #E6E6E6;
}

.comment-textarea::placeholder {
    color: #ADB0B5;
}

.row .estimate-margin {
    margin-bottom: 20px;
}

.comment-mb-1 {
    margin-bottom: 1rem;
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* USER HEADER BLOCK*/
.user-finance {
    padding: 0 20px;
}

.user-finance-label {
    line-height: 1.15em;
    text-transform: uppercase;
    font-size: 9px;
}

.user-finance-value a {
    line-height: 1em;
    font-size: 16px;
    font-weight: bold;
    color: #0091fa;
    border-bottom: 1px solid #1094f7;
    text-decoration: none !important;
}

.user-image {
    float: left;
    border-radius: 50%;
    width: 21px;
    height: 21px;
    background: #ccc;
    margin-right: 10px;
}

.tariff-info-wrapper {
    font-size: 12px !important;
    padding: 12px 12px 6px 16px;
    min-width: 210px;
}

.tariff-info-wrapper .tariff-name {
    line-height: 9px;
}

.tariff-info-wrapper .tariff-info {
    font-size: 10px;
    color: #7d7d7d;
}

.tariff-info-wrapper .tariff-info i {
    color: red;
    font-size: 20px;
    vertical-align: -3px;
    margin-left: 3px;
}


/* END USER HEADER BLOCK*/

.ui-sortable-helper .position {
    opacity: 0.8;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    border-left: 3px solid #3da0e4;
    padding-left: 4px;
}

/* DEFAULT BASIC CLASSES */

.prototype {
    display: none !important;
}

.tooltip-inner {
    background: #1094f7 !important;
}

.nav a {
    text-decoration: none !important;
}

.navbar {
    box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.1) !important;
    background: #1c1c1c;
}

.navbar .navbar-brand-wrapper {
    background: #000 !important;
    height: 46px !important;
}

.navbar .navbar-menu-wrapper {
    height: 46px !important;
}

#mobile-apps-wrapper a {
    text-decoration: none;
    color: #000;
    font-size: 12px;
}

#mobile-apps-wrapper i {
    font-size: 24px !important;
    vertical-align: -3px;
}

.nav-item-wrapper {
    display: block;
    position: relative;
}

.navbar .navbar-menu-wrapper .nav-item > .btn {
    margin-right: 10px;
}

.navbar .navbar-menu-wrapper .nav-item > .btn:not(.btn-primary) {
    color: rgba(0, 0, 0, 0.5);
}

.navbar .navbar-menu-wrapper .nav-item .la.la-bell {
    margin: 0 !important;
    font-size: 16px;
}

.navbar .nav-item .navbar-dropdown {
    -webkit-box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.5) !important;
    -moz-box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.5) !important;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.5) !important;
}

.navbar-nav-right .notification-btn,
.navbar-nav-right .mobile-btn {
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-nav-right .notification-btn {
    position: relative;
}

.notification-btn:hover {
    color: #fff!important;
}

.notification-active:after {
    content: '';
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: #F1190F;
    position: absolute;
    right: -5px;
    top: -3px;
}

.user-profile .side-left .card .overview .info-links a,
.user-profile .side-left .card .avatar .designation {
    font-size: 1em !important;
}

#notificationDropdown {
    background: red;
}

#profileDropdown {
    padding: 0 !important;
    white-space: nowrap;
}

#profileDropdown > img {
    width: 27px !important;
    height: 27px !important;
    display: block !important;
}

#profileDropdown > span {
    margin-left: 5px;
    height: 31px;
    vertical-align: -3px;
}

#profileDropdown > i {
    vertical-align: -3px;
    margin-left: 6px;
    font-size: 11px;
    color: #000 !important;
}

.d-none + * {
    margin-left: 0;
}

.profile-dropdown-area {
    min-width: 160px !important;
}

#settings .tooltip-settings-wrapper {
    align-items: center;
    margin-top: 19px;
    margin-bottom: 31px;
}

#settings .tooltip-settings-wrapper label {
    margin-bottom: 0;
}

#settings .tooltip-settings {
    margin-left: 50px;
}

.page-body-wrapper {
    padding-top: 46px !important;
}

.btn-dark-outline-dash {
    background: transparent !important;
    color: #323232;
    border: 1px dashed #323232 !important;
}

.btn-link {
    color: #1094F7 !important;
    text-decoration: none;
}

.btn-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.btn, input, textarea, select {
    font-size: 1rem !important;
}

.cursor-pointer {
    cursor: pointer;
}

.text-underline {
    text-decoration: underline;
}

.overflow-hidden {
    overflow: hidden !important;
}

.overflow-visible {
    overflow: visible !important;
}

.overflow-auto {
    overflow: auto !important;
}

.text-overflow-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-60 {
    margin-top: 60px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-60 {
    margin-bottom: 60px;
}

.pt-0 {
    padding-top: 0px !important;
}

.pt-20 {
    padding-top: 20px !important;
}

.pt-40 {
    padding-top: 40px !important;
}

.pt-60 {
    padding-top: 60px !important;
}

.pb-0 {
    padding-bottom: 0px !important;
}

.pb-20 {
    padding-bottom: 20px !important;
}

.pb-40 {
    padding-bottom: 40px !important;
}

.pb-60 {
    padding-bottom: 60px !important;
}

.font-size-normal {
    font-size: 1em !important;
}

.font-size-10, .fs-10 {
    font-size: 10px !important;
}

.font-size-11, .fs-11 {
    font-size: 11px !important;
}

.font-size-12, .fs-12 {
    font-size: 12px !important;
}

.font-size-14, .fs-14 {
    font-size: 14px !important;
}

.font-size-16, .fs-16 {
    font-size: 16px !important;
}

.font-size-18, .fs-18 {
    font-size: 18px !important;
}

.font-size-20, .fs-20 {
    font-size: 20px !important;
}

.font-size-21, .fs-21 {
    font-size: 21px !important;
}

.font-size-22, .fs-22 {
    font-size: 22px !important;
}

.font-size-23, .fs-23 {
    font-size: 23px !important;
}

.font-size-24, .fs-24 {
    font-size: 24px !important;
}

.font-size-28, .fs-28 {
    font-size: 28px !important;
}

.flex-auto-width {
    flex: 1 1 auto !important;
}

.progress .progress-bar {
    border-radius: 0 !important;
}

.text-value-not-set {
    color: #888 !important;
}

.icon-secondary {
    color: #999999 !important;
}

.align-self-baseline {
    align-self: baseline;
}

.align-items-start {
    align-items: start !important;
}

.justify-content-start {
    justify-content: start !important;
}

.flex-column-top {
    flex-direction: column;
    justify-content: start;
}

.vertical-align-middle {
    vertical-align: middle;
}

.vertical-align-top {
    vertical-align: top;
}

.has-error {
    border-bottom: 1px solid #e21c2a;
}

.flex-direction-row {
    flex-direction: row !important;
}

.bg-labor {
    background-color: #88c160 !important;
}

.link-text {
    color: #000 !important;
    user-select: none;
}

.la-download {
    margin-right: 3px;
}

.flex-break {
    flex-basis: 100%;
    height: 0;
}

/* END DEFAULT BASIC CLASSES */

/* MEDIA QUERY BLOCK */
/* Small devices (landscape phones, 576px and up) */
@media (max-width: 575px) {

}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 767px) {

}

/* Large devices (desktops, 992px and up) */
@media (max-width: 991px) {
    .sidebar {
        min-height: 0 !important;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (max-width: 1199px) {
    .estimate-info, .pivot-table {
        width: 100% !important;
    }

    .pivot-table {
        padding: 15px 15px 0 !important;
    }

    .pivot-table .pivot-table-column.smaller {
        width: 25% !important;
    }
}

/* END MEDIA QUERY BLOCK */

/* TOOLTIPABLE BLOCK */

:root {
    --tooltip-triangle-size: 6px;
}

.tooltipable-wrapper {
    background: #fff;
    color: #000;
    box-shadow: 0 2px 20px 5px rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
}

.tooltipable-content {
    max-height: 510px !important;
    max-width: var(--tooltip-max-width);
    overflow-y: auto !important;
}

.tooltipable-wrapper.tooltip-dark {
    background: var(--tooltip-background-dark);
    color: var(--tooltip-text-dark);
}

.tooltipable-wrapper.with-border {
    border: 1px solid #cacaca;
}

.tooltipable-wrapper.tooltip-dark.with-border {
    border: 1px solid #2d2d2d;
}

.tooltipable-triangle {
    position: absolute;
    width: 0px;
    height: 0px;
}

.tooltipable-triangle.top {
    border-top: solid var(--tooltip-triangle-size) var(--tooltip-background);
    border-left: solid var(--tooltip-triangle-size) transparent;
    border-right: solid var(--tooltip-triangle-size) transparent;
    bottom: calc(-1 * var(--tooltip-triangle-size) + 0.5px);
    left: calc(50% - var(--tooltip-triangle-size) / 2);
}

.tooltip-dark .tooltipable-triangle.top {
    border-top: solid var(--tooltip-triangle-size) var(--tooltip-background-dark);
}

.with-border > .tooltipable-triangle.top {
    filter: drop-shadow(0px 1px 0px #c8c8c8);
}

.tooltip-dark.with-border > .tooltipable-triangle.top {
    filter: drop-shadow(0px 1px 0px #303030);
}

.tooltipable-triangle.right {
    border-right: solid var(--tooltip-triangle-size) var(--tooltip-background);
    border-bottom: solid var(--tooltip-triangle-size) transparent;
    border-top: solid var(--tooltip-triangle-size) transparent;
    top: 12px;
    left: calc(-1 * var(--tooltip-triangle-size) + 0.5px);
}

.tooltip-dark > .tooltipable-triangle.right {
    border-right: solid var(--tooltip-triangle-size) var(--tooltip-background-dark);
}

.with-border > .tooltipable-triangle.right {
    filter: drop-shadow(-0.5px 0px 0px #c8c8c8);
}

.tooltip-dark.with-border > .tooltipable-triangle.right {
    filter: drop-shadow(-0.5px 0px 0px #383838);
}

.tooltipable-triangle.bottom {
    border-bottom: solid var(--tooltip-triangle-size) var(--tooltip-background);
    border-left: solid var(--tooltip-triangle-size) transparent;
    border-right: solid var(--tooltip-triangle-size) transparent;
    top: calc(-1 * var(--tooltip-triangle-size) + 0.5px);
    left: calc(50% - var(--tooltip-triangle-size) / 2);
}

.tooltip-dark .tooltipable-triangle.bottom {
    border-bottom: solid var(--tooltip-triangle-size) var(--tooltip-background-dark);
}

.with-border > .tooltipable-triangle.bottom {
    filter: drop-shadow(0px -0.5px 0px #c8c8c8);
}

.tooltip-dark.with-border > .tooltipable-triangle.bottom {
    filter: drop-shadow(0px -0.5px 0px #383838);
}

.tooltipable-triangle.left {
    border-left: solid var(--tooltip-triangle-size) var(--tooltip-background);
    border-bottom: solid var(--tooltip-triangle-size) transparent;
    border-top: solid var(--tooltip-triangle-size) transparent;
    top: 12px;
    right: calc(-1 * var(--tooltip-triangle-size) + 0.5px);
}

.tooltip-dark .tooltipable-triangle.left {
    border-left: solid var(--tooltip-triangle-size) var(--tooltip-background-dark);
}

.with-border > .tooltipable-triangle.left {
    filter: drop-shadow(0.5px 0px 0px #c8c8c8);
}

.tooltip-dark.with-border > .tooltipable-triangle.left {
    filter: drop-shadow(0.5px 0px 0px #383838);
}

.tooltipable-triangle.right + .tooltipable-content .menu-option:first-child:hover {
    position: relative;
}

.tooltipable-wrapper:not(.tooltip-dark) > .tooltipable-triangle.right + .tooltipable-content .menu-option:first-child:hover::before {
    display: block;
    content: '';
    border-right: solid var(--tooltip-triangle-size) #f4f4f8;
    border-bottom: solid var(--tooltip-triangle-size) transparent;
    border-top: solid var(--tooltip-triangle-size) transparent;
    position: absolute;
    top: 12px;
    left: calc(-1 * var(--tooltip-triangle-size) + 0.5px);
}

.tooltipable-wrapper, .tooltipable-triangle {
    /* filter: drop-shadow(0px 0px 0.5px #cfcfcf); */
}

.tooltipable-triangle {
    /* z-index: 100 !important; */
}

.tooltipable-wrapper {
    position: relative;
    z-index: 0;
}

.compact {
    padding: 3px 7px !important;
}

.chartable-tooltip,
.progress-tooltip {
    font-size: 11px;
    color: #888888;
}

#my_objects_tooltip, #my_directories_tooltip {
    background: #262626;
    color: #e5e5e5;
}

#my_objects_tooltip {
    white-space: nowrap;
}

.chartable-tooltip .tooltipable-price {
    font-size: 12px;
    font-weight: bold;
}

/* END TOOLTIPABLE BLOCK */

/** TOOLTIP OPTIONS */
.tooltip-option {
    padding: 10px 15px;
    cursor: pointer;
    max-width: 450px;
    word-break: break-all;
}

.tooltipable-content .tooltip-option:first-child {
    border-radius-top-left: 0.3rem !important;
    border-radius-top-right: 0.3rem !important;
}

.tooltipable-content .tooltip-option:last-child {
    border-radius-bottom-left: 0.3rem !important;
    border-radius-bottom-right: 0.3rem !important;
}

.menu-option:hover, .menu .tooltip-option.selected {
    background: #f4f4f8;
}

.menu-option > i {
    margin-right: 2px;
    margin-left: -2px;
    font-size: 15px;
    position: relative;
    top: 1px;
}

.tooltip-dark .menu-option:hover, .tooltip-dark .menu-option.selected {
    background: rgba(248, 248, 255, 0.15);
}


.tooltip-option.selected-subcontractor {
    position: relative;
}

.tooltip-option.selected-subcontractor:after {
    font-family: LineAwesome;
    content: "\f191";
    margin: 0 4px;
    font-size: 11px;
}

/** END TOOLTIP OPTIONS */

/** SIDEBAR */
.sidebar .sidebar-fill-company-btn {
    color: #878787 !important;
    cursor: pointer;
    text-decoration: none;
}

.sidebar .sidebar-fill-company-btn:hover {
    color: #fff !important;
    border-bottom: 1px solid #fff;
}

.sidebar div.menu-list {
    list-style-type: none;
}

.sidebar div.menu-list li.nav-item {
    border-bottom: none !important;
}

.sidebar .category-item {
    position: relative;
    border-bottom: none !important;
    padding-left: 0;
}
.ldio-awjed5r5ll div { box-sizing: content-box; }

.sidebar .category-item:last-of-type {
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

.sidebar .category-item > a > .menu-title {
    margin-left: 2px;
}

.sidebar .tab-item {
    position: relative;
}

.sidebar .tab-item > a > i.la-plus-circle {
    position: absolute;
    right: 5px;
}

.sidebar .tab-item > div > .nav {
    /* background-color: #262626; */
    height: calc(100vh - 125px);
}

.menu-title.add-directory a {
    color: #878787;
}

.sidebar .nav.sub-menu .nav-item.add-directory-btn-block:hover .nav-link {
    background-color: #323232 !important;
    color: #ffffff !important;
}

.sidebar .nav.sub-menu .nav-item.add-directory-btn-block .nav-link span {
    transition: color 0.15s ease-in-out;
    transition-property: color;
    transition-duration: 0.15s;
    transition-timing-function: ease-in-out;
    transition-delay: 0s;
}

.sidebar .nav.sub-menu .nav-item.add-directory-btn-block:hover .nav-link span {
    color: #fff !important;
}

.sidebar .tab-item .nav-link .menu-title.add-directory i {
    color: #878787 !important;
    font-size: 12px !important;
    margin-right: 0px !important;
    transition: color 0.15s ease-in-out;
    transition-property: color;
    transition-duration: 0.15s;
    transition-timing-function: ease-in-out;
    transition-delay: 0s;
}

.sidebar .nav.sub-menu .nav-item.add-directory-btn-block:hover .menu-title.add-directory i {
    color: #fff !important;
}

.sidebar .tab-item .nav-item:not(.active) > a.nav-link:hover,
.sidebar .tab-item .nav-item-wrapper:hover,
.sidebar .directory-item:hover > a {
    background-color: #2D2D2D;
}

.sidebar .nav-item.project-item.active > a:hover,
.sidebar .nav-item.directory-item:not(.active) > a:hover,
.sidebar .nav-item.operation-directory-item:not(.active) > a:hover {
    background-color: #303030;
}

.sidebar .nav-item.project-item.active > a,
.sidebar .nav-item.directory-item.active > a,
.sidebar .nav-item.operation-directory-item.active > a {
    font-weight: bold !important;
    color: #fff !important;
}

.sidebar .nav-item.directory-item:not(.active) > a > .menu-title,
.sidebar .nav-item.operation-directory-item:not(.active) > a > .menu-title {
    font-weight: normal !important;
    color: rgb(135, 135, 135) !important;
}

.sidebar .project-estimate-count-badge {
    cursor: default;
    position: relative;
}

.sidebar-nav-link {
    display: flex;
    height: 40px;
    padding: 0px 12px;
    padding-left: 14px;
    align-items: center;
    gap: 3px;

    color: var(--text-primary-inverse, #F5F5F5) !important;
    /* Body_13 reg */
    font-family: Roboto;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 123.077% */

    cursor: pointer;
}
.sidebar-nav-link:hover {
    background: #2d2d2d;
}

.sidebar-nav-link.collapsed > svg{
    transform: rotate(-90deg);
}

.sidebar-nav-link:hover svg > path {
    fill: var(--text-primary-inverse, #F5F5F5) !important;
}

@keyframes ldio-awjed5r5ll {
    0% { transform: translate(-50%,-50%) rotate(0deg); }
    100% { transform: translate(-50%,-50%) rotate(360deg); }
}
.ldio-awjed5r5ll div {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 10px solid #f5f5f5;
    border-top-color: transparent;
    border-radius: 50%;
}
.ldio-awjed5r5ll div {
    animation: ldio-awjed5r5ll 1s linear infinite;
    top: 50px;
    left: 50px
}
.loadingio-spinner-rolling-36jhulfjh9c {
    width: 12px;
    height: 12px;
    display: inline-block;
    overflow: hidden;
    background: none;
}
.ldio-awjed5r5ll {
    width: 100%;
    height: 100%;
    position: relative;
    transform: translateZ(0) scale(0.12);
    backface-visibility: hidden;
    transform-origin: 0 0; /* see note above */
}

.project-header > .icon-wrapper {
    height: 100%;
    display: flex;
    align-items: center;
}
.sidebar .tab-item .nav-item.sidebar-estimate {
    padding-left: 40px !important;
}

.nav-item.sidebar-estimate.add-estimate {
    padding-left: 40px !important;
    max-height: 38px;
}

.nav-item.sidebar-estimate.add-estimate > div, .nav-item.add-directory-btn-block > div {
    border: none !important;
    padding: 0 0 0 2px !important;
    color: #1094f7 !important;
    margin-bottom: 0 !important;
    margin-top: -2px;
}

.nav-item.add-directory-btn-block {
    padding: 10px 0px 10px 36px !important;
    max-height: 38px;
}

.nav-item.sidebar-estimate.add-estimate > div:hover, .nav-item.add-directory-btn-block > div:hover {
    color: #0e79c9 !important;
}

.nav-item.sidebar-estimate.add-estimate > div .la-plus, .nav-item.sidebar-estimate.add-directory-btn-block > div .la-plus {
    margin-right: 0.25rem;
    filter: brightness(1.05);
    font-size: 14px;
    position: relative;
    top: 1px;
}

.category-target + .show {
    background: #262626;
}

.nav-link.project-target:not(.collapsed) {
    background: #2d2d2d;
}

/* .sidebar .tab-item.nav-item:hover > .nav-link {
    background: #1c1c1c;
} */

.sidebar .entity-target:hover,
.entity-target:not(.collapsed):hover,
.category-target:not(.collapsed):hover {
    background: #272727;
}

.sidebar .estimate-item:not(.active):hover,
.project-item.active > .project-header:hover {
    background: #303030;
}

.sidebar .estimate-item.active,
.sidebar .estimate-item.active:hover,
.sidebar .nav-item.sidebar-estimate.active,
.sidebar .nav-item.project-item.active > a,
.sidebar .nav-item.directory-item.active > a,
.sidebar .nav-item.operation-directory-item.active > a,
.estimate-item.active, .estimate-item.active:hover {
    background: #1773b8;
}

.sidebar .tab-item > a.collapsed {
    color: #878787 !important;
}

.sidebar .tab-item > a {
    font-weight: bold;
    color: #8f9297;
}

.sidebar .tab-item > .nav-link > .menu-title {
    color: inherit !important;
}

.sidebar .tab-item > a:not(.collapsed) {
    font-weight: bold;
}

.sidebar .tab-item > a:hover {
    color: #fff !important;
}

.nav-item.project-item,
.sidebar .directory-item:not(.add-directory-btn-block),
.sidebar .operation-directory-item:not(.add-directory-btn-block) {
    padding: 0 !important;
}

.nav-item.project-item > .nav-item-wrapper a,
.sidebar .directory-item > .nav-item-wrapper a,
.sidebar .operation-directory-item > .nav-item-wrapper a {
    padding-left: 24px !important;
}

.nav-item.project-item .nav,
.sidebar .directory-item .nav,
.sidebar .operation-directory-item .nav {
    padding-bottom: 0 !important;
}

.nav-item.project-item > a.nav-link,
.sidebar .directory-item > a.nav-link,
.sidebar .operation-directory-item > a.nav-link {
    padding-left: 36px !important;
}

.sidebar-estimate:not(.active) {
    color: #878787 !important;
}

.sidebar-directory-actions > .la {
    padding: 3px;
}

.sidebar-directory-actions > .la:hover {
    background: rgba(248, 248, 248, 0.1);
    border-radius: 4px;
    color: #ddd;
}

.sidebar .directory-item .preferred .la-bookmark {
    margin-left: 5px;
    vertical-align: -2px;
}

.sidebar-estimate.active {
    font-weight: bold !important;
}

.sidebar .add-project-wrap {
    margin-top: 20px;
}

.sidebar .tab-item > a.nav-link.collapsed {
    color: #878787;
}

.nav-item.project-item .badge {
    position: absolute;
    top: 10px;
    right: 17px;
    font-size: 10px !important;
    width: auto;
    min-width: 18px;
    height: 18px;
    text-align: center;
    background: #3f4042;
    color: #bdbdbd;
    line-height: 12px;
    overflow: visible;
}

.nav-item.project-item .badge i {
    margin-right: 0 !important;
    margin-left: 5px !important;
    color: inherit !important;
}

.nav-item.project-item > a.nav-link.collapsed .menu-title,
.sidebar .directory-item > a.nav-link.collapsed .menu-title,
.sidebar .operation-directory-item > a.nav-link.collapsed .menu-title {
    color: #878787 !important;
}

.sidebar .tab-item > .nav-link {
    color: #8f9297 !important;
}

.sidebar .project-estimate-count-badge:not(.collapsed) i.project-collapse:before {
    content: "\f107";
}

.sidebar .category-target:not(.collapsed) i.la-angle-right:before {
    content: "\f107";
}

.sidebar .nav .nav-item .nav-link,
.scenario-cloned-element-highlighted .nav-link {
    justify-content: flex-start;
    padding-right: 5px !important;
}

.sidebar .tab-item .nav-link i:not(.project-collapse) {
    margin-right: 13px;
    font-size: 17px;
    display: none;
}

.sidebar .nav .nav-item:not(.project-item) > .nav-link.entity-target > .menu-title {
    text-transform: uppercase;
}

.sidebar .nav-item .marker::before,
.sidebar .nav-item:not(.project-item) .nav-link::before,
.scenario-cloned-element-highlighted.project-item .marker::before,
.scenario-cloned-element-highlighted.nav-item:not(.project-item) .nav-link::before {
    box-sizing: content-box;
    display: inline-block;
    content: '';
    width: 0;
    height: 0;
    margin-right: 10px;
    border-left: 4px solid #8f9297;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    position: relative;
    top: -1px;
}

.sidebar .nav-item .marker,
.scenario-cloned-element-highlighted.nav-item .marker {
    display: inline-block;
    box-sizing: border-box;
    width: 18px;
    height: 18px;
    padding: 6px;
    margin-right: 3px;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-content: center;
    justify-content: center;
}

.arrow-hide::before {
    display: none !important;
}

.sidebar .nav-item .marker::before,
.scenario-cloned-element-highlighted.nav-item .marker::before {
    margin-top: 1px;
}

.sidebar .nav-item .marker:hover,
.scenario-cloned-element-highlighted.nav-item .marker:hover {
    background: #494949;
}

.sidebar .nav-item .marker::before,
.scenario-cloned-element-highlighted.nav-item .marker::before {
    margin: 0px;
}

.sidebar .nav-item .marker:not(.collapsed)::before,
.sidebar .nav-item:not(.project-item) .nav-link:not(.collapsed)::before,
.scenario-cloned-element-highlighted.nav-item .marker:not(.collapsed)::before,
.scenario-cloned-element-highlighted.nav-item:not(.project-item) .nav-link:not(.collapsed)::before {
    transform: translate(-0.5px, 1px) rotate(90deg);
    transform-origin: center;
}

.sidebar .tab-item .nav-link:hover::before {
    border-left-color: #fcfcfc;
}

.nav-item.project-item > div > a:before,
.nav-item.directory-item > a:before {
    display: none !important;
}

.project-header {
    display: flex;
    align-items: center;
    justify-items: flex-start;
    padding: 0px 30px;
    max-height: 38px;
    cursor: pointer;
}

.sidebar .nav.sub-menu .nav-item.project-item .nav-link,
.scenario-cloned-element-highlighted.nav-item.project-item .nav-link {
    padding: 0.75rem 4px;
    max-width: 88%;
}

.nav-item > div > span, .project-header > .nav-link > span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar .nav.sub-menu .nav-item.project-item .nav-link {
    color: #878787;
}

.sidebar .nav.sub-menu .nav-item.project-item.active .nav-link,
.scenario-cloned-element-highlighted.nav-item.project-item .nav-link {
    color: #f5f5f5;
}

.sidebar .nav {
    padding-bottom: 20px !important;
    overflow: auto !important;
}

.sidebar .nav.sub-menu .nav-item:not(.operation-directory-item) .nav-link::before,
.scenario-cloned-element-highlighted.nav-item.project-item > a::before {
    position: absolute;
    content: "";
    top: 13px;
    width: 0 !important;
    height: 0 !important;
    background: #000;
    border-radius: 100%;
    margin-left: -1rem;
}

.sidebar .nav.sub-menu .nav-item.operation-directory-item .nav-link:before,
.scenario-cloned-element-highlighted.nav-item.operation-directory-item .nav-link:before {
    display: none;
}

.scenario-cloned-element-highlighted.nav-item .nav {
    pointer-events: none;
}

.nav-item.project-item > a {
    display: flex;
    position: relative;
    align-items: center;
    height: auto;
    padding: 0.75rem 1rem;
    color: #999;
    font-size: 1rem;
    line-height: 1;
}

.nav-item.project-item > a .menu-title {
    display: inline-block;
    font-size: 1rem;
    line-height: 1;
    vertical-align: middle;
    padding-right: 60px;
    word-break: break-word;
}

.nav-item .btn-grey-outline:hover {
    background: transparent;
    color: #fff;
    border: 1px dashed #fff !important;
}

.sidebar {
    background: #1c1c1c !important;
    font-family: 'Roboto', sans-serif !important;
}

.sidebar .nav-wrap {
    position: static;
    width: 100%;
}

.brand-logo-mini {
    display: none;
}

.sidebar-hidden .brand-logo-mini {
    display: block !important;
}

.sidebar-hidden .brand-logo-mini img {
    width: 28px !important;
    height: 28px !important;
}

.sidebar-hidden .brand-logo {
    display: none;
}

.sidebar-hidden .navbar-brand-wrapper {
    width: 58px !important;
    height: 45px;
}

.sidebar-hidden .navbar-menu-wrapper {
    width: 100% !important;
}

.sidebar-hidden .sidebar .nav-wrap {
    display: none;
}

.sidebar .nav.sub-menu {
    padding: 0 !important;
}

.sidebar .nav.sub-menu .nav-item,
.scenario-cloned-element-highlighted .nav-item {
    position: relative;
    border-bottom: none;
    color: #fff;
}

.sidebar .directory-item > .nav-item-wrapper > .nav-link,
.sidebar .operation-directory-item > .nav-item-wrapper > .nav-link {
    padding-bottom: 1rem !important;
    padding-top: 1rem !important;
}

.sidebar-company {
    color: #fff;
    text-align: left;
    margin-bottom: 0px;
    flex-grow: 1;
    position: relative;
}

.sidebar-hidden .navbar-brand-wrapper {
    height: 32px;
}

.sidebar-hidden .sidebar-company-email {
    line-height: 0 !important;
}

.sidebar-company-title, .sidebar-company-email {
    display: inline-block;
    max-width: 138px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-estimate {
    padding: 10px 0 10px 4rem !important;
}

.sidebar-estimate-actions,
.sidebar-project-actions,
.sidebar-directory-actions,
.sidebar-category-actions {
    color: #fff;
    position: absolute;
    top: 7px;
    right: 12px;
    line-height: 1em;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-content: center;
}

.sidebar-category-actions {
    color: #fff;
    right: 12px;
    top: 4px !important;
}

.sidebar-category-actions i {
    font-size: 23px !important;
}

.sidebar-category-actions > * {
    margin: 0px 1px;
}

.sidebar-estimate-actions {
    top: 5px !important;
}

.sidebar .nav .nav-item .nav-link {
    white-space: normal !important;
    height: 38px !important;
    word-break: break-word;
}

.sidebar .nav .nav-item:not(.project-item) > .nav-link > .menu-title {
    line-height: 1.2 !important;
    margin-right: 50px;
    color: #fff;
}

.sidebar .nav .nav-item.directory-item > .nav-link > .menu-title,
.sidebar .nav .nav-item.operation-directory-item > .nav-link > .menu-title {
    margin-right: 15px !important;
}

.sidebar {
    transition: width 0s !important;
}

.sidebar .search-input-wrapper {
    width: 100%;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background: #1C1C1C;

    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.2s linear;
}

.sidebar .search-input-wrapper input {
    border: 0.5px solid #1094F7;
    box-sizing: border-box;
    border-radius: 3px;
    background: #373737;
    width: 100%;
    height: 27px;
    margin-right: 16px;
    margin-left: 16px;
    color: #fff;
    padding: 6px 22px 6px 11px;
}

.sidebar .search-input-wrapper.active {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s, opacity 0.2s linear;
}

.sidebar .reset-search {
    cursor: pointer;
    position: absolute;
    right: 23px;
    margin: 1px 0px;
}

.sidebar .no-result-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #fff;
}

.sidebar .hidden-item {
    display: none !important;
}

.sidebar span::selection, .sidebar span::-moz-selection {
    background-color: rgba(194, 194, 194, 0.2);
}

.badge {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.search-input-wrapper input::placeholder, /* Chrome, Firefox, Opera, Safari 10.1+ */
.search-input-wrapper input:-ms-input-placeholder, /* Internet Explorer 10-11 */
.search-input-wrapper input::-ms-input-placeholder { /* Microsoft Edge */
    color: #E6E6E6;
}

.search-input-wrapper input::placeholder {
    opacity: 1; /* Firefox */
}

/** END SIDEBAR */

/** TOP SIDEBAR **/
.navbar-menu-wrapper .navbar-nav .nav-item.dropdown .navbar-dropdown .dropdown-item i.la {
    margin-right: 5px !important;
}

#notification-wrapper {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 10px;
}

.notification-block-title {
    font-size: 15px;
    font-weight: bold;
}

.notification-item {
    cursor: pointer;
}

.notification-item:active {
    color: #000 !important;
}

.navbar-menu-wrapper .nav-link i.la {
    color: #cccccc !important;
}

.navbar .navbar-menu-wrapper .navbar-nav .nav-item.dropdown .navbar-dropdown .dropdown-item {
    font-size: 13px !important;
}

.preview-item-date {
    font-size: 10px;
    color: rgba(0, 0, 0, 0.5);
    display: inline-block;
    position: relative;
}

.notification-item.unread .preview-subject {
    font-weight: bold;
}

.notification-item.unread .preview-item-date:after {
    width: 8px;
    height: 8px;
    position: absolute;
    top: 1px;
    right: -14px;
    border-radius: 4px;
    background-color: green;
    content: '';
}

.navbar .navbar-menu-wrapper .navbar-nav .nav-item.dropdown .navbar-dropdown .dropdown-item .ellipsis {
    max-width: 360px !important;
}

.navbar .navbar-brand-wrapper .brand-logo-mini img {
    margin-top: -4px !important;
}

/** END TOP SIDEBAR **/

/** MODALABLE **/
.modalable-close {
    position: absolute;
    right: -37px;
    top: -10px;
    cursor: pointer;
    opacity: 0.7 !important;
}

.modalable-close span {
    font-size: 40px;
    color: white;

    font-weight: normal;
}

.notification-publish-date {
    font-size: 12px !important;
    color: #999999;
}

.notification-title {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    font-size: 20px;
}

.modal-content {
    background-color: #fff !important;
}

/** END MODALABLE **/

/** SUBCONTRACTORS **/
.table-column.subcontractor .btn-subcontractor {
    max-width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
}

.subcontractor-name {
    word-break: break-all;
}

.position-works-wrapper.done .subcontractor-name,
.position-works-wrapper.done .subcontractor-marker {
    cursor: default !important;
}

.subcontractor-marker {
    width: 11px;
    height: 11px;
    display: inline-block;
    vertical-align: middle;
    border-radius: 50%;
    margin-right: 5px;
}

.btn.subcontractor {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-right: none !important;
    height: 28px;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 260px;
    white-space: nowrap;
}

.btn.subcontractor-edit {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
    border-left: 1px solid #d9d9d9 !important;
    height: 28px;
}

.subcontractor-btn {
    display: inline-block;
}

.subcontractor-btn > a {
    margin-right: -0.36em;

}

/** END SUBCONTRACTORS **/

/** HELP CENTER **/
.navbar-nav .help-bnt {
    color: #12131A !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.navbar-nav .help-btn:hover {
    color: #FFFFFF !important;
}

#help-center-wrapper {
    border-radius: 4px !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25) !important;
    max-height: calc(100vh - 73px);
    overflow-y: scroll;
}

.help-center {
    width: 720px;
    padding: 20px;
}

.help-center a:hover {
    text-decoration: none;
}

.help-center .help-block-lg {
    height: 150px;
    border-radius: 6px;
}

.help-center .help-block-lg.videos {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5)), url('../../images/help-center/pic2.jpg');
    border-radius: 8px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
}

.help-center .help-block-lg.videos .content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 223px;
    height: 44px;
}

.help-center .help-block-lg.videos .content .text {
    height: 19px;
    font-family: 'Roboto', sans-serif !important;
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 19px;
    color: #FFFFFF;
    padding-left: 15px;
}

.help-center .help-block-lg.help-center-block {
    position: relative;
    overflow: hidden;
    background: #FFFFFF;
    border-radius: 8px;
}

.help-center .shadowable:hover {
    box-shadow: 0 5px 20px rgba(31, 50, 61, 0.19);
}

.help-center .help-block-lg.help-center-block .ellipse-left {
    position: absolute;
    width: 93px;
    height: 93px;
    left: -60px;
    top: 100px;

    background: #1094F7;
    filter: blur(65px);
}

.help-center .help-block-lg.help-center-block .ellipse-middle {
    position: absolute;
    width: 120px;
    height: 36px;
    left: 74px;
    top: 35px;

    background: #1510F7;
    filter: blur(65px);
    transform: rotate(64.25deg);
}

.help-center .help-block-lg.help-center-block .ellipse-right {
    position: absolute;
    width: 100px;
    height: 138px;
    left: 218px;
    top: -63px;
    background: #1094F7;
    filter: blur(65px);
}

.help-center .help-block-lg.help-center-block .loop {
    position: absolute;
    left: 7.5%;
    right: 8.5%;
    top: 12.5%;
    bottom: 12.5%;
}

.help-center .help-block-lg.help-center-block .arrow {
    position: absolute;
    right: 10%;
    bottom: 16%;
    mix-blend-mode: normal;
}

.help-center .help-block-lg.help-center-block .text-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    padding: 0;
    gap: 4px;
    width: 164px;
    height: 42px;
    left: 7.5%;
    top: 88px;
}

.help-center .help-block-lg.help-center-block .text-block .main-text {
    width: 144px;
    height: 19px;

    font-family: 'Roboto', sans-serif !important;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #12131A;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.help-center .help-block-lg.help-center-block .text-block .submain-text {
    width: 164px;
    height: 14px;
    font-family: 'Roboto', sans-serif !important;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    color: #81888F;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.help-center .help-block-lg.pdf .doc-icon-wrapper {
    position: absolute;
    width: 68px;
    height: 68px;
    top: 27px;
    left: calc(50% - 34px);
    border-radius: 50%;
    background: #F2F2F2;
    padding: 11px;
}

.help-center .instructions-title-row {
    width: 90px;
    height: 19px;
    margin-top: 24px;
    font-family: 'Roboto', sans-serif !important;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #000000;
}

.help-center .instructions-row {
    margin-top: 12px;
    margin-left: 0;
    margin-right: -11px;
    padding-left: 0;
    padding-right: 0;
}

.help-center .instructions-row .instruction-icon-wrapper {
    margin-top: 12px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #F2F2F2;
    padding: 8px;
    cursor: pointer;
}

.help-center .instructions-row .instruction-description {
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    color: #12131A;
    margin-top: 10px;
    cursor: pointer;
}

.help-center .instructions-row .instruction-block {
    box-sizing: border-box;
    background: #FAFBFC;
    height: 75px;
    border: 1px solid #E8EBEC;
    border-radius: 8px;
    padding-left: 14px;
}

.help-center .instructions-row .instruction-block svg {
    margin-top: 14px;
}

.help-center .instructions-row .instruction-block .text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    width: 42px;
    height: 15px;
    font-family: 'Roboto', sans-serif !important;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    color: #252733;
    padding-top: 4px;
}

.help-center .instructions-row .instruction-block:hover {
    box-shadow: 0 5px 20px rgba(31, 50, 61, 0.19);
}

.help-center .instructions-row .col {
    padding-left: 0;
    padding-right: 11px;
}

.help-center .training-row .training-block {
    box-sizing: border-box;
    background: #FAFBFC;
    height: 75px;
    border: 1px solid #E8EBEC;
    border-radius: 8px;
}

.help-center .training-row a {
    color: #000000;
}


.help-center .communication-row {
    margin-top: 24px;
    margin-left: 0;
    margin-right: -11px;
    padding-left: 0;
    padding-right: 0;
}

.help-center .communication-row .communication-block {
    height: 80px;
    width: 100%;
    background: #FAFBFC;
    border-radius: 8px;
    border: 1px solid #E8EBEC;
}

.help-center .communication-row .communication-block .container {
    display: flex;
    align-items: center;
    height: 100%;
}

.help-center .communication-row .communication-block .container .logo {
    display: flex;
    align-items: center;
}

.help-center .communication-row .communication-block .container .text {
    display: flex;
    flex-wrap: wrap;
    margin-left: 14px;
}

.help-center .communication-row .communication-block .text .main-text {
    width: 144px;
    height: 19px;
    font-family: 'Roboto', sans-serif !important;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #252733;
    flex: none;
    order: 0;
    flex-grow: 0;
    white-space: nowrap;
}

.help-center .communication-row .communication-block .text .submain-text {
    height: 14px;
    font-family: 'Roboto', sans-serif !important;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    color: #AEB7C2;
    flex: none;
    order: 1;
    flex-grow: 0;
    width: 100%;
}

.help-center .communication-row .communication-block .container .arrow {
    margin-left: 20px;
    margin-top: 5px;
}

.help-center .communication-row .col {
    padding-left: 0;
    padding-right: 11px;
}

.help-center .line {
    position: absolute;
    width: 100%;
    height: 1px;
    background: #EFEEEE;
    margin-left: -20px;
    margin-right: -20px;
    margin-top: 20px;
}

.help-center .blog-row,
.help-center .help-row,
.help-center .telegram-row {
    background: #F2F2F2;
    border-radius: 6px;
    height: 80px;
    margin-top: 30px;
    padding: 23px 20px;
}

.help-center .blog-row,
.help-center .telegram-row {
    margin-top: 20px;
}

.help-center .blog-title-block,
.help-center .telegram-title-block {
    padding-left: 10px;
}

.help-center .blog-block-header,
.help-center .telegram-block-header {
    font-weight: var(--font-bold);
    font-size: 15px;
    line-height: 0;
}

.help-center .blog-block-description,
.help-center .telegram-block-description {
    font-size: 12px;
    line-height: 16px;
}

.help-center .start-education-row,
.help-center .read-blog-row,
.help-center .read-telegram-row {
    white-space: nowrap !important;
    cursor: pointer;
}

.help-center .start-education-row:hover a,
.help-center .read-blog-row:hover a,
.help-center .read-telegram-row:hover a {
    color: rgba(16, 146, 245, 0.5);
}

.help-center .start-education-row:hover svg > path,
.help-center .read-blog-row:hover svg > path,
.help-center .read-telegram-row:hover svg > path {
    stroke: rgba(16, 146, 245, 0.5);
}

.help-center .start-education-row > a,
.help-center .read-blog-row > a,
.help-center .read-telegram-row > a {
    font-weight: var(--font-bold);
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.05em;
    text-decoration-line: underline;
    color: #1094F7;
    margin-right: 10px;
}

.help-button-block:first-child {
    text-align: left;
    padding-left: 20px !important;
}

.help-button-block:last-child {
    text-align: right;
    padding-right: 20px;
}

.help-button-block {
    width: 240px;
    display: table-cell;
}

.help-linkblock .d-ib:last-child {
    margin-right: 0;
}

.help-linkblock {
    margin-top: 5px;
    font: 400 13px/22px 'Roboto', Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.d-ib {
    display: inline-block !important;
}

.help-linkblock .d-ib:first-child {
    margin-left: 0;
}

.help-linkblock .d-ib {
    vertical-align: top;
    width: calc(33% - 14px);
    margin: 0 10px;
}

.help-linkblock img {
    width: 80px;
    height: auto;
    padding-top: 20px;
}

.help-linkblock a {
    color: #39abe4;
    font: 400 13px/22px 'Roboto', Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.seeall {
    margin-top: 10px;
}

.seeall a {
    font-weight: bold;
    border-bottom: 1px dotted rgba(51, 170, 238, 0.5);
}

.show-help-center-support {
    float: left;
    font-size: 13px;
    margin-top: 39px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.show-help-center-support a {
    color: #1094f7 !important;
}

.show-help-center-box {
    margin-top: 39px;
    text-align: right;
    margin-bottom: -7px;
}

.show-help-center-box .checkbox {
    font-size: 13px;
}

.scroll-wrapper {
    max-height: calc(100vh - 170px);
    overflow-y: scroll;
    padding-right: 10px !important;
}

.help-center .form-check {
    margin-bottom: 12px;
    margin-left: 5px;
}

.help-center .help-center-title {
    font-weight: var(--font-bold);
    font-size: 20px;
    line-height: 27px;
}

.help-center .help-center-video-description {
    font-size: 15px;
    font-weight: bold;
}

/** END HELP CENTER **/

.nav-tabs.table-tabs {
    border: none !important;
    margin-bottom: 0 !important;
}

.nav-tabs.table-tabs > .nav-item {
    border: none;
    padding: 10px 30px;
}

.nav-tabs.table-tabs > .nav-item:not(.active):hover {
    border-bottom: 3px solid #0091fa;
}

.nav-tabs.table-tabs > .nav-item.active {
    font-weight: bold;
}

.nav-tabs.table-tabs > .nav-item:not(.active) {
    color: #323232;
}

.nav-tabs.table-tabs > .nav-item {
    border-bottom: 3px solid transparent;
}

.tab-content {
    border: none !important;
    padding: 0 15px !important;
}

.brtl-0 {
    border-top-left-radius: 0px !important;
}

.with-right-border {
    border-right: 3px solid #fff;
}

.border-b-0 {
    border-bottom: none !important;
}

/** Tariff Payment Popup**/

.payment-tariff-element-price {
    font-size: 32px;
}

.payment-tariff-element-button {
    margin-top: 12px;
}

.payment-tariff-element-saving {
    color: #f85100;
}

.payment-tariff-element-companies {
    font-style: italic;
    font-size: 11px;
}

.payment-tariff-element-recurrent {
    position: relative;
}

.promo-code-message {
    position: absolute;
    left: 15px;
    bottom: -15px;
    color: rgb(249, 0, 0);
}

/** END Tariff Payment Popup**/

/** Widget Payment Popup**/

.payment-widget-element-price {
    font-size: 32px;
}

.payment-widget-element-button {
    margin-top: 12px;
}

.payment-widget-element-saving {
    color: #f85100;
}

.payment-widget-element-companies {
    font-style: italic;
    font-size: 11px;
}

.payment-widget-element-recurrent {
    position: relative;
}

.promo-code-message {
    position: absolute;
    left: 15px;
    bottom: -15px;
    color: rgb(249, 0, 0);
}

/** END Widget Payment Popup**/

/** CHARTABLE **/

.chartable-wrapper {
    position: relative;
}

.chartable {

}

.chartable.progress {
    height: 30px !important;
    border-radius: 30px !important;
    background-color: transparent !important;
}

.chartable .progress-bar {
    border-radius: 0 !important;
    background-color: transparent;
}

.chartable .progress-bar:last-child {
    border-radius: 0px 30px 30px 0px !important;
    border-left-width: 0px !important;
}

.chartable .progress-bar.rounded-right {
    border-radius: 0px 30px 30px 0px !important;
}

.chartable .progress-bar:first-child {
    border-radius: 30px 0px 0px 30px !important;
    border-left-width: 2px !important
}

.chartable-tooltip,
.progress-tooltip {
    padding: 10px 20px;
    margin-left: 20px;
    margin-top: 20px;
}

.chartable-labels-wrap {
    position: relative;
    display: flex;
    overflow: hidden;
    height: 18px;
    margin-bottom: 10px;
}

.chartable-label {
    display: block;
    font-size: 11px;
}

.chartable-label {
    text-align: right;
}

.chartable-label:first-child {
    text-align: left !important;
}

.chartable-label:last-child {
    text-align: right !important;
}

.chartable-divider {
    position: absolute;
    z-index: 9;
    top: 20px;
    bottom: -10px;
    width: 0;
    border-right: 1px dashed #ccc;
}

.chartable-budget-separator {
    position: absolute;
    z-index: 9;
    top: 0;
    bottom: -10px;
    width: 0;
    border-right: 1px solid #c65661;
}

.chartable-budget-separator-bottom-label,
.chartable-budget-separator-top-label {
    position: absolute;
    z-index: 9;
    bottom: -25px;
    font-size: 11px;
    color: #c65661
}

.chartable-budget-separator-top-label {
    top: -15px !important;
}

.progress-bar.rounded-right {
    border-top-right-radius: 30px !important;
    border-bottom-right-radius: 30px !important;
}

/** END CHARTABLE **/

.chart-process-label {
    display: inline-block;
    width: 250px;
    vertical-align: top;
    padding-right: 13px;
    margin-top: 22px;
}

.chart-process-label .chart-legend-header {
    width: 110px;
    display: inline-block;
}

.chart-legend.economy {
    margin-top: -38px;
    margin-bottom: 2px;
}

.chart-process-label .chart-legend-body {
    width: calc(100% - 115px);
    display: inline-block;
}

.chart-process-content {
    display: inline-block;
    width: calc(100% - 260px);
    vertical-align: top;
}

.chart-legend {

}

.chart-process-label .chart-legend-header {
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
}

.chart-legend .chart-legend-body {
    font-size: 18px;
}

/** Document page **/
.document-tab-content .dropify-font-file:before {
    font-family: 'Line Awesome Free' !important;
    font-weight: 900;
    content: "\f15c" !important;
}

.export-container .export-document-contractor {
    text-align: center;
    width: 180px;
    padding: 0;
    border-radius: 6px;
    border: 1px solid var(--New-styles-Input-Stroke, #E8EBEC);
    background: var(--New-styles-Input-Fill, #FAFBFC);
}

.print-btn.btn.upload-button {
    width: 180px;
    height: 28px;
    text-align: left;
    padding: 6px 8px 6px 12px !important;
    border-radius: 6px;
    border: 1px solid var(--New-styles-Input-Stroke, #E8EBEC);
    background: var(--New-styles-Input-Fill, #FAFBFC);
    color: var(--Old-styles-Text-primary, #252733);

    /* body_12_reg */
    font-family: Roboto, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 15px; /* 133.333% */
}

.tooltip-option.document-tooltip-link.download-upload {
    height: 28px;
    padding: 6px 16px;
    color: var(--New-styles-, #252733);

    /* body_12_reg */
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 133.333% */
}

.tooltip-option.document-tooltip-link.download-upload:hover {
    background: var(--Old-styles-Bg-accent_light, #E7F4FE);
}

.upload-line {
    margin-bottom: 28px !important;
}

.tab-content.document-upload {
    padding: 0 0 !important;
}

.instruction-upload-label {
    color: var(--Text-secondary, #616161);
    text-align: center;

    /* body_13_reg */
    font-family: Roboto;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 123.077% */
}

.document-upload-title {
    margin-bottom: 12px;
    padding-inline: 15px;

    color: var(--Text-primary, #252733);

    /* Body_14 semibold */
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px; /* 114.286% */
}

.upload-mb-20 {
    margin-bottom: 20px;
}

.document-tab-content .dropify-wrapper .dropify-preview .dropify-render .dropify-extension {
    display: none !important;
}

.dropify-wrapper {
    height: 130px;
    border-radius: 6px !important;
    border: 1px solid var(--New-styles-Input-Stroke, #E8EBEC) !important;
}

.document-tab-content .document-row {
    background: #f4f4f8 !important;
    min-width: 250px !important;
    padding: 10px 5px !important;
    cursor: default;
}

.mb-24 {
    margin-bottom: 24px;
}

.document-info-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.document-info-container .document-info-date-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 4px;
}

.document-tab-content .row.document-row.document-info-row {
    padding: 0 !important;
    background: #ffff !important;
    margin-bottom: 24px !important;
}

.contract-document-date.text-date {
    color: var(--Old-styles-Text-secondary, #818998);

    /* caption_11_reg */
    font-family: Roboto;
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 145.455% */
}

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

.document-row {
    min-width: 250px !important;
    padding: 10px 5px !important;
    cursor: default;
}

.document-row:hover {
    background-color: #f4f4f8;
}

.document-row a.btn i {
    margin-right: auto;
    margin-left: auto;
}

.document-row a.btn,
.document-tab-content .document-row a.btn {
    font-size: 10px !important;
    cursor: pointer !important;
    text-align: center;
    width: 20px;
    padding: 0;
    height: 20px;
    line-height: 18px;
}

.documents-page-content .document-row a.btn {
    display: flex;
    justify-content: center;
    align-items: center;
}

#add_payment_request_popup .custom-file-input {
    height: 28px !important;
}

.document-row a.btn:focus {
    color: #09b76b !important;
    border-color: #09b76b !important;
}

.document-row a.btn:hover {
    color: #fff !important;
}

.document-row > a.btn i {
    margin-right: 0 !important;
}

.document-row:hover .name {
    font-size: 12px;
    color: #09b76b !important;
    text-decoration: none;
}

.documents-page-content .card-title {
    text-transform: none !important;
}

/** End document page **/

/** Profile page **/

.user-profile .tariff-expires-in, .user-profile .widget-expires-in {
    font-size: 10px;
    color: #7d7d7d;
}

.user-profile .info-links a.not-set {
    color: #3a3f51;
    cursor: default;
}

.user-profile .info-links a.not-set:hover {
    text-decoration: none !important;
}

.user-profile input::placeholder {
    color: #ababab;
}

.user-profile .referrer-link {
    border: 0 !important;
    color: #0093dd !important;
    font: 400 14px/20px 'Roboto', Arial, "Helvetica Neue", Helvetica, sans-serif;
    text-decoration: underline;
    cursor: pointer;
    padding-left: 7px;
}

.user-profile .referrer-copy {
    display: none;
    color: #4CAF50;
    padding-left: 10px;
    font-weight: bold;
}

.user-profile .referrer-statistics {
    padding-left: 0;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
}

.profile-subscriptions-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 25px;
}
.profile-subscriptions_header {
    margin-bottom: 5px;
}
.profile-subscriptions-date {
    width: 150px;
}
.profile-subscriptions-email {
    width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-subscriptions-tariff, .profile-subscriptions-widget {
    width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.profile-subscriptions-cost {
    width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-profile .referrer-statistics li {
    width: 33.333%;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-flex-direction: column;
    flex-direction: column;
}

.user-profile .referrer-statistics li p {
    text-align: center;
    margin-bottom: 0;
    font-weight: var(--font-bold);
    font-size: 1.4rem;
    color: #3a3f51;
}

.user-profile .referrer-statistics li p:last-child {
    font-weight: 500;
    font-size: 0.9rem;
}

.user-profile .nav-tabs > .nav-item > a.nav-link {
    padding: 10px 18px;
}

.user-profile .about-user > p {
    font-size: 1em !important;
}

.user-profile .side-left .card .avatar img,
.user-profile .side-left .card .avatar img.logo-img {
    border-radius: 0 !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

.user-profile .side-left .card .avatar-block .name {
    text-align: center;
    color: #3a3f51;
    font-size: 1.2rem;
    font-weight: var(--font-bold);
    margin-bottom: 0;
}

.company-logotype {
    position: relative;
}

.company-logotype span.change-avatar-btn {
    background-color: rgba(0, 0, 0, 0.4);
    bottom: 0;
    padding: 10px 0;
    position: absolute;
    text-align: center;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    line-height: 16px;
    margin: 0;
    display: none;
    width: 100%;
    cursor: pointer;
    border-right: 0 !important;
}

.company-logotype span.change-avatar-btn:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.company-logotype span.change-avatar-btn:active,
.company-logotype span.change-avatar-btn:focus {
    background-color: rgba(0, 0, 0, 0.67);
}

.company-logotype:not(.edit-mode):hover span.change-avatar-btn {
    /*bottom: 0;*/
    display: block;
}

.company-container {
    display: grid;
    grid-template-columns: 275px 1fr;
}

.fw-bold {
    font-weight: bold !important;
}

.fw-medium-bold {
    font-weight: var(--font-bold) !important;
}

#employees .table-striped tbody tr:nth-of-type(odd) .btn.btn-secondary {
    border-color: #fff;
    background: #fff;
}

#employees .table-striped tbody tr:nth-of-type(odd) .btn.btn-secondary:hover {
    color: #212529;
    background-color: #e1e1e1;
    border-color: #dbdbdb;
}

#employees .table-wrapper {
    max-height: 700px;
    overflow-y: auto;
}

#employees .table-striped tbody tr td:last-child {
    text-align: right;
}

/** End profile page **/

.estimate-action {
    position: relative;
    padding: 10px 0;
    border-bottom: 1px solid #f3f3f3;
}

.estimate-step-total-types.customer-page {
    margin-top: -5px !important;
}

#nav-comments .customer-comment {
    color: #000 !important;
}

.impersonate-container {
    position: fixed;
    inset: 0;
    border: 8px solid orangered;
    z-index: 1031;
    pointer-events: none;
}

.impersonate-block {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: fit-content;
    padding: 10px 10px;
    text-align: left;
    z-index: 999;
}

/** START TECH HELP POPUP **/

.tech-help-popup,
.advice-popup,
.estimate-comments-popup {
    width: 260px;
    background: white;
    height: auto;
    position: fixed;
    bottom: 40px;
    right: -261px;
    z-index: 1000;
    border-radius: 7px 0 0 7px;
    transition: 0.5s
}

.employee-details-popup {
    width: 500px;
}

.tech-help-popup {
    z-index: 1001;
}

.advice-popup,
.tech-help-popup,
.estimate-comments-popup {
    border-radius: 7px 0 0 0;
}

.advice-popup {
    bottom: 217px;
}

.advice-popup.open {
    z-index: 1002;
}

.estimate-comments-popup {
    bottom: 394px;
}

.advice-popup .card {
    height: 300px;
}

.estimate-comments-popup .card {
    height: 250px;
}

.tech-help-popup .open-tech-help-popup-block,
.advice-popup .open-advice-popup-block,
.estimate-comments-popup .open-estimate-comments-popup-block {
    background: black;
    color: white;
    position: fixed;
    width: 168px;
    height: 40px;
    right: -64px;
    bottom: 111px;
    padding: 6px 10px;
    border-radius: 6px 6px 0 0;
    font-size: 13px;

    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);

    transition: 0.5s;

    font-weight: bold;
}

.advice-popup .open-advice-popup-block {
    bottom: 288px !important;
    background: #ffba41;
    text-align: center;
    padding-left: 14px;
}

.estimate-comments-popup .open-estimate-comments-popup-block {
    bottom: 478px;
    background-color: #2694f7;
    text-align: center;
    padding-left: 14px;
    width: 193px;
    right: -77px;
}

.tech-help-popup .tech-help-header,
.advice-popup .advice-header,
.estimate-comments-popup .estimate-comments-header {
    background: black;
    border-radius: 7px 0 0 0;
    color: white;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: bold;
}

.advice-popup .advice-header {
    background-color: #ffba41;
}

.advice-row {
    margin-bottom: 5px;
    word-wrap: unset;
    padding-left: 15px;
    position: relative;
}

.advice-row:before {
    content: '';
    border: 1px solid;
    width: 5px;
    position: absolute;
    left: 1px;
    top: 8px;
}

.advice-block-title {
    font-weight: bold;
    font-size: 14px;
    line-height: 19px;
    margin-bottom: 12px;
}

.advice-video-link {
    width: 100%;
    height: 120px;
    border-radius: 6px;
    background-position: center;
    background-size: contain;
    display: flex;
    justify-content: center;
    align-items: center;
}

.estimate-comments-popup .estimate-comments-header {
    background-color: #2694f7;
}

.estimate-comments-popup .comment-header {
    color: #999;
}

.tech-help-popup textarea {
    height: 80px;
    resize: none;
}

.tech-help-popup .mail-sent {
    position: absolute;
    top: 47px;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    border-radius: 0 0 0 7px;
    height: calc(100% - 47px);
    font-size: 18px;
    text-align: center;
    padding-top: 100px;

    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s linear;
}

.tech-help-popup .file-upload-browse {
    width: 40px;
    background-color: #000;
}

.tech-help-popup .file-upload-browse:hover i.la-upload {
    color: #000 !important;
}

.tech-help-popup [type="submit"] {
    background-color: #000 !important;
    color: #fff !important;
}

.tech-help-popup .file-upload-browse i.la-upload {
    font-size: 16px;
    color: #fff;
}

/** END TECH HELP POPUP **/

/** LOADER CSS **/
.loader-wrapper {
    background: #000;
    opacity: 0.5;
    z-index: 9999;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.loader-wrapper .loader-text-wrapper {
    position: absolute;
    top: calc(50% + 20px);
    width: 100%;
    text-align: center;
}

.absolute-loader {
    position: absolute !important;
    z-index: unset;
}

.spinner {
    position: absolute;
    left: calc(50% - 35px);
    top: calc(50% - 10px);
    width: 70px;
    text-align: center;
}

.spinner > div {
    width: 18px;
    height: 18px;
    background-color: #fff;

    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0)
    }
    40% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}

/** END LOADER CSS **/
/** COLORPICKER CSS **/
.colorpicker-color, .colorpicker-alpha {
    display: none !important;
}

/** END COLORPICKER CSS **/

/** ADD USERS **/
.user-row .ava > img {
    width: 40px !important;
    height: 40px !important;
}

.user-row .ava.no-photo {
    background: #ccc;
    height: 40px;
    width: 40px;
    border-radius: 50%;
}

.user-row .data .name {
    color: #1f1f1f;
}

.user-row .data .mail {
    color: #949494;
    font-size: 10px;
}

.user-row a.delete {
    font-size: 23px;
    color: #949494;
}

.user-row a.delete:hover {
    text-decoration: none;
    color: #1f1f1f;
}

#estimateUserList {
    max-height: 170px;
    overflow-y: scroll;
    padding-right: 15px;
}

#add-customer-popup {
    min-height: 350px;
    padding-bottom: 55px;
}

#add-customer-popup .row.description {
    font-size: 12px;
    color: #666666;
}

#add-customer-popup .row.users {
    margin-top: 15px;
    padding-top: 10px;
    max-height: 137px;
    overflow-y: auto;
    padding-right: 15px;
    border-top: 1px solid #dbdbe5;
    height: auto;
}

#add-customer-popup #result-copy {
    margin-top: 5px;
    font-size: 13px;
    height: 18px;
}

#add-customer-popup #result-copy.success {
    color: #4CAF50;
}

#add-customer-popup #result-copy.fail {
    color: #ED294D;
}

#add-customer-popup #estimate-link {
    overflow-x: auto;
    border: 1px solid #f3f3f3;
    font-family: "opensans-regular", sans-serif;
    font-size: 1rem;
    padding: 0.56rem 0.75rem;
    line-height: 14px;
    background: #e6e6e6;
    border-radius: 2px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    color: #495057;
}

.open_link {
    font: 400 14px/22px 'Roboto', Arial, "Helvetica Neue", Helvetica, sans-serif;
    color: #0093dd;
    outline: none;
    text-decoration: none;
}

#copy-link-btn {
    margin-top: 3px;
}

.error-msg {
    display: none;
}

.error-msg.active {
    display: block !important;
    color: #cc1c2d;
    margin-top: 3px;
}

/** END ADD USERS **/

.document-tooltip-link {
    color: #000;
    display: block;
}

.document-tooltip-link:hover {
    text-decoration: none !important;
    color: #000 !important;
}

.subcontractor-list {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    flex-wrap: wrap;
}

.subcontractor-list > a.tab.active:hover {
    text-decoration: none !important;
}

.badge.label {
    color: #fff !important;;
    border: 1px solid #949494 !important;;
    font-size: 10px !important;;
    background: #949494 !important;;
}

.badge.label.required {
    color: #fff !important;
    border: 1px solid #d66828 !important;;
    font-size: 10px !important;;
    background: #d66828 !important;;
}

.badge.label.rejected {
    color: #fff !important;
    border: 1px solid #f9000033 !important;;
    font-size: 10px !important;;
    background: #f9000033 !important;;
}

.table-row.position.hide-in-act {
    color: #949494 !important;
}

.position .rejected-label {
    display: none;
}

.position.rejected .rejected-label {
    display: inline-block;
}

.extra-row .remain-amount {
    justify-content: flex-end;
}

.position:not(.hide-in-act) .hide-in-act-label {
    display: none;
}

.position:not(.rejected) .rejected {
    display: none;
}

.estimate-status-draft {
    width: 600px;
}

.massedit-panel,
.summary-payments-panel {
    display: none;
    position: fixed;
    bottom: 0;
    right: 20px;
    width: auto;
    font-size: 13px;
    padding: 12px 22px !important;
    margin: 4px 0 0 !important;
    text-align: right;
    height: 44px;
    background-color: #323232;
    color: #fff;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    z-index: 10;
}

.massedit-panel,
.summary-payments-panel .summary-payments-title {
    font-weight: var(--font-bold);
}

.massedit-panel.active,
.summary-payments-panel.active {
    display: block;
}

.summary-payments-arrow.debit-arrow {
    background-image: url("../images/icon/blue-right-arrow.svg");
}

.summary-payments-arrow.credit-arrow {
    background-image: url("../images/icon/blue-left-arrow.svg");
}

.summary-payments-arrow.transfer-arrow {
    background-image: url("../images/icon/blue-arrows.svg");
}

.summary-payments-saldo-block {
    border-left: 1px solid white;
}

.summary-payments-arrow {
    width: 12px;
    height: 13px;
    margin-right: 4px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.massedit-tooltip hr {
    margin: 0 !important;
}

.demo-btn {
    width: 100% !important;
    padding: 0 10px !important;
}

.hover-underline:hover {
    text-decoration: underline;
}

.hover-opacity:hover {
    opacity: 0.67;
}

.hover-opacity-negative {
    opacity: 0.67;
}

.hover-opacity-negative:hover {
    opacity: 1;
}

.disabled {
    cursor: not-allowed;
}

.word-break {
    word-break: break-all;
}

.sidebar-company .current-company {
    cursor: pointer;
    padding: 9px 0px 7px 9px;
    max-width: 192px;
    display: inline-block;
}

.sidebar-company:hover {
    background-color: #262626;
}

.sidebar-company .company-wrapper {
    position: relative;
    z-index: 11;
    border-radius: 3px;
    padding: 0px;
    box-sizing: border-box;
    padding-right: 6px;
    display: flex;
    line-height: 1em;
}

.current-company > i.la-ellipsis-v {
    position: absolute;
    font-size: 23px;
    right: 0;
    top: 12px;
}

.current-company i.arrow {
    opacity: 0.5;
    transform: translateY(-50%);
    font-size: 12px;
    /* right: 10px; */
    top: 14px;
    margin-left: 12px;
    /* filter: drop-shadow(0px 0px 1px #ccc); */
    /* overflow: visible; */
    width: 12px;
    height: 16px;
    margin-top: 15px;
    background: url('../images/drop_down.svg') center center no-repeat;
}

.current-company:hover i.arrow {
    opacity: 1;
}

.current-company .la-angle-right:before {
    content: "\f106";
    font-size: 13px;
    transform-origin: 50%;
    transform: scale(0.96) translate(0.5px, 0px);
    display: none;
}

.current-company .la-angle-right:after {
    content: "\f106";
    transform: rotate(180deg);
    display: none;
    margin-top: -3px;
}

.current-company i.arrow.active:before {
    content: "\f106" !important;
}

.company-select-wrapper {
    border-radius: 4px;
}

.sidebar-company-title span {
    font-weight: var(--font-bold);
    line-height: 1.2em;
    margin-bottom: 2px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-company-title,
.sidebar-company .company-item-wrapper:first-child .company-item-name {
    font-weight: var(--font-bold);
    line-height: 1.2em;
    margin-bottom: 2px;
}

.sidebar-company-title {
    margin-bottom: 0px;
}

.company-select-wrapper .company-item-wrapper {
    padding-left: 60px !important;
    display: flex;
}

.company-nav-item a.nav-link {
    padding: 10px 18px !important;
}

@media (max-width: 1540px) {
    .company-nav-item a.nav-link {
        padding: 10px 8px !important;
    }

}

.react-error {
    color: #e04e2a;
}

.company-item-wrapper {
    position: relative;
}

.company-select-wrapper .company-item-wrapper::before {
    display: inline-block;
    content: '';
    background: url('../images/business-profile.svg') center center / 14px no-repeat rgba(129, 137, 152, 0.17);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    margin: 7px;
    margin-left: -48px;
}

.company-select-wrapper .company-item-wrapper.personal::before {
    background-image: url('../images/personal-profile.svg');
}

.company-select-wrapper .company-item-wrapper.current::after {
    display: block;
    content: '';
    position: absolute;
    top: 50%;
    right: 7px;
    margin-top: -13px;
    background: url('../images/tick.svg') center center / 16px no-repeat;
    width: 26px;
    height: 26px;
}

.sidebar-company .company-item-email,
.sidebar-company .sidebar-company-email {
    font-weight: normal;
    font-size: 10px;
    line-height: 1.2em;
    color: #818998;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.current-company .sidebar-company-email {
    color: #a0a0a0;
}

.sidebar-company .my-company-icon {
    width: 10px;
    height: 10px;
    display: inline-block;
    background-image: url("../images/icon/profile-user.svg");
    background-size: cover;
}

.sidebar-company .company-item:not(:first-child) {
    border-top: 1px solid rgba(37, 37, 37, 0.15);
}

.current-company i.arrow.active:before {
    content: "\f107";
}

.sidebar-toggle {
    position: absolute;
    top: 3px;
    right: 6px;
    width: 40px;
    height: 40px;
    background: url("../images/sidebar-toggle.svg") center 45% no-repeat;
    opacity: 0.2;
    cursor: pointer;
}

.sidebar-toggle:hover {
    opacity: 1;
}

.documents-print-selections {
    background: #fff;
    color: #000;
    padding-bottom: 4px;
    padding-top: 4px;
}

.documents-print-selections.downloadContainer {
    width: fit-content;
    /*width: 200px;*/
    border-radius: 6px;
    box-shadow: 0px 5px 20px 0px rgba(31, 50, 61, 0.19);
}

.documents-print-selections .document-tooltip-link:hover {
    color: #000;
}

.documents-print-selections .tooltip-option:hover, .documents-print-selections .tooltip-option.selected {
    background: #ededed;
}

button.navbar-toggler {
    background: url('../images/logos/ru/logo-mini-black.svg') left center / 28px no-repeat;
    width: 90px;
    height: 40px;
}

button.navbar-toggler .icon {
    background: url('../images/sidebar-toggle-black.svg') right center no-repeat;
    transform: rotate(180deg);
    width: 40px;
    height: 26px;
    float: right;
}

.sidebar .tab-item .nav-link i:not(.project-collapse) {
    position: relative !important;
}

.sidebar i.la.la-book {
    top: 3px !important;
    font-size: 18px !important;
    width: 17px;
}

.sidebar i.la.la-cube {
    top: 3px !important;
    font-size: 20px !important;
    margin-top: -3px;
    width: 17px;
}

.show-sidebar {
    background: var(--logo) left 27% / 29px 30px no-repeat;
    width: 70px;
    height: 40px;
    padding: 3px 0 !important;
    box-sizing: border-box;
    min-width: 64px;
}

.show-sidebar .icon {
    background: url('../images/sidebar-toggle-black.svg') right center no-repeat;
    transform: rotate(180deg);
    width: calc(100% - 36px);
    height: 26px;
    float: right;
    margin-top: 2px;
    opacity: 0.36;
}

.show-sidebar .icon:hover {
    opacity: 0.88;
}

.company-select-wrapper {
    position: absolute;
    width: 225px;
    left: -3px;
    top: 52px;
    background: #fff;
    color: #252733;
    z-index: 10;
    -webkit-box-shadow: 0 0 13px -3px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 0 13px -3px rgba(0, 0, 0, 0.1);
    box-shadow: 0 14px 20px -3px rgba(8, 8, 8, 0.55);
    border-bottom: 1px solid rgb(36, 36, 36);
    display: none;
    padding: 4px 0px;
}

.company-select-wrapper:before {
    display: block;
    content: '';
    position: absolute;
    left: 15%;
    top: -4px;
    border-bottom: 5px solid #fff;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}

.company-select-wrapper a {
    text-decoration: none !important;
}

.company-select-wrapper .company-item-wrapper:first-child {
    padding: 3px 10px;
    border-bottom: 1px solid #d3d6da;
}


.company-item {
    padding: 5px 0;
    color: #717988;
}

.company-item-name {
    color: #252733;
}

.company-item-wrapper {
    padding: 3px 10px 4px;
}

.company-item-wrapper:hover {
    background: #e7f4fe;
    cursor: pointer;
}

.company-item-wrapper:active {
    background-color: #ffffff;
}

.sidebar-company span.my-company {
    display: block;
    font-size: 10px;
    margin: 5px 0;
}

.info-links .social-link > span {
    width: calc(100% - 23px) !important;
}

.gray-color {
    color: #949494;
}

.employee.no-photo {
    background: #ccc;
    height: 30px;
    width: 30px;
    border-radius: 50%;
}

.banks {
    margin-top: 12px;
}

.banks__header {
    color: var(--text-primary, #252733);
    /* Body_13 med */
    font-family: Roboto;
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px; /* 123.077% */
}

.banks__content {
    margin-top: 20px;
}

.banks__content_item {
    color: var(--text-primary, #252733);
    /* Body_12 med */
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 12px;

    border-bottom: 1px solid var(--bg-boarder, #E6E6E6);
}

.banks__content_item > svg {
    cursor: pointer;
}

.connected-bank {
    color: #1094F7;

    /* Body_15 reg */
    font-family: Roboto;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 133.333% */

    margin-left: 40px !important;
}

.banks__content_title {
    height: 32px;
    display: flex;
    align-items: center;
}

.banks__content_title > span {
    margin-left: 12px;
}

.banks__content_button {
    text-decoration: none;
    display: flex;
    height: 28px;
    padding: 0px 12px;
    justify-content: center;
    align-items: center;
    gap: 4px;

    border-radius: 4px;
    background: var(--buttons-fill-primary, #1094F7);

    color: #F5F5F5;
    font-family: Roboto;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 123.077% */
}

.banks__content_button:hover {
    text-decoration: none;
    color: #F5F5F5;
    background: var(--buttons-fill-primary-hover);

}

.employee-details-popup .employee.no-photo {
    background: #ccc;
    height: 120px;
    width: 120px;
    border-radius: 0 !important;
}

.custom-file-label {
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
    padding-right: 120px !important;
    white-space: nowrap;
}

.custom-file-label::after {
    content: 'Выбрать' !important;
}

/* */
.project-categories-list .table-row {
    min-width: auto;
}

.project-categories-list .table-row:hover {
    background-color: #fff !important;
}

.project-categories-list .project-category-wrapper {
    margin-bottom: 1rem !important;
    padding: 1.88rem 1.81rem !important;
}

.project-categories-list .project-category .name {
    font-size: 1.56rem;
    font-weight: var(--font-bold);
    padding: 0 1.81rem 0 0;
}

.project-categories-list .project .project-image {
    display: inline-block;
    vertical-align: center;
    padding: 1rem 1.81rem;
}

.project-categories-list .project .project-image img {
    max-height: 78px;
    width: auto;
    border-radius: 7px;
}

.project-categories-list .project .project-description {
    padding: 1rem 1.81rem 1rem 0;
}

.project-categories-list .project .project-description .name {
    font-weight: var(--font-bold);
}

.project-categories-list .project .project-property {
    font-size: 11px;
}

.project-category-placeholder {
    min-height: 105px;
    margin-top: 1rem !important;
    border-bottom: 1rem solid #f4f4f8;
    background: #d9d9d9;
}

ul li ul .project-category-placeholder {
    border-bottom: 1rem solid #fff;
}

.project-category-wrapper.collapsed ul {
    display: none;
}

.project-categories-list .no-projects {
    width: 100%;
    padding: 1.88rem 1.81rem;
    text-align: center;
}

.project-categories-list .active .no-projects {
    display: none !important;
}

.project-categories-list li ul li:last-child .table-row {
    border-bottom: none !important;
}

.project-categories-list .ui-sortable-helper {
    height: 105px !important;
}

.project-categories-list .ui-sortable-helper .no-projects, .collapsed .no-projects {
    display: none !important;
}

/* */

/** operation **/
.add-operation-popup .table-row {
    min-width: 490px;
}

.add-operation-popup .empty-operation {
    text-align: center;
    padding: 10px;
    color: #999;
}

.add-operation-popup .table-column.actions {
    width: 40px !important;
}

.operation {
    margin-bottom: 15px;
}

.operation-header {
    padding: 15px 0;
}

.operation-sortable .la-arrow-up {
    cursor: pointer;
    color: #999999;
}

.operation:first-child .operation-sortable .la-arrow-up {
    display: none;
}

.operation-sortable .la-arrow-down {
    cursor: pointer;
    color: #999999;
}

.operation:last-child .operation-sortable .la-arrow-down {
    display: none;
}

.operation .la-arrow-down:hover, .operation .la-arrow-up:hover {
    color: inherit;
}

.operation-total {
    font-size: 1.56rem;
    border-radius: 20px;
    line-height: 1rem;
    max-width: 200px;
    padding: 0.56rem 1.375rem;
    position: relative;
    min-width: 55px;
}

.operation-header .general {
    max-width: calc(100% - 315px) !important;
}

.operation-total-types {
    margin-top: -4px;
    font-size: 11px;
}

.operation-total-types .operation-total-column {
    width: 90px;
    padding: 0 15px;
    display: inline-block;
}

.operation-body {
    border-top: 1px solid #f3f3f3;
    padding-top: 10px
}

.operation.collapsed .operation-body {
    display: none;
}

.total-cost-description {
    position: absolute;
    left: 0;
    right: 17px;
    font-size: 10px;
    bottom: -9px;
}

.position.operation-directory-position .position-type,
.operation-positions .position.position-dictionary .position-type {
    margin: 0 !important;
}

.position .table-column:not(.dates, .duration) input,
.position-works-wrapper .table-column input,
.import-table .editable-input:not(textarea) {
    height: 21px !important;
}

/** end operation **/
.project-act-popup .print-btn {
    float: right;
    margin-bottom: 0 !important;
}

.project-act-popup .popup-header {
    display: inline-block;
}

.new-employee-choice, .new-choice {
    font-weight: bold;
    border-top: 1px solid #ccc;
}

#select2-companyPartner-results li:first-child,
#select2-employee-results li:first-child,
ul[id^='select2-project_customer'] li:first-child,
#select2-form_directory-results li:first-child {
    font-weight: bold;
    border-bottom: 1px solid #ccc;
}

#select2-employee-results li {
    padding-left: calc(0.75rem + 8px) !important;
}

#select2-employee-results li:first-child {
    border-top: none !important;
}

.select2-container--default .select2-results > .select2-results__options {
    max-height: 215px !important;
}

.select2-container--default .select2-dropdown {
    background: #ffffff !important;
    border-color: #d9d9d9 !important;
}

.la-ellipsis-v {
    cursor: pointer;
}

.btn.btn-dark-outline-dash:hover {
    color: rgba(51, 51, 51, 0.61);
    border: 1px dashed rgba(50, 50, 50, 0.61) !important;
}

.modal-backdrop.show ~ .select2-container {
    z-index: 99999;
}

/** Tariff **/

.tariff {
    margin-bottom: 15px;
}

.tariff-header {
    padding: 15px 0;
    border-bottom: 1px solid #f3f3f3;
    margin-bottom: 15px;
}

.tariff-sortable .la-arrow-up {
    cursor: pointer;
    color: #999999;
}

.tariff:first-child .tariff-sortable .la-arrow-up {
    display: none;
}

.tariff-sortable .la-arrow-down {
    cursor: pointer;
    color: #999999;
}

.tariff:last-child .tariff-sortable .la-arrow-down {
    display: none;
}

.tariff .la-arrow-down:hover, .tariff .la-arrow-up:hover {
    color: inherit;
}

.tariff-wrapper-body td {
    padding: 5px 20px !important;
    border: none !important;
    height: 32px;
}

.tariff-wrapper-body th {
    padding: 10px 20px !important;
}

.tariff-wrapper-body tr {
    border-bottom: 1px solid #f4f4f8;
}

.tariff-wrapper-body thead tr {
    background: #f4f4f8;
    border-bottom: 1px solid #f4f4f8;
}

.tariff-wrapper-body tbody tr:hover {
    background: #f4f4f8;
}

a.btn-style {
    color: #000000 !important;
    text-decoration: none;
}

a.btn-style:hover {
    text-decoration: none;
}

.tariff.collapsed .tariff-wrapper-body {
    display: none;
}

.tariff.collapsed .la.la-angle-down:before {
    content: "\f105" !important;
}

.tariff h3.card-title .badge {
    vertical-align: bottom;
}

.profile-popup-pay-btn {
    margin-top: 10px;
    margin-bottom: 9px;
}

.tariff-card {
    padding: 15px;
    cursor: pointer;
    border-radius: 4px !important;
    width: 235px !important;
    background: #FFFFFF;
    box-shadow: 0px 2px 18px rgba(0, 0, 0, 0.14);
}

.tariff-card.selected {
    border: 1px solid #1094f7 !important;
    box-shadow: 0 0 15px 1px rgba(16, 148, 247, 0.6);
}

.tariff-card .select2-container {
    text-align: center;
}

.tariff-card .price {
    line-height: 1em;
    margin: 10px 0;
    font-size: 18px;
}

.tariff-card-header {
    color: #12131a;
}

.price-value {
    font-weight: var(--font-bold) !important;
}

.current-tariff-card .tariff-card-header {
    color: #007bff !important;
}

h3.payment-header {
    font-size: 20px !important;
    line-height: 27px;
    font-weight: var(--font-bold);
}

.tariff-card-header h2 {
    font-size: 20px;
}

.tariff-card-header .tariff-current-tariff {
    min-height: 1.5em;
}

.tariff-card .tariff-short-description {
    color: #7d7d7d;
    margin-bottom: 10px;
}

.total-price-value-block {
    font-size: 14px !important;
    font-weight: var(--font-bold);
    line-height: 19px;
}

.payment-banner {
    margin-top: 16px;
    cursor: pointer;
}

.payment-banner:hover {
    opacity: 0.7;
}

.pay-button .btn {
    height: 34px !important;
    width: 140px !important;
}

.download-invoice {
    height: 34px !important;
    line-height: 17px !important;
}

.tariff-list .tariff-icon-wrapper {
    line-height: 130px;
    height: 130px;
}

.tariff-list .tariff-icon {
    width: 120px;
    height: 120px;
    border: 1px solid #000000;
    padding: 5px;
    margin-top: 5px;
    min-width: 120px;
    min-height: 120px;
    object-fit: cover;
}

.tariff-list .tariff-icon.no-icon {
    font-size: 105px;
    color: #afafaf;
}

.tariff-icon img {
    object-fit: cover;
    width: 64px;
    height: 64px;
}

.tariff-card .description {
    white-space: pre-wrap;
    line-height: 1.75;
}

.tariff-pricing-card {
    margin-bottom: 30px !important;
    margin-right: 10px !important;
}

.tariff-pricing-card:last-child {
    margin-right: 0px !important;
}

.tariff-payment-buttons {

}

.credit-order-btn {
    margin-bottom: -5px;
}

/** Widget start **/

/**
.widget {
    margin-bottom: 15px;
}

.widget-header {
    padding: 15px 0;
    border-bottom: 1px solid #f3f3f3;
    margin-bottom: 15px;
}

.widget-sortable .la-arrow-up {
    cursor: pointer;
    color: #999999;
}

.widget:first-child .widget-sortable .la-arrow-up {
    display: none;
}

.widget-sortable .la-arrow-down {
    cursor: pointer;
    color: #999999;
}

.widget:last-child .widget-sortable .la-arrow-down {
    display: none;
}

.widget .la-arrow-down:hover, .widget .la-arrow-up:hover {
    color: inherit;
}

.widget-wrapper-body td {
    padding: 5px 20px !important;
    border: none !important;
    height: 32px;
}

.widget-wrapper-body th {
    padding: 10px 20px !important;
}

.widget-wrapper-body tr {
    border-bottom: 1px solid #f4f4f8;
}

.widget-wrapper-body thead tr {
    background: #f4f4f8;
    border-bottom: 1px solid #f4f4f8;
}

.widget-wrapper-body tbody tr:hover {
    background: #f4f4f8;
}

.widget.collapsed .widget-wrapper-body {
    display: none;
}

.widget.collapsed .la.la-angle-down:before {
    content: "\f105" !important;
}

.widget h3.card-title .badge {
    vertical-align: bottom;
}

.widget-card {
    padding: 15px;
    cursor: pointer;
    border-radius: 4px !important;
    width: 235px !important;
    background: #FFFFFF;
    box-shadow: 0px 2px 18px rgba(0, 0, 0, 0.14);
}

.widget-card.selected {
    border: 1px solid #1094f7 !important;
    box-shadow: 0 0 15px 1px rgba(16, 148, 247, 0.6);
}

.widget-card .select2-container {
    text-align: center;
}

.widget-card .price {
    line-height: 1em;
    margin: 10px 0;
    font-size: 18px;
}

.widget-card-header {
    color: #12131a;
}

.current-widget-card .widget-card-header {
    color: #007bff !important;
}

.widget-card-header h2 {
    font-size: 20px;
}

.widget-card-header .widget-current-widget {
    min-height: 1.5em;
}

.widget-card .widget-short-description {
    color: #7d7d7d;
    margin-bottom: 10px;
}

.tariff-list .tariff-icon-wrapper {
    line-height: 130px;
    height: 130px;
}

.widget-list .widget-icon {
    width: 120px;
    height: 120px;
    border: 1px solid #000000;
    padding: 5px;
    margin-top: 5px;
    min-width: 120px;
    min-height: 120px;
    object-fit: cover;
}

.widget-list .widget-icon.no-icon {
    font-size: 105px;
    color: #afafaf;
}

.widget-icon img {
    object-fit: cover;
    width: 64px;
    height: 64px;
}

.widget-card .description {
    white-space: pre-wrap;
    line-height: 1.75;
}

.widget-pricing-card {
    margin-bottom: 30px !important;
    margin-right: 10px !important;
}

.widget-pricing-card:last-child {
    margin-right: 0px !important;
}

.widget-payment-buttons {

}
 */

/** Widget end **/

/* Purchase page */

.table-column.position-check-column.checkbox .form-check,
.table-column.position-excess-column.checkbox .form-check {
    height: 1px;
}

.estimate-purchases .table-body .table-row,
.company-purchases .table-body .table-row,
.estimate-works .table-body .table-row {
    background: transparent;
}

.estimate-purchases .progress.status-progress,
.company-purchases .progress.status-progress,
.entity-progress-status .progress.status-progress,
.estimate-works .table-column .progress,
.excess-wrapper .progress.status-progress {
    border-radius: 10px !important;
    position: relative;
    cursor: pointer;
    background: #cdcdcd !important;
    height: 17px;
}

.estimate-purchases .progress.status-progress,
.company-purchases .progress.status-progress,
.excess-wrapper .progress.status-progress {
    width: calc(100% - 15px) !important;
}

.estimate-works .table-column .progress {
    cursor: default !important;
    height: 10px !important;
}

.estimate-purchases .progress.status-progress .progress-bar,
.company-purchases .progress.status-progress .progress-bar,
.entity-progress-status .progress-bar,
.excess-wrapper .progress.status-progress .progress-bar {
    border-radius: 10px !important;
}

.estimate-purchases .progress.status-progress .status-title,
.company-purchases .progress.status-progress .status-title,
.entity-progress-status .progress.status-progress .status-title,
.excess-wrapper .progress.status-progress .status-title {
    color: #fff;
    position: absolute;
    width: 100%;
    font-weight: bold;
    line-height: 16px;
    font-size: 9px;
    text-transform: lowercase;
    white-space: nowrap;
}

.estimate-works .date-exclamation,
.estimate-purchases .date-exclamation,
.company-purchases .date-exclamation {
    font-weight: bold !important;
    color: #ec0818 !important;
}

.estimate-works .add-work span, .add-subcontractor {
    text-decoration: none;
}

.estimate-works .add-work span:hover, .add-subcontractor:hover {
    text-decoration: underline;
}

.position.done .add-work span {
    display: none !important;
}

.estimate-purchases .change-status-date.editable.active,
.company-purchases .change-status-date.editable.active,
.excess-wrapper .change-status-date.editable.active {
    margin-left: 0.5rem !important;
    margin-right: 0.5rem !important;
}

.estimate-purchases .change-status-date.editable.active input,
.company-purchases .change-status-date.editable.active input,
.excess-wrapper .change-status-date.editable.active input {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

.estimate-purchases .change-status-date,
.company-purchases .change-status-date,
.excess-wrapper .change-status-date {
    width: calc(100% - 12px);
}

.estimate-purchases .purchase-action-bar input:checked + .slider {
    background-color: #088aec !important;
}

.estimate-purchases .purchase-action-bar .switch {
    vertical-align: text-top;
}

.estimate-steps .position-comment-icon,
.estimate-purchases .position-comment-icon,
.company-purchases .position-comment-icon,
.estimate-works .position-comment-icon,
.excess-wrapper .position-comment-icon,
.estimate-extra-works .position-comment-icon {
    width: 16px;
    height: 16px;
    fill: #393939;
}

.estimate-steps .position-comment-icon.has-no-comments .s-fill,
.estimate-purchases .position-comment-icon.has-no-comments .s-fill,
.company-purchases .position-comment-icon.has-no-comments .s-fill,
.estimate-works .position-comment-icon.has-no-comments .s-fill,
.excess-wrapper .position-comment-icon.has-no-comments .s-fill,
.estimate-extra-works .position-comment-icon.has-no-comments .s-fill {
    display: none;
}

.estimate-steps .position-comment-icon:hover .s-fill,
.estimate-purchases .position-comment-icon:hover .s-fill,
.company-purchases .position-comment-icon:hover .s-fill,
.estimate-works .position-comment-icon:hover .s-fill,
.excess-wrapper .position-comment-icon:hover .s-fill,
.estimate-extra-works .position-comment-icon:hover .s-fill {
    display: block;
}

.end-date-wrapper {
    position: relative;
}

.purchase-delivery-reminder-status {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #e21c2a;
    content: '';
    right: -13px;
    top: 15px;
}

/* End purchase page */

/* Daterangepicker custom */
.daterangepicker {
    font: 400 13px/22px 'Roboto', Arial, "Helvetica Neue", Helvetica, sans-serif !important;
    border-radius: 0 !important;
    border: 1px solid #cdcdcd !important;
}

.daterangepicker td.in-range {
    background-color: #f4f4f8 !important;
}

.daterangepicker td.available:hover,
.daterangepicker th.available:hover {
    background-color: #f4f4f4 !important;
}

.daterangepicker td.active,
.daterangepicker td.active:hover {
    color: #ffffff !important;
    background-color: #0f94f7 !important;
}

/* End daterangepicker */

.comment-body {
    word-wrap: break-word;
}

.crop-image {
    max-height: 400px !important;
    width: auto;
}

.logo-placeholder .la-image {
    height: 235px;
    width: 100% !important;
    font-size: 54px;
    margin: 0 auto;
    background: #e6e6e6;
    color: #b3b6bd;
    text-align: center;
    line-height: 90px;
}

.logo-placeholder .la-image:before {
    display: block;
    margin-top: 64px;
}

#project_offer_export_popup,
#project_contract_agreement_export_popup {
    width: 600px;
}

#project_offer_export_popup .form-check .form-check-label .input-helper:before,
#project_contract_agreement_export_popup .form-check .form-check-label .input-helper:before {
    left: -1px !important;
    top: -4px !important;
}

#project_offer_export_popup .form-check .form-check-label .input-helper:after,
#project_contract_agreement_export_popup .form-check .form-check-label .input-helper:after {
    left: 1px !important;
    top: -2px !important;
}

#project_offer_export_popup .estimate-container,
#project_contract_agreement_export_popup .estimate-container {
    max-height: 200px;
    overflow-y: scroll;
}

.project-offer-estimate-option .form-check {
    top: 2px;
}

.project-offer-estimate-option .estimate-name {
    width: calc(100% - 70px);
}

.position.table-row.search-result-row .table-column.name .input-block {
    line-height: 15px;
}

.position.table-row.search-result-row .table-column.name .group-name {
    color: #999999;
}

/* COMPANY */
.legal-entity-tabs,
.payments-tabs {
    border-bottom: 1px solid #1094f7 !important;
}

a.nav-link.legal-entity-tab {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
    display: block !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.legal-entity-add {
    padding: 10px 28px !important;
    cursor: pointer !important;
    border-bottom: 1px solid #1094f7 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

li.nav-item.legal-entity-add-tab-wrapper {
    height: 32px !important;
    margin-bottom: -1px !important;
    border-radius: 2px !important;
}

li.nav-item.legal-entity-add-tab-wrapper > .legal-entity-add {
    height: 32px;
}

.legal-entity-add:hover {
    border-bottom: 1px solid #1094f7 !important;
}

.dashboard-property > .project-legal-entity {
    cursor: pointer;
    width: auto !important;
    max-width: calc(100% - 120px);
    text-decoration: underline;
}

.project-legal-entity-selections .tooltip-option.selected {
    background: #f4f4f8 !important;
}

.navbar-menu-wrapper .top-navbar-button {
    font-size: 1.11rem;
    line-height: 37px;
    transition: width .3s;
}

.navbar-menu-wrapper .top-navbar-button > a {
    text-decoration: none !important;
}

.navbar-menu-wrapper .top-navbar-button.active,
.navbar-menu-wrapper .top-navbar-button:not(.active):hover {
    border-bottom: 2px solid #1094f7 !important;
    border-radius: 0;
    color: #393939;
}

.navbar-menu-wrapper .top-navbar-button.active {
    font-weight: bold !important;
}

.navbar-menu-wrapper .navbar-button > a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #393939 !important;
    display: block;
}

.navbar-menu-wrapper .navbar-button:hover > a {
    top: 0px;
}

.navbar-menu-wrapper .top-navbar-button:not(.active):hover > a {
    opacity: 0.67;
}

/* company partner */

#company-partners .company-partners-list-wrapper {
    width: 440px;
    position: relative;
    min-height: 600px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: 15px;
    border-right: 1px solid #e5e5e5;
}

#company-partners .company-partners-info {
    width: calc(100% - 470px);
}

#company-partners .company-partners-list {
    width: 100%;
}

#company-partners .company-partners-list .company-partner {
    width: 100%;
    padding: 0.9375rem;
    line-height: 1;
    cursor: pointer;
}

#company-partners .company-partners-list .company-partner:hover,
#company-partners .company-partner.active {
    background-color: #f4f4f8;
}

#company-partners .company-partner-type {
    display: inline-block;
    width: 32px;
    font-size: 32px;
}

#company-partners .company-partner-name-wrapper {
    display: inline-block;
    vertical-align: top;
    width: 195px;
    padding: 0 10px;
}

#company-partners .company-partner-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.13rem;
    padding: 2px;
}

#company-partners .company-partner.active .company-partner-name {
    font-weight: var(--font-bold);
}

#company-partners .company-partner-type-text {
    color: #7D7D7D;
    font-style: italic;
}

#company-partners .company-partner-contact-wrapper {
    vertical-align: top;
    display: inline-block;
    width: 150px;
}

#company-partners .company-partner-email,
#company-partners .company-partner-phone {
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    width: 150px;
    text-overflow: ellipsis;
    padding: 2px;
}

#company-partners .nav-tabs > .nav-item > a.nav-link {
    padding: 10px 18px;
}

/*END company partner */

#nav-acts .act-row > .act-content {
    min-width: 420px !important;
}

.act-changed-popup a[data-act-changed-action] {
    color: #393939 !important;
}

#nav-acts.locked .act-status-actions .icheckbox_square-blue {
    cursor: default !important;
}

#nav-acts.locked .act-status-actions .icheckbox_square-blue:not(.checked).hover {
    background-position: 0 0 !important;
}

#nav-acts.locked .act-status-actions .icheckbox_square-blue.checked.disabled {
    background-position: -48px 0 !important;
}

#scroll_to_top_button {
    position: fixed;
    z-index: 2;
    bottom: 40px;
    background: #00000025;
    right: 50px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
}

#scroll_to_top_button:hover {
    background: #00000040;
    cursor: pointer;
}

#scroll_to_top_button:active {
    background: #00000060;
}

#scroll_to_top_button > i {
    margin-top: 13px;
    color: #fff;
}

/* company payment */
#add_payment_request_popup .exclamation-message,
#payment_request_details_popup .exclamation-message {
    background: #F4F4F8;
    height: 50px;
}

#add_payment_request_popup .exclamation-message > span,
#payment_request_details_popup .exclamation-message > span {
    font-size: 11px !important;
}

.payments-table-wrapper .table-column,
.payment-requests-table-wrapper .table-column {
    justify-content: start !important;
    flex-direction: row !important;
    align-items: center !important;
}

.payment-requests-table-wrapper .table-column {
    justify-content: start !important;
    flex-direction: row !important;
    align-items: center !important;
}

.payment-requests-table-wrapper [data-payment-request-action="sort"] {
    color: #aeaeae !important;
}

.payment-requests-table-wrapper .table-head .table-column.active-sort [data-payment-request-action="sort"] {
    color: #000000 !important;
}

.table-column.payment-project,
.table-column.payment-request-project,
.table-column.payment-target {
    position: relative;
    padding-left: 0;
    min-width: 150px;
    justify-content: start;
    text-align: left;
}

.table-column.payment-target {
    width: 300px;
}

.table-column.payment-target > span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-column.payment-date,
.table-column.payment-request-date-pay-before {
    width: 110px;
}

.table-column.payment-actions {
    width: 40px;
}

.table-column.payment-request-number {
    width: 40px;
    padding-left: 8px !important;
}

.table-column.payment-check {
    width: 30px;
}

.table-column.payment-account,
.table-column.payment-request-account {
    width: 130px;
    justify-content: start;
    text-align: left;
}

.table-column.payment-type {
    width: 50px;
}

.table-column.payment-company-partner,
.table-column.payment-request-company-partner {
    width: 140px;
    justify-content: start;
    text-align: left;
}

.table-column.payment-status {
    width: 132px;
    justify-content: start;
    text-align: left;
}

.table-column.payment-status.black {
    color: #616161;
    font-weight: bold;
}

.table-column.payment-status.red {
    color: #E04E2A;
    font-weight: bold;
}

.table-column.payment-status.orange {
    color: #FB9D32;
    font-weight: bold;
}

.table-column.payment-item {
    width: 170px;
}

.table-column.payment-request-creator {
    width: 60px;
}

.table-column.payment-item,
.table-column.payment-request-creator {
    justify-content: start;
    text-align: left;
}

.table-column.payment-sum,
.table-column.payment-request-sum {
    width: 100px;
}

.table-column.payment-sum,
.table-column.payment-request-sum {
    width: 130px;
}

.table-column.payment-request-sum {
    flex-direction: column !important;
    align-items: start !important;
    justify-content: center !important;
}

.table-head .table-column.payment-request-sum {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: start !important;
}

.table-column.payment-request-sum .overall-sum {
    font-weight: bold !important;
}

.table-column.payment-request-sum .remain-sum {
    font-size: 11px;
    font-weight: normal;
    color: #fff;
    background: #8C56B4;
    border-radius: 4px;
    padding: 0 5px;
    line-height: 14px;
}

.table-column.payment-request-status {
    width: 150px;
}

.payment-request-header-status {
    display: inline-block;
    vertical-align: top;
}

.payments-table-wrapper.table-column.payment-actions {
    width: 60px;
}

.payments-table-wrapper .table-column.payment-actions i {
    color: #2AB96B;
    font-size: 18px;
}

.table-column.payment-request-status > span,
.payment-request-header-status > span {
    width: 80px;
    height: 26px;
    box-sizing: border-box;
    border-radius: 2px;
    line-height: 24px;
    font-weight: var(--font-bold);
    font-size: 12px;
    border: 1px solid;
}

.payment-request-header-status > span {
    height: 23px;
    line-height: 21px;
    display: block;
    text-align: center;
}

.table-column.payment-request-status > span.wait,
.payment-request-header-status > span.wait {
    border-color: #FAD275;
    color: #FAD275;
}

.table-column.payment-request-status > span.paid,
.payment-request-header-status > span.paid {
    border-color: #2AB96B;
    color: #2AB96B;
}

.table-column.payment-request-status > span.declined,
.payment-request-header-status > span.declined {
    border-color: #F1190F;
    color: #F1190F;
}

.table-column.payment-request-status > span.part-paid,
.payment-request-header-status > span.part-paid {
    border-color: #8C56B4;
    color: #8C56B4;
}

.table-column.payment-request-status > span.postponed,
.payment-request-header-status > span.postponed {
    border-color: #757575;
    color: #757575;
}

.table-column.payment-request-status > span.agreed,
.payment-request-header-status > span.agreed {
    border-color: #1094F7;
    color: #1094F7;
}

.table-column.payment-column-empty {
    width: 100px;
}

.table-body .table-column.payment-sum {
    font-weight: var(--font-bold);
    font-size: 13px;
    line-height: 1.5;
}

.table-column.payment-sum .fractional-part,
.table-column.payment-request-sum .fractional-part {
    font-size: 0.85rem !important;
    margin-right: 3px !important;
    justify-content: center !important;
}

.table-column.payment-account span,
.table-column.payment-project span,
.table-column.payment-status span,
.table-column.payment-request-account span,
.table-column.payment-company-partner span,
.table-column.payment-request-company-partner span,
.table-column.payment-request-company-partner span,
.table-column.payment-request-creator span,
.table-column.payment-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.payments-table-wrapper .table-body ul li .table-row,
.payment-requests-table-wrapper .table-body ul li .table-row {
    background-color: transparent;
}

.payments-table-wrapper .table-body ul li:nth-child(even),
.payment-requests-table-wrapper .table-body ul li:nth-child(even) {
    background-color: rgba(244, 244, 248, 0.65);
}

.payment-row,
.payment-request-row {
    cursor: pointer;
}

.payment-request-badge,
.uncompleted-receipts-badge,
.in-order-supply-requests-badge {
    background: #F1190F;
    min-width: 16px;
    height: 16px;
    border-radius: 10px;
    display: inline-block;
    color: #fff;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: bold;
    line-height: 13.5px;
}

.payment-row {
    min-height: 52px !important;
}

.payment-row .payment-type {
    font-size: 21px;
}

.payment-row.transfer .payment-type,
.payment-row.transfer .payment-item,
.payment-row.transfer .payment-sum {
    color: #7d7d7d !important;
    display: flex;
}

.payment-row.transfer .payment-account,
.payment-row.transfer .payment-item {
    flex-wrap: wrap;
    align-items: start;
}

.payment-row.transfer .payment-type,
.payment-row.transfer .payment-sum {
    flex-direction: column !important;
    align-items: start !important;
}

.payment-row.expenses .payment-type,
.payment-row.expenses .payment-item,
.payment-row.expenses .payment-sum {
    color: #f90000 !important;
}

.payment-row.income .payment-type,
.payment-row.income .payment-item,
.payment-row.income .payment-sum {
    color: #09b76b !important;
}

.filter-row .filter-button-block {
    border-right: 1px solid #d9d9d9;
    display: inline-block;
    margin-right: -3px;
}

.filter-row .filter-button-block:nth-child(3) {
    border-right: none;
    margin-right: unset;
}

#payment_requests [data-supply-request-filter-action="hide-ready"] {
    cursor: pointer;
    margin-top: 4px !important;
}

#payment_requests [data-supply-request-filter-action="hide-ready"]:hover {
    text-decoration: underline;
}

#payment_requests [data-supply-request-filter-action="hide-ready"] .form-check {
    width: 16px !important;
}

#payment_requests [data-supply-request-filter-action="hide-ready"] .form-check .form-check-label .input-helper:before {
    top: -2px !important;
}

#payment_requests [data-supply-request-filter-action="hide-ready"] .form-check .form-check-label .input-helper:after {
    top: 0;
    left: 2px;
}

#payment_requests .fix-panel {
    background: #e5e5e5;
}

#payment_requests .fix-panel .checkbox {
    margin-bottom: 0;
    padding: 3px 10px 3px 3px;
}

#payment_requests .fix-panel .checkbox .form-check {
    width: 16px;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    margin-right: 2px;
}

#payment_requests .fix-panel .checkbox .form-check .form-check-label .input-helper:before {
    background: #fff;
}

#payment_requests .horizontal-separator {
    width: calc(100% - 142px);
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 4px;
    margin-right: -3px;
}

#payment_requests.sticky-header .filter-wrapper {
    position: fixed;
    background: #fff;
    z-index: 10;
    padding: 20px 20px 0;
    right: 22px;
    top: 46px;
}

#payment_requests.sticky-header .horizontal-separator {
    margin-bottom: -8px;
}

#payment_requests .filter-select[data-payment-request-filter-action="change-project"],
#payment_requests .filter-select[data-payment-request-filter-action="change-status"] {
    width: 219px;
}

#payment_requests .search-block {
    width: 369px;
    height: 28px;
}

#payment_requests .btn-group.payment-request-filter.all-filter {
    border-color: #1094f7 !important;
}

.form-information .form-group {
    line-height: 1;
}

.company-account-row .table-column.account-name {
    min-width: 150px;
    justify-content: start;
    text-align: left;
}

.company-account-row .table-column.account-default-pointer {
    width: 20px;
}

.company-account-row .table-column.account-number {
    width: 200px;
}

.company-account-row .table-column.account-number .number,
.company-account-row .table-column.account-owner-name span,
.company-account-row .table-column.account-name span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.company-account-row .table-column.account-number .number {
    max-width: 80px;
}

.company-account-row .table-column.account-owner-name {
    width: 200px;
}

.company-account-row .table-column.account-owner-name span {
    width: 100%;
}

.company-account-row .table-column.account-name span {
    width: 150px;
}

.company-account-row .table-column.account-default-badge .account-is-default {
    background-color: #2AB96B !important;
    border-color: #2AB96B !important;
    color: #ffffff !important;
}

.table-row.company-account-row.default {
    border: 1px solid #E0E0E0 !important;
    box-sizing: border-box;
    border-radius: 2px;
}

.table-row.company-account-row.default .account-default-pointer span {
    background: #2AB96B;
    width: 8px;
    height: 8px;
    border-radius: 4px;
}


.company-account-row .table-column.account-balance {
    width: 140px;
}

.company-account-row .table-column.account-currency {
    width: 140px;
}

.payment-item.row {
    padding: 5px 0;
    min-height: 34px;
}

.payment-items-wrapper .payment-item:hover {
    background-color: rgba(244, 244, 248, 0.65);
}

.payment-item.row .payment-item-title span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 350px;
    vertical-align: middle;
}

.payment-item.row .payment-item-title a,
.company-account-row .account-number a {
    display: none;
}

.payment-item.row:hover .payment-item-title a,
.company-account-row:hover .account-number a {
    display: inline-block;
    text-decoration: none !important;
}

.payment-item.row:hover .payment-item-title a svg,
.company-account-row:hover .account-number a svg {
    margin-bottom: -2px;
}

.payment-items-wrapper .payment-item-description {
    color: rgba(0, 0, 0, 0.5);
}

.payment-item-info {
    padding: 8px;
    max-width: 300px;
}

.payment-item-info.type,
.payment-item-info.category {
    max-width: 150px;
}

.payment-item-info.action-type {
    max-width: 300px;
}

.company-accounts-wrapper ul li .table-row {
    background-color: transparent;
}

.company-accounts-wrapper ul li:nth-child(even) {
    background-color: rgba(244, 244, 248, 0.65);
}

#add_company_account_popup .editable.static-input input,
#add_company_account_popup .form-group input,
#edit_company_account_popup .editable.static-input input,
#add_payment_popup .editable.static-input input,
.payment_form .editable.static-input input,
#add_payment_request_popup .editable.static-input input,
#payment_request_details_popup .editable.static-input input,
#add-debit-credit-tab .editable.static-input input,
#add-debit-credit-tab.form-information input,
#add_transfer_tab .editable.static-input input,
#add_transfer_tab.form-information input,
.sum-filter .editable.static-input input,
.date-filter .editable.static-input input,
.approve-change-status .editable.static-input input,
input.form-control {
    padding: 0.56rem 0.75rem !important;
    text-align: left !important;
    height: 28px !important;
}

.position-check-row .editable.active input.form-control {
    height: 21px !important;
}

.expected-delivery-date input.form-control {
    height: 21px !important;
}

.form-group .input-group-append {
    height: 28px !important;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #f4f4f8;
}

.gantt-positions .table-column.dates input {
    max-height: 28px !important;
    border-radius: 3px 0 0 3px;
}

#add-debit-credit-tab .select2-container {
    width: 100% !important;
    height: 28px;
}

.split-payment-wrapper .split-sum {
    font-weight: var(--font-bold) !important;
}

.split-payment-row {
    position: relative;
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;
}

.split-payment-project {
    display: inline-block;
    width: calc(100% - 107px);
}

.split-payment-row.is-single .split-payment-project {
    width: 100%;
}

.split-payment-percent {
    display: inline-block;
    width: 50px;
}

.split-payment-row.is-single .split-payment-percent {
    display: none;
}

.split-payment-sum {
    display: inline-block;
    width: 50px;
}

.split-payment-row.is-single .split-payment-sum {
    display: none;
}

.split-payment-row .remove-split-payment {
    display: block;
    position: absolute;
    top: 0;
    right: -30px;
    padding: 8px;
    width: 30px;
    height: 30px;
}

.split-payment-row .remove-split-payment i {
    display: none;
}

.split-payment-row:hover .remove-split-payment i {
    display: block;
}

.split-payment-row.is-single:hover .remove-split-payment {
    display: none !important;
}

.split-payment-row .remove-split-payment:hover {
    opacity: 0.67;
}

#add_payment_popup .custom-file-label,
#add_payment_request_popup .custom-file-label,
#payment_request_details_popup .custom-file-label,
#add-debit-credit-tab .custom-file-label,
#add_transfer_tab .custom-file-label {
    line-height: 1.5 !important;
}

#add_payment_popup .payment-type-tab {
    height: 42px !important;
}

#add_payment_popup .payment-type-tab:not(.active) {
    color: rgba(0, 0, 0, 0.5) !important;
}

#add_payment_popup .payment-type-tab:not(.active) svg path {
    stroke: #393939 !important;
}

#add_payment_popup .payment-type-tab.active svg path {
    stroke: #FFFFFF !important;
}

#add_payment_popup .payment-currency {
    padding-left: 0 !important;
    text-align: left !important;
}

.payment-actions .transfer-btn {
    padding-left: 38px !important;
    position: relative;
}

.payment-actions .transfer-btn svg {
    position: absolute;
    left: 16px;
    top: calc(50% - 8px);
}

.filter-wrapper .search-block input[type="text"] {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-right: none !important;
}

.filter-wrapper .search-block button {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

/* END company payment */
/* Attachment Styles */
.position-comments-popup {
    width: 800px;
    max-height: 800px;
}

.comments-wrapper {
    overflow-y: scroll;
    max-height: 300px;
    padding-right: 20px;
}

.comment-card {
    background: #f4f4f8;
    padding: 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.comment-header,
.no-comments {
    font-style: italic;
    color: #393939;
}

.comment-attachment-thumbnail,
.payment-attachment-thumbnail {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    background-color: #fff;
    display: inline-block;
    margin-right: 0.5rem;
    margin-top: 0.5rem;
    padding: 5px;
}

.comment-attachment-thumbnail > img,
.payment-attachment-thumbnail > img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

.custom-file-label:after {
    content: attr(data-content-language) !important;
    width: 70px !important;
    text-align: center !important;
    cursor: pointer;
}

.project-option {
    font-weight: bold;
}

.has-danger .custom-file-label {
    border-color: #f90000 !important;
}

/* END Attachment Styles */

/** Payments reports */
.payment-report-table .payment-column-collapse-group {
    width: 20px;
}

.payment-report-table .payment-column-category-name {
    min-width: 250px;
}

.payment-report-table .payment-column-month,
.payment-report-table .payment-column-overall {
    text-align: right;
    min-width: 100px;
    vertical-align: middle;
}

.payment-report-table .payment-column-overall {
    width: 200px;
}

.payment-report-table .payment-column-empty {
    min-width: 45px;
    width: 45px;
}

.payment-report-table .action-group-row .payment-column-category-name {
    text-transform: uppercase;
    padding: 10px !important;
}

.payment-report-table tr.collapsed [data-action="collapseCategoryGroup"] > i:before,
.payment-report-table tr.collapsed [data-action="collapseAllCategoryGroup"] > i:before {
    content: "\f105" !important;
}

#account_select_row .select2.select2-container .select2-selection__choice,
#account_select .select2.select2-container .select2-selection__choice,
#legal_entity_select .select2.select2-container .select2-selection__choice {
    white-space: nowrap;
    overflow: hidden;
    max-width: 150px;
    text-overflow: ellipsis;
    font-size: 1rem !important;
}

#account_select_row .select2-selection__rendered,
#account_select .select2-selection__rendered {
    overflow: auto;
    height: 100%;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: #afafaf !important;
}

.editable-input-group {
    width: 100%;
}

.editable-input-group .input-group-text {
    float: left;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    height: 28px;
    width: 47px;
}

.editable-input-group .input-group-text,
.editable-wrapper .editable-input {
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.select2-results__option,
.select2-container--default .select2-results__group,
.select2-container--default .select2-results__option .select2-results__option {
    padding-left: 17px;
}

.calendar-table .monthselect,
.calendar-table .yearselect {
    height: calc(2.25rem + 2px) !important;
    background: #ffffff !important;
    border: 1px solid #d9d9d9 !important;
}

.editable-input-group .input-group-append {
    width: 47px;
}

.editable-input-group .editable {
    float: left;
    width: calc(100% - 47px);
}

.editable-input-group .input-wrapper {
    float: left;
    width: calc(100% - 47px);
}

.editable-input-group input {
    border-right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    max-height: 28px;
}

.editable-input-group .editable-wrapper input {
    border-right: 1px solid #80bdff !important;
}

.payments-wrapper .horizontal-separator {
    width: calc(100% - 142px);
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 4px;
    margin-right: -3px;
}

.payments-wrapper.sticky-header .horizontal-separator {
    margin-bottom: -8px;
}

.payments-wrapper .fix-panel {
    background: #e5e5e5;
}

.payments-wrapper .fix-panel .checkbox {
    margin-bottom: -1px;
    padding: 3px 10px 3px 3px;
}

.payments-wrapper .fix-panel .checkbox .form-check {
    width: 16px;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    margin-right: 2px;
}

.payments-wrapper .fix-panel .checkbox .form-check .form-check-label .input-helper:before {
    background: #fff;
}

.payments-wrapper.sticky-header .filter-wrapper {
    position: fixed;
    background: #fff;
    z-index: 9;
    padding: 20px 20px 0;
    right: 22px;
    top: 46px;
}

#create_maxipro_request_popup .order-positions,
#add_payment_request_popup .request-checks,
#payment_request_details_popup .request-checks {
    max-height: 170px;
    overflow-y: scroll;
}

#create_maxipro_request_popup .order-positions tr,
#add_payment_request_popup .request-checks tr {
    border-bottom: 1px solid #E0E0E0;
}

#create_maxipro_request_popup .order-positions tr:last-child,
#add_payment_request_popup .request-checks tr:last-child {
    border-bottom: none;
}

#create_maxipro_request_popup .order-positions tr td,
#add_payment_request_popup .request-checks tr td {
    padding: 5px 0;
}

#create_maxipro_request_popup .order-positions .request-check-type,
#add_payment_request_popup .request-checks .request-check-type,
#payment_request_details_popup .request-checks .request-check-type {
    width: 34px;
    max-width: 34px;
}

#create_maxipro_request_popup .order-positions .position-name-column,
#add_payment_request_popup .request-checks .request-position-name-column,
#payment_request_details_popup .request-checks .request-position-name-column {
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 5px;
}

#create_maxipro_request_popup .order-positions .position-name-column {
    width: 415px;
    max-width: 415px;
}

#create_maxipro_request_popup .order-positions .position-unit-column,
#add_payment_request_popup .request-checks .request-position-unit-column,
#payment_request_details_popup .request-checks .request-position-unit-column {
    width: 90px;
    max-width: 90px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#add_payment_request_popup .request-checks .request-position-unit-column,
#payment_request_details_popup .request-checks .request-position-unit-column {
    width: 50px;
    padding: 0 5px;
}

#add_payment_request_popup .request-checks .request-position-multiply-label-column,
#payment_request_details_popup .request-checks .request-position-multiply-label-column {
    width: 20px;
}

#create_maxipro_request_popup .order-positions .position-price-column,
#add_payment_request_popup .request-checks .request-position-price-column,
#add_payment_request_popup .request-checks .request-position-amount-column,
#payment_request_details_popup .request-checks .request-position-price-column,
#payment_request_details_popup .request-checks .request-position-amount-column {
    width: 90px;
    max-width: 90px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold;
}

#add_payment_request_popup .request-checks .request-position-price-column,
#add_payment_request_popup .request-checks .request-position-amount-column,
#payment_request_details_popup .request-checks .request-position-price-column,
#payment_request_details_popup .request-checks .request-position-amount-column {
    width: 80px;
}

#add_payment_request_popup .request-checks .request-position-currency-label-column,
#payment_request_details_popup .request-checks .request-position-currency-label-column {
    width: 20px;
    padding: 0 5px;
    font-weight: bold;
}

#add_payment_request_popup .request-checks .request-position-price-column input {
    height: 30px;
    border-radius: 2px;
}

#add_payment_request_popup .request-checks .request-position-cost-column,
#payment_request_details_popup .request-checks .request-position-cost-column {
    width: 110px;
    font-weight: bold;
    font-size: 12px;
    line-height: 16px;
    margin-left: 10px;
}

#add_payment_request_popup .request-checks .request-position-cost-column.fit,
#payment_request_details_popup .request-checks .request-position-cost-column.fit {
    color: #2AB96B;
}

#add_payment_request_popup .request-checks .request-position-cost-column.not-fit,
#payment_request_details_popup .request-checks .request-position-cost-column.not-fit {
    color: #F1190F;
}

#add_payment_request_popup .request-checks .request-position-info-column,
#payment_request_details_popup .request-checks .request-position-info-column {
    display: flex;
    flex: 1 1 auto;
    justify-content: flex-end;
}

#add_payment_request_popup .request-checks .request-position-info-column img,
#payment_request_details_popup .request-checks .request-position-info-column img {
    cursor: pointer;
}

#create_maxipro_request_popup .order-positions .request-check-estimate {
    width: 200px;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#create_maxipro_request_popup .request-company-partner,
#add_payment_request_popup .request-company-partner,
#payment_request_details_popup .request-company-partner {
    font-size: 18px;
    font-weight: bold;
}

#create_maxipro_request_popup .request-price-wrapper,
#add_payment_request_popup .request-price-wrapper,
#payment_request_details_popup .request-price-wrapper {
    line-height: 1.5;
}

#create_maxipro_request_popup .request-price-sum,
#add_payment_request_popup .request-price-sum,
#payment_request_details_popup .request-price-sum {
    color: #1094f7;
    font-size: 18px;
    font-weight: bold;
}

#add_payment_request_popup .editable-sum-wrapper .editable.static-input {
    width: calc(100% - 27px);
    display: inline-block;
}

#create_maxipro_request_popup .request-price-sum .fractional-part,
#add_payment_request_popup .request-price-sum .fractional-part,
#payment_request_details_popup .request-price-sum .fractional-part {
    font-size: 1.25rem !important;
}

#add_payment_request_popup .request-price-currency,
#payment_request_details_popup .request-price-currency {
    color: #1094f7;
    font-size: 18px;
    font-weight: bold;
}

.attachments-wrapper .attachment-row {
    margin-bottom: 10px;
    padding-bottom: 2px;
    text-overflow: ellipsis;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
}

.attachments-wrapper .attachment-row:last-child {
    margin-bottom: 0;
}

.attachment-row a {
    color: #1094f7;
}

#account_select .select2-selection.select2-selection--multiple,
#account_select_row .select2-selection.select2-selection--multiple {
    height: 28px;
    min-height: inherit;
    border-radius: 2px;
}

#account_select .select2-selection__choice,
#account_select_row .select2-selection__choice {
    height: 17px !important;
    line-height: 0.5 !important;
}

#company_payments .fix-result-count {
    position: absolute;
    left: 15px;
    bottom: -3px;
    background: #fff;
    padding-right: 5px;
}

#company_payments .filter-wrapper input {
    max-height: 28px !important;
}

.company-purchases .search-block {
    height: 28px !important;
}

.company-purchases .receipt-sidebar-btn {
    height: 28px !important;
}

/** END Payments reports */

#schedule_settings_popup .switch-value.active {
    font-weight: bold;
}

#schedule_settings_popup input:checked + .slider {
    background: #cccccc !important;
}

.tariff-icon-exclamation-icon {
    vertical-align: -3px;
}

.pagination.flat .page-item .page-link:focus,
.pagination.flat .page-item .page-link a:focus {
    box-shadow: none;
}

.page-item.more-pages {
    align-self: flex-end;
    padding: 0 5px;
}

/** Receipt */
.receipt-icon {
    display: inline-block;
    vertical-align: middle;
    stroke: #2AB96B;
    height: 14px;
}

.receipt-sidebar-btn .receipt-icon {
    stroke: #12131A !important;
}

.chart-line-block .btn {
    min-height: 30px;
    padding: 6px 11px !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

#receipt_sidebar,
#supply_request_right_sidebar {
    padding: 28px 44px 20px 28px;
}

.mr-14 {
    margin-top: 14px !important;
}

.receipt_sidebarPadding {
    padding: 28px 44px 20px 28px !important;
}

#receipt_sidebar .money-number .fractional-part,
.position-receipt .money-number .fractional-part,
.receipt-position-cost .money-number .fractional-part {
    font-size: 1rem !important;
}

#receipt_sidebar .receipt-sidebar-header,
#supply_request_right_sidebar .right-sidebar-header {
    border-bottom: 1px solid #E3E3E3;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

#receipt_sidebar h3,
#supply_request_right_sidebar h3 {
    font-weight: bold;
    font-size: 16px;
    line-height: 22px;
}

#supply_request_right_sidebar.mass-edit-wrapper.mass-edit-block-active .right-sidebar-header {
    padding-bottom: 0;
    border-bottom: 0;
}

#supply_request_right_sidebar.mass-edit-wrapper.mass-edit-block-active .right-sidebar-header h3 {
    margin-bottom: 20px;
}

#supply_request_right_sidebar .mass-edit-panel:not(.active) {
    padding: 0 !important;
}

.supply-requests-wrapper .mass-edit-panel.active {
    height: 50px;
}

#supply_request_right_sidebar .mass-edit-panel.active + .right-sidebar-search-wrapper {
    display: none !important;
}

.receipt-sidebar-description {
    font-size: 12px;
    line-height: 16px;
    color: #7D7D7D;
    margin-top: 6px;
}

.right-sidebar-header .right-sidebar-search-wrapper,
.receipt-sidebar-header .receipt-sidebar-search-wrapper {
    margin-top: 20px;
}

.right-sidebar-search-wrapper .search-block,
.receipt-sidebar-search-wrapper .search-block {
    width: 360px;
}

.right-sidebar-search-wrapper .search-block input,
.receipt-sidebar-search-wrapper .search-block input {
    border-right: 0px;
    border-radius: 0.1875rem 0 0 0.1875rem;
}

.right-sidebar-search-wrapper .search-block .btn,
.receipt-sidebar-search-wrapper .search-block .btn {
    border-radius: 0 0.1875rem 0.1875rem 0;
}

.right-sidebar-search-wrapper .form-check .form-check-label .input-helper:before
.receipt-sidebar-search-wrapper .form-check .form-check-label .input-helper:before {
    left: -1px;
}

.receipt-sidebar-act-setting-wrapper {
    font-size: 14px;
    line-height: 19px;
    color: #1094F7;
    margin-top: 10px;
}

.receipt-sidebar-act-setting-wrapper .switch {
    margin-right: 10px;
}

.receipt-sidebar-pagination,
.supply-request-sidebar-pagination {
    margin-top: 20px;
}

#receipt_sidebar,
#supply_request_right_sidebar {
    transition: all 0.5s ease;
}

#receipt_sidebar.in-draggable {
    right: -500px !important;
}

.receipt-list-wrapper {
    height: calc(100vh - 350px);
    overflow-y: auto;
}

.supply-request-list-wrapper {
    height: calc(100vh - 255px);
    overflow-y: auto;
}

.receipt-item {
    padding: 10px;
    margin-bottom: 10px;
}

.receipt-item.in-draggable {
    background: #f4f4f4;
    border-radius: 4px;
}

.receipt-item.in-draggable > div:not(.receipt-header) {
    opacity: 0.5;
}

.receipt-item.in-draggable .receipt-header > div:not(.receipt-item-draggable-helper) {
    opacity: 0.5;
}

.receipt-item .receipt-header {
    display: flex;
    flex-direction: row;
}

.receipt-item .user-avatar {
    height: 32px;
    width: 32px;
    margin-right: 10px;
}

.receipt-item .user-avatar > img {
    height: 32px;
    width: 32px;
    border-radius: 100%;
    background-blend-mode: normal;
}

.receipt-item .draggable {
    margin-left: 5px;
    margin-right: 5px;
    padding-left: 5px;
    padding-right: 5px;
    cursor: grab;
}

.receipt-item .receipt-title {
    cursor: default;
    width: 585px;
    padding-right: 10px;
}

.receipt-position-item .receipt-position-title {
    width: 440px;
}

.receipt-item .receipt-item-title-span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 67px);
}

.receipt-item.completed .receipt-item-title-span {
    max-width: calc(100% - 103px);
}

.receipt-list-content .receipt-list-content,
.receipt-list-content .receipt-position-item .receipt-position-title {
    flex: 1 1 auto !important;
    width: auto !important;
}

.receipt-item .receipt-title > span {
    font-weight: bold;
    font-size: 13px;
    line-height: 18px;
    margin-right: 20px;
}

.receipt-item .receipt-title > svg {
    margin-right: 20px;
}

.receipt-item .receipt-header > div {
    display: flex;
    align-items: center;
}

.receipt-position-item {
    display: flex;
    align-items: center;
}

.receipt-item.completed,
.receipt-position-item.completed {
    color: #afafaf;
}

svg.receipt-completed {
    display: none;
}

.receipt-item.completed svg.receipt-completed,
.receipt-position-item.completed svg.receipt-completed {
    display: block;
}

.receipt-item svg.receipt-scanned-icon {
    stroke: #2AB96B;
}

.receipt-position-item.in-draggable {
    border-radius: 4px;
    background: #f4f4f4;
}

.receipt-position-item.in-draggable > div:not(.receipt-item-draggable-helper) {
    opacity: 0.5;
}

.receipt-item.collapsed .receipt-position-list-wrapper {
    display: none;
}

.receipt-position-list-wrapper {
    padding-top: 15px;
}

.receipt-action {
    width: 20px;
    justify-content: center;
    text-align: center;
}

.receipt-position-item .receipt-position-amount {
    width: 70px;
    text-align: right;
    padding-right: 10px;
}

.receipt-position-item .receipt-position-cost {
    width: 100px;
    font-weight: bold;
    font-size: 13px;
    line-height: 18px;
    text-align: right;
    padding-right: 10px;
}

.avatar-description {
    width: 170px;
    padding: 11px 12px;
}

.avatar-description > span {
    font-weight: normal;
    line-height: 16px;
    display: block;
    color: #7D7D7D;
}

.avatar-description .user-is-deleted {
    font-weight: bold;
}

.avatar-description > span:first-child {
    color: inherit;
    margin-top: 5px;
}

.receipt-item-draggable-helper {
    padding: 10px 20px;
    margin-top: -15px;
    margin-left: -15px;
    min-width: 250px;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.receipt-item-draggable-helper.group-position {
    padding: 20px;
}

.receipt-item-draggable-helper span {
    margin-left: 20px;
    line-height: 16px;
    color: #12131a;
}

.receipt-item-draggable-helper.group-position span {
    font-weight: bold;
}

.estimate-purchases li.table-row-wrap,
.company-purchases li.table-row-wrap,
.excess-wrapper .table-flex {
    position: relative
}

.position-drop-placeholder {
    position: absolute;
    background: rgba(0, 0, 0, 0.4);
    top: 0;
    left: 0;
    z-index: 9;
    right: 0;
    bottom: 0;
}

.position-drop-placeholder .position-drop-placeholder-content {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    top: 10px;
    right: 10px;
    left: 10px;
    bottom: 10px;
    border: 1px dashed #fff;
    color: #fff;
    font-size: 13px;
    font-weight: var(--font-bold);
    padding-left: 35px;
}

#nav-receipts .receipt-item .receipt-title {
    width: calc(100% - 70px) !important;
}

i[data-receipt-action="removeReceipt"] {
    color: #949494 !important;
}

i[data-receipt-action="removeReceipt"]:hover {
    color: #1f1f1f !important;
}

#user_registration_poll .poll-header {
    border-bottom: 1px solid #F3F3F3;
    padding: 10px 0;
    text-align: center;
    color: #878787;
    font-size: 12px;
    line-height: 16px;
}

#user_registration_poll .modal-body {
    padding: 20px;
}

#user_registration_poll h2 {
    font-size: 18px;
    line-height: 25px;
    color: #1094F7;
}

#user_registration_poll .poll-icon {
    padding-right: 20px;
}

#user_registration_poll textarea {
    height: 80px;
}

#use_material_price_from_tooltip,
#use_margins_for_fact_material_price_form_tooltip,
#use_material_count_from_tooltip,
#include_extra_works_and_excess_tooltip,
#include_zero_based_positions_tooltip,
#include_uncompleted_receipts_to_act_tooltip {
    font-style: italic;
    font-size: 10px;
    width: 320px;
    padding: 10px;
}

#use_material_price_from_tooltip p:last-of-type,
#use_margins_for_fact_material_price_form_tooltip p:last-of-type,
#use_material_count_from_tooltip p:last-of-type,
#include_extra_works_and_excess_tooltip p:last-of-type,
#include_zero_based_positions_tooltip p:last-of-type,
#include_uncompleted_receipts_to_act_tooltip p:last-of-type {
    margin-bottom: 0 !important;
}

#act-settings-popup .switch-value.active,
.settings-tab-content .switch-value.active {
    font-weight: bold;
}

#act-settings-popup input:checked + .slider,
.settings-tab-content input:checked + .slider {
    background: #cccccc !important;
}

.statistic-block .statistic-block-sum {
    min-width: 152px;
    margin-right: 10px;
}

#act-settings-popup {
    margin: -10px 0 -10px 0;
}

#act-settings-popup .statistic-block-wrapper {
    margin-top: 12px;
    margin-bottom: 30px;
}

.statistic-block .statistic-block-title {
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 6px;
    color: #12131A;
}

.statistic-block .statistic-block-number-wrp {
    position: relative;
    font-size: 20px;
    line-height: 22px;
    color: #12131A;
}

.statistic-block .statistic-block-number, .statistic-block .currency-sign {
    font-weight: bold;
}

.statistic-block-number-wrp .spinner {
    left: 0;
    top: auto;
    width: 50px;
}

.statistic-block-number-wrp .spinner > div {
    width: 10px;
    height: 10px;
    background-color: #1094f7;
}

.statistic-block .currency-sign {
    margin-left: 5px;
}

.statistic-block-number-wrp .statistic-block-percent {
    margin-left: 9px;
    display: inline-block;
    font-size: 14px;
    line-height: 18px;
    color: #1094F7;
}

.act-settings-wrapper .radiobutton-block, .tab-content .radiobutton-block {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    min-width: 118px;
}

.tooltip-settings-block {
    display: flex;
    align-items: center;
}
.additional-tooltip-settings {
    gap: 8px;
    flex-wrap: wrap;
}
.w-full {
    width: 100%;
}
.token-block {
    display: flex;
    align-items: center;


    /* body_12_reg */
    color: #818998;

    /* body_12_reg */
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 133.333% */

    & svg {
        cursor: pointer;
    }
}
.token-block-link {
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
}
.regenerate-token {
    flex-basis: fit-content;
}
.not-company-user-token-link {
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;

    cursor: pointer;
}
.disable-margins {
    margin: 0 !important;
}
.token-block-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

#api-token {
    display: inline-block;
    padding: 2px 4px;
    font-size: 12px;
    font-family: inherit;
    color: #6c757d;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 4px;
    user-select: all;
    width: 440px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.copy-container {
    display: flex;
    align-items: center;
    gap: 6px;
}
#copy-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.copied-text {
    color: #28B57A;

    /* body_12_reg */
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 133.333% */
}

.company-radiobutton-wrapper-text,
.tooltip-settings-title,
.payment-tariff-element-recurrent-block .payment-info {
    line-height: 1em;
    display: inline-block;
}

.radiobutton-wrapper .act-setting-info,
.tooltip-settings-wrapper .tooltip-settings-info,
.payment-tariff-element-recurrent-block .payment-info {
    margin-left: 5px;
}

.question-icon {
    width: 12px;
    height: 12px;
    display: inline-block;
    background-image: url("../images/icon/question-icon.svg");
    background-repeat: no-repeat;
    background-color: #BDBDBD;
    background-size: initial;
    background-position: center;
    border-radius: 50%;
}

.company-radiobutton-wrapper .act-setting-info {
    position: absolute;
    right: -20px;
    bottom: 0;
}

.radiobutton-wrapper .company-radiobutton-wrapper {
    width: 442px;
    padding-right: 40px;
}

.company-radiobutton-wrapper-text {
    position: relative;
}

.radiobutton-block .radiobutton-block-input {
    position: absolute;
    visibility: hidden;
}

.radiobutton-block .switch-value {
    font-weight: 300;
    z-index: 9;
}

.radiobutton-block .radiobutton-check {
    display: block;
    position: relative;
    border: 1px solid #1094f7;
    border-radius: 100%;
    height: 14px;
    width: 14px;
    z-index: 5;
    margin-right: 4px;
}

.radiobutton-block .radiobutton-check::before {
    display: block;
    position: absolute;
    content: '';
    border-radius: 100%;
    height: 8px;
    width: 8px;
    top: 2px;
    left: 2px;
}

.radiobutton-block-input:checked ~ .radiobutton-check {
    border: 1px solid #1094f7;
}

.radiobutton-block-input:checked ~ .radiobutton-check::before {
    background: #1094f7;
}

.radiobutton-block-input:checked ~ .switch-value {
    font-weight: 700;
}

.badgePayment {

    margin-left: 12px;
    display: none;
    padding: 4px 8px;

    height: 24px;
    align-items: center;

    color: var(--text-primary, #252733);

    /* Caption_11 reg */
    font-family: Roboto;
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 145.455% */

    border-radius: 4px;
    background: #FDEAEA;
}

.badgePayment > svg {
    margin-right: 4px;
}

.balances-block.payment {
    display: flex;
    align-items: center;
}

.balances-block > svg {
    width: 18px;
    height: 18px;
    vertical-align: -2px;
    fill: #E6E6E6;
    cursor: pointer;
}

.balances-block > svg:hover {
    fill: #1094F7;
}

.balances-block .account-balance {
    color: #1094f7;
    font-weight: bold !important;
    font-size: 18px;
}

.balances-block .account-balance > .money-number {
    white-space: nowrap;
}

#account_balances_prototype {
    display: block;
    width: 326px;
    padding: 17px 22px;
}

#account_balances_prototype .balance-value {
    color: #1094F7;
}

#account_balances_prototype .account-balances-title {
    font-weight: var(--font-bold);
    font-size: 14px;
    padding-bottom: 13px;
    margin-bottom: 14px;
    border-bottom: 1px solid #E6E6E6;
}

#estimates_and_projects_filter .editable-input-group {
    box-sizing: border-box;
    width: unset;
    display: inline-block;
    vertical-align: middle;
}

#estimates_and_projects_filter .editable-input-group input {
    width: 160px;
}

.select2-container--default .select2-selection--single {
    height: 28px !important;
}

.select2-selection.select2-selection--single div.description {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.year-select-block {
    display: inline-block;
    max-width: 245px;
    clear: none !important;
    padding: 8px 0 8px 8px;
    float: left;
}

.year-select-block span.year-select {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    line-height: 40px;
    text-align: center;
    display: inline-block;
    margin: 3px;
    cursor: pointer;
}

.year-select-block span.year-select.active {
    background: #1094f7;
    color: #fff;
}

.year-select-block span.year-select:not(.active):hover {
    background: #f4f4f4;
}

.daterangepicker .ranges > ul > li.active {
    background-color: #1094f7 !important;
}

/** scenario **/
.scenario-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2000;
    background-color: #000;
    opacity: 0.35;
}

.cancel-scenario {
    position: fixed;
    bottom: 20px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    color: #ffffff;
    padding: 10px 28px;
    border-radius: 10px;
    z-index: 2002;
    background: #2AB96B;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 260px;
    left: calc(50% - 130px);
}

.cancel-scenario:hover {
    background: #279852;
}

#scenario_list_popup {
    width: 580px;
}

@media (max-width: 767px) {
    #scenario_list_popup {
        width: 100%;
    }
}

.scenario-list-wrapper {
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
}

.scenario-list-header {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 140px;
    background-repeat: no-repeat;
    background-size: cover;
    color: #ffffff;
    text-align: center;
    justify-content: center;
    align-self: center;
}

.scenario-header-mobile {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 20px;
    right: 20px;
    left: 20px;
    bottom: 20px;
    background: #E21C2A;
    border-radius: 6px;

    font-size: 13px;
    line-height: 18px;
    text-align: center;

    color: #fff;
}

.scenario-list-header h2 {
    font-weight: var(--font-bold);
    font-size: 20px;
    line-height: 27px;
    margin-bottom: 10px;
}

.scenario-list-header h3 {
    font-weight: bold;
    font-size: 12px;
    line-height: 16px;
}

.scenario-list-body {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 30px;
    background-color: #ffffff;
}

.scenario-card {
    display: flex;
    align-items: center;
    width: calc(50% - 10px);
    padding: 27px 20px;
    margin-bottom: 10px;
    background: #FFFFFF;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    cursor: pointer;
}

@media (max-width: 767px) {
    .scenario-card {
        width: 100%;
    }
}

.scenario-card:hover {
    box-shadow: 0 0 15px rgba(16, 148, 247, 0.6);
}

.scenario-card:active {
    background: #fafafa;
}

.scenario-card .scenario-icon {
    width: 46px;
    margin-right: 15px;
}

.scenario-card .scenario-title {
    font-weight: bold;
    font-size: 12px;
    line-height: 16px;
}

.scenario-footer {
    background: #f2f2f2;
    padding: 30px;
    border-radius: 0 0 6px 6px;
    text-align: center;
}

.scenario-footer h3 {
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 20px;
}

.scenario-footer-help-description {
    color: #878787;
}

/** end scenario **/


.nav-item-wrapper.left-sidebar-estimate-item {
    list-style: none;
    color: #878787; /* X3 */
    font-family: 'Roboto', sans-serif !important; /* X3 */
    width: 100%;
}

.project-header {
    height: 37px;
    width: 280px;
    background: #1c1c1c;
}

.scenario-cloned-element-highlighted .category-target + div,
.scenario-cloned-element-highlighted .project-header {
    width: 277px;
}

.project-header > .nav-link {
    color: #fff;
}

.project-item.active > .project-header {
    background: #2d2d2d;
}

.nav-item.project-item:not(.active) > .project-header:hover,
.nav-item-wrapper.left-sidebar-estimate-item:hover {
    background-color: #303030 !important;
}

.nav-item-wrapper.left-sidebar-estimate-item > a {
    text-decoration: none !important;
}

.nav-item-wrapper.left-sidebar-estimate-item > a > .estimate-item {
    border-bottom: none;
    padding-left: 40px !important;
}

.nav-item-wrapper.left-sidebar-estimate-item > a > .estimate-item:not(.active) {
    color: #878787 !important;
}

.nav-item-wrapper.left-sidebar-estimate-item > a > .estimate-item.active {
    padding-left: 40px !important;
    font-weight: bold !important;
}

.stevens-tooltip {
    position: absolute;
    background: #fff;
    left: 100px;
    top: 300px;
    z-index: 3000;
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.14);
    border-radius: 10px;
    padding: 22px 35px;
    font-weight: var(--font-bold);
    font-size: 12px;
    line-height: 16px;
}

.stevens-tooltip .triangle {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: rotate(45deg);
}

.stevens-tooltip.top .triangle {
    left: calc(50% - 6px);
    bottom: -4px;
}

.stevens-tooltip.right .triangle {
    left: -4px;
    top: calc(50% - 6px);
}

.stevens-tooltip.bottom .triangle {
    left: calc(50% - 6px);
    top: -4px;
}

.stevens-tooltip.left .triangle {
    right: -4px;
    top: calc(50% - 6px);
}

.stevens-tooltip .tooltip-body {
    color: #1094F7;
}

.stevens-tooltip .tooltip-description {
    color: #979797;
    font-weight: normal;
    margin-top: 2px;
}

.stevens-tooltip .tooltip-body a {
    color: #12131a;
    text-decoration: underline;
}

.stevens-tooltip .tooltip-page-number-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;

    font-weight: normal;
    color: #979797;
}

.stevens-tooltip .tooltip-action-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.stevens-tooltip .tooltip-page-number-wrapper .page-number {
    margin-right: 5px;
}

.stevens-tooltip .tooltip-page-number-wrapper .overall-page-number {
    margin-left: 5px;
}

.scenario-cloned-element-highlighted {
    position: absolute !important;
    z-index: 2001 !important;
    border-width: 2px !important;
    border-style: dashed !important;
    border-color: #1094F7 !important;
}

.scenario-cloned-element-highlighted.project-item {
    height: 40px !important;
}

.scenario-cloned-element-highlighted.nav-item-wrapper {
    width: 280px !important;
    height: 41px !important;
    background: #1c1c1c;
}

.scenario-cloned-element-highlighted.light-border {
    border-color: #fff !important;
}

.scenario-cloned-element-highlighted.nav-item.project-item > a {
    padding-left: calc(2.575rem - 3px) !important;
    padding-right: calc(1rem - 7px);
    height: 100%;
}

.scenario-cloned-element-highlighted.nav-item.project-item .badge {
    right: 15px;
}

.scenario-cloned-element-highlighted.estimate-nav-tab {
    padding: 6px 21px !important;
}

.scenario-cloned-element-highlighted.locked:after {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: transparent;
    z-index: 2002;
}

#project_information,
#project_photos,
#weather_and_map_block,
#project_progress,
#project_documents_and_finance {
    height: 100%;
}

.successful-scenario-passage-swal img {
    width: 140px !important;
}

.successful-scenario-passage-swal .swal-title {
    font-size: 22px;
}

.top-navbar-button {
    background-color: #fff !important;
    font-size: 1.11rem !important;
    line-height: 37px !important;
    transition: width .3s !important;
    box-sizing: border-box;
    height: 100%;
    border-width: 2px 0px;
    border-color: transparent;
    border-radius: 0 !important;
    cursor: pointer !important;
}

.top-navbar-button:hover {
    border-bottom: 2px solid #1094f7 !important;
    border-radius: 0;
    color: #393939;
    margin-bottom: 0 !important;
}

.top-navbar-button a {
    color: #393939 !important;
    text-decoration: none !important;
    line-height: 38px;
}

.scenario-finance.card-body {
    background: #fff;
}

.scenario-cloned-element-highlighted.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.scenario-cloned-element-highlighted.row.document-row {
    background-color: #fff;
}

.scenario-element-white-bg {
    background-color: #fff;
}

.scenario-position-type {
    width: 42px !important;
    margin-top: -2px !important;
    padding-top: 1px !important;
}

.scenario-estimate-nav {
    margin-top: 0 !important;
}

.scenario-cloned-element-highlighted.sidebar {
    height: calc(100% - 86px) !important;
    min-height: 0 !important;
}

.scenario-estimate-position {
    list-style: none !important;
    overflow: hidden;
}

.scenario-switch-edit-wrapper {
    border-radius: 12px;
    margin-top: -3px;
    padding-top: 3px;
}

.scenario-smetter-logo {
    background: #1c1c1c !important;
    height: 46px !important;
}

.scenario-company-finance {
    top: 0 !important;
    height: 46px !important;
}

#nav-acts .act-number {
    display: inline-block;
    height: 20px;
    width: 30px;
    vertical-align: bottom;
    text-align: center;
}

#nav-acts .act-number.act-underlined {
    border-bottom: 1px solid #000;
}

#nav-acts .act-number input {
    text-align: center !important;
    height: 21px !important;
}

/** Estimate messages block **/


.estimate-chat-wrapper {
    position: fixed;
    width: 405px;
    height: 520px;
    bottom: 200px;
    right: -405px;
    z-index: 1001;
    transition: 0.5s;
}

.estimate-chat-wrapper.opened {
    right: 0;
    z-index: 1002;
}

.estimate-chat-wrapper .closed-chat,
.estimate-chat-wrapper.opened .opened-chat {
    display: block;
}

.estimate-chat-wrapper .opened-chat,
.estimate-chat-wrapper.opened .closed-chat {
    display: none;
}

.estimate-messages-button {
    position: absolute;
    width: 128px;
    height: 40px;
    left: -84px;
    bottom: 260px;
    padding: 10px;
    background: #1094f7;
    border-radius: 6px 6px 0 0;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    transition: 0.5s;
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
    cursor: pointer;
}

.estimate-messages-button:hover {
    background: #077fd9;
}

.estimate-messages-button:active,
.estimate-messages-button:focus {
    background: #286090;
}

.estimate-messages-block {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 405px;
    height: 520px;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    z-index: 1000;
}

.estimate-messages-block.opened {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.estimate-messages-list {
    height: calc(520px - 110px);
    overflow-y: scroll;
}

.estimate-messages-list::-webkit-scrollbar,
.estimate-messages-actions .message-area textarea::-webkit-scrollbar,
.estimate-messages-actions-preview-files::-webkit-scrollbar {
    background-color: #fff;
    width: 15px
}

.estimate-messages-list::-webkit-scrollbar-track,
.estimate-messages-actions .message-area textarea::-webkit-scrollbar-track,
.estimate-messages-actions-preview-files::-webkit-scrollbar-track {
    background-color: #fff
}

.estimate-messages-list::-webkit-scrollbar-track:hover,
.estimate-messages-actions .message-area textarea::-webkit-scrollbar-track:hover,
.estimate-messages-actions-preview-files::-webkit-scrollbar-track:hover {
    background-color: #f4f4f4
}

.estimate-messages-list::-webkit-scrollbar-thumb,
.estimate-messages-actions .message-area textarea::-webkit-scrollbar-thumb,
.estimate-messages-actions-preview-files::-webkit-scrollbar-thumb {
    background-color: #babac0;
    border-radius: 16px;
    border: 5px solid #fff
}

.estimate-messages-list::-webkit-scrollbar-thumb:hover,
.estimate-messages-actions .message-area textarea::-webkit-scrollbar-thumb:hover,
.estimate-messages-actions-preview-files::-webkit-scrollbar-thumb:hover {
    background-color: #a0a0a5;
    border: 4px solid #f4f4f4
}

.estimate-messages-list::-webkit-scrollbar-button {
    display: none
}

.estimate-messages-list .estimate-messages-date {
    padding: 5px;
    width: 100%;
    text-align: center;
    margin: 10px 0;
}

.estimate-messages-date span {
    background: #CCCCCC;
    border-radius: 15px;
    width: auto;
    font-size: 11px;
    color: #fff;
    padding: 5px 10px;
    cursor: default;
    font-weight: var(--font-bold);
}

.estimate-messages-list .estimate-message {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 10px;
}

.estimate-messages-list .estimate-message.my {
    justify-content: flex-end;
}

.estimate-messages-list .estimate-message .estimate-message-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    background: #ccc;
    text-align: center;
}

.estimate-messages-list .estimate-message .estimate-message-avatar .la-user {
    font-size: 21px;
    padding-top: 2px;
}

.estimate-messages-list .estimate-message .estimate-message-avatar img {
    width: 28px;
    height: auto;
}

.estimate-messages-list .estimate-message .estimate-message-bubble {
    padding: 10px;
    color: #12131a;
    border-radius: 10px;
    background: rgba(16, 148, 247, 0.15);
    max-width: calc(100% - 38px);
    margin-left: 10px;
}

.estimate-messages-list .estimate-message .estimate-message-bubble .message-text {
    white-space: pre-wrap;
    word-break: normal;
}

.estimate-messages-list .estimate-message .estimate-message-files {
    margin-top: 10px;
    margin-bottom: 10px;
}

.estimate-messages-list .estimate-message.my .estimate-message-bubble {
    background: rgba(40, 96, 144, 0.1);
}

.estimate-messages-list .estimate-message .estimate-message-files a {
    color: #12131a;
}

.estimate-messages-list .estimate-message .estimate-message-file {
    margin-bottom: 5px;
}

.estimate-messages-list .estimate-message .estimate-message-file .icon-block {
    display: inline-block;
    width: 28px;
    height: 28px;
    background: #fff;
    border-radius: 50%;
    padding: 5px;
    text-align: center;
    vertical-align: bottom;
}

.estimate-messages-list .estimate-message .estimate-message-file .icon-block img {
    width: 14px;
    height: 14px;
}

.estimate-messages-list .estimate-message .estimate-message-file span {
    display: inline-block;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: calc(100% - 35px);
    margin-left: 5px;
}

.estimate-messages-list .estimate-message .estimate-message-delete {
    display: flex;
    width: 21px;
    height: 21px;
    margin-top: 5px;
}

.estimate-message-bubble .message-images {
    position: relative;
    margin: -10px -10px 5px;
    width: 242px;
    height: 242px;
    background-size: cover;
    background-position: center center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    cursor: pointer;
}

.estimate-message-bubble .message-images .message-images-count {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    font-size: 18px;
    font-weight: var(--font-bold);
    cursor: pointer;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.estimate-message-bubble .message-footer {
    display: flex;
    justify-content: space-between;
}

.estimate-message-bubble .message-date {
    text-align: right;
    font-size: 10px;
    margin-top: 5px;
    cursor: default;
}

.estimate-message-bubble .message-username {
    text-align: left;
    font-size: 10px;
    margin-top: 5px;
    margin-right: 10px;
    cursor: default;
}

.estimate-messages-actions {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 10px;
}

.estimate-messages-actions-attachment {
    position: relative;
    display: flex;
    width: 28px;
    overflow: hidden;
    cursor: pointer;
}

.estimate-messages-actions-attachment i {
    color: #7d7d7d;
}

.estimate-messages-actions .message-area {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% - 68px);
}

.estimate-messages-actions .message-area textarea {
    height: 29px;
    min-height: 29px;
}

.estimate-messages-actions-attachment [type=file] {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    opacity: 0;
    cursor: pointer;
}

.estimate-messages-actions-attachment [type=file]::-webkit-file-upload-button {
    cursor: pointer;
}

.estimate-messages-actions-send {
    display: flex;
    width: 28px;
    height: 28px;
    margin-top: -1px;
    align-items: center;
}

.estimate-messages-actions-preview-files {
    width: 100%;
    overflow-x: scroll;
    white-space: nowrap;
}

.estimate-message-file-preview {
    display: inline-block;
    position: relative;
    width: 50px;
    height: 50px;
    margin-right: 10px;
    margin-top: 10px;
    overflow: hidden;
    background-size: contain;
    background-repeat: no-repeat;
    border-radius: 10px;
    background: rgba(16, 148, 247, 0.15);
}

.estimate-message-file-preview span {
    line-height: 50px;
}

.estimate-message-file-preview .remove-preview-file {
    position: absolute;
    width: 16px;
    height: 16px;
    right: 5px;
    top: 5px;
    background: #fff;
    border-radius: 50%;
    line-height: 16px;
    text-align: center;
    font-size: 11px;
}

.pay-attention-marker {
    width: 4px;
    height: 4px;
    margin-left: 5px;
    display: flex;
    background: #DA3E3E;
    border-radius: 50%;
    margin-bottom: 1px;
    align-items: center;
    padding: 3px;
    margin-top: -8px;
}

.nav-item.project-item .badge .pay-attention-marker {
    position: absolute;
    right: -1px;
    top: 6px;
}

.estimate-messages-button .has-unread-messages-circle {
    display: none;
    position: absolute;
    width: 24px;
    height: 24px;
    top: -12px;
    right: -12px;
    background: #F1190F;
    border-radius: 50%;
}

.estimate-messages-button.has-unread-messages .has-unread-messages-circle {
    display: block;
}

/**
МаксиПро
 */
.settings-panel .nav-tabs .nav-item .nav-link.maxipro-directory-tab {
    padding: 9px 10px !important;
}

.maxipro-directory-tab .maxipro-logo {
    display: block;
    height: 16px;
}

.maxipro-directory-tab .maxipro-logo-active {
    display: none;
}

.maxipro-directory-tab.active .maxipro-logo-active {
    display: block;
    height: 16px;
}

.maxipro-directory-tab.active .maxipro-logo {
    display: none;
}

.maxipro-catalog {
    position: relative;
    padding: 10px 20px;
    border-radius: 5px;
    border: 1px solid #d9d9d9;
    font-weight: bold;
    cursor: pointer;
}

.maxipro-catalog .maxipro-categories-dropdown {
    position: absolute;
    display: none;
}

.maxipro-catalog.active .maxipro-categories-dropdown {
    display: block;
    width: calc(100% + 2px);
    height: auto;
    background: #fff;
    left: -1px;
    top: 46px;
    padding: 10px 20px;
    border: 1px solid #d9d9d9;
    z-index: 9999;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

.maxipro-catalog.active .maxipro-categories-dropdown .maxipro-category {
    cursor: pointer;
}

.maxipro-catalog.active .maxipro-categories-dropdown .maxipro-category:hover {
    text-decoration: underline;
}

.maxipro-catalog .maxipro-catalog-icon {
    height: 32px;
    margin-right: 10px;
}

.maxipro-catalog .maxipro-catalog-title {
    display: inline-block;
    padding: 5px 0;
    vertical-align: middle;
    width: calc(100% - 70px);
}

.maxipro-catalog .maxipro-catalog-collapse {
    width: 16px;
    display: inline-block;
    vertical-align: middle;
}

.maxipro-catalog .maxipro-catalog-collapse .la-angle-down:before {
    content: "\f105";
}

.maxipro-catalog.active .maxipro-catalog-collapse .la-angle-down:before {
    content: "\f107";
}

#maxipro-section .import-dictionary.maxipro-search-wrapper {
    max-height: calc(100vh - 280px) !important;
}

#maxipro-right-sidebar #maxipro-section .import-dictionary.maxipro-search-wrapper {
    max-height: calc(100vh - 246px) !important;
}

/** Supply requests block **/

.supply-request-item {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid #E5E5E5;
}

#nav_supply_request .table-row,
#nav_supply_request .supply-request-item {
    min-width: 950px;
}

.supply-request-list-wrapper .supply-request-item:last-child,
.supply-requests-wrapper .supply-request-item:last-child {
    border: none;
}

.position-request-column.checkbox,
.supply-request-checkbox {
    width: 25px;
}

.supply-request-checkbox {
    display: flex;
    height: 32px;
    align-items: center;
}

.supply-request-checkbox .form-check {
    height: 10px;
}

.position-request-column.number,
.supply-request-number {
    width: 40px;
}

.supply-request-number {
    display: flex;
    height: 32px;
    margin-right: 5px;
    align-items: center;
    justify-content: center;
}

.position-request-column.avatar,
.supply-request-item .user-avatar {
    width: 32px;
    margin-right: 10px;
}

.supply-request-item .user-avatar,
.payment-request-row .user-avatar {
    display: flex;
    height: 32px;
}

.supply-request-item .user-avatar > img,
.payment-request-row .user-avatar > img {
    height: 32px;
    width: 32px;
    border-radius: 50%;
    background-blend-mode: normal;
    object-fit: cover;
}

.supply-request-title,
.position-request-column.title {
    justify-content: start !important;
}

.supply-request-title {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0px;
    margin-right: 10px;
    padding-top: 6px;
}

.supply-request-title .text-wrapper {
    display: flex;
    min-width: 0;
    margin-right: 10px;
}

.payment-request-position-name-wrapper {
    display: flex;
}

.supply-request-title .request-type,
.payment-request-position-name-wrapper .request-type {
    width: 45px;
    height: 12px;
    padding: 1px 5px;
    margin-top: 3px;
    margin-left: 6px;
    border-radius: 3px;
    color: #fff;
    font-weight: var(--font-bold);
    text-align: center;
    font-size: 7px;
    text-transform: uppercase;
}

.supply-request-title .request-type.budget,
.payment-request-position-name-wrapper .request-type.budget {
    background: #2AB96B;
}

.supply-request-title .request-type.excess,
.payment-request-position-name-wrapper .request-type.excess {
    background: #FAD275;
}

.position-request-column.amount,
.supply-request-amount-fit {
    width: 125px;
    margin-right: 10px;
}

.position-request-column.amount {
    padding-left: 0 !important;
    justify-content: flex-start !important;
}

.supply-request-amount-fit {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    min-height: 32px;
    word-break: break-all;
}

.supply-request-amount-fit.fit {
    color: #2AB96B;
}

.supply-request-amount-fit.not-fit {
    color: #F1190F;
}

#supply_request_right_sidebar .supply-request-amount-fit {
    justify-content: flex-end !important;
}

.supply-request-amount-fit .la-long-arrow-alt-up {
    transform: rotate(45deg);
    margin-top: -3px;
}

.supply-request-amount-fit .la-check {
    margin-top: -3px;
}

.position-request-column.delivery-date,
#nav_supply_request .supply-request-delivery-date {
    width: 70px;
    margin-right: 10px;
}

.supply-request-delivery-date {
    display: flex;
    height: 32px;
    font-size: 15px;
    font-weight: var(--font-bold);
    color: #2AB96B;
    padding-bottom: 4px;
    align-items: center;
    justify-content: center;
    width: 40px;
    cursor: pointer;
}

.supply-request-item[data-status="5"] .supply-request-delivery-date {
    color: unset !important;
}

.supply-request-delivery-date.delayed {
    color: #F1190F;
}

.supply-request-marker {
    width: 16px;
}

.position-request-column.marker,
#nav_supply_request .supply-request-marker {
    width: 80px;
    margin-right: 10px;
}

.supply-request-marker {
    width: 30px;
    margin-right: 10px;
}

.supply-request-marker {
    display: flex;
    height: 32px;
    align-items: center;
    justify-content: center;
}

.supply-request-marker .marker,
.supply-marker-selection .marker {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    cursor: pointer;
}

.supply-request-marker .marker[data-marker-id="0"],
.supply-marker-selection .marker[data-marker-id="0"] {
    border: 1px solid #cdcdcd !important;
}

.position-request-column.status,
.entity-progress-status {
    width: 80px;
}

.entity-progress-status {
    display: flex;
    flex-direction: column;
    padding-top: 7px;
}

.entity-progress-status .progress.status-progress {
    width: 100%;
}

.entity-progress-status .status-title {
    text-align: center;
}

.position-request-column.payment,
#nav_supply_request .entity-payment-status {
    width: 80px;
    margin-left: 10px;
}

.entity-payment-status {
    display: flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.position-request-column.estimate,
.supply-request-estimate {
    width: 150px;
    margin-right: 10px;
}

.supply-request-estimate {
    display: flex;
    align-items: center;
    padding-top: 6px;
}

.supply-request-description {
    width: 100%;
    display: flex;
    flex-direction: row;
}

.supply-request-description .supply-request-description-text {
    width: calc(100% - 30px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.supply-request-description.collapsed .supply-request-description-text {
    white-space: normal !important;
    overflow: unset !important;
    text-overflow: clip !important;
    word-break: break-word;
}

.supply-request-description i {
    cursor: pointer;
    align-self: center;
}

.supply-request-description.collapsed i {
    align-self: unset;
    margin-top: 3px;
}

.supply-request-description.collapsed i:before {
    content: "\f107" !important;
}

.entity-progress-status-date {
    display: flex;
    width: 100px;
    height: 32px;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.supply-request-delete-block {
    display: flex;
    width: 40px;
    height: 32px;
    align-items: center;
    justify-content: flex-end;
    color: #F1190F;
    margin-left: 10px;
}

.no-avatar {
    border-radius: 50%;
    overflow: hidden;
    background: #ccc;
    text-align: center;
}

.supply-request-item .no-avatar,
.payment-request-row .no-avatar {
    width: 32px;
    height: 32px;
}

.supply-request-item .no-avatar .la-user,
.payment-request-row .no-avatar .la-user {
    font-size: 24px;
    padding-top: 3px;
}

.entity-status-popup {
    padding: 20px 12px;
    background-color: #fff;
}

.entity-status-popup.supply-request-status-popup {
    width: 240px;
}

.entity-status-popup.purchase-row-status-popup {
    width: 260px;
}

.entity-status-popup.payment-status-popup {
    width: 280px;
}

.status-popup-header {
    font-weight: bold;
}

.entity-status-popup .status-list {
    position: relative;
    width: 100%;
    margin-top: 20px;
}

.entity-status-popup .status-list .status-dot-line {
    position: absolute;
    width: 3px;
    top: 7px;
    left: 3px;
    bottom: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='3' height='6' viewBox='0 0 3 6' fill='none' style='&%2310;'%3E%3Ccircle cx='1.5' cy='1.5' r='1.5' fill='%23AFAFAF'/%3E%3Ccircle cx='1.5' cy='4.5' r='1.5'/%3E%3C/svg%3E");
    background-repeat: repeat-y;
    z-index: 1;
}

.entity-status-popup .status-element {
    cursor: pointer;
}

.entity-status-popup .status-list .status-element {
    position: relative;
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
    height: 20px;
    z-index: 2;
}

.entity-status-popup .status-list .status-element:last-child {
    margin-bottom: 0 !important;
}

.entity-status-popup .status-element .status-title img.status-icon {
    margin-right: 10px;
}

.entity-status-popup .status-element .status-title {
    display: flex;
    width: calc(100% - 56px);
}

.entity-status-popup .status-element .status-date,
.entity-status-popup .status-element .expected-delivery-date {
    display: flex;
    width: 56px;
    border: 1px solid transparent;
    border-radius: 2px;
    justify-content: center;
    align-items: center;
}

.entity-status-popup .status-element .expected-delivery-date {
    height: 23px !important;
}

.entity-status-popup .status-element.active-status .status-date {
    padding: 0 2px;
}

.entity-status-popup .status-element.active-status .status-date.editable,
.entity-status-popup .status-element.active-status .expected-delivery-date.editable {
    border: 1px solid #CDCDCD;
}

.entity-status-popup .status-element.active-status .expected-delivery-date.not-set.editable {
    border-color: #F1190F !important;
}

.entity-status-popup .status-element .status-updated-date {
    position: absolute;
    top: 16px;
    left: 20px;
    display: flex;
    font-style: italic;
    color: #AFAFAF;
    font-size: 11px;
}

.entity-status-popup .status-element .status-date .editable-input {
    padding: 0 0 1px 1px !important;
    border: none;
    height: 100%;
    text-align: center;
}

.entity-status-popup .status-list .status-element .status-title:last-child {
    margin-bottom: 0;
}

.entity-status-popup .status-list .status-element .status-title::before {
    display: flex;
    align-self: center;
    content: '';
    width: 9px;
    height: 9px;
    margin-right: 10px;
    border-radius: 50%;
    background: #AFAFAF;
}

.entity-status-popup .status-list .status-element.active-status .status-title::before {
    background: #1094F7;
}

.entity-status-popup .status-element.active-status .status-title span {
    color: #1094F7;
    text-decoration: underline;
}

.entity-status-popup.payment-status-popup .status-element[data-status="1"].active-status .status-title span,
.entity-status-popup.purchase-row-status-popup .status-element[data-status="2"].active-status .status-title span {
    color: #575757;
}

.entity-status-popup.payment-status-popup .status-list .status-element[data-status="1"].active-status .status-title::before,
.entity-status-popup.purchase-row-status-popup .status-list .status-element[data-status="2"].active-status .status-title::before {
    background: #575757;
}

.entity-status-popup.supply-request-status-popup .status-element[data-status="1"].active-status .status-title span,
.entity-status-popup.payment-status-popup .status-element[data-status="2"].active-status .status-title span {
    color: #ff9800;
}

.entity-status-popup.supply-request-status-popup .status-list .status-element[data-status="1"].active-status .status-title::before,
.entity-status-popup.payment-status-popup .status-list .status-element[data-status="2"].active-status .status-title::before {
    background: #ff9800;
}

.entity-status-popup.supply-request-status-popup .status-element[data-status="5"].active-status .status-title span,
.entity-status-popup.payment-status-popup .status-element[data-status="4"].active-status .status-title span,
.entity-status-popup.payment-status-popup .status-element[data-status="3"].active-status .status-title span,
.entity-status-popup.purchase-row-status-popup .status-element[data-status="6"].active-status .status-title span {
    color: #2AB96B;
}

.entity-status-popup.supply-request-status-popup .status-list .status-element[data-status="5"].active-status .status-title::before,
.entity-status-popup.payment-status-popup .status-list .status-element[data-status="4"].active-status .status-title::before,
.entity-status-popup.payment-status-popup .status-list .status-element[data-status="3"].active-status .status-title::before,
.entity-status-popup.purchase-row-status-popup .status-list .status-element[data-status="6"].active-status .status-title::before {
    background: #2AB96B;
}

.entity-status-popup.supply-request-status-popup .status-element[data-status="4"].active.tooltipable-shown .status-title span,
.entity-status-popup.supply-request-status-popup .status-element[data-status="5"].active.tooltipable-shown .status-title span {
    text-decoration: underline;
}

.entity-status-popup .status-decline {
    position: relative;
    margin: 0 -12px;
    padding: 10px 12px 20px;
    border-bottom: 1px solid #E5E5E5;
}

.entity-status-popup .status-decline .status-updated-date {
    top: 27px;
    left: 31px;
}

.entity-status-popup .status-decline .status-element .status-title {
    cursor: pointer;
}

.entity-status-popup .status-decline .status-title i {
    display: flex;
    align-self: center;
    margin-right: 8px;
    margin-left: -2px;
    color: #F1190F;
}

.entity-status-popup .status-element.status-decline.active-status .status-title span {
    color: #F1190F;
}

.entity-status-popup .status-element.locked-status {
    color: #aeaeae;
    cursor: not-allowed;
}

.supply-request-status-comment {
    width: 100%;
    height: 150px;
    border: 1px solid #CDCDCD;
}

.supply-request-status-comment-block {
    margin-top: 10px;
}

.status-decline.active .supply-request-status-comment-block {
    display: block;
}

.supply-request-status-comment-block .supply-request-status-comment-button {
    display: inline-block;
    cursor: pointer;
}

.supply-request-status-comment-block .supply-request-status-comment-button:hover {
    opacity: 0.5;
}

.payment-status-wrapper {
    cursor: pointer;
}

.auto-payment-status .payment-status-wrapper,
.auto-payment-status .entity-payment-status {
    cursor: default;
}

.auto-payment-status .payment-status-wrapper .status-icon.not-paid {
    display: none;
}

.payment-status-wrapper[data-status="1"]:not(.declined),
.entity-payment-status[data-status="1"]:not(.declined) {
    visibility: hidden;
}

.table-row.position:not(.done):not(.rejected) + .position-checks-wrapper > .position-check-row:hover .payment-status-wrapper[data-status="1"],
.table-row.position:not(.done):not(.rejected).position-check-row:hover .payment-status-wrapper[data-status="1"],
.position-excess-row:hover .payment-status-wrapper[data-status="1"],
.supply-request-item:hover .entity-payment-status[data-status="1"],
.position-check-row .payment-status-wrapper[data-status="1"].active,
.position-excess-row .payment-status-wrapper[data-status="1"].active,
.supply-request-item .entity-payment-status[data-status="1"].active {
    visibility: visible;
}

#add_payment_request_popup a[aria-controls="additional_options_group"] {
    color: #12131A;
}

#add_payment_request_popup a[aria-controls="additional_options_group"]:not(.collapsed) {
    color: #12131A70;
}

#add_payment_request_popup a[aria-controls="additional_options_group"]:not(.collapsed) i.la-angle-right:before {
    content: "\f107";
}

#add_payment_request_popup .request-check-row,
#payment_request_details_popup .request-check-row {
    padding-top: 10px;
    padding-bottom: 10px;
    width: 800px;
}

.supply-request-title .status-comment {
    margin-top: 15px;
}

.supply-request-title .show-comment {
    text-decoration: underline;
    margin-left: 15px;
    cursor: pointer;
}

.supply-request-title .status-comment-text {
    border: 1px solid rgb(235, 235, 235);
    padding: 10px;
    margin-top: 5px;
}

.supply-request-item[data-status="1"] .entity-payment-status,
.supply-request-item[data-status="6"] .entity-payment-status,
.position-check-row[data-status="1"] .payment-status-wrapper,
.position-check-row[data-status="2"] .payment-status-wrapper,
.position-excess-row[data-status="2"] .payment-status-wrapper {
    visibility: hidden !important;
}

.position-profit-wrapper {
    width: 214px;
    padding: 14px 12px;
}

.position-profit-wrapper .block-header {
    display: block;
    font-weight: bold;
    padding-bottom: 5px;
}

.position-profit-wrapper .project-estimate-block {
    display: block;
    margin-bottom: 20px;
}

.position-profit-wrapper .remain-budget-value,
.position-profit-wrapper .price-diff-value,
.position-profit-wrapper .estimate-profit span,
.budget-exceeded-info span,
.budget-with-shipping-exceeded-info span {
    font-weight: var(--font-bold);
}

.position-profit-wrapper .remain-budget-value.not-fit,
.position-profit-wrapper .price-diff-value.not-fit,
.position-profit-wrapper .estimate-profit span.not-fit,
.budget-exceeded-info span.not-fit,
.budget-exceeded-info span.not-fit,
.budget-with-shipping-exceeded-info span.not-fit {
    color: #F1190F;
}

.position-profit-wrapper .remain-budget-value.fit,
.position-profit-wrapper .price-diff-value.fit,
.position-profit-wrapper .estimate-profit span.fit,
.budget-below-info span.fit,
.budget-with-shipping-below-info span.fit {
    color: #2AB96B;
}

.company-purchases [data-purchase-action="sort"],
.estimate-purchases [data-purchase-action="sort"],
.supply-requests-wrapper [data-supply-request-action="sort"] {
    color: #aeaeae !important;
}

.company-purchases .table-head .table-column.active-sort [data-purchase-action="sort"],
.estimate-purchases .table-head .table-column.active-sort [data-purchase-action="sort"],
.supply-requests-wrapper .table-head .table-column.active-sort [data-supply-request-action="sort"] {
    color: #000000 !important;
}

.approve-change-status {
    width: 275px;
    padding: 10px 15px;
}

.approve-change-status .amount-input-wrapper {
    width: 90px;
    min-width: 90px;
}

.approve-change-status .price-input-wrapper {
    width: 110px;
    min-width: 110px;
}

.approve-change-status svg {
    width: 25px;
    height: 25px;
    cursor: pointer;
    fill: #EBEBEB;
}

.approve-change-status.ok svg {
    fill: #09B76B;
}

.approve-change-status.ok svg:hover {
    opacity: 0.75;
}

.approve-change-status .editable.static-input {
    margin-right: 10px;
}

.approve-change-status input {
    height: 30px !important;
}


.split-shipping-step .split-shipping-row-estimate-name {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 5px;
}

.split-shipping-step .split-shipping-row-estimate-name > img {
    height: 15px;
    cursor: pointer;
    font-size: 18px;
    margin-left: 5px;
}

.select2-container .select2-results__option.add-excess-option {
    font-weight: bold;
    border-top: 1px solid;
}

.split-shipping-step a[data-action="addShippingRow"] {
    margin-left: 15px;
    color: #aeaeae;
}

.split-shipping-step a[data-action="addShippingRow"]:hover {
    color: #212529;
}

.split-shipping-step i[data-action="removeShippingRow"] {
    display: none;
    margin-left: 5px;
}

.split-shipping-step .shipping-split-row-wrapper:not(.has-one-position) .shipping-split-row:hover i[data-action="removeShippingRow"] {
    display: block;
}

.split-shipping-step .split-shipping-rows {
    max-height: 256px;
    overflow-y: scroll;
    padding-right: 20px;
    margin-bottom: 10px;
}

.tooltipable-wrapper .estimate-positions-wrapper {
    padding: 5px;
    font-style: italic;
    max-width: 300px;
    word-break: break-word;
}

.projects-finance-info-tooltip-wrapper {
    width: 280px;
    padding: 10px 8px;
}

.project-finance-info {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    color: #1094f7;
    cursor: pointer;
}

.project-finance-info-row .project-name {
    margin-bottom: 5px;
}

.project-finance-info-row table {
    width: 100%;
}

.project-finance-info-row tr td:first-child {
    width: 108px;
}

.project-finance-info-row tr.plan-row {
    color: #AEAEAE;
}

.project-finance-info-row tr.current-profit-row.fit > td:last-child {
    color: #2AB96B;
}

.project-finance-info-row tr.current-profit-row.not-fit > td:last-child {
    color: #F1190F;
}

.project-finance-info svg {
    width: 14px;
    height: 14px;
    margin-right: 5px;
    fill: #1094f7;
}

#add_payment_request_popup .select2-container--default .select2-selection--single {
    border-radius: 0 3px 3px 0 !important;
}

#requisites_select_popup .select2-selection.select2-selection--single,
#bank_requisites_select_popup .select2-selection.select2-selection--single {
    height: auto !important;
}

.la-info-circle,
.la-exclamation-circle {
    color: #12131A !important;
}

.carousel-item {
    height: 0;
    padding-top: 56.25%;
}

.carousel-item > * {
    position: absolute;
    top: 0;
}

.context-menu {
    padding: 0 !important;
}

.context-menu > :first-child {
    border-top-left-radius: 0.1875rem;
    border-top-right-radius: 0.1875rem;
}

.context-menu > :last-child {
    border-bottom-left-radius: 0.1875rem;
    border-bottom-right-radius: 0.1875rem;
}

.directory-tooltip-prototype, .global-directory-tooltip-prototype,
.operation-directory-tooltip-prototype, .global-operation-directory-tooltip-prototype {
    padding: 4px 0px !important;
}

.directory-tooltip-prototype > .menu-option, .global-directory-tooltip-prototype > .menu-option,
.operation-directory-tooltip-prototype > .menu-option, .global-operation-directory-tooltip-prototype > .menu-option {
    padding: 3px 20px 3px 12px;
}

.directory-tooltip-prototype > .menu-option:hover, .global-directory-tooltip-prototype > .menu-option:hover,
.operation-directory-tooltip-prototype > .menu-option:hover, .global-operation-directory-tooltip-prototype > .menu-option:hover {
    background: #e7f4fe;
}

.directory-tooltip-prototype > .menu-option > span, .global-directory-tooltip-prototype > .menu-option > span,
.operation-directory-tooltip-prototype > .menu-option > span, .global-operation-directory-tooltip-prototype > .menu-option > span,
.position-options-selection > .menu-option > span {
    position: relative;
    top: -3px;
}

.position-options-selection .menu-option {
    padding: 6px 10px;
}

.category-target + div > .sub-menu {
    overflow: hidden !important;
}

.la-pencil::before, .la-bookmark::before, .la-copy::before, .la-trash::before {
    display: block;
    content: '' !important;
    width: 24px;
    height: 24px;
    margin-top: -1px;
}

.la-pencil {
    background: url('../images/icons.svg') -240px -2px no-repeat;
}

.la-bookmark {
    background: url('../images/icons.svg') -264px 0px no-repeat;
}

.la-copy {
    background: url('../images/icons.svg') -144px -2px no-repeat;
}

.la-trash {
    background: url('../images/icons.svg') -288px -1px no-repeat;
}

.operation-header .la-copy {
    background: none;
}

.operation-header .la-copy::before {
    display: inline;
    content: "\f0c5" !important;
    width: auto;
    height: auto;
    margin-top: 0;
    transform: scale(0.86);
    font-size: 17px;
}

.btn.subcontractor-edit > i {
    background-position-y: -9px;
}

.btn.subcontractor-edit.btn-primary > i {
    filter: brightness(1.8);
}

.menu-title.preferred > .la {
    display: inline-block !important;
    width: 22px;
    height: 22px;
    margin-left: 4px;
    position: relative;
    top: 1.5px;
}

.menu-title.preferred {
    margin-top: -6px;
}

.menu-title.preferred > .la::before {
    display: none;
}

.directory-item.active .la {
    filter: brightness(1.75);
}

.manager_project_popup input[type="checkbox"] {
    margin: 5px 0px;
}

.manager_project_popup button {
    margin-left: 6px;
}

#project_manager_project_popup .la-plus {
    vertical-align: middle;
}

#project_manager_project_popup:first-child .la-plus {
    position: relative;
    top: -9px;
}

.editable[data-constraint-type="date"] input {
    max-width: calc(100% - 47px) !important;
    min-width: 90px;
}

.import-type-select {
    position: static !important;
    opacity: 1 !important;
    padding: 3px 0px;
}

.import-popup .custom-file-label.error {
    border: 1px solid #f34141;
}

.import-popup p.desc {
    color: #aaa;
}

.import-popup p.desc.error {
    color: #f34141;
}

.edit-actions-block > div:hover {
    background: #ededed;
}

[data-filter-action="change-account"] + .select2 .select2-search__field::placeholder {
    color: transparent;
}

.checkbox-row {
    display: flex;
    width: 24px;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.checkbox-row > .form-check > .form-check-label > .input-helper::before {
    top: -3px !important;
    cursor: pointer;
}

.checkbox-row > .form-check > .form-check-label > .input-helper::after {
    top: -1px !important;
    cursor: pointer;
}

.subcontractors-mass {
    position: fixed;
    bottom: 20px;
    grid-template-columns: minmax(493px, 1fr) auto 68px;
    align-content: center;
    min-width: 860px;
    right: 20px;
    display: none;
    max-width: calc(100vw - 330px);
    width: 100%;
    height: 48px;
    background: #1C1C1C;
    border-radius: 4px;
    z-index: 1000;
}

.actions-group {
    height: 100%;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: flex-start;
    padding: 0 24px;
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 15px;
    color: #FFFFFF;
}

.actions-group-list {
    position: absolute;
    width: 230px;
    left: 0px;
    bottom: 25px;
    display: none;
    flex-direction: column;
    background: #282828;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.19);
    border-radius: 6px;
    overflow: hidden;
    /*visibility: hidden;*/
}

.first-item {
    left: -24px;
}

.svg-wrapper {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.active-item {
    display: flex;
}

.list-item {
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 0 12px;
    width: 100%;
    white-space: nowrap;
}

.list-item:first-child, .list-item:last-child {
    height: 40px;
}

.list-item:first-child {
    padding-top: 6px;
}

.list-item:last-child {
    padding-bottom: 6px;
}

.list-item:hover {
    background-color: #1094F7;
}

.rename {
    padding-top: 0 !important;
    height: 46px !important;
    border-bottom: 1px solid #403F3F;
}

.add-new-subcontractors {
    height: 46px !important;
    border-top: 1px solid #403F3F;
    padding-top: 6px;
}

.add-new-subcontractors:first-child {
    border-top: none;
}

.list-item-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    line-height: 30px;
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-item > .labor {
    background: #38C572;
}

.list-item > .material {
    background: #9D69E6;
}

.list-item > .machinery {
    background: #2FA2DD;
}

.list-item > .shipping {
    background: #F2AD33;
}

.total-group {
    height: 32px;
    padding: 0 24px;
    display: flex;
    gap: 16px;
    border-left: 1px solid #333333;
    border-right: 1px solid #333333;
    border-top: 0px;
    border-bottom: 0px;
    border-image: linear-gradient(180deg, #333333 0%, #787777 48.3%, #333333 100%) 1;
    font-style: normal;
    font-weight: 400;
    font-size: 11px;
    line-height: 13px;
    color: #FFFFFF;
}

.total-group__item {
    display: flex;
    gap: 4px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.total-value {
    opacity: 1;
    font-weight: 500;
    font-size: 12px;
    line-height: 14px;
}

.button-close, .button-close > button, .actions-group > button, .total-group {
    display: flex;
    align-items: center;
    justify-content: center;
}

.actions-group > button {
    border: none;
    background: transparent;
    cursor: pointer;
    color: inherit;
    gap: 2px;
    position: relative;
}

button.button-mass-act-ungroup {
    display: none;
}

button.button-mass-act > span {
    width: 100%;
    min-width: 100Px;
    white-space: nowrap;
    overflow: hidden;
}

button.button-mass-act-merge > span {
    width: 100%;
    min-width: 100Px;
    white-space: nowrap;
    overflow: hidden;
}

.button-ellipsis {
    width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.button-close > button {
    border: none;
    background: transparent;
    cursor: pointer;
    opacity: 0.7;
}

.button-close > button:hover {
    opacity: 1;
}

.button-close > button svg g {
    opacity: inherit;
}

.button-mass-act:disabled, .button-mass-act-merge:disabled, .button-mass-act-ungroup:disabled {
    opacity: 0.3;
    cursor: default;
}

.actions-group-list .disabled {
    opacity: 0.3;
    pointer-events: none;
}


.list-item > .tooltip-option {
    display: grid;
    align-items: center;
    grid-template-columns: 11px 1fr;
    gap: 5px;
}

.list-item > .tooltip-option > .subcontractor-name {
    overflow: hidden;
    text-overflow: ellipsis;
}

span.subcontractor {
    height: 100%;
    display: flex;
    align-items: center;
}

.estimate-extra-works .extra-checkbox-row {
    display: flex;
    width: 35px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.estimate-extra-works .extra-checkbox-row .input-helper:before {
    top: -5px !important;
}

.estimate-extra-works .extra-checkbox-row .input-helper:after {
    top: -3px !important;
}

.estimate-extra-works .extra-subcontractor {
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.estimate-extra-works .extra-sort {
    margin-right: 10px;
}

div.estimate-works .extra-checkbox-row .input-helper:before {
    top: -2px !important;
}

div.estimate-works .extra-checkbox-row .input-helper:after {
    top: 0px !important;
}

.estimate-mass-collapse {
    position: fixed;
    bottom: 100px;
    right: 44px;

    z-index: 1;
}

.estimate-mass-collapse > button {
    background: transparent;
    border: none;
    cursor: pointer;
}

.estimate-mass-collapse:hover > button > svg > rect {
    fill: #00000040;
}

.mass-uncollapse {
    display: none;
}

.notification-blue-color {
    color: var(--Old-styles-Text-accent, #1094F7)!important;
}


div.header-help {
    border: 1px solid #d9d9d9 !important;
    color: #12131A !important;
}

div.header-help:hover {
    background: #ececec;
}

.payment-request-select {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px 0 4px;
    height: 28px;
    width: 200px;
    /*border-radius: 2px;*/
    border: 1px solid var(--Old-styles-Bg-boarder, #E6E6E6);
    color: #444;
    position: relative;
    cursor: pointer;
}
.payment-request-select svg {
    transition: transform 0.3s ease; /* Переход для плавного вращения */
}

.payment-request-select.opened svg {
    transform: rotate(180deg); /* Поворот на 180 градусов */
}

.placeholder {
    color: var(--Old-styles-Text-tertiary, #BEBEC2);
}

.payment-request-select-list {
    border-radius: 4px 4px 0px 0px;
    padding: 8px;
    border: 1px solid var(--Bg-boarder, #E6E6E6);
    border-bottom: none;
    background: var(--Old-styles-Bg-island, #FFF);
    min-height: 20px;
    width: 200px;
    position: absolute;
    left: -1px;
    bottom: 27px;
    box-shadow: 5px -5px 5px 0px rgba(0, 0, 0, 0.03), -5px -5px 5px 0px rgba(0, 0, 0, 0.03);

    display: none;
    flex-direction: column;
    gap: 4px;
}

.data-payment-request-select-value {
    display: flex;
    height: 28px;
    padding: 4px 8px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;

    color: var(--Old-styles-Text-primary, #252733);

    font-family: Roboto;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;

    cursor: pointer;
}
.data-payment-request-select-value.pay {
    background: #DFFFF1;
}
.data-payment-request-select-value.approve {
    background: #DDECFF;
}
.data-payment-request-select-value.postpone {
    background: var(--Old-styles-Bg-boarder, #E6E6E6);
}
.data-payment-request-select-value.reject {
    background: #FFEFD9;
}
.data-payment-request-select-value.remove {
    background: #FFDEDC;
}

.data-payment-request-select-value.pay:hover {
    background: var(--Old-styles-Status-in-work, #28B57A);
    color: #FFF;
}
.data-payment-request-select-value.approve:hover {
    background: var(---, #1094F7);
    color: #FFF;
}
.data-payment-request-select-value.postpone:hover {
    background: var(--Old-styles-Icon-secondary, #757575);
    color: #FFF;
}
.data-payment-request-select-value.reject:hover {
    background: var(--Status-agreement, #FB9D32);
    color: #FFF;
}
.data-payment-request-select-value.remove:hover {
    background: var(--Old-styles-Status-warning, #E04E2A);
    color: #FFF;
}

.data-payment-request-select-text-area {
    width: 100%;
    margin-top: 6px;
    font-size: 12px;
    line-height: 16px;
}

.data-payment-request-select-text-area > .button-wrapper {
    display: flex;
    width: 100%;
    justify-content: flex-end;
}

.data-payment-request-select-text-area #save-comment-button {
    margin-left: auto;
    cursor: pointer;
    color: var(--Old-styles-Bg-accent, #1094F7);

    /* body_12_reg */
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 133.333% */

    border: none;
    background: transparent;
    padding: 0;
}

.data-payment-request-select-text-area #save-comment-button:disabled {
    color: var(--tertiary, #ADB0B5);
}

.data-payment-request-select-text-area > label {
    margin-bottom: 0;

    overflow: hidden;
    color: var(--Text-primary, #252733);

}
.data-payment-request-select-text-area > textarea {
    border-radius: 2px;
    border: 1px solid var(--Bg-boarder, #E6E6E6);
    background: var(--Bg-island, #FFF);
    width: 100%;
    height: 72px;
    padding: 4px 8px;
    align-items: center;
    color: var(--Text-primary, #252733);
}

.new-payment-request-status {
    display: flex;
    min-width: 96px;
    height: 26px;
    justify-content: center;
    align-items: center;
    padding: 0 8px;
    border-radius: 2px;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 16px;
}

.new-payment-request-status.wait {
    border: 2px solid #F8C962;
    color: #F8C962;
}

.new-payment-request-status.agreed {
    border: 2px solid var(--Old-styles-Icon-accent, #1094F7);
    color: var(--Old-styles-Icon-accent, #1094F7);
}

.new-payment-request-status.postponed {
    border: 2px solid var(--Old-styles-Icon-secondary, #757575);
    color: var(--Old-styles-Icon-secondary, #757575);
}

.new-payment-request-status.declined {
    border: 2px solid var(--Status-agreement, #FB9D32);
    color: var(--Status-agreement, #FB9D32);
}

.new-payment-request-status.paid {
    border: 2px solid var(--Status-in-work, #28B57A);
    color: var(--Status-in-work, #28B57A);
}

.new-payment-request-status.part-paid {
    border: 2px solid #783DA5;
    color: #783DA5;
}

.new-payment-request-block {
    position: absolute;
    top: 34px;
    right: 0;
    width: 324px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.new-payment-request-block > .user {
    width: 164px;
    max-height: 48px;
    position: absolute;
    top: -35px;
    left: 0;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.new-payment-request-block > .user >.user_name {
    max-height: 52px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.new-payment-request-block > .user > img {
    height: 28px;
    width: 28px;
    border-radius: 50px;
    object-fit: cover;
    margin-right: 4px;

    color: var(--Text-primary, #252733);

    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 133.333% */
}

.new-payment-request-block > .date {
    color: var(--Text-primary, #252733);
    margin-left: auto;
    /* body_12_reg */
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 133.333% */
}

.new-payment-request-block > .comment {
    text-align: end;
    margin-left: auto;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--Text-primary, #252733);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    width: 256px;
}

.data-payment-request-error {
    position: absolute;
    display: none;
    top: -24px;
    right: -44px;
    text-wrap: nowrap;
    color: var(--Old-styles-Status-warning, #E04E2A);
    text-align: right;
    text-overflow: ellipsis;

    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
}

.modal-gantt-change-start {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    pointer-events: auto;
    opacity: 1;
    z-index: 2040;
    color: black;
}
.modal-gantt-change-start-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-gantt-change-start-content {
    display: flex;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0px 8px 49px 0px rgba(31, 50, 61, 0.19);
    border-radius: 8px;
    background: #FFF;
    width: 492px;
    max-height: 100%;
    position: relative;
    overflow: auto;
}
.modal-gantt-change-start-header {
    width: 100%;
    color: var(--Text-primary, #252733);
    text-align: center;

    /* h1_semibold */
    font-family: Roboto;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px; /* 120% */

    margin-bottom: 28px;
}

.input-gantt-wrapper {
    width: 264px;
    margin: 0 auto;
}

.input-gantt:focus ~ .gantt {
    border-right: none;
}

.input-group-text.gantt {
    height: 28px;
    border-left: none!important;
}

.modal-gantt-change-start-footer {
    width: 100%;
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 40px;
}

#min-width-170 {
    min-width: 170px;
}

.add-employee-btn {
    display: flex;
    justify-content: flex-end;
}

/*скрываем dnd из jquery пока не загрузился DOM*/
input[type="file"].dropify,
input[type="file"].dropify-document,
input[type="file"].dropify-document-contractCustom {
    z-index: 100;
    height: 100%;
    opacity: 0;
}

input[type="file"] ~ .dropify-wrapper { opacity: 0; }

/* стили скопированы из плагина JQuery - dropify */
.dropify-wrapper.is-dragover {
    background-size: 30px 30px;
    background-image: -webkit-linear-gradient(135deg, #F6F6F6 25%, transparent 25%, transparent 50%, #F6F6F6 50%, #F6F6F6 75%, transparent 75%, transparent);
    background-image: linear-gradient(-45deg, #F6F6F6 25%, transparent 25%, transparent 50%, #F6F6F6 50%, #F6F6F6 75%, transparent 75%, transparent);
    -webkit-animation: stripes 2s linear infinite;
    animation: stripes 2s linear infinite;
}
