.big-modal {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0px !important;
}

.modal.show {
    background: rgba(0, 0, 0, 0.3);
}

.imageuploadify {
    width: 100%;
    max-width: 100%;
}

.kv-file-rotate, .kv-file-zoom {
    display: none !important;
}

#modalImageUser .carousel-item img {
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.file-drop-zone {
    border: 1px solid #999 !important;
    height: 288px !important;
}

.file-drop-zone.clickable:hover {
    border: 1px solid #999 !important;
}

.fileinput-remove, .fileinput-cancel-button {
    display: none !important;
}

.user_photo_table {
    width: auto;
    object-fit: cover;
    height: 30px;
}

.thumbnail {
    border: 1px solid #ccc;
    width: 100%;
    border-radius: 4px;
}

.carousel_empty_block {
    min-height: 290px;
}

.carousel-item {
    min-height: 290px;
}

.photo_block {
    margin-left: auto;
    margin-right: auto;
    max-height: 290px !important;
    height: 290px !important;
    max-width: 290px !important;
    width: 290px !important;
}

.photo_block.slide .carousel-item img {
    object-fit: contain;
    min-height: 100%;
    max-width: 100%;
}

.photo_block .thumbnail > img {
    object-fit: contain;
    min-height: 290px;
    max-width: 100%;
}

.photo_block:hover {
    cursor: pointer;
    opacity: 0.8;
}

#modalImage .modal-body {
    max-height: 800px !important;
    overflow: hidden;
    justify-content: center;
}

#modalImage img {
    width: 100%;
    height: 600px;
}

.carousel-control.left {
    background-image: none !important;
}

.carousel-control.right {
    background-image: none !important;
}

.thumbnail > img {
    object-fit: contain;
    min-height: 150px;
    max-width: 100%;
}

.bootstrap-dialog {
    z-index: 999999999 !important;
}

.bootstrap-dialog .modal-header {
    display: none;
}

.bootstrap-dialog-message {
    text-align: center;
}

.bootstrap-dialog-header {
    display: contents;
}

.required:before {
    color: red;
    content: "*";
}

.icon_field_position {
    height: 25px;
    margin-left: 3px;
    margin-top: 5px;
}

.btn.superclass {
    padding: 3px 3px !important;
    width: 19px !important;
    height: 19px !important;
}

.superclass {
    display: inline-grid !important;
}

ul.fancytree-container {
    border: none !important;
}

.dataTables_filter {
    display: none;
}

.dataTables_length {
    display: none;
}

table > tbody > tr.selected > * {
    box-shadow: inset 0 0 0 9999px rgb(13, 110, 253);
    color: rgb(255, 255, 255);
}

.dataTable td {
    white-space: nowrap;
    overflow: hidden; /* Обрезаем все, что не помещается в область */
    text-overflow: ellipsis; /* Добавляем многоточие */
    max-width: 50px;
    font-size: 0.93rem;
    font-weight: 400;
    line-height: 1.49;
}

.status_msg {
    width: 190px !important;
}

.choices__list {
    z-index: 22;
}

/*мультиселект css*/
.multiselect-native-select .btn {
    background: white;
    text-align: center !important;
    border: 1px solid #ccc;
}

.multiselect-item label {
    color: black;
    padding: 3px 0 3px 30px;
}

.multiselect-container > li > a > label {
    margin: 0;
    height: 100%;
    cursor: pointer;
    font-weight: 400;
    padding: 5px 6px 0 7px;
}

.multiselect-container {
    position: absolute;
    list-style-type: none;
    margin: 0;
    padding: 0
}

.level_form_label {
    padding-left: 1rem;
    line-height: 2.1;
    text-transform: uppercase;
    margin-bottom: 0;
    font-size: 0.64rem;
    font-weight: 700;
    color: #525b75;
}

.level_form_link {
    padding-left: 1rem;
    line-height: 2.1;
    text-transform: uppercase;
    margin-bottom: 0;
    font-size: 0.64rem;
    font-weight: 700;
}

@media (min-width: 992px) {
    .navbar-horizontal .navbar-top.navbar-expand-lg ~ .content,
    .dual-nav .navbar-top.navbar-expand-lg ~ .content, .navbar-combo .navbar-top.navbar-expand-lg ~ .content {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

.head_reference .select_page {
    width: 49px;
}

.head_reference .select_page .form-control {
    padding: unset;
    text-align: center;
}

.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
   text-decoration: underline;
}

.tab_icon{
    font-size: 9px;
}

.form-floating > .form-control, .form-floating > .form-control-plaintext, .form-floating > .form-select {
    min-height: calc(2.5rem + calc(1px * 2));
}

.form_fs_text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--phoenix-gray-700);
}

.numInputWrapper .numInput{
    color: #222834;
}

.multiselect-container {
    min-width: max-content;
}

.select_item_ul{
    box-sizing: border-box;
    list-style: none;
    margin: 0;
    padding: 0 5px;
    width: 100%;
}
.select_item_ul .select_item_li .remove_li:hover{
    opacity: 0.8;
}

.choices__item[data-value="reference"] {
   font-weight: bold;
}
.tree_folders{
    min-height: calc(26px + 79.5vh);
}
#modalCounterpatyMultiReference .CounterpartiesTree{
    border: 1px solid #ccc;
    border-radius: 4px;
    height: calc(100vh - 97px);
    overflow: auto
}

#modalCounterpatyMultiReference .counterparty_table_block{
    margin-top: -6px;
}

#modalCounterpatyMultiReference .tree_folders{
    margin-left: -8.23px;
    min-height: calc(100vh - 97px) !important;
}

.multiselect{
    max-width: 150px !important;
    width: 150px !important;
}

a.disabled {
    color: gray !important;
    pointer-events: none !important;
}