.button:not([class^=mfp]).bigger,
button:not([class^=mfp]).bigger {
    border-width: 2px;
    padding: 4px 10px;
    text-transform: uppercase;
}

.text-left,
.table-type2 td.text-left:last-child {
    text-align: left;
}

.text-right,
.table-type2 td.text-right:last-child {
    text-align: right;
}

.text-center,
.table-type2 td.text-center:last-child {
    text-align: center;
}

.form_submit {
    cursor: pointer;
}

.w300 {
    width: 300px;
}

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

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

.mr5 {
    margin-right: 5px;
}

.audit_td {
    padding: 5px 10px !important;
}

.allowed,
.reserve_allowed,
.allowed a {
    color: #45b114;
}

.not_allowed,
.reserve_not_allowed,
.not_allowed a {
    color: #45b114;
}

.table-type1 tr.selected-row td span.allowed,
.table-type1 tr.selected-row td span.allowed a {
    color: #08ff00 !important;
}

.table-type1 tr.selected-row td span.not_allowed,
.table-type1 tr.selected-row td span.not_allowed a {
    color: #bf1b1b !important;
}

#global-popup-orders-offer-add .not_allowed,
#global-popup-orders-offer-add .not_allowed a {
    color: #ff5c5c !important;
}

.td_small {
    padding: 8px 20px !important;
}

.tr_violet {
    background: #d5e2e8;
}

.report_warehouse_line_hover:hover td {
    background: #fffab5;
}

.report_warehouse_line_yellow {
    background: #fffab5;
}

.report_warehouse_line_yellow sup {
    color: #23a318;
}

.report_warehouse_line_yellow sup.diff_minus {
    color: #bf1b1b;
}

.custom_name_title {
    font-style: italic;
    cursor: pointer;
}

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

.custom_name_edit {
    display: none;
}

.custom_name_edit input {
    width: 100%;
    min-width: 120px;
}

.separator_text_value {
    width: 100%;
    min-width: 250px;
}

.offer_add_result_success {
    width: 20px;
    height: 20px;
    border-radius: 20px;
    background: #23a318;
}

.offer_add_result_fail {
    width: 20px;
    height: 20px;
    border-radius: 20px;
    background: #bf1b1b;
}


.relative {
    position: relative;
}

.block_edit {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: none;
}

.notice_message {
    position: fixed;
    z-index: 99999;
    bottom: 0;
    right: 0;
    padding: 15px 30px;
    color: #fff;
    background: #23a318;
    font-size: 14px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    display: none;
}

.infinite {
    font-size: 30px;
}

.incomplete_qnt {
    color: #ff0000 !important;
    padding-left: 10px;
}

.order_add_allow {
    white-space: nowrap;
}

#alert_message .mfp-container {
    height: 300px;
}

.date-time-block.date-time-block-add .input-wrapper {
    width: 250px;
}

.date-time-block.date-time-block-add .input-wrapper input {
    padding: 10px;
}

.date-time-block-add {
    align-items: end;
}

.popup-block {
    box-shadow: 1px 1px 111px 96px rgba(0, 0, 0, 0.26);
    -webkit-box-shadow: 1px 1px 111px 96px rgba(0, 0, 0, 0.26);
    -moz-box-shadow: 1px 1px 111px 96px rgba(0, 0, 0, 0.26);
}

.flex-block {
    display: flex;
    justify-content: space-between;
}

.flex-block-left {
    justify-content: left;
}

.gray_info {
    color: #ccc;
    border: 1px solid #ccc;
}

.tab .variation_title_edit_btn {
    display: none;
}

.tab.active .variation_title_edit_btn {
    display: inline-block;
}

.bitrix_name {
    font-size: 16px;
}

.bitrix_name svg path {
    fill: #34a5e4;
}

.bitrix_name a:hover svg path {
    fill: #fff;
}

.bitrix_name_info {
    font-size: 14px;
    color: #34a5e4;
}

.spinner {
    position: relative;
}

.spinner::before,
.spinner::after {
    content: '';
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
}

.spinner::before {
    width: 6.7px;
    height: 6.7px;
    background: #ffffff;
}

.spinner::after {
    width: 24px;
    height: 24px;
    animation: spinner-y7ej37 1s infinite linear;
    border: 4.8px solid #ffffff;
    border-left-color: transparent;
    border-right-color: transparent;
}

.mt5 {
    margin-top: 5px;
}

.pt5 {
    padding-top: 5px;
}

.logistic_header {
    display: none;
}

.table_report_repair {
    max-height: 600px;
    overflow-y: scroll;
}

.table_report_repair thead th {
    position: sticky;
    top: 0;
    z-index: 99;
    border-bottom: 1px solid #bcc3c8;
}

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

.report_warehouse_line_title {
    width: 300px;
}

.report_warehouse_line_title a {
    white-space: normal;
}

.report_warehouse_line_title_eq {
    width: 600px;
}

.report_warehouse_line_title_eq a {
    white-space: normal;
}

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

.report_warehouse_line_qnt {
    text-align: center !important;
    position: relative;
    border-right: 1px solid #ccc;
    padding: 0 !important;
    height: 45px;
    width: 120px;
}

.report_warehouse_line_orders {
    text-align: center !important;
    position: relative;
    border-right: 1px solid #ccc;
    padding: 0 !important;
    height: 45px;
    width: 600px;
}

.balance_all {
    position: absolute;
    right: 5px;
    top: 2px;
    font-size: 12px;
}

.balance_div {
    padding: 7px;
    height: 45px;
}

.repair_legend {
    padding: 5px 15px;
}

.repair_div {
    background: #f4cccc !important;
}

.remove_div {
    background: #fff2cc !important;
}

.warehouse_div {
    background: #d9ead3 !important;
}

.warehouse_remove_div {
    background: #d9d2e9 !important;
}

.history_bx24 {
    background: #d9ead3;
    padding: 2px 4px;
    border-radius: 2px;
}

.history_button {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    border: 1px solid #aeb4b8;
}

.history_status_button {
    background: #aeb4b8;
    color: #3e3c3c;
}

.history_tax_button {
    background: #34a5e4;
    border: 1px solid #34a5e4;
    color: #fff;
}

.line_select {
    padding: 5px 10px;
    background: #fff;
    border: 1px solid rgba(48, 70, 83, .15);
    color: #2a3d47;
    height: 40px;
    border-radius: 6px;
}

@keyframes spinner-y7ej37 {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.sites-circles .site-circle.show-all-circle {
    z-index: unset;
}

.blink_me {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.select_search {
    width: 100%;
    display: block;
    padding: 5px;
    height: 30px;
    margin-bottom: 5px;
}

#manager-styler,
#status_id-styler,
#company-styler {
    display: block;
}


.jq-select-multiple {
    box-sizing: border-box;
    padding: 1px;
    border: 1px solid #CCC;
    border-bottom-color: #B3B3B3;
    border-radius: 4px;
    background: #FFF;
    box-shadow: inset 1px 1px #F1F1F1, 0 1px 2px rgba(0, 0, 0, .1);
    font: 14px/18px Arial, sans-serif;
    color: #333;
    cursor: default;
}

.jq-select-multiple.focused {
    border: 1px solid #5794BF;
}

.jq-select-multiple.disabled {
    border-color: #CCC;
    background: #F5F5F5;
    box-shadow: none;
    color: #888;
}

.jq-select-multiple ul {
    margin: 0;
    padding: 0;
}

.jq-select-multiple li {
    padding: 3px 9px 4px;
    list-style: none;
}

.jq-select-multiple li:first-child {
    border-radius: 3px 3px 0 0;
}

.jq-select-multiple li:last-child {
    border-radius: 0 0 3px 3px;
}

.jq-select-multiple li.selected {
    background: #08C;
    color: #FFF;
}

.jq-select-multiple li.disabled {
    color: #AAA;
}

.jq-select-multiple li.optgroup {
    font-weight: bold;
}

.jq-select-multiple li.option {
    padding-left: 25px;
}

.jq-select-multiple.disabled li.selected,
.jq-select-multiple li.selected.disabled {
    background: #CCC;
    color: #FFF;
}


.combined-data-table {
    width: 100%;
    border-collapse: collapse;
}

.combined-data-table th {
    background-color: #f2f2f2;
    padding: 8px;
    text-align: left;
    border: 1px solid #ddd;
}

.combined-data-table td {
    padding: 8px;
    border: 1px solid #ddd;
    vertical-align: top;
}

.row-history {
    background-color: #f9f9f9;
}

.row-history.order-change {
    background-color: #e6f7ff;
    /* Голубой для изменений заказа */
}

.row-history.offer-change {
    background-color: #fff7e6;
    /* Оранжевый для изменений предложений */
}

.row-view {
    background-color: #f0fff0;
    /* Зеленый для просмотров */
}

.tab_order_sum {

    font-size: 12px;
    font-weight: bold;
    color: #87949c;
}



.combined-data-table tr:hover {
    background-color: #f5f5f5;
}



.tabs .tabs__caption .tab {
    background-color: white;
    border: 1px solid #c2c9cc;
}

.tabs .tabs__caption .tab:hover {
    color: black;
}

.tab.wider .tab_order_sum,
.tabs .tabs__caption .tab .label {
    color: black;
}

.tabs .tabs__caption .tab:hover .label {
    color: black;
}

.tabs .tabs__caption .tab:hover {
    background-color: #f4f7f9;
}

.tabs .tabs__caption .add-tab-btn {
    vertical-align: text-top;
}

span.reserved {
    color: gray;
}

span.reserved_separator {
    color: gray;
}

span.reserved.allowed {
    color: gray;

}

span.reserved.not_allowed {
    color: gray;
}

td.report_offer_first_col_title {
    background-color: #e3ebf0;
    color: #56636a;
}


@media (max-width: 1500px) {

    .orders_table_list th,
    .orders_table_list td {
        font-size: 0.9em !important;
        padding: 12px;
    }
}

@media (max-width: 1200px) {

    .orders_table_list th,
    .orders_table_list td {
        font-size: 0.8em !important;
        padding: 10px;
    }
}