
.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;
}

.dev_expense_item {
    cursor: pointer;
}

/* 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;
}

/* исправления меню */
@media only screen and (max-width: 1200px) {
    .cabinet .navigation-menu {
        position: fixed;
    }
}

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

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

.phone {
    padding-left: 45px !important;
}

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

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

.dev_invoice_table .dev_lead_type_item td {
    cursor: auto;
}

.dev_invoice_table .dev_lead_type_item td.editable-cell {
    cursor: pointer !important;
}

.dev_invoice_table .dev_lead_type_item td.editable-cell:hover {
    text-decoration: underline dashed;
}

.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;
}

.main-sprint-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;
}

.leads_box {
    bottom: 3px;
    position: fixed;
    overflow: scroll;
    top: 245px;
    right: 15px;
    left: 220px;
}

.kanban_board .board {
    overflow: visible;
}

.board-column__title {
    position: sticky;
    top: 0;
}

.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;
}

.sprint-info {
    overflow: scroll;
    max-height: 510px;
}

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

.leads_box_kanban {
    margin-bottom: 5px;
}

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

.expenses-months-head.head_sticky {
    position: sticky;
    top: 0;
    overflow: visible;
}

.fixed_box .expenses-months {
    overflow-y: visible;
    position: absolute;
}

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

.fixed_box .expenses-months .expenses-months-content {
    padding-top: 0;
}

.fixed_box .expenses-months .expenses-month .expense-month-total-wrapper {
    position: sticky;
}

.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;
}

.window-step-type-select .notice-text__wrapper .notice-text p {
    white-space: normal !important;
}


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

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

.incomes_list_for_month a.income_sprint {
    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 */

.dev_token_copy {
    margin-left: .875rem;
    cursor: pointer;
}
