body {
    background-color: var(--cui-background,#f5f6fa);
    
}
.float-right {
    float: right;
}
.text-blue {
    color: blue;
}

.custom-tooltip-trigger {
    cursor: pointer;
}

.custom-tooltip-trigger:hover .custom-tooltip {
    visibility: visible;
    opacity: 1;
    transition: opacity 500ms;
}

.custom-tooltip {
    position: fixed !important;
    white-space: nowrap;
    visibility: hidden;
    background: black;
    border: 1px solid black;
    padding: 5px;
    z-index: 9999;
    color: white;
    border-radius: 2px;
    opacity: 0;
    box-shadow: 1px 1px 3px 2px #888;
    transition: visibility 200ms, opacity 200ms;
}

.custom-tooltip:before {
    width: 0; 
    height: 0;
    content: " ";
    margin-top: -15px;
    position: fixed;
    margin-top: -13px;
    position: fixed;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid black;
}

.custom-tooltip.no-pointer:before {
    content: "";
    display: none;
}
.custom-tooltip.custom-tooltip-top:before {
    width: 0;
    height: 0;
    content: " ";
    bottom:0px;
    margin-bottom: -8px;
    left: 3px;
    position: absolute;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid black;
    transform: rotate(180deg);
    user-select: none;
    pointer-events: none;
}

.custom-black-tooltip {
    background: black;
    color: white;
    border-radius: 2px;
    position: absolute;
    border: 1px solid black;
    padding: 5px;
    z-index: 9999;
}

.white-color {
    color: white;
}

.pagination {
    float: right;
}

#pagination button {
    color: white;
}

.input-group-append .input-group-text {
    border-bottom-left-radius: 0px;
    border-top-left-radius: 0px;
}

.header-nav .nav-link {
    color: #444;
    font-size: min(1.35vw, 15px);
}

.header-nav .nav-link.active, .header-nav .show>.nav-link {
    border-bottom: 1px solid;
    background-image: linear-gradient(180deg, #2f88fb, #1a7cfa);
    color: white;
    border-radius: 5px;
}

.header-nav .nav-link.active:hover {
    color: #dedede;
}

#sidebar .sidebar-nav .nav-link.active {
    color: #635BFF !important;
    background: #635bfe1f;
    border-radius: 0px 5px 5px 0px;
}

#sidebar .sidebar-nav .nav-link.active .nav-icon {
    color: #635BFF !important;
}

.header-nav .nav-link:focus, .header-nav .nav-link:hover {
    color: #111;
    transition: color 200ms;
}

#header-links .nav-item {
    /* background-color: #aaa; */
    margin-left: 2px;
    border-radius: 4px;
}

a.nav-link, .nav-link .avatar {
    font-size: 13px;
}

.nav-link-icon {
    margin-right: 3px;
    width: 20px;
    height: 20px;
}

.avatar-img {
    width: 75%;
}

.invalid-input {
    border: solid 1px red;
}

.user-select-none {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.selectize-control div.selectize-input.disabled {
    opacity: 1;
    background-color: var(--cui-input-disabled-bg,#d8dbe0);
    border-color: var(--cui-input-disabled-border-color,#b1b7c1);
}

.input-group-prepend .input-group-text {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

div.selectize-control.multi .selectize-input > div {
    background: #39f;
    color: #fff;
    border-radius: 3px;
    font-size: 14px;
    padding: 3px 5px;
}

.color-scheme {
    background-color: var(--cui-light,#ebedef)!important;
    color: #fff;
}

html:not([dir=rtl]) .wrapper {
    padding-left: var(--cui-sidebar-occupy-start,0);
}

.sidebar:not(.sidebar-end)~* {
    --cui-sidebar-occupy-start: 16rem;
}


::-webkit-scrollbar {
    width: 7px;
    border-radius: 5px;
    position: absolute;
    opacity: 1;
    cursor: pointer;
    max-height: 10px
}


::-webkit-scrollbar-track {
    background: #fff0;
    width: 0px;
    cursor: pointer;
}


::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
    opacity: 0.5;
    cursor: pointer;
}


::-webkit-scrollbar-thumb:hover {
    background: #555;
    width: 12px;
    opacity: 1;
    transition: background, width, opacity 300ms;
}


.sidebar.sidebar-narrow:not(.sidebar-end) ~ * {
    --cui-sidebar-occupy-start: 65;
}

.sidebar {
    background: var(--cui-sidebar-bgw, #fff);
    border-right: 1px solid #11182740;
}


.sidebar .sidebar-brand {
    background: none;
}


.sidebar-nav .nav-link,
.sidebar-nav .nav-icon {
    color: #2d3748 !important;
    font-size: medium;
}


.header-toggler {
    color: #111;
}

.sidebar .sidebar-toggler {
    background: #0001;
}

.badge {
    --cui-badge-padding-x: 0.65em;
    --cui-badge-padding-y: 0.35em;
    --cui-badge-font-size: 0.75em;
    --cui-badge-font-weight: 700;
    --cui-badge-color: rgba(255, 255, 255, 0.87);
    --cui-badge-border-radius: 0.375rem;
    display: inline-block;
    padding: var(--cui-badge-padding-y) var(--cui-badge-padding-x);
    font-size: var(--cui-badge-font-size);
    font-weight: var(--cui-badge-font-weight);
    line-height: 1;
    color: var(--cui-badge-color);
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: var(--cui-badge-border-radius,0);
}


body.night-mode .btn.btn-info {
    background-color: #000;
}

body.night-mode .btn.btn-info:hover {
    background-color: #333;
    transition: background-color 200ms;
}

body.night-mode #sidebar .sidebar-nav .nav-link.active {
    color: #fff !important;
    background: #000;
}

body.night-mode {
    color: #000;
}

body.night-mode #sidebar .sidebar-nav .nav-link.active .nav-icon {
    color: #fff !important;
}

body.night-mode div.selectize-control.multi .selectize-input > div {
    background: #000;
}


body.night-mode .sidebar-links {
    color: #000;
}


body.night-mode .sidebar-links:hover {
    color: #fff;
    background: #000;
    transition: color,background 200ms;
}

body.night-mode #sidebar .sidebar-nav .nav-link:hover {
    color: #fff !important;
    background: #000;
    transition: color,background 200ms;
    border-radius: 0px 5px 5px 0px;
}

body.night-mode .dropdown-item:hover {
    color: #fff;
    transition: color 100ms;
    display: inline-block;
}

body.night-mode .dropdown-item {
    color: #000;
}

body.night-mode #header-user-name {
    color: #000;
}

body.night-mode .sidebar-nav .nav-link, body.night-mode .sidebar-nav .nav-icon {
    color: #000 !important;
    margin-top: 2px;
}

body.night-mode #sidebar .sidebar-nav .nav-link:hover .nav-icon {
    color: #fff !important;
}

body.night-mode .dropdown-item:focus, .dropdown-item:hover {
    background-color: #000;
    color: #fff;
}

#header-user-name {
    bottom: -5px;
    position: relative;
}


@media (min-width: 768px) {
    #header-user-name {
        bottom: -2px;
    }
}

#header-notification-count, #header-special-notification-count {
    position: relative;
    top: -14px;
    left: -6px;
}

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

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

.tox-tinymce-aux {
    z-index: 99999 !important;
}

.tox-statusbar__branding {
    display: none !important;
}

.tox .tox-tbtn svg {
    transform: scale(0.8);
}

.trumbowyg-editor-box {
    background: #fff;
}

.trumbowyg-button-pane button {
    width: 27px;
    height: 30px;
}

.trumbowyg-box button svg, .trumbowyg-modal svg {
    display: inline-block;
}


@font-face {
    font-family: Roboto;
    src: url("/static/fonts/Roboto-Regular.woff2?v=1.1.0") format("woff2"), url("/static/fonts/Roboto-Regular.woff?v=1.1.0") format("woff"), url("/static/fonts/Roboto-Regular.ttf?v=1.1.0") format("truetype");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: Roboto;
    src: url("/static/fonts/Roboto-Regular.woff2?v=1.1.0") format("woff2"), url("/static/fonts/Roboto-Regular.woff?v=1.1.0") format("woff"), url("/static/fonts/Roboto-Regular.ttf?v=1.1.0") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: Roboto;
    src: url("/static/fonts/Roboto-Medium.woff2?v=1.1.0") format("woff2"), url("/static/fonts/Roboto-Medium.woff?v=1.1.0") format("woff"), url("/static/fonts/Roboto-Medium.ttf?v=1.1.0") format("truetype");
    font-weight: 500;
    font-style: normal;
}
body {
    font-family: 'Roboto', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.bg-black {
    background-color: #000 !important;
}


body.hippa-mode .hippa-field {
    filter: blur(8px) !important;
}

#hippa-mode-toggle-label:hover {
    background: #efefef;
}


@media (max-width: 768px) {
    #message-there-are-only-two-options {
        font-size: 1.3rem !important;
        text-shadow: 0 0 10px #fff;
    }
    #add-edit-call-logs-page-body-tag {
        #floating-container {
            width: 98vw !important;
        }
        #step-1 {
            padding-top: 150px;
        }
        #current-call-type .call-type-color-preview {
            display: none;
        }
    }
}


.trumbowyg-editor p,
.protocol-placeholder p,
.call-assistant-script p {
    margin-bottom: 0.20rem;
}

.SumoSelect .optWrapper .select-all {
    height: 33px;
}

.form-switch-danger .form-check-input:checked {
    background-color: #ff0000 !important;
    border-color: #ff1111 !important;
}


body.criticial-mistake-for-rectification {
    #sidebar, header {
        background-color: #f77;
    }
}



.card.transcript-with-speaker {
    margin-bottom: 10px;
    max-width: 85%;
}
.card.transcript-with-speaker.second-speaker {
    margin-left: auto;
    margin-right: 0;
}
.card.transcript-with-speaker .card-header {
    background-color: #f0f0f0;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 5px;
    border-bottom: none;
    font-weight: 600;
}
.card.transcript-with-speaker .card-body {
    background-color: #f0f0f0;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
}
.card.not-second-speaker {
    border-top-left-radius: 0px;
}
.card.second-speaker {
    border-bottom-right-radius: 0px;
}

.card.transcript-with-speaker.second-speaker .card-header,
.card.transcript-with-speaker.second-speaker .card-body {
    background-color: #77ff77;
}