
.b-popup {
    width: 100%;
    min-height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: fixed;
    top: 0;
}

.b-popup .b-popup-content {
    margin: 150px auto 0 200px;
    width: auto;
    height: auto;
    background-color: #c5c5c5;
    border-radius: 0;
    box-shadow: 0 0 10px #000;
}

#calendar {
    width: 100%;
    margin: 0 auto;
}

.preloader-content {
    width: 100px;
    height: 76px;
}

.spinner {
    background: url('../image/ajax-loader.gif') no-repeat 50% 50%;
    width: 64px;
    height: 64px;
    top: 0;
    display: block;
}

.spinner-mini {
    background: url('../image/ajax-loader-mini.gif') no-repeat 50% 50%;
    width: 16px;
    height: 16px;
    top: 0;
    display: block;
}

.load_text {
    bottom: 0;
}

.display_none {
    display: none;
}

.pageError {
    margin: 10px;
}

.dev_chart_container {
    position: relative;
    height: 30vh;
    width: 80vw;
}

.expenses_month {
    position: relative;
    min-width: 200px;
    float: left;
    border: 1px solid black;
    margin-right: 20px;
    margin-bottom: 20px;
    padding: 10px;
}

/* expense edit window */
#dev_bo_list {
    display: none;
}

#dev_bo_list {
    margin-top: 20px;
}

.dev_show_bo_list_button {
    display: none;
}

.dev_show_bo_list_button > span {
    border-bottom: 2px dotted;
    text-decoration: none;

    cursor: pointer;
}

/* bank operation item */
.dev_bo_item {
    position: relative;
    margin-bottom: 10px;
}

.dev_bo_item .close {
    top: 45%;
    right: 10px;
}

.dev_bo_item > span {
    display: block;
}

.dev_no_wrap {
    white-space: nowrap;
}

.dev_period span {
    position: relative;
    bottom: 10px;
}

.dev_readonly {
    pointer-events: none;
}

.dev-expense-list-item-planned {
    border-left: 5px solid #eb3232 !important;
}

.dev-expense-list-item-ignored-in-chart {
    border-left: 5px solid #A19F9F;
}

.job-card_title > a {
    color: black;
}

.dev_max_width {
    max-width: none !important;
    width: 100%;
}

.dev_date {
    color: #919ea9;
    font-size: 13px;
}

.dev_leads_box {
    cursor: grab;
}

.dev_leads_box.dragging {
    cursor: grabbing;
    user-select: none;
}

.dev_leads_box.dragging a {
    cursor: grabbing;
}

#dev_kanban_load_more {
    width: 100%;
    margin-top: -10px;
}

.table_row_signature {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}

.table_row_signature::before {
    content: "" !important;
    position: absolute !important;
    width: 16px !important;
    height: 21px !important;
    padding: 8px 0 !important;
    background-image: url(../image/icon-done.svg) !important;
    background-repeat: no-repeat !important;
    background-size: 16px 16px !important;
    background-position: center !important;
}

.dev_acts_table .itbrick_num, .dev_invoices_table .itbrick_num {
    margin-left: 20px
}

.page-filters .signing {
    margin-right: 60px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.page-filters .signing span {
    display: flex;
    align-items: center;
}

.page-filters .branch {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.main-job-info__period.two_filters {
    justify-content: flex-start;
}

.dev_column_entry {
    min-height: 100%;
}

.lead_placeholder {
    height: 100px;
    display: inline-block;
    width: 100%;
    margin-top: 15px;
}

.sortable_over_column {
    border: dotted 1px;
    border-radius: 5px;
    border-color: #8f8f8f;
}

#dev_pagination.leads_pagination {
    position: fixed;
    bottom: -52px;
}

.dev_failure_reason {
    width: 360px;
}

.dev_filter_block {
    z-index: 99;
    position: relative;
}

.lead_communication_element .text {
    white-space: normal !important;
}

.fixed_box {
    bottom: 3px;
    position: fixed;
    overflow: scroll;
    top: 160px;
    right: 15px;
    left: 220px;
    margin-bottom: 5px !important;
}

.fixed_box .page-filters {
    margin-top: -10px;
    margin-bottom: 10px;
}

.fixed_box .total_row {
    position: sticky;
    bottom: 0;
    display: flex;
    left: 20px;
    z-index: 2;
    width: 100%;
}

.total_row .expense-month-total-wrapper {
    width: 350px;
    background: #f6f7f9;
    border: 1px solid #d9dfe4;
    margin-right: 10px;
    border-top: none;
    position: relative;
}

.total_row .expense-month-total-detail {
    background: #f6f7f9;
    border-radius: 8px 8px 0 0;
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 350px;
    max-height: 0;
    overflow: hidden;
    -webkit-transition: .6s ease;
    transition: .6s ease;
}

.total_row .expense-month-total-detail .row:first-child {
    padding-top: 16px;
}

.total_row .expense-month-total-detail .row {
    display: flex;
    justify-content: space-between;
    padding: 4px 16px;
}

.total_row .expense-month-total-detail .cell {
    width: 50%;
}

.total_row .expense-month-total-detail .cell.summ {
    font-weight: 700;
    text-align: right;
}

.total_row .expense-month-total-detail .cell {
    width: 50%;
}

.total_row .expense-month-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    background: #f6f7f9;
    padding: 10px 16px;
}

.total_row .expense-month-total-detail.visible {
    max-height: 500px;
}

.total_row .expense-month-summ {
    width: 130px;
    text-align: right;
}

.window2-body-container fieldset label.direction_label {
    width: 110px;
}

.places_suggestion span {
    color: #054fff;
    cursor: pointer;
    text-decoration: none;
    border-bottom: 1px dashed #054fff;
}

.agents-table .custom_link {
    color: #22b1f9;
    text-decoration: underline;
}

.incomes_list_for_month a.income_project {
    color: #afafaf;
}

.incomes_list_for_month a.income_job {
    color: #394d5e;
    font-size: 14px;
}

.incomes_list_for_month .sum {
    font-weight: bold;
}

.table_icon {
    width: 20px;
    opacity: 10%;
}

td:hover .table_icon {
    opacity: 100%;
}


/* dashboard */
.dev_empty_column.display_none {
    display: none;
}

.dev_widget_preview {
    display: flex;
    overflow: scroll;
    flex-direction: column;
}

.dev_widget_header_menu.active, .dev_widget_header_menu.active .widget-header-menu-content-wrapper {
    pointer-events: all;
    opacity: 1;
}

.chart_container {
    aspect-ratio: 2.5;
}

#dev_widget_templates {
    display: none;
}

/* end of dashboard */

/* funnel dictionary */
.funnel_name {
    display: inline-block;
    width: 130px;
    cursor: pointer;
}

.sales_funnels_rows .step {
    cursor: pointer;
}

.funnel {
    padding: 10px;
    margin: 5px 0;
}

.step_placeholder {
    width: 70px;
    display: inline-block;
    background-color: #ffffad;
    height: 18px;
}

.sales_funnels_rows.sortable {
    list-style-type: none;
}

.funnel .handle {
    cursor: pointer;
}

.funnel .add_step {
    display: inline-block;
    width: 20px;
    height: 20px;
    text-align: center;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    border-style: dashed;
    border-width: thin;
    padding: 1px;
    cursor: pointer;
}

.funnel .add_step:hover {
    background-color: lightblue;
}

.funnel .step_delimiter {
    margin: 0 10px;
}

/* end of funnel dictionary */

.is-display-flex.display-none, .is-flex.display-none {
    display: none !important;
}

.window-card.copy_back {
    background-color: #f2faf4 !important;
}

.window-card__card.copy_back, .transaction-card__card.copy_back {
    background-color: #f2faf4 !important;
}

/* lead temp */
.lead-communications__email-body ul,.lead-communications__email-editor ul{list-style:disc;margin:.5rem 0 .5rem 1.25rem;padding-left:1.25rem}.lead-communications__email-body ol,.lead-communications__email-editor ol{list-style:decimal;margin:.5rem 0 .5rem 1.25rem;padding-left:1.25rem}.lead-communications__email-body li,.lead-communications__email-editor li{display:list-item;margin:.25rem 0}

.lead-communications__bubble-text {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.lead-communications__bubble-text ul, .lead-communications__bubble-text ol {
    margin: .25rem 0 .25rem 1.25rem;
    padding-left: 1.25rem;
}

.lead-communications__bubble-text ul {
    list-style: disc;
}

.lead-communications__bubble-text ol {
    list-style: decimal;
}

.lead-communications__bubble-text li {
    display: list-item;
}

.lead-communications__bubble-text blockquote {
    margin: .25rem 0;
    padding-left: .75rem;
    border-left: 3px solid #dbdbdb;
}

.lead-communications__bubble-text pre {
    white-space: pre-wrap;
}

.lead-communications__email-frame {
    display: block;
    width: 100%;
    border: 0;
    min-height: 1.5rem;
}

.integration-whatcrm__accordion-title {
    cursor: pointer;
}

table tbody td:has(> a) {
    position: relative;
    padding: 0;
}

table tbody td:has(> a) > a {
    display: block;
    padding: 10px;
    box-sizing: border-box;
}

table tbody td:has(> a) > a::before {
    content: "";
    position: absolute;
    inset: 0;
}


.sticky-header thead th {
    position: sticky;
    top: 0;
    z-index: 2;
}

.copy_back {
    background-color: #f2faf4 !important;
}

.role-permission-cell{position:relative}.role-permission-cell__menu-dot{position:absolute;top:-.375rem;right:-.375rem;line-height:0;z-index:1}

.dev_hide_document_copy .dev_document_copy {
    display: none;
}

.calendar.dev_readonly .fc-day {
    cursor: default;
}

.dev_new_contact_form, .dev_new_branch_form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 16px 16px;
}

.dev_new_contact_form input, .dev_new_branch_form input {
    width: 100%;
}

.settings-modules__head {
    display: block;
}

.settings-modules__hint {
    margin: 0;
    color: var(--sub-gray-text);
    font-size: .75rem;
    line-height: 1rem;
}

.settings-module {
    position: relative;
    border-top: .0625rem solid var(--general-border);
    transition: background-color .2s ease;
}

.settings-module.is-active,
.settings-module:hover {
    background: var(--general-light-bg);
}

.settings-module.is-active {
    border-left: .1875rem solid var(--primary-color);
}

.settings-module.is-active .settings-module__icon {
    color: var(--primary-color);
}

.settings-module.is-active .settings-module__arrow {
    opacity: .5;
}

.settings-module > a {
    display: flex;
    align-items: center;
    min-height: 4rem;
    padding: .625rem;
    gap: .625rem;
    cursor: pointer;
    color: inherit;
    text-decoration: none;
}

.settings-module__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    min-width: 2rem;
    color: var(--sub-gray-text);
    font-size: 1.0625rem;
}

.settings-module__content {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
}

.settings-module__content .title {
    color: var(--general-text-color);
    font-size: .875rem;
    font-weight: 500;
    margin-bottom: .3125rem;
}

.settings-module__content .text {
    color: var(--sub-gray-text);
    font-size: .75rem;
    line-height: 1.3;
}

.settings-module__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    min-width: 1.5rem;
    color: var(--sub-gray-text);
    font-size: .625rem;
    opacity: .3;
}

@media (max-width: 1200px) {
    .settings-module {
        gap: .125rem;
    }

    .settings-module__arrow {
        display: none;
    }
}

@media (max-width: 1000px) {
    .settings-layout {
        display: block;
    }

    .settings-layout .column {
        display: block;
        width: 100%;
    }
}

.job-steps__item.ui-sortable-helper {
    transition: none;
}

.dev_step_list.is-readonly .job-steps__item-drag {
    display: none;
}

.dev_task_readonly .dev_custom_select,
.dev_task_readonly .period_with_picker {
    pointer-events: none;
}

.dev_task_readonly .dev_add_labor_cost,
.dev_task_readonly .dev_labor_copy,
.dev_task_readonly .dev_labor_delete {
    display: none;
}

.dev_window_readonly .window-card__box {
    pointer-events: none;
}

.dev_window_readonly .dev_link_transaction {
    display: none;
}
