/* root */
:root {
    --bs-primary-hover: #442EA2;
    --bs-primary: #5A3CD6;
    --bs-primary-hover: #442EA2;
    --bs-primary-box-shadow: #5A3CD680;
    --bs-primary-muted: #442EA280;
    --bs-primary-muted-rgb: rgba(108, 117, 125, 80%) !important;
    --bs-secondary: #6d6a78;
    --bs-secondary-rgb: 109, 106, 120;
    --bs-secondary-hover: #56545f;
    --bs-danger: #f3616d;
    --bs-danger-rgb: 243, 97, 109;
    --bs-dark-card-bg: #1e1e2d;
    --bs-admix-primary: #5A3CD6;
    --bs-admix-primary-hover: #442EA2;
}

* {
    outline-color: var(--bs-primary);
  }


/*
sidebar
*/
.sidebar-wrapper .menu .sidebar-link {
    --background-color: #ffffff;
}
.sidebar-wrapper .menu .sidebar-link:hover {
    background-color: var(--background-color);
    filter: brightness(1.0);
}

.sidebar-wrapper .menu {
    font-weight:600;
}

.sidebar-wrapper .menu .submenu .submenu-item a {
    font-weight:600;
}

body .sidebar-wrapper .sidebar-header {
    padding: 2rem 2rem 1rem !important;
}

body:not(.theme-dark) .burger-btn, body:not(.theme-dark) .burger-btn:active, body:not(.theme-dark) .burger-btn:hover {
    color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity));
}

body.theme-dark .burger-btn, body.theme-dark .burger-btn:active, body.theme-dark .burger-btn:hover {
    color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity));
}

body:not(.theme-dark) .theme-dark h4 {
    color: #fff;
}

body:not(.theme-dark) .theme-dark .card-header {
    background-color: #1e1e2d;
}

body:not(.theme-dark) .theme-dark .form-control {
    color: #c2c2d9;
    background-color: #1b1b29;
    border: 1px solid #35354f;
}

body:not(.theme-dark) .theme-dark .btn.btn-light-secondary {
    background-color: #91989e;
    color: black;
}

body.theme-dark .theme-light .btn.btn-light-secondary {
    background-color: #E6EAEE;
    color: #181e24;
}

body:not(.theme-dark) .theme-dark .card {
    background-color: #1e1e2d;
    background-clip: border-box;
    border: none;
}

body.theme-dark .theme-light h4 {
    color: #0D052C;
    transition: all 0.5s ease;
}

body.theme-dark .theme-light .card-header {
    background-color: #fff;
    transition: all 0.5s ease;
}

body.theme-dark .theme-light .form-control {
    color: #607080;
    background-color: #fff;
    border: 1px solid #dce7f1;
    border-color: color-mix(in srgb, var(--bs-primary), transparent 90%);
    -webkit-appearance: none;
        -moz-appearance: none;
            appearance: none;
    transition: all 0.5s ease;
}

body.theme-dark .theme-light .card {
    background-color: #fff;
    background-clip: border-box;
    transition: all 0.5s ease;
}

body.theme-dark .text-muted, body:not(.theme-dark) .theme-dark .text-muted {
    color: var(--bs-primary-muted-rgb) !important;
}

body.theme-dark .theme-light .text-muted, body:not(.theme-dark) .theme-light .text-muted {
    color: var(--bs-primary-muted) !important;
}
/*
Header
*/
.badge-notification {
    display:none;
    /* position: absolute;
    top: 30px;
    left: 22px;
    width: 9px;
    height: 9px;
    background-color: var(--bs-danger);
    border-radius: 50%;
    border: 1px solid #fff; */
    position: absolute;
    top: 8px;
    right: 18px;
    color: white;
    line-height: 16px;
    /* width: 9px; */
    padding: 1px 5px;
    /* height: 9px; */
    background-color: var(--bs-danger);
    border-radius: 5px;
    border: 1px solid #fff;
    font-size: 14px;
}

.badge-notification.active {
    display: block;
    transition: display 100ms;
    transition-timing-function: ease-in-out;
}

.bg-admix-primary {
    --bs-bg-opacity: 1;
    background-color: var(--bs-admix-primary);
}

.admix-primary {
    --bs-bg-opacity: 1;
    color: var(--bs-admix-primary);
}


/*
*
*   tables
*/

table.table-responsive tr td:not(.dropdown) {
    white-space: normal;
    text-overflow: ellipsis;
}

table.table-responsive tbody {
    overflow-wrap: anywhere;
}

[data-bs-toggle="tooltip"]:not(a,i) {
    cursor: help;
}

span.badge:not(a) {
    cursor: default;
}

/*
*
* Ticket styling
*/
.ticket-info.ticket-sidebar.ticket-sidebar-item {
    padding: 15px;
}

.ticket-note.chat-left .chat-bubble h4.card-title {
    width: max-content;
    padding-top:5px;
}

.ticket-note.chat-right .chat-bubble h4.card-title {
    width: auto;
    padding-top:5px;
}

.chat-bubble .ticket-content {
    align-items: end;
}

.chat-bubble .ticket-content p {
    margin-bottom: 0;
}

#initialDescription > p {
    margin-bottom: 0;
}

.dropdown-menu.ticket-status-wrapper.show {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem var(--bs-primary-box-shadow);
    margin-top:2px !important;
}

body.theme-dark .wrapper.bordered, body.theme-dark .ticket-content
{
    --bs-bg-opacity: .5;
    --bs-border-opacity: .05;
    background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important;
    border: 1px solid rgba(var(--bs-light-rgb), var(--bs-border-opacity));
}

body.theme-light .wrapper.bordered, body.theme-light .ticket-content-wrapper
{
    --bs-bg-opacity: .7;
    --bs-border-opacity: .03;
    background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
    border: 1px solid rgba(var(--bs-dark-rgb), var(--bs-border-opacity));
}

.ticket-content
{
    display: flex;
    position: relative;
    margin: 0px auto;
    overflow-y: auto;
    transition: max-height .5s ease-out;
    padding:15px 15px 15px 15px;
    border-radius:8px;
}

.ticket-content p {
    padding:5px 5px;
}


.ticket-note.chat-right .ticket-content p {
    width:100%;
    text-align: right;
}

.ticket-note.chat-left .ticket-content p {
    width:100%;
    text-align: left;
}

#initialDescription.collapsed, .ticket-content.collapsed
{
    max-height: 300px;
}

#initialDescription.expanded, .ticket-content.expanded
{
    max-height: 1000px;
}

#descriptionExpand {
    display:none;
}

.scrollbar, .ticket-content {
    display: block;
}

.ticket-content img {
    max-width: 100%;
    object-fit: cover;
    display:block;
}

#addedNote:not(.glow) {
    box-shadow: none;
    transition: box-shadow 1s ease-out;
}

#addedNote.glow {
   box-shadow: 0px 0px 40px -15px var(--bs-primary) !important;
   transition: box-shadow .5s ease-out;
}

body.theme-light .chat-message.chat-left .card.chat-bubble::before
{
    border-color: transparent #ffffff transparent transparent;
}

body.theme-dark .chat-message.chat-left .card.chat-bubble::before
{
    border-color: transparent #1e1e2d transparent transparent;
}

body.theme-light .chat-message.chat-right .card.chat-bubble::before
{
    border-color: transparent transparent transparent #ffffff;
}

body.theme-dark .chat-message.chat-right .card.chat-bubble::before
{
    border-color: transparent transparent transparent #1e1e2d;
}

/* .chat-message.chat-left .card.chat-bubble::before {
	content: '';
    position: absolute;
    width: 0;
    height: 0;
    top: 22px;
    left: -11px;
    border: .75rem solid;
    border-width: 8px 12px 8px 0;
    filter: drop-shadow(0rem 0.06rem 0.07rem rgb(0 0 0 / 8%));
    clip-path: inset(0px 1px 0px 0px);
    box-sizing: border-box;
} */

/* .chat-message.chat-right .card.chat-bubble::before {
	content: '';
    position: absolute;
    width: 0;
    height: 0;
    top: 22px;
    right: -11px;
    border: .75rem solid;
    border-width: 8px 0 8px 12px;
    filter: drop-shadow(0rem 0.06rem 0.07rem rgb(0 0 0 / 8%));
    clip-path: inset(0px 0px 0px 1px);
    box-sizing: border-box;
} */

/*
*
*    Borders
*/

body.theme-light .bg-gray
{
    --bs-bg-opacity: .04;
    background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity));
}

body.theme-light .bg-gray.br-2
{
    --bs-border-opacity: .18;
    border-right:2px solid rgba(var(--bs-dark-rgb), var(--bs-border-opacity));
    /* vertical-align: text-top; */
}

body.theme-light .bg-gray.bb-2
{
    --bs-border-opacity: .18;
    border-bottom:2px solid rgba(var(--bs-dark-rgb), var(--bs-border-opacity));
}

body.theme-light .bg-gray.bt-2
{
    --bs-border-opacity: .18;
    border-top:2px solid rgba(var(--bs-dark-rgb), var(--bs-border-opacity));
}

body.theme-dark .bg-gray
{
    --bs-bg-opacity: .05;
    background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity));
}

body.theme-dark .bg-gray.br-2
{
    --bs-border-opacity: .19;
    border-right:2px solid rgba(var(--bs-light-rgb), var(--bs-border-opacity));
    /* vertical-align: text-top; */
}

body.theme-dark .bg-gray.bb-2
{
    --bs-border-opacity: .19;
    border-bottom:2px solid rgba(var(--bs-light-rgb), var(--bs-border-opacity));
}

/*
*
*   ADMIX ELEMENTS
*
*/
.form-field {
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #607080;
    background-clip: padding-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.25rem;
    display: inline-block;
    margin: 0px 7px 0px 7px;
}
body.theme-light .form-field {
    background-color: #fff;
    border: 1px solid #dce7f1;
}
body.theme-dark .form-field {
    background-color: #1b1b29;
    border: 1px solid #35354f;
}
body.theme-light .form-field.readonly {
    background-color: #f7f7f9;
}

body.theme-dark .form-field.readonly {
    background-color: #1e1e2d;
}

.alert li {
    list-style: none;
}

/*
Hyperlinks
*/
a, a span.badge {
    cursor:pointer;
}

a.link-primary, a.link-primary:hover, a.link-primary.focus {
    text-decoration-color: var(--bs-primary);
}

a.action-btn {
    opacity:0.7;
    transition: opacity 500ms;
    transition-timing-function: linear;
}

a.action-btn:hover {
    opacity:1.0;
    transition: opacity 50ms;
    transition-timing-function: linear;
}

a.underline {
    text-decoration-line: underline;
    text-decoration-style: solid;
}

a.underline:hover, a.underline:focus {
    text-decoration: none;
}


.btn:hover {
    opacity:1.0;
}

/*
Logo
*/

#sidebar:not(.active) + .layout-navbar > header > nav > .container-fluid > .header-logo {
    display: block;
}

#sidebar.active  + .layout-navbar > header > nav > .container-fluid > .header-logo {
    display: none;
}

/* .layout-navbar > header > nav > .container-fluid {
    padding-left: 5px;
} */

/*
* Header
*/
header
{
    z-index: 5;
    background-color: var(--bs-body-bg);
}

/*
lists
*/
/* li {
    list-style:none;
} */
.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}

.card > .sticky {
    top:100px;
}

.hover\:bg-opacity:hover {
    --tw-bg-opacity:0.1;
    background-color:rgb(190 190 190/var(--tw-bg-opacity))
}

/* .form-control, .form-select {
    display: inline-block;
    margin: 0px 7px 0px 7px;
    margin-top: -3px;
} */

/*
*
*       Toast UI Editor
*
*/

.toastui-editor-defaultUI {
    --bs-bg-opacity: .7;
    --bs-border-opacity: .03;
    background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity));
    border: 1px solid rgba(var(--bs-dark-rgb), var(--bs-border-opacity));
}

form .toastui-editor-defaultUI {
    margin-left:7px;
}

.toastui-editor-defaultUI .toastui-editor-defaultUI-toolbar {
    background: transparent;
    background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity));
}

.toastui-editor-popup button {
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.toastui-editor-defaultUI .toastui-editor-ok-button {
    background-color: var(--bs-primary);
}

.toastui-editor-defaultUI .toastui-editor-ok-button:hover {
    background-color: var(--bs-primary-hover);
}

.toastui-editor-tabs > .tab-item.active {
    color: var(--bs-primary) !important;
    border-bottom: 2px solid var(--bs-primary) !important;
}

body.theme-dark .toastui-editor-contents p {
    color: #c2c2d9;
}
body.theme-dark .toastui-editor-defaultUI {
    border:1px solid #666666;
}
body.theme-dark .toastui-editor-defaultUI-toolbar {
    background-color: #151521;
    border-bottom: 1px solid #35354f
}
body.theme-dark .toastui-editor-defaultUI-toolbar button {
    border:1px solid #666666;
}
body.theme-dark .toastui-editor-defaultUI-toolbar button:not(:disabled):hover {
    background-color: #151521;
    border: 1px solid #35354f;
}
body.theme-dark .toastui-editor-ww-container, body.theme-dark .toastui-editor-toolbar-divider {
    background-color: #1b1b29;
    border: 1px solid #35354f;
}
/*
    ADMIX
*/

.text-admix-dark {
    color: #0D052C;
}

/* admix pink */

.bg-admix-pink {
    background-color: #CF7DAA;
}

.text-admix-pink {
    color: #CF7DAA;
}

.alert-admix-light-pink {
    background-color: #FBDEEE;
    color: #A95B85;
}

.btn-admix-pink {
    background-color: #CF7DAA;
    border-color: #CF7DAA;
    color: #f0f0f0;
}

.btn-admix-pink:hover {
    background-color: #A95B85;
    border-color: #A95B85;
    color: #f0f0f0;
}

.btn-outline-admix-pink {
    border-color: #CF7DAA;
    color: #CF7DAA;
}

.btn-outline-admix-pink:hover {
    border-color: #CF7DAA;
    background-color: #CF7DAA;
    color: #ffffff;
}

/* admix green */

.bg-admix-green {
    /* background-color: #00AFBB; */
    background-color: #9DD627;
}

.text-admix-green {
    color: #9DD627;
}

.btn-admix-green, .btn-outline-admix-green:hover {

    background-color: #9DD627;
    border-color:#9DD627;
    color:#ffffff;
}

.btn-admix-green:hover  {
    background-color: #9DD627;
    border-color:#9DD627;
    color:#ffffff;
}

.btn-outline-admix-green {
    border-color: #5FBCDF;
    color: #5FBCDF;
}

/* admix blue */

.bg-admix-blue {
    background-color: #5FBCDF;
}

.text-admix-blue {
    color: #5FBCDF;
}

.btn-admix-blue, .btn-outline-admix-blue:hover {
    background-color: #5FBCDF;
    border-color: #5FBCDF;
    color: #f0f0f0;
}

.btn-admix-blue:hover {
    background-color: #489FC0;
    border-color: #489FC0;
    color: #ffffff;
}

.btn-outline-admix-blue {
    border-color: #5FBCDF;
    color: #5FBCDF;
}

.spinner {
    display: block;
    transition: display .5s ease-out, background-color 0.15s ease-in-out;
    display: inline-flex;
}

body.theme-light .spinner.hidden, body.theme-dark .spinner.hidden {
    display: none;
    transition: display .5s ease-out, background-color 0.15s ease-in-out;
}

/* Filepond */
body.theme-dark .filepond--drop-label {
    background-color: #151521;
}
body.theme-light .filepond--drop-label {
    background-color: #f7f7f9;
}
.filepond--panel-root {
    background: transparent;
    --bs-bg-opacity: .7;
    --bs-border-opacity: .03;
    background-color: var(--bs-body-bg);
    border: none;
}

/* admix purple */

.bg-admix-purple {
    background-color: #745D9A;
}

.text-admix-purple {
    color: #745D9A;
}

.btn-admix-purple, .btn-outline-admix-purple:hover {
    background-color: #745D9A;
    border-color: #745D9A;
    color: #fcfcfc;
}

.btn-admix-purple:hover {
    color: #ffffff;
    background-color: #604987;
}

.btn-outline-admix-purple {
    border-color: #745D9A;
    color: #745D9A;
}

/* .ui.selection.active.dropdown, .ui.selection.active.dropdown:hover, .ui.selection.active.dropdown .menu {
    border-color: var(--bs-primary) !important;
} */

.ui.dropdown > .text {
    color: #607080;
    font-family: var(--bs-body-font-family);
    font-size: var(--bs-body-font-size);
    font-size: 1rem;
    font-weight: 400;
}

.ui.selection.active.dropdown {
    color: #607080;
    background-color: #fff;
    border-color: var(--bs-primary) !important;
    outline: 0;
    box-shadow: 0 0 0 0.25rem var(--bs-primary-box-shadow) !important;
}

 .ui.selection.active.dropdown .menu {
    color: #607080;
    background-color: #fff;
    border-color: var(--bs-primary) !important;
    outline: 0;
    box-shadow: 0 0 0 0.25rem var(--bs-primary-box-shadow) !important;
    clip-path: inset(0px -10px -10px -10px);
    margin-top: 0px;
}


.ui.selection.active.dropdown .menu {
    background-color: #f7f7f9 !important;
    width: -webkit-fill-available !important;
}

.ui.dropdown.impersonate {
    background-color: transparent !important;
}

.ui.dropdown .search-icon {
    display:none;
    transition: display 500ms;
    transition-timing-function: linear;
}

.ui.dropdown.multiple a.ui.label.visible {
    border-radius: 4px;
    background-color:var(--bs-light);
}

.ui.dropdown.multiple .delete.icon {

    border-left: 1px solid #22242626;
    border-spacing: 1rem 1rem;
    padding-left: 5px;
    margin-left: 8px;
}

.ui.dropdown .delete.icon:before {
    font-family: "bootstrap-icons" !important;
    /* content: "\F659"; */
    content: "\F62A";
    font-style: normal !important;
    vertical-align: middle;
    /* padding: 0px 0px 0px 5px; */
    line-height: 5px;
    color: var(--bs-secondary);
}

.ui.dropdown.active.visible .search-icon {
    display:block;
    position: absolute;
    top: 10px;
    left: 10px;
    transition: display 200ms;
    transition-timing-function: linear;
}

.ui.dropdown input.search, .ui.dropdown .text  {
    margin-left:0;
    transition: margin-left 250ms;
    transition-timing-function: ease-in;
}

.ui.dropdown.active.visible input.search, .ui.dropdown.active.visible .default.text,  .ui.dropdown.active.visible .text  {
    margin-left:15px;
    transition: margin-left 100ms;
    transition-timing-function: ease-in;
}

.ui.dropdown.multiple.active.visible input.search, .ui.dropdown.active.visible .default.text, .ui.dropdown.active.visible .text  {
    margin-left:25px;
}

.ui.dropdown.multiple.active.visible a.ui.label:first-of-type  {
    margin-left:25px;
    transition: margin-left 100ms;
    transition-timing-function: ease-in;
}

/* Form elements */
.form-control, .form-select {
    display: inline-block;
    /* margin: 0px 7px 0px 7px; */
    /* margin-top: 0px; */
}

.input-group > .form-control, .input-group {
    margin: 0;
}

input[type=color].form-control {
    height: auto;
    margin: unset;
}

/* dataTables */
/* .dataTable.clickable-rows tbody tr {
    cursor:pointer;
} */
.dataTable tr.child > td  {
    /* border-right:1px solid #dee2e6;
    border-left:1px solid #dee2e6;
    border-top:1px solid #dee2e6; */
    border-bottom:1px solid #dee2e6;
    box-shadow: inset 0 0 0 9999px rgb(0 0 0 / 1.5%);
}
.nowrap {
    white-space: nowrap !important;
}

.dataTable .cards td:before {
    content: attr(data-label);
    display: inline;
    position: relative;
    font-size: 85%;
    top: -0.5rem;
    float: left;
    color: #808080;
    min-width: 4rem;
    margin-left: 0;
    margin-right: 1rem;
    text-align: left;
}
.dataTable tr.selected td:before {
    color: #404040;
}

.dataTable tr:not(.dt-hasChild.parent) td.control:before {
    font-family: "bootstrap-icons";
    content: "\F4FD";
    color: var(--bs-primary);
    drop-shadow: 0 0 0.2em var(--bs-primary);
    font-size: 13pt;
    cursor: pointer;
}

.dataTable tr.dt-hasChild.parent td.control::before {
    font-family: "bootstrap-icons";
    content: "\F2E9";
    color: var(--bs-danger);
    drop-shadow: 0 0 0.2em var(--bs-primary);
    font-size: 13pt;
    cursor: pointer;
}

.dataTables_length label, .dataTables_filter label, .dataTables_paginate > ul.pagination {
    display: inline-flex;

}

.dataTables_filter_row {
    background-color: var(--bs-body-bg);
    padding: 15px;
}

.dataTables_length, {
    text-align: start;
}

.dataTables_filter, .dataTables_paginate {
    text-align: end;
}

/* table.dataTable>tbody>tr>td {
    font-size:14px;
} */

table.dataTable>tbody>tr.selected>* {
    box-shadow: inset 0 0 0 9999px rgba(var(--bs-primary-rgb), 0.9);
}

div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane div.dtsp-selected {
    border: 2px solid var(--bs-primary-muted);
}

div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane div.dtsp-selected:hover {
    border: 2px solid var(--bs-primary-muted);
    /* border: 2px solid var(--bs-body-color); */
}

div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane div.dtsp-topRow div.dtsp-searchCont input.dtsp-search {
    padding-left:10px;
}

div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane button.dtsp-paneButton {
    opacity:.9;
}

div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane div.dtsp-topRow div.dtsp-searchCont input.dtsp-search:focus-visible {
    outline: 2px solid transparent;
    opacity:.5;
    border-radius: 3px;
}

div.dtsp-topRow {
    background-color: var(--bs-body-bg);
    /* border: 0px solid var(--bs-primary-muted); */
    /* opacity:.5; */
}

div.dtsp-topRow:hover,div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane div.dataTables_wrapper, div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane div.dataTables_wrapper:hover {
    border: 2px solid var(--bs-body-bg);
    /* opacity:.5; */
}

div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane input.dtsp-paneInputButton:hover {
    background-color:transparent;
}

.div.dtsp-topRow.dtsp-bordered {
    background-color: transparent;
    /* border: 2px solid var(--bs-primary-muted); */
    border: 2px solid transparent;
    opacity:.5;
}

.dtsp-titleRow {
    height: 48px;
    padding: 0 10px;
    border: 1px solid var(--bs-body-bg);
    border-radius: 5px;
    background-color: rgba(var(--bs-primary-rgb), 0.05);
}

div.dtsp-panesContainer button.dtsp-clearAll:hover, div.dtsp-panesContainer button.dtsp-collapseAll:hover, div.dtsp-panesContainer button.dtsp-showAll:hover {
    background-color: rgba(var(--bs-secondary-rgb), 0.3);
}

body.theme-dark div.dtsp-titleRow button:not(.dtsp-disabledButton):hover {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
}

body.theme-dark div.dtsp-titleRow button:not(.dtsp-disabledButton) {
    color: var(--bs-body-color);
    opacity:.7;
}

body.theme-dark div.dtsp-titleRow button.dtsp-disabledButton {
    color: var(--bs-body-color);
    opacity:.2;
}

body.theme-dark div.dtsp-panesContainer div.dataTables_wrapper div.dataTables_scrollBody {
    background: transparent !important;
}

body.theme-dark div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane div.dataTables_wrapper {
    border: 2px solid var(--bs-body-bg);
    border-top:none;
}

body.theme-dark div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane input.dtsp-paneInputButton:hover, body.theme-dark div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane button.dtsp-paneButton:hover {
    background-color: var(--bs-body-bg);
    color:var(--bs-body-color);
}

body.theme-dark div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-topRow {
    border: 2px solid var(--bs-body-bg);
}

body.theme-dark input.dtsp-paneInputButton::placeholder, body.theme-dark div.dtsp-panesContainer input.dtsp-search {
    color: var(--bs-body-color);
    opacity: 1; /* Firefox */
}

body.theme-dark div.dtsp-topRow.dtsp-bordered {
    background-color: var(--bs-body-bg);
}

body.theme-dark div.dtsp-topRow.dtsp-bordered:hover, body.theme-dark .div.dtsp-topRow.dtsp-bordered {
    background-color: transparent;
}

body.theme-dark div.dtsp-topRow div.dtsp-subRow1 button.dtsp-searchIcon span {
    transition: color 100ms;
    /* color: var(--bs-body-color); */
    /* filter: invert(1) sepia(100%) saturate(1000%) hue-rotate(185deg); */
    background-color: transparent;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAACXBIWXMAAA9hAAAPYQGoP6dpAAABI0lEQVQokZ3TvyuFcRTH8dd10b2DwejXKIsyGG4mu9XKImUgJfmxmMigmJTZoJRMBqMBg+QPwCiDkhiIR3oMz1GP6z6Lz3KeTt/3OZ/zPd+nlKap/6oZTk9v8rke1NCHa1zgrhAOlbEUYClyNYxHgfV6uCn3vYYhPGEHGzhEEvn5IrgX/WFvCsc4wy4m8YlhtDWCJ5BiITrl9YKtGGWkEdwZ8bXeWug8Yncj+CtiuQBuz7n4A5+ErbECeC7iUSP4ILqPylZTjXxVdg8Dskt7zMOlNE1/HskgVsJ6EsXKaMEHKrjC6s+Y+T1fYVb2IJIY4xl7snU9RIPNKPqrc16VOPAmWyG0YhsduMd0Uz0VepetLf/XJJjBLbqwWAQXKcEyLrH/DdC4SVj4b5qcAAAAAElFTkSuQmCC") !important;
    background-repeat: no-repeat;
    /* background-position: 50%; */
    background-size: 11px;
}

body.theme-dark button.dtsp-paneButton.dtsp-searchIcon:hover {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    opacity:1;
}

div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane button.dtsp-paneButton.dtsp-disabledButton, div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane button.dtsp-paneButton.dtsp-disabledButton:hover {
    background-color: transparent;
    opacity:.4;
}

body.theme-dark div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane button.dtsp-paneButton:not(.dtsp-disabledButton):hover {
    color:white;
}

body.theme-dark div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane button.dtsp-paneButton.clearButton {
    color: var(--bs-body-color);
}

body.theme-dark div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane button.dtsp-paneButton .dtsp-caret {
    color: var(--bs-body-color);
}


/*
Sweet alert
*/
.swal2-loader {
    /* border-color: var(--bs-primary) transparent var(--bs-info) transparent !important; */
    /* border-color: var(--bs-primary) transparent var(--bs-secondary) transparent !important; */
    border-color: var(--bs-secondary) transparent var(--bs-info) transparent !important;
}

/* spinner styling */
.spinner-ripple {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;

  }
  .spinner-ripple div {
    position: absolute;
    border: 3px solid var(--bs-primary);
    opacity: 1;
    border-radius: 50%;
    animation: ripple 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  }

  .spinner-ripple.header div {
    position: absolute;
    border: 3px solid #0D052C;
    opacity: 1;
    border-radius: 50%;
    animation: ripple-small 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  }

  .spinner-ripple div:nth-child(2) {
    animation-delay: -1s;
  }
  @keyframes ripple {
    0% {
      top: 36px;
      left: 36px;
      width: 0;
      height: 0;
      opacity: 0;
    }
    4.9% {
      top: 36px;
      left: 36px;
      width: 0;
      height: 0;
      opacity: 0;
    }
    5% {
      top: 36px;
      left: 36px;
      width: 0;
      height: 0;
      opacity: 1;
    }
    100% {
      top: 0px;
      left: 0px;
      width: 72px;
      height: 72px;
      opacity: 0;
    }
  }

  @keyframes ripple-small {
    0% {
      top: 24px;
      left: 24px;
      width: 0;
      height: 0;
      opacity: 0;
    }
    4.9% {
      top: 24px;
      left: 24px;
      width: 0;
      height: 0;
      opacity: .5;
    }
    5% {
      top: 24px;
      left: 24px;
      width: 0;
      height: 0;
      opacity: 1;
    }
    100% {
      top: 0px;
      left: 0px;
      width: 48px;
      height: 48px;
      opacity: 0;
    }
  }

.spinner-tunnel {
    animation: scaleIn 4s infinite cubic-bezier(.36, .11, .89, .32);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    position: absolute;
    opacity: 0;
    background-color: var(--bs-primary);
    left:50%;
    margin-left:-75px;
}

@keyframes scaleIn {
    from {
        transform: scale(0, 0);
        opacity: .5;
    }
    to {
        transform: scale(1, 1);
        opacity: 0;
    }
}


/* div.dataTables_processing>div:last-child>div {
    background-color:var(--bs-primary);
    margin:auto;
}

div.dataTables_processing {
    background-color: transparent;
    top: 180px;
    left: calc(50% + 40px);
    width: 80px;
    height: 80px;
} */

/* Hide the default bootstrap dataTables theme spinner to show the custom one  */
div.dataTables_processing>div:last-child {
    display: none;
}

.dataTables_length label, .dataTables_filter label, .dataTables_paginate > ul.pagination {
   display: inline-flex;

}

.dataTables_length {
    text-align: start;
    /* margin-bottom:15px; */
}


.select-info {
    margin-left:5px;
}

/* .dataTables_wrapper:not(.margin-top-0) {
    margin-top: 2rem;
} */

div.dataTables_wrapper div.dataTables_length select {
    margin:0 5px;
    margin-top: -4px;
}

.dataTables_filter label .bi {
    margin-top:4px; /* changed from 6px because app config magnifying glass was too low */
}

/* div.dataTables_wrapper div.dataTables_filter input {
    margin-top: -7px;
} */

.dataTables_filter, .dataTables_paginate {
    text-align: end;
}

.table, .dataTable-table {
    --bs-table-hover-bg: rgba(0, 0, 0, 0);
}

.table .child .bg-gray.fw-bold.text-right {
    overflow-wrap: break-word;
}

div.dataTables_wrapper div.dataTables_paginate  {
    margin-top:15px;
}

body.theme-light table.dataTable.table-striped>tbody>tr.odd.selected>* {
    box-shadow: inset 0 0 0 9999px rgb(0 0 0 / 3%);
    color: var(--bs-table-hover-color);
}

body.theme-light table.dataTable.table-striped>tbody>tr.even.selected>* {
    box-shadow: inset 0 0 0 9999px rgb(0 0 0 / 3%);
    color: var(--bs-table-hover-color);
}

body.theme-light table.dataTable.table-striped>tbody>tr.odd>* {
    box-shadow: inset 0 0 0 9999px rgb(0 0 0 / 1.5%);
}

body.theme-light table.dataTable.table-striped.table-hover>tbody>tr.odd:hover {
    box-shadow: inset 0 0 0 9999px rgb(0 0 0 / 1%);
}


body.theme-dark table.dataTable.table-striped>tbody>tr.odd.selected>* {
    box-shadow: inset 0 0 0 9999px #32324A;
}

body.theme-dark table.dataTable.table-striped>tbody>tr.even.selected>* {
    box-shadow: inset 0 0 0 9999px #2E2E4C;
}

body.theme-dark table.dataTable.table-striped>tbody>tr:hover {
    box-shadow: inset 0 0 0 9999px #0F0F17;
}

body.theme-dark .ui.dropdown {
    background-color: #1b1b29;
}

body.theme-dark .ui.dropdown.multiple a.ui.label.visible, body.theme-dark .ui.dropdown.multiple a.ui.label.visible i.icon  {
    background-color: var(--bs-dark);
    color: var(--bs-secondary);
    border-color: var(--bs-secondary);
}

body.theme-dark .ui.dropdown.multiple .delete.icon
/*

widgets

*/
.text-2xl {
    font-size: 3rem!important;
}

.badge.squircle, body.theme-dark .badge.squircle {
    border-radius: 4px !important;
    margin-left: 5px;
}

.shape-xs {
    width: 10px;
    height: 10px;
}

.rounded-circle {
    border-radius: 50% !important;
}

.bg-tertiary {
    background-color: #CF7DAA;
}

.orange, .bg-orange {
    background-color: #ff9f43;
}

.btn-circle {
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    padding: 0;
    border-radius: 50%;
  }

.btn-circle:hover {
    background-color:#f0f0f0;
}

  .btn-circle i {
    position: relative;
    top: -1px;
  }

  .btn-circle-sm {
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 0.9rem;
  }

  .btn-circle-lg {
    width: 55px;
    height: 55px;
    line-height: 55px;
    font-size: 1.1rem;
  }

  .btn-circle-xl {
    width: 70px;
    height: 70px;
    line-height: 70px;
    font-size: 1.3rem;
  }

  .nav-pills a.nav-link {
    box-shadow: none;
    text-transform:initial;
    width: inherit;
    color: #25396f;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s;
  }

  .nav-pills {
    display: contents;
  }

  .pl-0 {
    padding-left: 0 !important;
  }

  .pr-0 {
    padding-right: 0 !important;
  }

  .pagenav_wrapper {
    margin-bottom: 2.2rem;
  }

.table-v, ..table-h {
    width:100%;
}

.table-v .heading, .table-h .heading {
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-weight:bold;
    white-space: nowrap;
}
