﻿html {
    background-color: #D8DBD2;
    --scrollbarBG: #CFD8DC;
    --thumbBG: #90A4AE;
    --inverse-rgb: 255,255,255;
    --secondary: rgba(0,0,0,0.6);
    --secondary-lighter: rgba(0,0,0,0.45);
    --background-default: #fff;
    --primary-strong: #000;
    --labels-icon: rgba(0,0,0,0.4);
    --secondary-stronger: rgba(0,0,0,0.8);
    --unread-marker-background: #06d755;
    --unread-marker-text: #fff;
    --background-default-active: #ebebeb;
}

body {
    margin: 0;
}

/* Add your flexbox CSS below here */
.app-bar {
    height: 127px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #00a884;
    z-index: -1;
    /*opacity: 0.5;*/
}



@media (max-height: 1440px)
{
    .center-content {
        height: 100%;
    }

    .wrapper{
        height: 98vh;
    }

    .messages-panel-bottom {
        height: 6%;
    }

    .uploding-file-progressbar {
        width: 60px;
    }
}

@media (max-height: 864px) {
    .center-content {
        height: 95%;
    }

    .wrapper {
        height: 96vh;
    }

    .messages-panel-bottom {
        height: 11%;
    }

    .uploding-file-progressbar {
        width: 38px;
    }
}

.wrapper {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.center-content {
    display: flex;
    width: 90%;
    flex-flow: column;
    background-color: #E7DDD1;
}

.top-bar {
    /* height: 5%;  */
    display: flex;
    flex-flow: row;
    background-color: #ededed;
    width: 100%;
}

.bottom-part {
    display: flex;
    flex-flow: row;
    height: 95%;
}


@media (max-width: 600px) {

    .contacts-panel {
        width: 100%;
        /*height: 93%;*/
        background-color: whitesmoke;
        overflow-y: auto;
        overflow-x: hidden;
        /*Scrollbar rules*/
        scrollbar-width: thin;
        scrollbar-color: var(--thumbBG) var(--scrollbarBG);
        /***/
        display: flex;
        flex-basis: auto;
        flex-direction: column;
        flex-grow: 1;
        justify-content: start;
        min-width: 0;
        /*padding-right: 15px;*/
        vertical-align: initial;
        outline: none;
        margin: 0;
        padding: 0;
        border: 0;
    }

    .messages-panel {
        display: flex;
        flex-flow: column;
        width: 100%;
    }


    ._1BjNO {
        background-color: var(--avatar-background);
        border-radius: 50%;
        position: relative;
        overflow: hidden;
        height: 20px;
        width: 20px;
    }

    ._1QUKR {
        /*width: 30% !important;*/
        padding: 10px 16px;
        background-color: var(--panel-header-background);
        position: relative;
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        box-sizing: border-box;
        width: 100%;
        height: 59px;
    }

 }



@media (min-width: 768px) {

    .contacts-panel {
        width: 30%;
        /*height: 93%;*/
        background-color: whitesmoke;
        overflow-y: auto;
        overflow-x: hidden;
        /*Scrollbar rules*/
        scrollbar-width: thin;
        scrollbar-color: var(--thumbBG) var(--scrollbarBG);
        /***/
        display: flex;
        flex-basis: auto;
        flex-direction: column;
        flex-grow: 1;
        justify-content: start;
        min-width: 0;
        padding-right: 15px;
        vertical-align: initial;
        outline: none;
        margin: 0;
        padding: 0;
        border: 0;
        max-width: 30vw;
    }

    .messages-panel {
        display: flex;
        flex-flow: column;
        width: 70%;
        max-width: 70vw;
    }

    ._1BjNO {
        background-color: var(--avatar-background);
        border-radius: 50%;
        position: relative;
        overflow: hidden;
        height: 40px;
        width: 40px;
    }

    ._1QUKR {
        width: 30% !important;
        padding: 10px 16px;
        background-color: var(--panel-header-background);
        position: relative;
        z-index: 1000;
        display: flex;
        flex: none;
        align-items: center;
        justify-content: flex-end;
        box-sizing: border-box;
        width: 100%;
        height: 59px;
    }
}

.messages-panel-top {
    display: flex;
    flex-direction: column-reverse;
    height: 94%;
    /*background-color: #E7DDD1;*/
    overflow-y: auto;
    overflow-x: hidden;
}

.messages-panel-bottom {
    width: 100%;
    background-color: #f0f0f0;
}

.messages-panel-bottom-align {
    display: flex;
    height: 100%;
}

.new-message-bar {
    width: 100%;
}

.new-message-bar-hidden{
    display:none;
}

.uploaded-file-to-be-sent-area {
    width: 100%;
    border: 1px solid;
    box-sizing: border-box !important;
}

.uploaded-file-to-be-sent-area-hidden {
    display: none;
}

.uploaded-file-div {
    background-color: #dee2e6;
    border: 1px solid transparent;
    font-weight: bold;
    margin: 0 0 9px;
    max-width: 550px;
}

.uploaded-file-label {
    color: #15c;
    float: left;
    padding: 0 8px 0 0;
    text-decoration: none;
    max-width: 448px;
    overflow: hidden;
    padding: 4px 4px 4px 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uploaded-file-size {
    color: #444746;
    display: inline-block;
    padding: 3px 0;
}

.uploaded-file-remove {
    cursor: pointer;
    float: right;
    height: 16px;
    margin-top: 4px;
    opacity: .9;
    width: 16px;
}

.message-textarea {
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
    resize: none !important;
}

.send-button {
    font-size: 24px;
    cursor: pointer;
}


.custom-scrollbar::-webkit-scrollbar {
    width: 7px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: var(--scrollbarBG);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: var(--thumbBG);
    /*border-radius: 6px;*/
    border: 0px solid var(--scrollbarBG);
}

.message-base {
    position: relative;
    max-width: 62%;
    padding: 6px 7px 8px 9px;
    color: #3E383E;
    /*Shadows*/
    box-shadow: 0 1px 0.5px rgba(var(--shadow-rgb), 0.13);
    /*Border radius*/
    -moz-border-radius: 7.5px;
    -webkit-border-radius: 7.5px;
    border-radius: 7.5px; /* future proofing */
    -khtml-border-radius: 7.5px; /* for old Konqueror browsers */
}


.received-message {
    margin: 2px 0 2px 31px;
    background-color: #FFFFFF;
    border-top-left-radius: 0px;
    align-self: flex-start;
}

.sent-message {
    margin: 2px 31px 2px 0;
    background-color: #dcf8c6;
    border-top-right-radius: 0px;
    align-self: flex-end;
}

.sent-message-tail {
    color: #dcf8c6;
    float: right;
    right: -15px;
    display: block;
    height: 13px;
    position: relative;
    top: -6.0px;
    width: 8px;
}

.received-message-tail {
    color: #FFFFFF;
    display: block;
    height: 13px;
    position: absolute;
    top: -0.8px;
    width: 8px;
    left: -8px;
}

.image-message {
    cursor: pointer;
    max-width: 336px;
    max-height: 186px;
    /*Border radius*/
    -moz-border-radius: 7.5px;
    -webkit-border-radius: 7.5px;
    border-radius: 7.5px; /* future proofing */
    -khtml-border-radius: 7.5px; /* for old Konqueror browsers */
}

.container-image-zoomin {
    /*display: flex;*/
    width: auto;
    height: 100%;
    max-height: 60vh;
    text-align: center;
    /*align-items: center;*/
}

.image-zoomin {
    width: auto;
    max-width: 94vw;
    height: 100%;
    max-height: 60vh;
    /*Border radius*/
    -moz-border-radius: 7.5px;
    -webkit-border-radius: 7.5px;
    border-radius: 7.5px; /* future proofing */
    -khtml-border-radius: 7.5px; /* for old Konqueror browsers */
}

.container-video-zoomin {
    /*display: flex;*/
    width: auto;
    height: 100%;
    max-height: 60vh;
    text-align: center;
    /*align-items: center;*/
}

.container-pdf-zoomin {
/*    display: flex;*/
    width: auto;
    height: 100%;
    max-height: 60vh;
    text-align: center;
}

.pdf-zoomin {
    width: 35vw;
    height: 60vh;
}

.message-time {
    display: inline-block;
    font-size: 56%;
    margin-left: 5px;
    vertical-align: bottom;
    align-self: flex-end;
}


.message-username {
    color: #075E54;
    padding-right: 5px;
}

.message-time-image {
    font-size: 56%;
    margin-left: 5px;
    vertical-align: bottom;
    text-align: right;
}

.contact-item {
    display: flex;
    flex-direction: row;
    padding: 0px 15px 0px 8px;
    background-color: var(--background-default);
    border-top: 1px solid #f2f2f2;
    height: 72px;
    position: relative;
    pointer-events: all;
}

.contact-name {
    display: flex;
    color: var(--primary-strong);
    font-weight: 400;
    font-size: 17px;
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    /* line-height: 14px;*/
    margin-top: 5px;
    margin-left: 6px;
    line-height: 21px;
}

.contact-last-message {
    margin-top: 2px;
    margin-left: 6px;
    color: var(--secondary);
    display: flex;
    align-items: center;
    min-height: 20px;
    font-size: 14px;
    line-height: 20px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.contact-last-message-time {
    margin-top: 3px;
    margin-left: 6px;
    line-height: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: none;
    max-width: 100%;
    color: var(--secondary-lighter);
    font-size: 12px;
    float: right;
}

.PVMjB:first-of-type {
    margin-left: 0;
}

.PVMjB {
    margin-left: 10px;
    padding: 8px;
    border-radius: 50%;
    position: relative;
    flex: none;
    height: 24px !important;
    transition: background-color .3s ease;
}



._1MXsz {
    flex-grow: 1;
    margin-right: -5em;
}




._2goTk {
    border-radius: 50%;
}

    ._2goTk._1Jdop {
        opacity: 1;
    }

._2goTk {
    position: relative;
    z-index: 100;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0;
    transition: opacity .15s ease-out;
}

._1V82l {
    left: 0;
    position: absolute;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

    ._1V82l svg {
        width: 100%;
        height: 100%;
    }

svg {
    display: block;
    pointer-events: none;
}

._3euVJ {
    flex: none;
    color: #919191;
}

._3NrAe {
    color: #919191;
}

._3All_ {
    display: flex;
    align-items: center;
}

    ._3All_ > span {
        display: flex;
        align-items: center;
    }

.PVMjB:first-of-type {
    margin-left: 0;
}

.PVMjB {
    margin-left: 10px;
}

.PVMjB {
    padding: 8px;
    border-radius: 50%;
}

.PVMjB {
    position: relative;
    flex: none;
    height: 24px;
    transition: background-color .3s ease;
}

/*
[role=button] {
    cursor: pointer;
}
*/

._33QME {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    min-width: 0;
}

._2FCjS {
    text-align: left;
    margin-top: -1px;
    display: flex;
    align-items: flex-start;
    line-height: normal;
}

.DP7CM {
    text-align: left;
    display: flex;
    flex-grow: 1;
    overflow: hidden;
    color: var(--primary-strong);
    font-weight: 400;
    font-size: 16px;
    line-height: 21px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

._5h6Y_ {
    display: inline-block;
}

._3ko75 {
    position: relative;
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    visibility: visible;
}

._1iFv8 {
    border-left: 1px solid var(--border-stronger);
    padding: 10px 16px;
    background-color: var(--panel-header-background);
    position: relative;
    z-index: 111;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    height: 59px;
}

.m7liR {
    padding: 0 15px 0 0;
}

.m7liR {
    margin-top: -1px;
}

.m7liR {
    flex: none;
}






._2kHpK {
    /*padding-right: 15px;*/
    border-top: 1px solid var(--border-list);
    display: flex;
    flex-basis: auto;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    min-width: 0;
}

._3dtfX {
    text-align: left;
    display: flex;
    align-items: center;
    line-height: normal;
}

._1582E {
    margin-top: 2px;
    display: flex;
    align-items: center;
    min-height: 20px;
    color: var(--secondary);
    font-size: 13px;
    line-height: 20px;
}

._8Uqu5 ._3tBW6 {
    font-weight: 500;
}

._3tBW6 {
    text-align: left;
    background-color: initial;
    flex-grow: 1;
    overflow: hidden;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

._2iq-U {
    display: flex;
    align-items: flex-start;
}

.m61XR {
    margin-left: 6px;
}

._8Uqu5 .m61XR {
    color: var(--secondary-stronger);
}

.m61XR {
    flex: none;
    max-width: 100%;
    color: var(--secondary-lighter);
    font-size: 12px;
    line-height: 20px;
}

.ZKn2B:last-child {
    margin-right: 0;
}

.ZKn2B {
    margin-right: 5px;
}

.ZKn2B {
    display: inline-block;
    color: var(--icon-lighter);
    vertical-align: top;
}

._31gEB {
    padding: .3em .4em .4em;
    text-align: center;
    background-color: var(--unread-marker-background);
    border-radius: 1.1em;
}

._31gEB {
    display: inline-block;
    min-width: .9em;
    min-height: 1em;
    color: var(--unread-marker-text);
    font-weight: 600;
    font-size: 12px;
    line-height: 1em;
    vertical-align: top;
}

._2RFeE {
    color: rgb(0 0 0 / 30%);
}

.zFnXi {
    margin-right: 2px;
    display: inline-block;
    flex: none;
    color: rgb(0 0 0 / 30%);
    vertical-align: top;
}

._5h6Y_ {
    display: inline-block;
}



._210SC {
    /* position: absolute;*/
    width: 100%;
}

._13opk {
    background-color: #ebebeb;
}

.eJ0yJ {
    background-color: #fff;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: row;
    height: 72px;
    pointer-events: all;
}

._325lp {
    padding: 0 15px 0 13px;
    /*margin-top: -1px;*/
    display: flex;
    flex: none;
    align-items: center;
}

.eJ0yJ._13opk ._2kHpK, html[dir] .eJ0yJ._13opk:after {
    border-top-color: #ebebeb;
}

._2kHpK {
    padding-right: 15px;
    border-top: 1px solid #f2f2f2;
    display: flex;
    flex-basis: auto;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    min-width: 0;
}

._3dtfX {
    text-align: left;
    display: flex;
    align-items: center;
    line-height: normal;
}

._3CneP {
    text-align: left;
}

.os-win ._3CneP {
    line-height: normal;
}

._3CneP {
    display: flex;
    flex-grow: 1;
    overflow: hidden;
    color: #000;
    font-weight: 500;
    font-size: 17px;
    line-height: normal;
}
._357i8 {
    display: inherit;
    overflow: inherit;
    white-space: inherit;
    text-overflow: inherit;
}

._5h6Y_ {
    display: inline-block;
}

._3ko75 {
    position: relative;
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

._3Whw5 {
    visibility: visible;
}

html[dir=ltr] ._3XFan {
    margin-left: 8px;
}

._3XFan {
    display: inline-flex;
    align-items: flex-end;
    height: 17px;
    color: var(--labels-icon);
    vertical-align: top;
    margin-left: 11px;
    font-size: 13px;
}

element.style {
}

._3dtfX .m61XR {
    margin-top: 3px;
}

.m61XR {
    margin-left: 6px;
}

._8Uqu5 .m61XR {
    color: var(--secondary-stronger);
}

._3dtfX .m61XR {
line-height: 14px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

.m61XR {
    flex: none;
    max-width: 100%;
    color: var(--secondary-lighter);
    font-size: 12px;
    line-height: 20px;
}

.eJ0yJ ._8Uqu5 ._1582E {
    color: var(--secondary-stronger);
    font-weight: 400;
}

._1582E {
    margin-top: 2px;
    display: flex;
    align-items: center;
    min-height: 20px;
    color: var(--secondary);
    font-size: 13px;
    line-height: 20px;
}

._2RFeE {
    color: #4fc3f7;
}

.zFnXi {
    margin-right: 2px;
    display: inline-block;
    flex: none;
    color: rgb(0 0 0 / 30%);
    vertical-align: top;
}




/* Sin leer */

._13opk {
    background-color: #ebebeb;
}

.eJ0yJ {
    background-color: #fff;
    cursor: pointer;
}

.eJ0yJ {
    position: relative;
    display: flex;
    flex-direction: row;
    height: 72px;
    pointer-events: all;
}


.eJ0yJ._13opk ._2kHpK, html[dir] .eJ0yJ._13opk:after {
    border-top-color: #ebebeb;
}

._2kHpK {
    padding-right: 15px;

    border-top: 1px solid var(--border-list);
    display: flex;
    flex-basis: auto;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    min-width: 0;
}



.eJ0yJ._13opk ._1582E {
    color: var(--secondary-stronger);
}

.eJ0yJ._8Uqu5 ._1582E {
    /* color: var(--secondary-stronger); */
    font-weight: 400;
}

constructed stylesheet
html[dir] ._1582E {
    margin-top: 2px;
}

constructed stylesheet
._1582E {
    display: flex;
    align-items: center;
    min-height: 20px;
    color: var(--secondary);
    font-size: 13px;
    line-height: 20px;
}


audio {
    filter: sepia(20%) saturate(70%) grayscale(1) contrast(99%) invert(12%);
    height: 25px;
}


/* Style input type="file" */
input[type="file"] {
    display: none;
}

.custom-file-upload {
    /*border: 1px solid #ccc;*/
    /*display: inline-block;*/
    /*padding: 6px 12px;*/
    cursor: pointer;
    /*padding: 1px 6px 1px 6px;*/
}

._3sDwr {
    display: inline-block;
    flex: none;
    color: var(--chatlist-icon);
    vertical-align: top;
}

html[dir=ltr] .XHLX8 {
    margin-right: 3px;
}

html[dir] ._3Pwfx._1GGbM {
    background-color: var(--background-default-active);
}

html[dir] ._3Pwfx {
    background-color: var(--background-default);
    cursor: pointer;
}

._3Pwfx {
    position: relative;
    display: flex;
    flex-direction: row;
    height: 72px;
    pointer-events: all;
}

._1XH7x {
    display: inline-block;
}

._1hI5g {
    position: relative;
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

._1VzZY {
    visibility: visible;
}

/* -----
SVG Icons - svgicons.sparkk.fr
----- */

.svg-icon {
    width: 1em;
    height: 1.3em;
}

.svg-icon path,
.svg-icon polygon,
.svg-icon rect {
    fill: #4691f6;
}

.svg-icon circle {
    stroke: #4691f6;
    stroke-width: 1;
}

.error-validate-phonenumber {
    color: red !important;
}

.hide-element{
    display: none;
}

.green-dot-message-okay {
    margin-left: 3px;
    height: 8px;
    width: 8px;
    background-color: #1fa855;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.8;
}

.red-dot-message-error {
    margin-left: 3px;
    height: 8px;
    width: 8px;
    background-color: red;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.8;
}

.grey-dot-message-unknown {
    margin-left: 3px;
    height: 8px;
    width: 8px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.8;
}


/*.main-menu {
    flex-grow: 1;
}*/

/*Main menu: Reduce the width of the right side of the div where the main menu is*/
.e-rtl.e-menu-wrapper ul .e-menu-item.e-menu-caret-icon, .e-rtl.e-menu-container ul .e-menu-item.e-menu-caret-icon {
    padding-left: 19px !important;
    padding-right: 12px;
}

/*Main menu: Paint the background of the caret with the same color as the header*/
.e-menu-container ul .e-menu-item .e-caret::before {
    background-color: #ededed !important;
}

/*Main menu: Paint the left and right sides of the caret with the same color as the header*/
.e-menu-container ul .e-menu-item .e-caret {
    background-color: #ededed !important;
}

/*Main menu: Paint the inner background surrounding the caret with the same color as the header*/
li.e-menu-item.e-menu-caret-icon {
    background-color: #ededed !important;
}

/*Main menu: Paint the outer background surrounding the caret with the same color as the header*/
ul.e-lib.e-menu.e-control.e-menu-parent {
    background-color: #ededed !important;
}

/*Main menu: Set more space between the menu items*/
.e-menu-container ul li {
    margin: 11px!important; 
}

.shortcut-button-div {
    margin-right: 5px;
}

.current-conversation-label {
    margin-right: 8px;
}

.e-menu-header {
    background-color: #ededed;
}

.loggedin-username {
    white-space: nowrap;
    margin-top: 11px;
    text-align:center;
}

/*Icons for Contact context menu*/
.e-rename::before {
    content: '\e7a3';
}

.e-replace::before {
    content: '\e710';
}

.e-people::before {
    content: '\e7b';
}

.e-eyeslash::before {
    content: '\e887';
}

.e-link::before {
    content: '\e757';
}

.e-listbox-assign-contact-user .e-list-item.e-selected {
    background-color: #0d6efd !important;
    color: #fff !important;
}

.received-video-message {
    cursor: pointer;
    border: solid 1px #ebebeb;
    padding: 8px;
    border-radius: 5px;
    margin-bottom: 2px;
    background-color: #ebebeb;
}

.sent-video-message {
    cursor: pointer;
    border: solid 1px #ebebeb;
    padding: 8px;
    border-radius: 5px;
    margin-bottom: 2px;
    background-color: #dcf8c6;
}

/*Icons for main menu*/

.e-search::before {
    content: '\e754';
}

.e-changes-track::before {
    content: '\e80b';
}

.e-changes-reject::before {
    content: '\e815';
}

.e-comment-show::before {
    content: '\e733';
}

.e-lock::before {
    content: '\e7ff';
}

.external-website-link {
    text-align: center;
}

    .external-website-link a {
        color: #00000066;
    }

/*Context menu: Set more space between the menu items*/
.e-contextmenu-container ul li {
    margin: 11px !important;
}

.e-listbox-container .e-list-item {
    height: auto !important;
}

.uploaded-filename-label {
    visibility: visible;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: x-small;
    width: 76%;
    color: orangered;
}

.uploding-file-progressbar {
     text-align: left;
    position: relative !important;
 }


