body.dark-mode {
    background-color: #151719;
}
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode p,
body.dark-mode .breadcrumb-item.active {
    color: #e0e0e0;
}
body.dark-mode h1::before,
body.dark-mode h2::before,
body.dark-mode h3::before,
body.dark-mode h4::before,
body.dark-mode h5::before,
body.dark-mode h6::before,
body.dark-mode p::before,
body.dark-mode .breadcrumb-item.active::before {
    color: #e0e0e0;
}
body.dark-mode .fa {
    color: #55a7ff;
}
body.dark-mode .btn-outline-primary {
    color: #55a7ff;
    border-color: #55a7ff;
}
body.dark-mode .page-link {
    color: #55a7ff;
    border-color: #55a7ff !important;
}
body.dark-mode .page-item.active .page-link {
    background: #55a7ff;
    border-color: #55a7ff;
}
body.dark-mode table a {
    color: #55a7ff;
}
body.dark-mode table .btn-primary {
    color: white;
}
body.dark-mode table .btn-primary .fa {
    color: white;
}
body.dark-mode table .btn-outline-warning .fa {
    color: #ffc107;
}
body.dark-mode .btn-outline-danger {
    color: #e66f7a;
    border-color: #e66f7a;
}
body.dark-mode .btn-outline-danger .fa {
    color: #e66f7a !important;
}
body.dark-mode .btn-outline-info {
    color: #3dd0e7;
    border-color: #3dd0e7;
}
body.dark-mode input:-webkit-autofill,
body.dark-mode input:-webkit-autofill:hover,
body.dark-mode input:-webkit-autofill:focus,
body.dark-mode input:-webkit-autofill:active,
body.dark-mode textarea:-webkit-autofill,
body.dark-mode textarea:-webkit-autofill:hover,
body.dark-mode textarea:-webkit-autofill:focus,
body.dark-mode select:-webkit-autofill,
body.dark-mode select:-webkit-autofill:hover,
body.dark-mode select:-webkit-autofill:focus {
    border: none;
    -webkit-text-fill-color: #e0e0e0;
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    transition: background-color 5000s ease-in-out 0s;
    background-color: transparent !important;
}
body.dark-mode .btn-info {
    color: #fff !important;
}
body.dark-mode table .btn {
    color: #fff !important;
}
body.dark-mode table .btn .fa {
    color: #fff;
}
body.dark-mode .cke_top,
body.dark-mode .cke_bottom {
    background: #d8d8d8;
}
body.dark-mode .modal-content {
    background: #424445;
}
body.dark-mode .modal-header .close {
    outline: none;
}
body.dark-mode .dark-mode-row .custom-row span {
    color: #e0e0e0;
}
body.dark-mode .jumbotron {
    background-color: rgba(255, 255, 255, 0.12);
}
body.dark-mode .bg-light {
    background-color: #151719 !important;
}
body.dark-mode .navbar-toggler {
    background: rgba(255, 255, 255, 0.12);
    outline: none;
}
body.dark-mode legend {
    color: #e0e0e0;
}
body.dark-mode .text-muted {
    color: rgba(255, 255, 255, 0.5) !important;
}
body.dark-mode .bg-white {
    background-color: transparent !important;
    color: rgba(255, 255, 255, 0.5) !important;
}
body.dark-mode
    .select2-container--bootstrap
    .select2-selection--single
    .select2-selection__rendered {
    color: rgba(255, 255, 255, 0.5) !important;
}
body.dark-mode .navbar-nav .nav-link {
    color: #e0e0e0;
}
body.dark-mode .app-header .navbar-brand {
    color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}
body.dark-mode .app-header .navbar-brand:hover {
    color: #e0e0e0;
}
body.dark-mode .sidebar-pills a:not(.active),
body.dark-mode .sidebar-pills a:not(.open),
body.dark-mode .sidebar-pills a:not(:focus),
body.dark-mode .sidebar-pills a:not(:hover) {
    color: rgba(255, 255, 255, 0.5) !important;
}
body.dark-mode .sidebar.sidebar-pills .nav-link .nav-icon {
    color: rgba(255, 255, 255, 0.5);
}
body.dark-mode .sidebar.sidebar-pills .nav-link.active {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    color: #007bff !important;
}
body.dark-mode .sidebar.sidebar-pills .nav-link.active .nav-icon {
    color: #007bff;
}
body.dark-mode .sidebar.sidebar-pills .nav-link:hover {
    color: #007bff !important;
}
body.dark-mode .sidebar.sidebar-pills .nav-link:hover .nav-icon {
    color: #007bff;
}
body.dark-mode .table-responsive {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
}
body.dark-mode .table-responsive .table {
    color: #e0e0e0;
    border-radius: 3px;
}
body.dark-mode .table-responsive .table.bg-white {
    background-color: transparent !important;
}
body.dark-mode .table-responsive .table tr th,
body.dark-mode .table-responsive .table tr td {
    color: #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}
body.dark-mode .table-responsive .table tr th pre,
body.dark-mode .table-responsive .table tr td pre {
    color: #e0e0e0;
}
body.dark-mode .table-responsive .table tr:last-child th,
body.dark-mode .table-responsive .table tr:last-child td {
    border-bottom: none;
}
body.dark-mode .card {
    background-color: rgba(255, 255, 255, 0.08);
}
body.dark-mode .bold-labels label {
    color: #e0e0e0;
}
body.dark-mode .form-control,
body.dark-mode .custom-file-input {
    background: rgba(255, 255, 255, 0.12);
    color: #e0e0e0;
}
body.dark-mode .page-item.disabled .page-link {
    color: #55a7ff;
    opacity: 0.5;
    border-color: #55a7ff;
}
body.dark-mode .pagination {
    margin-top: 20px;
}
body.dark-mode .page-link {
    background: transparent;
    border-color: #007bff;
}
body.dark-mode .page-link:hover {
    color: #e0e0e0;
}
body.dark-mode .select2-selection {
    background: rgba(255, 255, 255, 0.12);
}
body.dark-mode .select2-container--bootstrap .select2-results__option {
    background: rgba(255, 255, 255, 0.12);
    color: #e0e0e0;
}
body.dark-mode .select2-results {
    background: rgba(255, 255, 255, 0.12);
}
body.dark-mode .select2-container--bootstrap .select2-dropdown {
    background: #424445;
}
body.dark-mode label {
    color: #e0e0e0;
}
body.dark-mode .sortable li {
    color: #e0e0e0;
}
body.dark-mode .sortable li div {
    background-color: rgba(255, 255, 255, 0.12);
    color: #e0e0e0;
    border-color: transparent;
}
body.dark-mode select {
    background: rgba(255, 255, 255, 0.12);
    color: #e0e0e0;
}
body.dark-mode select option {
    background: #424445;
}
body.dark-mode .custom-file-label {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
}
body.dark-mode .custom-file-label::after {
    background-color: rgba(255, 255, 255, 0.5);
    color: #e0e0e0;
}
body.dark-mode .navbar-white,
body.dark-mode .daterangepicker .calendar-table,
body.dark-mode .daterangepicker,
body.dark-mode .daterangepicker select.hourselect,
body.dark-mode .daterangepicker select.minuteselect,
body.dark-mode .daterangepicker select.secondselect,
body.dark-mode .daterangepicker select.ampmselect {
    background-color: #454d55;
    color: #fff;
}
body.dark-mode .daterangepicker td.off {
    background-color: #454d55;
    opacity: 0.6;
}
body.dark-mode .input-group-text {
    background-color: #454d55;
}
body.dark-mode .nav-item .nav .nav-link.active p {
    color: #343a40;
}
.dark-label::before {
    background-color: #fff;
    border: 1px solid #abbcd5;
    height: 24px;
    width: 50px !important;
    border-radius: 34px !important;
}
.dark-label::after {
    background-color: #abbcd5 !important;
    width: 16px !important;
    height: 16px !important;
    transform: none;
    top: 8px !important;
    left: -30px !important;
}
.dark-label.dark-mode::before {
    color: #fff;
    border-color: #007bff;
    background-color: #007bff;
}
.dark-label.dark-mode::after {
    left: -8px !important;
}
.navbar-nav + .dark-mode-row {
    margin-top: 0;
    transform: translateY(-4px);
}
.navbar-nav + .dark-mode-row .custom-row {
    padding-left: 0;
}
@media screen and (max-width: 767px) {
    .navbar-nav + .dark-mode-row {
        display: none;
    }
}
.dark-mode-row {
    margin-top: 20px;
}
.dark-mode-row.dark-mode {
    background-color: transparent !important;
}
.dark-mode-row .custom-control {
    height: 24px;
    width: 50px;
}
.dark-mode-row .custom-row {
    padding-left: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.dark-mode-row .custom-row span {
    font-size: 12px;
    display: inline-block;
    transform: translateY(5px);
    color: #c2c7d0;
}
.dark-mode-row p {
    margin-left: 14px;
    margin-bottom: 6px;
    color: #c2c7d0;
}
.dark-mode-row .custom-switch {
    margin: 0 8px;
}
.main-header,
.brand-link {
    min-height: 59px;
}
