body {
    height: 100%;
    width: 100%;
    margin: 0 0;
    padding: 0 0;
    background: url(img/bg_noise.png) repeat;
    position: absolute;

    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;
}

::-webkit-scrollbar {
    width: 10px;
    opacity: .8;
}
::-webkit-scrollbar-track {
    background-color: rgba(234, 234, 234, 0.50);
    /*border-left: 1px solid transparent;*/
}
::-webkit-scrollbar-thumb {
    background-color: rgba(204, 204, 204, 0.70);
}
::-webkit-scrollbar-thumb:hover {
    background-color: rgba(178, 178, 178, 0.8);
}

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-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: #fff;
    font-family: arial, sans-serif;
    font-size: 1em;
    text-shadow: 1px 1px 2px rgba(85, 85, 85, 0.95);
}
#loadingProgress{
    background-color: rgba(61, 77, 253, 0.36);
    width: 1px;
}

.uploader_nopadding .webix_list_item{ padding: 0 !important; }

/* ================ View Containers ====================== */

.onlineStatus{
    width: 12px;
    height: 12px;
    background-color: #777;
    border-radius: 6px;
    display: inline-block;
    margin-right: 3px;
}

.nav{
}

.wrp{
    height: 100%;
    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;
}

.wrap, .wrap *{
    word-break: normal;
}

.toolBtnCenter *{
    float: none !important;
    text-align: center;
    display: inline-block;
}
.toolBtnCenter {
    margin-left: 0 !important;
}

.toRight { float: right; }

.fotoBtn *{
    padding: 1px 0 1px 0;
}

.fotoLineHeight, .fotoLineHeight *{
    line-height: 175px;
    vertical-align: middle;
}

.scrollMenu {
    overflow-y: auto !important;
}

.scrollMenuYX {
    overflow: auto !important;
}

.scrollAuto{
    overflow: auto !important;
}

.listColorWhite .webix_list_item{
    color: #fff ;
}

.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: #134771 !important;
}

.thumbImage{
    max-width: 100%;
    /*width: 400px;*/
    height: auto;
    max-height: 600px;
    cursor: pointer;
    border: 1px solid #ddd;
    box-shadow: 1px 1px 5px #999;
}

.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 rgba(0,0,0,.4);
}

.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: #ccc 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: rgba(221, 251, 224, 0.16);
}

.loadHistory.right { padding-left: 2em; }

.loadHistory.right > a::before {
    transform: scale(1.2, 1.4) perspective(.6em) rotateX(-5deg);
    transform-origin: top right;
}

.red .webix_img_btn *  {color: red !important;}
.red  {color: red;}
.green .webix_img_btn *{color: #008000 !important;}
.green{color: #008000;}
.brown{color: #800000;}
.linkColor, .linkColor * {color: #027bb2 !important;}
.spec, .specAll *, .specAll {color: #1d1d80 !important;}
.color54, .color54 .webix_disabled_box *, .color54 .webix_icon_btn {color: #545454 !important;}
.gray, .gray .webix_img_btn{ color: #808080;}
.blue{ color: blue }
.white{color: #ffffff;}
.whiteBG button {background-color: #ffffff;}
.whiteBgAll *, .whiteBgAll {background-color: #ffffff !important;}
.WhiteMenu, .WhiteMenu *, .WhiteMenu .iconNoPadding {color: #fcffe4 !important;}
.Gray *, .Gray {color: #d1d1d1 !important;}
.yellow {color: #ffb64a }

.yellowSelect .webix_selected  { background-color: #ffb64a !important; }

.boxShadow {
    box-shadow: 0 0 20px rgba(0,0,0,.2);
}

.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;
}

.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: rgba(255, 246, 221, 0.54) !important;
}

.bgMCtextarea * {
    background-color: rgba(248, 245, 242, 0.35) !important;
}

.bgMCtextarea textarea{
    border-color: #aaa;
}

.bgDarknessHeader {
    /*background-color: rgba(213, 202, 183, 0.76) !important;*/
    background-color: #283d4e !important;
}

.bgDarkness, .bgDarknessEx, .bgDarknessEx * {
    background-color: rgb(127, 121, 109) !important;
}

.borderTop {
    border: none;
    border-top: 1px solid #aaa !important;
    border-width: 1px !important;
}

.borderBottom {
    border: none;
    border-bottom: 1px solid #aaa !important;
    border-width: 1px !important;
}

.prInp input, .prInp select, .prInp .webix_inp_static{
    border: none;
    border-bottom: 1px solid #cfcfcf !important;
    border-width: 1px !important;
    color: #3498DB;
    font-size: 13pt;
    padding-left: 10px;
    background-color: transparent;
}

.prInp select{
    padding-left: 7px;
}

.prInp label{
    font-size: 9pt;
    font-weight: 400;
    padding-left: 1px;
    color: #777;
}

.lHeight30{
    line-height: 30px;
}

.noPadding { padding: 0 !important; }
.noMargin  { margin: 0 !important; }

.marginTop10 { margin-top: 10px;}

.iconNoPadding .webix_disabled{
    background: none;
}

.iconNoPadding .webix_icon_btn{
    vertical-align: text-bottom;
}

.iconNoPadding button{
    padding: 0 3px !important;
}

.lineHeight20 .webix_list_item, .lineHeight24{
    line-height: 24px;
}

#languageChanger{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 180px;
    height: 40px;
    background: none;
}

.byCenter, .byCenter button{ text-align: center; }
.byCenterAll, .byCenterAll *{ text-align: center !important; }
.byLeft,   .byLeft   button{ text-align: left;   }
.byRight,  .byRight  button{ text-align: right;  }

.noLockScreen {
    opacity: 0 !important;
    background-color: transparent !important;
}

.finger label, .finger {
    cursor: pointer;
}

.nav .webix_selected{
    text-decoration: underline;
    font-weight: bold;
}

.toUpper{
    text-transform: uppercase;
}

.whiteBorder{
    border-color: #fff;
}

.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;
}

.framePaddingAll10{
    padding: 10px 10px;
}

.framePaddingW10{
    padding-left: 10px;
    padding-right: 10px;
}

.framePaddingW5{
    padding-left: 5px;
    padding-right: 5px;
}

.framePaddingР10{
    padding-top: 10px;
    padding-bottom: 10px;
}

.framePaddingР20{
    padding-top: 20px;
    padding-bottom: 20px;
}

.btnPaddingToggle4 button{
    padding: 0 4px;
}

.frameTopBtnCenter button{
    text-align: center;
    border-bottom: 1px solid #DDD !important;
    height: 37px;
    line-height: 37px;
    word-break: break-all;
    overflow: hidden;
}

.frameTopBtnCenter .webix_icon_btn, .icoButton .webix_icon_btn{
    margin-top: -4px;
}

.gradient{
    /*background: #F2FDFF url(/wallpaper/test.png) center no-repeat !important;*/
    background-color: #fff4d4 !important;
}

.gradient2{
    /*background: #F2FDFF url(/wallpaper/test.png) center no-repeat !important;*/
    background-color: #F2FDFF !important;
}

.privateBg{
    background-color: #FAFFFF;
}

.VideoCaller{
    height: 100%;
    max-width: 100%;
}

.width100 { width: 100% }

.smallVideo{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 20%;
    z-index: 2;
    /*cursor: move;*/
    box-shadow: 0 0 6px 0 #ddd;
}

.myVideo{
    transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    max-height: 100%;
    max-width: 100%;
}

.relative{
    position: relative;
}

/*
.uPrivateTypingNotify{
    background: transparent url(img/pero.png) no-repeat;
}
*/

.header .webix_template, .header{
    line-height: 30pt;
    font-size: 14pt;
    margin: 0 -5px;
    padding-top: 0;
    background: #f2fdff;
}

.headerBtn .webix_icon_btn{
    vertical-align: baseline;
}

.headerAccordion .webix_accordionitem_header{
    border: none;
    font-size: 12pt;
    color: #3498DB;
    font-weight: 400;
    background-color: #fafafa;
    text-align: center;
}

.headerAccordion label{
    text-indent: 11px;
    font-weight: 600;
}

/* =========================== messages ==========================*/

.messageUser, .messageMy{
    padding: 0 5px;
    position: relative;
}

.messageUser{
    background: transparent url(img/transparent_r.png) repeat;
    word-break: break-word;
}

.messageMy{
    background: transparent url(img/transparent_g.png) repeat;
}

.messageUser .messageUserName{
    color: #e8476a;
}

.messageMy .messageUserName{
    color: green;
}

.messageTime{
    display: inline-block;
    position: absolute;
    width: 48px;
    font-size: 80%;
    color: #bbb;
    right: 0;
}

.messageKanbanTime{
    display: inline-block;
    font-size: 90%;
    color: #bbb;
}

.messageUserName{
    font-weight: 600;
    cursor: pointer;
}

.messageText, .messageKanban{
    display: inline-block;
    margin-right: 51px;
    text-shadow: 0 1px 0 #fff;
}

.messageKanban {
    display: inline;
}

.messageUser:hover .messageTime, .messageMy:hover .messageTime, .messageUserName:hover{
    color: #000;
    text-shadow: 1px 1px 1px #eee;
}

.messageTextHistory{
    margin-right: 116px;
}

.messageTimeHistory{
    width: 62px;
}

.exitIcon {
    display: none;
}

.hideFileInput {
    position: absolute;
    left : -200pt;
    top: 0;
    height: 0;
}

#uPrivateTypingNotify{
    background: transparent url(img/pero.png) no-repeat;
    width: 32px;
    height: 30px;
}

/* =========================== WEBIX ============================ */

.webix_template {
    padding: 0;
}


.webix_list_item .webix_badge {
    margin: 1px -10px 0 0;
    background-color: #FF8839 !important;
}

.webix_unit_header{
    line-height: 30px;
    text-align: center;
    color: #ecff7b;
    background-color: rgba(103, 129, 133, 0.73);
}

.headerLineHeight .webix_template, .headerLineHeight .webix_property_label_line{
    line-height: 23px;
    color: #FFF;
    font-size: 14px;
    padding-top: 0;
    background: #3498DB;
}

.webix_tree_img{
    background-color: transparent;
}

.webix_accordionitem_label{ float:none; }

.webix_tab_filler{ width: 0 !important; }

.webix_item_tab{ font-size: 14px !important; }

.webix_section{  font-family: sans-serif; }

/*.webix_column>div.webix_row_select    { color: #FFF; background-color: #27AE60 !important; }*/
/*.webix_column>div.red.webix_row_select, .webix_list_item.webix_selected > span.blue { color: #F5FF00 !important; background-color: #27AE60 !important; }*/

.left_area.webix_column>div:nth-child(even){ background-color:#ffffdd; }
.left_area.webix_column>div:nth-child(odd) { background-color:#ffffee; }

/*.grid_area.webix_column>div:nth-child(even){ background-color: #fffef2; }*/
.grid_area.webix_column>div:nth-child(odd) { background-color:#ffffee; }

.ico30 .webix_icon_btn{
    font-size: 26px;
}

.ico20 .webix_icon_btn{
    font-size: 16px;
    margin-top: -3px;
    padding: 0;
}

.webix_icon{width: auto;}

.webix_list .webix_list_item:hover,.webix_list .webix_list_item.webix_selected{color: #777; position: relative;}

.webix_view>.webix_disabled{
    opacity: .2 !important;
}

.webix_disabled_box button, .webix_disabled_box span{
    color: #ddd !important;
}

.webix_info img, .webix_modal_box img {
    float: inherit;
    margin: inherit;
}