﻿@charset "UTF-8";
@import"https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap";
@import"https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600;700&display=swap";
@import"https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap";



:root {
    font-family: "verdana", "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑" /*"\5fae\8f6f\96c5\9ed1"*/, Arial, sans-serif;
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.5);
    background: #a89984;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    border-radius: 10px;
}

::-webkit-scrollbar-corner {
    background: #504945;
}
html, body {
    margin: 0;
    padding: 0;
    overflow: auto;
    width: 100vw;
    min-height: 100vh;
    background: #504945;
}

@font-face {
    font-family: 'verdana';
    src: url('../fonts/verdana/Verdana.ttf') format('truetype');
}

span, input, select, option, alert, label, textarea {
    font-family: verdana;
}
.check_field {
    font-family: verdana;
    color: #d5c4a1;
    padding-bottom: 1.5rem;
    display: flex;
    margin-left: 1rem;
    justify-content: space-between;
}

/*.auth_form:nth-child(8) {
    grid-row: 1;
    grid-column: 2;
}
.auth_form:nth-child(9) {
    grid-row: 2;
    grid-column: 2;
}
.check_field:nth-child(3) {
        grid-row: 3;
        grid-column: 2;
    }

.check_field:nth-child(4) {
        grid-row: 4;
        grid-column: 2;
    }
.check_field:nth-child(5) {
        grid-row: 5;
        grid-column: 2;
    }*/

/*.check_field:nth-child(1) {
        grid-row: 1;
        grid-column: 2;
    }*/

.auth_form {
    grid-template-columns: 1fr!important;
}

input[type=checkbox] {
    border: 0;
    width: 15px;
    height: 15px;
    min-height: 15px;
    padding: 0;
    -webkit-appearance: none;
    appearance: none;
    margin-bottom: 0;
    margin-top: -3px;
    margin: 3px 1rem 0 auto;
    background: #d5c4a1;
}

input[type=checkbox]:checked {
    background: #d5c4a1;          
}

input[type=checkbox]:checked:before {
    content: "✓";
    color: #3c3836;
    font-size: 16px;
    transform: translate(-50%, -50%);
    margin-left: 7px;
    margin-top: 7px;
    padding: 0;
    display: block;
    font-weight: 900;
}

input[type=checkbox]:checked:disabled{
    background: #d5c4a140;    
}

input, input:focus-visible, select, textarea {
    font-family: verdana;
    /*    border-left: 10px solid #d5c4a1;
    border-right: 10px solid #d5c4a1;
    border-top: 1px solid #28282826;
    border-bottom: 1px solid #28282826;*/
    /*text-align: center;*/
    width: 18rem;
    /*    margin: 0 1rem 1rem 1rem;*/
    font-size: 1rem;
    min-height: 1.8rem;
    padding: 5px 8px 7px 13px;
    border-radius: 11px;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    box-shadow: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transform: none;
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0);
}

::placeholder {
    color: #888888;
/*    opacity: 1; */
    align-items:start;
}

.select2.select2-container {
    font-family: verdana;
    text-align: start;
    margin: 0 1rem 1rem 1rem !important;
}

.select2-selection, .select2-selection__rendered {
    /*    border-left: 10px solid #d5c4a1;
    border-right: 10px solid #d5c4a1;*/
    border-top: 0;
    border-bottom: 0;
    border-radius: 3px;
    height: 1.6rem;
    margin-top: -.5px;
    height: 2.6rem !important;
    border-radius: 11px !important;
    padding-top: 3px!important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 7px;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #aaaaaa00!important;
}

input[class^=select2] {
    margin: 0 auto;
}

#main {
    margin: 0;
    padding: 0;
    grid-template-columns: min-content 1fr;
    grid-template-rows: min-content 1fr;
}


.ws_text {
    display: block;
}



#content_block {
    min-width: calc(100% - 4rem);
    min-height: 60vh;
    margin: 0 0 0 auto;
}

#header_panel {
    margin: 0;
    padding: 0;
    height: 3.5rem;
    width: 100vw;
    background: #a89984;
    align-items: center;
    display: inline-flex;
    justify-content: center;
    text-align: center;
    font-family: verdana;
}

#head_info {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    text-align: center;
    width: 100%;
    color: #3c3836;
}

#head_info *:first-child {
    margin-left: 8rem;
}

#page_title {
    color: #000000;
    font-family: verdana;
    font-size: 16pt;
    font-weight: 600;
    margin-left: 23rem;
}

#auth_info {
    margin: 0 1rem 0 auto;
    display: flex; /* Включаем Flexbox */
    flex-wrap: nowrap; /* Запрещаем перенос строк */
    gap: 10px; /* Отступ между элементами */
    align-items: center; /* Выравнивание по вертикали (опционально) */
    padding: 10px;
    white-space: nowrap;
    color: #000000;
    font-family: verdana;
    font-size: 11pt;
    font-weight: 600;
}

    #auth_info svg {
        cursor: pointer;
    }

#main_content {
    text-align: center;
    width: calc(98%);
    margin: 0 0 0 4.5rem;
    height: 80%;
    min-height: 300px;
    min-width: 300px;
    max-width: calc(100% - 5rem);
}

.dialog_form {
    display: inline-grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
}

.dialog_form input, .dialog_form select, .dialog_form textarea {
    margin: 0 1rem 1rem 0rem;
}

.dialog_form select { 
    min-height: 2.35rem;
    padding: 5px 8px 7px 13px!important;
}

.dialog_form textarea { 
    /*max-height: 2.6rem;*/
    padding: 5px 8px 7px 13px!important;
    max-width: 94%;
    min-width: 94%;
}

.doc_list {
    display: block;
    max-height: 30rem;
    overflow-y: auto;
    overflow-x: hidden;
}

.doc_list_element {
    color: #F7B239;
    display: flex;
    margin: .7rem auto;
    cursor: pointer;
    font-size: large;
    font-weight: 600;
}

.form_change_user {
    grid-template-columns: 100%;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px !important;
    padding-left: 0px!important;
}

.a_btn {
    background: #F7B239;
    border-radius: 12px;
    color: #282828;
    font-size: 1.2rem;
    height: 3.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0.3rem;
    border: 1px solid #28282826;
    text-decoration: none;
    padding: 0 .3rem;
    cursor: pointer;
}

.btn{
    margin: 1rem;
}

.a_btn span {
    padding: 5px 10px;
}

.error_text {
    max-width: 15rem;
    color: #f7b239;
    white-space: normal;
    word-break: break-word;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

#logout_button {
    justify-self: center;
    color: #9d0006;
}

#view_block {
    display: block;
    min-height: calc(100vh - 8rem);
    margin: .5rem;
    padding: 1rem;
    background: #504945;
    text-align: center;
    margin-left: 16.5rem;
}

#view_block_table {  
    width: 100%;
    align-items: center;    
    text-align: center;
    margin: auto;
}

#view_block_table_head_content {
    min-width: 80rem;
    display: flow;
    margin: 0 auto;
    align-items: center;
}

#view_block_table_head_content a {
    margin: 5px 20px 20px 5px;
    min-width: 14rem;
}

#view_block_table_head_content input {
    background: #CFC5B1;
    width: 60%;
    max-width: 40rem;
    height: 3.4rem;
    margin: 5px 20px 20px 5px;
    padding: 15px 0px 15px 0px;
    text-align: center;
    border-color: rgba(0, 0, 0, 0);
}

#view_block_table_head_content select {
    background: #CFC5B1;
    width: 14rem;
    height: 3.4rem;
    margin: 5px 20px 20px 5px;
    padding: 5px 0px 5px 10px;

}

#view_block_table_body_content {
    display: grid;
}

.input_goup {
    max-width: calc(40rem - 330px);
    background-color: #ffffff;
    /*border: 2px solid;*/
    border-radius: 16px;
    margin: 5px 7px 5px 7px;
}

.input_group_2 {
    grid-column: 1 / -1;
    max-width: 40rem;
    /*    grid-row: 3;*/
}

.input_group_2 textarea {
    width: 40rem;
}

.text_zag p{
    font-size: 24px;
    color: white;
    align-items:start;
    margin-top: 0px;
}

.input_goup label {
    display: flex;
    color: #28282b;
    margin: .3rem 0 0rem 1rem;
}

/*.input_goup input, .input_goup select, .input_goup textarea {
    min-width: 20rem;
}*/

.p_out_num{
    width:10rem;
}

.modal_background {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    position: fixed;
    left: 0;
    top: 0;
    background: rgba(43, 41, 39, 0.6);
    display: grid;
    text-align: center;
    align-items: center;
    justify-items: center;
}

.modal_inbox {
    /*    width: 43rem;*/
    padding: 20px 20px 20px 20px !important;
    background-color: #47413E;
    padding: 28px 0 28px 0;
    border-radius: 24px;
}

.short_message {
    font-size: 14px;
    font-weight: 700;
}

.short_message.ok{
    color: #F7B239;
}

.short_message.error{
    color: chocolate;
}

.table_adapter {
    width: 99%;
    max-width: 99%;
    margin: 0 .5%;
    overflow-x: auto;
    overflow-y: auto;
    max-height: 80vh;
}

.table_adapter table tr td:first-child{
    white-space: nowrap !important;
}


#view_block_table_body_content table {
    width: 100%;
    margin: 0;
    font-size: 11pt;
    font-family: verdana;
    line-height: 22px;
    padding: 10px;
    text-align: center;
    font-weight: 500;
    border-collapse: collapse; /* Объединяет границы ячеек */
    border-spacing: 0; /* Убирает промежутки между ячейками */
}

#view_block_table_body_content table thead {
    background-color: #a89984;
    border: 0;
}

#view_block_table_body_content table tr, #view_block_table_body_content table td, #view_block_table_body_content table thead
/*#view_block_table_body_content table th */
{
    border: 0;
    padding: 10px 30px;
    text-align: center;
}

#view_block_table_body_content table th {
    padding: 15px 30px;
}

td[data-col*=Num], td[data-col*=Path], td[data-col=dt] {
    text-align: center !important;
}

td[data-col=subj] {
    min-width: 15rem;
    overflow: hidden;
}

td[data-col=subj] span{    
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6; /* Число строк */
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

#view_block_table_body_content td {
    max-width: calc(80vw / 8);
    word-wrap: break-word;
    white-space: normal;
    border: 0;
    padding: 10px 30px;
}

#view_block_table_body_content table tr:nth-child(even) { /* Чётные строки */
    /*    background-color: #ebdbb2;*/
    background-color: #CFC5B1!important;
}

#view_block_table_body_content table tr:nth-child(odd) { /* Нечётные строки */
    /*    background-color: #d5c4a1;*/
    background-color: #CAC0AB!important;
}


#contract_table tr:nth-child(even) {
    background-color: #d5c4a1 !important;
}

.btn_change {
    height: 2.4rem!important;
}

#auth_form {
    margin-top: calc(100vh / 4);
}


input[name=input_file_form_scan_label] {
    cursor: pointer;
}

svg {
    color: #087286;
    cursor: pointer;
}

/*
.svg_icon_button {
    color: #087286;
    font-weight: 500;
    font-size: 20px;
    cursor: pointer;
}

.scan_svg_button {
    color: #087286;
    cursor: pointer;
}
*/

.side_panel_menu_item .ws_text {
    margin-left: 1.5rem;
    font-size: 18px;
    font-weight: 600;
    /*    margin-top: .5rem;*/
}

.side_panel_menu_item, .side_panel_menu_subitem {
    color: #FFFFFF;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    padding: 1rem;
}

.side_panel_menu_subitem {
    background-color: #3C3836;
    margin-left: .1rem;
}

.side_panel_menu_item .ws_text, .side_panel_menu_subitem .ws_text {
    margin-left: 1.5rem;
    font-size: 18px;
    font-weight: 600;
    
    /*    margin-top: .5rem;*/
}

#side_panel {
    min-height: 100vh;
    width: 20rem;
    background: #282828;
    margin: 0;
    padding: 0;
    box-shadow: 2px 0 6px #00152959;
    position: fixed;
}

.side_panel_submenu {
    display: none;
    position: absolute;
    background: transparent;
    border-radius: 3px;
    left: 20rem;
    margin-top: 10px;
}

.side_panel_menu_subitem:hover .side_panel_submenu {
    display: block;
}

.side_panel_menu_item svg, .side_panel_menu_subitem svg {
    width: 2rem;
    color: #FFFFFF;
}

.side_panel_submenu a {
    display: flex;
    text-align: left;
    align-items: flex-start;
    flex-flow: nowrap;
    margin: 0 1rem;
    text-decoration: none;
    color: #a89984;
    background: #282828;
    margin-left: 0;
    padding: 1.1rem 2.5rem;
}

.side_panel_submenu a:first-child{
    border-top: 1px solid #a89984;
}

.side_panel_submenu a:last-child {
    border-bottom: 1px solid #a89984;
}

.side_panel_submenu a span {
    margin-top: 5px;
    margin-left: 1rem;
    font-weight: 600;
    font-size: 18px;
}

.side_panel_submenu a svg {
}

#side_panel_menu .selected_true, #side_panel_menu .side_panel_submenu a:hover {
    color: #F7B239!important;
}

#side_panel_menu .selected_true svg {
    color: #F7B239 !important;
}

#side_panel_pig_div {
    display: flex;
    text-align: center;
    align-items: center;
    align-content: center;
    margin: 1.5rem;
}

#side_panel_pig_div img, #side_panel_pig_div svg {
    width: 3rem;
    animation: pig_rotate 10s infinite;
    margin-left: .5rem;        
}

#side_panel_pig_text {
    color: rgb(255 255 255);
    font-family: verdana;
    margin-top: 0;
    font-size: 18px;
    font-weight: 500;
    margin-left: 1.5rem;
}

#side_panel_menu {
    /*    width: 100%;*/
    text-align: center;
    margin: 2rem;
    align-items: start;
    height: calc(100vh - 10rem);    
    margin-top: 6rem;
    overflow-y: auto;
}

#side_panel ::-webkit-scrollbar {
    width: 5px;
}

.no_result {
    color: #a89984;
    border: 5px solid #a89984;
    padding: 1rem;
    border-radius: 5px;
    width: fit-content;
    margin: 3rem auto;
    font-family: verdana;
    background: #282828;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
}

.j_level {
    min-width: 3rem;
    display: inline-flex;
    height: 100%;
    white-space: nowrap
}

.j_level span{
    margin: auto 0 auto auto;
}

.d_level_1 {
    width: 15%;    
}

.d_level_2 {
    width: 30%;    
}

.d_level_3 {
    width: 45%;    
}

.d_level_4 {
    width: 60%;    
}

.d_level_5 {
    width: 75%;
}

.d_level_6 {
    width: 90%;
}

.table_child_container {
    display: flex;
    width: calc(100% - 4rem);
    margin: auto 0 auto auto;
    display: none;
}

#view_block_table_body_content tr[data-level="0"] {
    border-top: 1px solid #a89984;
}

#view_block_table_body_content .table_child {
    margin: 5px 0;
}

#contract_table td[data-url] {
    width: 2rem;
    align-items: end;
    text-align: end;
    align-content: end;
}

/*#contract_table tr[data-id] {*/ /*:not(:last-child)*/

    /*border-bottom: 5px solid #ebdbb2;
}*/

/*#contract_table tr:first-child {
    border-top: 5px solid #ebdbb2;
}*/

#view_block_table_body_content td[colspan] {
    margin: 0;
    padding: 0;
    background: #b5ac99;
}

.recursive_tab {
    white-space: nowrap;
    /*border-left: 5px solid #d5c4a1;*/
    color: #ebdbb2;
}

#contract_table td[onclick], #contract_table table td[onclick] {
    text-align: center;
    padding: 0;
    margin: 0;
    max-width: 30px;
    min-width: 30px;
}

.showOrHide {
    font-size: 25px;
    color: #3c3836;
    cursor: pointer;
}

.hideOrShow {
    color: transparent;
    cursor: default;
}

.conrtuser_form {
    max-height: 30rem;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #cdbd9c;
    border-radius: 5px;
    padding: 1rem;
    width: 20rem;
    margin: 10px 0 20px 0;
}

.conrtuser_form input[type=checkbox] {
    margin-top: 3px;
}

.conrtuser_form label {
    width: 60%;
    text-align: left;
}

.check_field_thead {
    display: flex;
}

.check_field_thead label:first-child {
    text-align: left;
    width: 40%;
}

.check_field_thead label {
    text-align: right;
    font-size: 12px;
    color: #c4b495;
    padding: 5px;
    width: 30%;
}

.download_template{
    padding: 1rem;
}

.download_template a{
    color: #ebdbb2;
    font-size: 12px;
    text-decoration: underline;
    font-weight: 700;
}

.authHeaderTgQrDiv {
    width: 2.5rem;
}

.authHeaderTgQr {
    width: 30vw;
}

.mm_collapse {
    margin-left: 1rem;
}

.clickable {
    cursor: pointer;
}

.obspan {
    color: #504945;
    border-radius: 12px;
    font-size: 1.2rem;
    height: 3.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0.6rem;
    border: 1px solid #28282826;
    text-decoration: none;
    padding: 0 .3rem;
}

.obspan.ok {
    background: #2ff1b494;
}

.obspan.no {
    background: #f12f4894;
}

.input_checkbox_goup {
    display: ruby;
    color: white;
    /*width: 200%;*/
    text-align: right;
}

.input_checkbox_goup div{   
    display: flex;
    margin: .5rem 1rem;
}

.input_checkbox_goup input{
    margin-left: 1rem;
    margin-top: .2rem;
}

/*modal_billboard*/
#modal_billboard {
    width: 80vw;
    height: 80vh;
    border: 2px solid rgb(42 41 39);
    border-radius: 1rem;
    display: flex;
    background: #cac0ab;
    position: relative;
}

#modal_billboard_close {
    width: 2.6rem;
    height: 2.1rem;
    background-color: #a10000c9;
    border-radius: 5px;
    color: white;
    font-size: 2rem;
    text-align: center;
    display: inline-table;
    cursor: pointer;
    border: 3px solid #47413e;
    position: absolute;
    left: auto;
    right: 0;
    margin-top: -3rem;
    margin-right: 1rem;
}

#modal_billboard_main, #modal_billboard_addons {
    height: 100%;
}

#modal_billboard_main {
    width: 65%;
}

#modal_billboard_addons {
    width: 35%;
    border-left: 1px solid #504945;
}

#modal_billboard_main_head {
    border-bottom: 1px solid #504945;
    font-size: .95rem;
    color: #3a3633;   
}

.modal_billboard_main_head_lene {
    display: flex;
    padding: .2rem 1rem;
    margin: 0;
    text-align: left;
    border-bottom: 1px solid #50494538;
}

.modal_billboard_main_head_lene:first-child {
   border-radius: 1rem 0 0 0;
}

.modal_billboard_main_head_lene_a {
    width: 30%;
}

.modal_billboard_main_head_lene_b {
    width: 70%;
}

.modal_billboard_main_head_lene.e1 {
    background: #cac0ab;    
}

.modal_billboard_main_head_lene.e2, .modal_billboard_addons_body_data_item.e1 {
    background: #cfc5b1;
}

#modal_billboard_main_body {
    border-bottom: 1px solid #504945;
    padding: .5rem 1rem;
    text-align: left;
    height: calc(100% - 13.7rem);
    overflow: auto;
}

#modal_billboard_addons_head {
    display: flex;
    width: 100%;
    border-bottom: 1px solid #504945;
}

#modal_billboard_addons_head_files, #modal_billboard_addons_head_comments {
    width: 49.5%;
    height: 2rem;
    cursor: pointer;
    text-align: center;
    padding-top: .5rem;
    font-weight: 600;
}

.modal_billboard_addons_body_data_item {
    text-align: left;
    padding-left: .5rem;
    border-bottom: 1px solid #50494538;
}

.modal_billboard_addons_body_data_item b {  
   font-size: .9rem;   
   color: #3a3633;   
}

.modal_billboard_addons_body_data_item[data-file] span{
    text-decoration: underline;
    cursor: pointer;
}

#modal_billboard_addons_head_files {
    border-right: 1px solid #504945;    
}

#modal_billboard_addons_body {
    height: calc(100% - 5.70rem);
    overflow: auto;
    border-bottom: 1px solid #504945;
}

#comment_add_modal {
    display: block;
    padding-top: .5rem;
}

#comment_add_modal_text {
    min-width: 8rem;
    margin: auto;
    height: 8rem;
    max-height: 8rem;
}

#modal_billboard_main_footer_data {
    display: flex;
    align-items: center;
    text-align: center;
    padding-left: 1rem;
    padding-left: 1rem;
}

#modal_billboard_main_footer_data label {
    margin: .5rem;
}

#modal_billboard_main_footer_data select {
    margin: .5rem;
}

#modal_billboard_main_body_data {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

#modal_billboard .a_btn {
    height: 2.3rem;
}

.observer_button_panel {
    display: block;
    width: 100%;
    position: absolute;
    margin-top: -.7rem;
    left: 0;
    border: 0;
}

/*notif*/
[class^=notif_r_] {
    font-size: .75rem;
    position: absolute;
    margin-top: -2.5rem;
    margin-left: 2rem;
    border-radius: 50%;
    background: #F7B239;
    color: #282828;
    width: 1rem;
    font-weight: 600;
}

[class^=notif_c_] {
    font-size: .75rem;
    position: absolute;
    margin-top: -1.5rem;
    margin-left: 16.5rem;
    border-radius: 50%;
    background: #F7B239;
    color: #282828;
    width: 1rem;
    font-weight: 600;
    border: 1px solid #2a2927;
}

.newRow {
    position: sticky;
    background: #f7b239;
    color: #712828;
    margin-top: -2.6rem;
    margin-left: -1.75rem;
    width: 2.5rem;
    height: 1.5rem;
    border-radius: 50%;
    transform: rotate(-15deg);
    box-shadow: 1px 1px 5px #00000060;
}

.notifCommentCount {
    position: absolute;
    background: #f7b239;
    color: #712828;
    margin-top: -2.6rem;
    margin-left: -1.75rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    box-shadow: 1px 1px 5px #00000060;
}

.invoice_table {
    display: block;
    text-align: center;
    background: #d5c4a1;
    border-radius: 10px;
    color: #282828;
}

.invoice_table th{
    background: #a89984;
}

.invoice_table tr:nth-child(odd) {
    background: #cac0ab; /* цвет для нечётных строк */
}


.invoice_table tr:nth-child(even) {
  background: #cfc5b1; /* цвет для чётных строк */
}
 

.invoice_table td span{
    /*color: #F7B239;*/
    margin: .7rem auto;
    cursor: pointer;
    font-size: large;
    font-weight: 500;
}

.invoice_table th span{    
    margin: .75rem;
    font-size: large;
    font-weight: 600;
}

.invoice_table [data-parent]{
    font-weight: 300!important;
    text-decoration: underline;
    color: #282828b8
}

.invoice_table [data-cid]{
    cursor: text!important;
}

/*********************************************************************************/

[id^=request_response_text_message] {
    display: block;
}

/*********************************************************************************/

.file_input_container {
    display: inline-flex;
    width: 100%;
}

.file_input_open {
    cursor: pointer;
    background: #f7b239;
    border-radius: .5rem;
    height: 1.7rem;
    white-space: nowrap;
    padding: .3rem;
}

.file_input_open label{
    margin-left: 0;  
    cursor: pointer;
}

.file_input_files {
    min-width: 10rem;
}

.file_input_file_item {
    border: 1px solid #80808040;
    display: inline-flex;
    padding: .1rem .3rem;
    border-radius: .5rem;
    margin-top: .3rem;
}

.file_input_file_item:first-child{
    
}

.file_input_f {
    margin-top: .1rem;
}

.file_input_r {
    height: 1rem;
    cursor: pointer;
    color: #9d1f1f;
    border-radius: 10px;
    background: #f7b239;
    font-size: .8rem;
    font-weight: 600;
    width: 1rem;
    margin-top: .25rem;
    margin-left: .25rem;
    min-width: 1rem;
}

/*********************************************************************************/
/*********************************************************************************/
[class^=select2-selection] {
    background-color: white !important;
    border: none !important;
}

.select2-selection--multiple [class^=select2-selection] {
    display: flex !important;    
    font-family: verdana !important;
    height: auto !important;
    margin: 0 5px;
    padding: 0;
    overflow: hidden;
    cursor: none;
}

.select2-selection--multiple button {
    border-right: none;
}

/*********************************************************************************/

.order_control_header {
    display: inline-flex;
    width: 100%;
}

.och_text {
    width: stretch;
}

.och_add {
    width: 8rem;
}

.och_add .a_btn {
    height: 1.1rem!important;
    margin: 0;
    font-size: .9rem;
}

/*********************************************************************************/

.changable_status {
    text-decoration: underline;
    cursor: pointer;
}

/*********************************************************************************/
/*********************************************************************************/
#ui-datepicker-div {
    width: 19.5rem;
    background: #282828;
    color: white !important;
}

#ui-datepicker-div th{
    color: white !important;
}

.ui-widget-header, .ui-datepicker-title, .ui-datepicker .ui-datepicker-buttonpane button, .ui-state-default, .ui-datepicker-current {
    background: #cfc5b1 !important;
    opacity: 1;
}

#ui-datepicker-div {
    background: #47413e !important;
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
    border: 1px solid #ffa200!important;
    background: #ffa200;
    color: #454545;
}

/*********************************************************************************/
@keyframes pig_rotate {
    0%, 100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(60deg);
    }

    50% {
        transform: rotate(150deg);
    }

    75% {
        transform: rotate(-30deg);
    }
}

@media (max-width: 1480px) {

    #side_panel {
        width: 4rem;
    }

    #page_title {
        margin-left: 6rem;
    }

    .ws_text {
        display: none;
    }

    #side_panel_pig_div img {
        margin: .5rem;
    }    
    
    #side_panel_pig_div {
        margin: 1.5rem auto;
    }

    .side_panel_menu_item, .side_panel_menu_subitem {
        margin-top: 0;
        margin-left: 0;
        border-radius: 0px;
    }

    #side_panel_menu {
        margin: auto;
        margin-top: 3rem;
    }

    .side_panel_submenu {
        left: 4rem;
    }

    .side_panel_submenu a {
        margin-left: 0;
    }

    #view_block {
        margin-left: .5rem;
    }

    #view_block_table {
        margin: 0;
        padding: 0;
    }

    #view_block_table_head_content {
        display: contents;
        max-width: 720px;
    }

    #view_block_table_body_content td {
        max-width: calc(70vw / 8);
    }

    td[data-col=subj] {
        min-width: 10rem;
    }
    #view_block_table_head_content input {
        max-width: 20rem;
    }

    .mm_collapse {
        display: none;
    }

   }