/* Chat styles */
.im_chat_block{display:none}
.rb_box_wrap {
  z-index: 1100;
  display: none;
}
.fc_tab_wrap {
  box-shadow: 0 0px 3px rgba(0, 0, 0, 0.15);
  -webkit-border-radius: 3px 3px 0px 0px;
  -moz-border-radius: 3px 3px 0px 0px;
  border-radius: 3px 3px 0px 0px;
  overflow: hidden;
}
.chat_active .fc_tab_pointer, .fc_fixed .fc_tab_pointer {
    display: block;
}
.fc_pointer_offset {
    position: absolute;
    right: 1px;
    bottom: 0;
}
.fc_tab_pointer {
    position: absolute;
    display: none;
    position: relative;
}
.fc_tab_pointer:before {
    border-width: 6px;
    margin: -6px 0;
    border-left-color: #c5d0db;
}
.fc_tab_pointer:after, .fc_tab_pointer:before {
    position: absolute;
    pointer-events: none;
    border: solid transparent;
    content: '';
    height: 0;
    width: 0;
    left: 100%;
    top: 9px;
}
.fc_tab_pointer:before {
    border-width: 6px;
    margin: -6px 0;
    border-left-color: #c5d0db;
}
.fc_tab_pointer:after, .fc_tab_pointer:before {
    position: absolute;
    pointer-events: none;
    border: solid transparent;
    content: '';
    height: 0;
    width: 0;
    left: 100%;
    top: 9px;
}
.rb_inactive .fc_tab_close_wrap,
.rb_inactive .fc_tab_pin_wrap,
.rb_inactive .fc_tab_max_wrap,
.rb_inactive .fc_tab_min_wrap {
  opacity: 0.4;
  filter: alpha(opacity=40);
}
#rb_box_fc_clist .fc_tab_title,
.rb_minimized .fc_tab_title {
  color: #FFF;
}

.rb_minimized .fc_tab_log_wrap,
.rb_minimized .fc_tab_txt_wrap,
.rb_minimized .rb_resize_wrap {
  display: none;
}
.rb_minimized .fc_tab_wrap {
  max-width: 260px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
.rb_minimized .fc_tab {
  display: none;
}

#fc_ctabs_cont {
  border: 1px solid #d7dade;
  border-top: none;
}
.fc_tobottom #fc_ctabs_cont {
  border-bottom: none;
}
.fc_ctab {
  display: none;
}
.fc_ctab_active {
  display: block;
}
.fc_contacts_wrap {
  overflow: hidden;
}
.fc_content_wrap {
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  overflow: hidden;
}
.fc_content_overflow {
  position: absolute;
}
.fc_tab_close_wrap, .fc_tab_min_wrap, .fc_tab_max_wrap, .fc_tab_pin_wrap {
  display: block;
  padding: 1px 4px 3px;
  visibility: visible;
  cursor: pointer;
}
.fc_tab_pin_wrap {
  display: none;
}
.fc_fixed .fc_tab_pin_wrap {
  display: block;
}
.rb_resize_wrap {
  position: relative;
}
.rb_resize {
  cursor: move;
  cursor: se-resize;
  position: absolute;
  right: 3px;
  top: -12px;
  width: 8px;
  height: 10px;
  background-position: 0px -43px;
}
.fc_fixed .rb_resize {
  display: none;
}

.fc_tab_close, .fc_tab_min, .fc_tab_max, .fc_tab_pin {
  display: block;
  background-position: -35px -2px;
  opacity: 0.6;
  filter: alpha(opacity=60);
  -webkit-transition: opacity 150ms linear;
  -moz-transition: opacity 150ms linear;
  -o-transition: opacity 150ms linear;
  transition: opacity 150ms linear;

  width: 11px;
  height: 11px;
}
.fc_tab_min {
  background-position: 0 -22px;
}
.rb_minimized .fc_tab_min, .fc_tab_max {
  background-position: -19px -2px;
}
.fc_tab_pin {
  background-position: -3px -2px;
}
.fc_tab_close_wrap:hover .fc_tab_close,
.fc_tab_min_wrap:hover .fc_tab_min,
.fc_tab_max_wrap:hover .fc_tab_max,
.fc_tab_pin_wrap:hover .fc_tab_pin {
  opacity: 1;
  filter: alpha(opacity=100);
}
.fc_tab_title {
  padding: 0px 3px 5px;
  font-weight: bold;
  color: #FFF;
  height: 14px;
  overflow: hidden;
  white-space: nowrap;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
}
/*.fc_tab_count {
  font-size: 0.9em;
}*/
.fc_tab_online .fc_tab_online_icon,
.fc_tab_mobile .fc_tab_online_icon {
  width: 6px;
  height: 6px;
  margin: 5px 0 0 3px;
  background: url(/images/icons/rbox_full2.png?3) 0 -168px no-repeat;
}
.fc_tab_mobile .fc_tab_online_icon {
  width: 9px;
  height: 11px;
  margin: 2px 0 0 3px;
  background-position: -1px -154px;
}
#fc_contacts {
  height: 500px;
  overflow: auto hidden;
  overflow-x:hidden;
  overflow-y:auto;
  background: #FFF;
}
.fc_content {
  overflow: auto hidden;
  overflow-x: hidden;
  overflow-y: auto;
  background: #FFF;
}
.fc_clist_empty {
  color: #777;
  text-align: center;
  padding: 50px 20px;
}
.fc_contact {
  display: block;
  height: 38px;
  padding: 4px 10px;
  line-height: 0;
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
}
.fc_contact:first-child {
  padding-top: 8px;
}
.fc_contact:last-child {
  padding-bottom: 8px;
}
a.fc_contact:hover {
  text-decoration: none;
  background:#E5EDF5;
}
a.fc_contact_over {
  background: #EDF1F5;
  background: none repeat scroll 0 0 rgba(219, 227, 235, 0.5);
}
img.fc_contact_photo {
  width: 38px;
  height: 38px;
  background: 0 0 no-repeat;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
}
span.fc_contact_photo {
  display: block;
  margin: -4px -8px;
  padding: 4px 8px;
  width: 38px;
  height: 38px;
}
.fc_contact_status {
  display: none;
  height: 6px;
  width: 6px;
  margin: 15px 0 0 4px;
}
.fc_contact_online .fc_contact_status,
.fc_contact_mobile .fc_contact_status {
  display: block;
  background: url(/images/icons/rbox_full2.png?3) 0 -49px no-repeat;
}
.fc_contact_mobile .fc_contact_status {
    background-position: 0px -70px;
    width: 9px;
    height: 11px;
    margin: 13px 0px 0px 3px;
}
.fc_contact_over .fc_contact_status {
  display: block;
  background: url(/images/icons/rbox_full2.png?3) 1px -83px no-repeat;
  width: 11px;
  height: 11px;
  margin: 14px 0 0 1px;
}
.fc_contact_profile .fc_contact_status {
  margin-top: 9px;
  background-position: 0 -99px;
  height: 12px;
}
.fc_contact_name {
  line-height: 35px;
  padding: 0 0 0 10px;
  white-space: nowrap;
  display: block;
  width: 168px;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  overflow: hidden;
  font-weight: bold;
  color: #45688E;
}
.fc_contact_unread {
  font-size: 10px;
}
.font_medium .fc_contact_unread {
  font-size: 11px;
}
.fc_clist_splitter {
  border-bottom: 1px solid #F1F1F1;
  color: #666;
  padding: 3px 8px;
  background: #F1F1F1;
  width: 100%;
}
.fc_clist_splitter2 {
  margin-top: 5px;
}

div.fc_clist_filter_wrap {
      box-shadow: 0 0px 3px rgba(0, 0, 0, 0.15);
  cursor: text;
  padding: 5px 5px 6px;
  overflow: hidden;
  border-top: 1px solid #E4E6EA;
  background: #ffffff;
}
div.fc_clist_filter_wrap .input_back {
  margin-top: 0 !important;
  margin-left: 0 !important;
}
div.fc_clist_filter {
  padding: 0px 16px;
}
.fc_clist_search_icon {
  background-position: -98px 0px;
  width: 12px;
  height: 12px;
  position: absolute;
  margin-top: 8px;
  margin-left: 3px;
}
#fc_clist_filter {
  border: 0;
  padding: 7px 4px;
  outline: 0;
  width: 100%;

  height: 14px;
  line-height: 1.27em;
}
.fc_clist_online_wrap {
  position: relative;
}
.fc_clist_online {
  cursor: pointer;
  position: absolute;
  margin: 7px 0 0 -15px;
  background: url(/images/icons/rbox_full2.png?3) 4px -67px no-repeat;
  padding: 4px;
  width: 7px;
  height: 7px;
  opacity: 0.6;
  filter: alpha(opacity=60);
}
.fc_clist_online_active {
  opacity: 1;
  filter: none;
  z-index: 100;
}

em.fc_clist_hl {
  font-style: normal;
  background: #E1E7ED;
  border-bottom: 1px solid #DAE1E8;
  margin: 0px;
  padding: 0px 1px;
}

#fc_tab_wrap {
  position: relative;
  width: 200px;
}
.fc_tab {
  border: 1px solid #d7dade;
  border-top: none;
  background: #f2f5f7;
}
.fc_fixed .fc_tab {
  border-bottom: none;
}
.fc_tobottom .fc_tab {
  border-bottom: none;
}

.fc_tab_head {
  cursor: pointer;
  background: #4e7bad;
  padding: 10px 7px 5px;
}
.rb_inactive .fc_tab_head {
  background: #5d83b0;
}
.fc_tab_notify_wrap {
  /*position: relative;*/
}
.fc_tab_notify {
  background-color: #EEE;
  /*color: #777;*/
  position: absolute;
  padding: 4px;
  text-align: center;
  border-bottom: 1px solid #DDD;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  z-index: 1;
}
.fc_tab_log_wrap {
  overflow: hidden;
}
.fc_tab_log {
  overflow: auto hidden;
  overflow-x: hidden;
}
.fc_tab_typing {
  color: #777;
  opacity: 0;
  filter: alpha(opacity=0);
  min-height: 1.2em;
  max-height: 2.4em;
  line-height: 120%;
  padding: 5px 4px 7px 39px;
  background: url(/images/icons/typing.gif?1) 17px 50% no-repeat;
  vertical-align: middle;
}
.fc_log_empty {
  color: #8a8f94;
  text-align: center;
  padding: 72px 20px;
  font-size: 12px;
}
/*div.fc_tab_txt_wrap {

}*/
div.fc_tab_txt {
  background: #FFF;
  padding: 6px 3px 0px 27px;
  zoom: 1;
  overflow: hidden;
  border-top: 1px solid #d7dade;
}
.fc_editable {
  min-height: 15px;
  overflow-x: hidden;
  padding-right: 22px;
  outline: none;
  padding-top: 6px;
  padding-bottom: 6px;
  padding-top: 5px;
  padding-bottom: 7px;
  line-height: 140%;
}
textarea.fc_tab_txt {
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  resize: none;
  overflow: hidden;
  height: 14px;
  display: block;
  line-height: 1.27em;
  height: 30px;
}
div.fc_tab_txt_self {
  width: 30px;
  height: 30px;
  margin-left: -36px;
  position: absolute;
  *margin: 0;
  *left: 14px;
  zoom: 1;


}
img.fc_tab_txt_self {
  width: 30px;
  height: 30px;

  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  overflow: hidden;
}
.fc_tab_button {
  display: none;
}

.fc_srv_msg {
  color: #777;
}
.fc_srv_msg .im_srv_lnk {
  font-weight: normal;
  color: #777;
}
.fc_msgs_wrap {
  clear: both;
  padding: 3px 12px 3px 4px;
  position: relative;
}
.fc_msgs_sticker {
  clear: both;
  padding: 3px 12px 3px 4px;
  position: relative;
}
.fc_msgs_date {
  color: #adadad;
  font-size: 0.9em;
  padding: 5px 0px 0px 5px;
}
.fc_msgs_out .fc_msgs_date {
  color: #9aa4ad;
}
a.fc_msgs_author {
  width: 25px;
  height: 25px;
  display: block;
  line-height: 0;

  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  overflow: hidden;
  position: absolute;
  bottom: 4px;
}
img.fc_msgs_author {
  width: 25px;
  height: 25px;
}
.fc_msgs {
  margin-left: 33px;
  margin-top:-27px;
  background: #FFFFFF;
  border: 1px solid #E1E4E8;
  padding: 5px 4px 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  max-width: 178px;
  overflow: hidden;
}
.fc_msgs_out .fc_msgs {
  background: #DAE3ED;
  border: 1px solid #D1DAE3;
}
.fc_msg {
  padding: 0 2px 3px 2px;
}
.fc_msg_sticker {
  position: relative;
}
.fc_msg_sticker .fc_msgs {
  margin-left: 28px;
  margin-right: 12px;
  padding: 0px;
  background: none;
  border: none;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
}
.fc_msg_sticker .fc_out_msg_arr, .fc_msg_sticker .fc_in_msg_arr {
  display: none;
}
.fc_msg_sticker .fc_msgs_date {
  display: none;
}
.fc_msgs_sticker_author {
  bottom: inherit;
  top: 25px;
}
.fc_msg_author_name {
  font-weight: bold;
  padding: 0 0 3px 3px;
}
.fc_msgs_unread {
  background-color: #E6ECF1;
}
.fc_msgs_error {
  background-color: #FFEFE8;
  border: 1px solid #E89B88;
  font-size: 1em;
  margin: 4px;
  padding: 8px 11px;
}
.fc_msg_error {
  /*font-weight: bold;*/
  color: #800;
  padding-left: 8px;
}
.fc_msg_progress {
  display: block;
  position: absolute;
  float: right;
  /*right: 0;*/
  width: 50px;
  height: 13px;
  background: #FFF url(/images/upload.gif) no-repeat right 50%;
}
.fc_msg_unread .fc_msg_progress {
  background-color: transparent;
  position: relative;
}

/* scrollbars */
.fc_scrollbar_cont {
  width: 9px;
  height: 100%;
  position: absolute;
  background: rgba(200, 200, 200, 0);
  -webkit-transition: all 150ms linear;
  -moz-transition: all 150ms linear;
  -o-transition: all 150ms linear;
  transition: all 150ms linear;
  cursor: pointer;
  z-index: 100;
}
.fc_scrollbar_cont.scrollbar_c_overed {
  background: rgba(235, 235, 245, 0.4);
  width: 11px;
}
.fc_scrollbar_inner {
  background: #DAE1E8;
  opacity: 0.7;
  filter: alpha(opacity=70);
  width: 6px;
  height: 26px;
  margin-left: 1px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  cursor: pointer;
  -webkit-transition: width 150ms linear, opacity 200ms linear;
  -moz-transition: width 150ms linear, opacity 200ms linear;
  -o-transition: width 150ms linear, opacity 200ms linear;
  transition: width 150ms linear, opacity 200ms linear;
}
.scrollbar_c_overed .fc_scrollbar_inner {
  width: 8px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.fc_scrollbar_inner:hover,
.fc_scrollbar_hovered {
  opacity: 1;
  filter: alpha(opacity=100);
}
.fc_scrollbar_top {
  position: absolute;
  height: 3px;
  margin-top: -1px;
  background: #555555;
  opacity: 0.12;
  filter: alpha(opacity=12);
  display: none;
}
.fc_scrollbar_bottom {
  position: absolute;
  height: 3px;
  margin-top: -2px;
  background: #555555;
  opacity: 0.12;
  filter: alpha(opacity=12);
}

.fc_msg_attachments_loading {
  width: 30px;
  height: 14px;
  background: url(/images/upload.gif) 50% 50% no-repeat;
}
.fc_msg_attachments {
  padding-top: 4px;
  position: relative;
}
.fc_msg_attachments_notext {
  padding-top: 0;
}
.fc_msg_att_desc {
  color: #777;
}
a.fc_msg_att_lnk:hover {
  text-decoration: none;
}
a.fc_msg_att_lnk:hover .fc_msg_att_text {
  text-decoration: underline;
}
.fc_msg_att_icon_photo,
.fc_msg_att_icon_video,
.fc_msg_att_icon_doc,
.fc_msg_att_icon_mail,
.fc_msg_att_icon_audio,
.fc_msg_att_icon_wall {
  display: block;
  float: left;
  background: url(/images/icons/mono_iconset.png?1) no-repeat 0 0;
  width: 11px;
  height: 11px;
  margin: 1px 5px 0px 0;

  display:-moz-inline-stack;
  display:inline-block;
  _overflow:hidden;
  zoom:1;
  *display:inline;
}
.fc_msg_att_icon_photo {background-position: 0px -30px; }
.fc_msg_att_icon_video {background-position: 0px -75px; }
.fc_msg_att_icon_audio {background-position: 0px -222px; }
.fc_msg_att_icon_doc {background-position: 0px -280px; }
.fc_msg_att_icon_mail {background-position: 0px -294px; }
.fc_msg_att_icon_wall {
  margin-top: 2px;
  background-position: 0px -294px;
}

/*.fc_audio_performer {font-weight: bold;}*/
.fc_audio_splitter {
  padding: 0 3px;
}






.im_chathead{color:#fff;font-size:13px;font-weight:bold;padding:3px 5px 7px;}
.im_chathead2{color:#fff;font-size:13px;font-weight:bold;padding:3px 5px 7px;}
.im_chatclose{background:#5687B8;border-radius:3px;cursor:pointer;padding:4px;margin:4px 2px;}
.im_chatclose div{background:url("../images/rbox_full2.png") no-repeat;width:7px;height:7px;}
.im_chatbody{ background:#fff;border-radius:4px;height:350px;overflow-x:hidden;overflow-y:auto;  box-shadow: 0 0 2px #777777 inset;}
.im_chatbody2{ background:#fff;border-radius:4px;height:350px;overflow-x:hidden;overflow-y:auto;  box-shadow: 0 0 2px #777777 inset;}
.im_chatserch{display:none; background:#fff;border-radius:4px;height:350px;overflow-x:hidden;overflow-y:auto;  box-shadow: 0 0 2px #777777 inset;}
.im_chatuser{color:#506B8C;margin:0;padding:4px 8px;}
.im_chatuser:hover{background:#E5EDF5;}
.im_chatuser img{border-radius:3px;float:left;margin-right:10px;width:32px;}
.im_chats{/* background:rgba(82,131,179,0.8); *//* border-radius:5px 5px 5px 5px; */height:344px;z-index:100;/* padding:0 8px 8px; */position:fixed;left:30%;bottom:0;width:241px;}
.im_chatname{color:#fff;font-size:12px;font-weight:bold;padding:7px 3px 9px;}
.im_chats .im_scroll{background:#fff;/* border-radius:3px; */margin-top: 0;height:250px;overflow-x:hidden;overflow-y:auto;padding:10px 3px;}
.im_chats .im_scroll .im_msg{ min-height: 38px;}
.im_chatmail{border-top: 1px solid rgba(221,221,221,0.5);padding-bottom:5px;padding-top:5px;width:219px;}
.im_chatMail_Ava{float:left;width:40px;}
.im_chatMail_text{float:left;overflow:hidden;width:178px;}
.im_chatform{background:#fff;/* border-radius:3px; */box-shadow:0 1px 3px 0 #D2D2D2 inset;/* margin-top:5px; */padding:3px 5px;}
.im_chatformava{color:#999;float:left;height:32px;margin-right:5px;width:32px;}
.im_chatforntext{background:#fff;border:0 solid;height:27px;padding:2px;resize:none;width:190px;}
.im_chatSearch{background:#fff;border-radius:3px;height:20px;}
.im_chatSearch {
    background: url("../images/magglass.png") no-repeat scroll 8px 7px #FFFFFF;
    border-radius: 3px 3px 3px 3px;
    box-shadow: 0 0 2px #777777 inset;
    cursor: text;
    margin: 0px 0 8px;
    overflow: hidden;
    padding: 6px 4px 0 22px;
}
.im_chatsearchtext{  border: 0 none;
    height: 14px;
    line-height: 1.27em;
    outline: 0 none;
    padding: 0;
    width: 100%;}
  
.input_back_wrap {
    cursor: text;
    position: relative;
    z-index: 90;
}
.fc_clist_online {
    background: url(../images/icons/rbox_full2.png?3) no-repeat scroll 4px -67px transparent;
    cursor: pointer;
    height: 7px;
    margin: 6px 0 0 228px;
    opacity: 0.6;
    padding: 4px;
    position: absolute;
    width: 7px;
}.fc_clist_online_active {
    filter: none;
    opacity: 1;
}
.fc_clist_online_wrap {
    position: relative;
}