﻿* {
	padding:0;
	margin:0;
	font-size:12px;
	font-family:Arial, Helvetica, sans-serif;
}
html,body {
	height:100%;
}
body {
	background:#fff;
	text-align:center;
}
li {
	list-style:none;
}
img {
	border:0;
}
em {
	font-style:normal;
}
input,button {
	vertical-align:middle;
}
button {
	border:none;
}
/* 全局定义完毕 */


/* 文字颜色样式修改的通用css定义 */
#choose-color {
	position:absolute;
	cursor:pointer;
	z-index:999;
}
#choose-color img {
	border:0;
	display:inline;
}


/* 信息提示背景窗口通用css定义 */
#alert_bg {
	filter:progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=80,finishOpacity=100);
	opacity:0.80;
	background:#fff;
	width:100%;
	height:442px;
	position:absolute;
	left:0;
	top:0;
	z-index:98;
}
#alert_bg1 {
	background:#fff;
	width:100%;
	height:442px;
	position:absolute;
	left:0;
	top:0;
	z-index:99;
}
.float {
	position:absolute;
	background:#fff;
	text-align:left;
}
.float h3 {
	cursor:default;
	text-align:right;
}
.float h3 em {
	float:right;
	display:block;
}
.float h3 a {
	display:block;
}
#msgalert {
	position:absolute;
	z-index:998;
	text-align:center;
	padding-top:0;
}
#showalert {
	padding:10px;
	line-height:20px;
}

/* 最外层容器通用css定义 */
#wrap {
	width:520px;
	height:442px;
	text-align:left;
	margin:0 auto;
	position:relative;
	overflow:hidden;
}
/* 横幅广告图片css定义 */
#pic-show {
	height:60px;
	overflow:auto;
}
#pic-show img {
	display:block;
	position:absolute;
	z-index:0;
	_z-index:-1;
}
#pic-show ul {
	background:url(bg.png) no-repeat;
	_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled='true', sizinMethod='scale', src="http://www.qihuatong.com/chat/chat_style/pub/bg.png");
	_background:none;
	height:15px;
	width:154px;
	zoom:1;
	overflow:auto;
	margin:45px 0 0 0;
	_margin:44px 0 0 0;
	position:relative;
	_position:inherit;
	z-index:1;
}
#pic-show li {
	float:left;
	margin:3px 0 0 10px;
	width:11px;
	height:11px;
	display:inline;
}
#pic-show li.on {
	background:url(list_bg1.gif) no-repeat;
}
#pic-show li a {
	display:block;
	position:relative;
	text-align:center;
	font-size:10px;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	text-decoration:none;
	color:#000;
	line-height:11px;
}
#pic-show li a:hover {
	background:url(list_bg1.gif) no-repeat;
	color:#fff;
}
#pic-show li.on a {
	color:#fff;
}

/* 聊天窗口主区域通用css定义（包括聊天内容显示及查看聊天记录区域） */
#chat {
	position:relative;
}
#chat h2 {
	font-weight:normal;
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
	cursor:default;
}
#record dl,#record1 dl {
	overflow-y:auto;
}
#record dd,#record1 dd {
	word-break:break-all;
	word-wrap:break-word;
}

/* 验证码图片通用css定义 */
.validate {
	width:53px;
	height:19px;
	cursor:pointer;
}

/* 输入文本域的基本css定义 */
textarea#msginput {
	overflow-y:auto;
	padding:3px;
	border:1px solid #fff !important;
}

/* 聊天窗口数据加载 */
#loading {
	width:200px;
	height:46px;
	position:absolute;
	top:50%;
	left:50%;
	margin:-23px 0 0 -100px;
	text-align:left;
	z-index:100;
}
#loading img {
	vertical-align:middle;
}
#loading p {
	color:#787878;
	display:inline;
	padding-left:16px;
	width:150px;
	
}

/* 表情 */
#faces-show {
	position:absolute;
	width:228px;
	height:155px;
	background:#fff url(faces/face_bg.gif) no-repeat;
}
#faces-show li {
	float:left;
	width:28px;
	height:28px;
	margin:4px 6px 7px 4px;
}
* html #faces-show li {
	margin:4px 4px 5px 4px;
}
#faces-show li a {
	float:left;
	width:28px;
	height:28px;
	border:1px solid #f9f9f9;
	cursor:default;
}
#face-show {
	position:absolute;
	top:1px;
	width:56px;
	height:56px;
}

/*  */
#MsgShow dd h4 {
	line-height:24px;
	color:#000;
	font-weight:normal;
	line-height:18px;
	padding:4px 0;
	color:#999;
	margin-left:-1.5em;
}
#MsgShow ul {
	zoom:1;
	overflow:auto;
}
#MsgShow dd ul li {
	width:40%;
	float:left;
	background:url(online.gif) 0 0 no-repeat;
	padding-left:20px;
	line-height:20px;
}
#MsgShow dd ul li.unline {
	background:url(unline.gif) 0 2px no-repeat;
}
#MsgShow dd ul li.unline a {
	color:#999;
}
#MsgShow dd ul li.unline a span {
	color:#999;
}
#MsgShow dd li a {
	text-decoration:none;
	color:#f00;
}
#MsgShow dd li a:hover {
	cursor:pointer;
	background:#f5f5f5;
}
#MsgShow dd li a span {
	display:-moz-inline-box;
	text-overflow:ellipsis;
	white-space:nowrap;
	overflow:hidden;
	width:84px;
	display:inline-block;
	color:#00f;
	font-family:"宋体";
}
/**/
#group {
	position:relative;
	z-index:2;
}
#contain {
	z-index:3;
}
#contain1 {
	z-index:4;
}
#contain2 {
	z-index:5;
}
#contain3 {
	z-index:6;
	overflow:auto;
}
#contain4 {
	z-index:7;
}
#contain5 {
	z-index:8;
}

/**/
.kf-info p {
	white-space:normal;
	word-break:break-all;
}
html > body .kf-info p span.ff-scroll {
	display:block;
	overflow-y:auto;
	min-height:30px;
}

/* 免费通话提示 */
#notice {
	width:230px;
	height:81px;
	position:absolute;
	top:108px;
	left:146px;
}
#notice h2 {
	font-weight:normal;
	line-height:20px;
	padding:2px 0 0 10px;
}
#notice h2 span {
	float:right;
	display:block;
	position:absolute;
	top:4px;
	right:16px;
	display:inline;
}
#notice h2 span a {
	display:block;
	width:13px;
	height:13px;
}
#notice p {
	width:210px;
	line-height:20px;
	margin:6px 0 0 6px;
	text-indent:2em;
}
#notice p em {
	font-weight:bold;
}