
.openerp .oe_im {
    position: fixed;
    background-color: #E8EBEF;
    width: 220px;
    border-left: 1px solid #AEB9BD;
}

/* button */

.openerp .oe_topbar_imbutton {
    cursor: pointer;
}

/* search stuff */
.openerp .oe_im_frame_header {
    position: relative;
    background: #dedede;
    background: -moz-linear-gradient(#fcfcfc, #dedede);
    background: -webkit-gradient(linear, left top, left bottom, from(#fcfcfc), to(#dedede));
    border-bottom: 1px solid border-color !important;
    padding: 5px;
}
.openerp .oe_im_frame_header .oe_im_searchbox {
    width: 168px;
    padding: 1px 21px 1px 19px;
    font-size: 13px;
    -moz-border-radius: 13px;
    -webkit-border-radius: 13px;
    border-radius: 13px;
}
.openerp .oe_im_frame_header .oe_im_search_icon {
    position: absolute;
    color: #888;
    top: 2px;
    left: 9px;
    font-size: 28px;
    font-family: "entypoRegular" !important;
    font-weight: 300 !important;
}
.openerp .oe_im_frame_header .oe_im_search_clear {
    display: none;
    position: absolute;
    right: 11px;
    top: 4px;
    font-size: 26px;
    color: #b6b6b6;
    cursor: pointer;
}
.openerp .oe_im_frame_header .oe_im_search_clear:hover {
    color: #888;
}

/* users */

.openerp .oe_im_users {
    padding-bottom: 38px;
}
.openerp .oe_im_user {
    position: relative;
    padding: 2px 6px;
    cursor: pointer;
    font-size: 13px;
    margin-bottom: 3px;
}
.openerp .oe_im_user:hover {
  background: lightGrey;
}
.openerp .oe_im_user_clip {
    display: inline-block;
    width: 26px;
    height: 26px;
    margin-right: 4px;
    -moz-box-shadow: 0 0 2px 1px rgba(0,0,0,0.25);
    -webkit-box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.25);
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.25);
}
.openerp .oe_im_user_avatar {
    width: 26px;
    height: auto;
}
.openerp .oe_im_user_name {
    width: 162px;
    line-height: 26px;
    padding-right: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}

.openerp .oe_im_user_online {
    display: none;
    position: absolute;
    top: 9.5px;
    right: 11px;
    width: 11px;
    height: 11px;
    vertical-align: middle;
    border: 0;
}

/* conversations */

.openerp .oe_im_chatview {
    position: fixed;
    overflow: hidden;
    bottom: 6px;
    margin-right: 6px;
    background: rgba(60, 60, 60, 0.8);
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -moz-box-shadow: 0 0 3px rgba(0,0,0,0.3), 0 2px 4px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.3);
    width: 240px;
}
.openerp .oe_im_chatview .oe_im_chatview_disconnected {
    display:none;
    z-index: 100;
    width: 100%;
    background: #E8EBEF;
    padding: 5px;
    font-size: 11px;
    color: #999;
    line-height: 14px;
    height: 28px;
    overflow: hidden;
}
.openerp .oe_im_chatview.oe_im_chatview_disconnected_status .oe_im_chatview_disconnected {
    display: block;
}
.openerp .oe_im_chatview .oe_im_chatview_header {
    padding: 3px 6px 2px;
    background: #DEDEDE;
    background: -moz-linear-gradient(#FCFCFC, #DEDEDE);
    background: -webkit-gradient(linear, left top, left bottom, from(#FCFCFC), to(#DEDEDE));
    -moz-border-radius: 3px 3px 0 0;
    -webkit-border-radius: 3px 3px 0 0;
    border-radius: 3px 3px 0 0;
    border-bottom: 1px solid #AEB9BD;
    cursor: pointer;
}
.openerp .oe_im_chatview .oe_im_chatview_close {
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
    font-size: 18px;
    line-height: 16px;
    float: right;
    font-weight: bold;
    color: black;
    text-shadow: 0 1px 0 white;
    opacity: 0.2;
}
.openerp .oe_im_chatview .oe_im_chatview_content {
    overflow: auto;
    height: 287px;
}
.openerp .oe_im_chatview.oe_im_chatview_disconnected_status .oe_im_chatview_content {
    height: 249px;
}
.openerp .oe_im_chatview .oe_im_chatview_footer {
    position: relative;
    padding: 3px;
    border-top: 1px solid #AEB9BD;
    background: #DEDEDE;
    background: -moz-linear-gradient(#FCFCFC, #DEDEDE);
    background: -webkit-gradient(linear, left top, left bottom, from(#FCFCFC), to(#DEDEDE));
    -moz-border-radius: 0 0 3px 3px;
    -webkit-border-radius: 0 0 3px 3px;
    border-radius: 0 0 3px 3px;
}
.openerp .oe_im_chatview .oe_im_chatview_input {
    width: 222px;
    font-family: Lato, Helvetica, sans-serif;
    font-size: 13px;
    color: #333;
    padding: 1px 5px;
    border: 1px solid #AEB9BD;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -moz-box-shadow: inset 0 1px 4px rgba(0,0,0,0.2);
    -webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.2);
}
.openerp .oe_im_chatview .oe_im_chatview_bubble {
    background: white;
    position: relative;
    padding: 3px;
    margin: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}
.openerp .oe_im_chatview .oe_im_chatview_clip {
    position: relative;
    float: left;
    width: 26px;
    height: 26px;
    margin-right: 4px;
    -moz-box-shadow: 0 0 2px 1px rgba(0,0,0,0.25);
    -webkit-box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.25);
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.25);
}
.openerp .oe_im_chatview .oe_im_chatview_avatar {
    float: left;
    width: 26px;
    height: auto;
    clip: rect(0, 26px, 26px, 0);
    max-width: 100%;
    width: auto 9;
    height: auto;
    vertical-align: middle;
    border: 0;
    -ms-interpolation-mode: bicubic;
}
.openerp .oe_im_chatview .oe_im_chatview_time {
    position: absolute;
    right: 0px;
    top: 0px;
    margin: 3px;
    text-align: right;
    line-height: 13px;
    font-size: 11px;
    color: #999;
    width: 60px;
    overflow: hidden;
}
.openerp .oe_im_chatview .oe_im_chatview_from {
    margin: 0 0 2px 0;
    line-height: 14px;
    font-weight: bold;
    font-size: 12px;
    width: 140px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    color: #3A87AD;
}
.openerp .oe_im_chatview .oe_im_chatview_bubble_list {
}
.openerp .oe_im_chatview .oe_im_chatview_bubble_item {
    margin: 0 0 2px 30px;
    line-height: 14px;
    word-wrap: break-word;
}

.openerp .oe_im_chatview_online {
    display: none;
    margin-top: -4px;
    width: 11px;
    height: 11px;
}
