@font-face {
    font-family: 'NotoSansArmenianRegular';
    src: url('/static/fonts/notosansarmenian-regular.eot');
    src: url('/static/fonts/notosansarmenian-regular.eot') format('embedded-opentype'),
         url('/static/fonts/notosansarmenian-regular.woff2') format('woff2'),
         url('/static/fonts/notosansarmenian-regular.woff') format('woff'),
         url('/static/fonts/notosansarmenian-regular.ttf') format('truetype'),
         url('/static/fonts/notosansarmenian-regular.svg#NotoSansArmenianRegular') format('svg');
}
@font-face {
    font-family: 'NotoSansArmenianBold';
    src: url('/static/fonts/notosansarmenian-bold.eot');
    src: url('/static/fonts/notosansarmenian-bold.eot') format('embedded-opentype'),
         url('/static/fonts/notosansarmenian-bold.woff2') format('woff2'),
         url('/static/fonts/notosansarmenian-bold.woff') format('woff'),
         url('/static/fonts/notosansarmenian-bold.ttf') format('truetype'),
         url('/static/fonts/notosansarmenian-bold.svg#NotoSansArmenianBold') format('svg');
}
@font-face {
    font-family: 'NotoSansRegular';
    src: url('/static/fonts/notosans-regular.eot');
    src: url('/static/fonts/notosans-regular.eot') format('embedded-opentype'),
         url('/static/fonts/notosans-regular.woff2') format('woff2'),
         url('/static/fonts/notosans-regular.woff') format('woff'),
         url('/static/fonts/notosans-regular.ttf') format('truetype'),
         url('/static/fonts/notosans-regular.svg#NotoSansRegular') format('svg');
}
@font-face {
    font-family: 'NotoSansBold';
    src: url('/static/fonts/notosans-bold.eot');
    src: url('/static/fonts/notosans-bold.eot') format('embedded-opentype'),
         url('/static/fonts/notosans-bold.woff2') format('woff2'),
         url('/static/fonts/notosans-bold.woff') format('woff'),
         url('/static/fonts/notosans-bold.ttf') format('truetype'),
         url('/static/fonts/notosans-bold.svg#NotoSansBold') format('svg');
}
#roster-panel div.template { display: none; }
#roster-panel div.no-online { display: none; }
#roster-panel.zero-online div.no-online { display: block; }

#chat-tabs div.template { display: none; }

#chat-tabs div.tab { 
    vertical-align: bottom;
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,.5);
    -moz-box-shadow: 0 0 10px rgba(0,0,0,.5);
    box-shadow: 0 0 10px rgba(0,0,0,.5);

}
#chat-tabs div.tab.maximized div.tab-header {
    display: block;
    position: relative;
}
#chat-tabs div.tab.maximized div.tab-conv-wrapper { display: block; }
#chat-tabs .more-tabs div.tab.minimized{
    display: block;
}
#chat-tabs div.tab.maximized div.tab-input { 
    border-top: 1px solid #dedede;
    display: block;
    max-height: 93px;
    position: relative;
}

.tab-inner {
    border: none;
    max-height: 92px;
    overflow-x: hidden;
    overflow-y: hidden;
}

textarea.agrow {
   border: none;
    box-shadow: none;
    font-family: "NotoSansArmenianRegular","NotoSansRegular";
    height: 33px;
    line-height: 16px;
    margin: 0;
    overflow: hidden;
    padding: 11px 10px;
    width: 180px;
    resize: none;
}
@-moz-document url-prefix() {
    textarea.agrow {
        padding-bottom: 0;
        margin-bottom: 5px;
    }
}
/*textarea.agrow:focus {*/
    /*border-color: #cccccc;*/
    /*box-shadow: none;*/
    /*border-top: none;*/
/*}*/
textarea.agrow::-webkit-input-placeholder {
    color: #aaa;
  line-height: 18px;
  font-size: 12px;
}

textarea.agrow:-moz-placeholder { /* Firefox 18- */
     color: #aaa;
  line-height: 18px;
  font-size: 12px;
}

textarea.agrow::-moz-placeholder {  /* Firefox 19+ */
     color: #aaa;
  line-height: 18px;
  font-size: 12px;
}

textarea.agrow:-ms-input-placeholder {  
  color: #aaa;
  line-height: 18px;
  font-size: 12px;
}
.tab-input .form-photoUpload-toChat{
    bottom: 10px;
    position: absolute;
    right: 6px;
}
.tab-input .attach-file{
    background-image: url('/static/img/redesign/social/icons/emoji/sms_photo.png');
    display: block;
    background-size: cover;
    width: 21px;
    height: 19px;
}
.tab-input .attach-file:hover{
    background-position: -17px 14px;
}
.tab-input #smiles {
    right: 42px;
    bottom: 10px;
    position: absolute;
}
.tab-input #smiles a.dropdown-toggle img{
    width: 18px;
}
/*.tab-input #smiles a.dropdown-toggle{*/
    /*background: url("/static/img/chat/chat-message-icons.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);*/
    /*height: 15px;*/
    /*width: 15px;*/
/*}*/
/*#smiles div.dropdown-menu{*/
    /*border-color: #999;*/
    /*box-shadow: none;*/
    /*left: -9px;*/
    /*top: -70px;*/
    /*margin: 0;*/
    /*min-width: 160px;*/
/*}*/
/*#smiles div.dropdown-menu:after {*/
  /*border-left: 8px solid transparent;*/
    /*border-right: 8px solid transparent;*/
    /*border-top: 8px solid #999;*/
    /*content: "";*/
    /*height: 0;*/
    /*left: 10px;*/
    /*position: absolute;*/
    /*bottom: -9px;*/
    /*width: 0;*/
/*}*/
/*#smiles div.dropdown-menu:before {*/
    /*border-left: 8px solid transparent;*/
    /*border-right: 8px solid transparent;*/
    /*border-top: 8px solid #fff;*/
    /*bottom: -8px;*/
    /*content: "";*/
    /*height: 0;*/
    /*left: 10px;*/
    /*z-index: 9999;*/
    /*position: absolute;*/
    /*width: 0;*/
/*}*/
.tab-input #smiles a.dropdown-toggle:hover{
    background-position: 0 -19px !important;
}

#chat-tabs div.tab.maximized div.tab-footer { display: none; }
#chat-tabs div.tab.minimized div.tab-header { display: none; }
#chat-tabs div.tab.minimized div.tab-conv-wrapper { display: none; }
#chat-tabs div.tab.minimized div.white-space { display: none; }
#chat-tabs div.tab.minimized div.tab-input { display: none; }
#chat-tabs div.tab.minimized div.tab-footer { display: block; }

#chat-tabs div.tab-input input {
    height: 15px;
    margin-bottom: 0;
    width: 190px;
    margin-left: -1px;
    display: block;
    float: right;
}

#chat-start {
    background-color: white;
    position: absolute;
    left: 0px;
    bottom: 0;
    font-size: 0;
    width: 230px;
    height: 33px;
    line-height: 32px;
    cursor: pointer;
    z-index: 999;
    border-top: 1px solid #dedede;
    border-left: 1px solid #dedede;
}
#chat-start .search-friend{
    background: url("/static/img/chat/search-btn.png") no-repeat scroll 8px 9px;
    border: medium none;
    color: #aaa;
    display: inline-block;
    font-size: 12px;
    height: 32px;
    width: 185px;
    padding-left: 35px;
}



#chat-start .volume{
    background: url("/static/img/chat/search-volume_new.png") no-repeat scroll -1px 4px #fff;
    border-left: 1px solid #dedede;
    display: inline-block;
    height: 33px;
    float: right;
    width: 24px;
}

#chat-start .volume.off{
    background-position: -22px 4px;
}

.online-block{
    font-family: 'NotoSansArmenianRegular' ,'NotoSansRegular';
    height: 100%;
    position: fixed;
    right: 0;
    width: 230px;
    top: 0;

}
.online-block span.name{
    font-family: 'NotoSansArmenianRegular' ,'NotoSansRegular';
}
#roster-panel {
    border-left: 1px solid #dedede;
    background-color: #eee;
    bottom: 26px;
    position: absolute;
    top: 0;
    width: 230px;
    z-index: 999;
}
#roster-panel .rows{
    overflow: hidden;
    height: 98%;
    margin: 5px 0;
}
#roster-panel .row{
    padding: 0;
}
#roster-panel .rows .jspVerticalBar{
    opacity: 0;
}
#roster-panel div.no-online {
    text-align: center;
    color: #aeaeae;
}

#roster-panel div.roster-item,
#chat-tabs div.tab-header,
#chat-tabs span.tab-close,
#chat-tabs div.tab-footer {
    cursor: pointer;
}

#chat-tabs div.tab-header,
#chat-tabs div.tab-footer {
    background-color: #22bf57;
    height: 32px;
    font-size: 14px;
    font-family: "NotoSansArmenianRegular","NotoSansRegular";
    line-height: 32px;
    padding-left: 10px;
    color: #FFF;
}

#chat-tabs div.tab-header a.name {
    color: #FFF;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 225px;
    display: inline-block;
}

#chat-tabs div.tab-header a.name:hover {
    text-decoration: underline;
}

#chat-tabs div.online div.tab-header,
#chat-tabs div.offline div.tab-header {
    background-color: #22bf57;
    border:none;

}

#chat-tabs div.tab-footer {
    position: relative;

}
#chat-tabs .newmessaged div.tab-footer {
    background-color: #3dbf22;
}
#chat-tabs .newmessaged div.tab-footer a.name{
    color: #fff;
}

#chat-tabs div.tab-footer a.name {
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 225px;
}

#chat-tabs span.tab-close{
    position: absolute;
    top: 7px;
    right: 10px;
}


#chat-tabs {
    bottom: 0px;
    font-family: "NotoSansArmenianRegular","NotoSansRegular";
    pointer-events: none;
    min-width: 454px;
    overflow: visible;
    position: fixed;
    right: 232px;
    text-align: right;
    z-index: 9998;
}

#chat-tabs .tab {
    display: inline-block;
    width: 260px;
    pointer-events: all;
    text-align: left;
    background-color: #FFF;
    margin-right: 10px;
}

#chat-tabs div.tab-conversation {
    min-height: 200px;
    width: 240px;
}

#chat-tabs div.tab-conv-wrapper {
    overflow: hidden;

    /* padding: 0 5px;*/
    height: 240px;
}
.white-space {

    content: '';
    height: 5px;
    display: block;
    background-color: #fff;
}


#chat-tabs td.vBot {
    vertical-align: bottom;
    padding: 5px 10px;

}

#chat-tabs div.message-row {
    max-width: 260px;
    position: relative;
    min-height: 30px;
    margin-top: 10px;
}

#chat-tabs div.message-row .avatar {
    position: absolute;
    left: 0;
    bottom: 0;
}

#chat-tabs div.avatar img{
    border-radius: 50%;
    width: 32px;
    height: 32px;
}


.message-row-inside {
    float: left;
    position: relative;
}


#chat-tabs div.message-row p{
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
}
#chat-tabs div.message-row p, #conversation-wrapper p {
    background-color: transparent;
    border: none;
    font-family: 'NotoSansRegular';
    margin-bottom: 0px;
    padding: 0px;
}
#chat-tabs div.message-author {
    font-weight: bold;
}
#chat-tabs div.message-text {
    max-width: 200px;
    background-color: #F2F2F2;
    -webkit-border-radius: 16px 16px 16px 0;
    -moz-border-radius: 16px 16px 16px 0;
    border-radius: 16px 16px 16px 0;
    color: #212121;
    font-size: 12px;
    line-height: 18px;
    padding: 8px 10px;
    margin-left: 40px;
}

#chat-tabs div.message-text .image img {
    width: 160px;
    height: 110px;
}

#chat-tabs div.message-text .chat_smile {
    width: 32px;
    height: 32px;
}

#chat-tabs div.message-text .image img{
    cursor: pointer;
    -webkit-border-radius: 16px 16px 16px 0;
    -moz-border-radius: 16px 16px 16px 0;
    border-radius: 16px 16px 16px 0;
}

#chat-tabs .message-row.msg-owner div.message-text{
    float: right;
    max-width: 200px;
}

#chat-tabs .message-row.msg-owner div.message-text .image img{
    cursor: pointer;
    -webkit-border-radius: 16px 16px 0;
    -moz-border-radius: 16px 16px 0;
    border-radius: 16px 16px 0;

}

.chat-message-seen {
    font-size: 10px;
    color: #aaa;
    text-align: right;
}
/*#chat-tabs .message-row:not(.msg-owner) div.message-text:before {*/
    /*background-image: url("/static/img/chat/pointer.png");*/
    /*content: "";*/
    /*height: 8px;*/
    /*left: 3px;*/
    /*position: absolute;*/
    /*top: 5px;*/
    /*width: 6px;*/
/*}*/
/*#chat-tabs .message-row.msg-owner div.message-text:after {*/
    /*background-image: url("/static/img/chat/pointer.png");*/
    /*background-position: -10px 0;*/
    /*content: "";*/
    /*height: 8px;*/
    /*position: absolute;*/
    /*right: -2px;*/
    /*top: 5px;*/
    /*width: 6px;*/
/*}*/
#chat-tabs .message-row.msg-owner div.message-text {
    background-color: #22bf57;
    -webkit-border-radius: 16px 16px 0;
    -moz-border-radius: 16px 16px 0;
    border-radius: 16px 16px 0;
    background-color: #22bf57;
    padding: 8px 10px;


}

#chat-tabs .message-row.msg-owner div.message-text p {
    font-size: 12px;
    line-height: 18px;
    color: #fff;
}


#chat-tabs .message-row.msg-owner .message-row-inside {
    float: right;

}
#chat-tabs .message-row .date-created{
    font-size: 12px;
    line-height: 18px;
    color: #aaa;
    clear: both;
    text-align: center;
    margin-top: 8px;
    margin-bottom: 8px;
}

/*#chat-tabs .message-row .date-created.W{*/
    /*background: url("/static/img/chat/pc1.png") no-repeat scroll 0 center rgba(0, 0, 0, 0);*/
    /*padding-left: 15px;*/
/*}*/
#chat-tabs .message-row .date-created.M{
    background: url("/static/img/chat/mobile.png") no-repeat scroll 0 center rgba(0, 0, 0, 0);
    padding-left: 10px;
}
#chat-tabs .message-row .date-created.T{
    background: url("/static/img/chat/tab.png") no-repeat scroll 0 center rgba(0, 0, 0, 0);
    padding-left: 15px;
}
div.roster-item-wrapper:hover {
    background-color: #dedede;
}
div.roster-item .last-online{
    font-size: 10px;
    color: #aaa;
}   

#roster-panel div.online {
    background: url("/static/img/chat/online.png") no-repeat scroll 211px center rgba(0, 0, 0, 0);

}
#roster-panel div.offline {
    padding-left: 12px;
}
/*#roster-panel div.offline .friend-photo img{*/
    /*opacity: 0.5;*/
/*}*/
#roster-panel .friend-photo img{
    border-radius: 50%;
}
div.tab-header div.icon.remove,
div.tab-footer div.icon.remove {
    background: url("/static/img/chat/chat-close.png") no-repeat scroll 0px 4px rgba(0, 0, 0, 0);
    width: 15px;
    height: 16px;
}
div.tab-header div.icon.remove:hover {
    background-position: 0 -16px;
}

div.tab-footer div.icon.remove:hover {
    background-position: 0 -16px;
}


div.searched-friend {
    background-color: transparent;
    position: absolute;
    bottom: 10px;
    max-height: 100%;
    width: 100%;
    overflow: hidden;
}
div#roster-panel .roster-item {
    padding: 3px 6px 3px 5px ;
}
div#roster-panel .roster-item .friend-photo{
    display: inline-block;
    height: 32px;
    width: 32px;

}

div#roster-panel .roster-item .friend-photo img {
    width: 100%;
    height: 100%;
}
div#roster-panel .roster-item .friend-icon img{

    border-radius: 50%;
}
div#roster-panel .last-online{
    display: inline-block;
    float: right;
    margin-top: 9px;
}
div#roster-panel .roster-item span.name{
    color: #212121;
    display: inline-block;
    font-size: 12px;
    line-height: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
    white-space: nowrap;
    width: 130px;
    margin-left: 6px;
}
.btn.send-message{
    border-radius: 3px;
    float: right;
    margin: 0 2px 5px 0;
    padding-bottom: 6px;
}
/* scroll */
#chat-tabs .jspVerticalBar,
.online-block .jspVerticalBar{
    width: 6px !important;
    padding-right: 4px;
    background-color: #fff !important;
}
#chat-tabs .jspTrack,
.online-block .jspTrack{
    background-color: #cccccc;
    width: 6px;
    border-radius: 3px;
}
#chat-tabs .jspDrag,
.online-block .jspDrag{
    background-color: #999999;
    width: 6px;
    border-radius: 3px;
}
/*.toggle-close .online-block-toggle{
    line-height: 28px;
}*/
/* Draggable chat */
.online-block-toggle{
    font-family: 'NotoSansArmenianBold';
    color: #fff;
    font-size: 14px;
    line-height: 32px;
    background-color: #22bf57;
    padding-left: 10px;
    cursor: move;
    height: 32px;
    position: relative;
    z-index: 999;
}
span.online-block-toggle{
    background-image: url("/static/img/chat/chat-toggle.png");
    background-position: 4px center;
    background-repeat: no-repeat;
    display: inline-block;
    float: right;
    cursor: pointer;
    height: 15px;
    margin: 8px 30px 0 0;
    width: 15px;
}

.online-block-toggle span{
    background-image: url("/static/img/chat/chat-toggle.png");
    background-position: 4px center;
    background-repeat: no-repeat;
    display: inline-block;
    float: right;
    cursor: pointer;
    height: 15px;
    margin: 8px 8px 0 0;
    width: 15px;
}
.online-block-toggle span:hover{
    background-color: rgba(255, 255, 255, 0.2);
}
span.online-block-toggle.closed{
    background-position: -13px center;
}
.online-block-toggle span.closed {
    background-position: -13px center;
}
.online-block.draggable{
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 1, 1, 0.15);
    -moz-box-shadow:    0px 0px 10px 0px rgba(0, 1, 1, 0.15);
    box-shadow:         0px 0px 10px 0px rgba(0, 1, 1, 0.15);
    max-height: 431px;
    bottom: 0;
    -webkit-transition: max-height 0.4s;
    -moz-transition: max-height 0.4s;
    transition: max-height 0.4s;
    right: 10px;
    overflow: hidden;
    top: auto;
    z-index: 999;
    background-color: #eee;
}
.online-block:not(.draggable){
    top: 0 !important;
}
.online-block.draggable #roster-panel{
    position: static;
}
.online-block.draggable #chat-start{
    position: static;
}
.online-block.draggable #roster-panel .rows{
    height: 366px;
    margin: 0;
}
.online-block.draggable.toggle-close{
    max-height: 28px;
    overflow: hidden;
}
.animated{
    
}
/*.online-block.draggable #chat-start{
    display: block;
}*/
/*.online-block.draggable.toggle-close #chat-start{
    display: none;
}
.online-block.draggable.toggle-close #roster-panel{
    display: none;
}*/
/*#chat-tabs.right{
    right: 23px;
}
#chat-tabs.right  #smiles:last-child .dropdown-menu.submenu{
    left: -149px !important;
}
#chat-tabs.right #smiles:last-child .dropdown-menu.submenu:after {
    right: 10px !important;
    left: auto;
}
#chat-tabs.right #smiles:last-child .dropdown-menu.submenu:before {
    right: 10px !important;
    left: auto;
}*/
.istyping img.writing{
    margin-top: -5px;
    margin-left: 5px;
}
.newmessaged .tab-footer{
    position: relative;
}
span.newmessage{
    display: none;
}
.newmessaged span.newmessage{
    font-family: 'NotoSansRegular';
    background-color: #f0183c;
    border-radius: 2px;
    color: #fff;
    display: block;
    font-size: 11px;
    height: 12px;
    left: 16px;
    line-height: 12px;
    position: absolute;
    text-align: center;
    top: -7px;
    width: 17px;
}
.more-tabs{
    display: none;
    vertical-align: bottom;
    width: 260px;
    pointer-events: all;
    text-align: left;
    margin-right: 7px;

}
.more-tabs .more-tabs-header{
    background-color: #22bf57;
    color: #fff;
}
.more-tabs .more-tabs-footer {
    display: block;
    background-color: #22bf57;
    cursor: pointer;
    color: #fff;
    font-family: 'NotoSansArmenian' , 'NotoSans';
    width: 32px;
    line-height: 32px;
    height: 32px;
    float: right;
    padding-left: 5px;
    font-size: 14px;
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,.5);
    -moz-box-shadow: 0 0 10px rgba(0,0,0,.5);
    box-shadow: 0 0 10px rgba(0,0,0,.5);
}


.more-tabs.minimized .more-tabs-wrapper{
    display: none;
}
.more-tabs .more-tabs-wrapper .tab {
    margin-top: 1px;
    margin-bottom: 1px;

}


.more-tabs .more-tabs-wrapper .tab:hover {
    text-decoration: underline;
}


/*@media screen and (max-width: 690px) {
    #chat-tabs {
        min-width: 453px;
    }
}*/