.modal-add .modal-body-add {
    top: 50%;
    position: absolute !important;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0 !important;
    max-height: 80vh;
    overflow: auto;
}

.modal-add .modal-body-add .modal-body form {
    box-shadow: none !important;
}

.form_inner {
    padding: 5px 10px;
}

.min-w-full {
    width: 100%;
}

[class*=sidebar-dark-] .nav-treeview > .nav-item > .nav-link.active, [class*=sidebar-dark-] .nav-treeview > .nav-item > .nav-link.active:focus, [class*=sidebar-dark-] .nav-treeview > .nav-item > .nav-link.active:hover {
    background-color: rgba(255, 255, 255, .9);
    color: #343a40;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);
}

th.dsad.text-left.text-xs.font-medium.text-gray-300 a:hover {
    color: unset;
    text-decoration: underline;
}

.dark-mode {
    background-color: #1f2937 !important;
    color: #fff;
}

.content-wrapper {
    background-color: #fff !important;
}

.dark-mode .content-wrapper {
    background-color: #111827 !important;
}


/* Стили для checkbox */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider::before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider::before {
    transform: translateX(26px);
}

.select_theme.h-screen {
    height: 80px;
}

.select_theme {
    background: transparent !important;
}

.status-row:hover {
    cursor: pointer;
    background: #eeeeee;
}

.dark-mode .status-row:hover {
    cursor: pointer;
    background: #202d4a;
}

img.icon_doc {
    max-width: 25px;
    max-height: 25px;
}

.edit_button {
    display: flex;
    justify-content: flex-end;
}

.select2-container .select2-selection--single {
    height: auto;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 50%;
    transform: translateY(-50%);
}

.prop_header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.modal-body-add {
    background: #fff;
}
.dark-mode .modal-body-add {
    background: rgb(31 41 55 / var(--tw-bg-opacity, 1));
}
.modal-add {
    top: 0px;
}
.close span{
    color: #1f2937;
}
.dark-mode .close span{
    color: #fff;
}

aside.main-sidebar aside {
    width: 100%;
}
aside.main-sidebar {
    box-shadow: 9px -12px 20px 0px rgba(0, 0, 0, .22) !important;
}
ul.nav.nav-pills.nav-sidebar.flex-column {
    padding: 0 5px;
}
.logo.inline-flex.items-center.login_text {
    width: 100%;
    justify-content: center;
    margin: 20px 0px 10px;
}
.table-striped tr a {
    display: flex;
    gap: 10px;
}

aside.main-sidebar aside::-webkit-scrollbar {
    width: 2px;
}
aside.main-sidebar aside::-webkit-scrollbar-track {
    background: #0000002b;
}
aside.main-sidebar aside::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 100px;
}
.dark-mode .nav-pills .nav-link{
    color: #fff;
}
.dark-mode a:not(.btn):hover {
    color: #000;
}
/*
ul.nav.nav-treeview a.nav-link.active {
    color: #343a40;
    background: rgba(255,255,255,.9);
}*/
.formated_othcet .small-box>.inner {
    display: block;
    height: 100%;
    width: 100%;
}
.formated_othcet .small-box .icon>i.fas{
    font-size: 50px;
    top: 20px;
}

.table td, .table th {
    padding: 5px;
}
tr.status-row.even.active {
    background-color: #454d55;
    color: #fff;
}

.reestr-filter-export .select2-container {
    display: block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-clip: padding-box;
    border: 1px solid #6c757d;
    border-radius: .25rem;
    box-shadow: inset 0 0 0 transparent;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
a.btn.btn-primary.mb-2.success_add_form{
    color:#fff !important;
}
/*
.select2-container:before {
    content: '';
    position: absolute;
    right: 10px;
    font-family: math;
    font-weight: bold;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") right .75rem center/8px 10px no-repeat;
    width: 32px;
    height: 100%;
    display: block;
    top: 0;
}*/
.select2.disabled-field {
    pointer-events: none !important;
}

.disabled-field > span{
    color: #fff !important;
}
.disabled-field .select2-container--default .select2-selection--single .select2-selection__rendered{
    color: #fff !important;
}
td {
    position: relative;
}
table.table.table-striped i.fa.fa-calendar {
    position: absolute;
    top: 24px;
    transform: translateY(-50%);
    right: 20px;
}

div#modalOverlay {
    height: 100%;
    position: absolute;
}

.dark-mode a:not(.btn):hover {
    color: #3395ff;
}

.modal-header {
    border: none !IMPORTANT;
}
.modal-body div#modalContent {
    position: absolute;
    bottom: 10%;
    top: unset;
}
.disabled-field span.select2-selection__arrow {
    display: none !important;
}

.table > :not(caption) > * > * {
    width: auto;
}
a.sort-header {
    white-space: nowrap;
}
tr.status-row.odd.active {
    background-color: #454d55;
    color: #fff;
}