main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}
.box-ceh ul li .ceh-name{
    font-weight: 600;
    font-size: 22px;
    line-height: 27px;
    margin-bottom: 10px;
}
.box-ceh ul li .ceh-name a{
    color: #333;
    text-decoration: none;
}
.box-ceh ul li .ceh-man{
    font-weight: 400;
    font-size: 14px;
    color: #666;
    line-height: 30px;
}
.box-ceh ul li .ceh-izd{
    font-weight: 400;
    font-size: 14px;
    color: #666;
    line-height: 30px;
}
.box-ceh ul li .ceh-uch{
    font-weight: 400;
    font-size: 14px;
    color: #666;
    line-height: 30px;
}
.box-ceh ul li .ceh-sot{
    font-weight: 400;
    font-size: 14px;
    color: #666;
    line-height: 30px;
}
.box-ceh ul li .ceh-now{
    font-weight: 400;
    font-size: 14px;
    color: #666;
    line-height: 30px;
}
.box-ceh ul li .ceh-link{
    font-size: 14px;
    line-height: 23px;
}
.box-ceh ul li .ceh-link a{
    display: block;
    color: #4a4a4a;
}
.box-ceh ul li .ceh-link a:hover{
    color: #111;
}
.ceh-val{
    font-weight: 500;
    color: #000;
}
.box-ceh ul li .ceh-now b.ceh-val{
    color: #ffffff;
    border-radius: 8px;
    background: #4db940;
    display: inline-block;
    padding: 0 8px;
    line-height: 23px;
}
.ceh-sot b{
    color: #ffffff;
    border-radius: 8px;
    background: #585858;
    display: inline-block;
    padding: 0 8px;
    line-height: 23px;
}
.workshop-index img{
    width: 50px;

}
.workshop-index p{
    display: block;
    font-size: 15px;
    text-align: center;
    text-decoration: underline;
    color: #666;
}
.workshop-index .card.empty{
    background: url('/images/add_sign_icon.svg') center no-repeat;
    background-size:80px;
    cursor: pointer;
}
/*.card {*/
/*    padding: 14px;*/
/*    height: 270px;*/
/*}*/
.card .ceh-name
{
    font-weight: 600;
    font-size: 22px;
    line-height: 27px;
    margin-bottom: 10px;
    color: #000;
}
.line_workshop{
    font-weight: 400;
    font-size: 14px;
    color: #666;
    line-height: 30px;

}
.attribute_workshop{
    margin-right: 5px;
    display: inline-block;
}
.value_attribute_workshop
{
    font-weight: 500;
    color: #000;

}
.ceh-tab
{
    display: block;
    color: #4a4a4a;
    text-decoration: underline;
    margin-top: 10px;
}
.person-sotrudnik-name{
    margin-top: 30px;
    font-family: "Museo Sans", Arial, Helvetica, sans-serif;
    line-height: 20px;

}
.person-sotrudnik-name a.person-photo{
    font-size: 0px;
    text-decoration: none;
    width: 36px;
    border-radius: 50%;
    border: 1px solid #bbb;
    height: 36px;
    vertical-align: top;
    background-image: url(/images/dots_three.svg);
    background-size: 23px;
    background-repeat: no-repeat;
    background-position: center center;
    margin-right: 8px;
}
.person-sotrudnik-name img{
    border-radius: 50%;
    display: inline-block;
    font-size: 0px;
    margin-right: 12px;
    width: 36px;
}
.person-sotrudnik-name .prof_name{
    color: #8b8b8b;
    font-size: 14px;
}
{
    margin-top: 20px;
    color: red;
}
.workshop-update a{
    font-size: 14px;
    text-decoration: underline;
}
.box_main_name{
    margin-bottom: 15px;
}
h1{
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.2;
    font-size: 38px;
}
.under_header
{
    color: #666;
    margin: 5px;
}
.person-sotrudnik-name a{
    color:red;
}
.nav.nav-tabs
{
    margin: 40px 0 20px;
    background-repeat: no-repeat;
    background-position: 8px;

}
.nav.nav-tabs .nav-item {
    color: #666;
    border-radius: 5px 5px 0px 0;
    padding-right: 10px;
}.nav.nav-tabs .nav-item .nav-link{
     text-decoration: underline;
     border-radius: 5px 5px 0px 0;
     color: #666;
     background: #eee;
     font-weight: 400;
    font-size: 14px;
 }
.nav.nav-tabs .nav-item .nav-link.active{
    background: #fff;
    color: #000 !important;
    text-decoration: none;
    font-weight: 600
}
/*.card{border-width: 2px}*/
.description{font-size: 13px;
    color: #444;}
/*.card .font-weight-bold{*/
/*    font-size: 14px;*/

/*}*/
.card .prof_name{
    font-size: 12px;
}
.count_user_workshop{
    color: #fff;
    background: grey;
    padding: 2px 8px;
    border-radius: 5px;
}
.file-caption .input-group-addon, .input-group-btn{
    width: auto;
}

table.hierarchical tr.parent {
    /*background: #ededed;*/
}
table.hierarchical tr u.toggle_childs {
    cursor: pointer;
}
table.hierarchical tr.child {
    display: none;
}
table.hierarchical tr.parent.child {
    /*background: #f5f5f5;*/
}
table.hierarchical tr.level_1 {
    /*background: #f5f5f5;*/
}
table.hierarchical tr.level_2 {
    background: #f5f5f5;
}
table.hierarchical tr.level_2 td.description {
    padding-left: 8px;
}
table.hierarchical tr.level_3 {
    background: #e9e9e9;
}
table.hierarchical tr.level_3 td.description {
    padding-left: 24px;
}

.user_preview {
    position: relative;
    display: inline-block;
    text-align: left;
    width: auto;
    background: #f7f7f7;
    padding: 10px 12px;
    border-radius: 4px;
}
.user_preview.transparent_bg {
    background: transparent;
    padding: 0;
    margin: 0 !important;
}
.user_preview .user_preview_photo {
    max-width: 52px;
    padding: 0;
}
.user_preview .user_preview_photo img {
    border-radius: 52px;
    width: 52px;
    aspect-ratio: 1/1;
    object-fit: cover;
}
.user_preview .user_preview_info {
    font-size: 16px;
    font-weight: 600;
    width: calc(100% - 52px);
}
.user_preview .user_preview_info p {
    font-weight: 400;
    opacity: 0.6;
    margin: 4px 0 0 0;
    font-size: 14px;
    white-space: nowrap;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.user_preview.transparent_bg .user_preview_info p {
    margin: 0;
    font-size: 13px;
}
.user_preview.transparent_bg .user_preview_info > p:first-child {
    margin: 4px 0 0 0;
}
.user_preview .remove {
    position: absolute;
    top: 4px;
    right: 4px;
    color: #000;
    font-size: 20px;
    opacity: 0.6;
}

select[readonly] {
    pointer-events: none;
}
.select2-container--bootstrap .select2-selection--multiple .select2-search--inline .select2-search__field {
    min-width: 10em !important;
}
ul.select2-selection__rendered,
ul.select2-selection__rendered li.select2-search,
ul.select2-selection__rendered li.select2-search input {
    width: 100% !important;
}

table.productions {

}
table.productions tr:hover {
    background: #f9f9f9;
}
table.productions tr td.production_buttons {
    width: 200px;
}
table.productions tr td.production_name {

}
table.productions tr td.production_name span.delimiter {
    opacity: 0.3;
    width: 7px;
    display: inline-block;
}
table.productions tr.level_1 {
    background: #f5f5f5;
}
table.productions tr.level_1 > td:first-child {
    font-size: 18px;
    font-weight: 500;
}
table.productions tr.level_2 {

}
table.productions tr.level_2 > td:first-child  {
    padding-left: 30px;
    font-size: 18px;
}

table.productions tr.with_childs > td:first-child  {
    position: relative;
    cursor: pointer;
}
/*table.productions tr.with_childs > td:first-child:after {*/
/*    position: absolute;*/
/*    top: calc(50% - 8px);*/
/*    right: 10px;*/
/*    font-family: 'Bootstrap-icons';*/
/*    content: '\F282';*/
/*    font-size: 20px;*/
/*    transition: all 0.5s;*/
/*}*/
/*table.productions tr.with_childs.openned > td:first-child:after {*/
/*    transform: rotate(180deg);*/
/*}*/

table.productions tr.level_3 {
    display: none;
}
table.productions tr.level_3 > td:first-child  {
    padding-left: 30px;
}
table.productions tr.level_4 {
    display: none;
}
table.productions tr.level_4 > td:first-child  {
    padding-left: 30px;
}
table.productions tr.level_5 {
    display: none;
}
table.productions tr.level_5 > td:first-child  {
    padding-left: 30px;
}

.product_preview {
    gap: 24px;
}
.product_preview .product__image {
    border: 5px solid #b8b8b8;
    border-radius: 10px;
}
.product_preview .product__image img {
    border-radius: 5px;
    width: 68px;
    height: 68px;
    object-fit: cover;
}
.product_preview.mini .product__image {
    width: 64px;
    height: 64px;
}
.product_preview.mini .product__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product_preview .product__image.part-materials {
    border-color: #b8b8b8;
}
.part.part-materials, .drop-area .part.part-materials, .circle_pos_doc.part-materials {
    background: #b8b8b8;
}

.product_preview .product__image.part-node{
    border-color: #71c4f3;
}
.part.part-node, .drop-area .part.part-node,  .circle_pos_doc.part-node {
    background: #71c4f3;
}
.circle_pos_doc{
    display: inline-block;
    border-radius: 5px;
    width: 8px;
    height: 8px;
    margin: auto 4px;
    vertical-align: middle;
}
.product_preview .product__image.part-consumables {
    border-color: #ece99c;
}
.part.part-consumables, .drop-area .part.part-consumables, .circle_pos_doc.part-consumables {
    background: #ece99c;
}

.part.part-other {
    background: #c000ff;
}

.product_preview .product__image.part-internal_node {
    border-color: #fac32f;
}
.part.part-internal_node, .drop-area .part.part-internal_node, .circle_pos_doc.part-internal_node{
    background: #fac32f;
}

.product_preview .product__image.part-product {
    border-color: #82ca62;
    flex: unset;
}
.part.part-product, .drop-area .part.part-product, .circle_pos_doc.part-product {
    background: #82ca62;
}

.product_preview .product__info {

}
.product_preview .product__info .product__name {
    font-size: 20px;
    margin: 0 0 6px 0;
    font-weight: 500;
    color: #666;
    line-height: 24px;
}
.product_preview .product__info .product__codes {
    gap: 16px;
    font-size: 14px;
    opacity: 0.8;
}
.product_preview .product__info .product__codes span {

}
.product_preview .product__info .product__codes span a {
    color: inherit;
    text-decoration: underline;
}

.product_kanban {
    font-size: 20px;
}
.product_kanban .product_kanban__in_card {
    background: #ffe3b8;
    display: inline-block;
    padding: 3px 8px 4px 8px;
    border-radius: 4px;
    position: relative;
}
.product_kanban .product_kanban__in_card .badge {
    position: absolute;
    top: -7px;
    right: -7px;
    font-size: 10px;
}

.product_filter {

}
.product_filter input[type="text"] {

}

.site-login {
    height: 95vh;
}
.site-login .site-login-row {
    align-items: center;
    height: 100%;
}

.workers_content {
    padding-bottom: 100px !important;
}

.kanban_card {
    position: relative;
    border: none;
}
.kanban_card .card-attention {
    position: absolute;
    top: -24px;
    left: 24px;
    max-width: calc(100% - 100px);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.kanban_card .card-header {
    background-color: rgb(124 124 124);
    color: #fff;
    border: none;
}
.kanban_card .card-body {
    background-color: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0 0 4px 4px;
}
.kanban_card .card-header .card__priority {
    position: absolute;
    top: 0;
    left: 0;
    width: 16px;
    height: 100%;
    display: block;
    border-radius: 4px 0 0 0;
    padding: 0;
}

.kanban_card .card-header .card__images {
    position: absolute;
    bottom: 6px;
    right: 6px;
}
.kanban_card .card-header .card__images ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 4px;
}
.kanban_card .card-header .card__images ul li {

}
.kanban_card .card-header .card__images ul li img {
    width: 64px;
    height: 72px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
    border-width: 2px !important;
    border-color: #929292 !important;
}

.kanban_card .card__nodes {

}
.kanban_card .card__nodes .node {
    position: relative;
}
.kanban_card .card__nodes .node:not(.level-1):after {
    content: '\F10E';
    font-family: bootstrap-icons !important;
    position: absolute;
    top: -2px;
    left: -18px;
    transform: rotate(-90deg);
    font-size: 13px;
}

.kanban_card .card__nodes .node .operation {
    background: #e1e1e1;
}
.kanban_card .card__nodes .node .operation[data-show="0"] {
    opacity: 0.4;
}
.kanban_card .card__nodes .node .operation[data-status="2"] {
    background: #f8efd7;
}
.kanban_card .card__nodes .node .operation[data-status="3"] {
    background: #dcf6e6;
    opacity: 1 !important;
}
.kanban_card .card__nodes .node .operation[data-show="0"][data-status="3"] {
    opacity: 0.4 !important;
}
.kanban_card .card__nodes .node .operation .operation__button {

}
.kanban_card .card__nodes .node .operation .operation__button a {
    width: 110px;
    justify-content: center;
}
.kanban_card .card__images .card__count {
    top: 2px;
    left: 2px;
    font-size: 14px;
    /*width: 20px;*/
    padding: 0 2px;
    height: 20px;
    line-height: 20px;
    background: #fff;
    text-align: center;
    border-radius: 4px 0 8px 0px;
    border-right: 1px solid rgba(0, 0, 0, 0.125);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}
.kanban_card .card__nodes .node .operation .operation__image {
    width: 64px;
    height: 72px;
    display: block;
    position: absolute;
    top: calc(50% - 36px);
    left: -32px;
    border-width: 2px !important;
    border-radius: 4px;
    border-color: #929292 !important;
    z-index: 1;
}
.kanban_card .card__nodes .node .operation .operation__image img {
    width: 64px;
    height: 72px;
    object-fit: cover;
    max-height: 100%;
    max-width: 100%;
    border-radius: 2px;
}
.kanban_card .card__nodes .node .operation .operation__video {
    font-size: 36px;
    position: absolute;
    z-index: 9;
    left: -18px;
    bottom: -21px;
}
.kanban_card .card__nodes .node .operation .operation__name span.name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.kanban_card .card__nodes .node .operation .operation__button .operation__button_link {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 110px);
    height: 100%;
}
.kanban_card .card__nodes .node .operation[data-status="3"] .operation__button .operation__button_link {
    width: 100%;
}

.worker__kanban_tabs .kanban_tabs a {
    font-size: 24px !important;
    padding: 0.75rem 1.25rem;
    text-decoration: none !important;
}

body.for_workers .layout .sidebar {
    z-index: 1000 !important;
}

.operations_chain {

}
.operations_chain .operations_list {
    margin-left: 5px;
    /*margin-bottom: 16px !important;*/
}
.operations_chain .operations_list:empty {
    display: none;
}
.operations_chain .operations_list .operation {
    /*margin: 0 0 6px 0;*/
}
.operations_chain .operations_list .operation .operation_name {

}
.operations_chain .operations_list .operation.has_child > .row > .col-6 .operation_name span {
    cursor: pointer;
    border-bottom: 1px dashed;
}
.operations_chain .operations_list .operation_order {
    position: relative;
    font-size: 12px;
    width: 24px;
    height: 24px;
    line-height: 22px;
    padding: 0;
    min-width: 24px;
    min-height: 24px;
    background: #fff;
    border: 1px solid #ccc;
}
.operations_chain .operations_list .operation_order span {
    display: block;
    background: #fff;
    position: relative;
    z-index: 1;
    border-radius: 20px;
}
.operations_chain .operations_list .operation_order:after {
    content: '';
    position: absolute;
    top: -17px;
    left: 50%;
    width: 1px;
    height: 18px;
    background: #c7c7c7;
}
.operations_chain .operations_list .operation_name span {
    text-overflow: ellipsis;
}
.operations_chain .operations_list input.operation_time {
    max-width: 100px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23545b62' class='bi bi-clock-history' viewBox='0 0 16 16'%3E%3Cpath d='M8.515 1.019A7 7 0 0 0 8 1V0a8 8 0 0 1 .589.022l-.074.997zm2.004.45a7.003 7.003 0 0 0-.985-.299l.219-.976c.383.086.76.2 1.126.342l-.36.933zm1.37.71a7.01 7.01 0 0 0-.439-.27l.493-.87a8.025 8.025 0 0 1 .979.654l-.615.789a6.996 6.996 0 0 0-.418-.302zm1.834 1.79a6.99 6.99 0 0 0-.653-.796l.724-.69c.27.285.52.59.747.91l-.818.576zm.744 1.352a7.08 7.08 0 0 0-.214-.468l.893-.45a7.976 7.976 0 0 1 .45 1.088l-.95.313a7.023 7.023 0 0 0-.179-.483zm.53 2.507a6.991 6.991 0 0 0-.1-1.025l.985-.17c.067.386.106.778.116 1.17l-1 .025zm-.131 1.538c.033-.17.06-.339.081-.51l.993.123a7.957 7.957 0 0 1-.23 1.155l-.964-.267c.046-.165.086-.332.12-.501zm-.952 2.379c.184-.29.346-.594.486-.908l.914.405c-.16.36-.345.706-.555 1.038l-.845-.535zm-.964 1.205c.122-.122.239-.248.35-.378l.758.653a8.073 8.073 0 0 1-.401.432l-.707-.707z'/%3E%3Cpath d='M8 1a7 7 0 1 0 4.95 11.95l.707.707A8.001 8.001 0 1 1 8 0v1z'/%3E%3Cpath d='M7.5 3a.5.5 0 0 1 .5.5v5.21l3.248 1.856a.5.5 0 0 1-.496.868l-3.5-2A.5.5 0 0 1 7 9V3.5a.5.5 0 0 1 .5-.5z'/%3E%3C/svg%3E");
    background-position: left 8px center;
    background-repeat: no-repeat;
    background-size: .9rem;
}
.operations_chain .sub_operation:empty {
    display: none;
}
.operations_chain .compos-control-header {
    background: #e2f5da;
    padding: 10px 0 10px 0 !important;
    border-radius: 4px;
    z-index: 4;
}
.operations_chain .sub_operation .compos-control-header {
    position: relative;
    background: #daf2ff;
    padding: 7px 0 7px 0 !important;
    z-index: 4;
}
.operations_chain .sub_operation .compos-control-header:after {
    content: '';
    position: absolute;
    width: 35px;
    height: 1px;
    background: #c7c7c7;
    top: 50%;
    left: -35px;
}
.part-main img {
    aspect-ratio: 1 / 1;
}

.kanban_list {

}
.kanban_list .kanban_list__items {

}
.kanban_list .kanban_list__items .items_header {

}
.kanban_list .kanban_list__items .items_header > span {
    font-size: 12px;
    opacity: 0.7;
    line-height: 12px;
}
.kanban_list .kanban_list__items .items_content {

}
.kanban_list .kanban_list__items .items_content .item {
    background: #dff4ff;
    border-radius: 4px;
}
.kanban_list .kanban_list__items .items_content .item img.product_image {
    width: 48px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 4px;
}
.kanban_list .kanban_list__items .items_content .subitems {
    margin-left: 42px;
}
.kanban_list .kanban_list__items .items_content.prepare_kanban .subitems {
    margin-left: 63px;
}
.kanban_list .kanban_list__items .items_content.prepare_kanban .subitems > .item > .col-3 {

}
.kanban_list .kanban_list__items .items_content .subitems .subitem {
    position: relative;
}
.kanban_list .kanban_list__items .items_content .subitem:not(.without_tree):after {
    content: '';
    position: absolute;
    width: 12px;
    height: 32px;
    border-left: 1px solid #666;
    border-bottom: 1px solid #666;
    opacity: 0.5;
    top: 4px;
    left: -12px;
}
.kanban_list .kanban_list__items .items_content.prepare_kanban .subitem:not(.without_tree):after {
    left: -33px;
}

.loader {
    z-index: 1050;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    justify-content: center;
    align-items: center;
}

.operation_info {

}
.operation_info .operation_status {
    display: block;
    width: 8px;
    height: 8px;
    min-width: 8px;
    border-radius: 8px;
}
.ms_doc_status {
    display: inline-block;
    width: 8px;
    height: 8px;
    min-width: 8px;
    border-radius: 8px;
}
.operation_info .operation_status.status_1, .ms_doc_status.status_1  {
    background: #a5a5a5;
}
.operation_info .operation_status.status_2, .ms_doc_status.status_2 {
    background: #ffc000;
}
.operation_info .operation_status.status_3, .ms_doc_status.status_3 {
    background: #00b700;
}
.operation_info .operation_status.status_4, .ms_doc_status.status_4 {
    background: #dc3545;
}
.operation_info .operation_name {

}
.operation_info .operation_production {
    top: 0px;
    right: calc(100% + 32px);
}

.kanban_list .kanban_list__items .items_content .route > div:last-child {
    margin-bottom: 0 !important;
}

#accepted_modal .modal-header {
    flex-wrap: wrap;
}
#accepted_modal .modal-header h3 {
    font-size: 1.17em;
}
#accepted_modal .modal-header .modal-description {
    flex: 1 0 100%;
    margin: 0;
    opacity: 0.7;
}
.kanban_list .kanban_list__items .items_content .main_card > .item {
    /*cursor: pointer;*/
}
.kanban_list .kanban_list__items .items_content .main_card .subitems {
    /*display: none;*/
}

#start-page{
    margin: 40px auto;
    max-width: 1000px;
}
#start-page .qts-word{
    padding: 20px 20px 20px 90px;
    border-radius: 10px;
    background: #eee;
    background-image: url(/images/quote.svg);
    background-repeat: no-repeat;
    background-size: 48px;
    background-position: 17px 6px;
    font-size: 20px;
    font-style: italic;
    line-height: 24px;
}
#start-page h1{
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.2;
    font-size: 38px;
}
#start-page ul{
    margin: 40px 0;
    padding: 0;
    display: flex;
    list-style: none;
    justify-content: space-between;

}
#start-page ul li{
    border: 1px solid #afafaf;
    border-radius: 10px;
    padding: 1%;
    width: 22%;
    min-height: 300px;
    text-align: center;
}
#start-page ul li img{

}
#start-page ul li div{
    font-size: 21px;
    font-weight: 600;
    line-height: 30px;
    margin: 10px 0 5px;
}
#start-page ul li a{
    display: block;
    color: #6d6d6d;
    font-size: 16px;
    line-height: 28px;
}

.kanban_line_content .product_name{
    font-size: 16px;
    text-decoration: underline;
    font-weight: 600;
    margin-bottom: 0px;
    display: inline-block;
}
.kanban_line_content .product_code{
    font-size: 12px;
}
.kanban_line_content .in_system{
    font-weight: 700;
}
.kanban_line_content .count_card{
    background: #e2e2e2;
    padding: 2px 5px;
    position: relative;
    border-radius: 3px;

}
.kanban_line_content .count_product_card{
    padding: 1px 3px;
    position: absolute;
    top: -22px;
    right: -15px;
    border: 1px solid grey;
    background: white;
    border-radius: 3px;
}

.kanban_line_content .remain{
    font-weight: 700;
    color: #ff3f3f;
}
.kanban_line_content .box_action a{
    background: lightgrey;
    display: inline-block;
    padding: 0px 6px;
    }
.kanban_line_content .box_action a img{
    max-width: 30px;
}

.red_priority{
    color: #ff3f3f;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}
.red_priority_badge{
    background: #ff3f3f;
    color: #ffffff;
    padding: 0 7px;
    border-radius: 6px;
}
.orange_priority{
    color: #f5ad01;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}
.orange_priority_badge{
    background: #ff3f3f;
    color: #ffffff;
    padding: 0 7px;
    border-radius: 6px;
}
.green_priority{
    color: #01bb17;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}
.green_priority_badge{
    background: #01bb17;
    color: #ffffff;
    padding: 0 7px;
    border-radius: 6px;
}
.kanban_line_content .in_work{
    font-weight: 500;
    text-decoration: underline;
}
.box_system{
    position: relative;
    display: inline-block;
}
.kanban_line_content .form-control{
    padding: 0px 2px;
    height: 30px;
    font-size: 14px;
    border-radius: 5px;
    border-color: black;
}

.kanban_list .kanban_list__items.with_bulk_check {
    padding-left: 72px;
}
.kanban_list .kanban_list__items .items_header span.checkbox_all {
    top: 8px;
    left: -53px;
}
.kanban_list .kanban_list__items .items_content .main_card > .item span.checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: -72px;
    width: 72px;
    height: 100%;
}
.kanban_list .kanban_list__items .items_content .main_card > .item span.checkbox a {

}
.kanban_list .kanban_list__items .items_content .main_card > .item span.checkbox input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.assembly_toast {
    width: 400px;
    left: 290px;
    bottom: 30px;
}

.erp_toasts {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 1051;
}
/*body.modal-open .erp_toasts {*/
/*    z-index: 1051;*/
/*}*/
body.for_workers .erp_toasts {
    top: auto;
    right: auto;
    bottom: 16px;
    left: 16px;
    z-index: 1051;
    width: 50%;
    pointer-events: none;
}
body.for_warehouse .erp_toasts {
    position: fixed;
    top: 57px;
    right: auto;
    bottom: auto;
    left: 8px;
    z-index: 1051;
    width: calc(100% - 16px);
    height: calc(100% - 65px);
    pointer-events: none;
}
.erp_toast {
    min-width: 300px;
    background-color: rgba(255, 255, 255, 1);
}
.erp_toast.info .toast-header {

}

.erp_toast .toast-header {
    position: relative;
    overflow: hidden;
}
body:not(.for_workers):not(.for_warehouse) .erp_toast .toast-header:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    animation: loader 10s linear;
    z-index: 1;
    transition: all 0.1s;
}
body:not(.for_workers):not(.for_warehouse) .erp_toast .toast-header * {
    position: relative;
    z-index: 2;
}
body:not(.for_workers):not(.for_warehouse) .erp_toast.success .toast-header:after {
    background: #9dc99d;
}
body:not(.for_workers):not(.for_warehouse) .erp_toast.error .toast-header:after {
    background: #e3a5a5;
}
@keyframes loader {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

.erp_toast.error .toast-header {
    background: #ffcece;
}
.erp_toast.success .toast-header {
    background: #c2e9b8;
}
body.for_workers .erp_toast {
    position: relative;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    background: transparent;
    border: none;
}
body.for_warehouse .erp_toast {
    height: 100%;
    background: transparent;
}
body.for_workers .erp_toast .toast-header,
body.for_warehouse .erp_toast .toast-header {
    display: none;
    position: absolute;
    background: transparent;
    top: 0;
    right: 8px;
    padding: 0;
    border: none;
}
body.for_workers .erp_toast .toast-header .toast-logo,
body.for_workers .erp_toast .toast-header .toast-meta small,
body.for_warehouse .erp_toast .toast-header .toast-logo,
body.for_warehouse .erp_toast .toast-header .toast-meta small {
    display: none !important;
}
body.for_workers .erp_toast .toast-header .toast-meta button,
body.for_warehouse .erp_toast .toast-header .toast-meta button {
    font-size: 32px;
    margin: 0 !important;
    line-height: 32px;
}
body.for_workers .erp_toast .toast-body,
body.for_warehouse .erp_toast .toast-body {
    font-size: 20px;
    line-height: 24px;
    font-weight: normal;
    padding: 1.25rem 0.25rem !important;
    color: #fff;
    text-align: center;
    border-radius: 0.25rem;
}
body.for_workers .erp_toast.error .toast-body {
    background: rgb(255 91 91 / 70%);
    color: #000;
}
body.for_warehouse .erp_toast.error .toast-body {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: rgb(255 91 91 / 95%);
    font-size: 22px;
    color: #000;
}
body.for_warehouse .erp_toast.success .toast-body {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: rgb(48 159 24 / 95%);
    font-size: 22px;
    color: #000;
}
body.for_workers .erp_toast.success .toast-body {
    background: rgb(48 159 24 / 85%);
}

.disabled_area {
    opacity: 0.3;
    pointer-events: none;
}

.modal-content {
    border: none;
}

.worker__kanban_filter label,
.worker__kanban_filter a {
    background-color: #ededed !important;
    border-color: #ededed !important;
}
.worker__kanban_filter label.active,
.worker__kanban_filter a.active {
    color: #fff !important;
    background-color: #6c757d !important;
    border-color: #6c757d !important;
}

.worker__kanban_list .kanban_card .card-header {
    cursor: pointer;
}
.worker__kanban_list .kanban_card.collapsed .card-body {
    display: none;
}

.worker__kanban_list .operations_list {

}
.worker__kanban_list .operations_list .operation {
    background: #d9f2df;
}
.worker__kanban_list .operations_list.service_operations_list .operation {
    background: #f8efd7;
}
.worker__kanban_list .operations_list.service_operations_list .operation.completed {
    background: #d9f2df;
}
.worker__kanban_list .operations_list .operation .operation__info {
    max-width: calc(100% - 110px - 16px);
}
.worker__kanban_list .operations_list .operation .operation__button a {
    width: 110px;
    justify-content: center;
}
.worker__kanban_list .operations_list .operation .operation__button .operation__button_link {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 110px);
    height: 100%;
}

.kanban_list .kanban_list__items .items_content.prepare_kanban {
    padding: 0 0 0 72px;
}
.kanban_list .kanban_list__items .items_content.prepare_kanban .item .priority {
    top: 0;
    left: -72px;
    height: 100%;
    width: 68px;
}
.kanban_list .kanban_list__items .items_content.prepare_kanban .item .priority select {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    font-size: 12px;
    outline: none;
}

.layout .sidebar.for_foreman .sidebar-user .sidebar-user-info {
    width: 100%;
}
.layout .sidebar.for_foreman .menu .menu-item a .menu-title {
    font-size: 1.5em;
    line-height: 1.5em;
    color: var(--color-white);
}
.layout .sidebar.for_foreman .menu .menu-item a .menu-icon {

}

.kanban_list .kanban_list__items .items_content .item.bg-orange-light{
    background: #ffecc7!important;
    border-color: #ffa500!important;
}
.kanban_list .kanban_list__items .items_content .item[data-hide="1"] {
    display: none !important;
}
.kanban_list .kanban_list__items .items_content .item[data-hide="1"] .route {
    background: #ffecec !important;
}

.kanban_list .kanban_list__items .items_header span.sorting_header {
    text-decoration: underline;
    cursor: pointer;
    white-space: nowrap;

    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}
.kanban_list .kanban_list__items .items_header span.sorting_header .sorting_header_wrapper {
    position: relative;
}
.kanban_list .kanban_list__items .items_header span.sorting_header .icon {
    position: absolute;
    top: calc(50% - 22px / 2 + 2px);
    right: -26px;
    font-size: 22px;
}

.kanban_card .card__nodes .node .operation[data-status="2"] { z-index: 0;}
.kanban_card .card__nodes .node .operation[data-status="2"]:before,
.kanban_card .card__nodes .node .operation[data-status="2"]:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: .25rem;
}
.kanban_card .card__nodes .node .operation[data-status="2"]:before {
    z-index: -2;
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.5) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0.5) 75%, transparent 75%, transparent);
    height: 50vh;
    background-color: #f8efd7;
    background-size: 40px 40px;
    animation: progress-bar-stripes 1s linear infinite;
}
.kanban_card .card__nodes .node .operation[data-status="2"]:after {
    z-index: -1;
    background: rgb(248,239,215);
    background: linear-gradient(90deg, #f8efd7 0%, #f8efd700 70%, transparent 100%);
}
@keyframes rotate { 100% { transform: rotate(var(--border-angle));}}
@keyframes progress-bar-stripes { 0% { background-position: -40px 0;} 100% { background-position: 0 0;} }

.list_items {

}
.list_items .list_items__header {

}
.list_items .list_items__header span {
    font-size: 12px;
    opacity: 0.7;
    line-height: 16px;
}
.list_items .list_items__content {

}
.list_items .list_items__content .list_items__item {

}
.list_items .list_items__content .list_items__item:hover {
    background: var(--color-light);
}
.list_items .list_items__content .list_items__item.divider {
    background: var(--color-light-hover);
}

.card.with_hover_bg:hover {
    background: #f9f9f9;
}

.posts_tree {
    position: relative;
}
.posts_tree:after {
    content: '';
    background: rgb(199, 199, 199);
    width: 1px;
    height: calc(100% + 0.5rem);
    position: absolute;
    top: -0.5rem;
    left: 0.5rem;
}
.posts_tree .posts_tree__point {
    position: relative;
}
.posts_tree .posts_tree__point:after {
    content: '';
    background: rgb(199, 199, 199);
    height: 1px;
    width: 2rem;
    position: absolute;
    top: 50%;
    left: -2.5rem;
}

.areas_list {
    column-count: 2;
    column-gap: 2rem;
}
.areas_list .area {
    break-inside: avoid-column;
}

.view_product .pull_loop_header .submenu .part {
    max-width: 3rem;
    min-height: auto;
    width: auto;
    height: auto;
    background: transparent;
    display: block;
    padding: 0;
    flex: none;
    box-shadow: none;
}

.pull_loop_action_wrapper {
    cursor: pointer;
    margin-bottom: 0;
}
.pull_loop_action_wrapper .pull_loop_action {
    border-radius: 4px;
    background: #eeeeee;
    padding: 12px 10px 8px 12px;
}
.pull_loop_action_wrapper .pull_loop_action:not(.in_development) {
    border-radius: 4px 4px 0 0;
}
.pull_loop_action_wrapper .pull_loop_action.in_development {
    background: #fff9c4;
}
.pull_loop_action_wrapper input[type=checkbox] {
    display: none;
}
.pull_loop_action_wrapper .pull_loop_action__title {
    white-space: nowrap;
}
.pull_loop_action_wrapper .pull_loop_action__title:hover span.title__text {
    border-bottom: 1px solid;
}
.pull_loop_action_wrapper .pull_loop_action__workshop {
    padding-left: 1.25rem;
}
.pull_loop_action_wrapper .pull_loop_action__hint {
    opacity: 0;
    margin-left: 1.25rem;
}
.pull_loop_action_wrapper:hover .pull_loop_action__hint {
    opacity: 0.7;
}
.bg-lightgrey{
    background: #eee!important;
}
img.icon_ms{
    width: 31px;
    position: absolute;
    right: 12px;
    bottom: 10px;
}
/*.box_documents .doc_item:before{
        content: '';
        border-left: 1px dashed black;
        position: absolute;
        width: 2px;
        height: 15px;
        left: -14px;
        top: -12px;

}*/
ul.box_documents{
    list-style: none;
    margin: 0px;
    position: relative;
    max-width: 600px;
    padding-left: 0;
}

ul.box_documents > li{
    padding-left: 0px;
    position: relative;
    margin: 10px 0;
}
.status_doc{
    display: inline-block;
    width: 10px;
    height: 10px;
    min-width: 8px;
    border-radius: 8px;
    margin-right: 10px;
}
.status_error{
    background: #b70000;
}
.status_success{
    background: #00b700;
}
.text-decoration-underline{
    text-decoration: underline!important;
}
.attention_badge{
    background: #feea6c;
    padding: 10px;
    font-weight: 600;
    color: black;

}

.pull_loop_super_market {
    background: #eeeeee;
    padding: 0 8px 12px 12px;
    border-radius: 0 0 4px 4px;
}
.pull_loop_super_market.without_bg {
    background: transparent;
    padding-left: 0;
}
.list_sklad .form-control{
    max-width: 100px;
    margin: 0 auto;
}

.nav-tabs .dropdown-toggle::after {
    vertical-align: 0.055em;
}
.nav-tabs .dropdown-item {
    padding: 0.5rem 1.5rem;
}

.worker__kanban_list .cutting_card {

}
.worker__kanban_list .cutting_card .cutting_card__header {
    background-color: rgb(124 124 124);
    color: #fff;
    border: none;
    border-radius: 0.25rem 0.25rem 0 0;
}
.worker__kanban_list .cutting_card .cutting_card__body {
    background: #fafafa;
    border-radius:  0 0 0.25rem 0.25rem;
    border-top: unset !important;
    border-color: #7c7c7c !important;
}
.worker__kanban_list .cutting_card .cutting_card__body .kanban_card {
    margin: 0 !important;
    background: transparent;
}
.worker__kanban_list .cutting_card .cutting_card__body .kanban_card .card-header .card__images,
.worker__kanban_list .cutting_card .cutting_card__body .kanban_card .card-header .card__priority,
.worker__kanban_list .cutting_card .cutting_card__body .kanban_card .card-body .card__product,
.worker__kanban_list .cutting_card .cutting_card__body .kanban_card .card__nodes .node .node__name {
    display: none !important;
}
.worker__kanban_list .cutting_card .cutting_card__body .kanban_card.collapsed .card-body {
    display: block !important;
}
.worker__kanban_list .cutting_card .cutting_card__body .kanban_card .card-body {
    padding: 0 !important;
    border: unset !important;
    background: transparent !important;
}
.worker__kanban_list .cutting_card .cutting_card__body .kanban_card .card-header {
    padding: 0 !important;
    background: transparent;
    color: var(--color-dark);
}

.sortable_list .ui-sortable-helper {
    border: 1px solid rgba(0, 0, 0, 0.125) !important;
    border-radius: 0.25rem !important;
    background-color: rgb(247 247 247);
}
table label{
    margin-bottom: 0;
}
.new_project table{
    width: -webkit-fill-available;
}

.needed_red {
    background: #ff8775;
}
.needed_yellow {
    background: #fccf37;
}
.needed_green {
    background: #4ad164;
}
.needed_blue {
    background: #5eacef;
}
.needed_white {
    background: #fff;
}
.needed_grey {
    background: #a3a3a3;

}
#sales_plan .project .item:hover {
    background: #efefef !important;
    border-radius: 0.25rem !important;
}
#sales_plan .project.edited:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(4px);
}

.help-block {
    color: red;
}

.bubble {
    padding: 2px;
    height: 16px;
    width: 16px;
    border-radius: 100px;
    pointer-events: none;
    font-weight: 600;
}
.bubble.bubble_top_right {
    top: 0;
    right: -8px;
}

.kanban__operation:hover .operation__actions {
    display: inline-block !important;
}
.kanban__operation:hover .operation__complete_time {
    display: none;
}

body.print {
    height: auto !important;
}
body.print table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed;
}
body.print td, th {
    word-wrap: break-word;
    overflow-wrap: break-word;
}
body.print th {
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
}

.documents .box_documents .description{
    line-height: 1;
}
.bg-warning-opacity{
    background-color: #ffc1074f !important;
}
.update_card_ms{
    cursor: pointer;
}

select option:disabled {
    background: #dae0e5;
    cursor: not-allowed;
}

table.operations_table tr.operation:hover {
    background: #ffffe9;
}

.materials_needed_table .item:hover {
    background: #e5e5e5 !important;
}