#chat {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	min-height: 100%;
	min-width: 100%;
	box-sizing: border-box;
	z-index: 9900;
}

#chat #chathead {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 48px;
	background-color: #e0e1ef;
	box-sizing: border-box;
	border-bottom: 1px solid black;
	z-index: 9900;
}

#chat #chathead .btnl {
	position: absolute;
	top: 8px;
	left: 8px;
	width: 32px;
	height: 32px;
}

#chat #chathead #chatbtnr {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 32px;
	height: 32px;
}

#chat #chathead #chatbtnr2 {
	position: absolute;
	cursor: pointer;
	top: 8px;
	right: 48px;
	width: 32px;
	height: 32px;
	display: none;
}

#chat #chathead img {
	cursor: pointer;
	width: 32px;
	height: 32px;
	background-color: inherit;
}

#chat #chathead #chatheaduser {
	position: absolute;
	top: 0px;
	left: 56px;
	width: 48px;
	height: 48px;
	border: none;
	border-radius: 25px;
	display: none;
}

#chat #chathead #chatheadtext {
	position: absolute;
	top: 8px;
	left: 56px;
	right: 56px;
	height: 32px;
	line-height: 32px;
	font-size: 18px;
	box-sizing: border-box;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#chat #chathead label {
	height: 27px;
	line-height: 27px;
	font-size: 14px;
}

#chat #chathead input {
	position: relative;
	width: 200px;
	height: 27px;
	line-height: 18px;
	font-size: 14px;
	z-index: 9901;
	padding: 2px 5px;
	box-sizing: border-box;
	border: 1px solid black;
	background-color: #f1f2fe;
	color: black;
}

#chat #chatname {
	position: absolute;
	top: 48px;
	left: 0;
	right: 0;
	bottom: 0;
	overflow-x: hidden;
	overflow-y: auto;
	box-sizing: border-box;
	background-color: #f8f9ff;
	z-index: 9900;
}

#chat #chatname ul { position: relative; margin: 0; padding: 0; }

#chat #chatname ul li {
	position: relative;
	list-style-type: none;
	list-style-image: none;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	height: 70px;
	font-size: 18px;
	border-bottom: 1px solid #333;
}

#chat #chatname ul li img {
	position: relative;
	left: 10px;
	top: 10px;
	width: 50px;
	height: 50px;
	border-radius: 25px;
}

#chat #chatname ul li .mnu {
	position: absolute;
	left: 10px;
	top: 28px;
	right: 60px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#chat #chatname ul li .cap {
	position: absolute;
	left: 70px;
	top: 12px;
	right: 60px;
	height: 26px;
	line-height: 26px;
	font-size: 16px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding: 0;
	margin: 0;
}

#chat #chatname ul li .cap .anz {
	height: 26px;
	line-height: 26px;
	font-size: 18px;
	background-color: green;
	padding: 0 8px;
	border-radius: 12px;
}

#chat #chatname ul li .txt {
	position: absolute;
	left: 70px;
	top: 34px;
	right: 60px;
	font-size: 12px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#chat #chatdbg {
	position: absolute;
	top: 48px;
	left: 0;
	right: 0;
	height: 100px;
	border-top: 1px solid black;
	overflow-x: hidden;
	overflow-y: auto;
	box-sizing: border-box;
	background-color: #01f2fe;
}

#chat #chattext {
	position: absolute;
	display: none;
	top: 48px;
	left: 0;
	right: 0;
	bottom: 60px;
	overflow-x: hidden;
	overflow-y: auto;
	box-sizing: border-box;
	background-color: #f1f2fe;
	z-index: 9900;
}

#chat #chattext #chattextext {
	font-size: 16px;
	line-height: 20px;
}

#chat #chattext #chattextfoot {
	position: fixed;
	z-index: 9900;
	left: 0;
	right: 0;
	bottom: 0;
	height: 48px;
	border-top: 1px solid black;
	background-color: #e0e1ef;
}

#chat #chattext #chattextfoot .cont {
	position: fixed;
	z-index: 9900;
	left: 10px;
	right: 40px;
	bottom: 10px;
	height: 27px;
	overflow: hidden;
	background-color: red;
}

#chat #chattext #chattextfoot .cont input,
#chat #chattext #chattextfoot input {
	position: relative;
	/* left: 0px; */
	/* right: 0px; */
	width: 100%;
	/* top: 0px; */
	height: 27px;
	line-height: 18px;
	font-size: 14px;
	z-index: 9901;
	/* margin-right: 5px; */
	padding: 2px 5px;
	box-sizing: border-box;
	border: 1px solid black;
	/* background-color: #f1f2fe; */
	background-color: #ffff77;
	color: black;
}

#chat #chattext #chattextfoot #chattextsend {
	position: absolute;
	right: 10px;
	width: 24px;
	top: 10px;
	height: 24px;
	border: none;
	background-color: #999;
}

#chat #chattext .abs {
	padding: 0px;
	font-size: 12px;
	line-height: 14px;
}

#chat #chattext .more {
	display: table;
	cursor: pointer;
	margin-left: auto;
	margin-right: auto;
	max-width: 70%;
	padding: 6px;
	box-sizing: border-box;
	border: 1px solid black;
	border-radius: 8px;
	font-weight: bold;
	qbackground-color: #d4eaf5;
	font-size: 14px;
	line-height: 18px;
}

#chat #chattext .system {
	display: table;
	margin-left: auto;
	margin-right: auto;
	max-width: 70%;
	qmargin-left: 10%;
	qmargin-right: 10%;
	padding: 6px;
	box-sizing: border-box;
	border: 1px solid black;
	border-radius: 8px;
	background-color: #d4eaf5;
	font-size: 14px;
	line-height: 18px;
}

#chat #chattext .textein {
	float: left;
	max-width: 70%;
	margin-left: 10px;
	padding: 6px;
	box-sizing: border-box;
	border: 1px solid black;
	border-radius: 8px;
	background-color: white;
	font-size: 16px;
	line-height: 20px;
}

#chat #chattext .textaus {
	float: right;
	max-width: 70%;
	margin-right: 10px;
	padding: 6px;
	box-sizing: border-box;
	border: 1px solid black;
	border-radius: 8px;
	background-color: #99ff99;
	font-size: 16px;
	line-height: 20px;
}

#chat #chattext .textzeit {
	float: right;
	padding-left: 24px;
	font-size: 12px;
	line-height: 20px;
	font-weight: bold;
}

#chatpopup {
	position: fixed;
	display: none;
	right: 0;
	bottom: 0;
	qmax-height: 300px;
	max-width: 100%;
	qopacity: 0.2;
	qbackground-color: red;
	padding: 6px;
	margin: 0;
	border: 0;
	border-radius: 8px;
	z-index: 9900;
}

#chatpopup #chatpopupcont {
	qfloat: right;
	cursor: pointer;
	right: 0;
	bottom: 0;
	qmax-height: 300px;
	width: 100%;
	max-width: 300px;
	padding: 8px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	background-color: #99ff99;
	box-sizing: border-box;
	border: 1px solid black;
	z-index: 9900;
	border-radius: 8px;
	qopacity: 1;
}

#chatpopup #chatpopupcont img {
	float: left;
	width: 18px;
	height: 18px;
	cursor: pointer;
}

#chatpopup #chatpopupcont span.chathinthead {
	float: left;
	cursor: pointer;
	font-size: 12px;
	line-height: 18px;
	font-weight: bold;
	margin-left: 10px;
}

#chatpopup #chatpopupcont div.chathinttext {
	cursor: pointer;
	font-size: 12px;
	line-height: 16px;
	max-height: 120px;
	height: auto;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}





#chatfoot {
	position: fixed;
	z-index: 9900;
	left: 0;
	right: 0;
	bottom: 0;
	height: 60px;
	border-top: 1px solid black;
	background-color: #e0e1ef;
}

#chatfoot div {
	position: fixed;
	z-index: 9900;
	left: 10px;
	right: 40px;
	bottom: 5px;
	height: 50px;
	overflow: hidden;
}

#chatfoot textarea {
	position: relative;
	width: 100%;
	height: 48px;
	line-height: 18px;
	font-size: 14px;
	z-index: 9901;
	padding: 2px 5px;
	box-sizing: border-box;
	border: 1px solid black;
	border-radius: 4px;
	background-color: #f1f2fe;
	resize: none;
	color: black;
}

#chatfoot img {
	position: fixed;
	right: 10px;
	width: 24px;
	bottom: 16px;
	height: 24px;
	border: 1px solid black;
	border-radius: 8px;
}

#chatfoot img:hover {
	background-color: white;
}

@media only screen and (max-width:710px) { /*mob*/
	#chat #chathead #chatheadtext { font-size: 22px; }
	#chat #chathead label { font-size: 22px; }
	#chat #chathead input { height: 31px; font-size: 20px; line-height: 24px; padding: 1px 5px; }
	#chat #chatname ul li .cap { font-size: 20px; }
	#chat #chattext { top: 48px; bottom: 80px; }
	#chat #chattext #chattextfoot { height: 58px; }
	#chat #chattext #chattextfoot .cont { right: 50px; height: 37px; }
	#chat #chattext #chattextfoot .cont input { height: 37px; font-size: 20px; line-height: 24px; padding: 1px 5px; }
	#chat #chattext #chattextfoot #chattextsend { width: 36px; height: 36px; }
	#chat #chattext .textein { font-size: 18px; line-height: 22px; }
	#chat #chattext .textaus { font-size: 18px; line-height: 22px; }
	#chatfoot { height: 80px; }
	#chatfoot div { right: 54px; height: 70px; }
	#chatfoot textarea { height: 66px; font-size: 20px; line-height: 26px; padding: 1px 5px; }
	#chatfoot img { width: 36px; height: 36px; bottom: 22px; }
}
