* {outline:none;}

html, body {width:100%;height:100%;overflow: hidden;margin: 0;padding:0;}

body, textarea, input, select {
    border-radius: 0;
    font: 16px "Microsoft YaHei", "\5b8b\4f53", Verdana, Arial, sans-serif;
    margin: 0;
	background:#fff;
}

textarea, input{-webkit-appearance: none; padding:8px;border:0;}

::-webkit-input-placeholder {color:#d2d2d2;text-align:center;line-height:40px;}
::-moz-placeholder {color:#b6b6b6;text-align:center;line-height:40px;}
::-ms-input-placeholder {color:#d2d2d2;text-align:center;line-height:40px;}

.shutdown{
	font-size:18px;color:red;width:80%;text-align:center;margin:0 auto;padding:10px;
	margin-top:300px;border:1px solid #c6c6c6;border-radius: 5px;background:#e3e3e3;
}

#welive_operator {margin:0;width:auto;display:block;height:42px;overflow:hidden;padding:2px 6px 2px 4px;background-color: #29C7C2;}
#welive_avatar {
	display:block;
	float:left;
	width:36px;
	height:36px;
	padding:2px;
	background:#ddd;
	border:0;
	vertical-align:top;
	margin-top:1px;
	-webkit-border-radius: 4px 4px 4px 4px;
	-moz-border-radius: 4px 4px 4px 4px;
	border-radius: 4px 4px 4px 4px;
}
#welive_name, #welive_duty {
	float:left;
	height:18px;
	width:200px;
	overflow:hidden;
	margin-left:8px;
	margin-top:2px;
}
#welive_name {color:#fff;}
#welive_duty {font-size:14px;color:#21a39f;}
#welive_copyright {position:absolute;right:12px;top:10px;}
#welive_copyright a {color:#fff;text-decoration:none;font-size:12px;outline:none;}

#new_info{
	display: none;
	color: #fff;
	border-radius: 50%;
	background: #ff6600;
	width:50px;
	height:50px;
	line-height:50px;
	text-align:center;
	position:absolute;
	top:40%;
	left:50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	font-size:26px;
	box-shadow: 0 0 6px #333;
	overflow:hidden;
}

.viewport {
	position:absolute;
	left:0;right:0;
	top:46px;bottom:149px;
	overflow-x: hidden;
    overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
.viewport::after {
	display:block;
	width:100%;
	height:56px;
	overflow:hidden;
	content:"　";
	visibility:hidden;
}

.enter {margin:0;left:0;right:0;bottom:0;position:absolute;height:148px;border-top:1px solid #d9d9d9;background:#eee;text-align:center;overflow:hidden;}

.animate_avatar {position:absolute;width:52px;height:52px;overflow:hidden;left:60px;bottom:200px;}
.animate_avatar img {width:48px;padding:2px;background:#ccc;border:0;border-radius: 4px;}

.loading{background: url(img/saving.gif) center center no-repeat;}
.loading1 {background-color:#b7b7b7 !important;}

.shake {
	border: 1px solid red !important;
	color:red !important;
	-moz-box-shadow: 0 0 10px #FF9900 !important;
		-webkit-box-shadow: 0 0 10px #FF9900 !important;
			box-shadow: 0 0 10px #FF9900 !important;
}

.smilies_div {display:none;max-width:92%;position:absolute;border:1px solid #b7b7b7; background:#e8e8e8;border-radius: 4px;bottom:151px;left:8px;overflow:hidden;padding:4px;}
.smilies_wrap {width:100%;}
.smilies_wrap img {padding:8px;border:0;}
.smilies_wrap img:focus, .smilies_wrap img:hover{border-radius: 4px 4px 4px 4px; background:#b7b7b7;}

.viewport img {vertical-align:middle;border:0;}
.viewport a {text-decoration:none;}

.viewport a.down {display:block;padding:2px 4px;border:1px solid #a5a5a5;border-radius: 6px;}

.msg{position: relative;margin:10px 0 2px 0;width:100%;display:inline-block;padding:0;background:0;border:0;}
.msg.l b, .msg.r b{position: absolute;top:45%;width:13px;height:15px;}
.msg.l b{left: 0;}
.msg.r b{right: 0;background: url(img/msgr.png) bottom center no-repeat;}

.msg .b{
	padding: 4px 8px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

.msg.l .b{text-align: left;float:left;margin-left: 16px;color: #000;display:inline;background:#fff;font-size:16px;}
.msg.r .b{text-align: right;float:right;margin-right: 11px;color: #fff;display:inline;font-size:14px;background-color: #29C7C2;border: 1px solid #29C7C2;}
.msg.s .b, .msg.e .b{width:60%;margin:0 auto;text-align: center;border: solid 1px #ddd;color: #888;background:#eee;padding:3px;font-size:14px;}
.msg.e .b{color:red;}

.msg .i{word-wrap: break-word;line-height:1.5em;overflow:hidden;}
.msg.l .i{min-width:40px;max-width: 280px;font-family: "\5FAE\8F6F\96C5\9ED1", "Microsoft YaHei";background-color:#f1f1f1;border-radius:4px;padding:4px 8px;}
.msg.r .i{min-width:40px;max-width: 240px;font-family: "\5FAE\8F6F\96C5\9ED1", "Microsoft YaHei";min-height:22px;line-height:22px;}
.msg i{color: #c7c7c7;font-size: 12px;top: 0px;}
.msg.r i{float: right;padding:0 8px 0 0;}
.msg.r s{float: right;color: #9d9d9d;text-decoration:none;font-style:normal;}
.msg.r s.un{color: #ff6600 !important;}
.msg.l i{padding:4px 0 0 8px;}
.msg.l .a{padding-left:10px;width:100%;display:block;font-size:14px;color:#7c7c7c;font-style:italic;margin-bottom:2px;}

.sending_div, .sending_img, .sending_mask{width:240px;overflow:hidden;}
.sending_div{position:relative;margin:4px auto;padding:0;background:#d8d8d8;}
.sending_img{position:absolute;left:0;bottom:0px;right:0px;}
.sending_mask{position:absolute;left:0;bottom:0px;right:0px;background:#000;filter:alpha(Opacity=60);-moz-opacity:0.6;opacity: 0.6;text-align:center;}

.msg.l .sending_div{border-radius:4px;border:solid 3px #d8d8d8;}

.file_upload{height:12px;border-radius: 6px;}
.uploading_mask{position:absolute;top:0;bottom:0;right:0;background:#000;filter:alpha(Opacity=60);-moz-opacity:0.6;opacity: 0.6;text-align:center;}

.enter .tool_bar {display:block;padding:3px;height:40px;overflow:hidden;}
.tool_bar div {
    float: left;
    margin: 1px 4px;
	width:36px;
	height:36px;
	display:inline-block;
	overflow:hidden;
	padding:0;
	border:1px solid #d2d2d2;
	border-radius: 4px;
	background-size: 100% 100%;
	background-position:center center;
}

.emotion{background: url(img/t_emotion2.png);}
.photo_on{background: url(img/t_photo.png);}
.upload_on{background: url(img/t_file.png);}
.sound_on{background: url(img/t_sound.png);}
.sound_off{background: url(img/t_soundoff.png);}
.evaluate{background: url(img/t_evaluate.png);}

.emotion_hover{background: url(img/t_emotion_hover.png);border-color:#909090 !important;}
.evaluate_hover{background: url(img/t_evaluate_hover.png);border-color:#909090 !important;}

.trans_to {position: absolute;right:4px;line-height:36px;color:#747474;width: auto !important;	padding: 0 8px !important;}

.enter .msger {
	margin:0;
	width:96%;
	height:40px;
	resize: none;
	border:0;
	overflow-x: hidden;
    overflow-y: auto;
}

a.sender, a.relink {
	font-size:16px;
	padding: 6px 12px;
	border:0;
	border-radius: 4px;
	color: #fff;
	display: inline-block;
	margin: 3px 0;
	text-decoration:none;
	background-color: #29C7C2;
}

#starRating{
	font-family: "\5FAE\8F6F\96C5\9ED1", "Microsoft YaHei";
	display:none;
	position:absolute;
	left:50%;
	transform:translate(-50%);
	bottom:151px;
    width: 270px;
	height:210px;
	overflow:hidden;
    border-radius: 4px;
    border:1px solid #afafaf;
    font-size: 14px;
    letter-spacing: 1px;
	background:#e8e8e8;
	padding-top:15px;
}
#starRating p{text-align:center;width:100%;display:block;padding: 5px;margin:0;}
#starRating p.star{padding: 6px 0;}
#starRating .title{font-size: 14px;}
#starRating .last{font-size: 14px;}

#starRating span {
    position: relative;
    display: inline-block;
    width: 28px;
    height:28px;
    overflow: hidden;
    margin-right: 8px;
}
#starRating .last{margin-right: 0 !important;}

#starRating .high {
    position: absolute;
    width: 44px;
    height: 42px;
    top: 0;
    left: 0;
    background: url("img/star_on.png");
}

#starRating .nohigh {
    position: absolute;
    width: 28px;
    height: 28px;
    top: 0;
    left: 0;
    background: url("img/star_off.png");
}

#starRating .starInfo {
    height: 19px;
    line-height: 19px;
    text-align: center;
    color: #ff9a55;
	letter-spacing: 1px;
}

#starRating .starInfo img{
	width: 17px;
	height: 16px;
	vertical-align: text-top;
	margin-right: 6px;
	display: inline-block;
}

#starRating textarea{
	width: 220px;
    height: 40px;
    padding: 4px 6px;
    overflow-y: auto;
    resize: none;
    word-break: break-all;
    line-height: 17px;
    border-radius:4px;
    font-size: 14px;
}
#starRating textarea:focus {font-size:14px !important;}
#starRating .sender{float:none;margin:-4px auto;}

.welive_popup{display:none;position: fixed; top:0;left:0;width:100%;height:100%;background-color: rgba(0,0,0,0.3);z-index:20000;overflow:hidden;}
.big_img_wrap{position:absolute;box-shadow: 0 0 8px #fff;}

.robot_typing .a{color: #FF534C !important;}
.robot_typing .i{display:block;height:26px;width:86px;background: url("img/typing.svg") center center no-repeat;}

#questions_div {display:none;}

.q_search{
	z-index:9000;
	position:absolute;
	display:none;
	bottom:106px;
	left:7px;
	border: 1px solid #afafaf;
	border-radius: 4px;
	background: #E8E8E8;
	padding: 4px 8px;
	max-width:92%;
	max-height:500px;
	overflow-x:hidden;
	overflow-y:auto;
}

.q_search li {list-style:none;width:100%;word-wrap: break-word;border-bottom:1px dashed #ccc;border-top:1px dashed #fafafa;padding:6px 0;}
.q_search li b {font-weight:normal;}
.q_search li i {margin-right:6px;font-style:normal;color:#b0b0b0;font-size:10px;vertical-align:middle;}

.q_search_title{border-bottom:1px dashed #ccc;font-weight: bold;color:#ff6600;padding: 2px 0 4px;}
.q_search_title b{float:right;margin-left:30px;}