body.dark_theme aside.main-sidebar {
    background: #1f2940!important;
}
body.dark_theme .nav-sidebar .nav-item>.nav-link {
    color: #fff !important;
}

body.dark_theme .nav-sidebar .nav-item:hover>.nav-link,
body.dark_theme .nav-sidebar .nav-item.menu-open>.nav-link {
    /* background-color: rgba(0, 0, 0, 0.1); */
    color: #17a2b8;
}

body.dark_theme .navbar-white {
    background-color: #1f2940;
}

body.dark_theme .content-wrapper {
    background-color: #141b2d;
}

body.dark_theme .main-footer {
    background-color: #1f2940;
    color: #c7cdd2;
}

body.dark_theme .breadcrumb-item.active {
    color: #c7cdd2;
}

body.dark_theme .charts {
    color: white;
}

body.dark_theme .fa-bars {
    color: white;
}

body.dark_theme .fa-bell {
    color: white;
}

body.dark_theme .fa-user-circle {
    color: white;
}

body.dark_theme .tables {
    color: white;
}

body.dark_theme .h-100 {
    background-color: #141b2d;
}

body.dark_theme .card {
    background-color: #1f2940;
}

body.dark_theme .card-title {
    color: white;
}

body.dark_theme .email {
    color: white;
}

body.dark_theme .password {
    color: white;
}

body.dark_theme .login-footer {
    color: #6c757d;
}

body.dark_theme .table-bordered {
    color: #c7cdd2;
}

body.dark_theme .table-bordered thead th {
    color: white;
}

body.dark_theme .fa-edit:before {
    color: #77d577;
}

body.dark_theme .fa-trash-alt:before {
    color: #df5e5e;
}

body.dark_theme .btn-info {
    background-color: #141b2d;
    border-color: #141b2d;
}

body.dark_theme input {
    background-color: #141b2d;
    border-color: #141b2d;
}

body.dark_theme input[type="password"] {
    color: white;
    background-color: #141b2d;
}

body.dark_theme input[type="email"] {
    color: white;
    background-color: #141b2d;
}

body.dark_theme ::-webkit-input-placeholder {
    /* chrome/opera/safari/edge */
    color: white;
}

body.dark_theme ::-moz-placeholder {
    /* Firefox */
    color: white;
}

body.dark_theme :-ms-input-placeholder {
    /* IE 10+ */
    color: white;
}

body.dark_theme .pagination li a {
    background-color: #141b2d;
}

body.dark_theme .btn-primary {
    background-image: linear-gradient(#304579, #2d3853);
    border-color: #304579;
}

body.dark_theme .card-header h5 {
    color: white;
}

body.dark_theme .form-control {
    background-color: #141b2d;
    border-color: #141b2d;
    color: white;
}

body.dark_theme .form-control option {
    color: white;
}

body.dark_theme .bg-info {
    background-color: #0aa1b8 !important;
}

body.dark_theme .bg-success {
    background-color: #0fb435 !important;
}

body.dark_theme .bg-warning {
    background-color: #e9b721 !important;
}

body.dark_theme .bg-danger {
    background-color: #dd182a !important;
}

body.dark_theme .page-link {
    border: 1px solid #2c3a5d;
}

body.dark_theme .content-header h4 {
    color: white;
}

body.dark_theme .dataTables_length label {
    color: white;
}

body.dark_theme .dataTables_filter label {
    color: white;
}

body.dark_theme .dataTables_paginate .pagination li a {
    background-color: #141b2d;
}

body.dark_theme .dataTables_paginate .pagination li .page-link {
    border: 1px solid #2c3a5d;
}

body.dark_theme .form-group label {
    color: white;
}

body.dark_theme .dataTables_info {
    color: white;
}

body.dark_theme .modal-dialog .modal-content {
    background-color: #1f2940;
}

body.dark_theme .modal-header h4 {
    color: white;
}

body.dark_theme .brand-link {
    background-color: #1f2940;
}


/* Start dark  mode for charts */


/* @import 'https://code.highcharts.com/css/highcharts.css'; */

@media (prefers-color-scheme: dark) {
    body.dark_theme :root {
        --background-color: #1f2940;
        --text-color: #c0c0c0;
        --hilight-color: #8db4d6;
    }
    /* Some data colors. Light mode uses defaults */
    body.dark_theme .highcharts-color-0 {
        fill: #0460ba;
        stroke: hsl(0, 0%, 100%);
    }
    body.dark_theme .highcharts-color-1 {
        fill: #9696ab;
        stroke: #9696ab;
    }
}

body.dark_theme text,
body.dark_theme text tspan {
    stroke: none;
    stroke-width: 0;
    stroke-linejoin: inherit;
    fill: white !important;
}

body.dark_theme .highcharts-background {
    fill: #1f2940;
}

body.dark_theme .highcharts-container text {
    fill: #d0d0d0;
}

body.dark_theme .highcharts-subtitle,
body.dark_theme .highcharts-credits,
body.dark_theme body.dark_theme .highcharts-axis-title {
    fill-opacity: 0.7;
}

body.dark_theme .highcharts-grid-line {
    stroke: #d0d0d0;
    stroke-opacity: 0.2;
}

body.dark_theme .highcharts-tooltip-box {
    fill: #1f2940;
}

body.dark_theme .highcharts-column-series rect.highcharts-point {
    stroke: #1f2940;
}


/* End dark  mode for charts */
body.dark_theme .navbar .navbar-brand {
    background-color: #1f2940 !important;
}
body.dark_theme .main-sidebar .nav .nav-item .active{
    background-color: #141b2d;
    color: #fff;
}
body.dark_theme  .main-sidebar .nav .nav-item .nav-link.active i {
    color: #fff;
}
body.dark_theme  .main-sidebar .nav .nav-item .nav-link:hover i {
    color: #fff;
}
body.dark_theme  .main-sidebar .nav .nav-item .nav-link span {
    color: #fff;
}
body.dark_theme .nav-item .nav-link span {
    color: #fff;
}
body.dark_theme .main-sidebar .nav .nav-item .nav-link:hover, .main-sidebar .nav .nav-item.active, .main-sidebar .nav .nav-item:hover {
    /*background-color: #007bff;*/
    color:#fff
}
body.dark_theme .main-content .main-content-container {
    background-color: #141b2d; 
}
body.dark_theme .navbar ul.navbar-nav {
    background-color: #141b2d; 
}
body.dark_theme .page-subtitle {
    color: #fff;
}
body.dark_theme .page-title {
    color: #fff;
}
body.dark_theme .card .card-header {
    background-color: #141b2d; 
}
body.dark_theme .card .card-header h6{
    color: #fff;
}
body.dark_theme .card-body .chartjs-size-monitor .border-bottom {
    background-color: #141b2d !important; 
}
body.dark_theme .card-footer {
    background-color: #141b2d !important; 
}
body.dark_theme .fa {
    color: white;
}
body.dark_theme span {
    color: white;
}
body.dark_theme .main-footer {
    background-color: #141b2d !important; 
}
body.dark_theme .bg-dark1 {
    background-color: #1f2940 
}
body.dark_theme .material-icons {
    color: #fff;
}
body.dark_theme .input-group-text {
    background-color: #1f2940 ;
}
body.dark_theme input.input-sm {
    border: 1px solid white !important;
    border-radius: 5px;
}
body.dark_theme button {
   background-color:  #007bff;
   border :none !important;
   color: #fff !important;
}
body.dark_theme button:hover {
    background-color:  #007bff;
    border :none;
    color: #fff !important;
 }
 body.dark_theme .custom-select {
    background-color: #1f2940 ;
    color: white;
 }
 body.dark_theme .ml-3 {
     margin: 0 !important;

 }
 body.dark_theme .form-control {
    border:none !important;
    border-radius: 0 !important;
}
body.dark_theme .dropdown-toggle::after {
    color: white;
}
body.dark_theme .notifications .dropdown-menu-small {
    background-color: #1f2940 ;
}
body.dark_theme .notifications .dropdown-menu-small a {
    color: #fff;
}
body.dark_theme .dropdown-item .notification__content .notification__category{
    color: #fff !important;
}
body.dark_theme .dropdown-item .notification__content .notification__category:hover{
    color: #000 !important;
}
body.dark_theme .data-table th {
    color: #fff;
}
body.dark_theme .data-table  td {
    color: #fff;
}
body.dark_theme .main-sidebar .nav .nav-item .nav-link:hover, .main-sidebar .nav .nav-item.active, .main-sidebar .nav .nav-item:hover {
    box-shadow: inset 0.1875rem 0 0 #007bff;
    background-color: #fbfbfb63 !important;
 }
body.dark_theme .dropdown .dropdown-item:hover {
    background-color: #fbfbfb63 !important;
}
body.dark_theme .main-sidebar .nav .nav-item .nav-link {
    color: #fff;
}
body.dark_theme  .main-sidebar .nav .nav-item:hover i {
    color: #fff;
}
#map_canvas p {
    margin: 0;
    padding-top: 5px;
}
#map_canvas .gm-ui-hover-effect {
    outline: none;
    border: none;
}
body.dark_theme  .details-page h6 {
    color: white;
} 
body.dark_theme  .details-page p {
    color: white;
} 
/*css work*/
body.dark_theme .main-navbar .navbar{
    background: #1f2940;
    border: none !important;
}
body.dark_theme .main-sidebar .nav .nav-item .nav-link.active {
    box-shadow: inset 0.1875rem 0 0 #1f2940 ;
}
body.dark_theme .border-top {
    border-top: 1px solid #1f2940;
}
body.dark_theme .main-sidebar .nav .nav-item .nav-link {
    border-bottom: 1px solid #141c2d;
}
body.dark_theme .table thead th {
    border-bottom: 2px solid #141b2d;
}
body.dark_theme .table tbody tr {
    border-bottom: 2px solid #141b2d;
}
body.dark_theme .author-bio .author-content h1 {
    color: white;
}
body.dark_theme .author-bio .author-content p {
    color: white;
}
body.dark_theme ul#searchResult a li {
    background-color: #1f2940 ;
    color: #fff;
    padding: 10px 86px 5px 30px;
}
body.dark_theme .nav-wrapper.mini_sidebar {
    background: #1f2940  !important;
    box-shadow: 0 0.125rem 9.375rem rgb(90 97 105 / 10%), 0 0.25rem 0.5rem rgb(90 97 105 / 12%), 0 0.9375rem 1.375rem rgb(90 97 105 / 10%), 0 0.4375rem 2.1875rem rgb(165 182 201 / 10%) !important;
}
body.dark_theme .mini_sidebar .nav-wrapper:hover{
    background: #1f2940  !important;
  }
  body.dark_theme .main-sidebar.mini_sidebar ul li.has-submenu ul.submenu{
    background: #1f2940  !important;
  }
body.dark_theme .filter {
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
}