﻿@import "/css/easings.min.css";

:root {
    --background-color: #fff !important;
}

[data-theme="dark"] {
    --background-color: #27292d !important;
    --text-color: #fff !important;
}

    [data-theme="dark"] body,
    [data-theme="dark"] .wrapper,
    [data-theme="dark"] .content-heading,
    [data-theme="dark"] .aside-container,
    [data-theme="dark"] .section-container,
    [data-theme="dark"] .content-wrapper,
    [data-theme="dark"] .select2-container,
    [data-theme="dark"] .container,
    [data-theme="dark"] .header,
    [data-theme="dark"] .footer,
    [data-theme="dark"] .content,
    [data-theme="dark"] .sidebar,
    [data-theme="dark"] .card,
    [data-theme="dark"] .card-body,
    [data-theme="dark"] .collapse-circle,
    [data-theme="dark"] .collapse-circleem,
    [data-theme="dark"] .text-dark,
    [data-theme="dark"] .dropdown-menu,
    [data-theme="dark"] #div_report,
    [data-theme="dark"] .select2-selection,
    [data-theme="dark"] .select2-dropdown,
    [data-theme="dark"] textarea,
    [data-theme="dark"] .sidebar-nav > li.active,
    [data-theme="dark"] .card-header,
    [data-theme="dark"] .formcontrol,
    [data-theme="dark"] .select2search__field,
    [data-theme="dark"] .select2selection,
    [data-theme="dark"] .bootstrap-tagsinput,
    [data-theme="dark"] .bootstrap-tagsinput input,
    [data-theme="dark"] .dropdown-menu .user-block-info > span,
    [data-theme="dark"] .btn-secondary,
    [data-theme="dark"] #appSwitcher .councilApp,
    [data-theme="dark"] .select2-search--dropdown .select2-search__field,
    [data-theme="dark"] #filterSideBar,
    [data-theme="dark"] .form-control,
    [data-theme="dark"] .chosen-drop,
    [data-theme="dark"] .chosen-results,
    [data-theme="dark"] .chosen-choices,
    [data-theme="dark"] .appBtn,
    [data-theme="dark"] .pagination-link,
    [data-theme="dark"] .center-div a,
    [data-theme="dark"] .bg-white,
    [data-theme="dark"] .btn-outline-secondary,
    [data-theme="dark"] .select2-search__field,
    [data-theme="dark"] .modal-content,
    [data-theme="dark"] .modal-content .close,
    [data-theme="dark"] .form-control .fa-calendar,
    [data-theme="dark"] #logDetailTable td,
    [data-theme="dark"] .dropdown-item,
    [data-theme="dark"] .aside-collapsed .sidebar-nav > li,
    [data-theme="dark"] #recordEditMenu,
    [data-theme="dark"] #differenceSummary {
        background-color: var(--background-color) !important;
        color: var(--text-color) !important;
    }

    [data-theme="dark"] .card-flat {
        box-shadow: 1px 5px 20px rgba(255, 255, 255, 0.15), 0px 0px 10px rgba(255, 255, 255, 0.2) !important;
    }

    [data-theme="dark"] .log-table {
        background-color: #444 !important;
        color: var(--text-color) !important;
    }

    [data-theme="dark"] table#datatablesimple > thead {
        background-color: #444 !important;
        color: var(--text-color) !important;
        font-weight: lighter;
    }

    [data-theme="dark"] input[type="date"]::-webkit-calendar-picker-indicator {
        filter: invert(1);
    }


    [data-theme="dark"] .bg-white img,
    [data-theme="dark"] .tox .tox-toolbar__primary svg {
        filter: brightness(0) invert(1);
    }

    [data-theme="dark"] .fc-today,
    [data-theme="dark"] .fc-event-title,
    [data-theme="dark"] .select2-container--disabled .select2-selection--single {
        background-color: #444 !important;
        border-color: var(--text-color) !important;
    }

    [data-theme="dark"] .btn-danger {
        background-color: #f05050;
        border-color: #f05050;
    }

    [data-theme="dark"] .councilApp img,
    [data-theme="dark"] .councilApp h5,
    [data-theme="dark"] .councilApp {
        opacity: 1 !important;
        filter: saturate(1.5);
    }

    [data-theme="dark"] .accordion-button,
     [data-theme="dark"] .fc-scroller thead,
    [data-theme="dark"] .accordion-button::after {
        background-color: #666 !important;
        color: var(--text-color) !important;
    }

    [data-theme="dark"] .btn-group::after,
    [data-theme="dark"] .btn-outline-default:hover,
    [data-theme="dark"] .select2-container--default .select2-results__option[aria-selected=true],
    [data-theme="dark"] .page-link {
        color: #000 !important;
    }


    [data-theme="dark"] .btn-outline-secondary:hover,
    [data-theme="dark"] .sidebar:after,
    [data-theme="dark"] #pieChartTooltip,
    [data-theme="dark"] #barChartTooltip {
        background-color: #fff !important;
        color: #000 !important;
    }

    [data-theme="dark"] .search-choice,
    [data-theme="dark"] .btn-purple,
    [data-theme="dark"] table#datatablesimple th a,
    [data-theme="dark"] .collapse-circle > em,
    [data-theme="dark"] small,
    [data-theme="dark"] .footer-container a,
    [data-theme="dark"] .text-dark:hover,
    [data-theme="dark"] .services-inner-text,
    [data-theme="dark"] tr[role="row"] > td:first-child:before,
    [data-theme="dark"] .select2-selection__placeholder,
    [data-theme="dark"] .select2-search__field::placeholder,
    [data-theme="dark"] #CRMForm th,
    [data-theme="dark"] #DataTables_Table_0_wrapper th,
    [data-theme="dark"] h3,
    [data-theme="dark"] #closeRecordEditMenu {
        color: var(--text-color) !important;
    }

    [data-theme="dark"] .btn-outline-dark,
    [data-theme="dark"] .b,
    [data-theme="dark"] .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple,
    .select2-container .select2-selection--single .select2-selection__rendered {
        color: var(--text-color) !important;
        border-color: var(--text-color) !important;
    }

    [data-theme="dark"] .log-table .text-dark {
        background-color: transparent !important;
    }

*[data-theme="dark"] g > text {
    fill: white;
}

[data-theme="dark"] .sidebar-nav,
[data-theme="dark"] .sidebar-nav > li > a,
[data-theme="dark"] .sidebar-subnav > li > a,
[data-theme="dark"] .sidebar-subnav > li > a.fy-link {
    background-color: transparent !important;
    color: var(--text-color);
    border-color: var(--text-color) !important;
}

[data-theme="dark"] .switch span:after {
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 8);
}

[data-theme=dark] .select2-results__option[aria-selected=true],
[data-theme=dark] .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #ddd;
    color: #000 !important;
}


[data-theme=dark] .form-control:disabled {
    background-color: #444 !important;
}

/*[data-theme=dark] .select2-results__option--highlighted[aria-selected] {
    background-color: #5897fb;
    color: #000 !important;
}*/
