/* --------------------------------------------------------------------------------
 * Chat v4 footer styles
 * -------------------------------------------------------------------------------- */
html {
    -webkit-text-size-adjust: none;
}
.xg_theme-ningbar-bc {
    background-color: #000000;
}
.xg_theme-ningbar-c {
    color: #eee;
}
.xg_sprite {
    background-repeat: no-repeat;
    background-color: transparent;
    padding-left: 20px;
    line-height: 1.65em;
    *line-height: 1.45em;
    *overflow-y: visible;
    zoom: 1;
}
.xg_sprite-comment {
    background-position: left -401px;
}
.xg_sprite-window-popout {
    background-position: left -5692px;
}
.xg_sprite-window-minimize {
    background-position: left -5656px;
}
.xg_sprite-delete {
    background-position: left -435px;
}
.xg_icon-delete {
    background-position: left -3914px;
}
.xg_chat * {
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}
.xg_chat.chatFooter {
    font-size: 11px;
    line-height: 21px;
    bottom: 0;
    left: 0;
    position: fixed;
    width: 100%;
    height: 0;
    z-index: 999;
}
.xg_chat.chatFooter ul.cht-userList > li {
    margin: 5px 0;
    padding: 3px 3px 3px 12px;
    position: relative;
}
.xg_chat.chatFooter.with-wibiya-toolbar {
    bottom: 28px;
    /* Shift the Chat toolbar up to make room for the Wibiya toolbar */
}
.xg_chat .xg_volumeSliderContainer {
    bottom: 100%;
    padding: 6px 0 0;
    position: absolute;
    right: 32px;
    z-index: 999;
    width: 21px;
    height: 68px;
    border: 1px solid #eaeaea;
    background-color: #f7f7f7;
}
.xg_chat .xg_volumeSlider {
    background: #d8d8d8;
    border-radius: 4px;
    color: #707070;
    height: 61px;
    margin: 0 auto;
    position: relative;
    width: 7px;
    border: none;
}
.xg_chat .xg_volumeSlider > div {
    background: #b5b5b5;
    /* Override jquery-ui.custom.css */

    bottom: 0;
    position: absolute;
    width: 100%;
    border-radius: 6px;
}
.xg_chat .xg_volumeSlider > a {
    background-image: none;
    display: block;
    left: 0;
    margin-left: -1px;
    position: absolute;
    width: 9px;
    height: 9px;
    margin-bottom: -6px;
    border: none;
    border-radius: 50%;
    background-color: #000000;
    /* Override jquery-ui.custom.css */
}
.xg_chat .xg_volumeSlider > a:focus {
    outline: none;
    -webkit-box-shadow: 0 0 3px #151515;
    box-shadow: 0 0 3px #151515;
}
.xg_chat .xg_chatOptions {
    position: absolute;
    bottom: 100%;
    border: 1px solid #eaeaea;
    background-color: #ffffff;
    color: #a4a4a4;
    z-index: 999;
}
.xg_chat.chatFooter .xg_chatOptions {
    right: 8px;
}
.xg_chat.chatModule .xg_chatOptions {
    right: 0;
}
.xg_chat .xg_chatOptions div.option {
    padding-left: 3px;
    padding-right: 5px;
    cursor: pointer;
}
.xg_chat .xg_chatOptions div.xg_offline {
    padding-left: 3px;
    padding-right: 5px;
    cursor: pointer;
}
.xg_chat .xg_chatOptions div.option.optionOff .checkmark {
    visibility: hidden;
}
.xg_chat .xg_chatOptions div.option:hover {
    background-color: #e0e0e0;
    /* just the color; may also have a bg image if xg_sprite */
}
.xg_chat.chatFooter .xg_verticalPane {
    margin-right: 6px;
    height: 1px;
    float: right;
    position: relative;
    bottom: 1px;
}
.xg_chat.chatFooter .xg_chatWidth {
    width: 226px;
}
.xg_chat.chatFooter .xg_userWidth {
    width: 226px;
}
/* Wibiya hacks to move the sign in button */

.xg_chat.chatFooter #conversationViewContainer.xg_wibiyaMinimized {
    margin-right: 119px;
}
.xg_chat.chatFooter #conversationViewContainer.xg_wibiyaMaximized {
    bottom: 29px;
    margin-right: 12px;
}
.xg_chat .xg_bottomBar {
    color: #7a7a7a;
    background-color: #ddd;
    position: absolute;
    bottom: -1px;
    width: 100%;
    z-index: 999;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-pack: justify;
    -webkit-box-pack: justify;
    justify-content: space-between;
}
.xg_chat .xg_privateBar {
    background-color: #333333;
    color: #dedede;
    border-radius: 8px 8px 0 0;
    height: 34px;
    padding-top: 3px;
    padding-right: 27px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.xg_chat .xg_privateBar .xj_close {
    position: absolute;
    right: 0;
    width: 18px;
}
.xg_chat .xg_chatBar.xg_privateBar.xg_bottomBar a.cht-roomNameContainer {
    max-width: calc(100% - 54px);
    width: auto!important;
    position: relative;
    overflow: visible!important;
}
.xg_chat .xg_chatBar.xg_privateBar.xg_bottomBar a.cht-roomNameContainer .contents {
    width: 100%;
    overflow: hidden;
    display: inline-block;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.xg_chat .xg_chatBar.xg_privateBar.xg_bottomBar .count {
    background: #a1cb08!important;
}
.xg_chat.chatFooter .xg_chatWindow {
    position: absolute;
    bottom: 0;
    color: #333;
    height: 274px;
    width: 100%;
    -webkit-box-shadow: 0 2px 12px rgba(76, 76, 76, 0.5);
    box-shadow: 0 2px 12px rgba(76, 76, 76, 0.5);
    border-radius: 9px 9px 0 0;
    background-color: #ffffff;
    z-index: 999;
}
.xg_chat.chatFooter .xg_chatBar {
    cursor: pointer;
}
.xg_chat .xg_titleBar {
    padding: 3px 55px 3px 5px;
    /* 42px = 2*16px (icon width) + 2*5px (l/r padding around icons) */

    position: relative;
    /* for expand/popout icons */

    white-space: nowrap;
    text-overflow: ellipsis;
}
.xg_chat.chatFooter .xg_titleBar {
    border-radius: 8px 8px 0 0;
}
.xg_chat .xg_chatBar > a {
    line-height: 26px;
    height: 26px;
    text-decoration: none;
    cursor: pointer;
    font-size: 12px;
}
.xg_chat.chatModule .xg_chatBar > a {
    line-height: 33px;
    height: 33px;
}
.xg_chat .xg_chatBar.xg_titleBar a.xg_info,
.xg_chat .xg_chatBar.xg_titleBar a.cht-roomNameContainer {
    color: inherit;
}
.xg_chat .xg_chatBar.xg_titleBar > a {
    color: #d0d0d0;
    font-weight: bold;
}
.xg_chat .xg_chatBar.xg_titleBar > a:hover {
    color: #a1a1a1;
}
.xg_chat.chatFooter .xg_chatBar.xg_titleBar > a.xg_sprite {
    padding-left: 0;
    padding-right: 4px;
}
.xg_chat.chatModule .xg_titleBar p {
    padding-left: 5px;
    padding-right: 4px;
}
.xg_chat.chatFooter .xg_chatBar.xg_titleBar a.xg_expand {
    position: absolute;
    top: 2px;
    right: 22px;
    font-size: 17px;
    line-height: 29px;
}
.xg_chat.chatFooter .xg_chatBar.xg_titleBar a.xg_sprite-delete {
    cursor: pointer;
    position: absolute;
    right: 2px;
    width: 16px;
}
.xg_chat .xg_titleBar .xg_info,
.xg_chat .xg_titleBar .cht-roomNameContainer,
.cht-backFromMobileChat,
.cht-backFromRoom {
    float: none;
    background-image: none;
    font-size: 12px;
    font-weight: bold;
    font-family: Arial, Helvetica, FreeSans, sans-serif;
    padding-left: 0;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    text-align: center;
}
.cht-backFromMobileChat,
.cht-backFromRoom {
    color: inherit;
    font-weight: bold;
}
.xg_chat .cht-backFromMobileChat .icon,
.xg_chat .cht-backFromRoom .icon {
    margin: 0 3px 0 0;
    overflow: visible;
    line-height: 24px;
    font-size: 18px;
    width: 8px;
}
.xg_chat .cht-backFromMobileChat .icon:before,
.xg_chat .cht-backFromRoom .icon:before {
    line-height: 22px;
    height: 24px;
}
.xg_chat.chatFooter .xg_chatBar.xg_titleBar a.xg_info:hover,
.xg_chat.chatFooter .xg_chatBar.xg_titleBar a.cht-roomNameContainer:hover {
    background-image: none;
}
.xg_chat .xg_chatBar.xg_bottomBar > a {
    display: inline-block;
    color: inherit;
    vertical-align: top;
}
.xg_chat .xg_chatBar a:hover {
    text-decoration: none;
}
.xg_chat .xg_chatBar.xg_bottomBar a.xg_info,
.xg_chat .xg_chatBar.xg_bottomBar a.cht-roomNameContainer {
    border-left: none;
    width: 100%;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.xg_chat.chatFooter .xg_chatBar.xg_bottomBar .xg_info .count,
.xg_chat.chatFooter .xg_chatBar.xg_bottomBar .cht-roomNameContainer .count,
.xg_chat.chatFooter .xg_chatWindow .cht-chatUsers .cht-count,
.xg_chat.chatFooter .xg_chatWindow .cht-chatGroups .cht-count,
.xg_chat .cht-chatUsers .userEntry .cht-count,
.xg_chat .cht-chatGroups .userEntry .cht-count {
    margin-left: .75em;
    padding: 1px .65em;
    height: 12px;
    line-height: 12px;
    top: 10px;
    right: 5px;
    border-radius: 21px;
    background-color: #ff9f33;
    font-weight: bold;
    color: #ffffff;
    font-size: 10px;
    position: absolute;
}
.xg_chat .xg_chatBar.xg_bottomBar .xg_info.chatTitle,
.xg_chat .xg_info.chatTitle_middle,
.xg_chat.chatFooter .xg_chatBar.xg_bottomBar .cht-roomNameContainer .contents,
.xg_chat.chatFooter.signedOut .xg_chatBar.xg_bottomBar .xg_info {
    font-family: Arial, Helvetica, FreeSans, sans-serif;
    font-weight: bold;
}
.xg_chat .xg_info.chatTitle_middle {
    color: #a6a6a6;
    font-size: 14px;
    font-weight: 400;
    display: block;
    text-align: center;
    border-top: 1px solid #eeeeee;
    padding: 4px 10px 0;
} .xg_chat .cht-addGroupSection {
    display: flex;
    flex-direction: column;
    position: absolute;
    z-index: 2;
    background: #fff;
    left: 0;
    top: 51px;
    right: 0;
    bottom: 15px;
    padding: 10px;
    width: auto;
}
.xg_chat .cht-addGroupSection.cht-Big {
    top: 37px;
}

.xg_chat .cht-addGroupSection .cht-searchResults {
    top: 26px;
}
.xg_chat .cht-addGroupSection .buttonsGroup {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
}
.xg_chat .cht-addGroupSection .xg_search .cht-searchResults {
    top: 26px;
}
.xg_chat .buttonAddGroup {
    font-size: 14px;
    font-weight: 400;
    float: right;
    padding: 1px 10px 2px 10px;
    display: flex;
    margin-top: 2px;
    line-height: 18px;
}
.xg_chat .withAddGroup {
    display: inline-block;
    margin-left: 27px;
}
.xg_search {
    width: 80%;
    position: relative;
    margin: 10px auto;
}
.xg_search .xg_inputSearch {
    color: #000000;
    font-size: 14px;
    font-family: Arial, Helvetica, FreeSans, sans-serif;
    line-height: 24px;
    padding: 0 10px;
    height: 26px;
    border-radius: 100px;
    border: 1px solid #eeeeee;
    display: block;
    margin: 0 auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #fff;
    width: 100%;
}
.xg_search .cht-searchResults {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 2;
    background-color: #ffffff;
    -webkit-box-shadow: 0 2px 5px 0 #dedede;
    box-shadow: 0 2px 5px 0 #dedede;
    border-radius: 0 0 4px 4px;
    max-height: 128px;
    overflow: auto;
    margin-top: 10px;
}
.xg_search .cht-searchResults li {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    min-height: 41px;
    padding: 5px 5px;
}
.xg_search .cht-searchResults a {
    display: flex;
    align-items: center;
    min-height: 35px;
    text-decoration: none;
}
.xg_search .cht-searchResults a i {
    top: -7px;
}
.xg_search .cht-searchResults a span {
    display: inline-block;
    color: #000;
    width: calc(100% - 45px);
    max-height: 35px;
    overflow: hidden;
    line-height: 12px;
    font-size: 12px;
    padding-left: 10px;
    vertical-align: middle;
}
.xg_search .cht-searchResults img {
    height: 35px;
    width: 35px;
    border-radius: 50%;
    vertical-align: top;
}
.xg_chatBa.xg_privateBar .contents {
    margin-right: 15px;
}
.xg_chat .icon {
    margin: 0;
    overflow: visible;
    position: relative;
    font-size: 13px;
}
.xg_chat.chatModule .icon-paperclip,
.xg_chat.chatModule .icon-add-image {
    height: 14px;
    width: 14px;
}
.xg_chat .icon:before {
    color: #a3a3a3;
    font-size: 15px;
    line-height: inherit;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    margin-right: 0;
    left: 0;
}
/*.xg_chat .icon:hover {
    background-position-x: -4.25em;
}*/

.xg_chat .icon:hover:before,
.xg_chat .icon:focus:before,
.xg_chat .icon:active:before {
    color: #a1a1a1;
}
.xg_chat .xg_chatBar a.xg_volume {
    width: 12px;
    margin-left: auto;
}
.xg_chat .xg_chatBar a.xg_volume.xg_muted .icon-volume-up {
    background-position: -0.25em -72.25em;
}
.xg_chat .xg_chatBar a.xg_volume.xg_muted .icon-volume-up:before {
    content: '\f026';
}
/*
 The rest of the toolbar's hover states do not work. Uncomment this to enable
 hover states for the volume button.
.xg_chat .xg_chatBar a.xg_volume:hover {
    background-position: 0 -330px !important;
}

.xg_chat .xg_chatBar a.xg_volume.xg_muted:hover {
    background-position: 0 -390px !important;
}
*/

.xg_chat .xg_chatBar a.xg_status {
    width: 27px;
    margin-left: 11px;
}
.xg_chat .xg_chatBar a.xg_status:before {
    display: inline-block;
    content: '';
    width: 4px;
    height: 4px;
    background-color: #92e32b;
    vertical-align: middle;
    border-radius: 50%;
    margin-right: 3px;
}
.xg_chat.chatModule .xg_chatBar a.xg_status {
    width: 29px;
}
.xg_chat.chatFooter .xg_chatBar span.xg_close {
    cursor: pointer;
    position: absolute;
    /*bottom: 5px;*/

    bottom: 6px;
    right: 1px;
    width: 12px;
    height: 12px;
}
.xg_chat .xg_chatBar a.xg_status-offline {
    width: 27px;
    background-position: 0 -120px;
}
.xg_chat .xg_chatBar a.xg_status-offline:before {
    background-color: #ff3939;
}
/* Add file button*/

.addFileButton,
.addFileButton.icon {
    display: block;
    height: 16px;
    /* height of icon + 2px top padding */

    width: 13px;
    /* width of icon + 2px right padding */

    right: 2px;
    position: absolute;
    top: 3px;
}
.addFileButton.icon:before {
    font-size: 16px;
    line-height: normal;
    color: #a3a3a3;
}
/* Smily insert button */

.emoticon-button {
    display: block;
    height: 18px;
    width: 18px;
    right: 24px;
    position: absolute;
    top: 3px;
}
.cht-send,
.xg_addFile,
.xg_addImage {
    display: block;
    width: 21px;
    right: 61px;
    position: absolute;
    top: 0;
    overflow: hidden;
    font-size: 14px;
}
.cht-send {
    cursor: pointer;
    right: 3px;
    width: 21px;
    height: 21px;
    top: 4px;
    line-height: normal;
    border-radius: 50%;
    background: #92e32b url(../../../components/gfx/chat/btn-send.png) no-repeat;
    background-size: contain;
}
.cht-send:hover {
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.xg_chat.chatFooter .cht-send {
    top: 2px;
    width: 18px;
    height: 18px;
}
.cht-send .icon {
    margin-top: -1px;
}
.cht-send .icon {
    color: #fff;
    width: 100%;
    height: 100%;
    background: none;
    visibility: hidden;
}
.cht-send:hover .icon,
.cht-send:hover .icon:hover {
    background: none;
    visibility: hidden;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.cht-send .icon:before {
    display: none;
}
.xg_addFile {
    right: 41px;
}
.xg_addFile .transparentFileInputButton-fileInput {
    width: 100%;
}
.xg_chat.chatModule .emoticon-button {
    top: 8px;
    right: 26px;
}
.xg_chat.chatModule .xg_addFile,
.xg_chat.chatModule .xg_addImage {
    top: 6px;
}
.emoticon-button svg {
    fill: #a3a3a3;
    stroke: #a3a3a3;
    width: 16px;
    height: 16px;
}
.emoticon-button:hover svg,
.emoticon-button:focus svg {
    fill: #a1a1a1;
    stroke: #a1a1a1;
}
.xg_chat .xg_chatWindow.roomDisabled .emoticon-button,
.xg_chat .xg_chatWindow.roomDisabled .xg_addImage,
.xg_chat .xg_chatWindow.roomDisabled .xg_addFile,
.xg_chat .xg_chatWindow.roomDisabled .cht-send {
    display: none;
}
.xg_addFile:focus .icon:before,
.xg_addImage:focus .icon:before {
    color: #a1a1a1;
}
/* Emoticon picker */

.emoticon-panel {
    background: white url(../../../components/gfx/chat/emoticons.png) no-repeat 3px 2px;
    /* balance out uneven padding on bg image */

    border: 1px solid #ebebeb;
    bottom: 100%;
    /* height of emoticon-panel w border (80 + 2)*/

    display: none;
    height: 80px;
    right: 0;
    position: absolute;
    width: 130px;
}
.xg_chat.chatFooter .xg_chatBar.xg_userBar a.xg_info {
    width: 119px;
}
.xg_chat.chatFooter .xg_optionsChat {
    position: absolute;
    width: 20px;
    height: 25px;
    right: 32px;
    top: 3px;
}
.xg_chat.chatModule .xg_optionsChat {
    position: absolute;
    width: 20px;
    height: 21px;
    right: 4px;
    top: 10px;
    text-align: center;
}
.xg_chat.chatModule .xg_optionsChat .icon {
    font-size: 14px;
    background-position-x: -6.25em;
}
.xg_chat.chatModule .xg_optionsChat .icon:before {
    color: #fff;
}
.xg_chat .xg_optionsChat-dropdown {
    display: none;
    left: 0;
    border: 1px solid #d8d8d8;
    background-color: #ffffff;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 1;
    padding-top: 8px;
    margin: 0;
    -webkit-box-shadow: 0 2px 5px 0 #dedede;
    box-shadow: 0 2px 5px 0 #dedede;
}
.xg_chat.chatModule .xg_optionsChat-dropdown {
    top: 42px;
    right: 0;
    left: auto;
}
.xg_chat .xg_optionsChat-dropdown li {
    list-style-type: none;
    padding: 0 11px 4px;
}
.xg_chat .xg_optionsChat-dropdown li.break-line {
    padding: 0;
    height: 1px;
    overflow: hidden;
    background: #d8d8d8;
    margin: 6px 0;
}
.xg_chat .xg_optionsChat-dropdown a {
    color: #000000;
    font-size: 13px;
    font-weight: 400;
    font-family: Arial, Helvetica, sans-serif;
    display: block;
    text-decoration: none;
}
.xg_chat .xg_optionsChat-dropdown a:hover {
    color: #b8b8b8;
    text-decoration: none;
    font-weight: normal;
}
.xg_chat.chatModule .xg_chatBar.xg_userBar a.xg_info {
    width: 143px;
    position: relative;
}
.xg_chat.chatFooter .xg_chatBar.xg_userBar a.xg_info.xg_info_full {
    width: 100%;
}
.xg_chat.chatFooter .xg_chatWindow ul.xg_messageList {
    overflow: auto;
    overflow-x: hidden;
    padding: 5px;
    margin: 0;
    border-bottom: 1px solid #b7b7b7;
}
.xg_chat .xg_chatWindow textarea {
    background: transparent;
    border-width: 0;
    display: block;
    font-family: inherit;
    font-size: 12px;
    /* This is the minimum height jquery autoResize will allow without resizing
       when you edit the field [Chris Brewer 2011-12-09] */

    height: 14px;
    line-height: 1.1em;
    margin: 0;
    outline: none;
    padding: 4px 0 4px 0;
    resize: none;
    width: 100%;
}
.xg_chat.chatModule .xg_chatWindow textarea {
    padding: 9px 0 8px 0;
}
.xg_chat .xg_chatWindow .textarea-container {
    margin: 0 82px 0 12px;
    max-height: 80px;
    overflow-y: auto;
}
.xg_chat .emoticonContainer {
    position: relative;
}
.xg_chat .emoticonContainer.withScrollbar .emoticon-button {
    /*right: 16px;*/
}
.xg_chat.chatFooter .xg_chatWindow textarea:focus {
    background: transparent;
    /* override textarea:focus in common[-982].css */
}
.xg_chat.chatFooter .xg_chatWindow ul.cht-chatUsers {
    height: 252px;
    /* 300px max chat-window height - 21px title-bar height - 6px title-bar padding - 21px bottom-bar height */

    overflow: auto;
    padding: 0;
    margin: 0;
}
.xg_chat.chatFooter .xg_chatWindow ul.cht-chatGroups {
    overflow: hidden;
    padding: 0;
    margin: 0;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    position: relative;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.xg_chat.chatFooter .cht-chatGroups > li {
    -ms-flex: 0 0 48px;
    -webkit-box-flex: 0;
    flex: 0 0 48px;
    margin: 0;
    padding: 6px 0 6px 5px;
    clear: both;
    list-style: none;
    cursor: pointer;
    position: relative;
    /* height: 24px; */
}
.xg_chat .cht-chatGroups > li.cht-viewAll {
    display: none;
    position: relative;
    height: 26px;
    line-height: 26px;
    width: 100%;
    padding: 0;
    margin: 0;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
}
.xg_chat .cht-chatGroups li.cht-viewAll a {
    display: block;
    float: right;
    padding: 0 10px 0 20px;
    color: #a6a6a6;
    font-size: 12px;
    font-weight: 400;
}
.xg_chat .cht-chatGroups li.cht-viewAll .icon-angle-left {
    -webkit-transform: scale(-1);
    transform: scale(-1);
    width: 8px;
    height: 10px;
    background-position: -0.25em -78.25em;
}
.xg_chat .cht-chatGroups li.cht-viewAll:hover .icon-angle-left,
.xg_chat .cht-chatGroups li.cht-viewAll .icon-angle-left:hover {
    background-position: -4.25em -78.25em;
}
.xg_chat .chatTitle .icon-angle-left {
    width: 8px;
    height: 12px;
    background-position: -6.25em -78.25em;
}
.xg_chat .chatTitle:hover .icon-angle-left {
    background-position: -4.25em -78.25em;
    color: #a1a1a1;
}
.xg_chat .cht-chatGroups li.cht-viewAll .icon-angle-left:before {
    line-height: 10px;
    color: inherit;
}
.xg_chat .cht-chatGroups li.cht-viewAll a:hover {
    color: #000;
}
.xg_chat .cht-chatGroups > li ._groupname {
    display: block;
    height: 39px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #000;
    width: 50px;
    margin-top: 5px;
    margin-bottom: 5px;
}
.xg_chat .cht-chatGroups ._avatarGroup,
.xg_chat .xg_chatRoom ._avatarGroup {
    display: inline-block;
    width: 40px;
    height: 40px;
    position: relative;
    border: 1px solid #fafafa;
    border-radius: 50%;
}
.xg_chat .cht-chatGroups ._avatarGroup .avatarGroup_inner,
.xg_chat .xg_chatRoom ._avatarGroup .avatarGroup_inner {
    display: block;
    border-radius: 50%;
    position: relative;
    width: 100%;
    height: 100%;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.xg_chat .xg_chatRoom ._avatarGroup {
    float: right;
    width: 100%;
    height: 100%;
}
.xg_chat ._avatar + ._username {
    position: relative;
}
.xg_chat ._avatar + ._username:before {
    position: absolute;
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    overflow: hidden;
    display: block;
    top: -12px;
    left: -12px;
}
._avatar + i {
    position: relative;
    vertical-align: top;
}
.xg_chat.chatModule .xg_messageListHeading ._avatar + i {
    display: block;
}
.xg_messageListHeading ._avatar + i:before,
.xg_chat ._avatar + i:before {
    position: absolute;
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    overflow: hidden;
    display: block;
    top: 3px;
    right: 0;
}
.xg_chat ._avatar.cht-online + ._username:before,
.xg_messageListHeading ._avatar.cht-online + i:before,
._avatar.cht-online + i:before {
    background: #92e32b;
    -webkit-box-shadow: -2px 2px 3px 0 rgba(0, 0, 0, 0.4);
    box-shadow: -2px 2px 3px 0 rgba(0, 0, 0, 0.4);
}
.xg_messageListHeading ._avatar.cht-offline + i:before,
.xg_chat ._avatar.cht-offline + i:before {
    background: #ffffff;
    -webkit-box-shadow: inset 0 0 1px 0 #b5b5b5;
    box-shadow: inset 0 0 1px 0 #b5b5b5;
}
.xg_messageList ._avatar + i:before {
    right: 11px;
}
.cht-searchResults ._avatar + i:before {
    top: 1px;
    right: -3px;
}
._avatar.cht-me + i:before,
.xg_chat .xg_messageList > li.brief > ._avatar + i:before,
._avatarGroup ._avatar + i:before {
    display: none !important;
}
.xg_chat ._avatar.cht-offline + ._username:before,
.xg_messageListHeading ._avatar.cht-offline + i:before,
._avatar.cht-offline + i:before {
    background: #ffffff;
    -webkit-box-shadow: inset 0 0 1px 0 #b5b5b5;
    box-shadow: inset 0 0 1px 0 #b5b5b5;
}
.xg_chat .cht-chatGroups ._avatarGroup ._avatar,
.xg_chat .xg_chatRoom ._avatarGroup ._avatar {
    border-radius: 0 !important;
    border: none !important;
}
.xg_chat .cht-chatGroups ._avatarGroup span,
.xg_chat .xg_chatRoom ._avatarGroup span {
    display: block;
    position: relative;
    float: left;
    overflow: hidden;
}
.xg_chat .cht-chatGroups ._avatarGroup span img._avatar,
.xg_chat .xg_chatRoom ._avatarGroup span img._avatar {
    position: absolute;
    width: 40px;
    left: -4px;
}
.xg_chat .xg_chatRoom ._avatarGroup span img._avatar {
    width: 32px;
    left: 0;
    margin-top: 0;
}
.xg_chat .cht-chatGroups ._avatarGroup span:first-child,
.xg_chat .xg_chatRoom ._avatarGroup span:first-child {
    width: 100%;
    height: 100%;
    border-radius: 40px;
    left: 0;
}
.xg_chat .xg_chatRoom ._avatarGroup span:first-child {
    border-radius: 100%;
}
.xg_chat .cht-chatGroups ._avatarGroup span:first-child img._avatar,
.xg_chat .xg_chatRoom ._avatarGroup span:first-child img._avatar {
    left: 0;
}
.xg_chat .cht-chatGroups ._avatarGroup span:nth-child(2),
.xg_chat .xg_chatRoom ._avatarGroup span:nth-child(2) {
    width: 50%;
    height: 50%;
    position: absolute;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    border-radius: 0 40px 0 0;
    right: -1px;
    top: 0;
}
.xg_chat .xg_chatRoom ._avatarGroup span:nth-child(2) {
    border-radius: 0 50% 0 0;
}
.xg_chat .cht-chatGroups ._avatarGroup span:nth-child(3),
.xg_chat .xg_chatRoom ._avatarGroup span:nth-child(3) {
    width: 50%;
    height: 50%;
    position: absolute;
    border-left: 1px solid #fff;
    border-radius: 0 0 50% 0;
    right: -1px;
    bottom: -1px;
}
.xg_chat .xg_chatRoom ._avatarGroup span:nth-child(3) {
    border-radius: 0 0 32px 0;
    width: 50%;
    height: 50%;
}
.xg_chat .cht-chatGroups ._avatarGroup span:nth-child(2) img._avatar,
.xg_chat .cht-chatGroups ._avatarGroup span:nth-child(3) img._avatar {
    height: 25px;
    width: auto;
}
.xg_chat .xg_chatRoom ._avatarGroup span:nth-child(2) img._avatar,
.xg_chat .xg_chatRoom ._avatarGroup span:nth-child(3) img._avatar {
    height: 16px;
    width: auto;
    margin-top: 0;
}
.xg_chat.chatFooter .xg_chatWindow ul.cht-chatGroups.cht-allChatGroups {
    display: block;
    height: calc(100% - 83px);
    width: 100%;
    overflow: auto;
    background: #fff;
    position: absolute;
    z-index: 3;
    padding-bottom: 0;
}
.xg_chat.chatModule .xg_chatWindow ul.cht-chatGroups {
    height: auto;
    overflow: auto;
    max-height: 190px;
}
.xg_chat.chatFooter .xg_chatWindow ul.cht-allChatGroups ._groupname,
.xg_chat.chatModule .xg_chatWindow ul.cht-chatGroups ._groupname {
    display: inline-block;
    height: auto;
    white-space: nowrap;
    width: 57%;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-left: 5px;
    vertical-align: middle;
}
.xg_chat .cht-allChatGroups li.cht-viewAll {
    display: none !important;
}
.xg_chat.chatFooter .xg_chatWindow .roomDisabled {
    border-top: 1px solid #e1e1e1;
    color: #666666;
    line-height: 1.1;
    margin: 6px;
    padding-top: 6px;
}
.xg_chat.chatFooter .xg_chatWindow.roomDisabled {
    /*background: #ddd;*/
}
/* --------------------------------------------------------------------------------
 * Chat v4 module(+popout) styles
 * -------------------------------------------------------------------------------- */

.main_page_module_chat_v4 > .xg_module_body,
.module_chat_v4 > .xg_module_body {
    height: 500px;
    position: relative;
    -webkit-box-shadow: 0 2px 12px rgba(0, 0, 0, 0.51);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.51);
    background-color: #ffffff;
    min-width: 285px;
}
.module_chat_v4 .xg_chat.bordered {
    /* border: 1px solid #b7b7b7 !important;*/
}
.xg_chat.chatModule {
    font-size: 11px;
    line-height: 21px;
    height: 100%;
}
.xg_chat.chatModule .xg_chatWindow {
    position: relative;
    background: #FFFFFF;
    color: #333;
    overflow: hidden;
    height: 100%;
}
.xg_widget_main_index_index .module_chat_v4 .xg_chat.chatModule .xg_chatWindow {
    /* Make background transparent, to partially take on the main page's theme.
       Older browsers that do not support the rgba() notation will fall back to
       the #FFFFFF background specified above. */

    background: rgba(255, 255, 255, .3);
}
.xg_widget_main_index_index .module_chat_v4 .xg_chat.chatModule .xg_chatWindow ul.xg_messageList {
    background: #ffffff;
}
.xg_chat.chatModule .sideChatContainer {
    width: 205px;
    float: left;
    border-right: 1px solid #e9e8e8;
}
.xg_chat.chatModule .xg_userWindow {
    bottom: 21px;
    overflow-y: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
.xg_chat.chatModule .xg_chatWindow .textarea-container {
    background-color: #ffffff;
    /*border: 1px solid #d1d1d1;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);*/
}
.xg_chat.chatModule .xg_chatWindow ul.xg_messageList {
    /* border: 1px solid #d8d8d8;*/
    /* 57px is the initial height of the messageListFooter. After page load the
       js overrides this value, but initially it is needed so that the message
       list appears at the correct height */

    bottom: 0;
    left: 0;
    margin: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    padding: 8px;
    position: absolute;
    right: 0;
    top: 42px;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
/* If there aren't many messages, use cht-sparse to make the messages appear at
   the bottom of the window, which helps on phones which only show the bottom
   part of the window when the keyboard is showing. */

.xg_chat.chatModule .xg_chatWindow ul.xg_messageList.cht-sparse {
    top: auto;
}
.chatModule .cht-userList {
    position: absolute;
    top: 42px;
    left: 0;
    right: 0;
    bottom: 0;
}
.xg_chat.chatModule .xg_chatWindow .xg_messageListFooter {
    /* background-color: #f9f9f9;*/

    border-top: 1px solid #d8d8d8;
    /*border-bottom-left-radius: 9px 7px;
    border-bottom-right-radius: 9px 7px;*/

    bottom: 0;
    left: 0;
    /*padding: 0;*/

    position: absolute;
    right: 0;
}
.xg_chat.chatModule .xg_chatWindow .xg_messageListHeading {
    /*background-color: #f9f9f9;
    border: 1px solid #c4d5dc;
    border-bottom-width: 0;
    border-top-left-radius: 9px 7px;
    border-top-right-radius: 9px 7px;*/

    background-color: #000;
    font-size: 12px;
    font-weight: bold;
    height: 18px;
    left: 0;
    padding: 12px 24px 12px 6px;
    position: absolute;
    right: 0;
    top: 0;
    text-align: center;
    color: #fff;
    font-family: Arial, Helvetica, FreeSans, sans-serif;
}
.xg_chat.chatModule .xg_chatWindow .xg_messageListHeading ._avatar {
    /*border: 1px solid;*/

    float: right;
    /*margin-top: -8px;*/

    background-color: #fff;
    border-radius: 50%;
    border: 1px solid rgba(68, 63, 63, 0.45);
    width: 33px;
    height: 33px;
}
.xg_chat .xg_chatWindow .xg_messageListHeading ._avatar + ._username:before,
.xg_messageListHeading:before ._avatar.cht-online,
._avatarGroup.cht-online:before {
    width: 8px;
    height: 8px;
}
.xg_chat.chatModule .xg_chatWindow ul.cht-chatUsers {
    padding: 0;
    margin: 0;
    max-height: 194px;
    overflow: auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.xg_chat.chatModule #conversationViewContainer {
    /*background-color: #e0e4e6;*/
}
.xg_chat.chatModule .cht-chatUsers > li,
.xg_chat.chatModule ul.cht-chatGroups > li,
.xg_chat.chatModule ul.cht-userList > li {
    padding-left: 12px;
}
.xg_chat.chatModule ul.cht-userList > li {
    margin: 15px 0;
    padding: 3px 3px 3px 12px;
    position: relative;
}
.xg_chat.chatModule .xg_chatWindow .roomDisabled {
    border-top: 1px solid #e1e1e1;
    color: #666666;
    line-height: 1.1;
    margin: 6px;
    padding-top: 6px;
}
.xg_chat.chatModule .xg_chatWindow.roomDisabled {
    background: #ddd;
}
.xg_chat.chatModule .xg_titleBar {
    /*filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#B2C0D9', endColorstr='#859ABE');
    background: -webkit-gradient(linear, center top, center bottom, from(#B2C0D9), to(#859ABE));
    background: -moz-linear-gradient(top, #B2C0D9, #859ABE);
    border-top: 1px solid #a7b5cf;*/
    /*padding-left: 0;
    padding-right: 3px;*/
    display: flex;
    justify-content: space-between;
    color: #ffffff;
    padding: 13px 6px 14px 0;
    align-items: center;
}
.xg_chat.chatModule .xg_info.xg_activeConversations {
    text-overflow: clip;
    flex-grow: 1;
    margin-left: 32px;
}
.xg_chat.chatModule .xg_overlay,
.xg_chat.chatModule .xg_floating_module {
    /* Reuse the xg_overlay class, but make it appear over the in-page chat module
       rather than over the whole page. */
    /* display: none;*/
}
.xg_chat.chatModule .xg_overlay-disconnect {
    position: absolute;
    background: rgba(21, 11, 11, 0.2);
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: none;
    z-index: 1;
}
.cht-dialog {
    position: absolute;
    background-color: #ffffff;
    padding: 7px;
    right: 10px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 229px;
    z-index: 1;
}
.xg_theme-disconnect {
    display: none;
}
/*
 * Class xg_messageList
 *
 * A <ul> of <li> elements, each of which has the following:
 *
 * _avatar     an <img>, the message sender's avatar
 * _sender     the message sender's name
 * _timestamp  the time[/date] the message was sent
 * _message+   the message(s)
 */

.xg_chat .xg_messageList {
    font-size: 12px;
    line-height: 1.1;
    position: relative;
}
.xg_chat ul.xg_messageList > li {
    list-style: none;
    margin: 0 0 6px 45px;
    /* 32px img width + 6px gutter */

    clear: both;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    position: relative;
}
.xg_chat ul.xg_messageList li.cht-loadingMoreMessages {
    padding: 8px;
    margin-left: 0;
    position: absolute;
    text-align: center;
    left: 0;
    right: 0;
    top: 0;
    height: 40px;
    z-index: 2;
    /* ff3.6+ */
    /* safari4+,chrome */
    /* safari5.1+,chrome10+ */
    /* opera 11.10+ */
    /* ie10+ */

    background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 1)), color-stop(44%, rgba(255, 255, 255, 0.9)), color-stop(74%, rgba(255, 255, 255, 0.5)), to(rgba(255, 255, 255, 0)));
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 44%, rgba(255, 255, 255, 0.5) 74%, rgba(255, 255, 255, 0) 100%);
    /* w3c */

    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ffffff', GradientType=0);
    /* ie6-9 */
}

.xg_chat.chatModule ul.xg_messageList > li {
    margin: 0 0 11px 55px;
    /* 32px img width + 6px gutter */
}
.xg_chat.chatModule ul.xg_messageList > li.cht-meBlock {
    margin: 0 94px 11px 0;
    /* 32px img width + 6px gutter */
}
.xg_chat.chatModule ul.xg_messageList > li.cht-meBlock .cht-deleteMessage{
    position: absolute;
    left: 100%;
}

.xg_chat .xg_messageList > li.brief {
    clear: none;
}
.xg_chat ul.xg_messageList > li > div {
    border-radius: 8px;
    background-color: #eeeeee;
    padding: 10px;
    position: relative;
    max-width: 86%;
    min-width: 77px;
    margin-bottom: 5px;
    margin-top: 16px;

}
.xg_chat.chatModule ul.xg_messageList {
    max-width: 100%;
}
.xg_chat ul.xg_messageList > li > div p {
    word-wrap: break-word;
}
.xg_chat ul.xg_messageList > li > div:before {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 7px 8px 0 0;
    border-color: #eeeeee transparent transparent transparent;
    top: 100%;
    left: 20px;
}

.xg_chat .xg_messageList > li > ._avatar {
    /*float: left;*/

    height: 32px;
    width: 32px;
    margin: 0 13px 6px -45px;
    /* =margin-left of <li> */

    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #fafafa;
    -ms-flex: 0 0 32px;
    -webkit-box-flex: 0;
    flex: 0 0 32px;
}

.xg_chat ul.xg_messageList > li.cht-meBlock {
    -ms-flex-pack: end;
    -webkit-box-pack: end;
    justify-content: flex-end;
    margin: 0 45px 11px 0;
}

.xg_chat ul.xg_messageList > li.cht-meBlock .cht-deleteMessage {
    position: absolute;
    left: 100%;
}
.xg_chat ul.xg_messageList > li.cht-meBlock > div {
    -ms-flex-order: 1;
    -webkit-box-ordinal-group: 2;
    order: 1;
}
.xg_chat ul.xg_messageList > li.cht-meBlock > div:before {
    left: auto;
    right: 20px;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

.cht-optionSection {
    position: absolute;
    top: 32px;
    right: 0;
    z-index: 2;
    width: auto;
    -webkit-box-shadow: 0 2px 5px 0 #dedede;
    box-shadow: 0 2px 5px 0 #dedede;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    display: none;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: #fff;
    font-size: 0;
}
.xg_chat.chatFooter .cht-optionSection {
    left: 0;
}
.xg_chat.chatModule .cht-optionSection {
    position: absolute;
    top: 42px;
    right: 0;
    left: auto;
    z-index: 2;
    width: auto;
    -webkit-box-shadow: 0 2px 5px 0 #dedede;
    box-shadow: 0 2px 5px 0 #dedede;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    min-width: 160px;
}
.cht-optionSection .cht-optionSectionInner .button.transparentFileInputButton {
    display: inline-block;
    margin: 0;
    padding: .5em;
    vertical-align: baseline;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    outline: none;
    font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    font-size: 12px;
    font-weight: normal;
    font-style: normal;
    line-height: 1.3333333333333em;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    border-radius: 1px;
    border-color: #c0c0c0;
    color: #717171;
    background-color: #fff;
    background: transparent -webkit-gradient(linear, left top, left bottom, from(#eee), to(#a0a0a0));
    background: transparent linear-gradient(#eee, #a0a0a0);
    -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.15), 0 1px 1px 0 #ffffff inset;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.15), 0 1px 1px 0 #ffffff inset;
    width: auto;
}
.cht-optionSection .cht-avatarContainer {
    /*float: left;*/

    height: 32px;
    width: 32px;
    margin: 0 0 6px 0;
    /* =margin-left of <li> */

    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #fafafa;
    -ms-flex: 0 0 24px;
    -webkit-box-flex: 0;
    flex: 0 0 24px;
    float: none;
    font-size: 14px;
}
.cht-optionSection .cht-avatarContainer > img {
    width: 32px;
    height: 32px;
}
.cht-optionSection .cht-avatarContainer ._avatarGroup {
    border: none;
}
.cht-optionSection .cht-avatarContainer .button {
    background-image: none;
}
.cht-changeGroupNameSection.cht-optionSection input[type='text'] {
    width: calc(100% - 4.5em);
    line-height: 1.1em;
    font-size: 12px;
    margin-right: 10px;
    border-width: 1px;
    border-style: solid;
    border-color: #d8d8d8 !important;
    vertical-align: middle;
    padding: .5em;
}
.cht-changeGroupNameSection.cht-optionSection input[type='text']:focus {
    border-color: transparent !important;
    border-bottom-color: #d8d8d8 !important;
}
.cht-changeGroupNameSection .button {
    border-radius: 8px;
    background: #b0df0d;
    border: none;
    font-size: 13px;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding: 3px;
    vertical-align: middle;
    height: 20px;
    width: 23px;
}
.cht-changeGroupNameSection .button:hover {
    background: #4a8e22;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.cht-changeGroupNameSection .button:focus {
    background: #4a8e22;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.cht-changeGroupNameSection .button .icon-check-mark {
    color: #fff;
    font-size: 1.1em;
    background-position: -6.25em -52.25em;
}
.mobileChat .cht-changeGroupNameSection .button .icon-check-mark {
    font-size: 18px;
}
.chatFooter .cht-changeGroupNameSection .button .icon-check-mark {
    font-size: 14px;
}
.cht-changeGroupNameSection .button .icon-check-mark:before {
    color: #fff;
}
.xg_chatWindow .cht-avatarContainer {
    display: block;
    position: absolute;
    width: 32px;
    height: 32px;
    right: 25px;
    top: 5px;
}
.xg_chatWindow .cht-optionSectionInner .cht-avatarContainer {
    position: static;
    float: left;
    height: 32px;
    width: 32px;
    margin: 0 12px 0 0;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #fafafa;
    -ms-flex: 0 0 24px;
    -webkit-box-flex: 0;
    flex: 0 0 24px;
    right: auto;
}
.xg_chatWindow .cht-changeGroupNameSection.cht-optionSection .cht-optionSectionInner .cht-avatarContainer {
    margin: 0 auto 10px;
    float: none;
}
.cht-changeGroupNameSection.cht-optionSection input[type="submit"] {
    width: auto;
}
.xg_chat .xg_messageList > li.cht-meBlock > ._avatar {
    margin: 0 -45px 6px 13px;
    -ms-flex-order: 2;
    -webkit-box-ordinal-group: 3;
    order: 2;
}
.xg_chat.chatModule .xg_messageList > li > ._avatar {
    height: 40px;
    width: 40px;
    margin: 0 13px 6px -55px;
    /* =margin-left of <li> */

    -ms-flex: 0 0 40px;
    -webkit-box-flex: 0;
    flex: 0 0 40px;
}
.xg_chat.chatModule .xg_messageList > li.cht-meBlock > ._avatar {
    margin: 0 -44px 6px 13px;
    position: absolute;
    left: 100%;
}
.xg_chat .xg_messageList > li > ._avatar:not(.cht-me) {
    cursor: pointer;
}
.xg_chat .xg_messageList > li.brief > ._avatar {
    display: none;
}
.xg_chat .xg_messageList > li._timestamp,
.xg_chat .xg_messageList > li .cht-timestamp {
    color: #b3b3b3;
    display: block;
    padding-top: 10px;
    font-size: 0.8em;
}
.xg_chat .xg_messageList > li._timestamp,
.xg_chat li.cht-meBlock .cht-timestamp {
    text-align: right;
}
.xg_chat .xg_messageList > li.warning {
    overflow: hidden;
    text-overflow: ellipsis;
    display: list-item;
    margin-left: 0;
    text-align: center;
    padding: 0;
    color: #ff0000;
}
.xg_chat.chatModule .xg_messageList > li.warning {
    margin-left: 0;
}
.xg_chat .xg_messageList > li.warning a {
    display: block;
    color: #90c210;
    margin-top: 4px;
}
.xg_chat .xg_messageList > li > ._sender {
    margin: 0;
    color: #333;
    font-weight: bold;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: absolute;
    width: 100%;
    top:0;
}
.xg_chat .xg_messageList > li > ._sender.cht-me {
    width: auto;
    right: 0;
}
.xg_chat .xg_messageList > li > ._sender:not(.cht-me) {
    cursor: pointer;
}
.xg_chat .xg_messageList > li.brief > ._sender {
    display: none;
}
.xg_chat .xg_messageList > li .cht-state {
    position: absolute;
    left: 0;
    top: 100%;
    color: #b3b3b3;
}
.xg_chat .xg_messageList a,
.xg_chat .xg_messageList a:hover {
    color: inherit;
    text-decoration: none;
}
.xg_chat .xg_messageList > li > ._message {
    margin: 2px 0 0 0;
    padding: 0;
    word-wrap: break-word;
    position: relative;
    /* for delete and deleteOptions */
}
.xg_chat .xg_messageList .cht-image {
    max-width: 100%;
}
.xg_chat .xg_messageList > li > ._message + ._message {
    border-top: 1px solid #e0e0e0;
    padding-top: 2px;
}
.xg_chat .xg_messageList > li > p._warning {
    background-color: #F7F5D6;
    border: 1px solid #EEE685;
    font-size: 11px;
    padding: 5px;
}
.xg_chat .xg_messageList .emoticon {
    /* We use doesBrowserSupportInlineBlock() to check if "display: inline-block"
     * is supported. If not, we don't replace emoticons with images,
     * i.e., we don't use this class. [Jon Aquino 2011-10-19] */

    display: inline-block;
    text-indent: -9999px;
    /* The above text-indent image-replacement technique ensures that if the
     * user copies and pastes the text into a plain-text context, the emoticon
     * will be preserved. Moreover, since the image is specified in CSS rather
     * than HTML, NCs can swap in their own emoticons using CSS. [Jon Aquino 2011-10-21] */

    background: url(../../../components/gfx/chat/emoticons.png) no-repeat;
    width: 20px;
    height: 20px;
    vertical-align: bottom;
    position: relative;
    top: 2px;
}
.xg_chat .xg_messageList .biggrin {
    background-position: -6px -1px;
}
.xg_chat .xg_messageList .smile {
    background-position: -36px -1px;
}
.xg_chat .xg_messageList .surprise {
    background-position: -68px -1px;
}
.xg_chat .xg_messageList .biglips {
    background-position: -98px -1px;
}
.xg_chat .xg_messageList .tongue {
    background-position: -6px -29px;
}
.xg_chat .xg_messageList .frown {
    background-position: -36px -29px;
}
.xg_chat .xg_messageList .wink {
    background-position: -68px -29px;
}
.xg_chat .xg_messageList .sick {
    background-position: -98px -29px;
}
.xg_chat .xg_messageList .coolsmile {
    background-position: -6px -55px;
}
.xg_chat .xg_messageList .ohmy {
    background-position: -37px -56px;
}
.xg_chat .xg_messageList .sadeyes {
    background-position: -68px -55px;
}
.xg_chat .xg_messageList .cry {
    background-position: -98px -56px;
}
/*
 * Class cht-chatUsers.
 *
 * A <ul> of <li> elements, each of which has the following:
 *
 * _avatar      an <img>, the user's avatar
 * _username    the user's name
 */

.xg_chat .cht-chatUsers,
.xg_chat .cht-chatGroups {
    font-size: 12px;
    line-height: 1.1;
    margin: 0;
    padding: 0;
}
.xg_chat ul.cht-chatUsers > li,
.xg_chat.chatModule .cht-chatGroups > li {
    clear: both;
    list-style: none;
    margin: 7px 0 7px;
    cursor: pointer;
    padding: 3px 0 3px 3px;
    position: relative;
    /* for arrow and userOptions*/
    /*height: 24px;*/
    /* = avatar height */
}
.xg_chat .cht-chatUsers > li:hover {
    background-color: #e0e0e0;
}
.xg_chat.chatModule .cht-chatUsers > li:hover,
.xg_chat.chatModule .cht-chatGroups > li:hover,
.xg_chat.chatModule .cht-userList > li:hover {
    background-color: #d1d1d1;
}
.xg_chat .cht-chatUsers .userEntry {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.xg_chat .cht-chatGroups li ._avatarGroup {
    vertical-align: middle;
}
.xg_chat .cht-userList li > *:not(i) {
    display: inline-block;
    width: 100%;
}
.cht-roomName {
    max-width: 60%;
    overflow: hidden;
    display: inline-block;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: middle;
    padding: 0 4px;
}
.xg_chat .cht-chatUsers > li ._username,
.xg_chat .cht-chatGroups > li ._username,
.xg_chat .cht-userList .cht-userName {
    padding-left: 6px;
    display: inline-block;
    max-width: 57%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.xg_chat .cht-userList .cht-userName {
    vertical-align: middle;
    font-weight: bold;
}
.xg_chat .xg_chatBar.xg_bottomBar [class*="cht-roomName"] {
    padding-left: 5px;
    padding-right: 5px;
}
.xg_chat .xg_chatBar.xg_bottomBar [class*="cht-roomName"] .count {
    right: auto !important;
    left: 100%;
    top: 6px !important;
    width: auto !important;
    white-space: nowrap;
}
.xg_chat.chatModule .cht-chatUsers ._avatar,
.xg_chat.chatModule .cht-userList ._avatar {
    height: 40px;
    width: 40px;
}
.xg_chat .cht-chatUsers a,
.xg_chat .cht-chatUsers a:hover,
.xg_chat .cht-chatGroups a,
.xg_chat .cht-chatGroups a:hover,
.xg_chat .cht-userList a,
.xg_chat .cht-userList a:hover,
.xg_chat .cht-userList a,
.xg_chat .cht-userList a:hover {
    color: inherit;
    text-decoration: none;
}
.xg_chat .cht-chatUsers ._avatar,
.xg_chat .cht-chatGroups ._avatar,
.xg_chat .cht-userList ._avatar {
    border-radius: 50%;
    height: 40px;
    width: 40px;
    background-color: #fff;
    border: 1px solid #fafafa;
    vertical-align: middle;
}
/*.xg_chat .cht-chatUsers .xg_sprite {
    background-image: url(../../gfx/icons/xg_sprite-CCCCCC.png);
}*/

.xg_chat.chatFooter .xg_chatBar.xg_titleBar .resizeHandle {
    height: 5px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    cursor: ns-resize;
    border-radius: 8px 8px 0 0;
}
/**
 * A transparent div that covers the whole display. This is added to the
 * document during drag operations so that mousemove and mouseup events will
 * continue to be sent even if the mouse is over an element that would not
 * normally display them such as an iframe
 */

.dragCover {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    cursor: ns-resize;
}
.cht-close {
    float: right;
    font-size: 20px;
    margin-left: 6px;
    cursor: pointer;
}
.cht-deleteMessage .icon-closeChat,
.cht-ban .icon-closeChat {
    background-position-y: -76.35em;
}
.cht-close:before {
    vertical-align: top;
}
.cht-back {
    display: none;
    float: left;
}
.cht-back .icon {
    margin-right: 5px;
}
.cht-addMemberSection,
.cht-changeGroupNameSection,
.cht-changeGroupPictureSection {
    display: none;
}
.xg_search.cht-addMemberSection {
    width: 100%;
    margin: 0 auto;
}
.xg_chat .xg_chatWindow.xg_chatRoom .xg_search.cht-addMemberSection {
    position: absolute;
    top: 42px;
    right: 0;
    left: auto;
    z-index: 2;
    width: auto;
    -webkit-box-shadow: 0 2px 5px 0 #dedede;
    box-shadow: 0 2px 5px 0 #dedede;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    min-width: 160px;
}
.xg_chat .xg_chatWindow.xg_chatRoom .xg_search.cht-addMemberSection .xg_inputSearch {
    width: auto;
}
.cht-popupChooseDel {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    z-index: -1;
    right: 0;
    bottom: 26px;
    background: rgba(253, 215, 215, 0.32);
    padding: 10px;
    border-radius: 6px;
    display: flex;
    gap: 10px;
    align-items: center;
}
.cht-popupChooseDel.visible {
    visibility: visible;
    opacity: 1;
    z-index: 10;
}
.cht-deleteMessage,
.cht-ban, .cht-suspend {
    white-space: nowrap;
    text-transform: lowercase;
    border-radius: 6px;
    border: 1px solid #eeeeee;
    order: 1;
    height: 19px;
    color: #d0d0d0;
    display: flex!important;
    align-items: center;
    margin: 15px 9px 5px 9px;
    width: auto !important;
    box-sizing: border-box;

}
.cht-deleteMessage {
    flex: 0 0 auto;
    box-sizing: border-box;
    bottom: 0;
    align-self: flex-end;
    position: relative;
}
.cht-deleteMessage .cht-confirmDeleteMessage .icon:before, .cht-deleteMessage .cht-confirmDeleteMessageSuspend .icon:before {
    color: #830000;
    font-size: 14px;
}
.cht-deleteMessage .cht-confirmDeleteMessageSuspend .icon:before {
    font-size: 16px;
    font-weight: 900;
}
.cht-ban, .cht-suspend {
    position: absolute;
    right: 0;
    top: 0;
    background: #ffffff;
}
.cht-suspend {
    margin: 15px 32px 0 0;
}
.xg_chat.chatFooter .cht-deleteMessage .cht-confirmDeleteMessage {
    line-height: 18px;
}
.cht-deleteMessage .icon,
.cht-ban .icon , .cht-suspend .icon {
    padding: 2px;
    border-radius: 6px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cht-deleteMessage .icon:before,
.cht-ban .icon:before, .cht-suspend .icon:before {
    position: static;
    color: #a3a3a3;
    font-size: 15px;
    top: 0;
    transform: translateY(0);
    left: 0;
}
.cht-deleteMessage .icon:hover:before {
    color: #575757;
}
.cht-suspend  .icon-block:hover:before, .cht-ban .icon:hover:before {
    color: #f05d5d;
}

.cht-userPanel {
    display: none;
}
.cht-userList {
    overflow-y: auto;
}
.cht-groupChatHeading {
    cursor: pointer;
}
.cht-chatListItem,
.cht-chatListItem .ningbar-countNotification {
    display: none;
}
.site-body .cht-backFromRoom,
.ningbar-panelBody,
.cht-backFromRoom {
    display: none;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -12px;
    color: #ffffff;
}
.cht-backFromMobileChat {
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -12px;
}
.cht-mobileChatBar {
    background: #ddd;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    padding: 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.xg_chat.mobileChat {
    padding-top: 40px;
}
/* Copy the icon code from v2/modules/icon.less so that it will work in both v1 and v2 themes. */

.cht-icon {
    font-size: 22px;
    color: white;
    display: inline-block;
    width: 1em;
    height: 1em;
    overflow: hidden;
    /* Allowing label text to be hidden */

    vertical-align: middle;
}
.cht-icon:before {
    font-family: 'ning-icon-fonts';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* Better Font Rendering =========== */

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    margin-right: 0.5em;
    /* Icon pushes its label text off screen */
}
.cht-chatIcon:before {
    content: "\f086";
}
.cht-menuIcon:before {
    content: "\e60b";
}
.cht-trashIcon {
    color: #b9b9b9;
    font-size: 13px;
    margin-right: 5px;
}
.cht-trashIcon:before {
    content: "\e610";
}
/* Copy the countNotification code from v2/modules/ningbar.less so that it will work in both v1 and v2 themes. */

.cht-countNotification {
    display: none;
    border-radius: 0.5em;
    -webkit-box-shadow: 0 1px 1px rgba(100, 100, 100, 0.5);
    box-shadow: 0 1px 1px rgba(100, 100, 100, 0.5);
    background-color: #E50505;
    background: transparent -webkit-gradient(linear, left top, left bottom, from(#E50505), to(#d31717));
    background: transparent linear-gradient(#E50505, #d31717);
    font: normal bold 8px/8px sans-serif;
    padding: 0.25em 0.5em;
    position: absolute;
    top: -1px;
    right: -8px;
    color: #fff;
    text-shadow: 0 -1px 0 rgba(100, 100, 100, 0.5);
    text-decoration: none;
}
.cht-chatIconContainer {
    position: absolute;
    display: inline-block;
}
.cht-menuIconContainer {
    position: absolute;
    right: 11px;
    display: inline-block;
}
.cht-mobileMenu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 1001;
    width: 100%;
    border: 1px solid #d8d8d8;
    background-color: #ffffff;
    margin: 0;
    -webkit-box-shadow: 0 2px 5px 0 #dedede;
    box-shadow: 0 2px 5px 0 #dedede;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.cht-mobileMenu > li {
    list-style-type: none;
    padding: 5px 11px 4px;
    border-bottom: 1px solid #f7f7f7;
}
.cht-mobileMenu > li:focus,
.cht-mobileMenu > li:active {
    background: #f7f7f7;
}
.cht-mobileMenu > li a {
    color: #000000;
    font-size: 13px;
    font-weight: 400;
    font-family: Arial, Helvetica, sans-serif;
    display: block;
    text-decoration: none;
}
.cht-userList ._avatar:not(.cht-me),
.cht-userList .cht-userName:not(.cht-me) {
    cursor: pointer;
}
.cht-conversationViewBarText {
    margin-left: 5px;
}
/*
 * Tags: small-screen-chat
 */

@media screen and (max-width: 500px), screen and (max-height: 420px) {
    /* Footer layout: Hide chat-bar windows. */

    .xg_chat.chatFooter .xg_chatRoom,
    .xg_chat.chatFooter #conversationViewContainer {
        display: none !important;
    }
    /* Footer layout: Show chat icon in Ningbar. */

    .cht-chatListItem {
        display: block;
    }
    /* Chat in page: Show conversation view initially. */

    .xg_chat.chatModule .sideChatContainer {
        width: auto;
        float: none;
    }
    /* Chat in page: Hide rooms initially. */

    .xg_chat.chatModule .xg_chatRoom {
        display: none;
    }
    /* Chat in page: Show back-from-room buttons. */

    .cht-backFromRoom {
        display: block;
    }
    /* Chat in page: Hide back-from-room buttons when showing user list. */

    .cht-userPanelShown .cht-backFromRoom {
        display: none;
    }
}
/* Momentum scrolling for mobile chat. */

.mobileChat .cht-chatGroups,
.mobileChat .cht-chatUsers,
.mobileChat .cht-userList,
.mobileChat .xg_messageList {
    overflow-x: hidden!important;
    overflow-y: scroll!important;
    -webkit-overflow-scrolling: touch;
}
/* Mobile layout: Show conversation view initially. */

.xg_chat.mobileChat .sideChatContainer {
    width: auto;
    float: none;
}
/* Mobile layout: Hide rooms initially. */

.mobileChat .xg_chatRoom {
    display: none;
}
/* Mobile layout: Show back-from-room buttons. */

.mobileChat .cht-backFromRoom {
    display: block;
}
/* Mobile layout: Hide back-from-room buttons when showing user list. */

.mobileChat .cht-userPanelShown .cht-backFromRoom {
    display: none;
}

.cht-popup .floatingModule-body,
.cht-popup .xg_module_body {
    padding: 0;
    font-size: inherit;
    margin: 0;
}
.cht-popup .floatingModule-container,
.xg_theme .cht-popup .xg_floating_container {
    width: auto;
    height: auto !important;
    margin: auto;
    max-width: 584px;
    box-shadow: 0 9px 7px rgba(0, 0, 0, 0.18);
    border-radius: 8px;
    background-color: #ffffff;
    color: #000;
    text-align: center;
    border: none!important;
    padding: 1.5em 2.5em;
}
.cht-popup .xg_module_head,
.xg_theme .cht-popup .xg_module_head {
    padding: 1em 1em 0 1em;
    background: transparent none no-repeat scroll 0 0;
    border: none;
    margin: 0;
}
.cht-popup .floatingModule-head h2,
.xg_theme .cht-popup .xg_module_head h2 {
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    color: #000;
    text-align: center;
    margin-bottom: 25px;
}
.cht-popup .floatingModule-container .prose,
.xg_theme .cht-popup .xg_module_body p {
    color: #000000;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 25px;
    line-height: 1.6em;
}
.cht-popup .floatingModule-buttonGroup,
.xg_theme .cht-popup .buttongroup {
    text-align: center;
    font-size: 0;
}
.cht-popup .floatingModule-cancelButton,
.xg_theme .cht-popup .xj_cancel {
    height: 40px;
    border-radius: 8px;
    background-image: none;
    background-color: #b3b3b3;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    display: inline-block;
    vertical-align: middle;
    line-height: 2.2em;
    min-width: 154px;
    margin: 0 10px 25px 10px;
    padding: 0 0.5em;
}
.cht-popup .floatingModule-cancelButton:hover,
.xg_theme .cht-popup .xj_cancel:hover {
    background-image: none;
    background-color: #6b6b6b;
}
.cht-popup .floatingModule-primaryButton.button-primary,
.cht-popup .floatingModule-container .button-primary,
.xg_theme .cht-popup .buttongroup .action-primary {
    min-width: 154px;
    vertical-align: middle;
    height: 40px;
    line-height: 1.5em;
    border-radius: 8px;
    background-image: none;
    background-color: #a0c911;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    -webkit-box-shadow: none;
    box-shadow: none;
    margin: 0 10px 25px 10px;
    padding: 0 0.5em;
}
.cht-popup .floatingModule-primaryButton.button-primary:hover,
.cht-popup .floatingModule-container .button-primary:hover,
.cht-popup .floatingModule-primaryButton.button-primary:focus,
.cht-popup .floatingModule-container .button-primary:focus,
.cht-popup .floatingModule-primaryButton.button-primary:hover,
.cht-popup .floatingModule-primaryButton.button-primary:focus,
.xg_theme .cht-popup .buttongroup .action-primary:hover,
.xg_theme .cht-popup .buttongroup .action-primary:focus {
    background-image: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: #000;
    font-weight: 700;
    color: #ffffff;
}
@media screen and (max-width: 780px) {
    .cht-popup.floatingModule,
    .xg_theme .cht-popup.xg_floating_module {
        width: 80%;
    }
    .cht-popup .floatingModule-head h2,
    .xg_theme .cht-popup .xg_module_head h2 {
        font-size: 16px;
    }
    .cht-popup .floatingModule-container .prose,
    .xg_theme .cht-popup .xg_module_body p {
        font-size: 16px;
    }
    .cht-popup .floatingModule-cancelButton,
    .xg_theme .cht-popup .xj_cancel {
        font-size: 16px;
    }
    .cht-popup .floatingModule-primaryButton.button-primary,
    .cht-popup .floatingModule-container .button-primary,
    .xg_theme .cht-popup .buttongroup .action-primary {
        font-size: 16px;
    }
}
