﻿body {
    background-color: #FCF9F6;
    height: calc(var(--vh, 1vh) * 100);
    max-width: 100%;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.thin-scrollbar::-webkit-scrollbar {
    height: 4px;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 7px;
}

.custom-scrollbar::-webkit-scrollbar-track, .thin-scrollbar::-webkit-scrollbar-track {
    background: #FBF7F4;
    border-radius: 80px;
}

.custom-scrollbar::-webkit-scrollbar-thumb, .thin-scrollbar::-webkit-scrollbar-thumb {
    background: #D8D2CD;
    border-radius: 80px;
}

.chat-container {
    height: calc(var(--vh, 1vh) * 100);
    max-width: 100%;
    padding: 0;
}

.chat-body {
    padding: 0 38px;
}

.sidebar {
    height: calc(var(--vh, 1vh) * 100);
    overflow-y: auto;
    box-shadow: 0px 0px 10px #0000000D;
}

.chat-header {
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    border-bottom: none;
    margin-bottom: 0;
    flex-wrap: unset;
}

    .chat-header div {
        border: none;
        padding: unset;
        margin: unset;
        flex-grow: unset;
    }

.header-contact {
    width: 273px;
    padding: 0 24px 0 27px !important;
    color: black;
}

.dropdown-menu.menu-dropdown{
    width: 273px !important;
}

.header-container {
    height: 100%;
    border-left: 1px solid #DFD9D2 !important;
}

.rtl .header-container {
    border-left: none !important;
    border-right: 1px solid #DFD9D2 !important;
}

.chat-messages {
    overflow-y: auto;
    height: calc(var(--vh, 1vh) * 100 - 242px);
    background-color: #FCF9F6;
    margin-bottom: 20px;
    padding: 0 9px;
}

.message-input {
    background-color: #ffffff;
    padding: 12px;
    position: sticky;
    bottom: 56px;
    box-shadow: 0px 0px 10px #0000000D;
    border-radius: 10px;
    width: 100%;
}

.contact-item {
    background-color: #FBF7F4;
    border-radius: 5px !important;
    padding: 4px 14px 4px 19px !important;
}

    .contact-item:hover, .contact-item.active-chat {
        background-color: #D7FBDD;
    }

    .contact-item.active {
        background-color: #D7FBDD;
    }

.rtl .contact-item {
    padding: 4px 19px 4px 14px !important;
}


.ChatSummary {
    border-bottom: none;
}

    .ChatSummary label {
        font-weight: bold;
        font-size: 15px;
        margin: 0;
        margin-right: auto;
        max-width: calc(100% - 135px);
        line-height: 20px;
    }

        .ChatSummary label > div:not(.box-green) {
            max-width: 100%;
            white-space: nowrap; /* Prevents text from wrapping */
            overflow: hidden; /* Hides the overflow text */
            text-overflow: ellipsis;
        }

        .ChatSummary label > div.box-green {
            left: -23px;
            top: -7px;
            background: #51BE5D;
        }


.rtl .ChatSummary label > div.box-green {
    right: -23px;
    top: -7px;
    left: unset;
}

.ChatSummary label small {
    font-weight: normal !important;
    display: block;
}

.ChatSummary span.text-muted {
    color: rgba(33, 37, 41, 0.75) !important;
}

.ChatSummary span.no-messages {
    background: #51BE5D;
    color: white !important;
    border-radius: 50%;
}

.message {
    margin-bottom: 15px;
    max-width: 70%;
}

.users-list-body {
    width: 100%;
}

.text-end {
    text-align: right !important;
}

.header-btn {
    padding: 22px 30px !important;
}

    .header-btn .nav-link {
        background-color: #FBF7F4;
        border-radius: 8px;
        color: black;
        font-weight: normal;
        padding: 8px 24px 9px 18px;
        font-size: 14px;
        line-height: 19px;
        width: fit-content;
        align-items: center;
    }

.rtl .header-btn .nav-link {
    padding: 8px 18px 9px 24px;
}

.message-content {
    font-size: 16px;
    line-height: 22px;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.received {
    align-self: flex-start;
    text-align: left;
}

.rtl .received {
    text-align: right;
}

.received .message-content {
    position: relative;
    padding: 18px 26px;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #0000000D;
    display: inline-block;
}

    .received .message-content::after {
        content: "";
        position: absolute;
        bottom: -6px;
        left: 19px;
        z-index: 0;
        width: 16px;
        rotate: 31deg;
        height: 16px;
        background-color: #ffffff;
        clip-path: polygon(0 0, 100% 100%, 0 100%);
    }

.rtl .received .message-content::after {
    left: unset;
    right: 19px;
}

.sent {
    align-self: flex-end;
    text-align: right;
}

.rtl .sent {
    text-align: left;
}

.sent .message-content {
    position: relative;
    padding: 18px 26px;
    background-color: #D5F5DA;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #0000000D;
    display: inline-block;
}

    .sent .message-content::after {
        content: "";
        position: absolute;
        bottom: -6px;
        right: 19px;
        z-index: 0;
        width: 16px;
        rotate: 232deg;
        height: 16px;
        background-color: #d5f5da;
        clip-path: polygon(0 0, 100% 100%, 0 100%);
    }

.rtl .sent .message-content::after {
    left: 19px;
    right: unset;
}

.message-time {
    font-size: 12px;
    line-height: 17px;
    color: #000000;
    opacity: 0.53;
    margin-top: 14px;
    display: flex;
    flex-direction: row;
    direction: ltr;
}

.received .message-time, .rtl .sent .message-time {
    justify-content: flex-start;
}

.sent .message-time, .rtl .received .message-time {
    justify-content: flex-end;
}

.system .message-time {
    justify-content: center !important;
}

.system .message-content::after {
    left: 50%;
    transform: translateX(-50%);
}

.search-box {
    padding: 15px;
    background-color: #ffffff;
    border-bottom: 1px solid #e9ecef;
}

.user-profile {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    background-color: #f8f9fa;
}

.form-control, .input-group-text {
    background-color: #FCF9F6 !important;
}

    .form-control:focus {
        border-color: #dee2e6 !important;
        box-shadow: none !important;
    }

.message-form-control {
    border: 0;
}

    .message-form-control:focus {
        border: none;
        outline: none;
    }

.custom-tabs {
    display: flex;
    justify-content: space-between;
    margin-top: 7px;
}

    .custom-tabs .nav-link {
        background-color: #FBF7F4;
        border-radius: 8px;
        color: black;
        font-weight: normal;
        padding: 8px 10px;
        font-size: 13px;
    }

        .custom-tabs .nav-link.active {
            background-color: #D4F8D4;
            color: black;
        }

.nav.nav-tabs .nav-item {
    margin: 0 !important;
    width: 50% !important;
}

    .nav.nav-tabs .nav-item .nav-link {
        background-color: transparent !important;
        font-weight: normal;
        font-size: 15px;
        padding: 10px 20px;
        border: none;
        width: 100%;
        color: black !important;
        line-height: 20px;
    }

        .nav.nav-tabs .nav-item .nav-link.active {
            background-color: #27CC43 !important;
            color: white !important;
            font-size: 15px;
            padding: 10px 20px;
            border: none;
            width: 100%;
            border-top-left-radius: 0.5rem !important;
            border-top-right-radius: 0.5rem !important;
            line-height: 20px;
        }

.tab-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 21px;
    border-bottom: 5px solid #27CC43 !important;
}

.custom-btn {
    background-color: #27CC43;
    color: white;
    font-size: 18px;
    padding: 13px;
    border: none;
    width: 100%;
    line-height: 24px;
}

    .custom-btn .fas {
        font-weight: normal;
    }

.contact-list {
    margin-top: 20px;
    padding: 0 !important;
    padding-left: 6px !important;
    padding-right: 9px !important;
    padding-top: 3px !important;
    height: calc(var(--vh, 1vh) * 100 - 363px);
}

.rtl .contact-list {
    padding-right: 6px !important;
    padding-left: 9px !important;
}

.contact-list .list-group {
    gap: 6px;
}

body.ltr .ChatSummary a {
    margin: 0px 8px 0px 0px;
}

.vertical {
    border-left: 1px solid #707070;
    height: 35px;
    margin: 0 9px;
}

.call-count {
    font-size: 10px;
    right: -4px;
    top: -6px;
    border: 2px solid white;
    background: black;
}

.chat-btn {
    background-color: #F3F1EF;
    height: 51px;
    width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-sent-btn {
    background-color: #27CC43;
    display: flex;
    gap: 5px;
    width: 146px;
    height: 51px;
}

.btn:hover {
    background-color: #F3F1EF;
}

.chat-sent-btn:hover {
    background-color: #27CC43 !important;
}

.time-text {
    background-color: #FFFFFF;
    box-shadow: 0px 0px 10px #0000000D;
    border-radius: 10px;
    padding: 10px 40px;
    color: black;
}

.header-dropdown {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 8px;
    inset: 0px auto auto 0px;
    transform: translate(0px, 83px);
}

.dropdown-divider {
    border-top: 1px solid #7d7d7d24 !important;
}

.mobile-logo {
    width: 92px;
    height: 39px;
}

.mobile-header {
    padding: 12px;
}

.header-icon {
    width: 65px;
}

.chat-menu, .user-menu {
    top: 24px;
}

.user-container {
    width: 272px !important;
}

.chatbar-container {
    width: 100%;
    max-width: 351px;
}

.user-menu .btn-close, .chat-menu .btn-close {
    filter: invert(1);
    opacity: 1;
}

.offcanvas-backdrop.show {
    opacity: 72% !important;
}

.sticky-header {
    position: sticky;
    top: 0;
    background: white !important;
    z-index: 9;
    border-left: 1px solid grey;
}

    .sticky-header .change-lang {
        top: 1.5rem;
        right: -4px;
    }

.rtl .sticky-header {
    border-left: none;
}

    .rtl .sticky-header .change-lang {
        left: -4px;
        right: unset;
    }

.message-form-control {
    font-size: 18px;
    line-height: 24px;
}

.fixed-height {
    align-items: center;
    height: 36px;
}

@media (max-width: 1741px) {
    .custom-tabs {
        justify-content: start;
        gap: 8px;
        overflow-x: auto !important;
        width: 100%;
        white-space: nowrap;
        flex-wrap: nowrap;
    }   
}

@media (max-width: 1440px) {
    .header-contact {
        width: 206px;
    }

    .dropdown-menu.menu-dropdown {
        width: 206px !important;
    }

    .header-btn {
        padding: 22px 6px !important;
        gap: 8px !important;
    }

    .tab-container {
        margin-top: 11px;
    }

    .custom-btn, .custom-btn2 {
        padding: 10px;
    }
}

@media (max-width: 1024px) {
    .header-btn .nav-link {
        padding: 8px 12px 8px 12px;
        font-size: 12px;
        width: fit-content;
    }

    .custom-btn, .custom-btn2, .nav.nav-tabs .nav-item .nav-link, .nav.nav-tabs .nav-item .nav-link.active {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .chat-body {
        padding: 0 12px 0 21px;
    }

    .rtl .chat-body {
        padding: 0 21px 0 12px;
    }

    .time-text {
        padding: 8px;
        width: 210px;
        font-size: 12px;
    }

    .header-contact {
        padding: 13px 16px !important;
        box-shadow: -5px 0px 6px #00000029;
    }

    .header-btn .nav-link {
        width: 100%;
    }

    .chat-messages {
        height: calc(var(--vh, 1vh) * 100 - 246px);
    }

    .dropdown-divider {
        border: 1px solid #7d7d7d24;
    }

    .custom-tabs .nav-link {
        font-size: 12px;
    }

    .contact-list {
        height: calc(var(--vh, 1vh) * 100 - 264px);
    }

    .chat-btn, .chat-sent-btn {
        width: 38px;
        height: 38px;
    }

        .chat-btn img, .chat-sent-btn img {
            width: 16px;
        }

        .chat-btn h6, .chat-sent-btn h6 {
            font-size: 18px;
            line-height: 24px;
        }

    .message-form-control {
        font-size: 16px;
        line-height: 22px;
    }
}

.chat-menu {
    right: -25px;
}

.rtl .chat-menu {
    right: unset;
    left: -37px;
}

.user-menu {
    left: -44px;
}

.rtl .user-menu {
    right: -34px;
    left: unset;
}

.chat-header {
    box-shadow: 5px 0px 6px #00000029;
}

.rtl .chat-header {
    box-shadow: -5px 0px 6px #00000029;
}

.convesation-day {
    width: 68px;
    border-left: 1px solid #707070;
    margin-left: 9px;
    font-size: 12px;
    line-height: 17px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.rtl .convesation-day {
    width: 54px;
    border-right: 1px solid #707070;
    margin-right: 9px;
    border-left: none;
    margin-left: 0;
}

.gap-3 {
    gap: 1rem !important;
}

.gap-2 {
    gap: .5rem !important;
}

.fw-normal {
    font-weight: 400 !important;
}

.small, small {
    font-size: 12px !important;
    line-height: 17px !important;
}

.dropdown-item .small, .dropdown-item small {
    font-size: 14px !important;
    line-height: 18px !important;
}

body.rtl .mr-2 {
    margin-right: 0.5rem !important;
    margin-left: 0 !important;
}

.rounded-3 {
    border-radius: 0.5rem !important;
}

.rounded-top-3 {
    border-top-left-radius: 0.5rem !important;
    border-top-right-radius: 0.5rem !important;
}

.input-group .input-group-text,
.input-group .form-control {
    font-size: 14px;
    line-height: 19px;
}

.ltr .input-group .form-control,
.rtl .input-group .input-group-text {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.rtl .input-group .form-control,
.ltr .input-group .input-group-text {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.fw-medium {
    font-weight: 500 !important;
}

.loader {
    top: 45%;
}

.dropdown-menu .dropdown-item {
    margin: 0 !important;
}

    .dropdown-menu .dropdown-item i,
    i.fa-sign-out {
        font-size: 20px !important;
    }

.border-bottom {
    border-bottom: 1px solid #dee2e6 !important;
}

.box-green {
    position: absolute;
    top: 6px;
    right: 10px;
}

    .box-green.over-tab {
        border: none;
    }

        .box-green.over-tab.small-box-green {
            width: 6px;
            height: 6px;
            right: 5px;
            top: 5px;
        }

.rtl .box-green {
    right: unset;
    left: 10px;
}

    .rtl .box-green.over-tab.small-box-green {
        right: unset;
        left: 5px;
    }

.header-contact h6 {
    line-height: 18px;
    font-size: 13px;
}

.header-contact .small,
.header-contact small {
    font-size: 15px !important;
    line-height: 20px !important;
}

.sidebar .input-group {
    border-radius: 5px;
    overflow: hidden;
}

.change-lang {
    width: 39px;
    margin: 0 10px 0 10px;
    position: absolute;
    right: 0;
}


.rtl .change-lang {
    left: 0;
    right: unset;
}

.sidebar > .text-center.border.bg-white {
    padding: 13px 0 !important;
}

.message-item {
    margin-bottom: 12px;
    direction: ltr;
}

    .message-item:last-of-type {
        margin-bottom: 0px !important;
    }

.header-btn-container-mobile {
    height: 20px;
}

hr {
    margin: 1rem 0;
    color: #DFD9D2;
    border: 0;
    border-top: 1px solid;
    opacity: 1;
}

body.ltr .ChatSummary i.ti-pin {
    position: absolute;
    right: -6px;
}

bodyrtl .ChatSummary i.ti-pin {
    position: absolute;
    left: -6px;
}

.btn-close:focus {
    box-shadow: none;
}

.header-container[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}

.header-container .fa-chevron-down {
    animation: transform 1s linear;
}

@media (max-width: 991px) {
    .header-container {
        border: none !important;
    }

    .message-input {
        bottom: 24px;
    }
}

@media (max-width: 768px) {
    .chat-messages {
        padding: 0 9px 0 !important;
    }

    .rtl .chat-messages {
        padding: 0 0 0 9px !important;
    }

    .message-item {
        margin-bottom: 6px;
    }

    .header-contact h6 {
        line-height: 20px;
        font-size: 15px;
    }

    .file-input-container {
        max-width: calc(100% - 130px);
    }
}

body.ltr .chat-sent-btn {
    margin-right: 0 !important;
}

body.rtl #message-input {
    margin-right: 0 !important;
}


#DeskSettings .custom-btn{
    border-radius: 5px;
    font-size: 12px;
    line-height: 17px;
    padding: 5px 24px;
    width: fit-content;
    color: white;
}

#ImportExport .custom-btn {
    border-radius: 5px;
    justify-content: center;
    padding: 8px 24px;
    font-size: 13px;
    line-height: 18px;
    background: #27CC43 !important;
    color: white;
}

#ImportExport .list-group-item.pt-3{
    width: fit-content;
}

#ImportExport .list-group-item.pt-3 i {
    margin-left: 8px;
    position: absolute;
    top: 26px;
    left: 100%;
    width: max-content;
}

.rtl #ImportExport .list-group-item.pt-3 i {
    margin-left: 0;
    margin-right: 8px;
    right: 100%;
    left: unset;
}
    #DeskSettings .custom-btn .fa {
        font-weight: 400 !important;
    }

#DeskSettings .list-group-item-info > div > div,
#DeskSettings .list-group-item-info .fa-close,
#ImportExport .list-group-item-info > div > div,
#ImportExport .list-group-item-info .fa-close {
    font-size: 14px;
    line-height: 19px;
}

#ImportExport .list-group-item-info > div > div {
    line-height: 27px;
}

    #DeskSettings .list-group-item.d-flex {
        gap: 6px;
    }

#DeskSettings .list-group-item a.single-person {
    cursor: default;
    border-radius: 5px;
    background: #FBF7F4;
    position: relative;
    padding: 4px 10px;
    width: calc(50% - 3px);
    font-size: 13px;
    line-height: 18px;
}

    #DeskSettings .list-group-item a.single-person.isOnline {
        background: #D7FBDD;
    }

#DeskSettings .box-green {
    top: 8px;
    width: 10px;
    height: 10px;
}

.box-green.online-now {
    display: none;
}

#DeskSettings .repr-name {
    direction: ltr;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    max-width: calc(100% - 10px);
    display: block;
}

.rtl #DeskSettings .repr-name {
    direction: rtl;
}

@media (max-width: 1700px){
    #ImportExport .list-group-item.pt-3 i {
        margin: 0;
        position: relative;
        top: unset !important;
        left: unset !important;
        right: unset !important;
    }
}

@media (max-width: 768px) {
    #DeskSettings .list-group-item-info > div > div {
        max-width: 99px;
        white-space: nowrap;
        overflow: hidden;
    }
}

@media (max-width: 425px) {
    #DeskSettings .custom-btn,
    #ImportExport .custom-btn{
        padding: 5px 16px;
    }

    #DeskSettings .list-group-item-info > div > div,
    #DeskSettings .list-group-item-info .fa-close,
    #ImportExport .list-group-item-info > div > div,
    #ImportExport .list-group-item-info .fa-close {
        font-size: 13px;
    }

    #DeskSettings .list-group-item-info > div > div{
        max-width: 93px;
    }

    #DeskSettings .list-group-item a.single-person {
        font-size: 12px;
    }

    .loader {
        border: 6px solid #f3f3f3; /* Light grey */
        border-top: 6px solid #a5a8ad; /* dark grey */
        width: 40px;
        height: 40px;
        left: 45%;
    }
}


@media (max-width: 390px) {
    .message-form-control {
        font-size: 14px;
    }
}

@media (max-width: 375px) {
    .chatbar-container {
        width: 100%;
        max-width: 320px;
    }

    .chat-menu {
        right: -35px;
    }

    .rtl .chat-menu {
        right: unset;
        left: -35px;
    }
}

@media (max-width: 320px) {
    .chatbar-container {
        width: 100%;
        max-width: 282px;
    }
}



.autoreply-modal .custom-close-button,
.user-settings-modal .custom-close-button,
.phonebook-modal .custom-close-button,
.assign-representatives-modal .custom-close-button,
.tags-filter-modal .custom-close-button,
.edit-dep-modal .custom-close-button,
.edit-tag-modal .custom-close-button,
.reminders-modal .custom-close-button,
.new-chat-modal .custom-close-button,
.snooze-modal .custom-close-button {
    position: absolute;
    z-index: 1055;
    top: -28px;
    right: -5px;
}

.rtl .autoreply-modal .custom-close-button,
.rtl .user-settings-modal .custom-close-button,
.rtl .new-chat-modal .custom-close-button,
.rtl .phonebook-modal .custom-close-button,
.rtl .assign-representatives-modal .custom-close-button,
.rtl .tags-filter-modal .custom-close-button,
.rtl .edit-dep-modal .custom-close-button,
.rtl .edit-tag-modal .custom-close-button,
.rtl .reminders-modal .custom-close-button,
.rtl .snooze-modal .custom-close-button {
    top: -28px;
    left: -5px;
    right: unset;
}

.autoreply-modal .custom-close-button i,
.user-settings-modal .custom-close-button i,
.new-chat-modal .custom-close-button i,
.phonebook-modal .custom-close-button i,
.assign-representatives-modal .custom-close-button i,
.tags-filter-modal .custom-close-button i,
.edit-dep-modal .custom-close-button i,
.edit-tag-modal .custom-close-button i,
.reminders-modal .custom-close-button i,
.snooze-modal .custom-close-button i {
    font-size: 1.3rem;
    color: white;
}

    .autoreply-modal .custom-close-button i:hover,
    .user-settings-modal .custom-close-button i:hover,
    .new-chat-modal .custom-close-button i:hover,
    .phonebook-modal .custom-close-button i:hover,
    .assign-representatives-modal .custom-close-button i:hover,
    .tags-filter-modal .custom-close-button i:hover,
    .edit-dep-modal .custom-close-button i:hover,
    .edit-tag-modal .custom-close-button i:hover,
    .reminders-modal .custom-close-button i:hover,
    .snooze-modal .custom-close-button i:hover {
        cursor: pointer;
    }

.autoreply-modal.modal-lg.reminders .dataTables_wrapper > .row:first-of-type,
.reminders-modal.modal-lg.reminders .dataTables_wrapper > .row:first-of-type,
.phonebook-modal.modal-lg.phonebook .dataTables_wrapper > .row:first-of-type {
    display: none;
}


.autoreply-modal .outline-searchbar,
.phonebook-modal .outline-searchbar,
.assign-representatives-modal .outline-searchbar,
.reminders-modal .outline-searchbar {
    max-width: 284px;
    height: 43px;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border: 1px solid #D5D5D5;
    border-radius: 5px;
    opacity: 1;
}

.snooze-modal .modal-content,
.tags-filter-modal .modal-content,
.assign-representatives-modal .modal-content{
    border-radius: 0 !important;
}

.autoreply-modal.modal-dialog #modal-form,
.reminders-modal.modal-dialog #modal-form,
.user-settings-modal.modal-dialog #modal-form,
.new-chat-modal.modal-dialog #modal-form,
.edit-dep-modal.modal-dialog #modal-form,
.edit-tag-modal.modal-dialog #modal-form,
.phonebook-modal.modal-dialog #modal-form,
.assign-representatives-modal.modal-dialog .modal-body,
.tags-filter-modal.modal-dialog .modal-body,
.snooze-modal.modal-dialog .modal-body {
    border: none;
    margin: 0;
    border-radius: 0;
    padding: 0;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 10px #0000000D;
}

    .snooze-modal.modal-dialog .modal-body,
    .tags-filter-modal.modal-dialog .modal-body{
        box-shadow: none !important;
    }

.autoreply-modal .modal-content .modal-body,
.reminders-modal .modal-content .modal-body,
.user-settings-modal .modal-content .modal-body,
.new-chat-modal .modal-content .modal-body,
.edit-dep-modal .modal-content .modal-body,
.edit-tag-modal .modal-content .modal-body,
.phonebook-modal .modal-content .modal-body {
    padding: 0;
}

.no-focus-border:focus {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.autoreply-modal h5,
.reminders-modal .modal-title,
.snooze-modal .modal-title,
.user-settings-modal h5.modal-title,
.new-chat-modal h5.modal-title,
.edit-dep-modal h5.modal-title,
.edit-tag-modal h5.modal-title,
.phonebook-modal h5,
.assign-representatives-modal h5,
.tags-filter-modal h5 {
    font-size: 18px;
    line-height: 24px;
}

.autoreply-modal .shadow-sepparator,
.reminders-modal .shadow-sepparator,
.snooze-modal .shadow-sepparator,
.user-settings-modal .shadow-sepparator,
.new-chat-modal .shadow-sepparator,
.edit-dep-modal .shadow-sepparator,
.edit-tag-modal .shadow-sepparator,
.phonebook-modal .shadow-sepparator,
.assign-representatives-modal .shadow-sepparator,
.tags-filter-modal .shadow-sepparator {
    height: 19px;
    width: 100%;
    background: transparent linear-gradient(180deg, #AAAAAA 0%, #FFFFFF 100%) 0% 0% no-repeat padding-box;
    opacity: 0.12;
}

.autoreply-modal table.dataTable thead > tr > th,
.reminders-modal table.dataTable thead > tr > th,
.phonebook-modal table.dataTable thead > tr > th {
    padding: 16px 3px !important;
    color: black;
}

.autoreply-modal table.dataTable tbody > tr > td,
.reminders-modal table.dataTable tbody > tr > td,
.phonebook-modal table.dataTable tbody > tr > td {
    padding: 24px 3px !important;
    text-align: start;
    font-size: 15px;
    line-height: 20px;
    color: black;
    font-weight: normal;
    direction: ltr;
    text-align: left;
}

.rtl .autoreply-modal table.dataTable tbody > tr > td,
.rtl .reminders-modal table.dataTable tbody > tr > td,
.rtl .phonebook-modal table.dataTable tbody > tr > td {
    text-align: right;
}

.autoreply-modal table.dataTable tbody > tr > td.b-name,
.reminders-modal table.dataTable tbody > tr > td.b-name,
.phonebook-modal table.dataTable tbody > tr > td.b-name {
    font-weight: bold;
}

.rtl .autoreply-modal table.dataTable tbody > tr > td.b-name,
.rtl .reminders-modal table.dataTable tbody > tr > td.b-name,
.rtl .phonebook-modal table.dataTable tbody > tr > td.b-name {
    direction: rtl;
}


.autoreply-modal table.dataTable thead .sorting:before,
.autoreply-modal table.dataTable thead .sorting_asc:before,
.autoreply-modal table.dataTable thead .sorting_desc:before,
.autoreply-modal table.dataTable thead .sorting_asc_disabled:before,
.autoreply-modal table.dataTable thead .sorting_desc_disabled:before,
.reminders-modal table.dataTable thead .sorting:before,
.reminders-modal table.dataTable thead .sorting_asc:before,
.reminders-modal table.dataTable thead .sorting_desc:before,
.reminders-modal table.dataTable thead .sorting_asc_disabled:before,
.reminders-modal table.dataTable thead .sorting_desc_disabled:before,
.phonebook-modal table.dataTable thead .sorting:before,
.phonebook-modal table.dataTable thead .sorting_asc:before,
.phonebook-modal table.dataTable thead .sorting_desc:before,
.phonebook-modal table.dataTable thead .sorting_asc_disabled:before,
.phonebook-modal table.dataTable thead .sorting_desc_disabled:before {
    display: none !important;
}

.autoreply-modal table.dataTable thead .sorting_asc:after,
.reminders-modal table.dataTable thead .sorting_asc:after,
.phonebook-modal table.dataTable thead .sorting_asc:after {
    content: "\1F80B";
}

.autoreply-modal table.dataTable thead .sorting:after,
.autoreply-modal table.dataTable thead .sorting_asc:after,
.autoreply-modal table.dataTable thead .sorting_desc:after,
.reminders-modal table.dataTable thead .sorting:after,
.reminders-modal table.dataTable thead .sorting_asc:after,
.reminders-modal table.dataTable thead .sorting_desc:after,
.phonebook-modal table.dataTable thead .sorting:after,
.phonebook-modal table.dataTable thead .sorting_asc:after,
.phonebook-modal table.dataTable thead .sorting_desc:after {
    position: relative;
    display: none;
    left: unset;
    right: unset;
    top: unset;
    bottom: -2px;
    color: #999999;
    margin: 0px 9px;
    font-size: 15px;
    line-height: 18px;
}

.autoreply-modal table.dataTable thead .sorting_asc:after,
.autoreply-modal table.dataTable thead .sorting_desc:after,
.reminders-modal table.dataTable thead .sorting_asc:after,
.reminders-modal table.dataTable thead .sorting_desc:after,
.phonebook-modal table.dataTable thead .sorting_asc:after,
.phonebook-modal table.dataTable thead .sorting_desc:after {
    display: inline-block;
    opacity: 1;
}

.autoreply-modal table.dataTable,
.reminders-modal table.dataTable,
.phonebook-modal table.dataTable {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border-collapse: collapse !important;
    width: 100% !important;
}

.autoreply-modal .infront .table thead th,
.reminders-modal .infront .table thead th,
.phonebook-modal .infront .table thead th {
    top: unset;
    background-color: transparent !important;
    font-weight: normal !important;
    font-size: 13px;
    line-height: 18px;
    border: none;
    text-align: start;
}


.autoreply-modal .table tr td, .autoreply-modal .table tr th,
.reminders-modal .table tr td, .reminders-modal .table tr th,
.phonebook-modal .table tr td, .phonebook-modal .table tr th {
    border: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.14) !important;
}

.autoreply-modal div.dataTables_wrapper div.dataTables_info,
.reminders-modal div.dataTables_wrapper div.dataTables_info,
.phonebook-modal div.dataTables_wrapper div.dataTables_info {
    display: none;
}

.autoreply-modal button.btn.btn-noborder,
.reminders-modal button.btn.btn-noborder,
.phonebook-modal button.btn.btn-noborder {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 5px 0 0;
}

.rtl .autoreply-modal button.btn.btn-noborder,
.rtl .reminders-modal button.btn.btn-noborder,
.rtl .phonebook-modal button.btn.btn-noborder {
    padding: 0 0 0 5px;
}

.rtl .autoreply-modal .pagination .page-item.next,
.rtl .autoreply-modal .pagination .page-item.previous,
.rtl .reminders-modal .pagination .page-item.next,
.rtl .reminders-modal .pagination .page-item.previous {
    transform: rotate(180deg);
}

.autoreply-modal .pagination .page-item,
.reminders-modal .pagination .page-item {
    margin: 0px 5px;
}

    .autoreply-modal .pagination .page-item.next,
    .reminders-modal .pagination .page-item.next {
        margin-right: 0;
    }

.rtl .autoreply-modal .pagination .page-item.next,
.rtl .reminders-modal .pagination .page-item.next {
    margin-left: 0;
    margin-right: 5px;
}

.autoreply-modal .pagination .page-item .page-link,
.reminders-modal .pagination .page-item .page-link {
    border: none;
    background: white !important;
    border-radius: 50%;
    padding: 4px 9.5px;
    font-size: 15px;
    line-height: 20px;
    color: black !important;
    outline: none !important;
    box-shadow: none !important;
    width: 28px;
    height: 28px;
}


.autoreply-modal .pagination .page-item.active .page-link,
.reminders-modal .pagination .page-item.active .page-link {
    background: #27CC43 !important;
    color: white !important;
}

.autoreply-modal .pagination .page-item.previous .page-link,
.autoreply-modal .pagination .page-item.next .page-link,
.reminders-modal .pagination .page-item.previous .page-link,
.reminders-modal .pagination .page-item.next .page-link {
    border: 1px solid #000000 !important;
    color: black !important;
    padding: 7px 7.5px;
    font-size: 12px;
    line-height: 12px;
}

.autoreply-modal .pagination .page-item.next .page-link,
.reminders-modal .pagination .page-item.next .page-link {
    padding: 7px 9.5px;
}

    .autoreply-modal .pagination .page-item.previous .page-link i,
    .autoreply-modal .pagination .page-item.next .page-link i,
    .reminders-modal .pagination .page-item.previous .page-link i,
    .reminders-modal .pagination .page-item.next .page-link i {
        font-size: 12px;
        line-height: 12px;
        height: 12px;
        text-align: center;
    }

.autoreply-modal .pagination .page-item.previous.disabled .page-link,
.autoreply-modal .pagination .page-item.next.disabled .page-link,
.reminders-modal .pagination .page-item.previous.disabled .page-link,
.reminders-modal .pagination .page-item.next.disabled .page-link {
    opacity: 0.25;
}

.autoreply-modal .dataTables_paginate, .autoreply-modal .dataTables_info,
.reminders-modal .dataTables_paginate, .reminders-modal .dataTables_info {
    padding: 38px 3px;
    direction: ltr !important;
    text-align: left !important;
}

.autoreply-modal table.dataTable tbody > tr > td:last-child,
.reminders-modal table.dataTable tbody > tr > td:last-child {
    text-align: right;
    direction: inherit;
}

.phonebook-modal table.dataTable tbody > tr > td:last-child {
    direction: inherit;
    display: flex;
    justify-content: flex-end;
    border: none !important;
}

.rtl .autoreply-modal table.dataTable tbody > tr > td:last-child,
.rtl .reminders-modal table.dataTable tbody > tr > td:last-child,
.rtl .phonebook-modal table.dataTable tbody > tr > td:last-child {
    text-align: left !important;
}

.rtl .autoreply-modal div.dataTables_wrapper div.dataTables_paginate ul.pagination,
.rtl .reminders-modal div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    flex-direction: row-reverse;
}

.autoreply-modal div.table-responsive > div.dataTables_wrapper > div.row > .col-md-7,
.reminders-modal div.table-responsive > div.dataTables_wrapper > div.row > .col-md-7,
.phonebook-modal div.table-responsive > div.dataTables_wrapper > div.row > .col-md-7 {
    padding: 0 !important;
}

.autoreply-modal .modal-content .modal-footer,
.phonebook-modal .modal-content .modal-footer {
    padding: 0;
}

.user-settings-modal .modal-content .modal-footer,
.new-chat-modal .modal-content .modal-footer {
    justify-content: space-between !important;
    padding: 0 1.5rem 30px 1.5rem;
}

.edit-dep-modal .modal-content .modal-footer,
.edit-tag-modal .modal-content .modal-footer {
    padding: 0 1rem 30px 1rem;
}

.autoreply-modal .addnewbtn {
    position: absolute;
    bottom: 27px;
    border-radius: 5px;
    background: #27CC43;
    border-color: #27CC43;
    padding: 13px 65px;
    color: white !important;
    font-size: 18px;
    line-height: 24px;
    display: flex;
    align-items: center;
}

.phonebook-modal .addnewbtn {
    border-radius: 5px;
    background: #27CC43;
    border-color: #27CC43;
    padding: 10.68px 22px !important;
    color: white !important;
    font-size: 14px;
    line-height: 19px !important;
    display: flex;
    align-items: center;
    height: fit-content;
    margin-left: 10px;
}

    .phonebook-modal .addnewbtn.hide-btn{
        display: none !important;
    }

    .rtl .phonebook-modal .addnewbtn {
        margin-left: 0;
        margin-right: 10px;
    }

.autoreply-modal .edit-autoreply-btns,
.autoreply-modal .save-autoreply-btn,
.tags-filter-modal .save-tags-btn,
.tags-filter-modal .cancel-tags-btn,
.assign-representatives-modal .save-reps-btn,
.assign-representatives-modal .cancel-reps-btn,
.snooze-modal .snooze-btn,
.phonebook-modal .edit-btns,
.phonebook-modal .save-pbook-btn,
.edit-dep-modal .save-btn,
.edit-dep-modal .cancel-btn,
.edit-tag-modal .save-btn,
.edit-tag-modal .cancel-btn {
    border-radius: 5px;
    background: white;
    border-color: black !important;
    padding: 12px 56px;
    color: black !important;
    font-size: 16px;
    line-height: 22px;
}

.user-settings-modal .save-btn,
.user-settings-modal .pass-btn,
.user-settings-modal .cancel-btn,
.new-chat-modal .save-btn,
.new-chat-modal .cancel-btn {
    border-radius: 5px;
    background: white;
    border-color: black !important;
    padding: 12px 0;
    color: black !important;
    font-size: 14px;
    line-height: 19px;
    width: 30%;
    text-align: center;
    display: flex;
    justify-content: center;
    margin: 0;
}

    .new-chat-modal .save-btn.update-btn{
        width: 34%;
    }

    .autoreply-modal .edit-autoreply-btns:not(.update-autoreply-btn):hover,
    .user-settings-modal .cancel-btn:hover,
    .new-chat-modal .cancel-btn:hover,
    .edit-dep-modal .cancel-btn:hover,
    .edit-tag-modal .cancel-btn:hover,
    .tags-filter-modal .cancel-tags-btn:hover,
    .assign-representatives-modal .cancel-reps-btn:hover,
    .user-settings-modal .pass-btn:hover,
    .phonebook-modal .edit-btns:not(.update-pbook-btn):hover {
        background: #e6e6e6 !important;
    }

.autoreply-modal .edit-autoreply-btns.update-autoreply-btn,
.autoreply-modal .save-autoreply-btn,
.tags-filter-modal .save-tags-btn,
.assign-representatives-modal .save-reps-btn,
.snooze-modal .snooze-btn,
.user-settings-modal .save-btn,
.new-chat-modal .save-btn,
.edit-dep-modal .save-btn,
.edit-tag-modal .save-btn,
.phonebook-modal .edit-btns.update-pbook-btn,
.phonebook-modal .save-pbook-btn {
    background: #27CC43;
    border-color: #27CC43 !important;
    color: white !important;
}

.user-settings-modal .pass-btn {
    background: #131313;
    border-color: #131313 !important;
    color: white !important;
}

.autoreply-modal .addnewbtn i {
    line-height: 24px;
}

.autoreply-modal .infront .table.mobileDataTable thead,
.reminders-modal .infront .table.mobileDataTable thead,
.phonebook-modal .infront .table.mobileDataTable thead {
    display: none !important;
}

.autoreply-modal .infront .table.mobileDataTable tbody tr,
.reminders-modal .infront .table.mobileDataTable tbody tr,
.phonebook-modal .infront .table.mobileDataTable tbody tr {
    display: inline-grid;
    width: 100%;
    padding: 16px 0;
    position: relative;
}

.autoreply-modal table.dataTable.mobileDataTable tbody > tr > td,
.reminders-modal table.dataTable.mobileDataTable tbody > tr > td,
.phonebook-modal table.dataTable.mobileDataTable tbody > tr > td {
    width: calc(100% - 40px);
    border: none !important;
    padding: 2px 0px !important;
}

.phonebook-modal table.dataTable.mobileDataTable tbody > tr > td {
    padding: 4px 0px !important;
}

.autoreply-modal table.dataTable.mobileDataTable tbody > tr > td.b-name,
.reminders-modal table.dataTable.mobileDataTable tbody > tr > td.b-name {
    padding-bottom: 10px !important;
}

    .phonebook-modal table.dataTable.mobileDataTable tbody > tr > td.b-name {
        padding-bottom: 26px !important;
        padding-top: 0 !important;
    }

.autoreply-modal table.dataTable.mobileDataTable tbody > tr > td span,
.reminders-modal table.dataTable.mobileDataTable tbody > tr > td span,
.phonebook-modal table.dataTable.mobileDataTable tbody > tr > td span {
    width: 30%;
    display: inline-block;
}

.autoreply-modal table.dataTable.mobileDataTable tbody > tr > td:last-child:not(.dataTables_empty),
.reminders-modal table.dataTable.mobileDataTable tbody > tr > td:last-child:not(.dataTables_empty),
.phonebook-modal table.dataTable.mobileDataTable tbody > tr > td:last-child:not(.dataTables_empty) {
    position: absolute;
    right: 0;
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    top: 14px;
}

.phonebook-modal table.dataTable.mobileDataTable tbody > tr > td:last-child:not(.dataTables_empty) {
    right: 15px;
    top: 52px;
}

.autoreply-modal .infront .table.mobileDataTable tbody tr:first-child > td:last-child:not(.dataTables_empty),
.reminders-modal .infront .table.mobileDataTable tbody tr:first-child > td:last-child:not(.dataTables_empty) {
    top: 4px;
}

.rtl .autoreply-modal table.dataTable.mobileDataTable tbody > tr > td:last-child:not(.dataTables_empty),
.rtl .reminders-modal table.dataTable.mobileDataTable tbody > tr > td:last-child:not(.dataTables_empty),
.rtl .phonebook-modal table.dataTable.mobileDataTable tbody > tr > td:last-child:not(.dataTables_empty) {
    left: 0;
    right: unset;
}

.rtl .phonebook-modal table.dataTable.mobileDataTable tbody > tr > td:last-child:not(.dataTables_empty) {
    left: 15px;
}

.autoreply-modal .modal-title,
.phonebook-modal .modal-title {
    font-size: 18px;
    line-height: 43px;
}

.autoreply-modal .infront .table.mobileDataTable tbody tr:first-child,
.reminders-modal .infront .table.mobileDataTable tbody tr:first-child {
    padding-top: 6px !important;
}

.phonebook-modal .table-responsive,
.assign-representatives-modal .table-responsive,
.tags-filter-modal .table-responsive {
    max-height: 490px;
    overflow-y: auto;
    padding-right: 22px;
    margin-bottom: 26px;
}

.assign-representatives-modal .table-responsive {
    margin-bottom: 20px;
    padding-right: 16px;
}

.rtl .phonebook-modal .table-responsive,
.rtl .assign-representatives-modal .table-responsive {
    padding-right: 0;
    padding-left: 22px;
}

.rtl .assign-representatives-modal .table-responsive {
    padding-left: 16px;
}

.autoreply-modal .dataTable thead,
.autoreply-modal .dataTable tbody,
.reminders-modal .dataTable thead,
.reminders-modal .dataTable tbody,
.phonebook-modal .dataTable thead,
.phonebook-modal .dataTable tbody {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.phonebook-modal .dataTable thead {
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 1;
    border-bottom: 1px solid #e0e0e0;
}

.autoreply-modal .form-group.my-2.mx-4.rounded-2.p-2.bg-Linen,
.user-settings-modal .input-group.my-1.mx-4.rounded-2.p-2.bg-Linen,
.snooze-modal .input-group.my-1.mx-4.rounded-2.p-2.bg-Linen,
.edit-dep-modal .input-group.my-2.mx-4.rounded-2.p-2.bg-Linen,
.edit-tag-modal .input-group.my-2.mx-4.rounded-2.p-2.bg-Linen,
.phonebook-modal .form-group.my-2.mx-4.rounded-2.p-2.bg-Linen,
.new-chat-modal .form-group.my-2.mx-4.rounded-2.p-2.bg-Linen{
    background-color: #FBF7F4 !important;
    display: flex;
    align-items: center;
    width: auto;
}

.phonebook-modal button.btn.btn-noborder {
    background-color: white !important;
}

.autoreply-modal.custom-max-width,
.phonebook-modal.custom-max-width,
.tags-filter-modal.custom-max-width{
    max-width: 550px;
}

    .autoreply-modal.custom-max-width .outline-searchbar,
    .phonebook-modal.custom-max-width .outline-searchbar {
        display: none !important;
    }

    .autoreply-modal.custom-max-width input.form-control,
    .user-settings-modal .input-group input.form-control,
    .user-settings-modal .input-group div.form-control,
    .user-settings-modal .input-group select.form-control,
    .user-settings-modal .input-group .fancy-radio.form-control,
    .snooze-modal .input-group input.form-control,
    .snooze-modal .input-group textarea.form-control,
    .edit-dep-modal .input-group input.form-control,
    .edit-dep-modal .input-group div.form-control,
    .edit-dep-modal .input-group select.form-control,
    .edit-dep-modal .input-group .fancy-radio.form-control,
    .edit-tag-modal .input-group input.form-control,
    .edit-tag-modal .input-group div.form-control,
    .edit-tag-modal .input-group select.form-control,
    .edit-tag-modal .input-group .fancy-radio.form-control,
    .phonebook-modal.custom-max-width input.form-control,
    .new-chat-modal .input-group input.form-control{
        background: #FFFFFF 0% 0% no-repeat padding-box !important;
        border: 1px solid #E2D9D3;
        border-radius: 5px !important;
        font-size: 15px;
        line-height: 20px;
        color: black;
    }

.new-chat-modal .input-group div.awesomplete {
    width: 100% !important;
}

        .user-settings-modal .new-view .input-group .input-group-prepend {
            width: 30%;
        }

.edit-dep-modal .new-view .input-group .input-group-prepend,
.edit-tag-modal .new-view .input-group .input-group-prepend {
    width: 40%;
}

.snooze-modal .input-group .input-group-prepend {
    width: 35%;
}

.autoreply-modal.custom-max-width label,
.user-settings-modal .input-group .input-group-text,
.snooze-modal .input-group .input-group-text,
.edit-dep-modal .input-group .input-group-text,
.edit-tag-modal .input-group .input-group-text,
.phonebook-modal.custom-max-width label,
.new-chat-modal .form-group label{
    font-size: 16px;
    line-height: 22px;
    color: black;
    min-width: 30%;
}

.edit-dep-modal .input-group .input-group-text,
.edit-tag-modal .input-group .input-group-text {
    min-width: 40%;
}

.snooze-modal .input-group .input-group-text {
    min-width: 35%;
    border: none !important;
}

.user-settings-modal .input-group .input-group-text,
.snooze-modal .input-group .input-group-text,
.edit-dep-modal .input-group .input-group-text,
.edit-tag-modal .input-group .input-group-text {
    background: transparent !important;
    padding: 0 !important;
}

.rtl .autoreply-modal.custom-max-width input.form-control,
.rtl .user-settings-modal .input-group input.form-group,
.rtl .new-chat-modal .input-group input.form-group,
.rtl .snooze-modal .input-group input.form-group,
.rtl .edit-dep-modal .input-group input.form-group,
.rtl .edit-tag-modal .input-group input.form-group,
.rtl .phonebook-modal.custom-max-width input.form-control {
    text-align: right;
}

.phonebook-modal .infront .table.mobileDataTable tbody tr {
    background-color: #FBF7F4 !important;
    border: none;
    border-radius: 5px;
    padding: 10px 18px 34px 16px;
    margin-top: 9px;
}

    .phonebook-modal .infront .table.mobileDataTable tbody tr:first-child {
        margin-top: 0;
    }

    .phonebook-modal .infront .table.mobileDataTable tbody tr > * {
        background-color: #FBF7F4 !important;
    }

.phonebook-modal table.dataTable.mobileDataTable tbody > tr > td.b-name {
    width: 100% !important;
}

.phonebook-modal .dropdown-arrow {
    position: absolute;
    right: 21px;
    top: 11px;
}

.rtl .phonebook-modal .dropdown-arrow {
    left: 21px;
    right: unset;
}

.phonebook-modal tr.hide-dd td:not(.b-name){
    display: none !important;
}
.phonebook-modal tr.hide-dd .dropdown-arrow {
  transform: rotate(180deg);
}

.phonebook-modal .infront .table.mobileDataTable tbody tr.hide-dd{
    padding-bottom: 12px;
}

.phonebook-modal table.dataTable.mobileDataTable tbody > tr.hide-dd > td.b-name{
    padding: 0px !important;
}

@media screen and (min-width: 768px) {
    .autoreply-modal #DataTables_Table_1_wrapper,
    .reminders-modal #DataTables_Table_1_wrapper {
        display: none !important;
    }

    .full-frame-table #DataTables_Table_1_wrapper {
        display: none !important;
    }


    #bootstrap_modal .user-settings-modal {
        max-width: var(--bs-modal-width) !important;
        margin: var(--bs-modal-margin) auto !important;
        height: unset !important;
    }

    #bootstrap_modal .edit-dep-modal,
    #bootstrap_modal .edit-tag-modal {
        max-width: 550px !important;
        margin: var(--bs-modal-margin) auto !important;
        height: unset !important;
    }
}

@media screen and (max-width: 767px) {
    .autoreply-modal #DataTables_Table_0_wrapper,
    .reminders-modal #DataTables_Table_0_wrapper {
        display: none !important;
    }

    .full-frame-table #DataTables_Table_0_wrapper {
        display: none !important;
    }

    .autoreply-modal .outline-searchbar,
    .reminders-modal .outline-searchbar,
    .phonebook-modal .outline-searchbar,
    .assign-representatives-modal .outline-searchbar {
        max-width: 100%;
        margin-top: 0 !important;
    }

    .autoreply-modal .dataTables_paginate {
        padding: 26px 0 88px !important;
    }

    .reminders-modal .dataTables_paginate {
        padding: 26px 0 32px !important;
    }

    div.dataTables_wrapper div.dataTables_paginate ul.pagination {
        justify-content: center !important;
    }

    .autoreply-modal .pagination .page-item.previous,
    .reminders-modal .pagination .page-item.previous {
        margin-left: 0;
    }

    .rtl .autoreply-modal .pagination .page-item.previous,
    .rtl .reminders-modal .pagination .page-item.previous {
        margin-left: 5px;
        margin-right: 0;
    }

    .autoreply-modal .addnewbtn {
        left: 50%;
        transform: translate(-50%, 0);
        width: calc(100% - 3rem);
        justify-content: center;
        padding: 13px;
    }

    .autoreply-modal button.btn.btn-noborder.px-2 {
        margin-bottom: 24px !important;
        margin-top: 4px !important;
    }

    .autoreply-modal .modal-title,
    .reminders-modal .modal-title,
    .phonebook-modal .modal-title,
    .assign-representatives-modal .modal-title,
    .tags-filter-modal .modal-title {
        line-height: 24px;
    }

    .autoreply-modal .modal-content .modal-footer,
    .phonebook-modal .modal-content .modal-footer,
    .edit-dep-modal .modal-content .modal-footer,
    .edit-tag-modal .modal-content .modal-footer {
        justify-content: space-between !important;
    }

    .autoreply-modal .form-group.my-2.mx-4.rounded-2.p-2.bg-Linen,
    .user-settings-modal .input-group.my-1.mx-4.rounded-2.p-2.bg-Linen,
    .snooze-modal .input-group.my-1.mx-4.rounded-2.p-2.bg-Linen,
    .edit-dep-modal .input-group.my-2.mx-4.rounded-2.p-2.bg-Linen,
    .edit-tag-modal .input-group.my-2.mx-4.rounded-2.p-2.bg-Linen,
    .phonebook-modal .form-group.my-2.mx-4.rounded-2.p-2.bg-Linen,
    .new-chat-modal .form-group.my-2.mx-4.rounded-2.p-2.bg-Linen,
    #bootstrap_modal .user-settings-modal:not(.simple-user-settings) .input-group.my-1.rounded-2.p-2.bg-Linen,
    #bootstrap_modal .user-settings-modal:not(.simple-user-settings) .input-group.my-1.rounded-2.p-2.bg-Linen.password-col {
        flex-direction: column;
        align-items: flex-start !important;
        padding-bottom: 13px !important;
    }

        #bootstrap_modal .user-settings-modal:not(.simple-user-settings) .input-group.my-1.rounded-2.p-2.bg-Linen,
        #bootstrap_modal .user-settings-modal:not(.simple-user-settings) .input-group.my-1.rounded-2.p-2.bg-Linen.password-col{
            margin: 0.25rem 1.5rem !important;
        }

    .user-settings-modal .input-group input.form-control,
    .new-chat-modal .input-group input.form-control,
    .snooze-modal .input-group input.form-control,
    .edit-dep-modal .input-group input.form-control,
    .edit-tag-modal .input-group input.form-control {
        width: 100%;
    }

    .autoreply-modal.modal-dialog,
    .reminders-modal.modal-dialog,
    .user-settings-modal.simple-user-settings.modal-dialog,
    .snooze-modal.modal-dialog,
    #bootstrap_modal .user-settings-modal.modal-dialog,
    #bootstrap_modal .edit-dep-modal.modal-dialog,
    #bootstrap_modal .edit-tag-modal.modal-dialog,
    .phonebook-modal.modal-dialog,
    .assign-representatives-modal.modal-dialog,
    .tags-filter-modal.modal-dialog,
    .new-chat-modal.modal-dialog{
        margin: 80px 30px 70px;
        max-height: calc(var(--vh, 1vh) * 100 - 150px) !important;
        min-height: unset !important;
    }

    .user-settings-modal .save-btn,
    .user-settings-modal .pass-btn,
    .user-settings-modal .cancel-btn {
        width: 48%;
    }


    .new-chat-modal .save-btn,
    .new-chat-modal .cancel-btn {
        width: 48%;
    }

        .new-chat-modal .save-btn.update-btn {
            width: 100%;
        }

    .autoreply-modal .edit-autoreply-btns,
    .autoreply-modal .save-autoreply-btn,
    .snooze-modal .snooze-btn,
    .assign-representatives-modal .save-reps-btn,
    .phonebook-modal .edit-btns,
    .phonebook-modal .save-pbook-btn {
        width: calc(48% - 1.5rem);
        display: flex;
        justify-content: center;
    }

     .snooze-modal .snooze-btn{
         width: 100%;
     }

    .edit-dep-modal .save-btn,
    .edit-dep-modal .cancel-btn,
    .edit-tag-modal .save-btn,
    .edit-tag-modal .cancel-btn,
    .tags-filter-modal .cancel-tags-btn,
    .tags-filter-modal .save-tags-btn,
    .assign-representatives-modal .save-reps-btn,
    .assign-representatives-modal .cancel-reps-btn{
        width: calc(50% - 1rem) !important;
        display: flex;
        justify-content: center;
    }

    .assign-representatives-modal .save-reps-btn,
    .assign-representatives-modal .cancel-reps-btn {
        width: calc(50% - 1.5rem) !important;
    }

    .phonebook-modal.cust-edit-modal .save-pbook-btn {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .user-settings-modal .modal-content .modal-footer,
    .new-chat-modal .modal-content .modal-footer {
        padding: 0 1.5rem 22px 1.5rem !important;
    }

    .user-settings-modal .input-group .input-group-text,
    .snooze-modal .input-group .input-group-text,
    .edit-dep-modal .input-group .input-group-text,
    .edit-tag-modal .input-group .input-group-text {
        padding-bottom: 2.5px !important;
    }

    .user-settings-modal .pass-btn,
    .user-settings-modal .cancel-btn{
        font-size: 13px;
        line-height: 18px;
    }

    .user-settings-modal .save-btn {
        font-size: 16px;
        line-height: 22px;
    }

    .autoreply-modal.modal-dialog #modal-form,
    .reminders-modal.modal-dialog #modal-form,
    .user-settings-modal.modal-dialog #modal-form,
    .new-chat-modal.modal-dialog #modal-form,
    .edit-dep-modal.modal-dialog #modal-form,
    .edit-tag-modal.modal-dialog #modal-form,
    .phonebook-modal.modal-dialog #modal-form,
    .assign-representatives-modal.modal-dialog .modal-body,
    .tags-filter-modal.modal-dialog .modal-body {
        max-height: inherit;
        overflow-y: scroll;
    }

    .phonebook-modal .table-responsive,
    .assign-representatives-modal .table-responsive {
        padding-right: 12px;
    }

    .rtl .phonebook-modal .table-responsive,
    .rtl .assign-representatives-modal .table-responsive {
        padding-right: 0;
        padding-left: 12px;
    }

    .phonebook-modal .shadow-sepparator,
    .assign-representatives-modal .shadow-sepparator,
    .tags-filter-modal .shadow-sepparator {
        margin-bottom: 14px;
    }

    .phonebook-modal .table-responsive {
        max-height: calc(var(--vh, 1vh) * 100 - 363px);
        padding-right: 12px;
        margin-bottom: 0;
    }

    .assign-representatives-modal .table-responsive,
    .tags-filter-modal .table-responsive {
        max-height: calc(var(--vh, 1vh) * 100 - 363px);
        padding-right: 12px;
    }

    .rtl .phonebook-modal .table-responsive,
    .rtl .assign-representatives-modal .table-responsive {
        padding-right: 0;
        padding-left: 12px;
    }

    .phonebook-modal .addnewbtn {
        margin: 23px 0 14px !important;
        width: 100%;
    }

    .phonebook-modal button.btn.btn-noborder {
        background-color: #FBF7F4 !important;
    }
}

.modal-dialog.phonebook.phonebook-modal .b-name,
.modal-dialog.phonebook.phonebook-modal .d-name {
    max-width: unset;
}

body.bg-cell {
    background-color: #FCF9F6 !important;
}

    body.bg-cell .tabs {
        display: flex;
        justify-content: center;
    }

    body.bg-cell .tab {
        padding: 26px 11px 11px;
        cursor: pointer;
        border: none;
        background: transparent;
        font-size: 18px;
        color: black;
        position: relative;
        line-height: 24px;
        outline: none !important;
        border: none !important;
    }

        body.bg-cell .tab.active::after {
            content: '';
            position: absolute;
            bottom: -7px;
            right: 0;
            left: 0;
            height: 7px;
            background-color: #27CC43;
            z-index: 1;
        }

    body.bg-cell .login-box {
        box-shadow: 0px 0px 10px #0000000D;
    }

    body.bg-cell label,
    body.bg-cell .slider-text{
        font-size: 14px;
        line-height: 19px;
        color: black;
    }

    body.bg-cell .form-control {
        font-size: 15px;
        line-height: 20px;
        height: fit-content;
        background-color: white !important;
    }

    body.bg-cell .fa-regular.fa-eye,
    body.bg-cell .fa-regular.fa-eye-slash {
        color: black;
        position: absolute;
        top: 13.33px;
        right: 13.33px;
    }

     body.bg-cell.rtl .fa-regular.fa-eye,
     body.bg-cell.rtl .fa-regular.fa-eye-slash {
        right: unset;
        left: 13.33px;
    }

    body.bg-cell .form-control.border.px-3.py-2 {
        border: 1px solid #E2D9D3 !important;
        border-radius: 5px;
        padding: 9px 12px !important;
    }
    body.bg-cell #rememberToggle {
        width:40px;
        height: 16px;
        position: absolute;
        opacity: 0;
    }

    body.bg-cell .slider-track {
        width: 40px;
        height: 16px;
        display: inline-block;
        margin-right: 10px;
        cursor: pointer;
        background: #FFFFFF;
        border-radius: 80px;
        border: 1px solid #DFD7D1;
    }

    body.bg-cell.rtl .slider-track {
        margin-left: 10px;
        margin-right: 0;
    }

        body.bg-cell .slider-track.on {
            background: #27CC43;
        }

    body.bg-cell .slider-track .slider-handle {
        float: left;
        height: 24px;
        width: 24px;
        border-radius: 50%;
        box-shadow: 0px 2px 2px #00000029;
        border: 1px solid #DFD7D1;
        background: #27CC43;
        cursor: pointer;
        transition: background, float .2s ease;
        display: block;
        margin-top: -4px;
        margin-left: -2px;
    }
        body.bg-cell .slider-track.on .slider-handle {
            background: #FFFFFF;
            float: right;
            margin-right: -2px;
            margin-left: unset;
        }

    body.bg-cell.rtl .slider-track .slider-handle {
        float: right;
        margin-right: -2px;
        margin-left: unset;
    }

    body.bg-cell.rtl .slider-track.on .slider-handle {
        float: left;
        margin-left: -2px;
    }

    body.bg-cell button.button {
        border-radius: 5px;
        background: #27CC43;
        font-size: 18px;
        line-height: 24px;
        outline: none !important;
        border: none !important;
        padding: 13.5px;
    }

        body.bg-cell button.button:hover {
            background: #51A85D
        }

    body.bg-cell .text-center a {
        text-decoration: underline;
        font-size: 14px;
        line-height: 19px;
        color: black;
    }

    body.bg-cell .tfa-wrapper, 
    body.bg-cell .tfa-login {
        min-height: 294.33px;
    }

    body.bg-cell .err-msg{
        position: absolute;
        bottom: 20px;
    }

@media screen and (max-width: 575px) {
    .change-lang {
        margin: 15px !important;
    }
}

#iframeLoader {
    border: 10px solid #f3f3f3;
    border-top: 10px solid #a5a8ad;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    position: absolute;
    left: calc(50% - 25px);
    top: 25%;
    z-index: 9999;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.full-page-modal {
    padding: 26px 42px 54px;
    height: calc(var(--vh, 1vh) * 100 - 78px);
}

    .full-page-modal h5 {
        font-size: 24px;
        line-height: 33px;
        color: black;
        font-weight: normal;
        margin-bottom: 24px;
        display: flex;
        justify-content: space-between;
    }

    .full-page-modal h5 img{
        margin-right: 10px;
    }
        .rtl .full-page-modal h5 img {
            margin-left: 10px;
            margin-right: 0;
        }


.full-page-modal iframe {
    box-shadow: 0px 0px 10px #0000000D;
    border-radius: 10px;
    height: calc(100% - 57px);
    background: white;
}

.full-frame-table .dataTables_wrapper > .row:first-of-type {
    display: none;
}

.full-frame-table table.dataTable thead > tr > th {
    padding: 24px 3px 16px !important;
    color: black;
}

.full-frame-table table.dataTable tbody > tr > td {
    padding: 24px 3px !important;
    text-align: start;
    font-size: 15px;
    line-height: 20px;
    color: black;
    font-weight: normal;
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.rtl .full-frame-table table.dataTable tbody > tr > td {
    text-align: right;
}

.full-frame-table table.dataTable thead .sorting:before,
.full-frame-table table.dataTable thead .sorting_asc:before,
.full-frame-table table.dataTable thead .sorting_desc:before,
.full-frame-table table.dataTable thead .sorting_asc_disabled:before,
.full-frame-table table.dataTable thead .sorting_desc_disabled:before {
    display: none !important;
}

.full-frame-table table.dataTable thead .sorting_asc:after,
.full-frame-table table.dataTable thead .sorting_desc:after {
    content: "\1F80B";
}

    .full-frame-table table.dataTable thead .sorting_desc:after{
        transform: rotate(180deg);
        bottom: 2px !important;
    }

    .full-frame-table table.dataTable thead .sorting:after,
    .full-frame-table table.dataTable thead .sorting_asc:after,
    .full-frame-table table.dataTable thead .sorting_desc:after {
        position: relative;
        display: none;
        left: unset;
        right: unset;
        top: unset;
        bottom: -2px;
        color: #999999;
        margin: 0px 9px;
        font-size: 15px;
        line-height: 18px;
    }

.full-frame-table table.dataTable thead .sorting_asc:after,
.full-frame-table table.dataTable thead .sorting_desc:after {
    display: inline-block;
    opacity: 1;
}

.full-frame-table table.dataTable {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border-collapse: collapse !important;
    width: 100% !important;
}

.full-frame-table thead th {
    top: unset;
    background-color: transparent !important;
    font-weight: normal !important;
    font-size: 13px;
    line-height: 18px;
    border: none;
    text-align: start;
}


.full-frame-table .table tr td, .full-frame-table .table tr th {
    border: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.14) !important;
}

.full-frame-table button.btn.btn-noborder {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
}

.full-frame-table.tags-full-frame button.btn.btn-noborder.px-4{
    padding: 0 1.5rem 0 0 !important;
}

.rtl .full-frame-table.tags-full-frame button.btn.btn-noborder.px-4 {
    padding: 0 0 0 1.5rem !important;
}

.rtl .full-frame-table .pagination .page-item.next,
.rtl .full-frame-table .pagination .page-item.previous {
    transform: rotate(180deg);
}

.full-frame-table .pagination .page-item {
    margin: 0px 5px;
}

    .full-frame-table .pagination .page-item.next {
        margin-right: 0;
    }

.rtl .full-frame-table .pagination .page-item.next {
    margin-left: 0;
    margin-right: 5px;
}

.full-frame-table .pagination .page-item.previous {
    margin-left: 0;
}

.rtl .full-frame-table .pagination .page-item.previous {
    margin-left: 5px;
    margin-right: 0;
}

.full-frame-table .pagination .page-item .page-link {
    border: none;
    background: white !important;
    border-radius: 50%;
    padding: 4px 9.5px;
    font-size: 15px;
    line-height: 20px;
    color: black !important;
    outline: none !important;
    box-shadow: none !important;
    width: 28px;
    height: 28px;
}


.full-frame-table .pagination .page-item.active .page-link {
    background: #27CC43 !important;
    color: white !important;
}

.full-frame-table .pagination .page-item.previous .page-link,
.full-frame-table .pagination .page-item.next .page-link {
    border: 1px solid #000000 !important;
    color: black !important;
    padding: 7px 7.5px;
    font-size: 12px;
    line-height: 12px;
}

.full-frame-table .pagination .page-item.next .page-link {
    padding: 7px 9.5px;
}

    .full-frame-table .pagination .page-item.previous .page-link i,
    .full-frame-table .pagination .page-item.next .page-link i {
        font-size: 12px;
        line-height: 12px;
        height: 12px;
        text-align: center;
    }

.full-frame-table .pagination .page-item.previous.disabled .page-link,
.full-frame-table .pagination .page-item.next.disabled .page-link {
    opacity: 0.25;
}

.full-frame-table .dataTables_paginate, .full-frame-table .dataTables_info {
    padding: 38px 3px;
    direction: ltr !important;
    text-align: left !important;
}

.rtl .full-frame-table div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    flex-direction: row-reverse;
}

.full-frame-table .dataTable thead,
.full-frame-table .dataTable tbody {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.full-frame-table div.dataTables_wrapper > div.row > .col-md-7 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

.full-frame-table div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    justify-content: center;
}

.table-responsive.full-frame-table {
    padding: 0 23px;
}

.full-frame-table table.dataTable tbody > tr > td:nth-last-child(2) {
    padding: 20.02px 3px !important;
}


.full-frame-table table.dataTable tbody > tr > td:last-child {
    padding: 21px 3px !important;
    text-align: end;
}

.full-frame-table table.dataTable tbody tr td .inactive-user {
    color: #D42359;
    border: 1px solid #D42359;
    border-radius: 5px;
    padding: 3px 10px;
    top: 3px;
    position: relative;
}

.full-frame-table table.dataTable tbody tr td .active-user {
    color: #27CC43;
    border: 1px solid #27CC43;
    border-radius: 5px;
    padding: 3.7px 10px;
    top: 2px;
    position: relative;
}

.full-frame-table table.dataTable tbody > tr > td:first-child,
.full-frame-table table.dataTable thead > tr > th:first-child{
    width: 8% !important;
}

.full-frame-table table.dataTable tbody > tr > td:nth-child(2),
.full-frame-table table.dataTable thead > tr > th:nth-child(2) {
    width: 19% !important;
}

.full-frame-table.dep-full-frame table.dataTable tbody > tr > td:nth-child(2),
.full-frame-table.dep-full-frame table.dataTable thead > tr > th:nth-child(2) {
    width: 23.5% !important;
}

.full-frame-table.tags-full-frame table.dataTable tbody > tr > td:nth-child(2),
.full-frame-table.tags-full-frame table.dataTable thead > tr > th:nth-child(2) {
    width: 22% !important;
}


.full-frame-table table.dataTable tbody > tr > td:nth-child(3),
.full-frame-table table.dataTable thead > tr > th:nth-child(3) {
    width: 16% !important;
}

.full-frame-table.dep-full-frame table.dataTable tbody > tr > td:nth-child(3),
.full-frame-table.dep-full-frame table.dataTable thead > tr > th:nth-child(3) {
    width: 20.5% !important;
}

.full-frame-table.tags-full-frame table.dataTable tbody > tr > td:nth-child(3),
.full-frame-table.tags-full-frame table.dataTable thead > tr > th:nth-child(3) {
    width: 19.5% !important;
}

.full-frame-table table.dataTable tbody > tr > td:nth-child(4),
.full-frame-table table.dataTable thead > tr > th:nth-child(4) {
    width: 9% !important;
}

.full-frame-table.dep-full-frame table.dataTable tbody > tr > td:nth-child(4),
.full-frame-table.dep-full-frame table.dataTable thead > tr > th:nth-child(4),
.full-frame-table.tags-full-frame table.dataTable tbody > tr > td:nth-child(4),
.full-frame-table.tags-full-frame table.dataTable thead > tr > th:nth-child(4) {
    width: 15% !important;
}

.full-frame-table table.dataTable tbody > tr > td:nth-child(5),
.full-frame-table table.dataTable thead > tr > th:nth-child(5) {
    width: 13% !important;
}

.full-frame-table.dep-full-frame table.dataTable tbody > tr > td:nth-child(5),
.full-frame-table.dep-full-frame table.dataTable thead > tr > th:nth-child(5),
.full-frame-table.tags-full-frame table.dataTable tbody > tr > td:nth-child(5),
.full-frame-table.tags-full-frame table.dataTable thead > tr > th:nth-child(5) {
    width: 15% !important;
}

.full-frame-table table.dataTable tbody > tr > td:nth-child(6),
.full-frame-table table.dataTable thead > tr > th:nth-child(6) {
    width: 11% !important;
}

.full-frame-table table.dataTable tbody > tr > td:nth-child(7),
.full-frame-table table.dataTable thead > tr > th:nth-child(7),
.full-frame-table table.dataTable tbody > tr > td:nth-child(8),
.full-frame-table table.dataTable thead > tr > th:nth-child(8) {
    width: 10.5% !important;
}

.full-frame-table.dep-full-frame table.dataTable tbody > tr > td:nth-child(6),
.full-frame-table.dep-full-frame table.dataTable thead > tr > th:nth-child(6) {
    width: 15% !important;
}

.full-frame-table.tags-full-frame table.dataTable tbody > tr > td:nth-child(6),
.full-frame-table.tags-full-frame table.dataTable thead > tr > th:nth-child(6) {
    width: 13.5% !important;
}

.full-frame-table table.dataTable tbody > tr > td:nth-child(9),
.full-frame-table table.dataTable thead > tr > th:nth-child(9),
.full-frame-table.dep-full-frame table.dataTable tbody > tr > td:nth-child(7),
.full-frame-table.dep-full-frame table.dataTable thead > tr > th:nth-child(7) {
    width: 3% !important;
}

.full-frame-table.tags-full-frame table.dataTable tbody > tr > td:nth-child(7),
.full-frame-table.tags-full-frame table.dataTable thead > tr > th:nth-child(7) {
    width: 7% !important;
}

.full-frame-table .table.mobileDataTable thead {
    display: none !important;
}

.full-frame-table .table.mobileDataTable tbody tr {
    display: inline-flex;
    width: 100%;
    padding: 23px 0 20px 0;
    position: relative;
    flex-wrap: wrap;
    justify-content: space-between;
}

.full-frame-table table.dataTable.mobileDataTable tbody > tr > td {
    width: calc(35% - 20px) !important;
    border: none !important;
    padding: 0px 10px !important;
    border-left: 1px solid rgba(0, 0, 0, 0.14) !important;
}

.rtl .full-frame-table table.dataTable.mobileDataTable tbody > tr > td {
    border-right: 1px solid rgba(0, 0, 0, 0.14) !important;
    border-left: none !important;
}


    .full-frame-table table.dataTable.mobileDataTable tbody > tr > td:first-child {
        width: calc(12% - 10px) !important;
        border-left: none !important;
        padding-left: 0 !important;
    }

    .rtl .full-frame-table table.dataTable.mobileDataTable tbody > tr > td:first-child {
        border-right: none !important;
        padding-right: 0 !important;
        padding-left: 10px !important;
    }

    .full-frame-table table.dataTable.mobileDataTable tbody > tr > td:nth-child(2) {
        width: calc(52% - 20px) !important;
    }

.full-frame-table table.dataTable.mobileDataTable tbody > tr.hide-dd > td:nth-child(2) {
    width: calc(78% - 20px) !important;
}

.full-frame-table table.dataTable.mobileDataTable tbody > tr > td:nth-child(3),
.full-frame-table table.dataTable.mobileDataTable tbody > tr > td:nth-child(6){
    padding-right: 0 !important;
    width: calc(35% - 10px) !important;
}

.full-frame-table table.dataTable.mobileDataTable tbody > tr.hide-dd > td:nth-child(3) {
    width: calc(9% - 10px) !important;
}

    .rtl .full-frame-table table.dataTable.mobileDataTable tbody > tr > td:nth-child(3),
    .rtl .full-frame-table table.dataTable.mobileDataTable tbody > tr > td:nth-child(6) {
        padding-left: 0 !important;
        padding-right: 10px !important;
    }


.full-frame-table table.dataTable.mobileDataTable tbody > tr > td:nth-child(4),
.full-frame-table table.dataTable.mobileDataTable tbody > tr > td:nth-child(7) {
    width: calc(29% - 10px) !important;
    padding-left: 0 !important;
    border: none !important;
}

.rtl .full-frame-table table.dataTable.mobileDataTable tbody > tr > td:nth-child(4),
.rtl .full-frame-table table.dataTable.mobileDataTable tbody > tr > td:nth-child(7) {
    padding-right: 0 !important;
    padding-left: 10px !important;
}

    .full-frame-table table.dataTable.mobileDataTable tbody > tr > td:nth-child(7) {
        overflow: visible;
        width: calc(26% - 10px) !important;
    }

.full-frame-table table.dataTable.mobileDataTable tbody > tr > td:nth-child(8) {
    width: calc(62% - 20px) !important;
    display: flex;
    align-items: center;
}

.full-frame-table #DataTables_Table_1_wrapper .dataTables_paginate{
    padding: 16px 0px !important;
}

.full-frame-table table.dataTable.mobileDataTable tbody > tr > td:nth-child(9) {
    width: calc(18% - 10px) !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 0 !important;
}

.rtl .full-frame-table table.dataTable.mobileDataTable tbody > tr > td:nth-child(9) {
    padding-left: 0 !important;
    padding-right: 10px !important;
}

.full-frame-table.dep-full-frame table.dataTable.mobileDataTable tbody > tr > td:nth-child(2),
.full-frame-table.tags-full-frame table.dataTable.mobileDataTable tbody > tr > td:nth-child(2) {
    width: calc(87% - 10px) !important;
    padding-right: 0 !important;
}

.rtl .full-frame-table.dep-full-frame table.dataTable.mobileDataTable tbody > tr > td:nth-child(2),
.rtl .full-frame-table.tags-full-frame table.dataTable.mobileDataTable tbody > tr > td:nth-child(2) {
    padding-right: 10px !important;
    padding-left: 0 !important;
}

.full-frame-table.dep-full-frame table.dataTable.mobileDataTable tbody > tr > td:nth-child(3),
.full-frame-table.dep-full-frame table.dataTable.mobileDataTable tbody > tr > td:nth-child(6),
.full-frame-table.tags-full-frame table.dataTable.mobileDataTable tbody > tr > td:nth-child(3),
.full-frame-table.tags-full-frame table.dataTable.mobileDataTable tbody > tr > td:nth-child(6) {
    width: calc(35% - 10px) !important;
    padding-left: 0 !important;
    padding-right: 10px !important;
    border: none !important;
}

.full-frame-table.dep-full-frame table.dataTable.mobileDataTable tbody > tr > td:nth-child(6),
.full-frame-table.tags-full-frame table.dataTable.mobileDataTable tbody > tr > td:nth-child(6) {
    overflow: visible;
}

.rtl .full-frame-table.dep-full-frame table.dataTable.mobileDataTable tbody > tr > td:nth-child(3),
.rtl .full-frame-table.dep-full-frame table.dataTable.mobileDataTable tbody > tr > td:nth-child(6),
.rtl .full-frame-table.tags-full-frame table.dataTable.mobileDataTable tbody > tr > td:nth-child(3),
.rtl .full-frame-table.tags-full-frame table.dataTable.mobileDataTable tbody > tr > td:nth-child(6) {
    padding-right: 0 !important;
    padding-left: 10px !important;
}

.full-frame-table.dep-full-frame table.dataTable.mobileDataTable tbody > tr > td:nth-child(4),
.full-frame-table.tags-full-frame table.dataTable.mobileDataTable tbody > tr > td:nth-child(4) {
    width: calc(32% - 20px) !important;
    padding: 0px 10px !important;
    border-left: 1px solid rgba(0, 0, 0, 0.14) !important;
}

.rtl .full-frame-table.dep-full-frame table.dataTable.mobileDataTable tbody > tr > td:nth-child(4),
.rtl .full-frame-table.tags-full-frame table.dataTable.mobileDataTable tbody > tr > td:nth-child(4) {
    border-left: none !important;
    border-right: 1px solid rgba(0, 0, 0, 0.14) !important;
}

.full-frame-table.dep-full-frame table.dataTable.mobileDataTable tbody > tr > td:nth-child(5),
.full-frame-table.tags-full-frame table.dataTable.mobileDataTable tbody > tr > td:nth-child(5) {
    width: calc(32% - 10px) !important;
    padding-right: 0 !important;
}

.rtl .full-frame-table.dep-full-frame table.dataTable.mobileDataTable tbody > tr > td:nth-child(5),
.rtl .full-frame-table.tags-full-frame table.dataTable.mobileDataTable tbody > tr > td:nth-child(5) {
    padding-left: 0 !important;
    padding-right: 10px !important;
}

.full-frame-table.dep-full-frame table.dataTable.mobileDataTable tbody > tr > td:nth-child(7),
.full-frame-table.tags-full-frame table.dataTable.mobileDataTable tbody > tr > td:nth-child(7) {
    padding-right: 0 !important;
}

.rtl .full-frame-table.dep-full-frame table.dataTable.mobileDataTable tbody > tr > td:nth-child(7),
.rtl .full-frame-table.tags-full-frame table.dataTable.mobileDataTable tbody > tr > td:nth-child(7) {
    padding-left: 0 !important;
    padding-right: 10px !important;
}

.full-frame-table table.dataTable.mobileDataTable tr {
    background: white !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.14);
}

.full-frame-table.dep-full-frame .table.mobileDataTable tr.hide-dd .dropdown-arrow.up,
.full-frame-table.tags-full-frame .table.mobileDataTable tr.hide-dd .dropdown-arrow.up,
.full-frame-table .table.mobileDataTable tr:not(.hide-dd) .dropdown-arrow.down {
    display: none !important;
}

.full-frame-table .table.mobileDataTable tr.hide-dd > td:nth-of-type(3){
    border: none !important;
    display: flex;
    justify-content: flex-end;
}

.full-frame-table .table.mobileDataTable tr.hide-dd > td:nth-of-type(3) > span {
    display: none !important;
}

.full-frame-table .table.mobileDataTable tr > td:nth-of-type(n+4),
.full-frame-table.dep-full-frame .table.mobileDataTable tr > td:nth-of-type(n+3),
.full-frame-table.tags-full-frame .table.mobileDataTable tr > td:nth-of-type(n+3) {
    margin-top: 16px !important;
}

.full-frame-table .table.mobileDataTable tr.hide-dd > td:nth-of-type(n+4),
.full-frame-table.dep-full-frame .table.mobileDataTable tr.hide-dd > td:nth-of-type(n+3),
.full-frame-table.tags-full-frame .table.mobileDataTable tr.hide-dd > td:nth-of-type(n+3) {
    display: none !important;
}

.full-frame-table .table.mobileDataTable tbody > tr > td:nth-of-type(n+7) {
    border: none !important;
}

.full-frame-table .table.mobileDataTable tbody tr.hide-dd {
    padding-bottom: 16px;
}

    #bootstrap_modal .user-settings-modal:not(.simple-user-settings) .input-group.my-1.rounded-2.p-2.bg-Linen,
    #bootstrap_modal .user-settings-modal:not(.simple-user-settings) .input-group.my-1.rounded-2.p-2.bg-Linen.password-col {
        background-color: #FBF7F4 !important;
        display: flex;
        align-items: center;
        width: auto;
    }

        #bootstrap_modal .user-settings-modal:not(.simple-user-settings) .input-group.my-1.rounded-2.p-2.bg-Linen.password-col {
            max-width: calc(50% - 2.25rem);
            margin: 0.25rem 1.5rem;
        }

    #bootstrap_modal .user-settings-modal:not(.simple-user-settings) .col-md-6:nth-of-type(odd) .input-group.my-1.rounded-2.p-2.bg-Linen,
    .rtl #bootstrap_modal .user-settings-modal:not(.simple-user-settings) .col-md-6:nth-of-type(even) .input-group.my-1.rounded-2.p-2.bg-Linen {
        margin: 0.25rem 0.75rem 0.25rem 1.5rem;
    }

    #bootstrap_modal .user-settings-modal:not(.simple-user-settings) .col-md-6:nth-of-type(even) .input-group.my-1.rounded-2.p-2.bg-Linen,
    .rtl #bootstrap_modal .user-settings-modal:not(.simple-user-settings) .col-md-6:nth-of-type(odd) .input-group.my-1.rounded-2.p-2.bg-Linen {
        margin: 0.25rem 1.5rem 0.25rem 0.75rem;
    }

    #bootstrap_modal .user-settings-modal:not(.simple-user-settings) .input-group.my-1.rounded-2.p-2:not(.bg-Linen) {
        margin: 0.25rem 1.5rem;
    }

        #bootstrap_modal .user-settings-modal:not(.simple-user-settings) .input-group.my-1.rounded-2.p-2:not(.bg-Linen) .fancy-radio,
        #bootstrap_modal .edit-dep-modal .input-group.my-2.rounded-2.p-2:not(.bg-Linen) .fancy-radio,
        #bootstrap_modal .edit-tag-modal .input-group.my-2.rounded-2.p-2:not(.bg-Linen) .fancy-radio {
            font-size: 15px;
            line-height: 20px;
            margin-bottom: 0 !important;
        }

.rtl #bootstrap_modal .user-settings-modal:not(.simple-user-settings) .input-group.my-1.rounded-2.p-2:not(.bg-Linen) .fancy-radio:first-of-type,
.rtl #bootstrap_modal .edit-dep-modal .input-group.my-2.rounded-2.p-2:not(.bg-Linen) .fancy-radio:first-of-type,
.rtl #bootstrap_modal .edit-tag-modal .input-group.my-2.rounded-2.p-2:not(.bg-Linen) .fancy-radio:first-of-type {
    margin-right: 0 !important;
}

    #bootstrap_modal .user-settings-modal:not(.simple-user-settings) .modal-content .modal-footer {
        justify-content: flex-end !important;
        justify-self: flex-end;
        width: 48.5%;
    }

.user-settings-modal .input-group .fancy-radio.form-control:first-of-type,
.edit-dep-modal .input-group .fancy-radio.form-control:first-of-type {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    margin: 0 !important;
}

.user-settings-modal .input-group .fancy-radio.form-control:last-of-type,
.edit-dep-modal .input-group .fancy-radio.form-control:last-of-type {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    margin: 0 !important;
}

.user-settings-modal .fancy-radio-wrap{
    width: 70% !important;
}

.edit-dep-modal .fancy-radio-wrap {
    width: 60% !important;
}

.user-settings-modal .input-group .fancy-radio.form-control,
.edit-dep-modal .input-group .fancy-radio.form-control {
    width: 50%;
}

#bootstrap_modal .user-settings-modal:not(.simple-user-settings) .input-group.my-1.rounded-2.p-2:not(.bg-Linen),
#bootstrap_modal .edit-dep-modal .input-group.my-2.rounded-2.p-2:not(.bg-Linen),
#bootstrap_modal .edit-tag-modal .input-group.my-2.rounded-2.p-2:not(.bg-Linen) {
    width: calc(100% - 3rem);
}

.assign-representatives-modal .dropdown-arrow {
    position: absolute;
    right: 21px;
    top: 11px;
}

.rtl .assign-representatives-modal .dropdown-arrow {
    left: 21px;
    right: unset;
}

.assign-representatives-modal .department-wrapper {
    background: #FBF7F4;
    border-radius: 5px;
    padding: 11.5px 18px;
    margin-bottom: 9px;
}

    .assign-representatives-modal .department-wrapper:last-of-type{
        margin-bottom: 0;
    }

    .assign-representatives-modal .department-wrapper.hide-dd .representatives-wrapper {
        display: none !important;
    }

.assign-representatives-modal .department-wrapper.hide-dd .dropdown-arrow {
    transform: rotate(180deg);
}

.assign-representatives-modal .department-wrapper .department-name{
    font-size: 16px;
    line-height: 22px;
    color: black;
    height: 22px;
}

    .assign-representatives-modal .department-wrapper:not(.hide-dd) .department-name {
        margin-bottom: 10px;
    }

    .assign-representatives-modal .department-wrapper .representatives-wrapper,
    .tags-filter-modal .tags-wrapper {
        margin-left: -4px;
        width: calc(100% + 8px);
    }

.rtl .assign-representatives-modal .department-wrapper .representatives-wrapper,
.rtl .tags-filter-modal .tags-wrapper {
    margin-left: unset;
    margin-right: -4px;
}

.assign-representatives-modal .representative.rep,
.tags-filter-modal .tag-wrapper {
    width: calc(25% - 8px);
    margin: 4px;
    padding: 6px 9px;
    background: #F3ECE6;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

.tags-filter-modal .tag-wrapper {
    width: calc(50% - 8px);
    margin: 4px;
    padding: 6px 9px;
    background: #F3ECE6;
    border-radius: 5px;
    display: flex;
    align-items: center;
    position: relative;
}

.tags-filter-modal .tag-wrapper span.tag-color {
    width: 30px;
    height: 20px;
    position: absolute;
    right: 9px;
    top: 6px;
    border-radius: 5px;
}

.rtl .tags-filter-modal .tag-wrapper span.tag-color {
    left: 9px;
    right: unset;
}

    .assign-representatives-modal .representative.rep input[type="checkbox"],
    .tags-filter-modal .tag-wrapper input[type="checkbox"] {
        margin-right: 8px;
        width: 14px;
        height: 14px;
        opacity: 0;
        z-index: 1;
    }

        .assign-representatives-modal .representative.rep input[type="checkbox"] + .custom-checkmark,
        .tags-filter-modal .tag-wrapper input[type="checkbox"] + .custom-checkmark {
            width: 14px;
            height: 14px;
            background-color: white;
            border-radius: 2px;
            position: absolute;
        }

        .assign-representatives-modal .representative.rep input[type="checkbox"]:checked + .custom-checkmark,
        .tags-filter-modal .tag-wrapper input[type="checkbox"]:checked + .custom-checkmark {
            background: #27CC43;
        }

            .assign-representatives-modal .representative.rep input[type="checkbox"]:checked + .custom-checkmark::after,
            .tags-filter-modal .tag-wrapper input[type="checkbox"]:checked + .custom-checkmark::after {
                content: '✓';
                position: absolute;
                left: 1.5px;
                top: 0px;
                color: white;
                line-height: 14px;
            }

    .assign-representatives-modal .representative.rep span.representative-name {
        font-size: 13px;
        line-height: 18px;
    }

    .tags-filter-modal .tag-wrapper span.tag-name {
        font-size: 14px;
        line-height: 20px;
    }

.rtl .assign-representatives-modal .representative.rep input[type="checkbox"],
.rtl .tags-filter-modal .tag-wrapper input[type="checkbox"] {
    margin-left: 8px;
    margin-right: 0;
}

.assign-representatives-modal .representative.rep.isOnline,
.tags-filter-modal .tag-wrapper:has(input:checked) {
    background: #C5EECC;
}

.assign-representatives-modal #searchReps {
    width: -webkit-fill-available;
}

@media (min-width: 992px) {
    #bootstrap_modal .user-settings-modal:not(.simple-user-settings) {
        --bs-modal-width: 800px;
    }
}

@media (min-width: 1200px) {

    #bootstrap_modal .user-settings-modal:not(.simple-user-settings) {
        --bs-modal-width: 1000px;
    }
}

@media (max-width: 768px) {
    .full-page-modal {
        padding: 26px 20px;
    }

        .full-page-modal h5{
            margin-bottom: 15px;
        }

    #bootstrap_modal .user-settings-modal:not(.simple-user-settings) .input-group div.form-control,
    #bootstrap_modal .user-settings-modal:not(.simple-user-settings) .input-group select.form-control {
        width: 100%;
    }

    .user-settings-modal .fancy-radio-wrap,
    .edit-dep-modal .fancy-radio-wrap {
        width: 100% !important;
    }

    #bootstrap_modal .user-settings-modal:not(.simple-user-settings) .input-group.my-1.rounded-2.p-2.bg-Linen.password-col {
        width: calc(100% - 3rem);
        max-width: calc(100% - 3rem);
    }
    #bootstrap_modal .user-settings-modal:not(.simple-user-settings) .modal-content .modal-footer {
        justify-content: space-between !important;
        justify-self: unset;
        width: 100%;
    }

    #bootstrap_modal .user-settings-modal:not(.simple-user-settings) .save-btn,
    #bootstrap_modal .user-settings-modal:not(.simple-user-settings) .cancel-btn {
        margin: 0 !important;
    }

    .assign-representatives-modal .representative.rep,
    .tags-filter-modal .tag-wrapper{
        width: calc(100% - 8px);
    }

    .snooze-modal textarea.form-control{
        width: 100%;
    }
}

.modal-dialog .dataTables_wrapper table.dataTable tbody > tr > td.dataTables_empty,
.modal-dialog .dataTables_wrapper table.dataTable thead > tr > th.dataTables_empty,
.modal-dialog .dataTables_wrapper table.dataTable.mobileDataTable tbody > tr > td.dataTables_empty,
.modal-dialog .dataTables_wrapper table.dataTable.mobileDataTable thead > tr > th.dataTables_empty,
.full-frame-table .dataTables_wrapper table.dataTable tbody > tr > td.dataTables_empty,
.full-frame-table .dataTables_wrapper table.dataTable thead > tr > th.dataTables_empty,
.full-frame-table .dataTables_wrapper table.dataTable.mobileDataTable tbody > tr > td.dataTables_empty,
.full-frame-table .dataTables_wrapper table.dataTable.mobileDataTable thead > tr > th.dataTables_empty {
    text-align: center !important;
    width: 100% !important;
    justify-content: center;
    align-items: center;
}

.full-frame-table td.color-td span {
    width: fit-content;
    display: block;
    border-radius: 5px;
    padding: 3px 10px;
}

.snooze-modal .modal-body p{
    font-size: 16px;
    line-height: 22px;
}

.alarm-tags-div {
    width: fit-content;
    position: absolute;
    right: 142px;
    background: #FBF7F4;
    padding: 10px 0 0 20px;
    top: 0;
}

    .alarm-tags-div.internal-lock-div{
        right: 90px;
    }

    .rtl .alarm-tags-div {
        right: unset;
        left: 142px;
        padding: 10px 20px 0 0;
    }

        .rtl .alarm-tags-div.internal-lock-div{
            left: 80px;
        }

        .contact-item:hover .alarm-tags-div, .contact-item.active-chat .alarm-tags-div {
            background: #D7FBDD;
        }

.lottie-loader-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: calc(var(--vh, 1vh) * 100 - 78px);
}

    .lottie-loader-wrapper lottie-player {
        opacity: 0.09;
    }

    .lottie-loader-wrapper .lottie-message {
        color: black;
        font-size: 16px;
        line-height: 22px;
    }

.pcr-app .pcr-interaction .pcr-type{
    display: none !important;
}

.pcr-app .pcr-interaction .pcr-save,
.pcr-app .pcr-interaction .pcr-cancel {
    width: 60px !important;
    border-radius: 5px !important;
    background: #27CC43 !important;
    padding: 6px !important;
    font-size: 12px !important;
    line-height: 18px !important;
    border: 1px solid #27CC43 !important;
}

    .pcr-app .pcr-interaction .pcr-cancel{
        color: black !important;
        background: white !important;
        border-color: black !important;
        margin-left: 10px !important;
    }

        .pcr-app .pcr-interaction input:focus,
        .pcr-app .pcr-interaction .pcr-cancel:focus {
            box-shadow: none !important;
        }

    .pcr-app[data-theme=nano] {
        width: 250px !important;
        max-width: 250px !important;
        direction: ltr !important;
    }

    .pcr-app[data-theme=nano] .pcr-selection .pcr-color-chooser,
    .pcr-app[data-theme=nano] .pcr-selection .pcr-color-opacity {
        margin-right: 18.5px !important;
        height: 9px !important;
    }

.pcr-app .pcr-interaction .pcr-result {
    margin-right: 10px !important;
    font-size: 12px !important;
    line-height: 18px !important;
    min-width: unset !important;
    flex: 1 1 89px !important;
    width: 89px !important;
    border-radius: 5px !important;
}

    .pcr-app[data-theme=nano] .pcr-selection .pcr-color-preview{
        justify-content: flex-start !important;
    }

        .pcr-app[data-theme=nano] .pcr-selection .pcr-color-preview .pcr-current-color{
            height: 38px !important;
            width: 38px !important;
        }

.pcr-app[data-theme=nano] .pcr-selection{
    height: 175px !important;
}

.pcr-app[data-theme=nano] .pcr-interaction {
    padding-bottom: 10px !important;
}

.full-page-modal .btn.btn-primary.addnewbtn {
    background: #27CC43 !important;
    border-color: #27CC43 !important;
}

.dropdown-submenu {
    position: absolute;
    left: -203px;
    background: white;
    width: 200px;
    top: 0;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 8px;
}

.rtl .dropdown-submenu {
    left: unset;
    right: -203px;
}

.dropdown-menu .dropdown-item.submenu-toggle i.fa-chevron-left,
.offcanvas-body .dropdown-item.submenu-toggle i.fa-chevron-left {
    font-size: 14px !important;
    line-height: 18px !important;
    position: absolute;
    right: 27px;
}

.rtl .dropdown-menu .dropdown-item.submenu-toggle i.fa-chevron-left,
.rtl .offcanvas-body .dropdown-item.submenu-toggle i.fa-chevron-left {
    left: 27px;
    right: unset;
}

.rtl .dropdown-menu .dropdown-item.submenu-toggle i.fa-chevron-left,
.rtl .offcanvas-body .dropdown-item.submenu-toggle i.fa-chevron-left {
    transform: rotate(180deg);
}

.dropdown-menu .dropdown-item.submenu-toggle.open-submenu i.fa-chevron-left,
.offcanvas-body .dropdown-item.submenu-toggle.open-submenu i.fa-chevron-left {
    transform: rotate(180deg);
}

.rtl .dropdown-menu .dropdown-item.submenu-toggle.open-submenu i.fa-chevron-left,
.rtl .offcanvas-body .dropdown-item.submenu-toggle.open-submenu i.fa-chevron-left {
    transform: rotate(0);
}

@media screen and (max-width: 768px) {
    .submenu-toggle.open-submenu {
        padding-bottom: calc(1.5rem + 136px) !important;
    }

    .dropdown-submenu {
        left: unset;
        right: 0;
        width: 100%;
        top: 66px;
        box-shadow: none;
    }

    .rtl .dropdown-submenu {
        right: unset;
        left: 0;
    }
}