.orange-row {
    background: #FD7E1480 !important;
    color: var(--dark) !important;
}

.red-row {
    background: #FA5C7C80 !important;
    color: var(--dark) !important;
}

.purple-row {
    background: #6B5EAE80 !important;
    color: var(--dark) !important;
}

.yellow-row {
    background: #FFBC0080 !important;
    color: var(--dark) !important;
}

.grey-row {
    background: #98A6AD99 !important;
    color: var(--dark) !important;
}

.dark-row {
    background: #323A4680 !important;
    color: var(--dark) !important;
}

.green-row {
    background: #0ACF9780 !important;
    color: var(--dark) !important;
}

.text-red-darken {
    color: #b71c1c !important;
}

input.column-search {
    font-family: unicons;
    font-style: normal;
    font-weight: 400;
    text-decoration: inherit;
    background: transparent;
    border: 1px solid transparent;
    width: 90%;
}

input.column-search:not(:placeholder-shown),
select.column-search:has(option:first-child:not(:checked)) {
    border-bottom: solid 1px !important;
}

input.column-search:hover {
    border-bottom: 1px solid var(--dark);
}

.app-search.dropdown {
    transition: all ease 0.5s;
    width: 300px;
}

.app-search.dropdown:focus-within {
    width: 806px;
}

.navbar-custom .app-search form {
    max-width: initial;
}

.dataTables_filter {
    display: none;
}

.dh-switch-toggle {
    float: left;
    background: var(--light);
    border-radius: 5px;
    position: relative;
    padding: 0;
    margin: 0 5px 2px 0;
    border: 0.13em solid var(--dark);
}

.dh-switch-toggle input {
    position: absolute;
    opacity: 0;
}

.dh-switch-toggle input + label {
    position: relative;
    z-index: 2;
    padding: 3px 5px 1px 3px;
    font-size: 0.9em;
    float: left;
    color: var(--dark);
    cursor: pointer;
    user-select: none;
    /*border-radius: 5px;*/
    transition: all 1s ease-out;
    background: var(--light);
    white-space: nowrap;
}

.dh-switch-toggle input:checked + label[for^='on-'] {
    background: radial-gradient(circle, var(--green) 50%, rgba(0, 0, 0, 0) 100%);
}

.dh-switch-toggle input:checked + label[for^='na-'] {
    background: var(--light);
    color: var(--dark);
}

.dh-switch-toggle input:checked + label[for^='off-'] {
    background: radial-gradient(circle, var(--red) 50%, rgba(0, 0, 0, 0) 100%);
}

/* left (in general) */
.dh-switch-toggle label:nth-child(2):nth-last-child(6),
.dh-switch-toggle label:nth-child(2):nth-last-child(6) ~ label,
.dh-switch-toggle label:nth-child(2):nth-last-child(6) ~ a {
    width: 33%;
    margin: 0;
}

/* center */
.dh-switch-toggle label:nth-child(2):nth-last-child(6) ~ input:checked:nth-child(3) + label ~ a {
    left: 33%;
}

/* right */
.dh-switch-toggle label:nth-child(2):nth-last-child(6) ~ input:checked:nth-child(5) + label ~ a {
    left: 66%;
}

.switch-candy a {
    border: 1px solid var(--dark);
    border-radius: 5px;
    box-shadow: 0px 0px 2px 3px rgba(0, 0, 0, 0.2), inset 0px 0px 1px 2px rgba(255, 255, 255, 0.45);
}

.dh-switch-toggle a {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0;
    z-index: 3;
    width: 33%;
    height: 100%;
}

.dh-switch-toggle a {
    display: block;
    transition: all 0.2s ease-out;
}

.dh-switch-toggle::after {
    clear: both;
    content: '';
    display: table;
}

.list-group {
    min-height: 60vh;
}

.dh-editable {
}

.dh-editable:hover {
}

.dh-edit-input {
    border: none;
    border-bottom: 1px solid var(--dark);
    outline: 0;
}

.dh-edit-input:focus {
    border: none;
    border-bottom: 1px solid var(--dark);
    outline: 0;
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-help {
    cursor: help;
}

.cursor-move {
    cursor: move;
}

table.dataTable tbody tr:hover {
    background-color: var(--gray) !important;
    color: var(--light) !important;
}

table.dataTable tbody tr:hover .action-icon {
    color: var(--light) !important;
}

table.dataTable tbody > tr.selected td, table.dataTable tbody > tr > .selected td {
    border: 1px solid transparent;
}

table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child:before,
table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child:before {
    top: 7px !important;
    left: -14px !important;
    height: 14px;
    width: 14px;
    display: block;
    color: var(--dark) !important;
    border-radius: 14px;
    box-shadow: 0 0 3px #444;
    box-sizing: content-box;
    text-align: center;
    text-indent: 0 !important;
    font-family: unicons !important;
    line-height: 14px;
    content: '\e83f' !important;
    background: none !important;

}

table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td:first-child:before,
table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th:first-child:before {
    content: '\e84b' !important;
    font-family: unicons !important;
    background: none !important;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

table.dataTable a.action-icon i.mdi.mdi-phone-voip:hover {
    color: var(--blue);
}

table.dataTable a.action-icon i.mdi.mdi-phone-plus:hover,
table.dataTable a.action-icon i.mdi.mdi-bell-off-outline:hover {
    color: var(--success);
}

table.dataTable a.action-icon i.uil-info-circle:hover,
table.dataTable a.action-icon i.uil-eye:hover {
    color: var(--info);
}

table.dataTable a.action-icon i.mdi.mdi-phone-log:hover,
table.dataTable a.action-icon i.uil-pen:hover {
    color: var(--warning);
}

table.dataTable a.action-icon i.mdi.mdi-phone-off:hover,
table.dataTable a.action-icon i.uil-trash-alt:hover {
    color: var(--danger);
}

.jump-search {
    transition: all 0.5s ease-in-out;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.hotlink {
    position: absolute;
    right: 30px;
    transform: translate(0, -30px);
    display: none;
}

li:hover > .hotlink {
    display: block;
}

.hotlink:hover {
    color: #b38400;
    cursor: copy;
}

.hotlink-elem:focus, .hotlink-elem:hover {
    background-color: #f8f9fa;
    color: #272e37;
}

.lg-checkbox {
    /* Double-sized Checkboxes */
    -ms-transform: scale(2); /* IE */
    -moz-transform: scale(2); /* FF */
    -webkit-transform: scale(2); /* Safari and Chrome */
    -o-transform: scale(2); /* Opera */
    transform: scale(2);
    margin-left: 10px;
}

#usersList td, th {
    vertical-align: middle;
}

/* custom select form validaiton */
.was-validated .custom-select:invalid + .select2 .select2-selection {
    border-color: #ff5b5b !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23ff5b5b' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23ff5b5b' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
    background-repeat: no-repeat;
    background-position: right calc(1.075em + 0.7875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .custom-select:valid + .select2 .select2-selection {
    border-color: #10c469 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2310c469' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(1.075em + 0.7875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

table.dataTable tbody > tr.selected a, table.dataTable tbody > tr > .selected > td {
    color: var(--cyan);
}

table.dataTable tbody > tr.selected:hover a, table.dataTable tbody > tr > .selected:hover > td {
    color: var(--blue);
}

table.dataTable tbody > tr.selected, table.dataTable tbody > tr > .selected > td {
    color: var(--light) !important;;
    background: var(--secondary) !important;
}

table.dataTable.table-sm td, table.dataTable.table-sm th {
    padding: 0.4rem;
    line-height: 1rem;
}

.relative-center {
    position: relative;
    left: 50%;
}

.translate-neg-180-percent {
    transform: translate(-180%);
}

#curl-log-area {
    white-space: pre-wrap;
    font-size: 0.7em;
    max-width: 100%;
}

#curl-reset {
    height: 24px;
    padding: 0 10px;
}

.btn-console {
    height: 24px;
    padding: 0 10px;
}

.right-bar.wide {
}

.right-bar-enabled .right-bar.wide {
    right: 0;
}

.dh-list-filter-select {
    position: absolute;
    top: 0;
    left: 170px;
    width: auto;
}

/* ===== Scrollbar CSS ===== */
/* Firefox */
.dataTables_scrollBody {
    scrollbar-width: thin;
    scrollbar-color: #a6a6a6 #ffffff;
    /*scrollbar-color: #a6a6a6 #ffffff;*/
}

/* Chrome, Edge, and Safari */
.dataTables_scrollBody::-webkit-scrollbar {
    width: 11px;
}

.dataTables_scrollBody::-webkit-scrollbar-track {
    background: #ffffff;
}

.dataTables_scrollBody::-webkit-scrollbar-thumb {
    background-color: #a6a6a6;
    border-radius: 10px;
    border: 3px solid #ffffff;
}

.dataTables_wrapper .dataTables_processing {
    background: var(--yellow) !important;
    color: var(--dark);
}

thead .p-0:before, thead .p-0:after {
    top: -3px !important;
}

thead .p-1:before, thead .p-1:after {
    top: 5px !important;
}

select.no-arrow::-ms-expand {
    display: none;
}

select.no-arrow {
    background: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
}


.deleted-row {
    background: #ffdede !important;
    color: var(--gray-dark);
}

#eventData a {
    text-decoration: underline;
    color: var(--dark);
}

#eventData tr:hover a {
    text-decoration: underline;
    color: var(--light);
}

#eventData table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child:before, table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child:before {
    top: 12px !important;
    left: -23px !important;
}

#basicwizard > ul > li > a > span > i {
    color: var(--light);
}

#basicwizard > ul > li > a.active > span > i {
    color: var(--primary);
}

#basicwizard > ul > li > a:hover > span > i {
    color: var(--yellow);
}

@media (min-width: 992px) {
    body[data-layout=detached] .container-fluid, body[data-layout=detached] .container-lg, body[data-layout=detached] .container-md, body[data-layout=detached] .container-sm, body[data-layout=detached] .container-xl {
        max-width: 99%;
    }
}


body[data-layout=detached] .left-side-menu {
    min-width: 220px;
    max-width: 220px;
}

.left-side-menu {
    width: 220px;
}

.select2-selection__rendered {
    padding-left: 18px !important;
}

.select2-container .select2-selection--single .select2-selection__arrow {
    width: 19px !important;;
    right: 10px;
}

form input:hover, form select:hover, form textarea:hover, form .select2-container:hover,
form .form-control:valid:focus, form .form-control:invalid:focus, form .select2-container--focus {
    box-shadow: 2px 2px 5px #999 !important;
    border-radius: 5px;
}

/*** expansion of the w-15, w-50, w-75, w-100 ***/
.w-40 {
    width: 40% !important;
}

.w-60 {
    width: 60% !important;
}


@keyframes rightMenuDisplay {
    0% {
        right: -270px;
    }
    100% {
        right: 0px;
    }
}

#templateMenu:hover {
    right: 0;
    animation: rightMenuDisplay 0.5s forwards;
}

#gs.nav-tabs.nav-bordered li a.active {
    border-bottom: 2px solid #323a46;
}

#gs.nav-tabs .nav-link {
    border: 1px solid transparent;
    border-top-left-radius: 0 !important;;
    border-top-right-radius: 0 !important;
}

#gs.nav-tabs li:focus-within,
#gs.nav-tabs li:hover {
    outline: solid 1px darkgray;
    border-radius: 5px;
}

.foldable {
    cursor: pointer;
}

.foldable.folded:before {
    content: '+';
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 5px;
}

.foldable:before {
    content: '-';
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 5px;
}

a.impersonate-btn {
    position: absolute;
    top: 5px;
    right: 10px;
}

.terminal {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 500px;
    height: 300px;
    background-color: var(--light);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    z-index: 9997;
}

.terminal-header {
    background-color: var(--dark);
    height: 30px;
    padding: 0 10px;
    display: flex;
    align-items: center;
}

.terminal-title {
    flex-grow: 1;
}

.terminal-content {
    padding: 10px;
    overflow-y: scroll;
    height: calc(100% - 31px);
    color: var(--dark);
    font-size: 11px !important;
}

.resize-handle {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    cursor: se-resize;
}

.dhico-reseller {

}

.table-xs th,
.table-xs td {
    padding: 0.2rem;
}

.table-xs th {
    padding: 0.1rem;
}

.table-xs.table-hover tbody tr:hover {
    color: var(--light);
    background-color: var(--gray);
}

.sorted-desc:after {
    content: " \2193";
}

.sorted-asc:after {
    content: " \2191";
}

.hist-msg {
    padding: 5px;
}

.hist-msg:hover {
    border-radius: 5px;
    box-shadow: var(--secondary) 2px 2px 5px;
}

.hist-msg:after {
    font: normal normal normal 24px/1 "Material Design Icons";
    content: '\F84E';
    position: absolute;
    top: 5px;
    right: 30px;
}

.hist-msg.open:after {
    content: '\F622';
}

.head-section, .info-section {
    transition: all 0.5s ease-in-out;
}

.subscriber-info-table td:first-child {
    white-space: nowrap;
    vertical-align: baseline;
}

audio {
    height: 40px;
}

.modal-body {
    max-height: 84vh;
    overflow-y: auto;
}

#status-line > div {
    display: flex;
    flex-flow: row wrap;
}

#status-line > div > * {
    flex: 1 auto;
}


.floating-text {
    display: inline-block;
    animation: floatText 40s infinite linear;
    animation-play-state: paused;
}

.floating-text:hover {
    animation-play-state: running;
}

@keyframes floatText {
    to {
        transform: translateX(-100%);
    }
}

.noti-icon-badge.bottom-dot {
    top: 40px;
    right: 2px;
}

.nav-user .account-user-avatar {
    top: calc(30px / 2);
}

.nav-user .account-user-avatar img {
    height: 40px;
    width: 40px;
}

.blinkMe {
    animation: blinker 4s linear infinite;
}

@keyframes blinker {
    0% {
        opacity: 100;
    }
    33% {
        opacity: 25;
    }
    75% {
        opacity: 0;
    }
    100% {
        opacity: 100;
    }
}

.visual-box {
    bottom: 0;
    left: 24px;
    z-index: 1001;
    display: none;
    width: 500px;
    position: fixed;
    height: 70vh;
    border-radius: 10px 10px 0 0;
}

#notificationBox {
    overflow-y: scroll;
    height: 66vh;
    max-height: 66vh;
}

.arrow-button {
    position: fixed;
    bottom: 0;
    left: 4px;
    cursor: pointer;
    z-index: 1002;
}

.top-right {
    top: 12px;
    right: 12px;
}

/* Set the animation direction to right-to-left */
.jq-toast-single {
    animation: toast-right-to-left 0.7s;
}

/* Define the animation for right-to-left */
@keyframes toast-right-to-left {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.close-jq-toast-single {
    top: -4px;
    right: -8px;
    height: 24px;
    width: 24px;
    line-height: 24px;
}

.editor-toolbar {
    background: #ccc;
}

.editableInput {
    border: none;
    width: 100%;
    background: transparent;
    border-radius: 5px;
}

.editableInput:hover {
    background: #5f5f5f24;
}

.foundCallerID {
    /*background: var(--dark) !important;*/
    /*color: var(--light);*/
}

.hover-underline-animation {
    display: inline-block;
    position: relative;
    color: #3d73dd
}

.hover-underline-animation:after {
    content: "";
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #3d73dd;
    transform-origin: bottom right;
    transition: transform .5s ease-out
}

.hover-underline-animation:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left
}

.action > li .specification-action-icons {
    opacity: 0;
}

.action > li .specification-action-icons ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: absolute;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    right: -180px;
}

.action > li .specification-action-icons ul li {
    margin: 0 10px;
}

.action > li .specification-action-icons ul .specification-action-icons-item {
    font-size: 20px;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

.action > li .specification-action-icons ul .specification-action-icons-item:hover {
    color: #fa5c7c;
}

.action > li:hover {
    background: #f1f3fa;
    -webkit-transition-duration: .05s;
    transition-duration: .05s;
}

.action > li:hover .specification-action-icons {
    opacity: 1;
}

.action > li:hover .specification-action-icons ul {
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    right: 10px;
}

#cookie-bar {
    background: #111111;
    height: auto;
    line-height: 48px;
    color: #eeeeee;
    text-align: center;
    padding: 3px 0;
}

#cookie-bar.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

#cookie-bar.fixed.bottom {
    bottom: 0;
    top: auto;
}

#cookie-bar p {
    margin: 0;
    padding: 0;
}

#cookie-bar a {
    color: #ffffff;
    display: inline-block;
    border-radius: 3px;
    text-decoration: none;
    padding: 0 6px;
    margin-left: 8px;
}

#cookie-bar .cb-enable {
    background: #007700;
}

#cookie-bar .cb-enable:hover {
    background: #009900;
}

#cookie-bar .cb-disable {
    background: #990000;
}

#cookie-bar .cb-disable:hover {
    background: #bb0000;
}

#cookie-bar .cb-policy {
    background: #0033bb;
}

#cookie-bar .cb-policy:hover {
    background: #0055dd;
}

.density-default {
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2),
    0 2px 2px 0 rgba(0, 0, 0, .14),
    0 1px 5px 0 rgba(0, 0, 0, .12) !important
}

.screenshotWarning {
    position: fixed; /* Fixed position relative to the viewport */
    top: 50%; /* Move to the center vertically */
    left: 50%; /* Move to the center horizontally */
    transform: translate(-50%, -50%); /* Center the div itself */
    padding: 20px 40px;
    background-color: #007BFF;
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-size: 18px;
    text-align: center;
    z-index: 1000; /* Ensure it stays above other elements if necessary */
}

#canvas-container {
    position: relative;
    width: 1536px;
    height: 864px;
}

#canvas-container canvas {
    position: absolute;
    width: 100% !important;
    height: 100% !important;
}

legend {
    font-size: 16px;
    display: block;
    width: auto;
    max-width: 100%;
    padding: 0;
    margin-bottom: .1rem;
    line-height: inherit;
    color: inherit;
    white-space: normal;
}

#canvasColor {
    height: 9px;
    width: 20px;
    padding: 0;
    border: 0px solid #DDD;
}

#canvasColor::-moz-color-swatch {
    border: none;
}

#canvasColor::-webkit-color-swatch-wrapper {
    padding: 0;
    border-radius: 0;
}

#canvasColor::-webkit-color-swatch {
    border: none;
}

.controls > nav > ul > li > span {
    color: var(--light);
}

#text-input input, #text-input select {
    margin-left: 1px;
    margin-right: 1px;
    display: block;
    font-size: .9rem;
    font-weight: 400;
    line-height: 1.5;
    color: #6c757d;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #dee2e6;
    border-radius: .25rem;
}

.CodeMirror-empty {
    /*border: 1px solid var(--danger)!important;*/
}

.jq-toast-wrap {
    top: 5em !important;
}

.btn-simple {
    background: var(--gray);
    border-color: #969ca1;
    transition: all 0.2s ease;
}

.pulse {
    -webkit-box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, 1);
    -moz-box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, 1);
    box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, 1);
}

.no-pulse {
    -webkit-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 1);
    -moz-box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 1);
    box-shadow: 0px 0px 0 0px rgba(0, 0, 0, 1);
}

button.prepLoading:disabled {
    position: relative;
    color: transparent!important;
}

button.prepLoading:disabled::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: dots 1.5s steps(3, end) infinite;
    color: var(--light);
}

@keyframes dots {
    0% { content: "Loading   "; }
    33% { content: "Loading.  "; }
    66% { content: "Loading.. "; }
    100% { content: "Loading..."; }
}
.audio-overlay-wrapper {
    width: 100%;
    position: relative;
    display: inline-block;
}

.audio-overlay-wrapper audio {
    width: 100%;
    display: block;
}

.audio-click-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    cursor: pointer;
    z-index: 2;
}