@font-face {
    font-family: Roboto;
    font-weight: 400;
    font-style: normal;
    src: url(./fonts/Roboto-Regular-webfont.eot) format('embedded-opentype'),
         url(./fonts/Roboto-Regular-webfont.woff) format('woff'),
         url(./fonts/Roboto-Regular-webfont.ttf) format('truetype'),
         url(./fonts/Roboto-Regular-webfont.svg) format('svg');
}

/* =================================================================
   Static color constants — theme-independent utility values.
   Theme-specific colors live in light.css (:root) and dark.css (body.dark).
   ================================================================= */

:root {
    /* === UTILITY / LITERAL COLORS === */
    --white: #fff;
    --color-54: #545454;
    --color-gray: #808080;
    --color-gray-light: rgba(184, 184, 184, 0.95);
    --color-gray-light2: #a0a0a0;
    --color-green: #008000;
    --color-brown: #800000;
    --color-green-light: rgba(180, 234, 188, 0.8);
    --color-brown-light: rgba(255, 190, 180, 0.8);
    --color-white-menu: #fcffe4;
    --color-capital-gray: #d1d1d1;
    --color-d-link: #9be0ff;
    --status-unknown: #777;

    /* === UI ELEMENT CONSTANTS === */
    --white-hover: #d7d7d7;
    --yellow-select-bg: #ffb64a;
    --find-selected-border: #bfa207;
    --access-btn-bg: rgba(56, 142, 60, 0.07);
    --access-btn-hover-bg: rgba(56, 142, 60, 0.17);
    --smile-hover-border: rgba(196, 246, 189, 0.75);

    /* === HISTORY TABS === */
    --tab-bg: #ccc;
    --tab-selected-bg: rgba(221, 251, 224, 0.16);
    --tab-border: rgba(0, 0, 0, 0.4);

    --emojiShowDelay: 1s;

}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

body {

    background: var(--body-bg);
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;

    /* IE legacy scrollbar colors — non-functional in Chromium/Electron */
    scrollbar-base-color: #C0C0C0;
    scrollbar-3dlight-color: #C0C0C0;
    scrollbar-highlight-color: #C0C0C0;
    scrollbar-track-color: #EBEBEB;
    scrollbar-arrow-color: #EBEBEB;
    scrollbar-shadow-color: #C0C0C0;
    scrollbar-dark-shadow-color: #C0C0C0;
}

.wrapperChat {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: 0 0;
    padding: 0 0;
    position: fixed;

    display: block;
    box-sizing: border-box;
}

.spanBr {height: 10px; width: 100%; display: block;}

::-webkit-scrollbar {
    width: 7px;
    height: 8px;
    opacity: .8;
}
.thinScrollBar::-webkit-scrollbar {
    width: 3px;
    opacity: .5;
}
::-webkit-scrollbar-track {
    background-color: var(--scrollbar-track);
}
::-webkit-scrollbar-thumb {
    background-color: var(--scrollbar-thumb);
}
::-webkit-scrollbar-thumb:hover {
    background-color: var(--scrollbar-thumb-hover);
}

div, span, ul, table {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.selectable{
    margin-top: 0 !important;
}


.selectable *, .selectable, .selectableEx, .selectableEx *{
    -webkit-touch-callout: text;
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
    cursor: auto;
}

.selectable a, .selectableEx a{
    cursor: pointer;
}

#loadingLabel{
    margin-top: 5px;
    margin-left: 5px;
    color: var(--white);
    font-family: arial, sans-serif;
    font-size: 1em;
    text-shadow: 1px 1px 2px var(--loading-label-shadow);
}
#loadingProgress{
    background-color: var(--loading-progress-bg);
    width: 1px;
}

/* ================ View Containers ====================== */

.needShow, .needShowList { display: none;}
.showOnHover:hover .needShow,
.showOnHover .webix_list_item:hover .needShowList, .inlineBlock { display: inline-block; }

.onlineStatus{
    width: 12px;
    height: 12px;
    background-color: var(--status-unknown);
    border-radius: 6px;
    display: inline-block;
    margin-right: 3px;
}

.wrp{
    width: 100% !important;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.loginHelper{
    text-align: center;
    line-height: 37px;
}

.fill{
    height: 100%;
}

.mainContacts{
    position: absolute;
    left: 43px;
    top: 0;
    height: 100%;
    width: 15%;
    min-width: 200px;
}

.h10{
    font-size: 10px;
}

/* ========================================================= */

.hidden{
    display: none !important;
}

.wrap, .wrap *{
    word-break: normal;
}

.toolBtnCenter *{
    float: none !important;
    text-align: center;
    display: inline-block;
}
.toolBtnCenter {
    margin-left: 0 !important;
}

.toRight { float: right; }
.toLeft { float: left; }

.toRightInList {
    background: var(--list-right-bg);
    position: absolute;
    right: 0;
    top: 1px;
    width: 18px;
    text-align: center;
    padding-left: 5px;
}

.fotoBtn *{
    padding: 1px 0 1px 0;
}

.fotoLineHeight, .fotoLineHeight *{
    line-height: 175px;
    vertical-align: middle;
}

.hiddenScrollMenu::-webkit-scrollbar-track {
    background-color: transparent;
}
.hiddenScrollMenu::-webkit-scrollbar-thumb {
    background-color: transparent;
}

.hiddenScrollMenu:hover::-webkit-scrollbar-track {
    background-color: var(--scrollbar-track);
}
.hiddenScrollMenu:hover::-webkit-scrollbar-thumb {
    background-color: var(--scrollbar-thumb);
}

.scrollMenu {
    overflow-y: auto !important;
}

.scrollMenu .webix_vscroll_y{
    overflow-y: auto !important;
}

.scrollMenuYX {
    overflow: auto !important;
}


.scrollAuto{
    overflow: auto !important;
}

.listColorWhite .webix_list_item {
    color: var(--white) ;
}

.pwdProfile{
    width: 98%;
    border: none;
    margin-top: -1px;
}

.textArea .webix_el_box{
    padding: 0;
}

.textArea textarea{
    width: 100% !important;
    border-radius: 0 !important;
}

.bolder{
    font-weight: bolder;
}

.darkenNavBG {
    background-color: var(--nav-primary) !important;
}

.thumbImage{
    max-width: 100%;
    height: auto;
    max-height: 200px;
    cursor: pointer;
    border: 1px solid var(--thumb-border);
    box-shadow: var(--thumb-shadow);
}

.red .webix_img_btn *  {color: red}
.red  {color: red;}
.green .webix_img_btn *{color: var(--color-green)}
.green{color: var(--color-green);}
.brown{color: var(--color-brown);}
.greenLight{color: var(--color-green-light);}
.brownLight{color: var(--color-brown-light);}
.linkColor, .linkColor * {color: var(--text-link)}

.webix_view {border-width: 0 !important;}

.webix_view a,
.webix_view a:visited,
.webix_view a:focus {
    color: var(--text-link);
    text-decoration: none;
}

.webix_view a:hover {
    color: var(--text-link);
    text-decoration: underline;
}
.spec, .specAll *, .specAll {color: var(--text-spec)}
.color54, .color54 .webix_disabled_box *, .color54 .webix_icon_btn, .color54 button {color: var(--color-54)}
.gray, .gray .webix_img_btn{ color: var(--color-gray);}
.grayLight, .grayLight button{ color: var(--color-gray-light);}
.grayLight2 { color: var(--color-gray-light2)}
.blue{ color: blue }
.white, .white button, .white input, .white span.webix_icon_btn {color: var(--white);}
.whiteBG, .whiteBG button, .whiteBG .header {background: var(--white)}
.whiteBgAll *, .whiteBgAll {background-color: var(--white)}
.WhiteMenu, .WhiteMenu *, .WhiteMenu .iconNoPadding {color: var(--color-white-menu)}
.Gray *, .Gray {color: var(--color-capital-gray)}
.dialogsHeader {background-color: var(--dialogs-header-bg)}
.fileLink, .fileLink:hover, .fileLink:visited { color: var(--text-file-link)}
.grayBorderTop {border-top: 1px solid var(--border-subtle);}
.darkGrayBorderTop {border-top: 1px solid var(--border-dark);}
.findItem { background-color: var(--find-bg) !important; border: 1px solid var(--find-border);}
.findItemSelected {border: 2px solid var(--find-selected-border);}
.findBackground { background: rgb(123, 117, 106) url(img/transparent_r.png) repeat; }
.dLinkColor {color: var(--color-d-link) }
.listBG { background-color: var(--list-bg) }

.accessBtnBG button{
    background-color: var(--access-btn-bg) !important;
}
.accessBtnBG:hover button{
    background-color: var(--access-btn-hover-bg) !important;
}

.white:hover span.webix_icon_btn { color: var(--white-hover) }

.opacity08 { opacity: .8}

.yellowSelect .webix_selected  { background-color: var(--yellow-select-bg) !important; }

.darkenNavBG .webix_el_button, .darkenNavBG .webix_el_toggle{
    margin: 0 !important;
}

.darkenNavBG .webix_el_button .webix_el_box, .darkenNavBG .webix_el_toggle .webix_el_box{
    padding: 1px 3px 1px 2px;
}

.darkenNavBG input{
    border-radius: 3px !important;
}

.fileUnit {
    border: 1px solid var(--file-unit-border);
    border-radius: 4px;
    padding: 2px;
    color: var(--file-unit-color);
    background-color: var(--file-unit-bg);
    box-shadow: var(--file-unit-shadow);
    margin: 1px;
    float: left;
}

.noCurve *      { border-radius: 0;}
.noBGColor,
.noBGColorAll *,
.noBGColorAll   { background-color: transparent;}
.noBGAll *      { background-color: transparent !important;}
.noBG           { background: none !important;}
.noBorder,
.noBorderAll *,
.webix_el_box textarea,
.noBorderAll    { border: none !important;}

.bgMC, .webix_resizer_x.bgMC {
    background-color: var(--nav-bg-mc) !important;
}

.bgMCtextarea * {
    background-color: transparent !important;
}

.bgMCtextarea textarea{
    border-color: var(--border-medium);
}

.bgDarknessHeader {
    background-color: var(--nav-dark-header) !important;
}

.bgDarkness, .bgDarknessEx, .bgDarknessEx * {
    background-color: var(--bg-darkness) !important;
}

.borderTop {
    border: none;
    border-top: 1px solid var(--border-medium) !important;
    border-width: 1px !important;
}

.borderBottom {
    border: none;
    border-bottom: 1px solid var(--border-light) !important;
    border-width: 1px !important;
}

.borderBottomLeft {
    border: none;
    border-bottom: 1px solid var(--border-light) !important;
    border-left: 1px solid var(--border-light) !important;
    border-width: 1px !important;
}

.borderTopBottom {
    border: none;
    border-top: 1px solid var(--border-medium) !important;
    border-bottom: 1px solid var(--border-medium) !important;
    border-width: 1px !important;
}

._info {
    background-color: var(--bg-info);
    border-radius: 8px;
    line-height: 36px;
    text-align: center;
}

.prInp input, .prInp select, .prInp .webix_inp_static{
    border: none;
    border-bottom: 1px solid var(--input-border) !important;
    border-width: 1px !important;
    color: var(--text-nav);
    font-size: 11pt;
    padding-left: 10px;
    background-color: transparent;
}

.prInp select{
    padding-left: 7px;
}

.prInp label{
    font-size: 10pt;
    font-weight: 400;
    padding-left: 1px;
    color: var(--text-secondary);
}

.lHeight38 { line-height: 38px; }
.lHeight36 { line-height: 36px; }
.lHeight30 { line-height: 30px; }
.lHeight28 { line-height: 28px; }
.lHeight26 { line-height: 26px; }
.lHeight23 { line-height: 23px; }
.lHeight20 { line-height: 20px; }

.noPadding { padding: 0 !important; }
.noMargin  { margin: 0 !important; }

.selectProp select{ padding: 0 6px; }

.marginTop10 { margin-top: 10px;}

.iconNoPadding .webix_disabled{
    background: none;
}

.iconNoPadding .webix_icon_btn{
    vertical-align: text-bottom;
}

.iconNoPadding button{
    padding: 0 3px !important;
}

.btnNoPadding button{
    padding: 0 0;
}

.chkPadding .webix_el_box{
    padding: 2px 1px 2px 6px;
}

.lineHeight20 .webix_list_item { line-height: 20px; }
.lineHeight19 .webix_list_item { line-height: 19px; }
.lineHeight18 .webix_list_item { line-height: 18px; }

.lineHeight24 .webix_list_item, .lineHeight24, .lineHeight24 .webix_accordionitem_header{
    line-height: 24px;
}

#languageChanger{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 180px;
    height: 40px;
    background: none;
}

.byCenterTools, .byCenter, .byCenter button{ text-align: center; }
.byCenterAll, .byCenterAll *{ text-align: center !important; }
.byLeft,   .byLeft   button{ text-align: left;   }
.byRight,  .byRight  button{ text-align: right;  }

.byCenterTools .webix_icon {
    padding: 0  ;
}

.noLockScreen {
    opacity: 0 !important;
    background-color: transparent !important;
}

.finger label, .finger {
    cursor: pointer;
}

.errorLink {  text-decoration: none; }
.errorLink:hover {  text-decoration: underline; }

.textUnderline, .textUnderline button {
    text-decoration: underline;
}

.toUpper{
    text-transform: uppercase;
}

.whiteBorder{
    border-color: var(--white);
}

.totalW20 *, .totalW20{
    width: 20px;
    padding: 0 !important;
}

.imgBtn button, .noUpperCase *, .noUpperCase{
    text-transform: none !important;
}

.imgBtn .webix_image{
    margin-right: 4px !important;
}

.paddingTop7  { padding-top: 7px; }
.paddingLeft7 { padding-left: 7px; }

.framePaddingAll10{
    padding: 10px 10px;
}

.framePaddingAll5{
    padding: 5px 5px;
}

.framePaddingW10{
    padding-left: 10px;
    padding-right: 10px;
}

.framePaddingW5{
    padding-left: 5px;
    padding-right: 5px;
}

.framePaddingР10{
    padding-top: 10px;
    padding-bottom: 10px;
}

.framePaddingР30x10{
    padding-top: 30px;
    padding-bottom: 10px;
}

.framePaddingР30{
    padding-top: 30px;
}

.icnBtnPd03 button{
    padding: 0 3px !important;
}

.btnPaddingToggle4 button{
    padding: 0 4px;
}

.frameTopBtnCenter button{
    text-align: center;
}
.frameTopBtnLeft button{
    text-align: left;
}

.frameTopBtnLeft button, .frameTopBtnCenter button {
    line-height: 37px;
    word-break: break-all;
    overflow: hidden;
}

.frameTopBtnCenter .webix_icon_btn, .frameTopBtnLeft .webix_icon_btn, .icoButton .webix_icon_btn{
    margin-top: -4px;
}

.gradient{
    background-color: var(--bg-gradient) !important;
 }

.gradient2{
    background-color: var(--bg-gradient2) !important;
}

.funnyBG {
    background: transparent url(img/pattern.png) center repeat;
}

.privateBg,
.webix_resizer_x.privateBg {
    background-color: var(--bg-private) !important;
}


.width100 { width: 100% }

.smallVideo{
    position: absolute;
    left: 10px;
    bottom: 10px;
    width: 187px;
    min-height: 80px;
    z-index: 2;
    cursor: move;
    box-shadow: var(--file-unit-shadow);
}

.relative{
    position: relative;
}

#uPrivateTypingNotify{
    background: transparent url(img/pero.png) no-repeat;
    width: 32px;
    height: 30px;
}

.header .webix_template, .header{
    line-height: 30pt;
    font-size: 13pt;
    margin: 0 -5px;
    padding-top: 0;
    background: var(--bg-header);
}

.headerBtn .webix_icon_btn{
    vertical-align: baseline;
}

.headerAccordion .webix_accordionitem_header{
    border: none;
    font-size: 12pt;
    color: var(--accent-blue);
    font-weight: 400 !important;
    background-color: var(--accordion-alt-bg);
    text-align: center;
}

.headerAccordion label{
    text-indent: 11px;
    font-weight: 600;
}

.iFrameFit{
    position: relative;
    height: 100%;
    width: 100%;
    border: none;
}

.loadHistory{
    height: 25px;
    position: relative;
    float: right;
    text-align: right;
    padding-right: 2px;
    font-size: 85%;
}

.loadHistory > a {
    position: relative;
    display: inline-block;
    padding: 0 .5em;
    color: inherit;
    text-decoration: none !important;
    margin: 0 -.3em;
}

.loadHistory > a::before {
    border: .1em solid var(--tab-border);
}

.loadHistory a::before {
    content: '';
    position: absolute;
    top: 1px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    border-top: none;
    border-radius: 0 0 0 .7em;
    background: var(--tab-bg) linear-gradient(hsla(0,0%,100%,.6), hsla(0,0%,100%,0));
    transform: scale(1.1, 1.3) perspective(0.5em) rotateX(-5deg);
    transform-origin: top;
}

.loadHistory a.selected { z-index: 2;}

.loadHistory a.selected::before {
    background-color: var(--tab-selected-bg);
}

.loadHistory.right { padding-left: 2em; }

.loadHistory.right > a::before {
    transform: scale(1.2, 1.4) perspective(.6em) rotateX(-5deg);
    transform-origin: top right;
}

.monospaceAll, monospaceAll * {
    font-family: "Courier New", Courier, monospace;
    white-space: pre-wrap;
}
/* =========================== messages ==========================*/

._smileImage_ {
    margin: 1px;
}
._smileImage_:hover{
    margin: 0;
    border: 1px solid var(--smile-hover-border);
    cursor: pointer;
}

.userCount{ font-size: 85%; color: var(--user-count-color); }

.webix_list_item:hover .userCount,
.webix_selected .userCount{ color: var(--user-count-hover); }

.messageUser, .messageMy{
    padding: 2px 5px;
    position: relative;
    margin-bottom: 1px;
}

.messageUser{
    background: var(--msg-user-bg);
    word-break: break-word;
}

.messageTrash:hover, .deleteMessage:hover, .replyMessage:hover, .editMessage:hover, .copyMessage:hover {
    color: var(--msg-control-hover);
}
.messageTrash, .deleteMessage, .replyMessage, .editMessage, .copyMessage {
    margin-left: 7px;
}
.messageTrash>span, .deleteMessage>span, .replyMessage>span, .editMessage>span, .copyMessage>span {
    width: 15px !important;
    text-align: center;
}

.replyMessageEx, .msgMenu{
    position: absolute;
    width: 10px;
    font-size: 95%;
    line-height: 19px;
    color: var(--msg-menu-color);
    right: 50px;
    cursor: pointer;
}
.messageTrashNoTime{
    right: 1px !important;
}

.replyMessageEx{
    top: 7px;
    right: 50px;
    cursor: auto;
}

.msgMenu {
    right: 30px;
}

.messageMy{
    background: var(--msg-my-bg);
}

.messageUser .messageUserName      { color: var(--msg-user-name-color); }
.messageUser .messageUserName:hover{ color: var(--msg-user-name-hover); text-shadow: 1px 1px 1px var(--text-shadow-light); }

.messageMy .messageUserName        { color: var(--msg-my-name-color); }
.messageMy .messageUserName:hover  { color: var(--msg-my-name-hover); text-shadow: 1px 1px 1px var(--text-shadow-light); }

.messageTime{
    display: inline-block;
    position: absolute;
    width: 34px;
    font-size: 80%;
    color: var(--msg-time-color);
    right: 0;
    line-height: 17px;
}

.messageKanbanTime{
    display: inline-block;
    font-size: 90%;
    color: var(--kanban-time-color);
}

.messageUserName{
    font-weight: 600;
}

.messageTextP60 {
    padding-right: 60px;
}
.messageTextP75 {
    padding-right: 75px;
}
.messageText, .messageKanban{
    display: inline-block;
    white-space: pre-wrap;
    text-shadow: var(--msg-text-shadow);
    max-width: -webkit-fill-available;
    width: 100%;
}

.messageText img{
    max-width: 98%;
}

.messageKanban {
    display: inline;
}

.msgWrap {
    position: relative;
}

.messageUser:hover .msgWrap::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -30px;
    height: 30px;
    background: transparent;
    z-index: 1;
}

.msgMenuWrap {
    display: none;
    position: absolute;
    right: 5px;
    top: 10px;
    width: 65px;
    height: 30px;
}

.messageUser:hover .messageTime, .messageMy:hover .messageTime, .msgWrap:hover .messageText{
    color: var(--msg-time-hover-color);
    text-shadow: 1px 1px 1px var(--text-shadow-light);
}

.messageTextHistory{
    margin-right: 116px;
}

.messageTimeHistory{
    font-size: 11.2px !important;
    text-align: right;
    width: 72px;
    margin-right: 6px;
}

.emjMore {
    display: none;
    border: 1px solid var(--emj-block-border);
    border-radius: 8px;
    padding: 0 3px;
    background-color: var(--emj-block-bg);
}

.emjMore:hover {
    display: inline-block;
}

.emjMainBlock {
    padding-left: 4px;
}

.emjMainBlock img {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.emjCount {
    font-size: 84%;
    margin-left: -2px;
    color: var(--emj-count-color);
}

.emjPlusBtn {
    font-size: 26px;
    color: var(--emj-plus-color);
    border: 1px dashed var(--emj-plus-border);
    border-radius: 12px;
    width: 24px;
    height: 24px;
    display: inline-block;
    text-align: center;
    line-height: 24px;
    cursor: pointer;
}

.emjPlusWrap{
    padding-right: 4px;
    display: inline-block;
}

.emjPlusWrap:hover + .emjMore {
    display: inline-block;
}

.emjBlock {
    border: 1px solid var(--emj-block-border);
    border-radius: 8px;
    display: inline-block;
    padding: 0 3px;
    background-color: var(--emj-block-bg);
    margin-right: 4px;
}

.emjBlock .circleAvatarSmall{
    top: -4px;
    height: 15px;
    width: 15px;
}

.emjFirstSelect {
    display: none;
    position: absolute;
    bottom: -30px;
    left: -5px;
    width: 40px;
    height: 30px;
    background: var(--msg-user-bg);
    background-color: var(--emj-popup-bg) !important;
    z-index: 2;
    box-shadow: 4px 4px 5px -3px var(--panel-shadow);
    border-radius: 8px;
    text-align: center;
    padding-top: 2px;
}

.emjFirstSelectDelayed {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.emjFirstSelect img, .emjMainBlock img {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-right: 3px;
    margin-top: 4px;
}

.emjAllSmiles {
    display: none;
}

.messageUser:hover .emjFirstSelect{
    display: inline-block;
}

.messageUser:hover .emjFirstSelectDelayed {
    animation: emjFirstSelectDelay var(--emojiShowDelay) step-end forwards;
}

.emjFirstSelect:hover {
    display: inline-block;
    width: 386px;
    animation: none;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.emjFirstSelect:hover .emjAllSmiles{
    display: inline-block;
}

@keyframes emjFirstSelectDelay {
    0% {
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
    }
    99% {
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
    }
    100% {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }
}

.statusItem .webix_icon {
    font-size: 11px !important;
}
.statusItem {
    line-height: 14px;
    display: inline-block;
    position: absolute;
    right: 35px;
    width: 22px;
    height: 19px;
    text-align: left;
}

.editRight{
    text-align: right !important;
}

.editRight .fa-pencil{
    padding: 0;
}

.messageSend { background: url("./img/wait.png") no-repeat right;}
.messageGot  { background: url("./img/check.png") no-repeat right;}
.messageRead { background: url("./img/dblcheck.png") no-repeat right;}

.exitIcon {
    display: none;
}

.bbsMessage{
    border-bottom: 1px solid var(--bbs-separator);
    padding: 10px;
    font-size: 110%;
}

.bbsTime{
    font-size: 110%;
    font-weight: bolder;
}

.bbsDate{
    font-size: 85%;
}

.bbsName{
    float: right;
}

.bbsText{
    font-size: 105%;
}

.font80 { font-size: 80%; }
.font85 { font-size: 85%; }
.font90 { font-size: 90%; }
.font110{ font-size: 110%; }
.font115{ font-size: 115%; }
.font120{ font-size: 120%; }

.font80All , .font80All  button,.font80All  * { font-size: 80%; }
.font85All , .font85All  button,.font85All  * { font-size: 85%; }
.font95Alli , .font95Alli  button,.font95Alli  * { font-size: 95% !important;}
.font90All , .font90All  button,.font90All  * { font-size: 90%; }
.font95All , .font95All  button,.font95All  * { font-size: 95%; }
.font110All, .font110All button,.font110All * { font-size: 110%;}
.font115All, .font115All button,.font115All * { font-size: 115%;}
.font120All, .font120All button,.font120All * { font-size: 120%;}

.font14l  label{ font-size: 14px !important; }

.ellipsisText, .ellipsisTextAll, .ellipsisTextAll * { text-overflow: ellipsis; }

.flipped {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

.paraPadding20 .webix_el_box {margin-left: 20px;}

.uploader_overall{ height:100%; line-height: 25px;}
.uploader_name{ height:100%; float:left; overflow: hidden;}
.uploader_size{	width: 100px; text-align: right; float: right;}
.uploader_status{
    float: right;
    position: relative;
    width: 100%;
    height: 100%;
}
.uploader_progress{ height: 100%; position: absolute; background-color: var(--upload-progress);}
.uploader_message{ z-index: 1; width:100%; text-align:center; position: absolute;}
.uploader_message.error{ color: var(--error-color);}
.uploader_nopadding .webix_list_item { padding: 0 !important; }


.noPaddingList .webix_list_item, .noPaddingList .webix_list_item:hover, .noPaddingList .webix_column>div { padding: 0 4px }


.firstLineList {
    word-break: break-all;
    height: 26px;
    overflow: hidden;
}


.nowrap{
    white-space: nowrap;
}

.noWhiteSpace .webix_cell{
    white-space: nowrap !important;
}

.dialogItem {
    max-width: 93%;
    text-overflow: ellipsis;
    overflow: hidden;
}

.historyItem {
    max-width: calc(100% - 59px);
    text-overflow: ellipsis;
    overflow: hidden;
}

    /* =========================== WEBIX ============================ */

.dialogs_list .webix_list_item, .dialogs_list .webix_list_item.webix_selected, .dialogs_list .webix_list_item:hover{
    padding: 0 10px;
}

.webix_template {
    padding: 0;
}

.webix_list_item .webix_badge {
    margin: 2px 1px 0 0;
    position: absolute;
    background-color: var(--badge-color) !important;
}

.relative_list .webix_list_item {
    position: relative;
}

.circleAvatar, .circleAvatarSmall {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-block;
    position: absolute;
    left: -3px;
    top: 3px;
    line-height: 29px;
    color: var(--white);
    text-align: center;
    font-size: 97%;
}

.circleAvatarSmall {
    top: -1px;
    left: 0;
    width: 19px;
    height: 19px;
    line-height: 20px;
    position: relative;
    font-size: 62%;
    opacity: .7;
    margin-right: 4px;
}

.stateCircle {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
    position: absolute;
    left: -7px;
    top: 23px;
    background-color: var(--status-circle);
    border: 2px solid var(--status-circle);
}

.stateCircleInner{
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
}

.stateCircleInline {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
    background-color: var(--status-circle);
    margin: 1px 2px;
}

.statusOnline  { color: var(--status-online);  background-color: var(--status-online); }
.statusOffline { color: var(--status-offline); background-color: var(--status-offline); }
.statusAway    { color: var(--status-away);    background-color: var(--status-away); }
.statusDnd     { color: var(--status-dnd);     background-color: var(--status-dnd); }
.statusDefault { color: var(--status-default); background-color: var(--status-default); }
.noBgInIcon .webix_icon { background-color: transparent !important; }

.userStatusOnline  { color: var(--user-status-online) }
.userStatusOffline { color: var(--user-status-offline) }

.webix_badge {
    background-color: var(--badge-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 11px;
    height: 20px;
    min-width: 20px;
    box-sizing: border-box;
    padding: 0 4px;
    text-align: center;
    line-height: 20px;
    position: absolute;
    right: 0;
    top: 0;
}

.accordionListHeader .webix_accordionitem_header, .dialogsHeaderLight .webix_el_label{
    line-height: 30px;
    text-align: center;
    color: var(--accordion-header-color);
    font-weight: 400 !important;
    background-color: var(--accordion-header-bg);
    border: none;
}

.webix_unit_header{
    line-height: 30px;
    text-align: center;
    color: var(--accordion-header-color);
    background-color: var(--accordion-header-bg);
}

.accordionListHeader .webix_accordionitem_label:hover, .accordionListHeader .webix_accordionitem_header:hover{
    background-color: var(--accordion-hover-bg) !important;
    color: var(--white);
}

.headerLineHeight .webix_template, .headerLineHeight .webix_property_label_line{
    line-height: 23px;
    color: var(--white);
    font-size: 14px;
    padding-top: 0;
    background: var(--accent-blue);
}

.toTop{
    vertical-align: top;
}

.webix_tree_img{
    background-color: transparent;
    float: inherit !important;
}

.webix_accordionitem.vertical.collapsed>.webix_accordionitem_header .webix_accordionitem_button,
.webix_accordionitem.vertical>.webix_accordionitem_header .webix_accordionitem_button {
    background-position: center;
}

.webix_accordionitem.vertical.collapsed>.webix_accordionitem_header .webix_accordionitem_button {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAHCAYAAAAvZezQAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwgAADsIBFShKgAAAABh0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMS41ZEdYUgAAAChJREFUGFdjCAkJ+Q8EDDAMFkAWhAvABFEEQBi3ChAHLgDj/P//nwEAjfhDjYoUYBkAAAAASUVORK5CYII=');
}

.webix_accordionitem.vertical>.webix_accordionitem_header .webix_accordionitem_button {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAECAYAAABCxiV9AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwgAADsIBFShKgAAAABh0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMS41ZEdYUgAAACdJREFUGFdjCAkJ+Y8LM/z//x+rApA4WBJdAUwMLgnCyBL///9nAAAsoEONc03xMgAAAABJRU5ErkJggg==');
}


.webix_accordionitem_label{ float:none; }

.webix_tab_filler{ width: 0 !important; }

.webix_item_tab{ font-size: 14px !important; }

.webix_section{  font-family: sans-serif; }

.left_area.webix_column>div:nth-child(even){ background-color: var(--table-stripe-even); }
.left_area.webix_column>div:nth-child(odd) { background-color: var(--table-stripe-odd); }

.grid_area.webix_column>div:nth-child(odd),
.grid_area .grid_area_bst:nth-child(odd) { background-color: var(--table-stripe-odd); }

.ico30 .webix_icon_btn{
    font-size: 26px;
}

.ico20 .webix_icon_btn{
    font-size: 16px;
    margin-top: -4px;
    padding: 0;
}

.webix_icon{width: auto;}

.webix_cal_body .webix_cal_row {clear: none}

.webix_view>.webix_disabled{
    opacity: .2 !important;
}

.webix_disabled_box button, .webix_disabled_box span{
    color: var(--disabled-color) !important;
}

.webix_info img, .webix_modal_box img {
    float: inherit;
    margin: inherit;
}

.webix_accordionitem_button {
    margin: auto;
    height: 100%;
}

.webix_radio_option{
    height: 30px;
}

.webix_tree_close,.webix_tree_file,.webix_tree_folder,.webix_tree_folder_open,.webix_tree_none,.webix_tree_open{
    text-align: center;
    background-position: right;
    float:left;
    width:13px;
    height:100%;
    cursor:pointer;
    margin:0;
    background-repeat:no-repeat
}

.delIcon .webix_el_button button{
    padding: 0;
}

.noPaddingCell .webix_column>div, .webix_table_cell {
    padding: 0;
}

.paddingCell3 .webix_column>div, .webix_table_cell {
    padding: 0 3px;
}

/* ========================================================= */

.fit {
    width: inherit !important;
    height: inherit !important;
    position: inherit !important;
}

#cameraSwitch, #microphoneSwitch, #cancelCall, #fillFitScreen, #minMaxScreen, #recordCall{
    display: inline-block;
    height: 30px;
    width: 40px;
    cursor: pointer;
}

#microphoneSwitch   { background: url(../images/microphone_on.png) no-repeat center; cursor: pointer; }
.microphoneSwitchOFF{ background: url(../images/microphone_off.png) no-repeat center !important; }

#cameraSwitch       { background: url(../images/video_on.png) no-repeat center; cursor: pointer; }
.cameraSwitchOFF    { background: url(../images/video_off.png) no-repeat center !important; }

#fillFitScreen      { background: url(../images/fit.png) no-repeat center; cursor: pointer; }
.fillFitScreenOFF   { background: url(../images/fill.png) no-repeat center !important; cursor: pointer; }

#minMaxScreen       { background: url(../images/maximize.png) no-repeat center; cursor: pointer; }
.minMaxScreenOFF    { background: url(../images/minimize.png) no-repeat center !important; cursor: pointer; }

#recordCall         { background: url(/mctools/mcVoiceRecording/images/recordRed.png) no-repeat center; cursor: pointer; }

#cancelCall         { background: url(../images/drop_call.png) no-repeat center; cursor: pointer; }

#videoFrameContainer {
    position: relative;
}

#cPanel {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    width: fit-content;
    max-width: calc(100% - 12px);
    box-sizing: border-box;
    position: absolute;
    z-index: 4;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 18px;
    background: var(--cp-panel-bg);
    box-shadow: var(--cp-panel-shadow);
    color: var(--cp-control-text);
}

.floating-cpanel-host {
    position: absolute;
    z-index: 8;
    cursor: move;
    user-select: none;
    font-family: Roboto, Arial, sans-serif;
}

.floating-cpanel-host #cPanel {
    position: static;
    left: auto;
    bottom: auto;
    transform: none;
}

.whitePanelBG {
    background-color: var(--bg-white-panel);
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    box-shadow: -1px -2px 4px -1px var(--panel-shadow);
}

#callTime {
    font-family: monospace;
    padding: 6px 5px;
    background: var(--cp-control-bg);
    border-radius: 18px;
    border: 1px solid var(--cp-control-border);
    color: var(--cp-control-text);
    font-size: 14px;
    width: 100px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 100px;
    box-sizing: border-box;
    cursor: default;
    text-shadow: 1px 1px 0 var(--call-time-shadow);
}

/* === cPanel v2 === */

.top-controls,
.bottom-controls {
    display: flex;
    gap: 4px;
    align-items: center;
    flex-wrap: nowrap;
    max-width: 100%;
    min-width: 0;
}

.control-btn {
    width: 36px;
    height: 36px;
    border-radius: 18px;
    border: 1px solid var(--cp-control-border);
    background: var(--cp-control-bg);
    color: var(--cp-control-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex: 0 0 36px;
    box-sizing: border-box;
}

#cPanel .control-btn {
    display: inline-flex;
    position: relative;
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    border-radius: 50%;
    line-height: 1;
    background: var(--cp-control-bg);
    background-image: none !important;
    flex: 0 0 36px;
}

#cPanel .cp-btn {
    position: relative;
}

#cPanel .control-btn,
#cPanel .split-button {
    background-image: none !important;
}

.split-button {
    display: inline-flex;
    align-items: center;
    background: var(--cp-control-bg);
    border: 1px solid var(--cp-control-border);
    color: var(--cp-control-text);
    border-radius: 18px;
    overflow: hidden;
    height: 36px;
    flex: 1 1 180px;
    min-width: 0;
    max-width: 180px;
    box-sizing: border-box;
}

.main-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    background: none;
    color: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#cPanel .main-btn {
    position: relative;
    flex: 0 0 36px;
}

.main-btn i {
    font-size: 16px;
    width: 16px;
    text-align: center;
}

#cPanel .cp-btn i {
    display: flex !important;
    position: absolute;
    left: 50%;
    top: 50%;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    width: 1em;
    height: 1em;
    margin: 0;
    text-align: center;
    transform: translate(-50%, -50%);
    transform-origin: center center;
    padding: 0 !important;
}

#cPanel .cp-btn i::before {
    display: block;
    line-height: 1;
}

#cPanel .cp-speaker-mute.speaking i {
    color: #1f9d55;
}

#cPanel .cp-hangup i {
    font-size: 20px;
    transform: translate(-50%, -50%) rotate(-225deg) !important;
}

.cp-fa4 .cp-btn i,
.cp-fa6 .cp-btn i {
    font-style: normal;
}

.select-part {
    position: relative;
    width: auto;
    min-width: 0;
    height: 100%;
    padding: 0 22px 0 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    box-sizing: border-box;
}

.device-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
    min-width: 0;
    font-size: 14px;
}

.select-part::after {
    content: "▾";
    position: absolute;
    right: 7px;
    top: 53%;
    transform: translateY(-50%);
    color: var(--cp-control-text);
    opacity: 0.72;
    font-size: 20px;
    pointer-events: none;
}

.device-select {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    left: 0;
    font-family: Roboto, Arial, sans-serif;
    font-size: 14px;
}

.device-select option {
    font-family: Roboto, Arial, sans-serif;
    font-size: 14px;
}

.device-select:disabled {
    cursor: auto;
}

.active {
    background: var(--cp-active-bg) !important;
    color: var(--cp-active-color);
}

.split-button.disabled .select-part {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.select-part.disabled {
    cursor: not-allowed;
}

.control-btn:hover,
.split-button:hover {
    border-color: var(--cp-control-hover-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.cp-btn--disabled {
    opacity: 0.3;
    cursor: default !important;
}

.cp-row {
    display: flex;
    gap: 4px;
    align-items: center;
    flex-wrap: nowrap;
    max-width: 100%;
    min-width: 0;
}

.cp-select {
    display: inline-flex;
    align-items: center;
}

.cp-mic-combo .select-part,
.cp-camera-combo .select-part {
    min-width: 60px;
}

.mirrorFlip {
    transform: scaleX(-1);
}

.rotate1 { transform: rotate(0deg); }
.rotate2 { transform: rotate(90deg); }
.rotate3 { transform: rotate(180deg); }
.rotate4 { transform: rotate(270deg); }
.rotate2m { transform: rotate(90deg) scaleX(-1); }
.rotate3m { transform: rotate(180deg) scaleX(-1); }
.rotate4m { transform: rotate(270deg) scaleX(-1); }

#mirrorStreamName{
    height: 20%;
    width: 20%;
    position: absolute;
    right: 0;
    bottom: 0;
    border: 0;
    z-index: 3;
    opacity: .9;
    border-radius: 4px;

    transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
}

.VideoCaller{
    max-height: 100%;
    min-width: 100%;
}

.AudioCaller{
    width: 1px;
    height: 1px;
    position: absolute;
    left: -10px;
}

.maxSize {
    position: fixed;
    z-index: 100;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: auto !important;
    height: auto !important;
    background: var(--bg-maxsize);
    text-align: center;
}


.menuBTN .webix_disabled{
    background-color: transparent !important;
}

.menuBTN .webix_disabled_box button, .menuBTN .webix_disabled_box span {
    color: var(--color-gray) !important;
}

.shortMsg {
    display: block;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
    word-break: break-all;
    white-space: nowrap;
}

.shadow1px { text-shadow: 1px 1px 1px var(--shadow-text);}
.shadow2px { text-shadow: 1px 1px 2px var(--shadow-text); }

.shadow1pxWhite { text-shadow: 1px 1px 2px var(--shadow-text-light); }

.boxShadow { box-shadow: 0 0 3px var(--shadow-color); }

.webix_list .webix_list_item:hover,.webix_list .webix_list_item.webix_selected,
.webix_selected .greenLight, .webix_selected .brownLight, .webix_selected .grayLight,
.webix_list_item:hover .greenLight, .webix_list_item:hover .brownLight, .webix_list_item:hover .grayLight,
.webix_selected .dLinkColor, .webix_list_item:hover .dLinkColor {color: var(--text-secondary); position: relative; }

.webix_list_item:hover .dialogItem, .webix_list .webix_list_item.webix_selected .dialogItem {text-shadow: none !important;}

.webix_selected .boxShadow, .webix_list_item:hover .boxShadow { box-shadow: 0 0 2px var(--box-shadow-selected); }

.webix_selected .stateCircle, .webix_list_item:hover .stateCircle { border: 2px solid var(--state-circle-selected); background-color: var(--state-circle-selected)}

.boxShadow1px { box-shadow: 1px 1px 1px var(--box-shadow-1px); }

.badge_tool {
    background-color: var(--badge-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 11px;
    height: 8px;
    width: 8px;
    box-sizing: border-box;
    padding: 0 4px;
    text-align: center;
    line-height: 20px;
    position: absolute;
    right: 12px;
    top: 9px;
}

.msgCircle {
    margin-bottom: 1px;
    background-color: var(--badge-color);
    border-radius: 50%;
    height: 6px;
    width: 6px;
    box-sizing: border-box;
}

.deletedMsg, .deletedMsg *, .deletedMsg:hover, .deletedMsg:hover *{
    color: var(--text-deleted) !important;
}

.showOnOver .webix_cell>.needShow { display: none; }
.showOnOver .webix_cell>.needHide { display: inline-block; }
.showOnOver .webix_cell:hover>.needShow { display: inline-block; }
.showOnOver .webix_cell:hover>.needHide { display: none; }

.adjustImg img {
    max-width: 100%;
}

.webix_drag_zone .shortMsg .brownLight, .webix_drag_zone .shortMsg .greenLight{
    color: var(--color-54) !important;
}
.webix_drag_zone .circleAvatar {
    opacity: 1 !important;
}

.webix_drag_zone .webix_list_item{
    line-height: 20px;
}
.webix_drag_zone .stateCircle{
    background-color: var(--white);
    border: 2px solid transparent;
}
.webix_drag_zone .shadow1px {
    text-shadow: none;
}

.listAvatar {
    position: relative;
    left: -8px;
    top: -1px;
}

.treeAvatar {
    position: absolute;
    left: 13px;
    margin-top: 2px;
}

.loadingCursor {
    cursor: wait !important;
}

.emojiSize{
    height: 30px;
    width: 30px;
}

.msgSeparator {
    margin-top : 2px;
    border-top : 1px dashed var(--border-subtle);
    padding-top: 1px;
}

.daySeparator {
    display         : inline-block;
    width           : 100%;
    margin          : 7pt 0;
    background-color: var(--day-separator-bg);
}

.hljs {
    background: var(--hljs-bg);
    color: var(--hljs-text);
}

.bgMiniUserPhoto {
    background: transparent;
}

.scrollDownButton {
    position: absolute;
    bottom: 0;
    left: 49%;
    width: 50px;
    height: 6px;
    border: 1px solid var(--divider-color);
    border-radius: 3px;
}

.quickMsgTempMsg {
    white-space: nowrap;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.toolIcon {
    vertical-align: 0;
    width: 14px;
    text-align: center;
}

.toolIconNotify {
    color: var(--tool-notify-color);
}

.copyTextBtn {
    vertical-align: top;
    margin-top: 2px;
}

.quoteMessage {
    margin-top: 3px;
    margin-bottom: 3px;
    margin-left: 1px;
    padding-left: 10px;
    border-left: 3px solid var(--quote-border);
}

.quoteMessage .messageTime {
    position: static;
}

.quoteMessage .messageTimeHistory {
    text-align: left;
    width: 150px;
}

.quoteMessage .grayBorderTop {
    border: none;
}

.quoteUserName, .quoteUserName *{
    cursor: pointer !important;
}

@keyframes quotedMsgFlash {
    0%   { background-color: transparent; }
    30%  { background-color: rgba(255, 200, 0, 0.35); }
    100% { background-color: transparent; }
}

.quotedMsgHighlight {
    animation: quotedMsgFlash 1.5s ease-out;
    border-radius: 4px;
}

.replyBlock {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    padding: 2px;
}

.replyBlock .messageTime {
    top: 7px;
}

.borderMSG .borderMSG{
    border: none;
}

.borderMSG {
    border: 1px solid var(--border-msg);
    padding: 3px;
}


.inline_pre{
    display: inline-block;
}

#__terminal-input, .__terminal-clipcopy{
    border: none;
    width: 1px;
    padding: 0;
    height: 16px;
    position: fixed;
    left: -10px;
}

._terminalCursor{
    background-color: var(--terminal-cursor);
    display: inline-block;
    position: relative;
    mix-blend-mode: hard-light;
}

#__terminal-input-mirror{
    mix-blend-mode: multiply;
}

#__terminal-input-wrapper{
    max-width: calc(100% - 15px);
    overflow: auto;
    white-space: nowrap;
}

#__terminal-input-wrapper pre, #__terminal-output-wrapper pre {
    margin: 0;
}

.terminal_scroll{
    overflow: auto;
}

.noBorderBottomRow .webix_column>div {
    border-bottom: none;
}

.smallListHeight .webix_cell {
    line-height: 22px;
}

.ntfItems .webix_list_item {
    border-bottom: 1px solid var(--ntf-item-border);
    display: flex;
}

.ntfItems .webix_list_item span{
    margin: auto 0;
}

.flexContainer .webix_template{
    display: flex;
}

.flexContainer .flexVerticalMiddle{
    margin: auto;
}

.middleLine {
    height: 50%;
    border-top: 1px solid var(--divider-color);
}

.intextTable{
    border-collapse: collapse !important;
    border-spacing: 0px !important;
    position: relative;
}
.intextTable td {
    min-height: 21px;
    border-width: 1px;
    border-style: solid;
}

.noShadow {
    text-shadow: none !important;
}

.intextTable p {
    margin: 0;
    display: inline-block;
    width: 100%;
}

.tableOverflow {
    overflow-x: auto;
}

._innerContainer {
    padding-bottom: 30px;
}

/* --- Modern media player for AUDIO/VIDEO messages ---------------------- */
.webinar-panel,
.webinar-panel .webix_layout_toolbar.webix_toolbar {
    background: var(--webinar-panel-bg, #f4f7fa);
}
.webinar-panel { border-bottom: 1px solid var(--webinar-panel-border, #d5dde8); }
.webinar-status-label {
    font-weight: 600;
    padding-left: 8px;
    color: var(--webinar-status-color, inherit);
}

.webinar-request-row { display: flex; align-items: center; padding: 4px 8px; gap: 8px; }
.webinar-request-row .request-name { flex: 1; font-weight: 500; }
.webinar-request-row .request-type { color: #888; font-size: 0.85em; }
.webinar-request-row .approve-btn { color: #2a9d3f; cursor: pointer; }
.webinar-request-row .partial-btn { color: #d99000; cursor: pointer; }
.webinar-request-row .reject-btn  { color: #c93838; cursor: pointer; }

.webinar-requests-label { padding: 4px 8px; font-weight: 600; background: #fff7e0; }
.media-conf-mic { display: inline-block; width: 14px; margin-right: 3px; text-align: center; }
.media-conf-mic.fa-microphone { color: var(--media-conf-mic-active-color, inherit); }
.media-conf-mic.speaking { color: #1f9d55; }
.webinar-grant-badge { margin-left: 4px; font-size: 0.85em; color: #2a9d3f; }
.webinar-grant-badge.media { color: #d99000; }
.webinar-user-action { margin-left: 5px; cursor: pointer; }
.webinar-toggle-btn button {
    color: var(--webinar-toggle-color, #555);
    background: transparent;
    text-align: center;
    padding: 0;
}
.webinar-toggle-btn button .webix_icon_btn,
.webinar-toggle-btn button .webix_icon {
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
    float: none;
    font-size: 18px;
    line-height: 28px;
}
.webinar-toggle-btn button:hover { color: var(--webinar-toggle-hover-color, #000); }
.webinar-toggle-active button {
    color: var(--webinar-toggle-active-color, #fff);
    background: var(--webinar-toggle-active-bg, #2a9d3f);
    border-radius: 3px;
}
.webinar-toggle-active button:hover { color: var(--webinar-toggle-active-color, #fff); }
.webinar-media-wrapper { background: #111820; border-top: 1px solid #d5dde8; }
.webinar-media-stage { position: relative; width: 100%; height: 100%; overflow: hidden; background: #111820; }
.webinar-media-video { width: 100%; height: 100%; object-fit: contain; background: #111820; }
.webinar-media-video.rotate2 { transform: rotate(90deg); }
.webinar-media-video.rotate3 { transform: rotate(180deg); }
.webinar-media-video.rotate4 { transform: rotate(270deg); }
.webinar-media-panel-host { position: absolute; left: 0; right: 0; bottom: 0; height: 58px; pointer-events: none; }
.webinar-media-panel-host #cPanel { pointer-events: auto; }
.webinar-media-maximized { position: fixed; left: 0; right: 0; top: 0; bottom: 0; z-index: 10000; }
