/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

.container-lg, .container-md, .container-sm, .container-xl {
    width: 100%;
    padding-right: 5px;
    padding-left: 5px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 768px) {
    .container, .container-md, .container-sm {
        max-width: 720px;
    }

    .text-right .text-sm-right, .text-md-right {
        text-align: right !important;
    }
}

@media (min-width: 992px) {
    .container, .container-lg, .container-md, .container-sm {
        max-width: 960px;
    }

    .text-right .text-sm-right, .text-md-right, .text-lg-right{
        text-align: right !important;
    }
}

@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 4000px;
        padding-left: 5px;
        padding-right: 5px;
    }

    .text-right .text-sm-right, .text-md-right, .text-lg-right, .text-xl-right {
        text-align: right !important;
    }
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: 'Gotham Pro';
    /*margin-bottom: 35px;*/
    color: black;
}
main h2 {
    margin-left: 0.3rem;
}

nav li.nav-item {
    white-space: nowrap;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.userLink:hover, .userLink:active, .userLink:focus {
    text-decoration: underline;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #5e8090;
}

.forLogo p {
    font-size: 1.3rem;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #5e8090;
    border-color: #5e8090;
}

.nav-pills .nav-link {
    color: #5e8090;
}

.list-group.small > a {
    padding: .25rem .5rem;
}

a {
    color: #0366d6;
}

.textOverflow {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.table
.form-control,
.form-control.focus,
.bootstrap-select.show-tick .dropdown-menu li a span.text {
    color: #000000;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 34px; /* Vertically center the text there */
}

    .footer .footer-nav-link {
        font-size: 0.9rem;
        color: #333;
        margin-left: 8px;
    }

@media (max-width: 575.5px) {
    body {
        margin-bottom: 41px;
    }
    .footer {
        line-height: 20px;
    }
}

.nav-item.active {
    font-weight: 500;
    text-decoration: underline;
}
.nav-link,
.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
    outline: none;
}
.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover, .nav-tabs .nav-link:active {
    border-bottom: 1px solid white;
}

.nav-tabs .nav-link {
    margin-bottom: -1px;
    background-color: transparent;
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/*Others*/
h1 {
    font-size: 2.0rem;
}

.login {
    border: 1px solid #dadde0;
    border-radius: 6px;
}

.orangered {
    color: #bc5946
}
.chocolate {
    color: chocolate;
}
.success {
    color: #638667;
}
    .success:focus, .success:active, .success:hover {
        color: #516d54;
    }
.primary {
    color: #5e8090;
}
    .primary:focus, .primary:active, .primary:hover {
        color: #47626f;
    }

.danger {
    color: #b24242;
}
    .danger:focus, .danger:active, .danger:hover {
        color: #a22a2a;
    }

.pointer {
    cursor: pointer;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

.nonBlueLink {
    color: #333;
}

    .nonBlueLink:hover, .nonBlueLink:active {
        color: #333;
        font-weight: 500;
        text-decoration: none;
    }

.account {
    transition: transform 0.3s;
}
    .account:hover {
        transform: scale(1.1);
    }

    .account img {
        height: 32px;
    }


.form-control.valid:focus {
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69,.25);
}

.input-validation-erro {
    border-color: #dc3545 !important;
}

.input-validation-error:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69,.25);
}

.invisible {
    visibility: hidden;
}

.form-control[readonly] {
    background-color: inherit !important;
}
.main .card-group .card .card-body > p {
    font-size: 1.5rem;
}

.main .card-group .card {
    cursor: pointer;
    border: 1px solid #fff;
    border-radius: 6px;
}

    .main .card-group .card:hover {
        border: 1px solid #dadde0;
    }

@media (max-width: 991.5px) {
    .main .card-group .card .card-body > p {
        font-size: 1.2rem;
    }
}
.about .rectTop {
    width: 100%;
    background: #5e8090;
    color: #fff;
    padding: 0.5rem;
}

    .about .rectTop p {
        font-size: 1.5rem;
    }

    .about .rectTop img {
        width: 50px;
    }

.level2 {
    margin-left: 40px;
}

.about .about_block .about_group {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-font-smoothing: antialiased;
    padding: 1rem 0;
}

    .about .about_block .about_group span,
    .about .about_block .about_group h6 {
        color: #434c5d;
        font-size: 1rem;
        cursor: pointer;
        display: initial;
    }

    .about .about_block .about_group .about_header {
        cursor: pointer;
    }

        .about .about_block .about_group .about_header .svgArrow {
            width: 20px;
            height: 20px;
            margin-right: 0.7rem;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-caret-right-fill' viewBox='0 0 16 16'%3E%3Cpath d='m12.14 8.753-5.482 4.796c-.646.566-1.658.106-1.658-.753V3.204a1 1 0 0 1 1.659-.753l5.48 4.796a1 1 0 0 1 0 1.506z'/%3E%3C/svg%3E") no-repeat;
            background-size: contain;
            transition: transform 0.3s
        }

        .about .about_block .about_group .about_header[aria-expanded='true'] .svgArrow {
            transform: rotateZ(90deg);
        }

.about .about_block .about_content {
}

    .about .about_block .about_content .about_row {
        margin-bottom: 10px;
    }

    .about .about_block .about_content .about_image {
        border: 1px solid #ddd;
        width: 100%;
        cursor: pointer;
    }

        .about .about_block .about_content .about_image:hover {
            box-shadow: 0 0 2px 1px rgba(120, 120, 120, 0.5);
        }

.issoViewTable {
    border-collapse: collapse;
    width: 100%;
}
    .issoViewTable tbody th {
        min-width: 100px;
    }
    .issoViewTable .colName {
        vertical-align: middle;
        padding-left: 25px !important;
        position: relative;
        font-weight: normal;
    }
    /*.issoViewTable .readonly > td:not(.group), .readonly > th {
        background: #d3d3d3;
    }*/
    .issoViewTable tbody td.v-hover {
        background-color: #f8f8f8;
    }
    .issoViewTable tbody td.v-select {
        background-color: #cde6f7 !important;
    }

/*Узкая табличка*/
.issoViewTable.small {
    overflow: auto;
    height: fit-content;
}
    .issoViewTable.small tr.category th {
        background: #f8f8f8 !important;
        border: none;
    }
    .issoViewTable.small.fixed th {
        position: sticky;
        top: -1px;
        background-color: #f8f8f8 !important;
        z-index: 1;
    }
    .issoViewTable.small td, .issoViewTable.small th {
        border-top: 1px solid #cfcfcf !important;
        border-right: 1px solid #cfcfcf !important;
    }
    .issoViewTable.small thead th {
        background: white;
        font-size: 12px;
        line-height: 14px;
        padding: 0.3rem 0.5rem;
    }
.issoViewTable.small tbody td.group {
    background: #f8f8f8 !important;
    border-top: none !important;
}
    .issoViewTable.small tbody td,
    .issoViewTable.small tbody th {
        background: white !important;
        padding: 0.3rem 0.5rem;
        font-size: 12px !important;
        line-height: 14px;
        vertical-align: middle;
    }
    .issoViewTable.small.nowrap tbody td,
    .issoViewTable.small.nowrap tbody th {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }


/*Для боковой таблицы*/
.tableFixHead {
    overflow-y: auto;
    height: 100px;
}
    .tableFixHead tbody th {
        position: sticky;
        left: 0;
    }
        .tableFixHead tbody th > span {
            position: sticky;
            left: 5px;
        }
        .tableFixHead tbody th.colName,
        .tableFixHead tbody th[scope='row'] {
            z-index: 1;
            background: #fff;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-weight: 500;
            position: sticky;
            left: 0;
        }
    .tableFixHead tbody tr td {
        vertical-align: middle;
        background: white/*#d3dde7*/;
    }
    .tableFixHead td, .tableFixHead th {
        border-top: 1px solid #f8f8f8;
        border-right: 1px solid #f8f8f8;
    }
        .tableFixHead tbody tr td.group {
            background: #f8f8f8;
            border: none;
        }

/*Таблица дерево*/
.tree-t .tree-body tr {
    cursor: pointer;
}
    .tree-t .tree-body tr.selected td {
        background: #cde6f7 !important;
    }
.tree-t .tree-body td {
    padding: 0 0.5rem !important;
}
    .tree-t .tree-body td:has(.node) {
        padding-left: 1.2rem !important;
    }
.tree-t.nowrap .tree-body td .node,
.tree-t.nowrap .tree-body td .node-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tree-t.nowrap tbody th {
    white-space: normal !important;
}

.tree-t .tree-body .lvl-1 > td:first-child {
    padding-top: 0px !important;
    padding-bottom: 0 !important;
}
.tree-t .tree-body .expand {
    width: 1.5rem;
    height: 1.5rem;
    background-size: 0.8rem 0.8rem;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}
.tree-t .tree-body .minus.expand {
    background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23bfbfbf' class='bi bi-dash-square' viewBox='0 0 16 16'%3E%3Cpath d='M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z'/%3E%3Cpath d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/%3E%3C/svg%3E");
}
.tree-t .tree-body .plus.expand {
    background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23bfbfbf' class='bi bi-plus-square' viewBox='0 0 16 16'%3E%3Cpath d='M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z'/%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3E%3C/svg%3E");
}
.tree-t .tree-body .node {
    position: relative;
    padding: 0.3rem 0.3rem 0.3rem 1.5rem;
    border-left: 1px dotted #c3c3c3;
}
    .tree-t .tree-body .node::before {
        content: '';
        position: absolute;
        top: 0;
        left: -1px;
        bottom: 50%;
        width: 1.25rem;
        border: 1px dotted #c3c3c3;
        border-top: 0 none transparent;
        border-right: 0 none transparent;
        border-left: 0 none transparent;
    }
    .tree-t .tree-body .node.lastChild {
        border-left: 1px dashed transparent;
    }
        .tree-t .tree-body .node.lastChild::before {
            border-left: 1px dotted #c3c3c3;
        }


.table-sm th, .table-sm td {
    font-size: 0.8rem;
}

.bootstrap-select.form-control-xs .form-control-sm,
.form-control-xs {
    height: calc(1em + .5rem + 2px);
    padding: .25rem .5rem;
    font-size: 0.8rem;
    line-height: 1.2rem;
    border-radius: .2rem;
}

.bootstrap-select.form-control-xs .form-control-sm {
    padding: 0 .5rem;
}

#dataTable tbody td input.fromTable[type="checkbox"][readonly] {
    pointer-events: none;
}
/* === Filterer scope === */
table.b-table-filterer thead th.hasFilterIcon {
    position: relative;
    padding-right: 58px; /* место под сорт + фильтр */
}

table.b-table-filterer thead th .filterIconBtn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    cursor: pointer;
    opacity: .75;
    user-select: none;
}

    table.b-table-filterer thead th .filterIconBtn:hover {
        opacity: 1;
    }

/* === ModalFilter (твои стили) === */
table.b-table-filterer .modalFilter {
    display: none;
    height: auto;
    background: #FFF;
    border: solid 1px #ccc;
    padding: .5rem;
    position: absolute;
    z-index: 1001;
    width: 300px !important;
}

    table.b-table-filterer .modalFilter .modal-content {
        max-height: 250px;
        overflow-y: auto;
    }

        table.b-table-filterer .modalFilter .modal-content .filterChild {
            visibility: hidden;
        }

            table.b-table-filterer .modalFilter .modal-content .filterChild.visible {
                visibility: visible;
            }

    table.b-table-filterer .modalFilter .modal-footer {
        background: #FFF;
        height: 35px;
        padding-top: 6px;
    }

    table.b-table-filterer .modalFilter .btn {
        padding: 0 1em;
        height: 28px;
        line-height: 28px;
        text-transform: none;
    }

/* Включить ресайз колонок: просто добавь этот класс на <table> */
table.b-table-resizer {
    table-layout: fixed; /* важно для предсказуемых ширин */
    width: 100%;
}

    /* Заголовок должен быть "контейнером" для хэндла */
    table.b-table-resizer thead th {
        position: relative;
        overflow: hidden; /* чтобы хэндл не "выпирал" */
        white-space: nowrap;
    }

        /* Полоска-ресайзер справа в th */
        table.b-table-resizer thead th .col-resizer {
            position: absolute;
            top: 0;
            right: -3px;
            width: 6px;
            height: 100%;
            cursor: col-resize;
            user-select: none;
            touch-action: none; /* чтобы на тач-устройствах не скроллилось */
        }
            table.b-table-resizer thead th .col-resizer:hover {
                background: #5e8090;
            }

    /* На время перетаскивания */
    table.b-table-resizer.is-resizing,
    table.b-table-resizer.is-resizing * {
        cursor: col-resize !important;
        user-select: none !important;
    }

table.b-table-selector tbody tr {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

    table.b-table-selector tbody tr.selectedRow {
        background: #cde6f7 !important;
    }
/* sorting arrows */
table.b-table-sorter thead th.sorting {
    position: relative;
    padding-right: 42px; /* место под стрелки и твой фильтр-иконки */
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
    table.b-table-sorter thead th.sorting .th-inner {
        padding-right: 2rem !important;
    }

    table.b-table-sorter thead th.sorting::before,
    table.b-table-sorter thead th.sorting::after {
        right: 24px;
        position: absolute;
        display: block;
        opacity: .125;
        line-height: 9px;
        font-size: .8em;
        font-weight: 600;
        cursor: pointer;
        user-select: none;
    }

    table.b-table-sorter thead th.sorting::before {
        top: 50%;
        transform: translateY(-95%);
        content: "▲";
        content: "▲" / "";
    }

    table.b-table-sorter thead th.sorting::after {
        top: 50%;
        transform: translateY(-5%);
        content: "▼";
        content: "▼" / "";
    }

    table.b-table-sorter thead th.sorting.asc::before,
    table.b-table-sorter thead th.sorting.desc::after {
        opacity: .6;
    }

table.b-tree-viewer tbody tr td {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

table.b-tree-viewer .hideRow {
    display: none;
}

table.b-tree-viewer .thead-dark th {
    background-color: #eee !important;
    color: black;
}

table.b-tree-viewer.table-bordered thead td,
table.b-tree-viewer.table-bordered thead th {
    border-color: #dee2e6;
}

table.b-tree-viewer tbody .expand {
    width: 1.5rem;
    height: 1.5rem;
    background-size: 0.8rem 0.8rem;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

table.b-tree-viewer tbody .node {
    position: relative;
    padding-left: 1.5rem;
    padding-top: 1px;
    padding-bottom: 1px;
    border-left: 1px dotted #c3c3c3;
}

    table.b-tree-viewer tbody .node::before {
        content: '';
        position: absolute;
        top: 0;
        left: -1px;
        bottom: 50%;
        width: 1.25rem;
        border: 1px dotted #c3c3c3;
        border-top: 0 none transparent;
        border-right: 0 none transparent;
        border-left: 0 none transparent;
    }

    table.b-tree-viewer tbody .node.lastChild {
        border-left: 1px dashed transparent;
    }

        table.b-tree-viewer tbody .node.lastChild::before {
            border-left: 1px dotted #c3c3c3;
        }

table.b-tree-viewer tbody .childTR > td:first-child {
    padding-left: 1rem !important;
}

table.b-tree-viewer tbody .minus.expand {
    background-image: url(../images/icons/dash-square.svg);
}

table.b-tree-viewer tbody .plus.expand {
    background-image: url(../images/icons/plus-square.svg);
}

.resize-box {
    flex: 1 1 auto;
}

.resizable {
    width: 12px;
    padding: 0;
    cursor: col-resize;
    flex: 0 0 auto;
}

    .resizable::before {
        content: '';
        display: block;
        width: 12px;
        height: 100%;
        background: #eeeeee;
        margin: 0;
        border-left: 1px solid #dbd7d7;
        border-right: 1px solid #dbd7d7;
    }

.btn-light {
    color: #333;
    background-color: #ffffff;
    border-color: #333;
}

    .btn-light:hover {
        color: #fff;
        background-color: #333;
        border-color: #333;
    }
    .btn-light.disabled, .btn-light:disabled {
        color: #212529;
        background-color: inherit;
        border-color: inherit;
    }

.btn-success {
    background-color: #638667;
    border-color: #638667;
}

    .btn-success:hover,
    .btn-success:not(:disabled):not(.disabled).active, .btn-success:not(:disabled):not(.disabled):active, .show > .btn-success.dropdown-toggle {
        background-color: #516d54;
        border-color: #516d54;
    }

    .btn-success.disabled, .btn-success:disabled {
        background-color: #638667;
        border-color: #638667;
        cursor: not-allowed;
    }

.btn-outline-success {
    color: #638667;
    border-color: #638667;
}

    .btn-outline-success:hover,
    .btn-outline-success:not(:disabled):not(.disabled).active, .btn-outline-success:not(:disabled):not(.disabled):active, .show > .btn-outline-success.dropdown-toggle {
        color: #fff !important;
        background-color: #638667;
        border-color: #638667;
    }

        .btn-success:not(:disabled):not(.disabled).active:focus, .btn-success:not(:disabled):not(.disabled):active:focus, .show > .btn-success.dropdown-toggle:focus,
        .btn-outline-success:not(:disabled):not(.disabled).active:focus, .btn-outline-success:not(:disabled):not(.disabled):active:focus, .show > .btn-outline-success.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem #63866787;
        }

    .btn-outline-success.disabled, .btn-outline-success:disabled {
        color: #638667;
        border-color: #638667;
        cursor: not-allowed;
    }


.btn-primary {
    background-color: #5e8090;
    border-color: #5e8090;
}

    .btn-primary:hover,
    .btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
        background-color: #47626f;
        border-color: #47626f;
    }

    .btn-primary.disabled, .btn-primary:disabled {
        background-color: #5e8090;
        border-color: #5e8090;
        cursor: not-allowed;
    }

    .btn-outline-primary {
        color: #5e8090;
        border-color: #5e8090;
    }
    .btn-outline-primary:hover {
        color: #fff;
        background-color: #5e8090;
        border-color: #5e8090;
    }

    .btn-outline-primary:not(:disabled):not(.disabled).active, .btn-outline-primary:not(:disabled):not(.disabled):active, .show > .btn-outline-primary.dropdown-toggle {
        color: #fff;
        background-color: #47626f;
        border-color: #47626f
    }

.btn-danger {
    background-color: #b24242;
    border-color: #b24242;
}

    .btn-danger:hover,
    .btn-danger:not(:disabled):not(.disabled).active, .btn-danger:not(:disabled):not(.disabled):active, .show > .btn-danger.dropdown-toggle {
        background-color: #a22a2a;
        border-color: #a22a2a;
    }

    .btn-danger.disabled, .btn-danger:disabled {
        background-color: #b24242;
        border-color: #b24242;
        cursor: not-allowed;
    }



.fixedButton {
    position: fixed;
    right: 30px;
    bottom: 70px;
    z-index: 997;
}

    .fixedButton > button {
        border-radius: 2rem;
        padding: 1rem;
    }

        .fixedButton > button > svg {
            width: 32px;
            height: 32px;
        }


.reportClpbrButton {
    width: 30px;
    height: 30px;
    padding: 0;
}

    .reportClpbrButton > img {
        width: 25px;
    }


.btn-outline-ribbon {
    color: #000000;
    padding: 1px 2px;
}
    .btn-outline-ribbon:hover {
        color: #000;
        background-color: #bdc4cb;
        border-color: #bdc4cb;
    }
    .btn-outline-ribbon:not(:disabled):not(.disabled).active, .btn-outline-ribbon:not(:disabled):not(.disabled):active {
        color: #000;
        background-color: #a5aaaf;
        border-color: #a5aaaf;
    }
    .btn-outline-ribbon.disabled, .btn-outline-ribbon:disabled {
        color: #333;
        background-color: transparent;
        filter: grayscale(1);
        opacity: 0.7;
    }
    .btn-outline-ribbon.focus, .btn-outline-ribbon:focus,
    .btn-outline-ribbon:not(:disabled):not(.disabled).active:focus, .btn-outline-ribbon:not(:disabled):not(.disabled):active:focus {
        box-shadow: 0 0 0 0.2rem rgba(189,196,203,.5);
    }

    .btn-outline-ribbon span {
        margin-top: 0;
        font-size: 11px;
        line-height: 14px;
        display: block;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .btn-outline-ribbon.btn-outline-ribbon-sm img{
        width: 24px;
    }

button.dt-button {
    background: transparent;
    border: 1px solid transparent;
    padding: 0.25rem 0.5rem;
    font-size: .875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
    color: #383838;
    border-color: #cbcaca;
}

    button.dt-button:hover:not(.disabled),
    button.dt-button:focus:not(.disabled) {
        color: black;
        background: #cbcaca;
        text-shadow: none;
        border: 1px solid #cbcaca;
    }

    button.dt-button:focus:not(.disabled) {
        box-shadow: 0 0 0 0.2rem #74747482;
    }


.modal-header .close {
    outline: none !important;
}
.custom-checkbox {
    position: relative;
    z-index: 1;
    display: block;
    min-height: 1.5rem;
    padding-left: 1.5rem;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
}

    .custom-checkbox .custom-checkbox-input {
        position: absolute;
        left: 0;
        z-index: -1;
        width: 1rem;
        height: 1.25rem;
        opacity: 0;
    }
        .custom-checkbox .custom-checkbox-input.readonly {
            pointer-events: none;
        }
            .custom-checkbox input[disabled] + label.custom-checkbox-label,
            .custom-checkbox .custom-checkbox-input.readonly + label.custom-checkbox-label {
                opacity: 0.5;
                pointer-events: none;
            }

    .custom-checkbox .custom-checkbox-label {
        position: relative;
        margin-bottom: 0;
        vertical-align: top;
        cursor: pointer;
    }

        .custom-checkbox .custom-checkbox-label::before {
            position: absolute;
            top: .25rem;
            left: -1.5rem;
            display: block;
            width: 1rem;
            height: 1rem;
            pointer-events: none;
            cursor: pointer;
            content: "";
            background-color: #fff;
            border: #adb5bd solid 1px;
            border-radius: .2rem;
            transition: background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
        }

        .custom-checkbox .custom-checkbox-label::after {
            position: absolute;
            top: .25rem;
            left: -1.5rem;
            display: block;
            width: 1rem;
            height: 1rem;
            content: "";
            background: no-repeat 50%/50% 50%;
            cursor: pointer;
        }

    .custom-checkbox.lg .custom-checkbox-label::before,
    .custom-checkbox.lg .custom-checkbox-label::after {
        width: 1.4rem;
        height: 1.4rem;
    }

    .custom-checkbox .custom-checkbox-input:checked ~ .custom-checkbox-label::before,
    .custom-checkbox .custom-checkbox-input:indeterminate ~ .custom-checkbox-label::before {
        color: #fff;
        /*border-color: #47626f;
        background-color: #47626f;*/
        border-color: #333;
        background-color: #333;
    }

    .custom-checkbox .custom-checkbox-input:checked ~ .custom-checkbox-label::after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e");
    }

    .custom-checkbox .custom-checkbox-input:indeterminate ~ .custom-checkbox-label::after {
        background-image: url("data:image/svg+xml,%3Csvg class='bi bi-dash' version='1.1' viewBox='0 0 8 8' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='.0071108' y='2.9628' width='7.9928' height='2.0849' fill='%23fff' fill-rule='evenodd'/%3E%3C/svg%3E");
    }
.context-menu {
    display: none;
    position: absolute;
    list-style: none;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    min-width: 180px;
    z-index: 9999;
}

    .context-menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

        .context-menu ul li {
            padding: 4px 8px 4px 0;
            display: flex;
            align-items: center;
            cursor: pointer;
            font-size: 12px;
            gap: 4px;
            border: 1px solid transparent;
            border-left-color: #f8f8f8;
            white-space: nowrap;
        }

            .context-menu ul li img,
            .context-menu .empty-img {
                padding: 6px;
                margin: -6px 0px;
                background: #f8f8f8;
                height: 28px;
                width: 28px;
            }

            .context-menu ul li:hover {
                border-color: rgb(94 128 144);
                border: 1px solid rgb(94 128 144);
            }

            .context-menu ul li:first-child:hover {
                border-radius: 4px 4px 0 0;
            }

            .context-menu ul li:last-child:hover {
                border-radius: 0 0 4px 4px;
            }

            .context-menu ul li:hover img,
            .context-menu ul li:hover > .empty-img {
                background: transparent;
            }

        .context-menu ul hr {
            border: none;
            border-top: 1px solid #ddd;
            margin: 0;
        }

        .context-menu ul li.disabled {
            color: #999;
            cursor: default;
            pointer-events: none;
        }

    /* подменю */
    .context-menu .submenu {
        position: absolute;
        top: 0;
        left: 100%;
        margin-left: -1px;
        display: none;
        list-style: none;
        min-width: 180px;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        border-radius: 4px;
    }

    .context-menu li.hasSubmenu {
        position: relative;
    }

        .context-menu li.hasSubmenu:after {
            content: "";
            position: absolute;
            top: 50%;
            right: 10px;
            transform: translateY(-50%);
            width: 0;
            height: 0;
            border-style: solid;
            border-top: 5px solid transparent;
            border-bottom: 5px solid transparent;
            border-left: 6px solid #000000;
            border-right: 0;
        }
            .context-menu li.hasSubmenu.disabled:after {
                opacity: 0.5;
            }

        .context-menu li.hasSubmenu:hover .submenu {
            display: block;
        }

    .context-menu.sub-left .submenu {
        left: auto;
        right: 100%;
        margin-left: 0;
        margin-right: -1px;
    }

.datepicker--day-name {
    color: #bc5946 !important;
}

.datepicker--cell.-focus-,
.datepicker--time-current-hours:after, .datepicker--time-current-minutes:after,
.datepicker--nav-title:hover, .datepicker--nav-action:hover {
    background: #e2e2e2 !important;
}

.datepicker--cell.-current- {
    color: #77a1b5 !important;
}

.datepicker--cell.-selected- {
    background: #47626f !important;
}
.ribbonDropDownMenu {
    top: 73px !important;
}
    .ribbonDropDownMenu.ribbonRowDropDownMenu {
        top: 0px !important;
    }

    .ribbonDropDownMenu.dropdown-menu.show {
        padding: 0.4rem 0px;
    }
    .ribbonDropDownMenu.dropdown-menu.show > a {
        font-size: 0.8rem;
        line-height: 0.9rem;
    }
        .ribbonDropDownMenu.dropdown-menu.show > a {
            cursor: pointer;
        }

            .ribbonDropDownMenu.dropdown-menu.show > a[disabled] {
                pointer-events: none;
                filter: grayscale(1);
                opacity: 0.7;
            }

.ribbonDropDownSelectMenu {
    overflow: visible !important;
    padding: 0px !important;
    border: none !important;
    /*transform: translate3d(0px, 0px, 0px) !important;*/
}

    .ribbonDropDownSelectMenu .dropdown-menu.show > a:hover, .dropdown-menu.show > a:hover {
        background-color: #d3d3d3;
    }

    .ribbonDropDownSelectMenu .dropdown-item.active, .dropdown-item:active {
        background-color: #cde6f7 !important;
        text-decoration: none;
    }

    .ribbonDropDownSelectMenu .dropdown-menu li {
        font-size: .875rem;
    }
        .ribbonDropDownSelectMenu .dropdown-menu li a {
            padding: 2px 1rem;
            cursor: pointer;
            position: relative;
        }

    .ribbonDropDownSelectMenu .dropdown-menu.inner {
        position: static;
        float: none;
        border: 0;
        padding: 0;
        margin: 0;
        border-radius: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    .ribbonDropDownSelectMenu .dropdown-menu li a span.check-mark {
        display: none;
    }
    .ribbonDropDownSelectMenu .dropdown-menu .selected span.check-mark {
        position: absolute;
        display: inline-block;
        left: calc(100% - 1rem);
        top: calc(50% - 0.5rem);
    }
    .ribbonDropDownSelectMenu .dropdown-menu li a span.text {
        font-size: 12px;
        line-height: 14px;
        margin-right: 34px;
        white-space: initial;

    }

    .ribbonDropDownSelectMenu .dropdown-menu.inner .bs-ok-default:after {
        content: '';
        display: block;
        width: 0.5em;
        height: 1em;
        border-style: solid;
        border-width: 0 0.26em 0.26em 0;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
    }

.ribbonContainer {
    background: #fafafa;
    padding: 0.3rem 0.5rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    box-shadow: 0px 0px 5px 2px #e3e3e3;
}
    .ribbonContainer:has(.ribbonBlockName) {
        padding: 0.3rem 0.5rem 0.9rem;
    }

    .ribbonContainer .ribbonBlock {
        padding: 0px;
        position: relative;
        align-items: center;
    }

        .ribbonContainer .ribbonBlock:first-child {
            padding-left: 0px;
        }

        .ribbonContainer .ribbonBlock:last-child {
            padding-right: 0px;
            border-right: none;
        }
        .ribbonContainer .ribbonBlock.withoutSeparator:after {
            content: none;
        }

        .ribbonContainer .ribbonBlock:after {
            content: "";
            display: block;
            width: 1px;
            height: calc(100% + 2rem);
            background: #bbbbbb;
            margin: -0.5rem 0.5rem;
        }

       /* .ribbonContainer .ribbonBlock:last-child:after {
            content: none;
        }*/

        .ribbonContainer .ribbonBlock .ribbonBlockName {
            position: absolute;
            bottom: calc(0px - 0.8rem);
            margin-bottom: 0px;
            font-size: 11px;
            line-height: 12px;
            width: calc(100% - 1rem);
            text-align: center;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .ribbonContainer .ribbonBlock .btn .image > img {
            width: 32px;
            height: 32px;
        }
        .ribbonContainer .ribbonBlock .btn-outline-ribbon-sm .image > img {
            width: 16px;
            height: 16px;
        }

    .ribbonContainer input::-webkit-outer-spin-button,
    .ribbonContainer input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .ribbonContainer .ribbonBlock .separatorInside {
        display: block;
        width: 1px;
        height: 100%;
        background: #bbbbbb;
        margin: 0 2px;
    }


@media (max-width: 767.5px) {
    .ribbonContainer .ribbonBlock {
        border: none !important;
        padding: 0 !important;
    }
}
.ribbonContainer .ribbonBlock .dropdown .my.dropdown-toggle {
    white-space: normal;
}

.ribbonContainer .ribbonBlock .my.dropdown-toggle-split {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0.2rem;
    border-bottom-right-radius: 0.2rem;
    margin-left: 0;
    border-top: 0;
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding-top: 0.15rem;
    padding-bottom: 0.3rem;
}

.ribbonContainer .ribbonBlock .width-min-content {
    width: auto; /*min-content;*/
    min-width: 75px;
}

.ribbonContainer .ribbonBlock .btn-group:hover .btn {
    border-color: #bdc4cb !important;
}

.ribbonContainer .ribbonBlock .dropdown-toggle-split::after {
    margin-left: 4px;
}

.bootstrap-select .dropdown-toggle .filter-option-inner-inner {
    text-overflow: ellipsis;
}


/* Новые классы для кнопок риббона */
.ribbonContainer .ribbonBlock .btn-outline-ribbon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: fit-content;
    flex: 1 1 auto;
}
    .ribbonContainer .ribbonBlock .btn-outline-ribbon.horizontal {
        flex: none;
        flex-direction: row;
        width: 100%;
        gap: 4px;
    }
        .ribbonContainer .ribbonBlock .btn-outline-ribbon.horizontal .image,
        .ribbonContainer .ribbonBlock .btn-outline-ribbon.horizontal .text {
            padding: 0;
        }
        .ribbonContainer .ribbonBlock .btn-outline-ribbon.horizontal .text {
            width: 100%;
            align-items: start;
        }

    .ribbonContainer .ribbonBlock .btn-outline-ribbon .image,
    .ribbonContainer .ribbonBlock .btn-outline-ribbon .text {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    .ribbonContainer .ribbonBlock .btn-outline-ribbon .image {
        padding: 4px 4px 2px;
    }

    .ribbonContainer .ribbonBlock .btn-outline-ribbon .text {
        padding: 2px 4px 4px;
    }

/* Новые групповые кнопки */
.ribbonContainer .ribbonBlock .btn-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: fit-content;
    flex: 1 1 auto;
}
    .ribbonContainer .ribbonBlock .btn-group .btn-outline-ribbon .image {
        padding-bottom: 0;
    }

    .ribbonContainer .ribbonBlock .btn-group > .btn:not(:last-child):not(.dropdown-toggle) {
        border-top-right-radius: 0.2rem;
        border-top-left-radius: 0.2rem;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
        border-bottom: none;
        width: 100%;
        height: 100%;
        padding: 4px 2px 2px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .ribbonContainer .ribbonBlock .btn-group .dropdown.ribbonDropDown {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

        .ribbonContainer .ribbonBlock .btn-group .dropdown.ribbonDropDown .btn-outline-ribbon {
            border-top-left-radius: 0;
            border-top-right-radius: 0;
            border-bottom-left-radius: 0.2rem;
            border-bottom-right-radius: 0.2rem;
            margin-left: 0;
            border-top: 0;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            height: 100%;
            width: 100%;
            padding: 2px 2px 4px;
        }

.ribbonContainer .ribbonBlock .my.dropdown-toggle-split > span {
    display: inline-flex;
}

/*ribbonRowGroup*/
.ribbonContainer .ribbonBlock .btn-group.ribbonRowGroup {
    display: flex;
    flex-direction: row;
    flex: none;
}
    .ribbonContainer .ribbonBlock .btn-group.ribbonRowGroup .btn-outline-ribbon.left {
        width: auto !important;
        padding: 2px 4px 2px 2px !important;
    }
        .ribbonContainer .ribbonBlock .btn-group.ribbonRowGroup .btn-outline-ribbon.left img {
            width: 18px;
        }
    .ribbonContainer .ribbonBlock .btn-group.ribbonRowGroup .btn-outline-ribbon.right {
        width: 100%;
        padding: 4px 2px 4px 4px !important;
    }

.ribbonContainer .ribbonBlock .btn-group.ribbonRowGroup > .btn:not(:last-child):not(.dropdown-toggle) {
    border-top-right-radius: 0rem;
    border-bottom-right-radius: 0rem;
    border-bottom-left-radius: 0.2rem;
    border-right: none;
    border-bottom: 1px solid transparent;
}

.ribbonContainer .ribbonBlock .btn-group.ribbonRowGroup .my.dropdown-toggle-split {
    border-top-left-radius: 0;
    border-top-right-radius: 0.2rem;
    border-bottom-left-radius: 0rem;
    border-left: 0;
    border-top: 1px solid transparent;
}
/*end ribbonRowGroup*/
.bootstrap-select .dropdown-item.active, .bootstrap-select .dropdown-item:active {
    color: #333 !important;
    background-color: #e2e2e2 !important;
}

.bootstrap-select .dropdown-toggle:focus, .bootstrap-select > select.mobile-device:focus + .dropdown-toggle {
    outline: none !important;
}

.bootstrap-select.form-control-sm .bs-searchbox .form-control {
    height: calc(1.5em + .5rem + 2px);
    padding: .25rem .5rem;
    font-size: .875rem;
    line-height: 1.5;
    border-radius: .2rem;
}

.bootstrap-select .dropdown-menu li a {
    white-space: initial;
}

.bootstrap-select.form-control-sm .dropdown-menu li a {
    font-size: .875rem;
}

.bootstrap-select.disabled, .bootstrap-select > .disabled {
    background-color: #e9ecef;
    opacity: 1;
}

select.input-validation-error ~ button {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.bootstrap-select.readonly button {
    background-color: #e9ecef;
    opacity: 1;
    pointer-events: none;
}

.bootstrap-select.show-tick .dropdown-menu .selected span.check-mark {
    top: calc(50% - 0.7em);
}


.dropdown-menu .bs-searchbox .form-control {
    height: calc(1.2em + 0.5rem + 2px);
    padding: 0.25rem 0.5rem;
    font-size: .875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

.dropdown-menu .no-results {
    padding: 0.25rem 0.5rem;
}


.bs-action-container {
    border-radius: 0.25rem 0.25rem 0 0;
    display: flex;
    flex-direction: row-reverse;
}

.bs-searchbox + .bs-actionsbox {
    width: auto;
}

.bs-searchbox {
    width: 100%;
}

.bs-actionsbox .btn-group.btn-group-sm.btn-block {
    display: flex;
    flex-direction: row;
    gap: 6px;
    padding-top: 4px;
    height: 100%;
    align-items: center;
}

.bs-select-all, .bs-invert-select, .bs-deselect-all {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px;
    outline: none !important;
    background-size: auto;
    background-repeat: no-repeat;
    border: none;
}

.bs-select-all {
    background-image: url('/images/isso/selectionAll.png');
}

.bs-invert-select {
    background-image: url('/images/isso/selectionInvert.png');
}

.bs-deselect-all {
    background-image: url('/images/isso/selectionNone.png');
}
.showHideDiv {
    display: none;
}

    .showHideDiv.showing {
        transition: height 0.5s;
        height: 0px;
        overflow: hidden;
        display: flex;
    }

    .showHideDiv.show {
        display: flex;
    }

.showHideBtn {
    cursor: pointer;
    width: 24px;
    height: 24px;
    transition: transform 0.3s;
    transform: rotateZ(0deg);
}

    .showHideBtn.show {
        transform: rotateZ(-180deg);
    }


.table-xs td, .table-xs th {
    font-size: 0.8rem;
}

    .table-xs td, .table th .th-inner {
        padding: .35rem !important;
    }

.table .thead-dark th {
    background-color: #6f6f6f;
}
.table.table-bordered thead td, .table.table-bordered thead th {
    border-color: #ffffff;
}


table.border {
    border-color: #600;
    border-style: solid;
    border-width: 0 0 1px 1px;
    border-spacing: 0;
    border-collapse: collapse;
}

    table.border td, table.border th {
        border-color: #600;
        border-style: solid;
        font-size: 1em;
        padding: 2px 5px 2px 5px;
        border-width: 1px 1px 0 0;
    }

    table.border th {
        text-align: center;
        font-weight: normal;
    }
.treeview {
    margin-top: 30px;
    width: 100%;
}

    .treeview .node-tree {
        padding: 0.75rem 0.75rem;
    }
            .treeview .node-tree.node-lvl-1 .arrowBlock {
                display: inline-flex;
                padding: 3px 4px 3px 6px;
                cursor: pointer;
            }

                .treeview .node-tree.node-lvl-1 .arrowBlock .arrow {
                    border: solid #333;
                    display: inline-block;
                    padding: 4px;
                    position: relative;
                    transform: rotate(-45deg);
                    -webkit-transform: rotate(-45deg);
                    transition: transform .3s;
                    width: 0px !important;
                    border-width: 0 1.5px 1.5px 0;
                    margin: 4px 0px;
                }


            .treeview .node-tree.node-lvl-1 .button-add {
                padding: 0px 3px 2px 4px;
                line-height: 1;
            }

            .treeview .node-tree.node-lvl-1 .button-remove {
                padding: 0 6px 2px 6px;
                margin-right: 10px;
                line-height: 1;
            }

                .treeview .node-tree.node-lvl-1.expand .arrowBlock .arrow {
                    transform: rotate(45deg);
                }

                .treeview .node-tree.node-lvl-1 .input-group .custom-select {
                    margin: -4px 0px;
                }

        .treeview .node-tree.node-lvl-2 {
            display: flex;
            cursor: pointer;
            padding-left: 3rem;
        }

            .treeview .node-tree.node-lvl-2 .button-remove {
                padding: 0 6px 2px 6px;
                line-height: 1;
            }

    .treeview .dropdown-toggle::after {
        vertical-align: 0.1em;
    }

.showHideBtn {
    transition: 0.1s all;
    transform: rotateZ(0deg);
}

    .showHideBtn.hide {
        transform: rotateZ(-180deg);
    }
.myTreeList {
    line-height: 1rem;
    font-size: 80%;
}

.myTreeList ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
    position: relative;
}

    .myTreeList ul li {
        list-style-type: none;
        border-left: 1px dotted #c3c3c3;
        margin-left: 0.75rem;
    }
        .myTreeList ul li.hidden {
            display: none;
        }
            .myTreeList ul li.hidden.show {
                display: block
            }

        .myTreeList ul li .node {
            padding-left: 1.5rem;
            position: relative;
            cursor: pointer
        }
            .myTreeList ul li .node .node-name {
                padding-top: 0.2rem;
                padding-bottom: 0.2rem;
            }

            .myTreeList ul li .node.select .node-name {
                background-color: #d7d7d7 !important;
            }

            .myTreeList ul li .node:hover .node-name {
                background-color: #efefef;
            }

            .myTreeList ul li .node::before {
                content: '';
                position: absolute;
                top: 0;
                left: -1px;
                bottom: 50%;
                width: 1.25rem;
                border: 1px dotted #c3c3c3;
                border-top: 0 none transparent;
                border-right: 0 none transparent;
                border-left: 0 none transparent;
            }

            .myTreeList ul li .node.has-children {
                padding-left: 0px;
            }

                .myTreeList ul li .node.has-children::before {
                    width: 0.4rem;
                    cursor: pointer;
                }

                .myTreeList ul li .node.has-children .expand {
                    width: 1.5rem;
                    background-size: 0.8rem 0.8rem;
                    background-position: center;
                    background-repeat: no-repeat;
                }

                .myTreeList ul li .node.has-children.plus .expand {
                    background-image: url(../images/icons/plus-square.svg);
                }

                .myTreeList ul li .node.has-children.minus .expand {
                    background-image: url(../images/icons/dash-square.svg);
                }

        .myTreeList ul li:last-child .node::before {
            border-left: 1px dotted #c3c3c3;
        }

    .myTreeList ul > li:last-child {
        border-left: 1px dashed transparent;
    }

    .myTreeList ul.hide {
        display: none;
    }
.valid-star {
    color: #e80c4d;
}

.input-validation-error {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.valid {
    border-color: #28a745;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.field-validation-error {
    font-size: 0.8rem;
    color: #e80c4d;
    font-weight: bold;
}

.field-validation-valid {
    display: none;
}

.validation-summary-errors {
    color: #e80c4d;
    font-weight: bold;
    font-size: 1.1em;
}

.validation-summary-valid {
    display: none;
}

.table_resizer {
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    cursor: col-resize;
    user-select: none;
}

    .table_resizer.hover,
    .table_resizing {
        border-right: 2px solid #5e8090;
    }

.table_resizable {
    border: 1px solid gray;
    height: 100px;
    width: 100px;
    position: relative;
}

ul#context_menu {
    font-size: 1em;
    font-weight: normal;
    margin: 0 0 5px;
    padding: 0;
    text-align: right;
}

    ul#context_menu li {
        display: inline-block;
        list-style: none;
        padding-left: 7px;
        position: relative;
        cursor: pointer;
        color: #777;
    }

        ul#context_menu li a {
            background: none;
            color: #777;
            text-decoration: none;
        }

            ul#context_menu li a:hover {
                color: #333;
                text-decoration: none;
            }

        ul#context_menu li ul {
            background: #fff;
            padding: 0;
            position: absolute;
            top: 18px;
            left: 0;
            width: 300px;
            text-align: left;
            -webkit-box-shadow: none;
            -moz-box-shadow: none;
            box-shadow: none;
            display: none;
            opacity: 0;
            z-index: 1000;
            visibility: hidden;
        }

            ul#context_menu li ul li {
                font-weight: normal;
                display: block;
                color: #777;
                margin-left: 4px;
                margin-bottom: 5px;
                margin-top: 5px;
            }

        ul#context_menu li:hover ul {
            display: block;
            opacity: 1;
            visibility: visible;
            color: #333;
        }

.message-info {
    color: #5e8090;
    border: 1px solid;
    clear: both;
    padding: 10px 20px;
}

.message-error {
    color: #b24242;
    line-height: 30px;
    font-size: 1.1em;
    font-weight: bold;
    height: auto;
    margin: 0px;
}

.message-success {
    color: #638667;
    font-size: 1.1em;
    line-height: 30px;
    font-weight: bold;
    height: auto;
    margin: 0px;
}

.text-warning {
    color: #ff9e12 !important;
}
nav.vertical {
    width: min-content;
    border-left: 1px solid #dee2e6;
    z-index: 2;
    background: #fff;
}
    nav.vertical .nav-tabs {
        border-bottom: none;
    }

        nav.vertical .nav-tabs > button {
            writing-mode: vertical-rl;
            margin-bottom: 0;
            margin-left: -1px;
            padding: 0.5rem 0.25rem;
            font-size: 14px;
            border-bottom-right-radius: .25rem;
            color: #495057;
        }

        nav.vertical .nav-tabs .nav-item.show .nav-link,
        nav.vertical .nav-tabs .nav-link.active {
            background-color: #f8f8f8;
            color: black;
        }

        nav.vertical .nav-tabs .nav-link:focus,
        nav.vertical .nav-tabs .nav-link:hover,
        nav.vertical .nav-tabs .nav-link.active {
            border-color: #dee2e6 #dee2e6 #dee2e6 #fff;
        }
.header-fixed {
    width: 100%
}

    .header-fixed > thead,
    .header-fixed > tbody,
    .header-fixed > thead > tr,
    .header-fixed > tbody > tr,
    .header-fixed > thead > tr > th,
    .header-fixed > tbody > tr > td {
        display: flex;
        flex-direction: column;
    }

        .header-fixed > thead > tr,
        .header-fixed > tbody > tr {
            flex-direction: row;
        }

            .header-fixed > tbody > tr:after,
            .header-fixed > thead > tr:after {
                content: ' ';
                display: block;
                visibility: hidden;
                clear: both;
            }

    .header-fixed > tbody {
        overflow-y: auto;
        max-height: 500px;
    }

        .header-fixed > tbody > tr > td:first-child,
        .header-fixed > thead > tr > th:first-child {
            width: 100px;
        }

        .header-fixed > tbody > tr > td:last-child,
        .header-fixed > thead > tr > th:last-child {
            width: calc(100% - 100px);
        }

        .header-fixed > tbody > tr.no-records-found > td {
            width: 100%;
        }
.dropdown-submenu {
    position: relative;
}

    /*.dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }*/

    .dropdown-submenu a::after {
        transform: rotate( -90deg );
        position: absolute;
        right: 0.5rem;
        top: 0.9rem;
    }

    .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
        margin-left: .1rem;
        margin-right: .1rem;
    }

    .dropdown-submenu .dropdown-item.active, .dropdown-submenu .dropdown-item:active {
        color: #16181b;
        background-color: #f8f9fa;
    }

@media (max-width: 575.5px) {
    .dropdown-submenu .dropdown-menu {
        margin-left: 1.5rem;
        margin-right: .5rem;
    }
}


.pageSubMenuItem {
    cursor: pointer;
    border-radius: 0.2rem;
    border: 1px solid #223c5040;
    /*box-shadow: 0px 0px 8px 0px rgb(34 60 80 / 25%);*/
}

    .pageSubMenuItem > a {
        color: #212529;
        padding: 0.3rem 0.5rem;
        display: block;
    }

    .pageSubMenuItem:hover,
    .pageSubMenuItem:focus,
    .pageSubMenuItem:active {
        background-color: #ededed;
        /*box-shadow: 0px 0px 8px 0px rgb(34 60 80 / 25%) inset;*/
    }

        .pageSubMenuItem:hover > a,
        .pageSubMenuItem:focus > a,
        .pageSubMenuItem:active > a {
            color: #0366d6;
            text-decoration: none;
        }