:root {
    /*--bs-border-color: #86898c;*/
}

html {
    /*position: relative;*/
    min-height: 100%;
}

body {
    overflow-x: hidden;
    color: #000;
    margin: 0;
    font-family: "PT Sans", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: normal;
    background-color: #fff;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

::-webkit-scrollbar-track {
    background-color: #fff; /*Цвет скролла*/
}

::-webkit-scrollbar-thumb {
    background-color: #ccc; /*Цвет ползунка*/
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

* {
    scrollbar-width: thin;
}

::selection {
    background: #0078d7 !important;
    color: #fff !important;
}

::-moz-selection {
    background: #0078d7 !important;
    color: #fff !important;
}

[class*=" bi-"]::before, [class^=bi-]::before {
    -webkit-font-smoothing: inherit !important;
    -moz-osx-font-smoothing: inherit !important;
}

a {
    color: #000;
    text-decoration: none;
}

a:hover {
    color: rgba(0, 0, 0, .7);
    text-decoration: none
}

a.color-link {
    color: #0d6efd;
    text-decoration: none;
}

a.color-link:hover {
    color: #00102f;
}

label {
    font-weight: 400;
}

.mr-1 {
    margin-right: 3px;
}

.mr-2 {
    margin-right: 10px;
}

.mr-3 {
    margin-right: 25px;
}

.ml-1 {
    margin-left: 4px;
}

.pl-2 {
    padding-left: 22px !important;
}

.ml-3 {
    margin-left: 35px;
}

.pt-01 {
    padding-top: 0.1rem !important;
}

.form-label {
    margin-bottom: 0.25rem !important;
}

.invalid-feedback-sec {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

#wrapper {
    height: 100%;
    overflow: hidden;
    width: 100%
}

.jconfirm .jconfirm-cell {
    display: block;
}

.jconfirm .jconfirm-box div.jconfirm-title-c .jconfirm-title {
    font-size: 18px;
    font-weight: normal;
}

.jconfirm.jconfirm-bootstrap .jconfirm-box .jconfirm-title-c .jconfirm-icon-c {
    margin-right: 10px;
}

.jconfirm.jconfirm-bootstrap .jconfirm-box div.jconfirm-title-c {
    font-size: 18px;
}

.navbar {
    background-color: #fff !important;
    padding: 0;
    margin-top: 5px;
}

.navbar .container-fluid {
    padding: 0;
}

.navbar .dropdown-menu {
    font-size: 14px;
}

.nav-tabs .nav-link {
    color: #000;
}

.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    color: #000;
}

.navbar-light .navbar-nav .nav-link {
    color: #000;
    padding: 10px;
}

.navbar-light .navbar-nav .nav-link.btn-secondary {
    color: #fff;
    padding: 6px;
    margin-top: 2px;
}

.navbar .nav-link svg {
    width: 15px;
    height: 15px;
    margin-top: -3px;
}

.navbar-light .navbar-toggler {
    margin: 5px;
}

.navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .show > .nav-link {
    color: #000;
    font-size: 14px;
    background-color: #eff9ff;
    border-radius: 5px;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #000;
    font-weight: 400;
    background-color: #bee6fd;
}

.nav-pills-light .nav-link {
    padding: 0.35rem 0.6rem;
}

.nav-pills .nav-link {
    margin: 2px;
    border: 1px solid #cfcece;
    border-radius: .25rem;
    font-weight: normal;
    color: #000;
    background-color: #f3f4f7;
}

.logout-block {
    position: absolute;
    top: 5px;
    right: 27px;
    text-align: right;
}

.content-page {
    padding: 0;
    margin: 0 25px 10px 25px;
    min-height: 200px;
}

.inner-content-page {
    margin-top: 15px;
}

.navbar .content-page {
    min-height: 0;
}

.modal-dialog {
    overflow-y: initial !important;
    margin-bottom: 25px !important;
}

.modal-body {
    padding: 1rem;
    overflow-y: auto;
}

.modal-body .multiple-input-list {
    width: 100%;
}

.modal-title {
    font-size: 14px;
}

#modal-dialog-second {
    z-index: 1100;
}

#modal-dialog-third {
    z-index: 1200;
}

#modal-dialog-fourth {
    z-index: 1300;
}

.modal-backdrop-second {
    --bs-backdrop-zindex: 1075;
    --bs-backdrop-bg: #000;
    --bs-backdrop-opacity: 0.25;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1075;
    width: 100vw;
    height: 100vh;
    background-color: var(--bs-backdrop-bg);
    opacity: var(--bs-backdrop-opacity);
}

.modal-backdrop-third {
    --bs-backdrop-zindex: 1125;
    --bs-backdrop-bg: #000;
    --bs-backdrop-opacity: 0.25;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1125;
    width: 100vw;
    height: 100vh;
    background-color: var(--bs-backdrop-bg);
    opacity: var(--bs-backdrop-opacity);
}

.modal-backdrop-fourth {
    --bs-backdrop-zindex: 1225;
    --bs-backdrop-bg: #000;
    --bs-backdrop-opacity: 0.25;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1225;
    width: 100vw;
    height: 100vh;
    background-color: var(--bs-backdrop-bg);
    opacity: var(--bs-backdrop-opacity);
}

.btn-xs {
    padding: .2rem .4rem;
    font-size: .75rem;
    border-radius: .15rem
}

.btn-xxs {
    padding: .075rem .2rem;
    font-size: .6rem;
    border-radius: .1rem
}

.btn-light {
    color: #000;
    background-color: #e9e9e9;
    border-color: #cfcece;
}

a.btn-light b {
    font-size: 11px;
}

.btn-indicator {
    display: inline-block;
    background-color: #efefef;
    padding: 5px 6px;
    vertical-align: middle;
    color: #000;
    border: 1px solid #dfd7d7;
    font-size: 11px;
    font-weight: bold;
    border-collapse: collapse;
}

.modal-body .btn-indicator {
    padding: 4px 6px;
}

.btn-indicator.disabled {
    opacity: 0.2;
}

.btn-light:hover {
    color: #000;
    background-color: #dadada;
    border-color: #cfcece;
}

.btn-check:focus + .btn-light, .btn-light:focus {
    color: #000;
    background-color: #dadada;
    border-color: #cfcece;
    box-shadow: 0 0 0 0 rgba(219, 220, 222, .5)
}

.btn-check:active + .btn-light, .btn-check:checked + .btn-light, .btn-light.active, .btn-light:active, .show > .btn-light.dropdown-toggle {
    color: #000;
    background-color: #dadada;
    border-color: #cfcece;
}

.btn-check:active + .btn-light:focus, .btn-check:checked + .btn-light:focus, .btn-light.active:focus, .btn-light:active:focus, .show > .btn-light.dropdown-toggle:focus {
    box-shadow: 0 0 0 0 rgba(219, 220, 222, .5)
}

.btn.disabled-force {
    pointer-events: none;
    opacity: 0.65;
}

.btn-light:hover,
.grid-view table td.action-column .btn-light:hover {
    color: #000;
    background-color: #dadada;
    border-color: #cfcece;
}

.btn-light.disabled, .btn-light:disabled, .btn-light.disabled-force,
.grid-view table td.action-column .btn-light.disabled,
.grid-view table td.action-column .btn-light:disabled {
    color: #383838;
    background-color: #ffffff;
    border-color: #e3e3e3;
}

@media (max-width: 991.98px) {
    body {
        overflow-x: hidden;
    }
}

@media (max-width: 575.98px) {
    .pro-user-name {
        display: none;
    }
}

.profile-dropdown {
    min-width: 170px
}

.profile-dropdown i {
    vertical-align: middle;
    margin-right: 5px
}

/*.nav-user {*/
/*    position: absolute;*/
/*    right: 20px;*/
/*    text-align: right;*/
/*}*/

.nav-user img {
    height: 20px;
    width: 20px;
}

.nav-user .noti-icon-badge {
    display: inline-block;
    position: absolute;
    top: 16px;
    right: 20px;
}

@media (min-width: 1200px) {
    .container-fluid {
        max-width: 95%
    }
}

.page-title-box {
    margin-top: 10px;
    margin-bottom: 15px;
}

.page-title {
    font-size: 14px;
    margin: 0
}

@media (max-width: 639px) {
    .page-title {
        display: block;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden
    }
}

.arrow-down {
    display: inline-block
}

.arrow-down:after {
    border-color: initial;
    border-style: solid;
    border-width: 0 0 1px 1px;
    content: "";
    height: .4em;
    display: inline-block;
    right: 5px;
    top: 50%;
    margin-left: 5px;
    transform: rotate(-45deg) translateY(-50%);
    transform-origin: top;
    transition: all .3s ease-out;
    width: .4em
}

.checkbox label {
    display: inline-block;
    padding-left: 8px;
    position: relative;
    font-weight: 400;
    margin-bottom: 0
}

.radio label {
    display: inline-block;
    padding-left: 8px;
    position: relative;
    font-weight: 400;
    margin-bottom: 0
}

.radio label::before {
    background-color: #fff;
    border-radius: 50%;
    border: 2px solid #6c757d;
    content: "";
    display: inline-block;
    height: 18px;
    left: 0;
    margin-left: -18px;
    position: absolute;
    transition: border .5s ease-in-out;
    width: 18px;
    outline: 0 !important
}

.radio label::after {
    background-color: #4b4b5a;
    border-radius: 50%;
    content: " ";
    display: inline-block;
    height: 10px;
    left: 6px;
    margin-left: -20px;
    position: absolute;
    top: 4px;
    transform: scale(0, 0);
    transition: transform .1s cubic-bezier(.8, -.33, .2, 1.33);
    width: 10px
}

.radio input[type=radio] {
    cursor: pointer;
    opacity: 0;
    z-index: 1;
    outline: 0 !important
}

.radio input[type=radio]:disabled + label {
    opacity: .65
}

.radio input[type=radio]:focus + label::before {
    outline-offset: -2px;
    outline: 5px auto -webkit-focus-ring-color;
    outline: thin dotted
}

.radio input[type=radio]:checked + label::after {
    transform: scale(1, 1)
}

.radio input[type=radio]:disabled + label::before {
    cursor: not-allowed
}

.radio.radio-inline {
    margin-top: 0
}

.radio.radio-single label {
    height: 17px
}

.icon-dual {
    color: #6c757d;
    fill: rgba(108, 117, 125, .12)
}

.icon-xs {
    height: 16px;
    width: 16px
}

@media print {
    nav.navbar .footer {
        display: none;
    }

    .card-body, .content-page, body {
        padding: 0;
        margin: 0
    }

    .card {
        border: none
    }
}

.page-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
}

.page-preloader:after {
    background-image: url(images/page-preloader-2.gif);
    background-size: 80px 80px;
    display: block;
    width: 80px;
    height: 80px;
    content: '';
    position: absolute;
    top: 45%;
    left: 50%;
    margin-left: -40px;
    margin-top: -40px;
}

body.authentication-bg {
    background-size: cover;
    background-repeat: no-repeat;
    padding-bottom: 0
}

[data-simplebar] {
    position: relative;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start
}

.text-sm {
    font-size: 13px;
}

.text-xs {
    font-size: 11px;
}

.text-bold {
    font-weight: 700;
}

.text-grey {
    color: #8f8f8f;
}

.badge-container {
    padding: 3px 4px;
    border-radius: 0.25rem;
}

a[data-sort]:after {
    position: relative;
    display: inline-block;
    padding-left: 3px;
    font-size: 1em;
    color: #53acf8;
}

a.asc:after {
    content: "\25BE";
}

a.desc:after {
    content: "\25B4";
}

.text-right {
    text-align: right;
}

.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-dark,
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-dark {
    color: #fff;
    background: #6c757d;
}

.bootstrap-switch.bootstrap-switch-focused {
    border-color: #cccccc !important;
}

.text-disabled {
    opacity: 0.6;
}

.form-check-input {
    margin-top: 2px;
}

.form-check-input.is-archive-checkbox {
    float: right;
    margin-left: 0.35em;
}

.form-check label {
    font-weight: 400;
    font-size: 13px;
}

.form-check-input.is-valid, .was-validated .form-check-input:valid {
    border: 1px solid rgba(0, 0, 0, .25);
    box-shadow: 0 0 0 0.25rem rgba(187, 232, 255, 0.25) !important;
}

.form-check-input:checked,
.form-check-input.is-valid:checked, .was-validated .form-check-input:valid:checked {
    background-color: #53acf8;
    border-color: #53acf8;
}

.form-control:disabled, .form-control[readonly] {
    background-color: #f7f7f7;
    opacity: 1;
}

.form-control[readonly] {
    background-color: #fff;
    opacity: 1;
}

.form-control[readonly]:disabled {
    background-color: #f7f7f7;
    opacity: 1;
}

.form-control:focus,
.form-control.focused {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-check-input.is-valid ~ .form-check-label, .was-validated .form-check-input:valid ~ .form-check-label {
    color: inherit;
}

.nav-pills {
    padding: 3px 0;
    background: #fff;
}

@media (min-width: 992px) {
    .modal-lg {
        max-width: 750px
    }

    .modal-lg2 {
        max-width: 880px
    }

    .modal-xl {
        max-width: 1280px;
    }

    .modal-xxl {
        max-width: 1680px;
    }

    .modal-dynamical {
        max-width: 1200px;
        --bs-modal-width: 1200px;
    }

    .modal-table {
        max-width: 450px;
        --bs-modal-width: 450px;
    }
}

.form-control {
    padding: 0.25rem 0.8rem;
    font-size: 13px;
    border-radius: 0.25rem;
}

.form-select, select.form-control {
    font-size: 13px;
    padding: 0.3rem 1.35rem 0.3rem 0.5rem;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.2rem center;
    background-size: 14px 10px;
    border-radius: 0.25rem;
    color: #000;
}

.was-validated .form-select:valid:not([multiple]):not([size]),
.was-validated .form-select:valid:not([multiple])[size="1"],
.form-select.is-valid:not([multiple]):not([size]),
.form-select.is-valid:not([multiple])[size="1"] {
    background-position: right 0.2rem center;
    background-size: 14px 10px;
}

table.multiple-input-list.table-renderer tr > td:last-child {
    text-align: center;
}

.multiple-input-list .multiple-input-list {
    margin-top: 0 !important;
}

.multiple-input-list thead tr {
    text-align: center;
    vertical-align: middle;
}

.multiple-input-list thead th {
    padding: 0.1rem 0.15rem;
    font-size: 13px;
}

.multiple-input-list .list-cell__value {
    width: 100%;
}

.multiple-input-list .list-cell__emails,
.multiple-input-list .list-cell__phones {
    padding-top: 2px;
}

.multiple-input-list__item {
    margin-bottom: 0;
    border-bottom: 1px solid #cfcece;
}

.multiple-input-list__item:last-child {
    border-bottom: none;
}

.multiple-input-list__item .multiple-input-list__item {
    border-bottom: none;
}

.multiple-input-list__item td {
    vertical-align: middle;
    padding: 0.15rem 0.25rem;
}

.multiple-input-list .list-cell__button {
    text-align: center;
    vertical-align: middle;
    padding: 0;
}

.krajee-default .file-caption-info, .krajee-default .file-size-info {
    height: 20px;
}

.select2-container {
    width: 100% !important;
}

.select2-search__field {
    width: 100% !important;
}

.select2-container--krajee-bs5 .select2-selection--multiple .select2-selection__choice {
    font-size: 13px !important;
}

.select2-container--bootstrap .select2-results__option[aria-selected=true] {
    background-color: #e3e3e3 !important;
}

.select2-container--bootstrap .select2-results__option--highlighted[aria-selected] {
    background-color: #e3e3e3 !important;
    color: #262626 !important;
}

.select2-container--bootstrap .select2-selection--multiple .select2-search--inline .select2-search__field {
    padding: 10px !important;
    padding-left: 10px !important;
    padding-top: 15px !important;
    min-height: 30px !important;
    height: 30px !important;
    line-height: 1 !important;
    min-width: 20rem !important;
    font-size: 13px;
}

.select2-container--bootstrap .select2-selection--multiple .select2-selection__clear {
    margin-top: -8px !important;
    right: 2px !important;
    font-size: 20px !important;
}

.select2-container--bootstrap .select2-selection--single {
    height: 30px !important;
    line-height: 1 !important;
    padding: 7px 15px 6px 6px !important;
    font-size: 13px !important;
    font-family: "PT Sans", sans-serif !important;
}

.select2-container--bootstrap .select2-selection--single .select2-selection__clear {
    right: 0 !important;
    top: -3px !important;
}

.select2-container--bootstrap .select2-selection--multiple .select2-selection__choice {
    color: #222 !important;
    font-size: 12px !important;
    white-space: normal !important;
    margin: 5px 0 0 6px !important;
}

.select2-container--bootstrap .select2-results > .select2-results__options {
    overflow-x: hidden !important;
    font-size: 12px;
}

.select2-container--bootstrap.select2-container--disabled .select2-selection,
.select2-container--bootstrap.select2-container--disabled .select2-selection--multiple .select2-selection__choice {
    background-color: #f7f7f7 !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    display: initial !important;
}

.select2-container--bootstrap .select2-selection--single .select2-selection__rendered {
    color: #222 !important;
    font-size: 12px !important;
    display: block !important;
    white-space: nowrap !important;
    margin: 5px 5px 0 6px !important;
    margin-top: 1px !important;
    margin-left: 2px !important;
}

.select2-container--bootstrap .select2-selection--single .select2-selection__arrow b {
    margin-left: 0 !important;
}

.notification-message {
    position: fixed;
    bottom: 50px;
    right: 25px;
    width: 250px;
    display: none;
    opacity: 0.8;
    background-color: #e9e9e9;
    color: #000;
    text-align: center;
    border: 1px solid #d1d1d1;
    font-size: 13px;
    padding: 10px;
    border-radius: 3px;
    z-index: 10510000;
}

@media (max-width: 768px) {
    .notification-message {
        top: 15%;
        right: 0;
        margin-left: 0;
        margin-top: 0;
        width: 100%;
    }
}

.pagination {
    margin-top: 10px;
}

.pagination li span {
    padding: 0.25rem 0.4rem;
    position: relative;
    display: block;
    color: #000;
    background-color: #fff;
    font-size: 14px;
}

.pagination li.active a {
    background-color: #bee6fd;
    border-color: #bee6fd;
    color: #fff;
    padding: 0.2rem 0.5rem;
}

.pagination li.active span {
    background-color: #bee6fd;
    border-color: #bee6fd;
    color: #000;
    padding: 0.2rem 0.5rem;
}

.pagination .page-link {
    padding: 0.2rem 0.5rem;
    font-size: 14px;
    color: #000;
}

.pagination .page-link:focus {
    box-shadow: none;
}

.pagination .prev.disabled,
.pagination .next.disabled {
    display: none;
}

.tab-content {
    padding: 1rem !important;
}

.three-check-checked,
.three-check-unchecked {
    width: 14px;
    height: 14px;
    margin: 1px;
    border-radius: 2px
}

.three-check-checked {
    background-color: black;
}

.three-check-unchecked {
    background-color: #989898;
}

.nav-link:focus, .nav-link:hover {
    color: rgba(0, 0, 0, .7);
}

.grid-view {
    background-color: #fff;
}

.grid-view .grid-table {
    font-size: 13px;
    display: inline-block;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    -webkit-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    border-collapse: collapse;
    scrollbar-gutter: stable;
}

.grid-table td .form-control {
    padding: 0.15rem 0.6rem;
    font-size: 13px;
}

.grid-view .header-table {
    font-size: 13px;
    position: sticky;
    top: 0;
    z-index: 2;
    background-clip: padding-box;
}

.grid-view .header-table .filters td {
    background-color: #fff;
}

.grid-view .filters input {
    font-size: 13px;
    padding: 0.3rem 0.2rem;
}

.grid-view .filters input:focus {
    border-color: #7d858a;
    outline: 0;
    box-shadow: 0 0 0 5px rgba(140, 140, 140, 0.25);
}

.grid-view table td,
.grid-view table th {
    vertical-align: middle;
    padding: 0.1rem 0.15rem;
    word-break: break-word;
}


.grid-view table td {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    padding: 3px 5px;
}

.grid-view table tr.selected-row td,
.grid-view table td.normal-white-space {
    overflow: auto;
    white-space: normal;
    -ms-text-overflow: inherit;
    text-overflow: inherit;
}

.grid-view table td.action-column {
    text-align: center;
    padding: 0;
}

.grid-view table td.action-column .btn {
    border-radius: 0;
}

.grid-view table tr.empty-row {
    max-width: 200px;
    display: none;
}

/*.grid-view table td.text-right {*/
/*    padding-right: 5px;*/
/*}*/

.grid-view table .filters td {
    padding: 0.1rem 0.1rem;
}

.grid-view .empty-row, .grid-view .empty-row td {
    border: none;
}

.table {
    width: auto;
}

.table-100 {
    width: 100%;
}

table th {
    text-align: center;
    font-weight: 400;
    background-color: #e9e9e9 !important;
    vertical-align: middle;
}

table tfoot td {
    background-color: #f3f3f3 !important;
    vertical-align: middle;
}

.nav-pills > li > a, .nav-tabs > li > a {
    font-weight: 400;
}

.grid-view .summary {
    margin-bottom: 5px;
    display: flex;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
}

.grid-view .grid-bottom-block {
    display: flex;
    box-sizing: border-box;
    justify-content: space-between;
    border-top: 1px solid #e9e9e9;
}

.grid-view .form-block {
    margin-top: 15px;
}

.spinner {
    color: #464646;
}

.was-validated .form-select:valid:not([multiple]):not([size]),
.was-validated .form-select:valid:not([multiple])[size="1"],
.form-select.is-valid:not([multiple]):not([size]),
.form-select.is-valid:not([multiple])[size="1"] {
    padding-right: 0;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

tr.highlight-row,
tr.selected-modal-raw {
    background-color: #ddefff;
}

tr.highlight-row.bg-row-danger {
    background-color: #ffdee2;
}

tr.highlight-row.bg-row-danger-light {
    background-color: #ffecf0;
}

tr.highlight-row.bg-row-warning {
    background-color: #fff4d6;
}

tr.archive-row td {
    color: red;
}

.text-danger {
    color: red !important;
}

tr.selected-row,
tr.highlight-row.selected-row {
    background-color: #0078d7;
    color: #fff;
}

tr.selected-row td::selection,
tr.selected-row div::selection {
    background: #2f2f2f !important;
    color: #fff !important;
}

tr.selected-row td.action-column,
tr.highlight-row td.action-column,
tr.selected-modal-raw td.action-column,
tr.selected-row td.no-select-row,
tr.highlight-row td.no-select-row,
tr.selected-modal-raw td.no-select-row {
    background-color: #fff;
    color: #000;
}

tr.selected-row.archive-row td,
tr.selected-row td .text-danger,
tr.selected-row td.text-danger {
    color: #fff0f0 !important;
}

tr.selected-row td.no-select-row.text-danger,
tr.selected-row td.no-select-row .text-danger {
    color: red !important;
}

tr.selected-row a.color-link {
    color: #fff;
}

tr.selected-row a.color-link:hover {
    color: #cecece;
}

.table-inline td {
    overflow: hidden;
    white-space: nowrap;
    padding: 0.2rem 0.25rem;
}

.table-inline td.normal-white-space,
.table td .invalid-feedback {
    white-space: normal;
}

.grid-view .filters .range-value {
    font-size: 10px;
    padding: 0 0.25rem;
    padding-right: 20px;
    height: 30px;
    min-height: 30px;
    resize: none;
    overflow: hidden;
    line-height: 0.85rem;
}

.daterangepicker .calendar-table th, .daterangepicker .calendar-table td {
    border-radius: 0;
}

.kv-drp-dropdown .kv-clear {
    font-size: 1rem !important;
    right: 0.2rem !important;
    line-height: 1rem !important;
}

.decimal-none {
    padding-right: 18px;
}

.decimal-1 {
    padding-right: 6px;
}

.decimal-2 {
    padding-right: 0;
}

.form-submit-btn,
.btn.loading {
    position: relative;
}

.form-submit-btn.loading::after,
.btn.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border: 4px solid transparent;
    border-top-color: #0d6efd;
    border-radius: 50%;
    animation: button-loading-spinner 1s ease infinite;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }
    to {
        transform: rotate(1turn);
    }
}

.input-group .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.structure-table td {
    border: none;
}

.structure-table td:nth-child(n + 1):nth-child(-n + 4),
.structure-table th:nth-child(n + 1):nth-child(-n + 4) {
    border: 1px solid #8a8a8a;
}

.table-specification-structure {
    max-height: 768px;
}

.table-specification-structure td,
.table-specification-structure th {
    padding: 1px 5px;
    font-size: 12px;
}

.table-specification-structure .specification-name {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

.table-specification-structure th {
    background-color: #c9c9c9 !important;
}

.table-specification-structure .form-control {
    padding: 0.05rem 0.25rem;
    font-size: 11px;
    border-radius: 0.15rem;
}

.table-specification-structure .structure-comment-th,
.table-specification-structure .structure-comment-td {
    display: none;
}

.limit-header {
    font-size: 12px;
}

.limit-header div.border-bottom {
    border-bottom: 1px solid #d3d3d3 !important;
}

.limit-header .form-control {
    padding: 0.1rem 0.25rem;
    font-size: 12px;
    border-radius: 0.15rem;
}

.table-nomenclature-attribute .form-control,
.table-nomenclature-attribute .form-select {
    padding: 0.15rem 0.5rem;
    font-size: 13px;
}

.table-sm {
    font-size: 13px;
}

.table-xs {
    font-size: 11px;
}

.reset-filter-btn {
    padding: 0.05rem 0.15rem;
    font-size: .7rem;
}

td.action-column .reset-filter-btn {
    padding: 0.27rem 0.15rem;
}

.carousel-indicators {
    margin-bottom: 0;
    margin-top: 30px;
    bottom: inherit;
}

.carousel-control-prev, .carousel-control-next {
    align-items: inherit;
    width: 5%;
    bottom: inherit;
}

.select-number-checkbox {
    width: 16px;
    height: 16px;
    margin-top: 1px;
    border: 1px solid rgb(0 0 0 / 50%);
}

.select-number-checkbox:disabled {
    opacity: 0.25;
}

.module-item-serial:disabled {
    background-color: #e7e7e7;
    opacity: 0.7;
}

.sn-icon-text {
    font-size: 10px;
    font-weight: bold;
}

.form-control.route-serial-number {
    display: inline-block !important;
    width: 145px;
}

.ui-widget {
    font-family: "PT Sans", sans-serif !important;
    font-size: 13px !important;
}

.ui-menu .ui-menu-item-wrapper {
    padding: 5px 12px !important;
}

textarea.textarea-100 {
    max-width: 100%;
    min-width: 100%;
    min-height: 150px;
    max-height: 150px;
}

textarea.textarea-100-half {
    max-width: 100%;
    min-width: 100%;
    min-height: 100px;
    max-height: 150px;
}

.repair-table .header-table,
.repair-table .grid-table {
    font-size: 12px;
}

.repair-table .btn-xs {
    font-size: .7rem;
    border-radius: 0.2rem;
    padding: 0.1rem 0.25rem;
}

.repair-table td .form-control,
.repair-table .form-control,
.repair-table .form-select {
    padding: 0.35rem 0.4rem;
    font-size: 11px;
}

.repair-table .form-control.is-valid {
    background-image: none;
}

.repair-table div.child-row {
    display: table-row;
}

.repair-table .column-block {
    display: table-cell;
    border: 1px solid #dfdfdf;
    padding: 2px 3px;
    vertical-align: middle;
}

.repair-table .inner-column-block {
    display: table-cell;
    padding: 1px 2px;
    vertical-align: middle;
}

.repair-table table td {
    white-space: normal;
    -ms-text-overflow: inherit;
    text-overflow: inherit;
    padding: 2px 3px;
}

.repair-table .invalid-feedback {
    margin-top: 0.1rem;
    font-size: 10px;
}

.repair-table .was-validated .form-control:valid,
.repair-table .form-control.is-valid,
.repair-table .was-validated .form-select:valid,
.repair-table .form-select.is-valid {
    border-color: #ced4da;
}

.form-control.serial-number-year.is-valid {
    padding-right: 0;
    background-image: none;
}

#notice-form .document-block .btn-xs {
    font-size: .75rem;
    border-radius: 0.1rem;
    padding: 0 0.25rem;
}

.invalid-feedback {
    word-break: break-word;
}

.saved-document a {
    word-break: break-word;
}

#contract-spec-form .table .form-label {
    margin-bottom: 0.5rem !important;
}

#contract-spec-form .table div.mb-2 {
    margin-bottom: 0 !important;
}

#contract-spec-form .table .form-control {
    padding: 0.25rem 0.5rem;
}

#contract-spec-form .table .form-control.is-valid,
#contract-spec-form .table .form-control.is-invalid {
    padding-right: 0.5rem;
    background-image: none;
}

.contract-spec-params-table .form-check {
    min-height: auto;
}

.grid-view table tr.selected-row td.contract-table-td,
.grid-view table tr.selected-row td.invoice-payment-td {
    overflow: hidden;
}

.grid-view table tr.selected-row td.contract-table-td td,
.grid-view table tr.selected-row td.invoice-payment-td td {
    color: #fff;
}

.invoice-payment-table,
.contract-table-product {
    min-height: 25px;
}

.table-bordered.contract-table-product > :not(caption) > *,
.table-bordered.invoice-payment-table > :not(caption) > * {
    border-top: 0;
}

.table-bordered.contract-table-product > :not(caption) > *:last-child,
.table-bordered.invoice-payment-table > :not(caption) > *:last-child {
    border-bottom: 0;
}

.table-bordered.contract-table-product td:last-child,
.table-bordered.invoice-payment-table td:last-child {
    border-right: 0;
}

.table-bordered.contract-table-product > :not(caption) > * td:first-child,
.table-bordered.invoice-payment-table > :not(caption) > * td:first-child {
    border-left: 0;
}

.back-light-green {
    background-color: #f2fff2 !important;
}

.selected-row .back-light-green,
.selected-row.back-light-green {
    background-color: #0078d7 !important;
    color: #fff;
}

@media print {
    .print-link {
        display: none;
    }

    .text-xs {
        font-size: 9px;
        color: #343434;
    }
}

.print-serial-column {
    display: inline-table;
}

.print-serial-item {
    padding: 5px;
    width: 117px;
    max-width: 117px;
    border: 1px solid #dee2e6;
    display: inline-block;
    margin: -2px -2px 1px;
    font-size: 12px;
}

.print-serial-item.d-block {
    display: block;
}

.vertical-align-middle {
    padding-top: 27px;
}

#grid-view-pjax .show-modal-link,
#grid-view-pjax .show-detail-mode {
    pointer-events: none;
}

.header-footer th,
.header-footer td {
    background-color: #ecf8ff !important;
    font-size: 12px;
}

.tDnD_whileDrag td {
    background-color: #eee;
    -webkit-box-shadow: 6px 3px 5px #555, 0 1px 0 #ccc inset, 0 -1px 0 #ccc inset;
}

.dragHandle {
    cursor: move;
}

.grid-table .form-check {
    min-height: inherit;
}

.custom-file-input {
    color: transparent;
    padding: 0;
}

.custom-file-input::-webkit-file-upload-button {
    visibility: hidden;
}

.custom-file-input::before {
    content: 'Выбрать файл';
    color: black;
    display: inline-block;
    background: #e9e9e9;
    border-radius: 3px;
    padding: 3px 10px;
    outline: none;
    white-space: nowrap;
    -webkit-user-select: none;
    cursor: pointer;
}

th.sortable-th:has(a[data-sort]),
th.toggle-header:has(i),
td.clickable-td {
    cursor: pointer;
}

th.sortable-th:has(a[data-sort]):hover,
th.toggle-header:has(i):hover,
td.clickable-td:has(a):hover {
    background-color: #f1f1f1 !important;
}

@-moz-document url-prefix() {
    .custom-file-input {
        padding: 3px 10px;
    }

    th.sortable-th,
    td.clickable-td {
        cursor: pointer;
    }

    th.sortable-th:hover {
        background-color: #f1f1f1 !important;
    }
}

.grid-table tr .content-block {
    max-height: 34px;
    white-space: normal;
}

.grid-table tr.selected-row .content-block {
    max-height: inherit;
}

input.nomenclature-quantity,
input.consumption-stock-quantity,
#contract-spec-form .table .form-control {
    text-align: right;
}

input.nomenclature-quantity.is-valid,
input.consumption-stock-quantity.is-valid,
input.nomenclature-quantity.is-invalid,
input.consumption-stock-quantity.is-invalid {
    background-image: none;
}

#contract-list .header-table,
#contract-list .grid-table,
#invoice-list .header-table,
#invoice-list .grid-table,
.contract-table-product,
.invoice-payment-table {
    font-size: 12px;
}

#collect-list .contract-table-product {
    font-size: 13px;
}

#contract-list .filters input,
#contract-list .form-select,
#contract-list select.form-control,
#invoice-list .filters input,
#invoice-list .form-select,
#invoice-list select.form-control {
    font-size: 12px;
}

#contract-list .filters .range-value,
#invoice-list .filters .range-value {
    font-size: 9px;
    padding-right: 15px;
}

#invoice-list .btn-xs {
    font-size: .75rem;
    padding: 0.1rem 0.25rem;
}

#invoice-list .footer-block {
    padding-right: 2px;
    font-size: 10.5px;
}

#invoice-list table td {
    padding: 1px 5px;
}

#invoice-list table td.action-column {
    padding: 0;
}

#invoice-list tr.filters td {
    padding: 1px 2px;
}

tr.filters .select2-container .select2-selection--multiple .select2-selection__rendered {
    display: block;
    font-size: 12px;
    max-height: 72px;
    overflow-y: auto;
}

tr.filters .select2-container--bootstrap .select2-selection--multiple {
    min-height: 30px;
}

tr.filters .select2-container--bootstrap .select2-selection--multiple .select2-selection__choice {
    font-size: 11px !important;
    margin: 2px 0 0 4px !important;
}

.payment-data-block .grid-view table th {
    padding-right: 0.3rem;
}

.toast {
    --bs-toast-max-width: 400px;
    --bs-toast-bg: rgba(255, 255, 255, 1);
}

.movement-stock-quantity.is-valid,
.movement-stock-quantity.is-invalid {
    background-image: none;
}

.control-parent-row td.weight-column {
    font-weight: bold;
}

.control-child-row td.name-column {
    padding-left: 40px;
}

.justify-content {
    display: flex;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
}

.additional-column.sortable-th,
.incoming-column.sortable-th {
    background-color: #f5f5f5 !important;
}

#control-product-position-grid-1 .grid-table td .form-control,
#control-product-position-grid-2 .grid-table td .form-control {
    font-size: 12px;
    padding: 0.2rem 0.4rem;
}

.incoming-column input {
    text-align: right;
}

.grid-view table td.has-input-field {
    padding: 0.05rem 0.1rem;
}

.tooltip.show {
    opacity: 1 !important;
}

.tooltip-inner {
    text-align: left !important;
    max-width: 320px;
    width: 320px;
    font-size: 12px;
    background-color: #3a3a3a;
    box-shadow: 0 0 5px #9a9a9a;
    opacity: 1 !important;
    /*color: black;*/
}

.tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #4a4a4a !important;
}

.btn.border-none {
    border-radius: 0;
}

.repair-history-table {
    padding: 0;
    overflow: hidden !important;
}

.repair-history-table table {
    overflow: hidden;
}

#invoice-list .invoice-cancelled-row {
    background-color: #c9c9c9;
}

#invoice-list .invoice-paid-row {
    background-color: #f9f9f9;
}

#invoice-list .invoice-part-received-row {
    background-color: #bcfffb;
}

#invoice-list .invoice-full-received-row {
    background-color: #E2EFDA;
}

#invoice-list .selected-row.invoice-cancelled-row,
#invoice-list .selected-row.invoice-paid-row,
#invoice-list .selected-row .invoice-paid-row,
#invoice-list .selected-row .invoice-cancelled-row,
#invoice-list .selected-row .invoice-part-received-row,
#invoice-list .selected-row .invoice-full-received-row {
    background-color: #0078d7 !important;
    color: #fff;
}

#invoice-list .invoice-payment-td,
#invoice-list .main-block,
.is-read-user #invoice-list tr td:nth-child(8),
.is-read-user #invoice-list tr th:nth-child(3),
.is-read-user #invoice-list tr th:nth-child(10) {
    border-right: 3px solid #ffffff;
}

.invoice-cancelled-row .btn.disabled {
    opacity: 0.15;
}

.grid-color-label {
    width: 20px;
    height: 20px;
    display: inline-block;
    border: 1px solid lightgrey;
}

.grid-color-label.sm-label {
    width: 14px;
    height: 14px;
}

.field-invoicepositionform-name .select2-container--bootstrap .select2-selection--single {
    height: auto !important;
    min-height: 30px;
}

.field-invoicepositionform-name .select2-container--bootstrap .select2-selection--single .select2-selection__rendered {
    white-space: normal !important;
    word-break: break-word;
}

.grid-view table td.none-white-space,
.grid-view table tr.selected-row td.none-white-space {
    white-space: nowrap;
    overflow: hidden;
}

.without-borders .multiple-input-list__item {
    border-bottom: 0;
}

.manage-limit-columns .btn-xs {
    padding: 0 .2rem;
}

.grid-view table td.min-padding-td {
    padding: 1px 0
}

.no-padding-td {
    padding: 0 !important;
}

.no-padding-td .has-input-field {
    padding: 3px !important;
    height: 34px;
}

.overflow-header-column {
    overflow-x: auto;
    display: inline-block;
}

.overflow-header-sync {
    display: inline-block;
}

.column-value-input[data-counter="reserve"] {
    width: 85px;
    display: inline-block;
    margin-right: 5px;
}

#plan-position-grid.grid-view table th {
    font-size: 11px;
}

#plan-position-grid.grid-view table td {
    font-size: 12px;
}

#plan-position-grid .grid-table td .form-control {
    padding: 0.1rem 0.25rem;
    text-align: right;
}

#plan-position-grid.grid-view table th:not(.sortable-th) {
    background-color: #f5f5f5;
}

#plan-position-grid.grid-view .grid-table .left-quantity {
    color: #0070C0;
}

.grid-view .light-grey-column {
    background-color: #F2F2F2;
}

#plan-position-grid .grid-table .dark-grey-column {
    background-color: #D9D9D9;
    font-weight: bold;
}

#plan-position-grid .selected-row .dark-grey-column,
.grid-view .selected-row .light-grey-column,
#plan-position-grid.grid-view .grid-table .selected-row .left-quantity {
    background-color: #0078d7;
    color: #fff;
}

#plan-position-grid .action-column,
#plan-position-grid .dark-grey-column,
#plan-position-grid .initial-column-last,
#plan-position-grid .left-quantity,
#plan-position-grid .not-plan-quantity {
    border-right: 1px solid #a5a5a5;
}

#plan-position-grid .need-quantity,
#plan-position-grid .filters .not-plan-quantity {
    border-top: 1px solid #9e9e9e;
}

#route-map-form .form-check {
    padding-left: 0;
}

.ui-sortable-helper {
    display: none !important;
}

.ui-sortable-placeholder {
    opacity: 1 !important;
    display: table-row !important;
    visibility: visible !important;
    height: 30px;
    background-color: #f1f1f1;
    color: black !important;
}

.drag-handle {
    cursor: move;
}

#cost-spec-operation-grid .operations-group tr.ui-sortable-helper td {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}