* {outline:none;}

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

body, textarea, input, select {
    background: 0;
    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:28px;}
::-moz-placeholder {color:#b6b6b6;text-align:center;line-height:28px;}
::-ms-input-placeholder {color:#d2d2d2;text-align:center;line-height:28px;}

#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:38px;
	height:38px;
	padding:2px;
	background:#ddd;
	border:0;
	vertical-align:top;
	-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;}

.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/loading.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;bottom:8px;width:13px;height:15px;}
.msg.l b{left: 0;}
.msg.r b{right: 0;background: url(img/b.png) bottom center no-repeat;}

.msg .b{
	padding: 2px 5px 2px 5px;
	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 .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:2px 6px 2px 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:6px;}

.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;}

.spec_info{border-radius:3px;margin:6px 2px;padding:4px;background:#fdeab7;color:#cd2e0c;}

.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 no-repeat;
}

.emotion{background: url(img/emotion.png);}
.photo_on{background: url(img/photo_on.png);}
.upload_on{background: url(img/upload_on.png);}
.sound_on{background: url(img/sound_on.png);}
.sound_off{background: url(img/sound_off.png);}
.evaluate{background: url(img/evaluate.png);}
.camera{background: url(img/camera.png);float:right !important;margin-right:36px !important;}
#toolbar_camera{display:none;}

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

.toolbar_ticket {
	display:none;
	height: 1px;
	text-align:center;
    position: absolute;
	left:0;
	right:0;
    bottom: 148px;
	overflow:hidden;
}

.toolbar_ticket .inner_view{width:130px;height:100%;background:#eee;border:1px solid #d9d9d9;border-bottom:0;border-radius: 30px 30px 0 0;padding:0;margin:0 auto;}
.toolbar_ticket .ticket_waitings {color:red;font-size:28px;height:30px;line-height:30px;font-weight:bold;}
.toolbar_ticket .ticket_no {color:#969696;font-size:12px;}
.toolbar_ticket .calling {color:#8000ff;font-size:16px !important;}
.toolbar_ticket .callend {color:red;font-size:16px !important;}
.tw_shake {color:#ffff00 !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 10px;
	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:54px;
	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;}

.team_off {height:80px;width:300px;margin:0 auto;font-size:22px;color:red;text-align:center;margin-top:200px;}

#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;}

.voice_waver{position:absolute;right:16px;bottom:154px;width:84px;height:30px;border:1px solid #d2d2d2;border-radius: 4px;padding:2px 0;background:#fff;display:none;}
.voice_waver .wave{position: absolute;top:2px;left: 0;	height:15px;width:84px;overflow:hidden;text-align:center;}
.wave .vw{width: 4px;height: 15px;display: inline-block;border-radius: 2px 2px 0 0;transform-origin: bottom;animation: dancing 1s ease-in-out infinite;margin:0 2px;}
.wave .vw1{background: #002FC9;animation-delay: 0.1s;}
.wave .vw2{background: #390F8A;animation-delay: 0.2s;}
.wave .vw3{background: #89083F;	animation-delay: 0.3s;}
.wave .vw4{background: #CC0004;animation-delay: 0.4s;}
.wave .vw5{background: #DE2C00;animation-delay: 0.5s;}
.wave .vw6{background: #FF8900;	animation-delay: 0.6s;}
.wave .vw7{background: #53D600;animation-delay: 0.7s;}
.wave .vw8{background: #ABF101;animation-delay: 0.8s;}
.wave .vw9{background: #FFEB20;	animation-delay: 0.9s;}
.wave .vw10{background: #9933CD;animation-delay: 1s;}
@keyframes dancing{0%{transform: scaleY(0.1);}50%{transform: scaleY(1);}100%{transform: scaleY(0.1);}}
.voice_waver .wave.down{top: 17px;transform: rotateX(180deg);opacity: 0.3;}

#video_container{position:absolute;left:4px;right:4px;top:48px;bottom:202px;display:none;}
#localVideo {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 5px;
	transition: opacity 1s;
	background:#000;
	object-fit: cover;
	/* 默认使用后置摄像头. 如果使用前置摄像头, 下面注释恢复
	-moz-transform: scale(-1, 1);
	-ms-transform: scale(-1, 1);
	-o-transform: scale(-1, 1);
	-webkit-transform: scale(-1, 1);
	transform: scale(-1, 1);
	*/
}