/* [ Page ticker ]
=======================*/
.zmticker{height:0;position:fixed;right:0;}
.zmticker_cont{bottom:33px;height:0;overflow:visible;position:fixed;right:0;}
.zmticker_right{float:right;height:100%;width:210px;font-size:13px;}
.zmticker_right_inner{
	border-left:1px solid #d9e6f1;
	border-top:1px solid #d9e6f1;
	width:209px;
	position:absolute;
	background-color:#f5f9fc;
	bottom:-33px;
}
.zmticker_right_inner h3{
	padding:8px 10px;
	background-color:#f5f9fc;
	color:#708a9e;
	font-weight:normal;
	border-bottom:1px solid #e4eef7;
}

/*Resize bar
--------------*/
.zmchat_resizedge{
	background-color:#fff;
	border-bottom:1px solid #e4eef7;
	border-top:1px solid #e4eef7;
	cursor:ns-resize;
	padding:2px 0;
	text-align:center;
}
.zmchat_resizedge .resize_pointer{
	display:block;
	height:6px;
	margin:0 auto;
	width:15px;
}
.zmchat_resizedge em{
	background-color:#ddd;
	display:block;
	font-size:0;
	height:1px;
	line-height:0;
	margin-top:1px;
}
.zmchat_resizedge:hover em{background-color:#157dd7;}

/*Chatting list
--------------------*/
.zmchat_tab{height:32px;border-bottom:1px solid #e4eef7;}
.zmchat_tab li, .zmchat_tab li a{float:left;}
.zmchat_tab li a{
	line-height:32px;
	color:#708a9e;
	padding-left:8px;
	padding-right:8px;
}
.zmchat_tab li a:hover,.zmchat_tab li a.selected{color:#333;}
.zmchat_tab li a.selected{font-weight:bold;}
.zmchat_tab li .online_counter{color:#44a80d;}
.zmchat-friendItem{border-top:1px solid #e4eef7;min-height:40px;}
.zmchat-friendItem:first-child{border-top:0 none;}
.zmchat_fritem_link{
	display:block;
	overflow:hidden;
	padding:6px 8px;
	transition:all 0.5s ease 0s;
	-moz-transition:all 0.5s ease 0s;
	-webkit-transition:all 0.5s ease 0s;
	-o-transition:all 0.5s ease 0s;
	vertical-align:bottom;
	border-left:1px solid #d9e6f1;
	margin-left:-1px;
	background-color:#f5f9fc;
}
.zmchat_fritem_link:hover,.zmchat-friendItem:hover .zmchat_fritem_link,
.zmchat_fritem_link.selected,.recent_chat .zmchat_fritem_link{background-color:#fff;/*border-left-color:#157dd7;*/}
.zmchat-friendAva{position:relative;}
.zmchat-friendAva .newmsg_bubble {
	border-radius: 4px;
	display: block;
	position: absolute;
	color: #fff;
	font-size: 10px;
	line-height: 14px;
	min-width: 8px;
	padding-left:3px;
	padding-right:3px;
	height: 14px;
	text-align: center;
	background-color: #ff5400;
	margin: -3px 0 0 20px;
	border: 2px solid #fff;
}
.zmchat-friendAva img{width:30px;height:30px;border-radius:100%;float:left;}
.zmchat-friendName{
	display:block;
	margin-left:40px;
	line-height:34px;
	color:#708a9e;
	margin-right:24px;
	overflow:hidden;
	white-space:nowrap;
	text-overflow:ellipsis;
}
.zmusronline .zmchat-friendName{color:#157dd7;}
.zmusronline:hover .zmchat-friendName{color:#085496;}
.zmusrfeature{padding-top:5px;}
.zmusrstate{font-size:18px;color:#708a9e;font-size:0;border-radius:100%;width:6px;height:6px;background-color:#708a9e;display:block;margin-top:9px;}
.zmusronline .zmusrstate{color:#52d709;background-color:#52d709;}
.zmusrsendmsg{display:none;margin-top:8px;}
.zmchatpanel_header{
	background-color:#fff;
	border-bottom:1px solid #d9e6f1;
	border-top:1px solid #d9e6f1;
	height:16px;
	padding:8px 0 7px 10px;
	position:relative;
	z-index:2;
}
.zmchatpanel_header .zmchat_label{
	float:left;
	font-weight:bold;
	color:#566774;
	font-size:13px;
}
.zmchatpanel_header .zmchat_label strong{color:#44a80d;}
.zmchat_header_msub a{
	border-left:1px solid transparent;
	border-right:1px solid transparent;
	float:right;
	margin:-8px 0;
	padding:7px;
	transition:all 0.5s ease 0s;
}
.zmchat_header_msub.selected > a{
	background-color:#fff;
	border-left-color:#d9e6f1;
	border-right-color:#d9e6f1;
	position:relative;
}
.zmchat_header_msub.selected > a:before{
	height:1px;
	display:block;
	content:"";
	background-color:#fff;
	position:absolute;
	top:-1px;
	width:100%;
	left:0;
}
.zmchat-iconheader{
	width:16px;
	height:17px;
	display:block;
	line-height:normal;
}
.zmchat-setting-icon{background-position:-16px -112px;}
.zmchat-setting-icon:hover,.selected .zmchat-setting-icon{background-position:-32px -112px;}
.zmchat-switch-vietkey{
	color:#fff;
	text-transform:uppercase;
	font-size:11px;
	font-weight:bold;
	padding:1px 6px;
	background-color:#afc8db;
	width:auto;
	height:auto;
	background-image:none !important;
	border-radius:2px;
}
.zmchat-switch-vietkey:hover,.selected .zmchat-switch-vietkey{background-color:#708a9e;}
.zmchat_header_msub ul{
	background-color:#fff;
	border:1px solid #d9e6f1;
	bottom:31px;
	/*display:none;*/
	padding:0;
	position:absolute;
	right:0;
	top:auto;
	font-size:12px;
	min-width:120px;
}
.zmchat_header_msub ul li{border-bottom:1px solid #f1f7fc;}
.zmchat_header_msub ul li:last-child{border-bottom:0 none;}
.zmchat_header_msub ul li:hover{background-color:#f5fbff;}
.zmchat_header_msub ul li label{display:block;margin:0;padding:6px;}
.vkey_copyright_info em{
	background-position:0 -48px;
	display:inline-block;
	height:16px;
	margin-right:3px;
	vertical-align:-3px;
	width:16px;
}
.msub_vietkey{right:5px;width:120px;}
.vkey_copyright_info{cursor:pointer;display:block;padding:4px;}
.zmticker_hide{float:right;margin:-8px 0;padding:7px;}
.zmticker_hide em{width:16px;height:16px;background-position:0 0;display:block;}

/*Left window chat*/
.zmticker-left{float:right;margin-right:210px;}
.zmchat_conversebar{display:inline-block;float:left;}
.zmchat_window{
	float:right;
	height:32px;
	margin:0 8px 0 0;
	position:relative;
	width:170px;
	z-index:50;
}
.zmchat_windowtitle {
	background-color: #708a9e;
	height: 32px;
	border-radius: 3px 3px 0 0;
}
.zmchat_windowtitle .zmchatwintext{
	color:#fff;
	display:block;
	float:left;
	font-weight:bold;
	margin:0 5px;
	font-size:13px;
}
.zmchatwintext .zmchat_fullname {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	float: left;
	width:150px;
	color:#fff;
	line-height:32px;
}
.zmchatwintext .zmchat_fullname a,.zmchatwintext .zmchat_fullname a:hover{color:#fff;}
.zmchat_windowtitle .zmusrstate{
	margin-left:5px;
	font-style:normal;
	line-height:12px;
	float:left;
	font-size:0;
	width:5px;
	height:5px;
	margin-top:14px;
	border-radius:100%;
	background-color:#708a9e;
	border:2px solid #fff;
	position:absolute;
	left:27px;top:0;
}
.zmchat_windowtitle .zmusrstate.online{background-color:#52d709;}
.zmchat_windowtitle .windowtitle_avt{
	width:28px;
	height:28px;
	border-radius:100%;
	border-color:#fff;
	margin:-8px 5px 0 8px;
}
.zmchat_windowtitle a:hover .windowtitle_avt{border-color:#fff;}
.zmchat_closewin,.zmchat_min,.zmchat_morefunc{
	padding:8px 2px 7px;
	border-left:1px solid transparent;
	border-right:1px solid transparent;
	border-bottom:1px solid transparent;
	float:right;
	margin-bottom:-1px;
	margin-left:-1px;
}

.zmchat_morefunc.selected {
	border-bottom-color: #fff;
	background: #fff;
	border-left-color: #fff;
	border-right-color: #fff;
}
.zmchat_closewin em,.zmchat_min em,.zmchat_morefunc em{
	display:block;
	width:16px;
	height:16px;
	background-position:-16px 0;
}
.zmchat_min em{background-position:-16px -32px;}
.zmchat_morefunc em{background-position:0 -96px;}
.zmchat_closewin:hover em{background-position:-16px -16px;}
.zmchat_min:hover em{background-position:-16px -48px;}
.zmchat_morefunc:hover em{background-position:0 -112px;}
.zmchat_morefunc.selected em{background-position:-16px -96px;}
.zmchat_popup{
	bottom:6px;
	position:absolute;
	right:0;
	width:285px;
	background-color:#fff;
	box-shadow:0 0 6px rgba(0,0,0,0.15);
	border-radius:5px 5px 0 0;
}
.zmchat_windowtitle .new_mss,.chatwindowgrp .new_mss {
	background-color: #ff5400;
	border-radius: 2px;
	color: #fff;
	float: left;
	font-size: 10px;
	font-weight: bold;
	line-height: 14px;
	height:14px;
	margin: 8px 0 0;
	min-width: 8px;
	padding: 0 3px;
	position: absolute;
	right: 5px;
	text-align: center;
	font-style:normal;
}
.chatwindowgrp .new_mss{right:-7px;margin-top:-5px;}

/*Minimized window*/
.zmchat_minimized{
	bottom:-1px;
	position:absolute;
	right:0;
	width:100%;
	cursor:default;
	-moz-user-select:none;
	-webkit-user-select:none;
	-ms-user-select:none;
	user-select:none;
}
.zmchat_minimized .zmchat_windowtitle:hover{background-color:#546979;border-color:#546979;}
.zmchat_minimized .zmchatwintext .zmchat_fullname{max-width: 75px;}

/*Actived window*/
.zmchat_window.active{width:285px;}
.zmchat_window.active .zmchat_popup{bottom:-1px;}

/*Chat-msg area*/
.chatmsg_stage{
	background-color:#eff4f5;
	border:1px solid #bdd3e7;
	border-top:0 none;
	border-bottom:0 none;
	font-size:13px;
}
.chatmsg_stage .addrecipient{
	padding:0 0;
	background-color:#fff;
	border-bottom:1px solid #bdd3e7;
	position:absolute;
	width:283px;
	z-index:1;
}
.chatmsg_stage .addrecipient .addtagbox{
	border-radius:0;
	border-width:0 0 1px;
	border-color:transparent;
	z-index:1;
	margin-right:65px;
	padding-top:4px;
}
.chatmsg_stage .addrecipient .taginput{width:30px;}
.chatmsg_stage .addrecipient .taginput input{font-size:13px;}
.chatmsg_stage .addrecipient .zmdisbx_border {
	border-radius: 0;
	margin: 0 -8px;
	border-color: #e4eef7;
}
.chatmsg_stage .msg_error{text-align:center;color:#ff5400;padding:0 10px;}
.zmchat_btn_addfrdchat{padding:6px 5px 0 0;text-align:right;float:right;}
.zmchat_btn_addfrdchat input{margin-left:3px;height:auto;padding:3px 5px;}
.zmchat_msg .zmpemo{vertical-align:middle;}
.zmchat_msg a{text-decoration:underline;}
.chatitem{position:relative;padding:3px 5px;}
.chatmsg_row_me,.chatmsg_row_fr{word-wrap:break-word;}
.chatmsg_row_me .chat_ctn_box,
.chatmsg_row_fr .chat_ctn_box,
.chatmsg_row_me_vip .chat_ctn_box,
.chatmsg_row_fr_vip .chat_ctn_box{border-radius:5px;max-width:168px;padding:6px 7px;}
.chatmsg_row_me .chat_ctn_box{
	background:#dae7f0;
	float:right;
	margin-right:4px;
}
.chatmsg_row_fr .chat_ctn_box{
	float:left;
	background-color:#fdfcfc;
	margin-left:4px;
}
.chat_leftarr,
.chat_rightarr{
	width:0;
	height:0;
	position:absolute;
	display:block;
	margin-top:9px;
	border-style:solid;
	border-color:transparent;
	border-width:6px;
	background:none !important;
}
.chatmsg_row_fr .chat_leftarr{left:-2px;border-right-color:#fdfcfc;}
.chatmsg_row_me .chat_rightarr{right:-2px;border-left-color:#dae7f0;}
.chat_date{
	color:#888;
	padding:0 0 5px;
	border-bottom:1px solid #ddd;
	text-align:center;
	margin-bottom:12px;
}
.chat_date strong{
	display:inline-block;
	margin-bottom:-13px;
	padding:0 5px;
	background-color:#eff4f5;
	font-size:11px;
	font-weight:normal;
}
.chat_timer,
.chat_resend_icon{color:#888;display:block;font-size:11px;line-height:28px;}
.chatmsg_row_me .chat_timer,
.chatmsg_row_me .chat_resend_icon{float:right;margin-right:10px;}
.chatmsg_row_fr .chat_timer,
.chatmsg_row_fr .chat_resend_icon{float:left;margin-left:10px;}
.chat_resend_icon{
	line-height:0;
	width:12px;
	height:12px;
	margin-top:4px;
	padding:4px;
	border-radius:100%;
	margin-right:3px !important;
}
.chat_resend_icon:hover{background-color:#fff;}
.chat_resend_icon em{
	display:block;
	width:12px;
	height:12px;
	background-position:-2px -66px;
}
.msg_seen{
	display:inline-block;
	margin:0 3px 0 0;
	background-position:-4px -85px;
	width:9px;
	height:7px;
}
.msg_typing,.msg_seen_text{font-size:11px;font-style:italic;color:#708a9e;display:block;}
.msg_typing{margin-left:5px;}
.msg_seen_text{margin-right:10px;margin-bottom:10px;text-align:right;}
.zmchat_viewmore{padding:6px;text-align:center;}
.zmchat_viewmore a{
	display:block;
	vertical-align:bottom;
	padding:6px 10px;
	background-color:#CEDBDE;
	color:#708a9e;
	font-size:11px;
	transition:all 0.5s ease 0s;
	-moz-transition:all 0.5s ease 0s;
	-webkit-transition:all 0.5s ease 0s;
}
.zmchat_viewmore a:hover{color:#708a9e;text-decoration:none;background-color:#c2d3d7;}
.chatinput_box{border:1px solid #bdd3e7;background-color:#fff;padding:5px 0;}
.chateditor{margin:0 8px 0;background-color:#fff;}
.chateditor .emoticon_icn{margin-top:9px;}
.chateditor .txtinput{border:none;padding:5px 0;border-radius:0;margin-right:20px;}
.chateditor .txtinput textarea{
	height:22px;
	width:100%;
	resize:none;
	line-height:22px;
	border:0 none;
	padding:0;
	outline:none;
	border-radius:0;
	font-size:13px;
}
.zmchat-err,
.zmchat-err-me{color:#888;font-style:italic;padding:5px 10px;font-size:11px;}
.zmchat-err-me{text-align:right;}

/* Chat box for vip */
.chatmsg_row_fr_vip,.chatmsg_row_me_vip{word-wrap:break-word;}
.chatmsg_row_me_vip .chat_ctn_box,
.chatmsg_row_fr_vip .chat_ctn_box{
	background-color:#FAE9A3;
	/*border:1px solid #F39C12;*/
	max-width:168px;
}
.chatmsg_row_me_vip .chat_ctn_box{float:right;margin-right:4px;}
.chatmsg_row_fr_vip .chat_ctn_box{float:left;margin-left:4px;}
.chatmsg_row_me_vip .chat_timer,
.chatmsg_row_fr_vip .chat_timer{
	background-image:url("../images/vipicon.html");
	background-repeat:no-repeat;
}
.chatmsg_row_me_vip .chat_timer {
	float: right;
	margin-right: 5px;
	background-position: right center;
	padding-right: 17px;
}
.chatmsg_row_fr_vip .chat_timer {
	float: left;
	margin-left: 5px;
	background-position: left center;
	padding-left: 17px;
}
.chatmsg_row_fr_vip .chat_leftarr{left:-2px;border-right-color:#fae9a3;}
.chatmsg_row_me_vip .chat_rightarr{right:-2px;border-left-color:#fae9a3;}

/*Chat fox highlight for fanpage admin*/
.chatmsg_fpadmin_community .chat_ctn_box{background-color:#157dd7;}
.chatmsg_fpadmin_community .chat_leftarr{border-right-color:#157dd7;}
.chatmsg_fpadmin_vip .chat_ctn_box{background-color:#ed750a;}
.chatmsg_fpadmin_vip .chat_leftarr{border-right-color:#ed750a;}
.chatmsg_fpadmin_biz .chat_ctn_box{background-color:#27b475;}
.chatmsg_fpadmin_biz .chat_leftarr{border-right-color:#27b475;}
.chatmsg_fpadmin_community .chat_ctn_box,
.chatmsg_fpadmin_vip .chat_ctn_box,
.chatmsg_fpadmin_biz .chat_ctn_box {
	color: #fff;
	padding-right:28px;
	position:relative;
	max-width:140px;
}
.chatmsg_fpadmin_community .chat_ctn_box:after,
.chatmsg_fpadmin_vip .chat_ctn_box:after,
.chatmsg_fpadmin_biz .chat_ctn_box:after {
	content: "";
	display: block;
	width: 16px;
	height: 16px;
	border-radius:100%;
	background-color:rgba(0,0,0,0.3);
	background-position: -32px -64px;
	position:absolute;
	right:6px;
	top:7px;
}
.chatmsg_fpadmin_community .chat_ctn_box a,
.chatmsg_fpadmin_vip .chat_ctn_box a,
.chatmsg_fpadmin_biz .chat_ctn_box a{color:#fff;opacity:0.8;font-style:italic;}
.chatmsg_fpadmin_community .chat_ctn_box a:hover,
.chatmsg_fpadmin_vip .chat_ctn_box a:hover,
.chatmsg_fpadmin_biz .chat_ctn_box a:hover{opacity:1;}



/*Group chatting windows
----------------------------------------------*/
.chatwindowgrp{float:left;margin-right:8px;z-index:50;position:relative;margin-top:1px;margin-bottom:-1px;}
.chatwindowgrp .windowgrpbtn {
	display: block;
	text-align: center;
	height: 33px;
	padding: 7px 8px 0;
	font-weight: bold;
	color: #fff;
	background-color: #708a9e;
	border-radius: 3px 3px 0 0;
}
.chatwindowgrp .windowgrpbtn span {
	display: inline-block;
	width: 16px;
	height: 16px;
	background-position: -32px -16px;
	vertical-align: -4px;
	margin-right: 2px;
}
.chatwindowgrp .windowgrpbtn:hover{color:#fff;}
.chatwindowgrp .windowgrpbtn:hover span{background-position:-32px -32px;}
.chatwindowgrp.selected .windowgrpbtn {
	background-color: #fff;
	border: 1px solid #b1c1ce;
	border-radius: 0;
	height: 32px;
	border-top-color: #fff;
	border-bottom: 0;
	color: #708a9e;
	position: relative;
}
.chatwindowgrp.selected .windowgrpbtn span{background-position:-32px -48px;}

/*submenu chat windows*/
.menuchatwindow {
	position: absolute;
	width: 175px;
	background-color: #fff;
	border: 1px solid #b1c1ce;
	border-radius:3px 3px 0 3px;
	bottom: 39px;
	right: 0;
}
.menuchatwindow li {
	transition: all 0.5s ease 0s;
	-moz-transition: all 0.5s ease 0s;
	-o-transition: all 0.5s ease 0s;
	border-top: 1px solid #ebf2f7;
}
.menuchatwindow li:first-child{border-top:0 none;}
.menuchatwindow li a {
	display: block;
	padding: 7px;
	margin-right: 30px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 13px;
	font-weight: bold;
}
.menuchatwindow li .closerow {
	float: right;
	padding: 0;
	width: 16px;
	height: 16px;
	background-position: -16px -64px;
	margin: 8px 5px 0 0;
}
.menuchatwindow li:hover{background-color:#eef7fe;}
.menuchatwindow li:hover .closerow{background-position:-16px -80px;cursor:pointer;}
.menuchatwindow li strong.new_mss{position:static;float:right;margin-top:9px;margin-right:-16px;}

/*Recently activities
---------------------------------*/
.zmfriendact{display:block;margin-left:40px;margin-top:-3px;}
.zmfriendact .disbox_frdactivities{right:100%;}

/*Search friend in chat list
--------------------------------*/
.zmchatsrchfrd{border-top:1px solid #e4eef7;padding:8px;background-color:#fff;}
.zmchatsrchfrd .zmcsrchico{
	width:16px;
	height:16px;
	background-position:-32px -96px;
	display:block;
	margin-bottom:-18px;
}
.zmchatsrchfrd .clear_srchfield_icn{
	float:right;
	width:16px;
	height:16px;
	background-position:-16px 0;
	margin:0 -5px 0 0;
	font-size:0;
	line-height:0;
}
.zmchatsrchfrd .clear_srchfield_icn:hover{
	background-position:-32px 0;
	cursor:pointer;
}
.zmchatsrchfrd .srchinputborder{padding:0 16px 0 24px;}
.zmchatsrchfrd .srchkword{
	width:100%;
	font-size:13px;
	color:#708a9e;
	background-color:transparent;
	border:0 none;
	padding:0;
	height:18px;
}
.zmchat_frdlist .zmchat_type{float:right;margin-right:0;}


/* ticker sprite
-------------------------*/
.zmticker_hide em,.chat_resend_icon em,.msg_seen,.chat_leftarr,.chat_rightarr,
.vkey_copyright_info em,.zmchat_closewin em,.zmchat_min em,.zmchat_morefunc em,.clear_srchfield_icn,.zmcsrchico,.chatwindowgrp .windowgrpbtn span,.menuchatwindow li .closerow,
.chatmsg_fpadmin_community .chat_ctn_box:after,.chatmsg_fpadmin_vip .chat_ctn_box:after,.chatmsg_fpadmin_biz .chat_ctn_box:after,.zmchat-iconheader{background-image:url("../images/chatsprt-1.04.png");}




