html,
body,
#fullheight {
    min-height: 100% !important;
    height: 100%;
}

body {
    font-size: 14px;
}

.h4,
h4 {
    font-size: 1.1rem;
}

a,
a:hover,
a:active {
    text-decoration: none;
}

.content-wrapper {
    height: 100%;
    min-height: calc(100vh);
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

table th {
    white-space: nowrap;
}

.actions_div {
    text-align: center;
    white-space: nowrap;
}

/*******************************
* MODAL AS LEFT/RIGHT SIDEBAR
* Add "left" or "right" in modal parent div, after class="modal".
* Get free snippets on bootpen.com
*******************************/
.modal.left .modal-dialog,
.modal.right .modal-dialog {
    position: fixed;
    margin: auto;
    width: 60%;
    height: 100%;
    -webkit-transform: translate3d(0%, 0, 0);
    -ms-transform: translate3d(0%, 0, 0);
    -o-transform: translate3d(0%, 0, 0);
    transform: translate3d(0%, 0, 0);
}

.modal.left .modal-content,
.modal.right .modal-content {
    height: 100%;
    overflow-y: auto;
}

.modal.left .modal-body,
.modal.right .modal-body {
    padding: 15px 15px 80px;
}

/*Left*/
.modal.left.fade .modal-dialog {
    left: -60%;
    -webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, left 0.3s ease-out;
    -o-transition: opacity 0.3s linear, left 0.3s ease-out;
    transition: opacity 0.3s linear, left 0.3s ease-out;
}

.modal.left.fade.in .modal-dialog {
    left: 0;
}

/*Right*/
.modal.right.fade .modal-dialog {
    right: -60%;
    -webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, right 0.3s ease-out;
    -o-transition: opacity 0.3s linear, right 0.3s ease-out;
    transition: opacity 0.3s linear, right 0.3s ease-out;
}

.modal.right.fade.in .modal-dialog {
    right: 0;
}

@media (max-width: 767px) {

    .modal.left .modal-dialog,
    .modal.right .modal-dialog {
        width: 100%;
    }

    .modal.left.fade .modal-dialog {
        left: -100%;
    }

    .modal.right.fade .modal-dialog {
        right: -100%;
    }
}

.rightModal {
    z-index: 9999999999999;
}

.rightModal label {
    font-size: 1.2em;
}

.rightModal .well {
    background: #f3f7ff;
    margin-bottom: 4px;
    padding: 5px 10px;
}

.rightModal .modal-title {
    font-size: 1.6em;
    font-weight: bolder;
}

.rightModal .close {
    font-size: 30px;
}

#fileInfoModal {
    z-index: 1150;
}

.textbetweenlines {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #cccccc;
    line-height: 0.1em;
    margin: 10px 0 20px;
}

.textbetweenlines span {
    background: #fff;
    padding: 0 10px;
}

/* Global Styles for Timeline*/
.timeline {
    margin: 0;
    padding: 0;
    position: relative;
}

.timeline a {
    text-decoration: none;
    cursor: pointer;
}

.timeline h1 {
    font-size: 1.6rem;
    font-weight: 300;
    color: #FFF;
    letter-spacing: 0.1rem;
    margin-top: 5px;
    margin-bottom: 5px;
}

.timeline li {
    list-style: none;
    padding-top: 15px;
    margin-bottom: -20px;
    border-left: 4px solid transparent;
}

/* Note Collapse Positioning */
.note-close {
    position: relative;
    top: -23px;
    height: 0px;
    color: #fff !important;
}

.note-user {
    position: relative;
    top: -23px;
    height: 0px;
    color: #fff !important;
    float: right;
    margin-right: 5%;
}

/* The Dividing line between notes */
.timeline li:after {
    content: "";
    display: block;
    height: 1px;
    background-image: url(img/date-line.png);
    max-width: 900px;
    margin-bottom: 21px;
    margin-top: -25px;
}

/* The Time Line */
.timeline:before {
    content: '';
    position: absolute;
    top: 50px;
    bottom: 0;
    width: 4px;
    background: #e9ecef;
    left: 16%;
    margin-left: -10px;
}

/* The date/time */
.timeline>li .timeline-date {
    display: block;
    width: 25%;
    padding-right: 15.88888%;
    position: relative;
    top: 0;
    margin-bottom: -70px;
}

.timeline>li .timeline-date span {
    display: block;
    text-align: right;
}

.timeline>li .timeline-date span:first-child {
    font-size: 3.0rem;
    color: #587086;
}

.timeline>li .timeline-date span:last-child {
    font-size: 1.4rem;
    color: #909090;
    margin-top: -7px;
}

.timeline>li .note-content {
    margin: 0 25px 15px 20%;
    background: #849aae;
    color: #777;
    padding: 0;
    font-size: 1.2em;
    font-weight: 300;
    line-height: 1.4;
    position: relative;
    border-radius: 5px;
    top: -20px;
    border: 0;
}

.timeline>li .note-content:after {
    right: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-right-color: #849aae;
    border-width: 10px;
    top: 15px;
    left: -19px;
}

.timeline>li:nth-child(odd) .note-content:after {
    right: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-right-color: #587086;
    border-width: 10px;
    top: 15px;
    left: -19px;
}

/* Collapasble Content */
.note-content .panel-default>.panel-heading {
    color: #fff;
    background-color: #849aae;
    border-color: #849aae;
    paddding: 5px 15px !important;
}

.note-content .panel-footer {
    padding: 4px 0px;
    background-color: #849aae;
    border-top: 1px solid #849aae;
    color: #fff;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

.timeline>li:nth-child(odd) .note-content .panel-default>.panel-heading {
    color: #fff;
    background-color: #587086;
    border-color: #587086;
    paddding: 5px 15px !important;
}

.timeline>li:nth-child(odd) .note-icon {
    color: #fff;
    background-color: #587086;
    border-color: #587086;
}

.timeline>li:nth-child(odd) .panel-footer {
    color: #fff;
    background-color: #587086;
    border-color: #587086;
}

/* AM/PM */
.timeline-date sup {
    font-size: 1.2rem;
    vertical-align: top;
    margin-top: 18px;
    position: absolute;
    margin-left: 3px;
}

/* Icons */
.note-icon {
    color: #000;
}

.timeline>li .note-icon {
    width: 32px;
    height: 32px;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    font-size: 1.4rem;
    line-height: 34px;
    -webkit-font-smoothing: antialiased;
    position: relative;
    color: #fff;
    background: #849aae;
    border-radius: 50%;
    text-align: center;
    left: 15.8%;
    top: 19px;
    margin: 0 0 0 -24px;
}

/* Media Queries */
@media screen and (max-width: 768px) {

    /* The Time Line */
    .timeline:before {
        content: '';
        position: absolute;
        top: 50px;
        bottom: 0;
        width: 4px;
        background: none;
        left: 16%;
        margin-left: -10px;
    }

    /* --- Note Content Re-Positioning --- */
    /* Not Content */
    .timeline>li .note-content {
        margin: 0 25px 15px 15px;
        top: 0;
    }

    .timeline>li .note-content:after {
        right: auto;
        left: 20px;
        border-right-color: transparent;
        border-bottom-color: #849aae;
        top: -19px;
    }

    .timeline>li:nth-child(odd) .note-content:after {
        right: auto;
        left: 20px;
        border-right-color: transparent;
        border-bottom-color: #587086;
        top: -19px;
    }

    .timeline>li:hover .note-content:after {
        right: auto;
        left: 20px;
        border-right-color: transparent;
        border-bottom-color: #1180b0;
        top: -19px;
    }

    .timeline>li:nth-child(odd):hover .note-content:after {
        right: auto;
        left: 20px;
        border-right-color: transparent;
        border-bottom-color: #1180b0;
        top: -19px;
    }

    /* Date and Time*/
    .timeline>li .timeline-date {
        display: block;
        width: 25%;
        position: relative;
        top: -10px;
        margin-bottom: 10px;
        margin-left: 15px;
    }

    .timeline>li .timeline-date span:first-child {
        font-size: 1.66em;
        position: relative;
        margin-top: 0;
    }

    .timeline>li .timeline-date span:last-child {
        font-size: 0.8em;
        float: left;
        margin-left: 3px;
    }

    .timeline li:after {
        content: "";
        display: block;
        height: 1px;
        background-image: url(img/date-line.png);
        max-width: 900px;
        margin-bottom: 20px;
        margin-top: 5px;
    }

    .timeline-date sup {
        position: relative;
        top: 10px;
    }

    /* Note Icon */
    .timeline>li .note-icon {
        top: -38px;
        margin: 0 25px 0 0;
        float: right;
        left: initial;
        width: 40px;
        height: 40px;
        line-height: 42px;
        margin-top: -9px;
        font-size: 1.6rem;
    }

}

.actions_div .btn {
    padding: 4px 5px;
    height: fit-content;
    line-height: 1em;
}

.actions_div .fa {
    font-size: 13px
}

.rightModalBody {
    font-size: 0.8em;
}

.rightModalBody .well {
    margin: 1px;
    padding: 5px 10px;
}

.rightModalBody .form-group {
    margin-bottom: 5px;
}

.progress {
    background-color: #d0cfcf;
}

.alertmargins {
    margin-top: 20px
}

.draggablePanelList .panel-heading {
    cursor: move;
}

.menuIcon {
    width: 20px;
    top: -1px;
    position: relative;
}

.pageIcon {
    width: 25px;
    top: -2px;
    position: relative;
}

.NClogo {
    width: 60%
}

.NCemblem {
    width: 80%
}

.errorLabel {
    font-size: 0.8em;
    color: red;
    display: inline-block;
    margin: 0px 8px;
}

.successLabel {
    color: green;
    display: inline-block;
}

.checkBoxMargin {
    margin-top: 4px;
}

.datatable-table-selectall td,
.datatable-table-selectall td::before,
.datatable-table-selectall td::after,
.datatable-table-selectall th,
.datatable-table4 td,
.datatable-table4 td::before,
.datatable-table4 td::after,
.datatable-table4 th {
    vertical-align: middle !important;
}

.datatable-table-selectall td::before,
.datatable-table4 td::before {
    margin-top: auto !important;
}

.datatable-table-selectall td::after,
.datatable-table4 td::after {
    margin-top: -7px !important;
}

.channelCol {
    height: 50px;
    display: inline-block;
    margin-bottom: 70px;
}

.channelCol.disabled {
    opacity: 0.5;
}

.channelCol>div {
    height: 100%;
    width: 100%;
    margin-bottom: 10px
}

.channelCol .ChannelWhatsappCloudAPI {
    background: url('../images/channels-icons/whatsapp_cloud.svg') no-repeat center center;
    background-size: contain;
}

.channelCol .ChannelMessenger {
    background: url('../images/channels-icons/messenger.svg') no-repeat center center;
    background-size: contain;
}

.channelCol .ChannelInstagram {
    background: url('../images/channels-icons/instagram.svg') no-repeat center center;
    background-size: contain;
}

.channelCol .ChannelTelegram {
    background: url('../images/channels-icons/telegram.svg') no-repeat center center;
    background-size: contain;
}

.channelCol .ChannelViber {
    background: url('../images/channels-icons/viber.svg') no-repeat center center;
    background-size: contain;
}

.channelCol .ChannelLine {
    background: url('../images/channels-icons/line.svg') no-repeat center center;
    background-size: contain;
}

.channelCol .ChannelCustom {
    background: url('../images/channels-icons/custom_channel.svg') no-repeat center center;
    background-size: contain;
}

.labelAlreadyExists {
    font-size: 0.7em;
    border-radius: 7px;
    padding: 5px 15px;
    font-weight: normal;
}

.button-group-pills .btn {
    font-size: 0.7em;
    border-radius: 7px;
    border-color: #bbbbbb;
    background-color: #fff;
    color: #14a4be;
    padding: 5px 35px;
}

.button-group-pills .btn.active {
    border-color: #5879da;
    background-color: #5879da;
    color: #fff;
    box-shadow: none;
}

.button-group-pills .btn>div:before {
    content: "";
}

.button-group-pills .btn.active>div:before {
    content: "\2713";
    left: -3px;
    position: relative;
}


.button-group-pills .btn:hover {
    border-color: #5879da;
    background-color: #ffffff;
    color: #5879da;
}

.row.equalheight {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}

.row.equalheight>[class*='col-'] {
    display: flex;
    flex-direction: column;
}

.colMarginBtm {
    margin-bottom: 10px
}

.addPhoneNumberQuality {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 3px;
    margin-right: 5px;
    position: relative;
    top: -1px;
    opacity: 0.8;
}

.ChannelAccountsBoxAction {
    margin: 0 auto;
    padding: 0;
    bottom: 15px;
    width: 80%;
    box-sizing: content-box;
    left: 0;
    right: 0;
    height: 25px;
}

.statsLabel {
    font-size: 0.6rem;
    width: 42px
}

.contacts li>.info-combo>h3.name {
    font-size: 12px;
}

.contacts li>.info-combo>h5 {
    width: 180px;
    font-size: 12px;
    height: 28px;
    font-weight: 500;
    overflow: hidden;
    white-space: normal;
    text-overflow: ellipsis;
}

.contacts li>.info-combo>h3 {
    width: 167px;
    height: 20px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.info-combo>h3 {
    margin: 3px 0;
}

.no-margin-bottom {
    margin-bottom: 0 !important;
}

.info-combo>h5 {
    margin: 2px 0 6px 0;
}

/* Messages */
.messages-panel img.img-circle {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.medium-image {
    width: 45px;
    height: 45px;
}

.img-circle {
    border-radius: 50%;
}

.messages-panel {
    width: 100%;
    height: calc(82vh);
    min-height: 460px;
    background-color: #fbfcff;
    display: inline-block;
    border-radius: 0px;
    margin-bottom: 0;
}

.messages-panel img.img-circle {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.messages-panel .tab-content {
    border: none;
    background-color: transparent;
}

.contacts-list {
    background-color: #fff;
    border-right: 1px solid #cfdbe2;
    width: 305px;
    height: calc(82vh);
    float: left;
    overflow-y: scroll;
    overflow-x: hidden;
}

.contacts-list .inbox-categories {
    width: 100%;
    padding: 0;
    margin-left: 0;
}

.contacts-list .inbox-categories>div {
    float: left;
    width: 100%;
    padding: 15px 5px;
    font-size: 14px;
    text-align: center;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    font-weight: 700;
}

.contacts-list .inbox-categories>div:nth-child(1) {
    color: #2da9e9;
    border-right-color: rgba(45, 129, 233, 0.06);
    border-bottom: 4px solid #2da9e9;
}

.contacts-list .inbox-categories>div:nth-child(1).active {
    color: #fff;
    background-color: #2da9e9;
    border-bottom: 4px solid rgba(0, 0, 0, 0.15);
}

.contacts-list .inbox-categories>div:nth-child(2) {
    color: #0ec8a2;
    border-right-color: rgba(14, 200, 162, 0.06);
    border-bottom: 4px solid #0ec8a2;
}

.contacts-list .inbox-categories>div:nth-child(2).active {
    color: #fff;
    background-color: #0ec8a2;
    border-bottom: 4px solid rgba(0, 0, 0, 0.15);
}

.contacts-list .inbox-categories>div:nth-child(3) {
    color: #ff9e2a;
    border-right-color: rgba(255, 152, 14, 0.06);
    border-bottom: 4px solid #ff9e2a;
}

.contacts-list .inbox-categories>div:nth-child(3).active {
    color: #fff;
    background-color: #ff9e2a;
    border-bottom: 4px solid rgba(0, 0, 0, 0.15);
}

.contacts-list .inbox-categories>div:nth-child(4) {
    color: #314557;
    border-bottom: 4px solid #314557;
    border-right-color: transparent;
}

.contacts-list .inbox-categories>div:nth-child(4).active {
    color: #fff;
    background-color: #314557;
    border-bottom: 4px solid rgba(0, 0, 0, 0.35);
}

.contacts-list .panel-search>input {
    margin-left: 5px;
    background-color: rgba(0, 0, 0, 0);
}

.contacts-outter-wrapper {
    position: relative;
    width: 305px;
    direction: rtl;
    min-height: 405px;
    overflow: hidden;
}

.contacts-outter-wrapper:after,
.contacts-outter-wrapper:nth-child(1):after {
    content: "";
    position: absolute;
    width: 100%;
    height: 5px;
    bottom: 0;
}

.contacts-outter-wrapper:nth-child(2):after {
    background-color: #0ec8a2;
}

.contacts-outter-wrapper:nth-child(3):after {
    background-color: #ff9e2a;
}

.contacts-outter-wrapper:nth-child(4):after {
    background-color: #314557;
}

.contacts-outter {
    position: relative;
    height: 100%;
    width: 325px;
    direction: rtl;
    overflow-y: scroll;
    padding-left: 20px;
}

@media screen and (min-color-index:0) and(-webkit-min-device-pixel-ratio:0) {
    .contacts-outter-wrapper {
        direction: ltr;
    }

    .contacts-outter {
        direction: ltr;
        padding-left: 0;
    }

}

.contacts {
    direction: ltr;
    width: 305px;
    margin-top: 0px;
}

.contacts li {
    width: 100%;
    border-top: 1px solid transparent;
    border-bottom: 1px solid rgba(205, 211, 237, 0.2);
    border-left: 4px solid rgba(255, 255, 255, 0);
    padding: 8px 12px;
    position: relative;
    background-color: rgba(255, 255, 255, 0);
}

.contacts li:first-child {
    border-top: 1px solid rgba(205, 211, 237, 0.2);
}

.contacts li:first-child.active {
    border-top: 1px solid rgba(205, 211, 237, 0.75);
}

.contacts li:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.contacts li.active,
.contacts.info li.active {
    border-left: 4px solid #2da9e9;
    border-top-color: rgba(205, 211, 237, 0.75);
    border-bottom-color: rgba(205, 211, 237, 0.75);
    background-color: #fbfcff;
}

.contacts.success li.active {
    border-left: 4px solid #0ec8a2;
}

.contacts.warning li.active {
    border-left: 4px solid #ff9e2a;
}

.contacts.danger li.active {
    border-left: 4px solid #f95858;
}

.contacts.dark li.active {
    border-left: 4px solid #314557;
}

.contacts li>.info-combo {
    width: 225px;
    cursor: pointer;
}

.contacts li>.info-combo>h3 {
    width: 167px;
    height: 20px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.contacts li .contacts-add {
    width: 60px;
    float: right;
    z-index: 23299;
}

.contacts li .message-time {
    display: block;
    width: 225px;
    font-size: 0.8em;
    font-weight: normal;
    position: relative;
    color: #999;
    margin-top: -5px;
}

.contacts li .contacts-add .fa-trash-o {
    position: absolute;
    font-size: 14px;
    right: 12px;
    bottom: 15px;
    color: #a6a6a6;
    cursor: pointer;
}

.contacts li .contacts-add .fa-paperclip {
    position: absolute;
    font-size: 14px;
    right: 34px;
    bottom: 15px;
    color: #a6a6a6;
    cursor: pointer;
}

.contacts li .contacts-add .fa-trash-o:hover {
    color: #f95858;
}

.contacts li .contacts-add .fa-paperclip:hover {
    color: #ff9e2a;
}

.contacts li>.info-combo>h5 {
    width: 180px;
    font-size: 0.85em;
    height: 28px;
    font-weight: 500;
    overflow: hidden;
    white-space: normal;
    text-overflow: ellipsis;
}

.contacts li .message-count {
    position: absolute;
    top: 8px;
    left: 5px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background-color: #ff9e2a;
    border-radius: 50%;
    color: #fff;
    font-weight: 600;
    font-size: 10px;
}

.message-body,
.main-message-body {
    background-color: #fbfcff;
    overflow: scroll;
    height: calc(82vh);
    width: calc(100% - 305px);
    float: right;
}

.message-body .message-top {
    display: inline-block;
    width: 100%;
    position: relative;
    min-height: 53px;
    height: auto;
    background-color: #fff;
    border-bottom: 1px solid rgba(205, 211, 237, 0.5);
}

.message-body .message-top .new-message-wrapper {
    width: 100%;
}

.message-body .message-top .new-message-wrapper>.form-group {
    width: 100%;
    padding: 10px 10px 0 10px;
    height: 50px;
}

.message-body .message-top .new-message-wrapper .form-group .form-control {
    width: calc(100% - 50px);
    float: left;
}

.message-body .message-top .new-message-wrapper .form-group a {
    width: 40px;
    padding: 6px 6px 6px 6px;
    text-align: center;
    display: block;
    float: right;
    margin: 0;
}

.message-body .message-top>.btn {
    height: 53px;
    line-height: 53px;
    padding: 0 20px;
    float: right;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin: 0;
    font-size: 15px;
    opacity: 0.9;
}

.message-body .message-top>.btn:hover,
.message-body .message-top>.btn:focus,
.message-body .message-top>.btn.active {
    opacity: 1;
}

.message-body .message-top>.btn>i {
    margin-right: 5px;
    font-size: 18px;
}

.new-message-wrapper {
    position: absolute;
    max-height: 400px;
    top: 53px;
    background-color: #fff;
    z-index: 105;
    padding: 20px 15px 30px 15px;
    border-bottom: 1px solid #cfdbe2;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    box-shadow: 0 7px 10px rgba(0, 0, 0, 0.25);
    transition: 0.5s;
    display: none;
}

.new-message-wrapper.closed {
    opacity: 0;
    max-height: 0;
}

.chat-footer.new-message-textarea {
    display: block;
    position: relative;
    padding: 0 10px;
}

.chat-footer.new-message-textarea .send-message-button {
    right: 35px;
}

.chat-footer.new-message-textarea .upload-file {
    right: 85px;
}

.chat-footer.new-message-textarea .send-message-text {
    padding-right: 100px;
    height: 90px;
}

.message-chat {
    width: 100%;
    overflow: scroll;
    height: calc(70vh);
}

.chat-body {
    width: calc(100%);
    background-color: #fbfcff;
    margin-bottom: 30px;
    padding: 30px 5px 5px 5px;
    overflow-y: scroll;
}

.message {
    position: relative;
    width: 100%;
}

.message br {
    clear: both;
}

.message .message-body {
    position: relative;
    width: auto;
    max-width: calc(100% - 150px);
    float: left;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #dbe3e8;
    margin: 0 5px 20px 15px;
    color: #788288;
}

.message:after {
    content: "";
    position: absolute;
    top: 11px;
    left: 63px;
    float: left;
    z-index: 100;
    border-top: 10px solid transparent;
    border-left: none;
    border-bottom: 10px solid transparent;
    border-right: 13px solid #fff;
}

.message:before {
    content: "";
    position: absolute;
    top: 10px;
    left: 62px;
    float: left;
    z-index: 99;
    border-top: 11px solid transparent;
    border-left: none;
    border-bottom: 11px solid transparent;
    border-right: 13px solid #dbe3e8;
}

.message .medium-image {
    float: left;
    margin-left: 10px;
}

.message .message-info {
    width: 100%;
    height: 22px;
}

.message .message-info>h5>i {
    font-size: 11px;
    font-weight: 700;
    margin: 0 2px 0 0;
    color: #a2b8c5;
}

.message .message-info>h5 {
    color: #a2b8c5;
    margin: 8px 0 0 0;
    font-size: 12px;
    float: right;
    padding-right: 10px;
}

.message .message-info>h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 7px 13px 0 10px;
    color: #65addd;
    float: left;
}

.message hr {
    margin: 4px 2%;
    width: 96%;
    opacity: 0.75;
}

.message .message-text {
    text-align: left;
    padding: 3px 13px 10px 13px;
    font-size: 14px;
}

.message.my-message .message-body {
    float: right;
    margin: 0 15px 20px 5px;
}

.message.my-message:after {
    content: "";
    position: absolute;
    top: 11px;
    left: auto;
    right: 63px;
    float: left;
    z-index: 100;
    border-top: 10px solid transparent;
    border-left: 13px solid #fff;
    border-bottom: 10px solid transparent;
    border-right: none;
}

.message.my-message:before {
    content: "";
    position: absolute;
    top: 10px;
    left: auto;
    right: 62px;
    float: left;
    z-index: 99;
    border-top: 11px solid transparent;
    border-left: 13px solid #dbe3e8;
    border-bottom: 11px solid transparent;
    border-right: none;
}

.message.my-message .medium-image {
    float: right;
    margin-left: 5px;
    margin-right: 10px;
}

.message.my-message .message-info>h5 {
    float: left;
    padding-left: 10px;
    padding-right: 0;
}

.message.my-message .message-info>h4 {
    float: right;
}

.message.info .message-body {
    background-color: #2da9e9;
    border: 1px solid #2da9e9;
    color: #fff;
}

.message.info:after,
.message.info:before {
    border-right: 13px solid #2da9e9;
}

.message.success .message-body {
    background-color: #0ec8a2;
    border: 1px solid #0ec8a2;
    color: #fff;
}

.message.success:after,
.message.success:before {
    border-right: 13px solid #0ec8a2;
}

.message.warning .message-body {
    background-color: #ff9e2a;
    border: 1px solid #ff9e2a;
    color: #fff;
}

.message.warning:after,
.message.warning:before {
    border-right: 13px solid #ff9e2a;
}

.message.danger .message-body {
    background-color: #f95858;
    border: 1px solid #f95858;
    color: #fff;
}

.message.danger:after,
.message.danger:before {
    border-right: 13px solid #f95858;
}

.message.dark .message-body {
    background-color: #314557;
    border: 1px solid #314557;
    color: #fff;
}

.message.dark:after,
.message.dark:before {
    border-right: 13px solid #314557;
}

.message.info .message-info>h4,
.message.success .message-info>h4,
.message.warning .message-info>h4,
.message.danger .message-info>h4,
.message.dark .message-info>h4 {
    color: #fff;
}

.message.info .message-info>h5,
.message.info .message-info>h5>i,
.message.success .message-info>h5,
.message.success .message-info>h5>i,
.message.warning .message-info>h5,
.message.warning .message-info>h5>i,
.message.danger .message-info>h5,
.message.danger .message-info>h5>i,
.message.dark .message-info>h5,
.message.dark .message-info>h5>i {
    color: #fff;
    opacity: 0.9;
}

.chat-footer {
    position: relative;
    width: 100%;
    padding: 0 80px;
}

.chat-footer .send-message-text {
    position: relative;
    display: block;
    width: 100%;
    min-height: 55px;
    max-height: 75px;
    background-color: #fff;
    border-radius: 5px;
    padding: 5px 95px 5px 10px;
    font-size: 13px;
    resize: vertical;
    outline: none;
    border: 1px solid #e0e6eb;
}

.chat-footer .send-message-button {
    display: block;
    position: absolute;
    width: 35px;
    height: 35px;
    right: 100px;
    top: 0;
    bottom: 0;
    margin: auto;
    border: 1px solid rgba(0, 0, 0, 0.05);
    outline: none;
    font-weight: 600;
    border-radius: 50%;
    padding: 0;
}

.chat-footer .send-message-button>i {
    font-size: 16px;
    margin: 0 0 0 -2px;
}

.chat-footer label.upload-file input[type="file"] {
    position: fixed;
    top: -1000px;
}

.chat-footer .upload-file {
    display: block;
    position: absolute;
    right: 150px;
    height: 30px;
    font-size: 20px;
    top: 0;
    bottom: 0;
    margin: auto;
    opacity: 0.25;
}

.chat-footer .upload-file:hover {
    opacity: 1;
}

@media screen and (max-width: 767px) {
    .messages-panel {
        min-width: 0;
        display: inline-block;
    }

    .contacts-list,
    .contacts-list .inbox-categories>div:nth-child(4) {
        border-top-right-radius: 5px;
        border-right: none;
    }

    .contacts-list,
    .contacts-outter-wrapper,
    .contacts-outter,
    .contacts {
        width: 100%;
        direction: ltr;
        padding-left: 0;
    }

    .contacts-list .inbox-categories>div {
        width: 25%;
    }

    .message-body {
        width: 100%;
        margin: 20px 0;
        border: 1px solid #dce2e9;
        background-color: #fff;
    }

    .message .message-body {
        max-width: calc(100% - 85px);
    }

    .message-body .chat-body {
        background-color: #fff;
        width: 100%;
    }

    .chat-footer {
        margin-bottom: 20px;
        padding: 0 20px;
    }

    .chat-footer .send-message-button {
        right: 40px;
    }

    .chat-footer .upload-file {
        right: 90px;
    }

    .message-body .message-top>.btn {
        border-radius: 0;
        width: 100%;
    }

    .contacts-add {
        display: none;
    }
}

/* Profile page */

.profile-main {
    background-color: #fff;
    border: 1px solid #dce2e9;
    border-radius: 3px;
    position: relative;
    margin-bottom: 20px;
}

.profile-main .profile-background {
    background-image: url('../images/samples/forest.png');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    width: 100%;
    height: 260px;
}

.profile-main .profile-info {
    width: calc(100% - 380px);
    max-width: 1100px;
    margin: 0 auto;
    background-color: #fff;
    height: 70px;
    border-radius: 0 0 3px 3px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.profile-main .profile-info>div {
    margin: 0 10px;
}

.profile-main .profile-info>div:last-child {
    padding-right: 25px;
}

.profile-main .profile-info>div h4 {
    font-size: 16px;
    margin-bottom: 0;
}

.profile-main .profile-info>div h5 {
    margin-top: 5px;
    font-weight: 500;
}

.profile-main .profile-button {
    padding: 8px 0;
    position: absolute;
    right: 25px;
    bottom: 16px;
    width: 150px;
}

.profile-main .profile-picture {
    width: 150px;
    height: 150px;
    border: 4px solid #fff;
    position: absolute;
    left: 25px;
    bottom: 14px;
}

@media screen and (max-width: 767px) {

    .profile-main .profile-info .profile-status,
    .profile-main .profile-info .profile-posts,
    .profile-main .profile-info .profile-date {
        display: none;
    }
}

.contacts li>.info-combo {
    display: inline-block;
}

.modal.left .modal-dialog,
.modal.right .modal-dialog {
    position: fixed;
    margin: auto;
    width: 60%;
    height: 100%;
    -webkit-transform: translate3d(0%, 0, 0);
    -ms-transform: translate3d(0%, 0, 0);
    -o-transform: translate3d(0%, 0, 0);
    transform: translate3d(0%, 0, 0);
}

.modal.left .modal-content,
.modal.right .modal-content {
    height: 100%;
    overflow-y: auto;
}

.modal.left .modal-body,
.modal.right .modal-body {
    padding: 15px 15px 80px;
}

/*Left*/
.modal.left.fade .modal-dialog {
    left: -60%;
    -webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, left 0.3s ease-out;
    -o-transition: opacity 0.3s linear, left 0.3s ease-out;
    transition: opacity 0.3s linear, left 0.3s ease-out;
}

.modal.left.fade.in .modal-dialog {
    left: 0;
}

/*Right*/
.modal.right.fade .modal-dialog {
    right: -60%;
    -webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
    -moz-transition: opacity 0.3s linear, right 0.3s ease-out;
    -o-transition: opacity 0.3s linear, right 0.3s ease-out;
    transition: opacity 0.3s linear, right 0.3s ease-out;
}

.modal.right.fade.in .modal-dialog {
    right: 0;
}

.modal-dialog-slideout {
    position: fixed;
    margin: auto;
    width: 50%;
    height: 100%;
    right: 0px;
    max-width: 100%
}

@media (max-width: 767px) {

    .modal.left .modal-dialog,
    .modal.right .modal-dialog {
        width: 100%;
    }

    .modal.left.fade .modal-dialog {
        left: -100%;
    }

    .modal.right.fade .modal-dialog {
        right: -100%;
    }

    .modal-dialog-slideout {
        position: fixed;
        margin: auto;
        width: 100%;
        height: 100%;
        right: 0px;
        max-width: 100%
    }

}

.rightModal label {
    font-size: 1.2em;
}

.rightModal .well {
    background: #F3F7FF;
    margin-bottom: 4px;
    padding: 5px 10px;
}

.rightModal .modal-title {
    font-size: 1.6em;
    font-weight: bolder;
}

.rightModal .close {
    font-size: 30px;
}

.modal-content {
    height: 100%;
}

.modal-dialog-slideout {
    min-height: 100%;
    margin: 0 0 0 auto;
    background: #fff;
}

.modal.fade .modal-dialog.modal-dialog-slideout {
    -webkit-transform: translate(100%, 0) scale(1);
    transform: translate(100%, 0) scale(1);
}

.modal.fade.show .modal-dialog.modal-dialog-slideout {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
    display: flex;
    align-items: stretch;
    -webkit-box-align: stretch;
    height: 100%;
}

.modal.fade.show .modal-dialog.modal-dialog-slideout .modal-body {
    overflow-y: auto;
    overflow-x: hidden;
}

.modal-dialog-slideout .modal-content {
    border: 0;
}

.modal-dialog-slideout .modal-header,
.modal-dialog-slideout .modal-footer {
    height: 4rem;
}

.bs5nav {
    padding: 0;
}

.panel-search-form {
    direction: ltr;
}

#inbox {
    min-height: calc(80vh)
}

.border-start-primary {
    border-left-color: #0061f2 !important;
}

.border-start-secondary {
    border-left-color: #6900c7 !important;
}

.border-start-success {
    border-left-color: #00ac69 !important;
}

.border-start-lg {
    border-left-width: 0.25rem !important;
}

#pageLoading {
    height: 100%;
    width: 100%;
    display: none;
}

#pageLoading img {
    width: 50%
}

.messages_channel_icon {
    width: 15px;
}

.chat_loading img {
    width: 350px;
}

.message-chat .message-body {
    height: auto;
}

.chat_photo {
    width: 30%;
}

.key-container {
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow-x: auto;
    width: 100%;
    /* Set to desired width */
    max-width: 100%;
    /* Ensures the div doesn't exceed the width of its parent */
    border: 1px solid #ccc;
    /* Optional, for visibility */
    padding: 10px;
    /* Optional, for some spacing inside the div */
}

.encInfo {
    padding: 10px;
    margin-top: 10px;
    border: 1px solid red;
}

.select2-container--default .select2-selection--multiple {
    height: auto;
}