.chat-topic-block {
    align-items: center;
    background-color: var(--stroke-main);
    box-sizing: content-box;
    display: flex;
    padding: 0 20px 0 12px;
    position: relative;
    line-height: 20px;
    height: 48px;
    z-index: 3;
    overflow: hidden;
    border-bottom: 1px solid var(--divider-color);
}
.chat-topic-block .emoji {
    width: 18px;
    height: 18px;
    margin: 0 2px;
}
.chat-topic-block .emoji:first-child {
    margin-left: 0;
}
.chat-topic-block.in-call {
    margin-right: 255px;
    border-right: 1px solid var(--divider-color);
}
.chat-topic-buttons {
    flex: 0 0 auto;
    order: 1;
}
.chat-topic-buttons .share-meeting-button,
.chat-topic-buttons .share-meeting-button:hover {
    background: transparent;
    box-shadow: none;
    border: 1px solid var(--stroke-grey-2);
}
.chat-topic-info {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    overflow: hidden;
}
.chat-topic-info .chat-topic-icon {
    margin: 8px 0;
}
.chat-topic-icon {
    align-items: center;
    background: #2ba6de;
    background: linear-gradient(45deg, #2ba6de 0%,#55d2f0 100%);
    border-radius: 2px;
    display: flex;
    justify-content: center;
    height: 32px;
    flex: 0 0 auto;
    overflow: hidden;
    position: relative;
    width: 32px;
}
.chat-topic-icon.meeting-icon {
    background: #00BDB2;
    background: linear-gradient(225deg, #00BDB2 0%, #00897B 100%);
}
.chat-topic-icon i {
    --icon-size: 24px;
}
.chat-topic-icon.meeting-icon i {
    --mask-color: var(--secondary-white);
}
.chat-topic-text {
    color: var(--text-color-high);
    font: var(--text-body1);
    line-height: 16px;
    margin: 0 0 0 12px;
    overflow: hidden;
}
.chat-topic-text .txt {
    display: block;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
}
.chat-topic-text i.icon-repeat {
    margin: 0 0 0 8px;
    line-height: 18px;
    --icon-size: 20px;
    --mask-color: var(--icon-rest);
}
.chat-topic-text span.small {
    font: var(--text-body2);
    color: var(--text-color-medium);
}
.chat-topic-text span.small span {
    margin-right: 4px;
}

/* Empty messages block */
.fm-empty-section.empty-messages {
    position: absolute;
    width: calc(100% - 256px);
}
.fm-empty-section.empty-conversations {
    position: absolute;
    width: 100%;
}

.messages-block {
    --messages-block-bg: var(--stroke-main);
    overflow: hidden;
    height: calc(100% - 49px);
    position: relative;
    background-color: var(--messages-block-bg);
    margin-right: 256px;
}
.messages-block.small-block {
    overflow: visible;
    height: 240px;
}
.messages.scroll-area {
    position: relative;
    height: calc(100% - 68px);
    overflow: hidden;
    z-index: 1;
}
.rtl .messages.scroll-area {
    direction: rtl;
}
.messages.error.scroll-area {
    height: 100%;
}
.messages.scroll-area .messages-toast {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 36px;
    height: 36px;
    border-radius: 200px;
    background: var(--surface-mid-grey);
    z-index: -1;
    transition: all 50ms ease-in-out;
    opacity: 0;
}
.rtl .messages.scroll-area .messages-toast {
    left: 20px;
    right: unset;
}
.messages.scroll-area .messages-toast.active {
    bottom: 10px;
    opacity: 1;
    cursor: pointer;
    z-index: 100;
}
.messages.scroll-area .messages-toast i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    --mask-color: var(--icon-active);
}
.messages.scroll-area .messages-toast span {
    display: block;
    position: absolute;
    top: -4px;
    left: -3px;
    width: 16px;
    height: 16px;
    border-radius: 200px;
    font: var(--text-caption);
    text-align: center;
    line-height: 14px;
    color: var(--secondary-white);
    background: var(--secondary-blue);
}
.messages.main-pad {
    display: table;
    width: 100%;
    table-layout: fixed;
    height: 100%;
}
.chat-content-block.private-chat .messages.content-area {
    background-color: #FBFCFD;
}
.messages.content-area {
    display: table-cell;
    vertical-align: bottom;
    padding: 0 0 24px 0;
}
.error.scroll-area .messages.content-area {
    padding: 0 0 25px 0;
}
.messages.notification .header {
    color: var(--text-color-high);
    font: var(--text-h1);
}
.messages.notification .header span {
    color: var(--text-color-medium);
}
.messages.notification .info {
    font: var(--text-body1);
    color: var(--text-color-medium);
}
.messages.notification .info > span {
    padding: 0 0 16px 0;
    display: block;
}
.messages.notification .info p {
    position: relative;
    margin: 0;
    padding-top: 24px;
    padding-inline-start: 48px;
    -webkit-padding-start: 48px;
    font: var(--text-body1);
}
.messages.notification .info p i {
    position: absolute;
    left: 0;
    --icon-size: 36px;
    margin: 2px 0 0 0;
    --mask-color: var(--icon-rest);
}
.rtl .messages.notification .info p i {
    left: unset;
    right: 0;
}
.messages.notification .info p strong {
    display: block;
    font: var(--text-body1-bold);
    color: var(--text-color-high);
}
.message.body {
    padding: 3px 24px 0 24px;
    margin: 14px 0 0 0;
    position: relative;
    clear: both;
}
.message.content-area {
    margin-inline-start: 48px;
    -webkit-margin-start: 48px;
    font-size: 0;
    line-height: 0;
    color: #666666;
}
.message.content-area::after, .typingarea-componentedit-typing-area::after {
    content: '';
    display: block;
    clear: both;
}
.message.content-area::before {
    content: '';
    display: block;
    position:absolute;
    left: 2px;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 200ms ease-in-out;
}
.message.content-area:hover::before {
    background-color: var(--stroke-grey-3);
}
.message.small-rounded-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3px 0 6px 0;
    border-radius: 4px;
    z-index: 1;
    font: var(--text-body1);
}
.message.small-rounded-avatar img {
    width: 100%;
    height: 100%;
}
.message.text-block {
    font: var(--text-body1);
    color: var(--text-color-higher);
    margin-inline-end: 30px;
    -webkit-margin-end: 30px;
    word-wrap: break-word;
    min-height: 20px;
    position: relative;
    user-select: text;
    white-space: pre-wrap;
}
.message.text-block a {
    user-select: text;
}
.message.text-block.scroll {
    max-height: 60px;
}
.message.with-border {
    padding-bottom: 10px;
}
.message.with-border .message.text-block {
    border-radius: 8px;
    padding: 19px 22px;
    margin-top: 4px;
    position: relative;
    background-color: var(--stroke-grey-1);
    border: 1px solid var(--stroke-grey-2);
}
.message.with-border .message.text-block::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: inherit;
}
.message .call-info {
    display: flex;
    justify-content: space-between;
}
.in-call .message .call-info {
    display: block;
    justify-content: unset;
}
.in-call .message .call-info-avatars {
    margin: 10px 0 0 0;
}
.message .call-info-container,
.message .call-info-container .info-wrapper {
    min-width: 151px;
    display: flex;
    align-items: center;
    white-space: normal;
}
.message .call-info-content {
    min-width: 100px;
    position: relative;
    font: var(--text-body2);
    color: var(--text-color-medium);
}
.message .call-info-content .emoji {
    width: 14px;
    height: 14px;
}
.message .call-info-content .bold {
    font-family: var(--text-font-family-semibold);
}
.message i.call-info-icon {
    display: block;
    float: left;
    margin-inline-end: 20px;
    -webkit-margin-end: 20px;
    --icon-size: 32px;
    --mask-color: var(--icon-rest);
}
.rtl .message i.call-info-icon {
    float: right;
}
.message .call-info-message {
    display: block;
    font: var(--text-body1-bold);
    color: var(--text-color-high);
}
.not-sent.retrying .message.text-block {
 filter: progid:DXImageTransform.Microsoft.Alpha(opacity=30);
    -moz-opacity: 0.3;
    -khtml-opacity: 0.3;
    opacity: 0.3;
}
.message.text-block em.edited {
    font: var(--text-body2);
    font-style: italic;
    color: var(--text-color-info);
}
.message.text-block a {
    color: var(--secondary-blue);
    text-decoration: underline;
}
.message.text-block a.red {
    color: var(--secondary-red);
}
.message.text-block a:hover {
    text-decoration: none;
}
.small-info-txt .message.text-block {
    color: var(--text-color-medium);
}
.message .dark-grey-txt {
    color: var(--text-color-low);
}
.message .giphy-block {
    position: relative;
    display: block;
    margin: 8px 0;
    background: var(--surface-grey-2);
    border-radius: 6px;
}
.message.dialog-wrapper .giphy-block {
    max-width: 100%;
    height: 100%;
}
.message.date-time {
    display: inline-block;
    position: relative;
    padding-top: 1px;
    height: 19px;
    box-sizing: border-box;
    font: var(--text-body2);
    color: var(--text-color-medium);
    vertical-align: top;
}
.message.content-area button.message:first-child {
    display: inline-flex;
    vertical-align: top;
}
.message.user-card-name {
    display: inline-block;
    max-width: calc(100% - 60px);
    height: 19px;
    padding-inline-end: 10px;
    -webkit-padding-end: 10px;
    font: var(--text-body1-bold);
    vertical-align: top;
    color: var(--text-color-high);
}
.message.user-card-name .emoji {
    width: 18px;
    height: 18px;
}
.message.date-divider {
    font: var(--text-h3);
    color: var(--text-color-info);
    padding-top: 47px;
    padding-bottom: 9px;
    padding-inline-start: 71px;
    -webkit-padding-start: 71px;
}
.message.shared-block {
    position: relative;
}
.message.shared-block .data-block-view,
.message.shared-block .data-block-view .avatar-wrapper {
    cursor: pointer;
}
.message.shared-block .user-card-presence {
    z-index: 1;
}
.message.shared-block.contact-link {
    padding: 2px 10px;
    cursor: pointer;
}
.message.shared-info {
    white-space: nowrap;
    padding: 17px 0 4px 0;
}
.message.shared-info:first-child {
    padding: 1px 0 8px 0;
}
.message.shared-info .user-card-email {
    padding: 0 0 4px 0;
}
.user-card-verified.right-align {
    display: inline-block;
    margin: 3px 0 0 -58px;
    float: none;
    position: absolute;
}
.message.data-title {
    display: inline-block;
    font: var(--text-body1);
    color: var(--text-color-info);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    padding-inline-end: 70px;
    -webkit-padding-end: 70px;
    box-sizing: border-box;
    max-width: 100%;
}
.message.data-title .emoji {
    width: 18px;
    height: 18px;
}
.message.data-title .file-name {
    color: var(--text-color-high);
    padding-inline-start: 5px;
    -webkit-padding-start: 5px;
}
.message.data-title.red {
    color: var(--text-color-error);
}
.message.file-size {
    display: inline-block;
    margin-top: 3px;
    margin-inline-start: -60px;
    -webkit-margin-start: -60px;
    vertical-align: top;
    font: var(--text-body2);
    color: var(--text-color-low);
}
.message.shared-data, .typingarea-componentedit-typing-area {
    padding-bottom: 6px;
}
.message.shared-data, .typingarea-componentedit-typing-area button {
    margin: 0 0 0 5px;
}
.message.shared-data .data-block-view.medium {
    width: 124px;
}
.message.shared-data .data-block-bg {
    border-radius: 8px;
}
.message.shared-data .item-type-icon-90 {
    --icon-size: 96px;
    margin: calc(50% - var(--icon-size) / 2);
}
.not-sent.message.body:not(.retrying) {
    background-color: var(--stroke-error);
    padding: 12px 24px 12px 24px;
}
.not-sent:not(.retrying) .message.user-card-name, .not-sent:not(.retrying) .message.text-block {
    color: var(--text-color-low);
}
.not-sent:not(.retrying) .message.date-time {
    color: var(--text-color-low);
}
.not-sent:not(.retrying) .red {
    color: var(--text-color-error);
}
.not-sent-indicator {
    position: absolute;
    z-index: 1;
    right: 22px;
    margin: 5px 0 0 0;
    transition: all 100ms ease-in-out;
}
.message.content-area:hover .not-sent-indicator,
.message.content-area:hover .small-blue-spinner {
    opacity: 0;
}
.message.circuit-label {
    display: block;
    font-size: 12px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    line-height: 30px;
    border: 1px solid white;
    color: white;
    font-family: 'Open Sans Italic';
    padding: 0 10px;
    height: 32px;
    text-align: center;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.messages.notification {
    padding: 24px 24px 0 24px;
}
.message.body.grouped {
    margin: 0;
}
.message.body.grouped {
    margin: 0;
    padding-top: 0;
}
.message.content-area > .tiny-button {
    position: absolute;
    top: 2px;
    right: 16px;
    float: none;
    margin: 2px 0 0 0;
    z-index: 100;
}
.message.content-area .small-blue-spinner {
    position: absolute;
    right: 24px;
    margin-top: -15px;
    transition: all 100ms ease-in-out;
}
.message.warning-text {
    font: var(--text-code1);
    color: var(--text-color-low);
    padding: 11px 0 0 7px;
    margin: 0 0 -1px 0;
}
.message.warning-text i {
    margin: 0 5px 0 0;
}
.message.body.dialog-wrapper .not-sent-indicator {
    display: none;
}
.not-sent.retrying .tiny-button {
    right: 0;
}
.not-sent-indicator i {
    cursor: pointer;
}
.message em.rtf-italic {
    position: static;
}
.message pre.rtf-multi {
    margin: 0;
    display: inline-block;
    padding: 0 4px;
    background-color: var(--stroke-grey-1);
    border: 1px solid var(--stroke-grey-2);
    border-radius: 3px;
    font: var(--text-code1);
}
.message pre.rtf-multi {
    display: block;
    width: auto;
}
.message pre.rtf-multi:last-child {
    content: '';
    display: block;
    margin-bottom: 2px;
}
.message pre.rtf-multi {
    white-space: pre-wrap;
}

.message pre.rtf-quote, .message pre.rtf-single {
    margin: 0;
    display: inline;
    padding: 0 4px;
    background-color: var(--stroke-grey-1);
    border-radius: 3px;
    font: var(--text-code1);
    white-space: normal;
}
.message pre.rtf-single {
    color: var(--secondary-red);
}

.message.content-area .buttons-block {
    padding: 10px 0 0 0;
}
.message.content-area .buttons-block button:not(:last-of-type) {
    margin-inline-end: 8px;
    -webkit-margin-end: 8px;
}

.shared-link.thumb.video.no-thumb img {
    opacity: 0;
}

.message.richpreview.previews-container {
    padding-right: 27px;
}
.message.richpreview .title {
    font-size: 15px;
    line-height: 24px;
}
.confirmation .message.richpreview.title {
    margin-top: 4px;
}
.message.richpreview .url-container {
    font: var(--text-body1);
    padding-bottom: 2px;
    margin-top: 4px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.message.richpreview .desc {
    overflow: hidden;
    margin-top: 2px;
    text-overflow: ellipsis;
    font: var(--text-body1);
    color: var(--text-color-medium);
}
.confirmation .message.richpreview .desc {
    min-height: 36px;
    margin-top: 3px;
    line-height: 20px;
    color: var(--text-color-medium);
}
.message.richpreview .desc span span:last-child {
    padding-top: 6px;
    display: inline-block;
}
.message.richpreview.container {
    padding: 4px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-block;
    float: left;
    clear: both;
    position: relative;
    width: 100%;
    margin-top: 9px;
    margin-bottom: 8px;
    transition: all 200ms ease-in-out;
    box-sizing: border-box;
}
.rtl .message.richpreview.container {
    float: right;
}
.message.richpreview.container.done-loading:hover {
    z-index: 100;
}
.message.richpreview.have-description {
    min-height: 80px;
}
.message.richpreview.no-description {
    min-height: 80px;
}
.message.richpreview.container.is-loading {
    cursor: wait;
}
.message.richpreview.container .loading-spinner {
    position: absolute;
}

.message.richpreview.container::before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    -moz-border-radius: inherit;
    -webkit-border-radius: inherit;
    border-radius: inherit;
}


.message.richpreview.container.done-loading,
.message.richpreview.container.is-loading {
    /*-webkit-transition: color 0.5s linear, opacity 0.5s linear, -webkit-box-shadow 200ms linear;*/
    /*-moz-transition: color 0.5s linear, opacity 0.5s linear, -moz-box-shadow 200ms linear;*/
    /*-o-transition: color 0.5s linear, opacity 0.5s linear, box-shadow 200ms linear;*/
    /*transition: color 0.5s linear, opacity 0.5s linear, box-shadow 200ms linear;*/

    width: 402px;
}

.message.richpreview.preview {
    width: 112px;
    height: 112px;
    background-position: center middle;
    background-size: contain;
    border-radius: 4px;
    opacity: 0.9;
}
.message.richpreview .data-title {
    display: block;
    padding: 0;
}
.message.richpreview.done-loading .title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90%;
}
.message.richpreview .data-title img {
    margin-top: 4px;
    float: left;
    margin-right: 4px;
    opacity: 0.9;
}
.message.richpreview.title {
    float: left;
    margin-top: 2px;
    padding-top: 2px;
    font: var(--text-body1-bold);
    color: var(--text-color-high);
}
.rtl .message.richpreview.title {
    float: right;
}
.message.richpreview.body {
    display: table;
    table-layout: fixed;
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0;
}

.message.richpreview.img-wrapper, .message.richpreview.inner-wrapper {
    padding: 0 16px;
}
.confirmation .message.richpreview.img-wrapper {
    width: 128px;
}
.message.richpreview.img-wrapper {
    width: 112px;
    padding: 0;
    float: left;
}
.rtl .message.richpreview.img-wrapper {
    float: right;
}
.message.richpreview.inner-wrapper {
    float: right;
    width: calc(100% - 166px);
}
.rtl .message.richpreview.inner-wrapper {
    float: left;
}
.message.richpreview.url {
    text-decoration: none;
}
.message.richpreview.url:hover {
    text-decoration: underline;
}
.message.richpreview.url-favicon {
    margin-top: 2px;
    padding-inline-end: 8px;
    -webkit-padding-end: 8px;
    float: left;
}
.rtl .message.richpreview.url-favicon {
    float: right;
}
.message.richpreview.loading-message {
    text-align: center;
}

.richpreview.no-preview.container {
    min-height: 80px;
}
.richpreview.no-description.no-preview.container {
    min-height: 60px;
}

.message.richpreview.container.is-loading {
    min-height: 110px !important;
    background-color: rgba(250, 250, 250, 1);
}
.message.richpreview.previews-container > :not(:last-child) {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.message.richpreview.previews-container > :not(:first-child) {
    border-top: 0px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-top: -8px;
}

.message.richpreview.preview-confirmation {
    width: 130px;
    --width: 130px;
    height: 130px;
    margin: -10px 0 0 0;
}
.message.richpreview.container {
    background-color: var(--stroke-grey-1);
    border: 1px solid var(--stroke-grey-2);
}
.message.richpreview.container.confirmation {
    cursor: default;
    max-width: 620px;
}
.preview-requires-confirmation-container .message.content-area:hover::before {
    background-color: rgba(43,166,222,0.02);
}
.message.richpreview.have-preview  .message.richpreview.url-container {
    left: 124px;
    line-height: 18px;
    color: var(--text-color-low);
}
.message.richpreview.confirmation .buttons-block {
    padding: 10px 0 8px 0;
    float: right;
}
.message.richpreview.confirmation .buttons-block > * {
    margin: 0 4px;
    height: 34px;
    padding: 0 17px;
}
.message.richpreview.confirmation .buttons-block span {
    line-height: 34px;
    white-space: nowrap;
}
.richpreview.icon.item-type-icon-90 {
    --icon-size: 96px;
    float: left;
    margin: 0;
    margin-right: 14px;
    left: auto;
    top: auto;
    position: static;
    transform: none;
}

.richpreview.have-icon .item-type-icon-90 {
    --icon-size: 96px;
    margin: 8px 14px;
}

.richpreview .main-loader {
    margin-top: -16px;
    margin-left: -16px;
}
.message.richpreview.container.is-loading::before,
.message.richpreview.container.is-loading::after,
.message.richpreview.container.is-loading {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
.message.richpreview.container.is-loading {
    border-color: rgba(237, 237, 237, 1);
}

/* Private Chat styles */
.chat-topic-block.privateChat .privateChatDiv {
    width: 16px;
    height: 16px;
    background-image: url(../images/mega/new-chat-sprite.png);
    background-size: 237px auto;
    background-repeat: no-repeat;
    background-position: 0px -4137px;
    display: inline-block;
    margin-left: 5px;
}

.message.call-inner-block > .small-rounded-avatar {
    position: relative;
    z-index: 1;
}
.message.call-inner-block .avatar-wrapper {
    float: right;
    margin: 0 0 0 -12px;
}
.in-call .message.call-inner-block .avatar-wrapper {
    margin: 0 0 3px -14px;
}

.message .audio-player {
    display: flex;
    align-items: center;
    height: 50px;
    width: 402px;
    border-radius: 8px;
    background-color: var(--stroke-grey-1);
    border: 1px solid var(--stroke-grey-2);
    position: relative;
    margin-top: 10px;
    margin-bottom: 10px;
}
body.theme-dark .message .audio-player {
    background-color: var(--stroke-main);
}

.message .audio-player i {
    --mask-color: var(--icon-rest);
    --icon-size: 24px;
    padding-inline-start: 12px;
}

.message .audio-player i {
    --mask-color: var(--icon-rest);
    --icon-size: 24px;
    padding-inline-start: 12px;
}

.message .audio-player i {
    --mask-color: var(--icon-rest);
    --icon-size: 24px;
    padding-inline-start: 12px;
}

.message .audio-player .audio-player__play-btn {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 12px solid #666;
    top: 33%;
}

.message .audio-player .audio-player__play-btn,
.message .audio-player .audio-player__pause-btn {
    display: inline-block;
    position: absolute;
    left: 20px;
    cursor: pointer;
}

.message .audio-player .audio-player__pause-btn {
    top: 33%;
    width: 10px;
    height: 16px;
    border-color: #666;
    border-right: solid 2px;
    border-left: solid 2px;
}

.message .audio-player .slider {
    height: 2px;
    background-color: #DDD;
    display: inline-block;
    width: 284px;
    position: absolute;
    top: 50%;
    left: 55px;
}

.message .audio-player .slider__progress {
    background-color: var(--secondary-red);
    height: 2px;
    transition: 0s;
    display: inline-block;
}

.message .audio-player .slider__progress__pin {
    height: 14px;
    width: 14px;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.15);
    background: linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: inline-block;
    position: absolute;
    top: -7px;
}

.message .audio-player .audio-player__time {
    color: var(--text-color-medium);
    font: var(--text-body1);
    position: absolute;
    right: 20px;
}

.message .audio-player .audio-player__spinner {
    position: absolute;
    top: 70%;
    left: 20px;
}
.reactions-bar {
    display: flex;
    flex-wrap: wrap;
    line-height: 20px;
    clear: both;
    margin: 2px 0 4px 0;
}
.reactions-bar > div {
    display: inline-block;
    position: relative;
}
.reactions-bar > div span.message.text-block {
    margin: 0;
    margin-right: 4px;
}
.reactions-bar img.emoji {
    cursor: pointer;
}
.reactions-bar em {
    font-size: 16px;
    font-style: normal;
    display: inline;
    margin-right: 3px;
    line-height: 12px;
    position: relative;
    top: 1px;
}
.reactions-bar .emoji-loading-error {
    position: relative;
    top: 2px;
}
.reactions-bar .emoji-loading-error span.text-block {
    position: relative;
    top: -2px;
}
.reactions-bar .disabled {
    cursor: default !important;
}

.reactions-bar .disabled * {
    cursor: default !important;
}

.reactions-bar > div {
    display: flex;
    align-items: center;
    padding-inline: 4px;
    margin: 4px 0 0 2px;
    width: auto;
    height: 23px;
    border-radius: 11px;
    box-sizing: border-box;
    background-color: var(--stroke-grey-2);
    border: 1px solid var(--stroke-grey-1);
    cursor: pointer;
    z-index: 1;
}

.reactions-bar > .disabled {
    opacity: 1;
}

.reactions-bar > div:hover {
    background-color: var(--stroke-grey-1);
    border-color: var(--stroke-grey-2);
}

.reactions-bar > div.reactions-button {
    position: relative;
    height: 24px;
    border-radius: 11px;
    background-color: var(--stroke-grey-2);
    border: 1px solid var(--stroke-grey-1);
    cursor: pointer;
    z-index: 1;
}
.reactions-bar > div.reactions-button:hover {
    background-color: var(--stroke-grey-1);
    border-color: var(--stroke-grey-2);
}
.reactions-bar > div.reactions-button i {
    --icon-size: 24px;
}

.reactions-bar > div > img.emoji {
    width: 15px;
    height: 15px;
    margin: 0 3px 0 0;
}
.reactions-bar > div > span.message.text-block {
    height: 11px;
    font-family: var(--text-font-family-black);
    font-size: 9px;
    color: var(--text-color-medium);
}
.reactions-bar > div.reactions-button > img.emoji {
    margin-top: 1px;
}
.reactions-bar > div.user-reacted {
    border: 1px solid var(--banner-border-info);
    background-color: var(--banner-background-info);
}

.message.content-area > .right-aligned-msg-buttons {
    -moz-opacity: 0;
    -khtml-opacity: 0;
    opacity: 0;
    -webkit-transition: opacity 0.5s;
    -moz-transition: opacity 0.5s;
    -ms-transition: opacity 0.5s;
    -o-transition: opacity 0.5s;
    transition: opacity 0.5s;
    float: right;
    position: relative;
    z-index: 1;
    margin-top: -16px;
}
.rtl .message.content-area > .right-aligned-msg-buttons {
    float: left;
}
.message.content-area:hover > .right-aligned-msg-buttons,
.force-show-message-action-buttons .message.content-area > .right-aligned-msg-buttons,
.force-show-message-action-buttons .message.content-area > .right-aligned-msg-buttons > * {
    opacity: 1;
}
.message.content-area > .right-aligned-msg-buttons > * {
    display: flex;
    height: 27px;
    align-items: center;
    justify-content: center;
    background: var(--surface-grey-3);
}
.message.content-area > .right-aligned-msg-buttons.total-2 > .reactions-button,
.message.content-area > .right-aligned-msg-buttons.total-3 > .reactions-button {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    margin-left: -2px;
}
.message.content-area > .right-aligned-msg-buttons.total-2 > .tiny-button:not(.reactions-button),
.message.content-area > .right-aligned-msg-buttons.total-3 > .tiny-button:not(.reactions-button) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: transparent;
}
.message.content-area > .right-aligned-msg-buttons.total-2 > .tiny-button {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.15);
}
.message.content-area > .right-aligned-msg-buttons.total-3 > .tiny-button.copy-txt-block {
    border-radius: 0;
}
.right-aligned-msg-buttons.total-1 .reactions-button,
.right-aligned-msg-buttons.total-1 .reactions-button::before,
.right-aligned-msg-buttons.total-1 .reactions-button::after,
.right-aligned-msg-buttons.total-1 .reactions-button:hover,
.right-aligned-msg-buttons.total-1 .reactions-button:hover::before,
.right-aligned-msg-buttons.total-1 .reactions-button:hover::after {
    border: 0px !important;
    -webkit-box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    -moz-box-shadow: 0 0 0 0  rgba(0, 0, 0, 0);
    box-shadow: 0 0 0 0  rgba(0, 0, 0, 0);
    background-color: transparent;
}
.right-aligned-msg-buttons i {
    --icon-size: 24px;
    --mask-color: var(--icon-rest);
}
.right-aligned-msg-buttons i.icon-copy {
    --icon-size: 16px;
}


.message .geolocation {
    height: 122px;
    width: 402px;
    background-color: var(--stroke-grey-1);
    border: 1px solid var(--stroke-grey-2);
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    margin-top: 10px;
    margin-bottom: 10px;
}

.message .geolocation .geolocation__coordinates {
    font: var(--text-body1);
    color: var(--text-color-medium);
}

.message .geolocation .geolocation__icon {
    position: relative;
    width: 112px;
    height: 112px;
    margin: 5px;
    border-radius: 4px;
    background: #E2574C;
}

.message .geolocation .geolocation__icon i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0 auto;
    --mask-color: var(--secondary-white);
    --icon-size: 64px;

}

.message .geolocation .geolocation__data-list {
    position: absolute;
    left: 95px;
    top: 50%;
    transform: translateY(-50%);
}

.message .geolocation ul li:nth-child(3) {
   padding-left: 20px;
}

.message .geolocation ul li {
    margin: 0 0 10px 0;
}

.message .geolocation .geolocation__title {
    color: var(--text-color-high);
    font: var(--text-h3);
}

.message .geolocation .geolocation__text-md {
    font-size: 15px;
}

.message .geolocation .geolocation__coordinates-icon {
    display: block;
    float: left;
    height: 15px;
    width: 15px;
    margin: 2px 4px 0 0;
    background-image: url(../images/mega/google-icon.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.geolocation-icon,
.voice-message-icon {
    display: block;
    float: left;
    margin: -2px 0 0 -4px;
    --icon-size: 20px;
    --mask-color: var(--icon-rest);
}

.message.schedule-message .body-block {
    color: var(--text-color-medium);
    font: var(--text-body2);
    position: relative;
}

.message.schedule-message .schedule-detail-block {
    background: var(--surface-grey-1);
    border: solid 1px var(--surface-grey-2);
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 8px;
    padding: 20px 24px;
    position: relative;
}

.message.schedule-message .schedule-detail-block div {
    flex: 1;
}

.message.schedule-message .schedule-detail-block .schedule-meeting-title {
    color: var(--text-color-high);
    font: var(--text-body1-bold);
    max-width: 50%;
}

.message.schedule-message .schedule-detail-block .schedule-calendar-icon {
    background: var(--surface-main);
    border-top: solid 6px var(--secondary-red);
    border-radius: 7px;
    box-sizing: border-box;
    color: var(--text-color-high);
    flex: 0 0 52px;
    height: 52px;
    margin-inline-end: 24px;
    -webkit-margin-end: 24px;
    text-align: center;
}

.message.schedule-message .schedule-calendar-icon .schedule-date {
    font: var(--text-h2);
    line-height: 20px;
    margin-top: 6px;
}

.message.schedule-message .schedule-calendar-icon .schedule-month {
    font: var(--text-body2);
}

.message.schedule-message .schedule-detail-block .schedule-detail-main {
    flex: 1;
}

.message.schedule-message .schedule-detail-block .schedule-timing-block {
    max-width: 45%;
}

.message.schedule-message .schedule-timing-block s {
    display: block;
}

.message.schedule-message .schedule-detail-block button {
    align-self: flex-end;
    margin: auto 0;
}

.message.schedule-message .schedule-description {
    margin-top: 8px;
}

.message.schedule-message .schedule-link-instruction {
    color: var(--text-color-high);
    font: var(--text-body1-bold);
    padding-top: 8px;
}

.message.schedule-message .schedule-meeting-link {
    background: var(--surface-grey-2);
    border-radius: 4px;
    margin-top: 8px;
    overflow: hidden;
    padding: 10px 0 10px 16px;
    position: relative;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.message.schedule-message .schedule-meeting-link span {
    color: var(--text-color-high);
    font: var(--text-body1);
}

.message.schedule-message .schedule-meeting-link button {
    --height: 40px;
    position: absolute;
    right: 0;
    top: 0;
}

.message.schedule-message .schedule-meeting-link button span {
    color: var(--text-green);
}

.message.schedule-message .schedule-meeting-link + span {
    color: var(--text-color-low);
    display: block;
    margin-top: 8px;
}


.shared-link.main-link {
	font-size: 14px;
	line-height: 20px;
	color: #2BA6DE;
	font-family: 'source_sans_prosemibold';
	display: block;
	padding: 1px 0 0 0;
}
.shared-link.data-block {
	padding: 4px 0 0 20px;
}
.shared-link.author-name {
	font-size: 16px;
	line-height: 20px;
	color: #333333;
	font-family: 'source_sans_prosemibold';
	padding: 3px 0 0 0;
}
.shared-link.page-link {
	font-size: 16px;
	line-height: 20px;
	color: #2BA6DE;
	display: block;
	margin: 4px 0 0 0;
}
.shared-link.description {
	padding: 4px 0 11px 0;
}
.shared-link.description a {
	color: #2BA6DE;
}
a.shared-link.show-more {
	font-family: 'source_sans_prosemibold';
	white-space: nowrap;
}
.shared-link.thumb {
	position: relative;
	margin: 0 0 4px 0;
	width: auto;
	height: auto;
    display: inline-block;
    min-width: 33px;
    min-height: 33px;
    font-size: 0;
    line-height: 33px;
    text-align: center;
    vertical-align: middle;
    font-size: 0;
    -moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
    overflow: hidden;
}
.shared-link.thumb.no-thumb {
    background: none;
    width: 320px;
    height: 200px;
    line-height: 200px;
    background-color: rgba(0,0,0,0.02);
    -webkit-box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
    -moz-box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}
.shared-link.no-thumb:not(.video) img {
    max-height: 140px;
}
.thumb-loading .shared-link.no-thumb:not(.video) img {
    display: none;
}
.thumb-loading .shared-link.no-thumb:not(.video)::before, .thumb-loading .shared-link.no-thumb:not(.video)::after {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    -moz-border-radius: 100%;
	-webkit-border-radius: 100%;
	border-radius: 100%;
    margin: -18px 0 0 -18px;
    width: 36px;
    height: 36px;
    -webkit-box-shadow: 0 1px 2px 0 rgba(0,0,0,0.1);
    -moz-box-shadow: 0 1px 2px 0 rgba(0,0,0,0.1);
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.1);
    background-color: white;
}
.thumb-loading .shared-link.no-thumb:not(.video)::after {
    -webkit-box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
    -moz-box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
    background-image: url(../images/mega/loader-light-small.gif);
    background-position: center;
    background-size: 36px auto;
}
.chat-small-loader, .chat-small-loader::after {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    -moz-border-radius: 100%;
	-webkit-border-radius: 100%;
	border-radius: 100%;
    margin: -18px 0 0 -18px;
    width: 36px;
    height: 36px;
    -webkit-box-shadow: 0 1px 2px 0 rgba(0,0,0,0.1);
    -moz-box-shadow: 0 1px 2px 0 rgba(0,0,0,0.1);
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.1);
    background-color: white;
}
.chat-small-loader::after {
    content: '';
    -webkit-box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
    -moz-box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
    background-image: url(../images/mega/loader-light-small.gif);
    background-position: center;
    background-size: 36px auto;
}
.shared-link.thumb.video {
    background-color: black;
    background-image: none;
    min-width: 128px;
    min-height: 128px;
    line-height: 128px;
}
.shared-link.thumb > img {
    background: var(--messages-block-bg);
	max-width: 500px;
	max-height: 200px;
    vertical-align: middle;
    display: inline-block;
}
.shared-link.thumb .thumb-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: block;
    cursor: zoom-in;
    z-index: 1;
}
.video.thumb .thumb-overlay {
    cursor: pointer;
}
.video.thumb .thumb-overlay .thumb-overlay-play {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.video.thumb .thumb-overlay .thumb-overlay-play i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    --mask-color: var(--icon-rest);
    --icon-size: 54px;
}
.video.thumb .thumb-overlay .thumb-overlay-circle {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 200px;
    background: var(--surface-grey-2);
}
.video.thumb.non-previewable .thumb-overlay {
	cursor: default;
}
.thumb-overlay .video-thumb-details {
    display: flex;
    align-items: center;
    padding: 1px 4px 1px 1px;
    border-radius: 2px;
    color: var(--text-color-high);
    background: var(--surface-grey-2);
}
.rtl .thumb-overlay .video-thumb-details {
    padding: 1px 1px 1px 4px;
    left: unset;
    right: 4px;
}
.thumb-overlay .video-thumb-details i {
    --icon-size: 16px;
    --mask-color: var(--icon-rest);
}
.shared-link.thumb .tiny-button {
    float: none;
    position: absolute;
    z-index: 100;
    bottom: 4px;
    right: 4px;
    margin: 0;
}
.rtl .shared-link.thumb .tiny-button {
    left: 4px;
    right: unset;
}
.message.shared-block .data-title,
.message.shared-block .file-size,
.message.shared-block .data-block-view.medium {
	cursor: pointer;
}

.chat-textarea-block {
    position: absolute;
    width: 100%;
    bottom: 0;
    min-height: 66px;
    z-index: 1;
}
.chat-textarea {
    margin: 0 18px 18px;
    padding-top: 14px;
    padding-bottom: 14px;
    padding-inline-start: 54px;
    -webkit-padding-start: 54px;
    padding-inline-end: 78px;
    -webkit-padding-end: 78px;
    min-height: 48px;
    background-color: var(--stroke-main);
    border-radius: 4px;
    border: 1px solid var(--stroke-mid-grey);
    box-sizing: border-box;
    position: relative;
}
.rtl .chat-textarea {
    direction: rtl;
}
.chat-textarea::before {
    content:'';
    display: block;
    position:absolute;
    left: 0;
    top: 0;
    width:100%;
    height: 100%;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}
.chat-textarea .small-icon.conversations {
    position: absolute;
    left: 13px;
    top: 16px;
}
.chat-textarea-buttons {
    position: absolute;
    right: 13px;
    top: 13px;
}
.chat-textarea .popup-button {
    position: absolute;
    top: 13px;
    cursor: pointer;
}
.chat-textarea .popup-button.emoji-button {
    right: 13px;
}
.rtl .chat-textarea .popup-button.emoji-button {
    left: 13px;
    right: unset;
}
.chat-textarea .popup-button.emoji-button i {
    --icon-size: 24px;
}
.chat-textarea .popup-button.gif-button {
    right: 48px;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: #999;
}
.rtl .chat-textarea .popup-button.gif-button {
    left: 48px;
    right: unset;
}
.chat-textarea .popup-button.gif-button.active,
.chat-textarea .popup-button.gif-button:hover {
    background: rgb(153,51,255);
    background: linear-gradient(45deg, rgba(153,51,255,1) 0%,rgba(230,70,182,1) 100%);
}
.chat-textarea .popup-button.gif-button i {
    display: block;
}
.chat-textarea .popup-button.left {
    left: 0px;
    right: auto;
    top: 0px;
    height: 100%;
    width: 44px;
    -webkit-transition: all 100ms ease-in-out;
    -moz-transition: all 100ms ease-in-out;
    -o-transition: all 100ms ease-in-out;
    -ms-transition: all 100ms ease-in-out;
    transition: all 100ms ease-in-out;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    -webkit-box-shadow: 0 0 0 1px rgba(95,172,207,0);
    -moz-box-shadow: 0 0 0 1px rgba(95,172,207,0);
    box-shadow: 0 0 0 1px rgba(95,172,207,0);
}
.rtl .chat-textarea .popup-button.left {
    right: 0;
    left: unset;
}
.chat-textarea .popup-button.left:hover {
    background: var(--surface-grey-2);
}
.chat-textarea .popup-button.left i {
    position: absolute;
    top: 50%;
    left: 50%;
    --icon-size: 24px;
    transform: translate(-50%, -50%);
    --mask-color: var(--icon-rest);
}
.chat-textarea hr {
    content:'';
    display: block;
    position: absolute;
    width: 1px;
    left: 44px;
    top:0;
    height: 100%;
    margin: 0;
    border: 0;
    background-color: var(--stroke-mid-grey);
}
.rtl .chat-textarea hr {
    left: unset;
    right: 44px;
}
.chat-textarea .grey-small-plus {
    -moz-opacity: 0.73;
    -khtml-opacity: 0.73;
    opacity: 0.73;
}
.chat-textarea .popup-button.left:hover i {
    --mask-color: var(--icon-active);
}
.chat-textarea .messages-textarea-placeholder {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    font: var(--text-body1);
    color: var(--text-color-medium);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    z-index: -1;
}
.rtl .chat-textarea .messages-textarea-placeholder {
    left: unset;
    right: 0;
}
.chat-textarea-scroll {
    z-index: 0;
}
.chat-textarea-scroll textarea,
.message.textarea-scroll textarea,
.chat-textarea-scroll .message-preview,
.message.textarea-scroll .message-preview {
    font: var(--text-body1);
    width: calc(100% - 14px);
    border: 0;
    padding: 0;
    margin: 0;
    color: var(--text-color-high);
    overflow: hidden;
    word-wrap: break-word;
    height: 20px;
    min-height: 20px;
    box-sizing: border-box;
    display: block;
    white-space: pre-wrap;
    background-color: var(--stroke-main);
}
.chat-textarea-scroll.textarea-scroll .messages-textarea {
    background-color: transparent;
}
.chat-textarea-scroll .message-preview,
.message.textarea-scroll .message-preview {
    height: auto;
    opacity: 0;
    position: absolute;
    visibility: hidden;
    top: 0;
}
.chat-textarea-scroll textarea[disabled="disabled"],
.disabled .chat-textarea-scroll textarea {
    opacity: 0.7;
}
.chat-textarea-scroll,
.message.textarea-scroll,
.textarea-scroll .textarea-wrapper {
    font-size: 0;
    line-height: 0;
    position: relative;
    min-height: 20px;
}
.chat-textarea-scroll textarea::-webkit-input-placeholder {
 color:#999999;
}
.chat-textarea-scroll textarea:-moz-placeholder {
 color:#999999;
 opacity: 1;
}
.chat-textarea-scroll textarea::-moz-placeholder {
 color:#999999;
 opacity: 1;
}
.chat-textarea-scroll textarea:-ms-input-placeholder {
 color:#999999;
}
.message.textarea-block {
    border: 1px solid #CCCCCC;
    min-height: 34px;
    background-color: white;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    position: relative;
    top: 4px;
    margin: 0 0 2px 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 5px 46px 5px 33px;
}
.textarea-icon.small-icon {
    position: absolute;
    left: 6px;
    top: 6px;
}
.chat-textarea.edit-typing-area .button.popup-button {
    right: 12px;
    top: 5px;
}
.conversationsApp .fm-tree-panel.manual-tree-panel-scroll-management {
    overflow-x: hidden; /* don't allow child elements to be visible out of this container (happens when left pane is
    resized and the width is not yet updated, because of potential throttling */
}

.edit-typing-area {
    min-height: 34px;
    position: relative;
    top: 4px;
    margin: 0;
    padding: 6px 46px 6px 6px;
    box-shadow: none;
}
.edit-typing-area button {
    margin: 11px 0 8px 8px;
}
.chat-textarea.edit-typing-area hr {
    display:  none;
}
.textarea-icon.small-icon {
    position: absolute;
    left: 7px;
}
.edit-typing-area .chat-textarea-buttons {
    top: 5px;
}

.textarea-autofill-bl {
    position:absolute;
    width: 100%;
    left: 0;
    bottom: 100%;
    margin: 0 0 -4px 0;
    z-index: 10;
    background-color: white;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
     -webkit-box-shadow: 0 0 0 1px #CCCCCC;
    -moz-box-shadow: 0 0 0 1px #CCCCCC;
    box-shadow: 0 0 0 1px #CCCCCC;
}
.textarea-autofill-info {
    text-align: center;
    padding: 10px 0 0 0;
    font-size:13px;
    line-height: 18px;
    color: #777777;
    min-height: 36px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.textarea-autofill-info strong {
    color: #666666;
    padding-right: 4px;
}
.textarea-autofill-info i {
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100);
    -moz-opacity: 1;
    -khtml-opacity: 1;
    opacity: 1;
    vertical-align: top;
    margin: -1px 2px 0 2px;

}
.textarea-autofill-info .left-pad {
    margin-left:21px;

}
.textarea-autofill-emoji {
    text-align: center;
    background-color: #FAFAFA;
    border-top: 1px solid #CCCCCC;
    min-height: 40px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 5px 6px 2px;
}
.emoji-preview.shadow {
    margin-top: 5px;
    margin-inline-start: 4px;
    -webkit-margin-start: 4px;
    border-radius: 1px;
    position: relative;
    padding: 0 0 0 0;
    float: left;
    cursor: pointer;
    -webkit-transition: box-shadow 200ms ease-in-out, background-color 200ms ease-in-out;
    -moz-transition: box-shadow 200ms ease-in-out, background-color 200ms ease-in-out;
    -o-transition: box-shadow 200ms ease-in-out, background-color 200ms ease-in-out;
    -ms-transition: box-shadow 200ms ease-in-out, background-color 200ms ease-in-out;
    transition: box-shadow 200ms ease-in-out, background-color 200ms ease-in-out;
}
.rtl .emoji-preview.shadow {
    float: right;
}
.emoji-preview.shadow.active, .emoji-preview.shadow:hover {
    -webkit-box-shadow: 0 1px 2px 0 rgba(0,0,0,0.15);
    -moz-box-shadow: 0 1px 2px 0 rgba(0,0,0,0.15);
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.15);
    background-color: white;
}
.emoji-preview.shadow::before {
    position:absolute;
    width: 100%;
    height: 100%;
    content:'';
    display: block;
    border-radius: inherit;
    -webkit-transition: box-shadow 200ms ease-in-out;
    -moz-transition: box-shadow 200ms ease-in-out;
    -o-transition: box-shadow 200ms ease-in-out;
    -ms-transition: box-shadow 200ms ease-in-out;
    transition: box-shadow 200ms ease-in-out;
}
.emoji-preview.shadow.active::before, .emoji-preview.shadow:hover::before {
    -webkit-box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
    -moz-box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
}
.textarea-autofill-emoji::after {
    clear: both;
    content: '';
    display: block;
}
.emoji-preview.shadow img {
    margin-top: 4px !important;
    margin-bottom: 4px !important;
    margin-inline-start: 6px !important;
    -webkit-margin-start: 6px !important;
    margin-inline-end: 0 !important;
    -webkit-margin-end: 0 !important;
}
.emoji-preview.shadow .emoji.title {
    margin: 5px 6px 0px 8px;
    font-size: 13px;
    color: #777777;
}

.typing-block {
    position: absolute;
    padding: 0 0 0 72px;
    bottom: 0;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.typing-text {
    font: var(--text-body2);
    line-height: 13px;
    color: var(--text-color-low);
    display: inline-block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: calc(100% - 66px);
    vertical-align: middle;
}
.typing-bounce {
	width: 34px;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
}
.typing-bounce div {
	width: 4px;
	height: 4px;
	background-color: #777777;
	border-radius: 100%;
	display: inline-block;
	-webkit-animation: typing-bounce 1.4s ease-in-out 0s infinite both;
	animation: typing-bounce 1.4s ease-in-out 0s infinite both;
	vertical-align: middle;
    margin: 0 1px;
}
.typing-bounce div.typing-bounce1 {
	-webkit-animation-delay: -0.32s;
	animation-delay: -0.32s;
}
.typing-bounce div.typing-bounce2 {
	-webkit-animation-delay: -0.16s;
	animation-delay: -0.16s;
}
 @-webkit-keyframes typing-bounce {
 0%, 80%, 100% {
 -webkit-transform: scale(0);
 transform: scale(0);
}
 40% {
 -webkit-transform: scale(1);
 transform: scale(1);
}
}
@keyframes typing-bounce {
	0%, 80%, 100% {
		-webkit-transform: scale(0);
		transform: scale(0);
	}
	40% {
		-webkit-transform: scale(1);
		transform: scale(1);
	}
}

.conversations .conversations-head-buttons {
    display: flex;
}
.conversations .conversations-head-buttons .contacts-toggle {
    position: relative;
}
.conversations .conversations-head-buttons button {
    margin: 0 0 0 12px;
}
.conversations button.contacts-toggle-button.active {
    --outer-padding: 4px;
    border: 2px solid var(--stroke-grey-2);
}
.conversations button.contacts-toggle-button::before {
    border-radius: 100%;
    box-shadow: 0 0 0 2px var(--secondary-blue);
    content: '';
    display: block;
    height: inherit;
    left: 50%;
    margin: auto;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition-opacity);
    width: inherit;
}
.conversations button.contacts-toggle-button.active::before {
    opacity: 1;
}
.conversations button.contacts-toggle-button .notifications-count {
    background: var(--secondary-red);
    border-radius: 9px;
    box-sizing: border-box;
    color: var(--text-color-white-high);
    font: var(--text-body1);
    height: 14px;
    line-height: 14px;
    margin: 0;
    min-width: 14px;
    padding: 1px 4px 0;
    position: absolute;
    right: -3px;
    text-align: center;
    top: -3px;
    font-size: 12px;
}
.conversations .conversations-head-buttons .notifications-count span {
    color: inherit;
    font: inherit;
    line-height: inherit;
    padding: 0;
}
.conversations button.contacts-toggle-button.active .notifications-count {
    right: -5px;
    top: -5px;
}
.conversations-pane {
    margin: 0;
    padding: 6px 0 0;
    list-style-type: none;
}
.conversations-pane.with-offset {
    padding-bottom: 40px;
}
.conversations-pane.loading-sketch {
    width: 100%;
    animation: fadeInOutLoopSubtle 2s linear infinite;
}
.conversations-pane.loading-sketch li:hover {
    background: none;
    box-shadow: none;
}
.conversations-pane.loading-sketch .conversation-data {
    margin: 6px 0 0;
}
.conversations-pane.loading-sketch .conversation-avatar .chat-topic-icon {
    background: #CBCBCB;
}
.conversations-pane.loading-sketch .conversation-data-top,
.conversations-pane.loading-sketch .conversation-message {
    height: 13px;
    margin: 0 0 4px;
    border-radius: 3px;
    background: #CBCBCB;
}
.conversations-pane.loading-sketch .conversation-message {
    height: 7px;
}
.chat-lp-body {

    /* Temporary fix - l-pane full height over topbar */
    height: calc(100% + 48px);
    margin: -48px 0 0 0;
}
.chat-lp-scroll-area {
    flex: 1;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}
.content-panel.conversations {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    align-content: flex-start;
    width: 100%;
    height: 100%;
    background-color: var(--stroke-grey-2);
}
.content-panel.conversations span.empty-conversations {
    overflow: hidden;
    display: block;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-inline-start: 40px;
    -webkit-margin-start: 40px;
    padding: 0 0 4px;
    width: calc(100% - 46px);
    font: var(--text-body2);
    text-overflow: ellipsis;
    color: var(--text-color-medium);
    white-space: nowrap;
}
.conversation-reduce-height {
    position: relative;
    height: calc(100% - 116px) !important;
}
.conversations-pane li {
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
    margin: 0 16px 5px 8px;
    padding: 4px 8px;
    border-radius: 4px;
    box-sizing: border-box;
    cursor: pointer;
}
.conversations-pane li.active::before {
    background-color: transparent;
}
.conversations-pane li:hover {
    background-color: var(--stroke-main);
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.1);
}
.conversations-pane li:hover .unread-messages-container {
    background-color: var(--stroke-main);
}
.conversations-pane .conversation-avatar {
    float: left;
    width: 32px;
    margin-top: 4px;
    margin-bottom: 4px;
    margin-inline-end: 10px;
    -webkit-margin-end: 10px;
    border-radius: 4px;
}
.rtl .conversations-pane .conversation-avatar {
    float: right;
}
.conversations-pane .conversation-avatar .avatar-wrapper,
.result-table .result-table-row .avatar-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    border: none;
}
.conversations-pane .conversation-avatar .avatar-wrapper span,
.result-table .result-table-row .avatar-wrapper span {
    font: var(--text-body1);
}
.conversation-message-info {
    display: flex;
    justify-content: space-between;
}
.conversations-pane .conversation-data {
    overflow: hidden;
    float: left;
    width: calc(100% - 42px);
}
.conversations-pane .conversation-data .user-card-wrapper {
    float: left;
    width: 100%;
}
.conversations-pane .conversation-data-top {
    display: flex;
    width: 100%;
    margin-bottom: 2px;
    margin-inline-end: 4px;
    -webkit-margin-end: 4px;
}
.conversations-pane .upcoming-conversation .conversation-data-top {
    justify-content: space-between;
}
.conversation-data-top .conversation-data-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.conversation-data-top .conversation-data-name.badge-pad {
    margin-inline-end: 4px;
    -webkit-margin-end: 4px;
}
.conversation-data-top .conversation-data-badges {
    flex: 0 1;
    max-width: 26px;
    display: flex;
}
.conversation-data-top .conversation-data-badges i.icon-repeat {
    --icon-size: 20px;
}
.conversation-data-top .date-time {
    align-self: flex-end;
    flex: 1 0;
    margin-inline-start: 4px;
    -webkit-margin-start: 4px;
}
.conversation-data-badges .user-card-presence {
    margin: 7px 0 5px;
    margin-inline-end: 4px;
    -webkit-margin-end: 4px;
}
.conversation-data-badges .icon-ekr-key {
    width: 12px;
    height: 10px;
    margin: auto 0;
}
.conversation-data-top .conversation-scheduled-badges i {
    --icon-size: 18px;
}
.user-card-name.conversation-name {
    display: flex;
    font: var(--text-body1);
    color: var(--text-color-high);
}
.user-card-name.conversation-name.group {
    padding: 0;
}
.user-card-name.conversation-name .user-card-presence {
    margin: 8px 4px 0;
    position: absolute;
    right: 0;
}
.conversation-message,
.conversation-scheduled-data {
    overflow: hidden;
    width: calc(100% - 22px);
    font: var(--text-body2);
    color: var(--text-color-medium);
    text-overflow: ellipsis;
}
.conversation-scheduled-data:first-child {
    width: calc(100% - 55px);
}
.conversation-scheduled-data:last-child {
    display: flex;
    justify-content: flex-end;
    text-align: right;
}
.conversation-message.unread {
    font-family: var(--text-font-family-semibold);
    color: var(--text-color-high);
}
.conversations-separator {
    margin: 6px 0 0 5px;
}
.conversations-separator i {
    display: block;
    --icon-size: 7px;
    --mask-color: var(--icon-rest);
}
.conversations-pane li .date-time-wrapper {
   align-self: flex-start;
}
.conversations-pane li .date-time {
    padding-top: 2px;
    font: var(--text-body2);
    text-align: end;
    padding-inline-end: 2px;
    -webkit-padding-end: 2px;
}
.conversations-pane li.active {
    background-color: var(--stroke-grey-1);
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.1);
}
.conversations-pane li.active .unread-messages-container {
    background-color: var(--stroke-grey-1);
}
.conversations-pane li.active .user-card-name {
    color: var(--text-color-higher);
}
.conversations-pane li .user-card-name .muted-conversation-icon,
.conversation-data-badges .muted-conversation-icon {
    margin: 2px 0 0;
}
.conversations-pane li .user-card-name .muted-conversation-icon,
.conversation-data-badges .muted-conversation-icon i {
    --mask-color: var(--icon-rest);
}
.conversations-pane li.active .conversation-message,
.conversations-pane li.active .conversation-scheduled-data {
    color: var(--text-color-higher);
}
.conversations-pane li.active .date-time {
    color: var(--text-color-higher);
}
.unread-messages-container {
    display: flex;
    justify-content: end;
}
.unread-messages {
    width: 17px;
    height: 17px;
    box-sizing: border-box;
    border-radius: 100%;
    font: var(--text-body2);
    color: var(--text-color-white-high);
    text-align: center;
    background-color: var(--secondary-blue);
}
.unread-messages.unread-upcoming {
    display: block;
    float: right;
    margin: 0 0 0 6px;
    min-width: 16px;
    min-height: 16px;
    font: var(--text-caption);
}
.conversations-pane li.active .unread-messages {
    background-color: white;
    color: #2BA6DE;
}
.conversations-pane li .items-2 .tiny-icon.white-handset,
.conversations-pane li .items-2 .tiny-icon.blue-handset {
    margin-right: 4px;
}
.call-duration {
    position: absolute;
    right: 12px;
    top: 22px;
    font-size: 20px;
    line-height: 25px;
    color: #777777;
    font-family: 'source_sans_prolight';
}
.conversations-pane li.active .call-duration {
    color: white;
}
.call-duration.blue {
    color: #61D2FF;
}
.call-duration.medium {
    font-size: 24px;
    line-height: 31px;
}
.call-duration span, .call-duration i {
    vertical-align: top;
}
.call-duration i {
    vertical-align: top;
    margin: 4px 6px 0 0;
    opacity: 0.7;
}
li.active .call-duration i {
    opacity: 1;
}
.call-duration + .conversation-message {
    margin-right: 120px;
}
.unread-messages + .call-duration {
    margin-right: 30px;
}
.unread-messages + .call-duration + .conversation-message {
    margin-right: 150px;
}

.left-pane-button {
    align-items: center;
    background: var(--surface-grey-2);
    border-top: 2px solid var(--stroke-grey-1);
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    flex: 0 0 auto;
    height: 50px;
    justify-content: space-between;
    padding: 0 14px;
    position: relative;
    transition: background 300ms ease;
}
.left-pane-button.new-link:hover {
    background: var(--surface-grey-1);
}
.left-pane-button i {
    display: inline-block;
    margin: 8px 12px;
    float:left;
}
.left-pane-button .heading {
    overflow: hidden;
    display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
    font: var(--text-body2);
    color: var(--text-color-medium);
}
.left-pane-button .indicator {
    padding: 0 8px;
    font: var(--text-body2);
    color: var(--secondary-white);
    background-color: rgba(51, 51, 51, 0.7);
    border-radius: 4px;
}
.theme-dark .left-pane-button .indicator {
    background-color: #CCC;
    color: var(--text-color-high-inverted);
}



@keyframes fadein-slow-loop {
    from { opacity: 0.6; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadeinout-looped {
    from { opacity: 0.6; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadeinout-looped {
    from { opacity: 0.6; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadeinout-looped {
    from { opacity: 0.6; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadeinout-looped {
    from { opacity: 0.6; }
    to   { opacity: 1; }
}


@keyframes ring {
    10%, 90% {
        transform: translate3d(0, -1px, 0);
    }

    20%, 80% {
        transform: translate3d(0, 2px, 0);
    }

    30%, 50%, 70% {
        transform: translate3d(0, -2px, 0);
    }

    40%, 60% {
        transform: translate3d(0, 2px, 0);
    }
}

/* Private Chat Styles */
.privateChat + .icon-ekr-key {
    display: inline-block;
    height: 10px;
    vertical-align: middle;
    width: 12px;
}

/*
 * Search Panel
 * ------------------------------------------------------------------------------------------------------------------ */

.search-panel {
    display: flex;
    position: relative;
    padding: 16px 0 0;
    width: 100%;
    height: 36px;
    flex-direction: column;
    box-sizing: border-box;
    z-index: 130;
    background: var(--surface-grey-2);
}

.search-panel.expanded {
    flex: 1 1 auto;
    position: absolute;
    height: 100%;
    overflow: hidden;
}

.search-panel.expanded ~ * {
    display: none;
}

.search-heading {
    height: 100%;
    text-align: center;
    font: var(--text-h3-bold);
    color: var(--text-color-high);
}

.search-results-wrapper {
    flex: 1 1 auto;
    overflow: hidden;
    position: relative;
}

/*
 * Search Field
 * ------------------------------------------------------------------------------------------------------------------ */

.search-field {
    flex: 0 0 auto;
    left: 0;
    margin: 0 auto 3px;
    padding: 0 0 5px 0;
    position: relative;
    top: 0;
    width: calc(100% - 16px);
    z-index: 10;
}

.search-field i {
    position: absolute;
    --icon-size: 24px;
    --mask-color: var(--icon-rest);
    z-index: 10;
}

.search-field i:not(.icon-preview-reveal):hover {
    --mask-color: var(--icon-active);
}

.search-field i.search-icon-find {
    top: 4px;
    left: 8px;
}
.rtl .search-field i.search-icon-find {
    left: unset;
    right: 8px;
}

.search-field i.search-icon-reset {
    top: 4px;
    right: 8px;
    cursor: pointer;
}
.rtl .search-field i.search-icon-reset {
    right: unset;
    left: 8px;
}

.search-field i.tiny-searching {
    top: 4px;
    animation: rotate 0.8s infinite linear;
}

.search-field i.icon-check,
.search-field i.icon-pause {
    top: 6px;
    right: 36px;
    --icon-size: 20px;
}
.rtl .search-field i.icon-check,
.rtl .search-field i.icon-pause {
    left: 36px;
    right: unset;
}

.search-field i.icon-resume {
    top: 8px;
    right: 39px;
    --icon-size: 17px;
    cursor: pointer;
}
.rtl .search-field i.icon-resume {
    left: 39px;
    right: unset;
}

.search-field .clickable {
    cursor: pointer;
}

.search-field .progress-controls {
    position: absolute;
    top: 0;
    right: 32px;
    width: 32px;
    height: 32px;
    cursor: pointer;
}
.rtl .search-field .progress-controls {
    left: 32px;
    right: unset;
}

.search-field .progress-controls i {
    right: 6px;
}
.rtl .search-field .progress-controls i {
    left: 6px;
    right: unset;
}

.search-field input {
    color: var(--text-color-medium);
    background: var(--surface-grey-1);
    border: 0 none;
    border-radius: 18px;
    box-sizing: border-box;
    font: var(--text-body1);
    line-height: 24px;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-inline-start: 40px;
    -webkit-padding-start: 40px;
    padding-inline-end: 30px;
    -webkit-padding-end: 30px;
    width: 100%;
}
.search-field input::-webkit-input-placeholder { color: var(--text-color-low); }
.search-field input::-moz-placeholder { color: var(--text-color-low); }
.search-field input::-ms-input-placeholder { color: var(--text-color-low); }

.search-field .search-field-status {
    position: relative;
    margin-top: 4px;
    margin-inline-start: 7px;
    -webkit-margin-start: 7px;
    margin-inline-end: 8px;
    -webkit-margin-end: 8px;
    padding: 4px 30px;
    border-radius: 4px;
    font: var(--text-body1-bold);
    text-align: center;
}

.search-field .search-field-status.warn {
    border: 1px solid var(--banner-border-warning);
    background: var(--banner-background-warning);
    color: var(--banner-text-warning);
}

.search-field .search-field-status.success {
    border: 1px solid var(--banner-border-success);
    background: var(--banner-background-success);
    color: var(--banner-text-success);
}

.search-field .search-field-status.info {
    border: 1px solid var(--banner-border-info);
    background: var(--banner-background-info);
    color: var(--banner-text-info);
}

/*
 * Result Table & Result Row
 * ------------------------------------------------------------------------------------------------------------------ */

.result-table {
    width: calc(100% - 10px);
    margin: 0 auto;
}

.result-table .result-table-heading {
    margin-bottom: 2px;
    padding: 0 10px;
    border-radius: 4px;
    font: var(--text-body2);
    color: var(--text-color-medium);
}

.result-table .result-table-row {
    position: relative;
    margin: 5px;
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
}

.result-table .result-table-row img {
    width: 32px;
    height: 32px;
}

.result-table .result-table-row img.emoji {
    max-width: 14px;
    max-height: 14px;
}

.result-table .result-table-row.nil:hover {
    background: var(--surface-grey-2);
}

.result-table .result-table-row:hover,
.result-table .result-table-row.active {
    background: var(--surface-main);
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.1);
}

.result-table .result-table-row .chat-topic-icon {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    box-sizing: border-box;
}

/*
 * Result Row: Recent & Members
 * ------------------------------------------------------------------------------------------------------------------ */

.result-table .result-table-row .avatar-wrapper {
    float: left;
    width: 32px;
    height: 32px;
    border-radius: 4px;
}

.rtl .result-table .result-table-row .avatar-wrapper {
    float: right;
}

.result-table .result-table-row .user-card {
    position: absolute;
    top: 50%;
    left: 46px;
    transform: translateY(-50%);
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: calc(100% - 46px);
}

.rtl .result-table .result-table-row .user-card {
    left: 0;
    right: 46px;
}

.result-table .result-table-row .user-card span {
    overflow: hidden;
    min-width: 16px;
    max-width: 100%;
    max-width: -webkit-calc(100% - 25px);
    max-width: -moz-calc(100% - 25px);
    max-width: calc(100% - 25px);
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.result-table .result-table-row .user-card .graphic {
    overflow: hidden;
    display: flex;
    align-items: center;
}

.result-table .result-table-row .user-card .graphic span:nth-child(1) {
    color: var(--text-color-high);
}

.result-table .result-table-row .user-card .graphic strong {
    color: var(--text-color-high);
}

.result-table .result-table-row .user-card .textual {
    overflow: hidden;
}

.result-table .result-table-row .user-card .textual span {
    display: block;
}

.result-table .result-table-row .user-card .textual span:nth-child(1) {
    color: var(--text-color-high);
}

.result-table .result-table-row .user-card .textual span:nth-child(2) {
    clear: both;
    color: var(--text-color-medium);
}

/* --- Result Row: Messages --- */

.result-table .result-table-row.message {
    overflow: hidden;
}

.result-table .result-table-row.message .message-result-info {
    display: flex;
    justify-content: space-between;
}

.result-table .result-table-row.message .message-result-avatar {
    float: left;
    margin: 3px 0 0 0;
}

.rtl .result-table .result-table-row.message .message-result-avatar {
    float: right;
}

.result-table .result-table-row.message:nth-child(odd) {
    /* [...] */
}

.result-table .result-table-row.message span {
    /* [...] */
}

.result-table .result-table-row.message span.title {
    overflow: hidden;
    float: left;
    max-width: calc(90% - 25px);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rtl .result-table .result-table-row.message span.title {
    float: right;
}

.result-table .result-table-row.message span.title {
    font: var(--text-body1-bold);
}

.result-table .result-table-row.message .user-card-presence {
    margin-bottom: 2px;
}

.result-table .result-table-row.message .summary {
    float: left;
    overflow: hidden;
    width: 45%;
    white-space: nowrap;
    text-overflow: ellipsis;
    font: var(--text-body2);
    color: var(--text-color-medium);
}

.result-table .result-table-row.message .summary strong {
    font: var(--text-body2);
    color: var(--text-color-high);
    font-weight: bold;
}

.result-table .result-table-row.message .result-separator {
    float: left;
    margin: 3px 1px 0 2px;
}

.result-table .result-table-row.message .result-separator i {
    display: block;
    --icon-size: 12px;
    --mask-color: var(--icon-rest);
}

.result-table .result-table-row.message span.date {
    font: var(--text-body2);
    color: var(--text-color-medium);
    width: 40%;
    text-align: right;
}

.rtl .result-table .result-table-row.message span.date {
    text-align: left;
}

.result-table .search-messages {
    display: block;
    width: 80%;
    margin: 10px auto;
}


/* --- Result Row: No Results --- */

.result-table.nil {
    display: table;
    width: 100%;
    height: 100%;
    margin: 0;
}

.result-table.nil .result-table-row {
    display: table-cell;
    cursor: default;
    text-align: center;
    vertical-align: middle;
}

.result-table.nil .result-table-row:hover {
    background: var(--surface-grey-2);
}

.result-table .result-table-row .nil-container {
    text-align: center;
    cursor: default;
}

.result-table .result-table-row .nil-container i {
    --icon-size: 124px;
    --mask-color: var(--icon-inactive);
}

.result-table.nil .result-table-row span,
.result-table .result-table-row .nil-container span {
    display: block;
    padding: 10px 0 0 0;
    font: var(--text-h2);
    color: var(--text-color-low);
}

.result-table.nil .result-table-row .search-messages {
    color: var(--text-color-low);
    font: var(--text-body1);
    margin: 15px;
    width: auto;
}

.result-table.nil .result-table-row .search-messages a {
    text-decoration: underline;
}

.result-table.nil .result-table-row .search-messages .overflow-observer {
    white-space: normal;
}

/*
 * Contacts Panel
 * TODO: move into separate file/s
 * ------------------------------------------------------------------------------------------------------------------ */

.contacts-panel {
    background: var(--surface-main);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    font: var(--text-body1);
    height: calc(100% - 16px);
    left: 0;
    position: absolute;
    top: 16px;
    width: 100%;
    z-index: 120;
}

.contacts-navigation {
    position: relative;
    width: 100%;
    padding: 0 0 0 32px;
    border-bottom: 1px solid var(--stroke-grey-2);
}

.contacts-navigation ul {
    overflow: hidden;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contacts-navigation ul li {
    float: left;
    margin: 0 40px 0 0;
}

.contacts-navigation ul li button.mega-button.action {
    padding: 0;
    border-bottom: 2px solid transparent;
    border-radius: unset;
}

.contacts-navigation ul li button.mega-button.action:hover {
    background: transparent;
    border-bottom: 2px solid var(--stroke-info);
}

.contacts-navigation ul li button.mega-button.active {
    border-bottom: 2px solid var(--stroke-info);
}

.contacts-navigation ul li button.mega-button span {
    margin: 0;
    font: var(--text-h3);
    color: var(--text-color-medium);
}

.contacts-navigation ul li button.mega-button.active span {
    font: var(--text-h3-bold);
    color: var(--text-color-high);
}

.contacts-navigation ul li button.mega-button .notifications-count {
    width: 16px;
    height: 16px;
    margin: 0 0 0 4px;
    border-radius: 4px;
    background: var(--secondary-red);
    font: var(--text-body2);
    color: var(--text-color-white-high);
}

.contacts-actions {
    margin-top: 10px;
    margin-inline-end: 20px;
    -webkit-margin-end: 20px;
    text-align: right;
}
.rtl .contacts-actions {
    direction: rtl;
    text-align: left;
}

.contacts-actions button i {
    --icon-size: 24px;
    --mask-color: var(--secondary-green);
}

.contacts-table tbody tr {
    overflow: hidden;
}

.contacts-table tr:hover .contact-item-controls,
.contacts-table tr.ui-selected .contact-item-controls,
.contacts-table tr.active .contact-item-controls {
    display: block;
    margin: 0 10px 0 0;
}
.rtl .contacts-table tr:hover .contact-item-controls,
.rtl .contacts-table tr.ui-selected .contact-item-controls,
.rtl .contacts-table tr.active .contact-item-controls {
    display: block;
    margin: unset;
}
.contacts-table th {
    position: relative;
    width: 18%;
}
.contacts-table th.name {
    width: 25%;
}
.contacts-table.requests-table th {
    width: 18%;
}
.contacts-table.requests-table th.contact-controls-container {
    width: 49%;
}
.contacts-table.requests-table th:first-child {
    width: 31%;
}
.contacts-table .contact-item {
    display: flex;
    justify-content: center;
    flex-direction: column;
    max-width: 350px;
    height: 100%;
    vertical-align: middle;
    width: calc(100% - 48px);
}
.contacts-table .avatar-wrapper + .contact-item,
.contacts-table span + .contact-item {
    display: inline-flex;
}
.contacts-table .contact-item-user {
    font: var(--text-body1);
    color: var(--text-color-high);
}

.contacts-table .contact-item-user .emoji {
    width: 18px;
    height: 18px;
}

.contacts-table .contact-item-email {
    font: var(--text-body2);
    color: var(--text-color-low);
}

.contacts-table .contact-item-user,
.contacts-table .contact-item-email {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}
.contacts-table thead th.verification span {
    -webkit-padding-start: 16px;
    padding-inline-start: 16px;
}
.contacts-table thead th span i {
    float: none;
}
.contacts-verification-label-container {
    display: flex;
}
.contacts-verification-icon-simpletip {
    max-width: 280px !important;
    text-align: center;
}
.verify-contact-link-container .verify-contact-link {
    text-decoration: underline;
    cursor: pointer;
    color: var(--label-blue);
    white-space: nowrap;
}
td.verification .contact-item {
    width: 100%;
}

@media only screen and (width <= 1170px) {
    .rtl .contacts-table .contact-item-user {
        width: 180px;
    }
}

.contacts-table .contact-item-status,
.contacts-table .contact-item-time {
    font: var(--text-body2);
    color: var(--text-color-medium);
}
.contacts-table .contact-item-time {
    display: flex;
}

.contacts-table .contact-item-time i {
    display: block;
    float: left;
    --icon-size: 24px;
    margin-top: -3px;
    margin-inline-end: 7px;
    -webkit-margin-end: 7px;
    --mask-color: var(--icon-rest);
}
.rtl .contacts-table .contact-item-time i {
    float: right;
}

.contact-item-controls {
    text-align: end;
    width: calc(100% - 10px);
}
.contact-item-controls.contact-request-sent {
    width: 100%;
}

.contact-item-controls .mega-button.action {
    min-width: auto;
}

.contact-item-controls .mega-button.action:hover i,
.contact-item-controls .mega-button.action.contact-more:hover i {
    --mask-color: var(--icon-active);
}

.contact-item-controls .mega-button.action i {
    --mask-color: var(--icon-rest);
}

.contact-item-controls .mega-button.action.contact-reject i {
    --mask-color: var(--secondary-red);
}

.contact-item-controls .mega-button.action.contact-block i {
    --mask-color: var(--icon-rest);
}

.contact-item-controls .mega-button.action.contact-accept i {
    --mask-color: var(--secondary-green);
}

.contact-item-controls .mega-button.action.contact-more i {
    --mask-color: var(--icon-rest);
}

.contacts-table thead {
    border-bottom: 1px solid var(--stroke-grey-2);
    margin: 0 24px;
    max-width: calc(100% - 48px);
}
.contacts-list .content-container .grid-scrolling-table {
    margin: 0 24px;
    min-width: calc(100% - 48px);
    max-width: calc(100% - 48px);
    background: none;
}

.contacts-table thead th {
    padding-bottom: 3px;
    box-shadow: 0 1px 0 0 var(--stroke-grey-2);
    z-index: 1;
    background: var(--surface-main);
}

.rtl .contacts-table thead th:last-child {
    width: 5%;
    min-width: 204px;
}

.contacts-table-results tr {
    position: relative;
    border-top: 3px solid var(--stroke-main);
    border-bottom: 4px solid var(--stroke-main);
}

.contacts-table-results tr td::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 0;
    right: 0;
    bottom: 4px;
    box-sizing: border-box;
    z-index: -1;
    display: none;
}

.contacts-table-results tr td:first-child::before {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}
.contacts-table-results tr td:last-child::before {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}
.rtl .contacts-table-results tr td:first-child::before {
    border-radius: 0 6px 6px 0;
}
.rtl .contacts-table-results tr td:last-child::before {
    border-radius: 6px 0 0 6px;
}
.contacts-table-results tr.ui-selected td::before {
    display: block;
    background: var(--surface-grey-4);
}

.contacts-table-results tr:not(tr.ui-selected):hover td::before {
    display: block;
    border: 1px solid var(--stroke-grey-3);
    border-top-color: var(--stroke-grey-2);
    border-bottom-color: var(--stroke-grey-2);
    background: var(--surface-grey-3);
}
.contacts-table-results tr:not(tr.ui-selected):hover td:first-child::before {
    border-left-color: var(--stroke-grey-2);
}
.contacts-table-results tr:not(tr.ui-selected):hover td:last-child::before {
    border-right-color: var(--stroke-grey-2);
}
.rtl .contacts-table-results tr:not(.ui-selected):hover td:first-child::before {
    border-left-color: var(--stroke-grey-3);
    border-right-color: var(--stroke-grey-2);
}
.rtl .contacts-table-results tr:not(.ui-selected):hover td:last-child::before {
    border-right-color: var(--stroke-grey-3);
    border-left-color: var(--stroke-grey-2);
}

.contacts-table-results td {
    height: 55px;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--stroke-grey-2);
    padding-top: 1px;
}

.contacts-table th {
    padding: 0;
    padding-inline-start: 8px;
    -webkit-padding-start: 8px;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    font: var(--text-body2);
    color: var(--text-color-medium);
    text-align: start;
    cursor: pointer;
    position: sticky;
    position: -webkit-sticky;
    top: 0;
}

.contacts-table th i {
    float: right;
    padding-inline-end: 5px;
    -webkit-padding-end: 5px;
    --mask-color: var(--icon-rest);
}

.rtl .contacts-table th i {
    float: left;
}

.contacts-table th:after {
    /* TODO: check this */
    display: none;
}

.contacts-table .box-avatar,
.contacts-table .sprite-fm-uni.icon-send-requests {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0 8px;
    vertical-align: middle;
}

.contacts-table .box-avatar {
    border-radius: 4px;
}

.contacts-table .box-avatar span {
    font: var(--text-body1);
}

.contacts-table .box-avatar .user-card-verified {
    position: absolute;
    top: -5px;
    right: -4px;
}

.contacts-table .user-card-presence {
    margin-bottom: 1px;
    margin-inline-end: 8px;
    -webkit-margin-end: 8px;
}

.contacts-content {
    height: 100%;
    flex-grow: 1;
    overflow: hidden;
}

.rtl .contacts-content {
    direction: rtl;
}

.contacts-content .mega-button.action i {
    --icon-size: 24px;
}

.contacts-content .content-container {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: no-repeat center 21px linear-gradient(90deg, var(--stroke-grey-2), var(--stroke-grey-2));
    background-size: auto 1px;
}

.contacts-list {
    height: 100%;
}

.contacts-profile {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.profile-breadcrumb {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    height: 48px;
    padding: 0 32px;
}

.profile-breadcrumb ul {
    overflow: hidden;
    list-style: none;
    margin: 0;
    padding: 0;
}

.profile-breadcrumb ul li {
    display: inline-block
}

.profile-breadcrumb ul li a {
    font: var(--text-body1);
    color: var(--text-color-medium);
}

.profile-breadcrumb ul li i {
    display: inline-block;
    --icon-size: 18px;
    margin: 0 8px;
    vertical-align: middle;
    --mask-color: var(--icon-rest);
}
.rtl .profile-breadcrumb ul li i.icon-arrow-right {
    transform: rotateY(180deg);
}

.profile-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    overflow: hidden;
    height: calc(100% - 48px);
}

.profile-head {
    background: var(--surface-grey-1);
    flex: 0 0 auto;
    overflow: hidden;
    padding: 24px 32px;
    position: relative;
}

.profile-head .user-card-presence {
    margin-top: 12px;
}

.profile-head .profile-photo {
    position: relative;
    float: left;
    margin-inline-end: 25px;
    -webkit-margin-end: 25px;
}
.rtl .profile-head .profile-photo {
    float: right;
}

.profile-head .profile-photo .user-card-verified {
    position: absolute;
    top: -5px;
    right: -4px;
}

.profile-head .profile-info {
    float: left;
    max-width: 400px;
}
.rtl .profile-head .profile-info {
    float: right;
}

.profile-head .profile-info h2 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0;
    color: var(--text-color-high);
}

.profile-head .profile-info span {
    font: var(--text-body2);
    color: var(--text-color-low);
}

.profile-head .profile-controls {
    margin: 75px 0 0 0;
}

/* TODO: add variables, see: `button.css` */
.profile-head .profile-controls button,
.profile-head .profile-controls button:hover,
.profile-head .profile-controls button:focus {
    margin-inline-end: 15px;
    -webkit-margin-end: 15px;
    background: linear-gradient(180deg, rgba(86, 210, 241, 1) 0%, rgba(43, 166, 222, 1) 100%);
}

@media only screen and (max-width: 1080px) {
    .profile-head .profile-controls button,
    .profile-head .profile-controls button:hover,
    .profile-head .profile-controls button:focus {
        margin-right: 4px;
        --height: 24px;
        --outer-padding: 2px;
    }
}

.profile-head .profile-controls button i {
    position: absolute;
    left: 50%;
    --icon-size: 24px;
    transform: translateX(-50%);
    --mask-color: var(--secondary-white);
}

@media only screen and (max-width: 1080px) {
    .profile-head .profile-controls button i {
        --icon-size: 16px;
    }
}

.profile-head .profile-credentials {
    position: absolute;
    top: 50%;
    right: 25px;
    transform: translateY(-50%);
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    background: var(--surface-grey-2);
}
.rtl .profile-head .profile-credentials {
    left: 25px;
    right: unset;
}

.profile-head .profile-credentials .credentials-head {
    font: var(--text-body1);
    color: var(--text-color-high);
}

.profile-head .profile-credentials .credentials-fingerprints {
    width: 190px;
    margin: 7px 0;
}

.profile-head .profile-credentials .credentials-fingerprints span {
    display: inline-block;
    width: 35px;
    height: 19px;
    font: var(--text-body2);
}

.profile-head .profile-credentials button {
    padding-inline: 8px;
}

.profile-shared-folders {
    flex: 1 1 auto;
    overflow: hidden;
    height: 100%;
}

.profile-shared-folders .colour-label .shared-folder-info-block::after {
    right: 9px;
    top: 15px;
}

.profile-shared-folders .content-container {
    padding: 0 16px 6px;
    background-position-y: 34px;
}

.profile-shared-folders .dialog-empty-block {
    height: 100%;
    background: transparent;
}

.profile-shared-folders .dialog-empty-pad {
    margin: auto;
}

.profile-shared-folders .megaListContainer {
    box-sizing: border-box;
    flex: 1 1 auto;
    margin: 0 auto;
    min-width: 0;
    width: calc(100% - 15px);
}

.profile-shared-folders .shared-with-me tbody tr {
    display: block;
    position: relative;
    border-top: 3px solid var(--stroke-main);
    border-bottom: 4px solid var(--stroke-main);
    box-shadow: 0 -1px 0 0 var(--stroke-grey-2);
}
.profile-shared-folders .shared-with-me tbody tr:nth-last-child(2) {
    box-shadow: 0 -1px 0 0 var(--stroke-grey-2), 0 1px 0 0 var(--stroke-grey-2);
}
.profile-shared-folders .shared-with-me tbody tr:hover::before,
.profile-shared-folders .shared-with-me tbody tr.ui-selected::before {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    box-sizing: border-box;
    background: var(--surface-grey-4);
    overflow: hidden;
}
.profile-shared-folders .shared-with-me tbody tr:not(tr.ui-selected):hover::before {
    border: 1px solid var(--stroke-grey-2);
    background: var(--surface-grey-3);
}
.profile-shared-folders .shared-with-me tr.ui-selected td:first-child:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 4px;
    width: 2px;
    height: 100%;
    background: var(--secondary-blue);
}
.profile-shared-folders table.grid-table {
    display: block;
}
.profile-shared-folders table.grid-table thead {
    display: block;
    padding-top: 10px;
    margin: 0;
    border-bottom: 1px solid var(--stroke-grey-2);
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 2;
    background: var(--surface-main);
}
.profile-shared-folders table.grid-table thead tr {
    display: block;
}
.profile-shared-folders table.grid-table th {
    border: 0;
    padding: 0 0 3px;
}
.profile-shared-folders table.shared-with-me tbody {
    display: block;
}
.profile-shared-folders table.shared-with-me tbody tr:not(.ui-selected):hover {
    background: var(--surface-grey-1);
}
.profile-shared-folders table.grid-table th,
.profile-shared-folders table.shared-with-me td {
    display: inline-block;
    height: auto;
}
.profile-shared-folders table.shared-with-me td {
    padding: 10px 0 10px 0;
    border-bottom: 0;
}
.profile-shared-folders table.grid-table.shared-with-me tr:last-child td,
.profile-shared-folders .megaList table.grid-table.shared-with-me tr:nth-last-child(2) td {
    border-bottom: 0;
}
.profile-shared-folders table.grid-table th.name,
.profile-shared-folders table.grid-table th.access {
    display: inline-flex;
    justify-content: space-between;
    padding-right: 15px;
    cursor: pointer;
}
.profile-shared-folders table.grid-table th.name,
.profile-shared-folders table.shared-with-me td.name {
    width: 39%;
}
.profile-shared-folders table.grid-table th.access,
.profile-shared-folders table.shared-with-me td.access {
    width: 39%;
}
@media only screen and (max-width: 1368px) and (min-width: 320px)  {
    .profile-shared-folders table.grid-table th.name,
    .profile-shared-folders table.shared-with-me td.name {
        width: 240px;
    }
    .profile-shared-folders table.grid-table th.name span,
    .profile-shared-folders table.shared-with-me td.name span {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .profile-shared-folders table.grid-table th.access,
    .profile-shared-folders table.shared-with-me td.access {
        width: 150px;
    }
}
.profile-shared-folders table.grid-table th.fav {
    width: 75px;
    margin: 0 auto;
    padding-bottom: 3px;
    padding-inline-start: 32px;
    -webkit-padding-start: 32px;
}
.profile-shared-folders table.shared-with-me td.fav {
    width: 75px;
    text-align: center;
}
.profile-shared-folders table.shared-with-me td.grid-url-header-nw {
    float: right;
    width: 100px;
    margin-inline-end: 20px;
    -webkit-margin-end: 20px;
    text-align: end;
}
.rtl .profile-shared-folders table.shared-with-me td.grid-url-header-nw {
    float: left;
}
.profile-shared-folders table.shared-with-me .item-type-icon-90 {
    left: -6px;
}
.profile-shared-folders .contact-item-controls {
    display: block;
}

.dropdown .dropdown-credentials {
    width: 180px;
    margin: 0 0 0 40px;
}

.dropdown .dropdown-credentials span {
    display: inline-block;
    width: 35px;
    height: 19px;
    font: var(--text-body2);
    color: var(--text-color-low);
}

.dropdown .dropdown-profile {
    overflow: hidden;
    position: absolute;
    left: 16px;
    bottom: 14px;
    width: 215px;
    text-overflow: ellipsis;
    white-space: nowrap;
    z-index: 2;
}

.dropdown .dropdown-profile span {
    font: var(--text-body1);
    color: var(--text-color-white-high);
}

.dropdown .dropdown-profile .user-card-presence {
    margin-bottom: 1px;
}

/* -- */

.conversationsApp .lhp-nav {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin: 26px 0 8px;
    text-align: center;
}

.conversationsApp .lhp-nav-container {
    position: relative;
    font: var(--text-body2);
    color: var(--text-color-medium);
    cursor: pointer;
}

.conversationsApp .lhp-nav-container:hover {
    color: var(--text-color-high);
}

.conversationsApp .lhp-nav-container.active .lhp-nav-button,
.conversationsApp .lhp-nav-container.active span {
    color: var(--secondary-green);
}

.conversationsApp .lhp-nav-container span {
    display: block;
    margin: 2px 0 0;
}

.conversationsApp .lhp-nav-button {
    position: relative;
    width: 24px;
    margin: 0 auto;
}

.conversationsApp .lhp-nav-button i {
    --icon-size: 24px;
}

.conversationsApp .lhp-nav-container .notifications-count {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    border-radius: 200px;
    box-sizing: border-box;
    background: var(--secondary-red);
}

.conversationsApp .lhp-nav-container .notifications-count.large {
    width: 18px;
    height: 18px;
    top: -6px;
    right: -8px;
}

.conversationsApp .lhp-nav-container .notifications-count span {
    display: block;
    margin: 0;
    font: var(--text-caption);
    color: var(--text-color-white-high);
}

.conversationsApp .lhp-nav-container .notifications-count.large span {
    font-size: 8px;
    padding-top: 1px;
}

.conversationsApp .lhp-action-buttons {
    position: relative;
    font: var(--text-body1);
    color: var(--text-color-high);
    margin-bottom: 13px;
    margin-inline-start: 6px;
}

.lhp-action-buttons .new-chat-action {
    padding: 8px;
}

.conversationsApp .lhp-action-buttons button.loading-sketch {
    margin: 0 0 10px 6px;
    animation: fadeInOutLoopSubtle 2s linear infinite;
}

.conversationsApp .lhp-action-buttons button.loading-sketch i {
    width: 24px;
    height: 24px;
    border-radius: 200px;
    background: #CBCBCB;
}

.conversationsApp .lhp-action-buttons button.loading-sketch span {
    display: block;
    width: 34px;
    height: 7px;
    margin: 0 0 0 14px;
    border-radius: 3px;
    background: #CBCBCB;
}

.conversationsApp .lhp-action-buttons button span {
    text-align: start;
}

.conversationsApp .lhp-action-buttons button i {
    --icon-size: 24px;
    --mask-color: var(--secondary-green);
}

.conversationsApp .lhp-action-buttons i.dropdown-indicator {
    padding: 1px 0 0;
    --mask-color: var(--secondary-white);
}

.conversationsApp .conversations-empty {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font: var(--text-body1);
    z-index: 120;
    background: var(--surface-main);
}

.conversationsApp .conversations-empty-content {
    overflow: hidden;
    width: 400px;
}

.conversationsApp .conversations-empty-content i {
    --icon-size: 120px;
    --mask-color: var(--icon-inactive);
}

/* --- */

.lhp-conversations .conversations-holder {
    width: 100%;
    margin: 0 0 20px;
}

.lhp-conversations.chats-view .conversations-holder {
    height: 95%;
}

.lhp-conversations.meetings-view .conversations-holder {
    max-height: 46%;
}

@media only screen and (max-height: 750px) {
    .lhp-conversations.meetings-view .conversations-holder {
        max-height: 42%;
        margin: 0 0 25px;
    }
}

.lhp-conversations .conversations-category {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font: var(--text-body2);
    padding: 0 6px;
}

.lhp-conversations .conversations-nil {
    padding: 6px 10px;
    font: var(--text-body2);
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-color-medium);
}

.feedback.call-status-block {
    position: relative;
    float: left;
    margin-top: 5px;
    margin-inline-start: 2px;
    -webkit-margin-start: 2px;
    z-index: 1;
}
.rtl .feedback.call-status-block {
    float: right;
}

.feedback.call-status-block i {
    --icon-size: 32px;
    --mask-color: var(--icon-rest);
}

.feedback.error-notification {
    background-color: var(--stroke-grey-1);
    border-radius: 4px;
    padding: 24px;
    margin: 29px 24px 0 24px;
}

.feedback.error-header {
    font: var(--text-h1);
    color: var(--text-color-high);
    text-align: center;
    padding: 0 0 25px 0;
}

.feedback.info-txt {
    font: var(--text-body1);
    color: var(--text-color-medium);
    padding: 10px 0;
}

.error-notification .buttons-block {
    padding: 17px 0 0 0;
}

.section, .conversationsApp {
    width: 100%;
    height: 100%;
}
.section.conversations {
    height: calc(100% - 48px);
    transition: 200ms linear;
}
.section.conversations .fm-right-files-block {
    height: 100%;
}
.js-messages-scroll-area.ps--in-scrolling,
.js-messages-scroll-area.ps--in-scrolling:hover {
    pointer-events: initial;
}
.conversation-panels, .conversation-panel {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 100%;
    position: relative;
}
.chat-content-block {
    height: 100%;
    position: relative;
}
.chat-content-block,
.chat-content-block .chat-topic-block,
.chat-content-block .messages-block {
    transition: margin-right 200ms ease-in-out;
}
.chat-content-block.no-pane,
.chat-content-block.no-pane .chat-topic-block,
.chat-content-block.no-pane .messages-block {
    margin-right: 0px;
}
.chat-content-block.private-chat .chat-heading-area {
    background-color: #F4F8F9;
    border-bottom: 1px solid #D9E6EB;
}
.chat-content-block.private-chat .chat-right-area {
    background-color: #F4F8F9;
}
.chat-content-block.private-chat .chat-right-area::after {
    background-color: #D9E6EB;
}
.chat-content-block.private-chat .chat-button-separator {
    background-color: #D9E6EB;
}
.chat-content-block.private-chat .chat-right-area .buttons-block, .chat-content-block.private-chat .public-observer-block {
    border-top: 1px solid #D9E6EB;
}
.chat-content-block.private-chat .chat-right-head-txt, .chat-content-block.private-chat .chat-heading span {
    color: #273B44;
}
.chat-content-block.private-chat .link-button span {
    color: #4E6B78;
}
.chat-right-area {
    width: 256px;
    height: calc(100% - 48px);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-color: var(--stroke-main);
    position: absolute;
    right: 0;
}
.rtl .chat-right-area {
    direction: rtl;
}
.chat-right-area::after {
    content: '';
    width: 1px;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    z-index: 1;
}
.chat-right-area .chat-right-area {
    float: none;
    border-left: 1px solid var(--divider-color);
    top: 48px;
}
.chat-right-pad {
    padding: 0;
    height: 100%;
    box-sizing: border-box;
}
.chat-right-pad.in-call {
    padding-top: 0;
}
.chat-right-head {
    clear: both;
    padding: 4px 16px 24px 16px;
}
.chat-right-head-txt {
    font-size: 15px;
    line-height: 22px;
    color: #111;
    font-family: 'LatoWebSemibold', 'source_sans_prosemibold';
    padding: 0 0 0 0;
}
.chat-grey-counter {
    float: right;
    background-color: #777777;
    height: 16px;
    padding: 0 6px;
    margin: 2px 0 0 0;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    color: white;
    font-size: 11px;
    line-height: 16px;
}
.chat-contacts-list .buttons-block {
    min-height: 192px;
}
.chat-contacts-list-inner .contacts-info.body.right-chat-contact-card {
    min-height: 49px;
}
.chat-right-pad .contacts-info.body {
    padding: 8px 0 8px 22px;
}
.contacts-info.body {
    padding: 6px 0;
    /*position: relative;*/
    clear: both;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
}
.contacts-info.body.short {
    padding: 0;
}
.short .small-rounded-avatar {
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    border: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
.short .small-rounded-avatar::before {
    display: none;
}
.short .user-card-name.light {
    display: inline-block;
    font-size: 14px;
    line-height: 17px;
    vertical-align: top;
    max-width: 100%;
}
.short .user-card-data {
    padding: 0 30px 0 5px;
}
.chat-topic-block .contacts-info.body.short {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}
.chat-topic-block .small-rounded-avatar {
    margin: 8px 0;
}
.chat-topic-block .contacts-info .user-card-data {
    overflow: hidden;
    padding: 0 0 0 12px;
}
.chat-topic-block .contacts-info .user-card-data .user-card-name {
    max-width: 100%;
}
.contacts-info.body.short {
    padding: 0;
}
.short .small-rounded-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    border: 0;
    box-shadow: none;
    font: var(--text-body1);
}
.short .small-rounded-avatar img {
    width: 32px;
    height: 32px;
}
.short .small-rounded-avatar::before {
    display: none;
}
.short .user-card-name.light {
    display: inline-block;
    font-size: 14px;
    line-height: 17px;
    vertical-align: top;
    max-width: 91%;
}
.short .user-card-status span {
    display: inline-block;
    font: var(--text-body2);
    color: var(--text-color-low);
    vertical-align: top;
}
.short .user-card-presence {
    margin: 6px 4px 6px 2px;
    vertical-align: top;
}
.chat-topic-buttons .button {
    margin: 0 0 0 26px;
    cursor: pointer;
}
.chat-topic-buttons .disabled .button {
    cursor: default;
}
.chat-topic-buttons i {
    --icon-size: 24px;
    --mask-color: var(--secondary-blue);
}
.contacts-info .tiny-button {
    margin: 1px 0 0 0;
    position: absolute;
    right: 4px;
}
.contacts-info .user-card-data {
    line-height: 0;
    padding-inline-start: 10px;
    -webkit-padding-start: 10px;
    padding-inline-end: 15px;
    -webkit-padding-end: 15px;
}
.rtl .contacts-info .user-card-data {
    max-width: 74%;
}
.chat-right-area .buttons-block {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding: 14px 16px;
    margin: 16px 0px;
}
.chat-right-area .buttons-block .chat-right-head-txt {
    margin-bottom: 14px;
}
.chat-right-area .room-settings-banner {
    display: flex;
    align-items: start;
    justify-content: space-between;
    margin: 10px 0;
    width: 100%;
    overflow: hidden;
    clear: both;
    font: var(--text-body2);
    color: var(--text-color-medium);
}
.chat-right-area .room-settings-banner i {
    padding: 0 7px;
    --icon-size: 22px;
    --mask-color: var(--icon-rest);
}
.chat-right-area .room-settings-banner a {
    color: var(--secondary-blue);
    padding: 0 3px;
}
.chat-right-area .link-button {
    white-space: normal;
    margin: 2px 0;
    width: 100%;
}
.chat-right-area .link-button i {
    --icon-size: 24px;
    --mask-color: var(--icon-rest);
}
.rtl .chat-right-area .link-button i {
    float: right;
    margin: 4px 6px 0 0;
}
.chat-right-area .link-button.light:not(.disabled):hover i,
.chat-right-area .dropdown-item.link-button.light:not(.disabled):hover i {
    --mask-color: var(--icon-active);
}
.chat-right-area .link-button.room-settings-button {
    height: auto;
}
.chat-right-area .link-button .mega-switch {
    position: absolute;
    top: 4px;
    right: 6px;
}
.rtl .chat-right-area .link-button .mega-switch {
    left: 6px;
    right: unset;
}
.chat-right-area .link-button.disabled .mega-switch,
.chat-right-area .link-button.disabled .mega-feature-switch {
    cursor: default;
}
.chat-right-area .link-button.push-settings-button {
    height: auto;
}
.chat-right-area .link-button.light.push-settings-button > span:first-of-type,
.chat-right-area .link-button.light.room-settings-button > span:first-of-type {
    width: calc(100% - 100px);
}
.chat-right-area .link-button.push-settings-button span.label--green {
    display: block;
    margin: -10px 0 0 0;
    color: var(--text-color-medium);
}
.chat-right-area .link-button.room-settings-button span.label--green {
    display: block;
    padding-inline-start: 35px;
    line-height: 18px;
    color: var(--text-color-low);
}
.chat-right-area .link-button.push-settings-button span.label--green strong {
    color: var(--label-green);
    font: var(--text-body1-bold);
}
.chat-right-area .link-button.clear-history-button {
    height: auto;
}
.chat-right-area .link-button.history-retention-btn {
    height: 53px;
}

.chat-right-area .link-button.history-retention-btn .label--red {
    line-height: 18px;
    color: var(--label-red);
}

.chat-right-area .link-button.green {
    color: var(--label-green);
}
.chat-right-area .link-button i.get-link {
    margin-right: 0;
    margin-left: 7px;
}
.chat-right-area .big-button {
    margin: 25px 23px 0 23px;
}
.right-chat-contact-card .contact-card-dropdown .dropdown-white-arrow {
    margin-left: 59px;
}
.date-time {
    font: var(--text-body2);
    color: var(--text-color-medium);
}
.round-icon-block {
    width: 36px;
    height: 36px;
    display: block;
    border: 2px solid white;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
    border-radius: 100%;
    -webkit-box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.1);
    box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.1);
    overflow: hidden;
}
.grey-color {
    color: #999999;
}
.buttons-block {
    padding: 11px 0 0 0;
}
.contacts-info .contacts-icon {
    float: right;
    margin-top: 5px;
    margin-inline-end: 4px;
    -webkit-margin-end: 4px;
}
.rtl .contacts-info .contacts-icon {
    float: left;
}
.contacts-info .contacts-icon:hover {
    border-radius: 4px;
}
.contacts-info .contacts-icon i {
    --icon-size: 24px;
    --mask-color: var(--icon-rest);
}
.group-chat .contacts-info .user-card-data {
    padding-left: 10px;
    overflow: hidden;
    height: 32px;
}
.chat-heading-area {
    height: 36px;
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
}
.chat-heading-area .chat-heading {
    display: inline-block;
    line-height: 38px;
}
.chat-heading-area .chat-heading span {
    margin: 0 12px 0 24px;
    font-family: 'source_sans_prosemibold';
    font-size: 15px;
}
.chat-heading-area .chat-heading i {
    margin-top: 8px;
}
.add-chat-contact {
    font-size: 14px;
    color: #2BA6DE;
    text-align: left;
    font-family: 'source_sans_prosemibold';
    padding-left: 20px;
    margin-top: 15px;
    margin-bottom: 20px;
    cursor: pointer;
}
.chat-button-separator {
    display: block;
    width: 100%;
    border-top: 1px solid var(--divider-color);
    margin: 4px 0;
}
.dropdown.body.wide-dropdown.attach-to-chat-popup.light {
    padding-bottom: 8px;
}
.public-observer-block {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding: 20px 0 24px;
    margin: 16px 16px 0 16px;
}
.public-observer-block .chat-white-counter {
    float: right;
    background-color: rgba(0,0,0,0);
    height: 16px;
    padding: 0 6px;
    margin: 2px 0 0 0;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    color: #666;
    border: 1px solid #777;
    font-size: 12px;
    line-height: 16px;
}
.join-chat-block {
    height: 72px;
    text-align: center;
    background-color: var(--stroke-main);
}
.join-chat-block .join-chat-button:hover {
    opacity: 1;
    -webkit-transition: opacity 150ms ease-in-out;
    -moz-transition: opacity 150ms ease-in-out;
    -o-transition: opacity 150ms ease-in-out;
    -ms-transition: opacity 150ms ease-in-out;
    transition: opacity 150ms ease-in-out;
}
.group-chat .chat-right-pad .contacts-info.body {
    padding: 0 1px 0 0;
    height: 32px;
}
.group-chat .contacts-info .contacts-icon {
    margin: 2px 0 0 0;
    padding: 2px 3px 2px 3px;
}
.group-chat .chat-contacts-list-inner .contacts-info.body.right-chat-contact-card {
    max-height: 36px;
    min-height: 32px;
}

.chat-dropdown.container.is-loading {
    opacity: 0.4;
}
.chat-shared-files-container {
    opacity: 1;
    transition: opacity 150ms ease-in-out;
}
.chat-shared-files-container.is-loading {
    opacity: 0.4;
}

.chat-dropdown.header {
    align-items: center;
    box-sizing: content-box;
    color: var(--text-color-high);
    cursor: pointer;
    display: flex;
    font: var(--text-h3-bold);
    height: 48px;
    justify-content: space-between;
    padding-inline-start: 10px;
    padding-inline-end: 10px;
}
.chat-dropdown ~ .chat-dropdown .chat-dropdown.header {
    border-top: 1px solid var(--divider-color);
}
.chat-dropdown.content {
    padding: 0 14px 4px 14px;
    line-height: 0;
}
.chat-dropdown.content.chat-occurrences-panel {
    padding: 0 10px 4px 0;
    line-height: inherit;
}
.chat-dropdown.content.buttons {
    padding: 0 8px 4px 8px;
}
.chat-dropdown.content.small-pad {
    padding: 0 10px 4px 12px;
}
@-webkit-keyframes fadeinslide {
    0% {
        opacity: 0.2;
        transform: translateY(-10px);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-4px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}
@keyframes fadeinslide {
    0% {
        opacity: 0.2;
        transform: translateY(-4px);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-1px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}
.chat-dropdown.content.small-pad {
    -webkit-animation: fadeinslide 0.2s forwards ease-in;
    animation: fadeinslide 0.2s forwards ease-in;
}
.chat-dropdown.content.small-pad .link-button {
    margin: 4px -2px 4px -4px;
    width: auto;
    display: block;
}
.chat-dropdown.header i {
    transform: rotate(-90deg);
    transition: transform 200ms ease-in-out;
    --icon-size: 24px;
    --mask-color: var(--icon-rest);
}
.chat-dropdown.header.expanded i {
    transform: rotate(0deg);
}
.chat-dropdown.empty-txt {
    padding: 0 0 10px 0;
    font: var(--text-body1);
    color: var(--text-color-high);
}
.chat-dropdown.empty-txt.loading-initial {
    min-height: 120px;
}
.chat-dropdown .link-button.light span,
.chat-dropdown .dropdown-item.link-button.light span {
    padding-inline-start: 35px;
    -webkit-padding-start: 35px;
    padding-inline-end: 0;
    -webkit-padding-end: 0;
}
.rtl .chat-dropdown .link-button.light span {
    text-align: right;
}
.chat-dropdown button.invite-dialog-btn {
    margin: 6px 0;
    --mask-color: var(--secondary-green);
}
.chat-dropdown button.invite-dialog-btn span {
    font: var(--text-body1-bold);
}
.chat-shared-block {
    padding: 5px 0;
    position: relative;
    border-top: 1px solid var(--divider-color);
    opacity: 1;
    transition: opacity 150ms ease-in-out;
}
.chat-shared-block.is-loading {
    opacity: 0.3;
}
.chat-shared-block > * {
    cursor: pointer;
}
.chat-shared-block .shared-folder-access{
    position: absolute;
    top: 23px;
    z-index: 1;
    right: -5px;
}
.chat-shared-block:first-child {
    border: 0;
}
.chat-shared-block > * {
    -webkit-animation: fadeinslide 0.2s forwards ease-in;
    animation: fadeinslide 0.2s forwards ease-in;
}
.chat-shared-block .item-type-icon-90 {
    --icon-size: 48px;
    float: left;
    margin: 4px -6px;
}
.chat-shared-block .icon-or-thumb  .img-wrapper {
    display: none;
}
.chat-shared-block .icon-or-thumb.thumb .img-wrapper {
    display: block;
}
.chat-shared-block .icon-or-thumb.thumb .item-type-icon-90 {
    display: none;
}

.chat-shared-block .chat-shared-info {
    padding: 0 0 0 51px;
    font: var(--text-body1-bold);
    color: var(--text-color-medium);
}
.chat-shared-block.incoming .chat-shared-info {
    padding: 9px 35px 9px 51px;
    text-align: left;
}
.chat-shared-block .chat-shared-info .txt {
    display: block;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
}
.chat-shared-block .chat-shared-info .txt:first-child {
    font: var(--text-body1-bold);
    color: var(--text-color-high);
}
.chat-shared-block .chat-shared-info .small {
    font: var(--text-body2);
    min-height: 18px;
}
.chat-shared-block .chat-shared-info .small .emoji {
    width: 14px;
    height: 14px;
}
.chat-shared-block .chat-shared-info .grey {
    color: var(--text-color-low);
}
.chat-shared-block .img-wrapper {
    width: 36px;
    height: 36px;
        margin: 9px 0 0 0;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    overflow: hidden;
    float: left;
    background-repeat: repeat;
    background-size: 24px 24px;
    background-position: 0 0, 0 12px, 12px -12px, -12px 0px;
    background-image: linear-gradient(45deg, rgba(222,222,222,0.72) 25%, transparent 25%), linear-gradient(-45deg, rgba(222,222,222,0.72) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(222,222,222,0.72) 75%), linear-gradient(-45deg, transparent 75%, rgba(222,222,222,0.72) 75%);
    position: relative;
}
.chat-shared-block .img-wrapper img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.chat-share-nav.body {
    text-align: center;
    margin: 13px 0 12px 0;
    position: relative;
}
.chat-share-nav.show-all {
    cursor: pointer;
}
.chat-share-nav.body::before {
    content: '';
    display: block;
    border-top: 1px solid var(--divider-color);
    position: absolute;
    width: 100%;
    top: -13px;
    left: 0;
}
.chat-share-nav.body span {
    --icon-size: 24px;
    display: inline-block;
    vertical-align: top;
    font-size: 13px;
    line-height: 18px;
    position: relative;
}
.chat-share-nav.button {
    width: 24px;
    height: 24px;
    border-radius: 100%;
    background: #ffffff;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmYWZhZmEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, #ffffff 0%, #fefefe 100%);
    background: -webkit-linear-gradient(top, #ffffff 0%,#fefefe 100%);
    background: linear-gradient(to bottom, #ffffff 0%,#fefefe 100%);
    -webkit-box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.45);
    -moz-box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.45);
    box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.45);
    position: relative;
    cursor: pointer;
    float: left;
    margin: 4px 0 0 0;
}
.chat-share-nav.button::before {
    content:'';
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 100%;
    -webkit-box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
    -moz-box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
    background-image: url(../images/mega/new-chat-sprite.png);
    background-position: -41px -973px;
}
.chat-share-nav.button.next {
    float: right;
}
.chat-share-nav.button.next::before {
    background-position: -67px -973px;
}
.chat-share-nav.pages {
    font: var(--text-body2);
    color: var(--text-color-high);
    text-align: center;
    padding: 7px 30px 3px 30px;
}
.chat-share-nav.body .txt {
    padding: 2px 0 0 6px;
}
.chat-share-nav .item-type-icon {
    position: absolute;
    left: 0;
    top: 0;
}
.chat-share-nav .item-type-icon .item-type-icon {
    position: absolute;
    left: 3px;
    top: -2px;
}
/* Old chat stuff */
.fm-chat-popup-button {
    height: 32px;
    line-height: 31px;
    padding: 0 15px 0 50px;
    font-size: 13px;
    cursor: pointer;
    position: relative;
    color: #cccccc;
    white-space: nowrap;
    background-color: rgba(255,255,255,0);
    -webkit-transition: background-color 200ms ease-in-out;
    -moz-transition: background-color 200ms ease-in-out;
    -o-transition: background-color 200ms ease-in-out;
    -ms-transition: background-color 200ms ease-in-out;
    transition: background-color 200ms ease-in-out;
    background-image: url(../images/mega/fm-main-sprite.png);
    background-position: 0 -2516px;
    background-repeat: no-repeat;
}
.fm-chat-popup-button:hover, .fm-chat-popup-button.active {
    background-color: rgba(213,22,0,1);
    color: white;
}
.fm-chat-popup-button.start-chat, .fm-chat-popup-button.disabled.start-chat, .fm-chat-popup-button.disabled.start-chat:hover {
    background-position: 0 -7018px;
}
.fm-chat-popup-button.start-chat:hover, .fm-chat-popup-button.start-chat.active {
    background-position: 0 -7260px;
    background-color: rgba(29,161,233,1);
}
.fm-chat-popup-button.start-audio, .fm-chat-popup-button.disabled.start-audio, .fm-chat-popup-button.disabled.start-audio:hover {
    background-position: 1px -1799px;
}
.fm-chat-popup-button.start-audio:hover, .fm-chat-popup-button.start-audio.active {
    background-position: 0px -2259px;
    background-color: rgba(29,161,233,1);
}
.fm-chat-popup-button.start-video, .fm-chat-popup-button.disabled.start-video, .fm-chat-popup-button.disabled.start-video:hover {
    background-position: -1px -1764px;
}
.fm-chat-popup-button.start-video:hover, .fm-chat-popup-button.start-video.active {
    background-position: -1px -2004px;
    background-color: rgba(29,161,233,1);
}
.fm-chat-popup-button.disabled, .fm-chat-popup-button.disabled:hover {
    opacity: 0.6;
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=60);
    -moz-opacity: 0.6;
    -khtml-opacity: 0.6;
    background-color: transparent !important;
    color: #cccccc;
    cursor: default;
}
.fm-chat-user-info {
    float: left;
    margin: 7px 0 0 12px;
    display: block;
}
.fm-chat-user {
    font-size: 14px;
    line-height: 18px;
    color: #333;
    margin-right: 20px;
    font-family: 'source_sans_prosemibold';
    display: block;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
}
.calculated-width {
    width: -webkit-calc(100% - 330px);
    width:    -moz-calc(100% - 330px);
    width:         calc(100% - 330px);
}
/* End of Old chat stuff */

.chat-right-pad .link-button .small-icon.chat-lock {
    margin-top: 3px;
}
.chat-contactspicker-no-contacts .section-icon {
    --icon-size: 120px;
    --mask-color: var(--secondary-grey);
    display: inline-block;
}
.chat-contactspicker-no-contacts .fm-empty-description {
    padding: 1px 0 29px;
}
.group-chat-dialog.description.chatlinks-intermediate-msg {
    margin: 4px 48px 0 48px;
    padding: 8px;
    background: var(--banner-background-error);
    border: 1px solid var(--banner-border-error);
    border-radius: 4px;
    font: var(--text-body1);
    color: var(--banner-text-error);
    text-align: center;
}
.intermediate-state {
    opacity: 0.3;
}
.contacts-search-header.failed {
    border-color: red;
}
.contacts-search-header .mega-input.title-ontop {
    margin: 20px auto 10px;
}

.accordion-panels .accordion-text {
    border-top: 1px solid var(--divider-color);
    padding: 13px 10px;
    height: 48px;
    box-sizing: border-box;
    color: var(--text-color-high);
    font: var(--text-h3-bold);
    position: relative;
}

.accordion-panels .accordion-text.observers span.observers-count {
    float: right;
    display: flex;
    justify-content: space-between;
    padding: 0 4px;
    min-width: 25px;
    border: 1px solid var(--divider-color);
    border-radius: 4px;
    font: var(--text-caption);
}
.accordion-panels .accordion-text.observers span.observers-count i {
    --icon-size: 16px;
    --mask-color: var(--icon-rest);
}

.chat-topic-block .disabled,
.chat-right-pad .disabled,
.chat-right-pad .disabled.button {
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    /* Firefox 10+ */
    filter: gray;                        /* IE6-9 */
    -webkit-filter: grayscale(1);     /* Chrome 19+ & Safari 6+ */
    -webkit-transition: all .6s ease;    /* Fade to color for Chrome and Safari */
    -webkit-backface-visibility: hidden;
    opacity: 0.5;
}




.chat-links-preview-desktop .chatlink-contents {
    text-align: center;
}

.chat-links-preview-desktop .bottom-buttons {
    background: var(--surface-grey-1);
    height: 60px;
    border-bottom-right-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
    padding: 12px 18px;
    position: relative;
    text-align: center;
}

.chat-links-preview-desktop .bottom-buttons button {
    margin-left: 10px;
}

.chat-links-preview-desktop .huge-icon {
    margin-top: 16px;
}

.chat-links-preview-desktop .chatlink-contents span {
    display: block;
    color: var(--text-color-medium);
    font-size: 16px;
    margin-top: 32px;
    margin-bottom: 24px;
}
.chat-links-preview-desktop .chatlink-contents h3 {
    color: var(--text-color-medium);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.52px;
    line-height: 24px;
    text-align: center;
    margin-top: 24px;
    margin-bottom: 6px;
}
.chat-links-preview-desktop .chatlink-contents h5 {
    color: var(--text-color-medium);
    font-size: 16px;
    font-weight: normal;
    letter-spacing: -0.18px;
    line-height: 21px;
    text-align: center;
    margin: 0;
    margin-bottom: 32px;
    margin-top: 12px;
}

.chat-links-preview-desktop .chatlink-contents a.join-chat {
    background-color: rgba(0,191,165,1);
    border-radius: 4px;
    color: rgba(255,255,255,1);
    font-size: 20px;
    line-height: 40px;
    text-align: center;
    padding: 0 24px;
    width: 35%;
    display: block;
    margin: 0 auto;
}

.chat-links-preview-desktop .chatlink-contents a.not-now {
    color: #F0373A;
    font-size: 16px;
    text-align: center;
    padding: 0 24px;
    width: 60%;
    display: block;
    margin: 0 auto;
    margin-bottom: 18px;
    margin-top: 24px;
}

.chat-links-preview-desktop .chatlink-contents p {
    width: 80%;
    margin: 32px auto 32px auto;
    font-size: 15px;
    line-height: 20px;
}
.chat-links-preview-desktop .chatlink-contents p,
.chat-links-preview-desktop .chatlink-contents a.join-chat,
.chat-links-preview-desktop .chatlink-contents a.not-now {
    max-width: 500px;
}

.chat-links-preview-desktop .fm-dialog-title {
    font-size: 16px;
}

.chat-enable-key-rotation-paragraph p {
    line-height: 18px;
    margin-top: 0;
    padding-top: 0;
    color: var(--text-color-low);
    font: var(--text-body2);
}

button.new-chat-link {
    margin: 24px 0 0 0;
}
button.fm-empty-button {
    margin: 0;
}
.chat-contactspicker-no-contacts {
    text-align: center;
    padding: 0 48px;
}
.main-start-chat-dropdown .chat-contactspicker-no-contacts {
    min-height: 358px;
}
.chat-contactspicker-no-contacts .empty-share-public {
    text-align: center;
    display: block;
    margin-bottom: 50px;
}

.main-start-chat-dropdown.lhp-contact-selector .button-wrapper {
    display: flex;
    align-items: baseline;
    text-align: start;
    cursor: pointer;
}
.main-start-chat-dropdown.lhp-contact-selector .button-wrapper .button-title {
    padding-inline-start: 8px;
    -webkit-padding-start: 8px;
}

.dropdown.body.popup.contacts-search > div {
    position: relative;
    z-index: 100;
}

@keyframes fadeInOutLoopSubtle {
    0%   { opacity:1; }
    50%  { opacity:0.3; }
    100% { opacity:1; }
}
@-o-keyframes fadeInOutLoopSubtle {
    0%   { opacity:1; }
    50%  { opacity:0.3; }
    100% { opacity:1; }
}
@-moz-keyframes fadeInOutLoopSubtle {
    0%   { opacity:1; }
    50%  { opacity:0.3; }
    100% { opacity:1; }
}
@-webkit-keyframes fadeInOutLoopSubtle {
    0%   { opacity:1; }
    50%  { opacity:0.3; }
    100% { opacity:1; }
}

.contact-button-loading {
    display: inline-block;
    max-width: calc(100% - 60px);
    padding: 0 10px 0 0;
}

.contact-name-loading {
    background-color: #E5E5E5;
    width: 96px;
    height: 10px;
    display: inline-block;
    border-radius: 3px;
    content: "...";
    padding: 0 10px 0 0;
    vertical-align: top;
    box-sizing: border-box;
    position: relative;
    margin: 5px 0 4px 0;
    -webkit-animation: fadeInOutLoopSubtle 2s linear infinite;
    animation: fadeInOutLoopSubtle 2s linear infinite;
}

.contacts-info.body.right-chat-contact-card .contact-name-loading {
    margin: 6px 0 0 0;
}

.avatar-wrapper.default-bg {
    -webkit-animation: fadeInOutLoopSubtle 2s linear infinite;
    animation: fadeInOutLoopSubtle 2s linear infinite;
    background: url(../images/mega/avatar-loading.svg);
    background-size: auto 44px;
    background-position: 0 -6px;
}
.group-chat .chat-right-pad .avatar-wrapper.default-bg  {
    background-size: auto;
    background-position: 0 -4px;
}
.medium-avatar.default-bg {
    background-size: auto 248px;
    background-position: -14px -38px;
}
.chat-contacts-list .ps--active-y .right-chat-contact-card {
    width: 220px !important;
}

.mega-dialog.meetings-call-ended-dialog {
    width: 100%;
}

.mega-dialog.meetings-call-ended-dialog header > div > h3 {
    margin-left: 20px;
    margin-top: 4px;
}
.mega-dialog.meetings-call-ended-dialog header > div > .avatar {
    transform: scale(1.2);
}
.chat-links-logo-header {
    display: block;
    height: 44px;
    opacity: 1;
    overflow: visible;
    margin-top: 4px;
}
.chat-links-preview,
.chat-links-preview .chat-app-container {
    height: 100%;
}

.fm-right-files-block.in-chat.chatlink {
    -webkit-margin-start: 0;
    margin-inline-start: 0;
}
.chat-links-preview {
    overflow: hidden;
}
.conversationsApp .overflow-observer,
.dropdown.body .overflow-observer,
.overflow-observer {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* In-call notifications */
.in-call-notif {
    color: var(--text-color-white-high);
    height: 24px;
    position: absolute;
    top: 36px;
    z-index: 12;
    animation: fadein 2s;
    width: 100%;
    font: var(--text-body1);
    padding: 5px 0 0;
}

.in-call-notif span {
    vertical-align: top;
    display: inline-block;
    margin: 3px 0 0;
}

.in-call-notif i {
    vertical-align: top;
    display: inline-block;
    --icon-size: 24px;
    margin: 1px 7px 0;
    --mask-color: var(--icon-rest);
}

.in-call-notif.green {
    background-color: var(--secondary-green);
}

.in-call-notif.gray {
    background-color: var(--stroke-grey-1);
    color: var(--text-color-high);
}

.in-call-notif.neutral {
    white-space: nowrap;
    min-width: 254px;
    box-sizing: border-box;
    height: 36px;
    border: var(--stroke-grey-2);
    left: 50%;
    transform: translateX(-50%);
    top: 12px;
    color: var(--text-color-high);
    border-radius: 18px;
    text-align: center;
    background-color: var(--stroke-grey-1);
    width: auto;
    box-shadow: var(--dialog-shadow);
}

.in-call-notif.neutral.start {
    padding: 6px 8px;
    min-width: auto;
    height: auto;
}

.in-call-notif.neutral.join button,
.in-call-notif.neutral.start button {
    border-radius: 12px;
    padding: 0 12px;
    transition: color 200ms ease-in-out, background-color 200ms ease-in-out, border-color 200ms ease-in-out;
    display: inline-block;
    height: 24px;
    margin: -2px 7px 0 24px;
}

.in-call-notif.neutral.start button {
    margin: auto;
}

.in-call-notif.neutral .small-icon {
    margin-top: 7px;
    margin-left: 10px;
    margin-right: 10px;
}

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.in-call-notif.yellow {
    background-color: rgba(255, 165, 0, 0.8);
}

.in-call-notif.yellow.join {
    top: 0;
    text-align: center;
}

/* Occurrences RHP */

.chat-occurrences-list {
    margin: 0 0 10px;
    height: 420px;
}

.chat-occurrences-list-inner {
    padding-top: 5px;
    padding-inline-end: 12px;
    -webkit-padding-end: 12px;
}

.chat-occurrences-list-inner .loading-sketch {
    animation: fadeInOutLoopSubtle 2s linear infinite;
}

.chat-occurrence {
    margin: 0 0 24px;
    padding: 0 0 0 10px;
    font: var(--text-body2);
}

.chat-occurrence:last-child {
    padding-bottom: 15px;
}

.chat-occurrence:hover .chat-occurrence-controls {
    opacity: 1;
    transition: opacity 400ms ease-in-out;
}

.chat-occurrence:hover .chat-occurrence-content {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: box-shadow 200ms ease-in;
}

.chat-occurrence-date,
.chat-occurrence-title {
    font: var(--text-body2-bold);
    color: var(--text-color-high);
}

.chat-occurrence-date span {
    margin: 0 2px 0 0;
}

.loading-sketch .chat-occurrence-date,
.loading-sketch .chat-occurrence-title,
.loading-sketch .chat-occurrence-time {
    height: 10px;
    padding: 0;
    border-radius: 3px;
    background: #CBCBCB;
}

.loading-sketch .chat-occurrence-title {
    width: 90%;
    margin: 0 0 7px;
}

.loading-sketch .chat-occurrence-time {
    width: 70%;
}

.chat-occurrence-content {
    position: relative;
    margin: 8px 0 0;
    padding: 8px;
    border-radius: 4px;
    box-sizing: border-box;
    background: var(--surface-grey-2);
}

.chat-occurrence-title {
    overflow: hidden;
    padding: 0 0 6px;
    max-width: calc(100% - 50px);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-occurrence-controls {
    position: absolute;
    top: 8px;
    right: 0;
    --icon-size: 18px;
    opacity: 0;
}
.rtl .chat-occurrence-controls {
    left: 0;
    right: unset;
}

.chat-occurrence-control {
    float: left;
    margin-inline-end: 8px;
    -webkit-margin-end: 8px;
    cursor: pointer;
}

.rtl .chat-occurrence-control {
    float: right;
}

.mega-dialog.scheduled-description-dialog header h3 {
    text-align: start;
    padding: 24px 24px 12px;
}
.mega-dialog.scheduled-description-dialog section {
    max-height: 530px;
    min-height: 120px;
    padding: 0 24px 24px;
}
.mega-dialog.scheduled-description-dialog .description-scroller {
    padding-inline-end: 26px;
    -webkit-padding-end: 26px;
}
.mega-dialog.scheduled-description-dialog span {
    overflow-wrap: break-word;
}
.in-call .global-toast-container .toast-slot.mic-change {
    position: relative;
    top: -100px;
}
.dropdown.input-sources {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 16px 8px;
    position: absolute;
    margin: 8px 0 0;
    border-radius: 12px;
    border: var(--context-menu-border);
    background: var(--surface-main);
    box-shadow: var(--dropdown-shadow);
    width: 320px;
}
.dropdown.input-sources div {
    width: 100%;
}
.dropdown.input-sources .dropdown-item {
    padding: 0 4px;
}
.dropdown.input-sources .dropdown-item i {
    float: right;
    --icon-size: 16px;
}
.dropdown.input-sources hr {
    --divider-color: var(--stroke-grey-2);
}
.dropdown.input-sources .dropdown-item span {
    min-width: calc(100% - 16px);
}
.dropdown.input-sources div.source-label {
    color: var(--text-color-high);
    font: var(--text-body1);
    margin: 16px 0 8px;
    padding: 0 4px;
}
.dropdown.input-sources div.av-device-name {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    width: calc(100% - 32px);
}

.conversation-panel .call-user-limit-banner {
    background: rgba(255, 153, 36, 1);
    border-radius: 4px;
    color: rgba(255, 255, 255, 1);
    padding: 4px;
    position: absolute;
    top: 8px;
    left: 8px;
    text-align: center;
    width: calc(100% - 25px);
    z-index: 120;
}

/*[class*=emoji-] {*/
    /*text-indent: -9999em;*/
    /*font-size: 14px;*/
    /*height: 20px;*/
    /*width: 20px;*/
    /*top: -2px;*/
    /*position: relative;*/
    /*display: inline-block;*/
    /*margin: 0 2px;*/
    /*line-height: normal;*/
    /*vertical-align: middle;*/
    /*background-image: url("../images/mega/emoji-sprites-v1.png");*/
    /*background-size: 3600%;*/
    /*background-repeat: no-repeat;*/
/*}*/
.emoji.demo-icon {
    display: block;
    float: left;
    top: 0;
    margin: 14px 0 0 0;
}

.emoji.square-button {
    margin: 3px 5px 0 5px;
}
.emoji.square-button span {
    top: 6px;
}
.emoji.square-button img {
    top: 5px;
    position:relative;
}
.emoji-type-txt {
    font-size: 14px;
    line-height: 18px;
    color:#666666;
    text-transform:uppercase;
    padding: 21px 11px 13px 11px;

}
.emoji-type-txt:first-child {
    padding: 2px 11px 15px 11px;
}

.emoji.title {
    font-size: 14px;
    line-height: 18px;
    color: #666666;
    float: left;
    margin-top: 15px;
    margin-inline-start: 10px;
    -webkit-margin-start: 10px;
}
.rtl .emoji.title {
    float: right;
}

.emoji.emoji-loading {
    background-color: rgba(0, 0, 0, 0.02);
    border-radius: 6px;
}

.emoji-preview {
    padding-left: 10px;
}
.emoji-preview img {
    float: left;
    display: inline-block;
    vertical-align: top;
    margin: 14px 0px 0 0 !important;
}
.rtl .emoji-preview img {
    float: right;
}
.dropdown.emoji .loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    padding: 0 24px;
    color: var(--text-color-medium);
}
.popup-footer.emoji .button i {
    margin: 6px auto 0;
}

img.emoji,
.chat-topic-block img.emoji.big,
.small-info-txt img.emoji.big,
.result-table-row img.emoji.big,
.fm-picker-dialog img.emoji.big {
    width: 20px;
    height: 20px;
    display:inline-block;
    vertical-align: middle;
    margin-top: -3px;
    margin-left: 2px;
    margin-right: 2px;
}
.result-table-row img.emoji,
.result-table-row img.emoji.big {
    margin-top: -3px;
}

.fm-picker-dialog img.emoji.big {
    margin-top: 2px;
}

img.emoji.big {
    width: 32px;
    height: 32px;
    display:inline-block;
    vertical-align: middle;
    margin-top: 4px;
    margin-bottom: 6px;
    margin-left: 2px;
    margin-right: 2px;
}


.conversations-pane img.emoji {
    width: 12px;
    height: 12px;
}
.chat-right-area img.emoji.big,
.chat-topic-block .chat-topic-text img.emoji.big,
.chat-topic-block .user-card-data img.emoji.big {
    width: 20px;
    height: 20px;
    margin: 0;
}
.messages-block .message.body .user-card-name .emoji.big,
.messages-textarea-placeholder .emoji {
    width: 16px;
    height: 16px;
    margin-top: 0;
}


/** new hover/active styles for the emoji dropdown **/
.button.square-button {
    width: 32px;
    height: 32px;
    float: left;
    box-sizing: border-box;
    border-radius: 4px;
    -webkit-transition: all 100ms ease-in-out;
    transition: all 100ms ease-in-out;
    text-align: center;
}
.button.square-button:last-child {
    margin-right: 0;
}
.button.square-button i {
    transition: all 200ms ease-in-out;
    --icon-size: 24px;
    --mask-color: var(--icon-rest);
}
.button.square-button:hover i,
.button.square-button.active i {
    --mask-color: var(--icon-active);
}
.button.square-button:after {
    content: '';
    display: block;
    position: relative;
    bottom: -6px;
    left: -2px;
    width: 36px;
    height: 2px;
    transition: all 200ms ease-in-out;
}
.button.square-button.active:after {
    background-color: var(--stroke-info);
}
.button.square-button.emoji {
    cursor: pointer;
}

/* History Retention */

.mega-dialog.msg-retention-dialog {
    font: var(--text-font-family);
    width: 430px;
}

.mega-dialog.msg-retention-dialog p {
    text-align: center;
}

.mega-dialog.msg-retention-dialog .form {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    margin-top: 16px;
}

.mega-dialog.msg-retention-dialog .form-section {
    position: relative;
    width: 100%;
    margin-top: 6px;
}

.mega-dialog.msg-retention-dialog .form-section-radio {
    display: flex;
    flex-direction: column;
    height: 80px;
    justify-content: space-between;
    margin-top: 6px;
    margin-bottom: 51px;
}

.mega-dialog.msg-retention-dialog .form-section-time {
    background: var(--surface-grey-1);
    border: 1px solid var(--stroke-grey-2);
    border-radius: 4px;
    color: var(--text-color-medium);
    height: 32px;
    -webkit-margin-start: 15px;
    margin-inline-start: 15px;
    -webkit-padding-end: 40px;
    padding-inline-end: 40px;
    -webkit-padding-start: 10px;
    padding-inline-start: 10px;
    width: 125px;
}

.mega-dialog.msg-retention-dialog .form-section-placeholder {
    position: absolute;
    left: 46px;
    top: 6px;
    color: var(--text-color-low);
    pointer-events: none;
}

.rtl .mega-dialog.msg-retention-dialog .form-section-placeholder {
    left: auto;
    right: 44px;
}

.mega-dialog.msg-retention-dialog .form-section-time::placeholder {
    color: var(--text-color-low);
}

.mega-dialog.msg-retention-dialog .radio-txt {
    cursor: pointer;
    display: block;
    padding: 5px 0 11px;
    -webkit-padding-start: 36px;
    padding-inline-start: 36px;
    position: relative;
}

.mega-dialog.msg-retention-dialog .custom-radio {
    left: 6px;
    margin: 0;
    position: absolute;
    top: 6px;
}

.rtl .mega-dialog.msg-retention-dialog .custom-radio {
    left: auto;
    right: 6px;
}
