.video-center{
	margin: 0 5%;
}
.phone-pre, .phone-pre-alert{
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 38px;
	height: 38px;
	left: 27px;
	font-size: 17px;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	/* background-color: red; */
}
/* .phone-pre-option{
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: 38px;
	height: 76px;
	bottom: -86px;
	background-color: #fff;
	
}
.phone-pre-option::before{
	content: '';
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	border: 5px solid transparent;
	border-bottom-color: #fff;
} */
.user-phone, .user-phone-alert{
	/* width: calc(100% - 50px); */
	/* padding-left: 50px; */
	padding: 16px 12px 16px 50px!important;
}
.alert-input{
	position: fixed;
	width: 100vw;
	height: 100vh;
	top: 0;
	left: 0;
	z-index: 101;
	display: none;
	background-color: rgba(0,0,0,0.5);
}
.input-view{
	color: #fff;
	width: 100vw;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}
.my-toast{
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	font-size: 16px;
	background-color: #fff;
	padding: 10px 15px;
	z-index: 111;
	pointer-events: none;
	border-radius: 6px;
	opacity: 0;
	box-shadow: 0 0 2px #eee;
}
.goodsNum{
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.goodsNum input{
	width: calc(100% - 120px);
}
.cut, .add{
	color: #fff;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 24px;
	font-weight: 300;
	border-radius: 50%;
	background-color: rgba(0,0,0,0.48);
}

@media screen and (min-width: 768px){   /*电脑*/
	#robot-chat{
		background-color: red;
		width: 400px;
		height: 480px;
		bottom: 20px;
	}
	.hide-chat{
		right: -410px;
		/* bottom: -410px; */
	}
	.show-chat{
		right: 20px;
		/* bottom: 20px; */
	}
	.closeTip{
		width: 200px;
		right: 120px;
		bottom: 160px;
	}
}
@media screen and (max-width: 768px){   /*手机*/
	#robot-chat{
		background-color: green;
		width: 90vw;
		height: 300px;
		left: 5vw;
	}
	.hide-chat{
		top: -310px;
	}
	.show-chat{
		top: 5vw;
	}
	.closeTip{
		width: 70vw;
		left: 15vw;
		top: 50%;
		transform: translateY(-50%);
	}
	.closeTip::before{
		content: '';
		position: absolute;
		width: 100vw;
		height: 100vh;
		top: calc(50px - 50vh);
		left: -15vw;
		z-index: 1;
		background-color: rgba(0,0,0,0.5);
	}
}
#robot-chat{
	position: fixed;
	z-index: 998;
	font-weight: normal;
	border-radius: 7px;
	transition: all 0.3s;
	box-shadow: 0 0 2px #aaa;
}
.chart-container{
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: 7px;
}
.chat-header{
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: #3d7c6d;
}
.chat-header div{
	height: 100%;
}
.chat-header-title{
	width: calc(100% - 52px);
	padding: 0 6px;
	display: flex;
	align-items: center;
}
.chat-header-title img{
	width: 28px;
	height: 28px;
	margin-right: 5px;
}
.chat-header-title span{
	color: #fff;
	font-size: 16px;
}
.chat-header-close{
	width: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.chat-header-close i{
	display: inline-block;
	width: 10px;
	height: 10px;
	position: relative;
	transform: rotate(45deg);
	cursor: pointer;
	transition: all 0.3s;
	background-color: transparent;
}
.chat-header-close i:hover{
	transform: rotate(45deg) scale(1.2);
}
.chat-header-close i::before, .chat-header-close i::after{
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 2px;
	transform: translate(-50%,-50%);
	background-color: #fff;
}
.chat-header-close i::after{
	transform: translate(-50%,-50%) rotate(90deg);
}
.chat-footer{
	height: 73px;
	padding-bottom: 6px;
	border-top: 1px solid #ccc;
	display: flex;
	flex-wrap: wrap;
	align-content: space-between;
	justify-content: flex-end;
	background-color: #fff;
}
.chat-footer span{
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	color: #fff;
	height: 26px;
	width: 60px;
	cursor: pointer;
	margin-right: 6px;
	border-radius: 3px;
	background-color: #3d7c6d;
}
.chat-footer textarea{
	border: none;
	outline: none;
	font-size: 13px;
	width: calc(100% - 12px);
	height: 35px;
	padding: 6px 6px 0 6px;
	/* overflow-y: hidden; */
	color: #000;
	background-color: #fff;
}
.chat-footer textarea:focus{
	border: none;
	outline: none;
}
.chat-footer textarea::-webkit-scrollbar {
	width: 3px;
} /* 这是针对缺省样式 (必须的) */
.chat-footer textarea::-webkit-scrollbar-track {
	background-color: rgba(189,189,189,0.5);
} /* 滚动条的滑轨背景颜色 */
.chat-footer textarea::-webkit-scrollbar-thumb {
	background-color: rgba(189,189,189,1);
} /* 滑块颜色 */
.chat-footer textarea::-webkit-scrollbar-button {
	background-color: rgba(180,180,180,1);
} /* 滑轨两头的监听按钮颜色 */
.chat-footer textarea::-webkit-scrollbar-corner {
	background-color: rgba(180,180,180,1);
} /* 横向滚动条和纵向滚动条相交处尖角的颜色 */
.chatTip{
	position: absolute;
	left: 50%;
	bottom: 90px;
	transform: translateX(-50%);
	padding: 6px 12px;
	font-size: 13px;
	background-color: #222;
	color: #fff;
	z-index: 10;
	border-radius: 3px;
	transition: all 0.3s;
	opacity: 0;
	pointer-events: none;
}
.show-chat-tip{
	opacity: 1;
}
.closeTip{
	position: fixed;
	z-index: 1000;
	height: 100px;
	display: none;
	background-color: transparent;
}
.closeTip-content{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	opacity: 0;
	transform: translate(-50%,-50%) scale(0.8);
	z-index: 2;
	cursor: pointer;
	background-color: #fff;
	display: flex;
	flex-wrap: wrap;
	align-content: space-between;
	border-radius: 3px;
	box-shadow: 0 0 2px #aaa;
}
.show-closeTip{
	animation: showCloseTip 0.3s forwards;
}
@keyframes showCloseTip{
	from{
		opacity: 0;
		transform: translate(-50%,-50%) scale(0.8);
	}
	to{
		opacity: 1;
		transform: translate(-50%,-50%) scale(1);
	}
}
.closeTip-content div{
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.closeTip-content div:first-child{
	height: 60px;
	font-size: 15px;
}
.closeTip-content div:last-child{
	height: 40px;
	position: relative;
}
.closeTip-content div:last-child::before, .closeTip-content div:last-child::after{
	content: '';
	position: absolute;
	top: 0;
	background-color: #ccc;
}
.closeTip-content div:last-child::before{
	width: 100%;
	height: 1px;
	left: 0;
}
.closeTip-content div:last-child::after{
	width: 1px;
	height: 100%;
	left: 50%;
	transform: translateX(-50%);
}
.closeTip-content div:last-child span{
	width: 50%;
	height: 50px;
	font-size: 13px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.chat-content{
	height: calc(100% - 120px);
	background-color: #fff;
	overflow-x: hidden;
	overflow-y: scroll;
}
.chat-content::-webkit-scrollbar{
	display: none;
}
.chat-content-view{
	padding-bottom: 6px;
}
.self-chat, .here-chat{
	width: calc(100% - 40px);
	display: flex;
	color: #000;
	font-weight: normal;
}
.self-chat{
	margin-left: 40px;
}
.here-chat{
	margin-right: 40px;
}
.chat-headImg{
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	/* width: 28px; */
	/* height: 28px; */
	/* padding: 6px; */
	/* text-align: center; */
	/* background-color: red; */
}
.chat-headImg img{
	width: 28px;
	height: 28px;
	/* border-radius: 50%; */
}
.chat-time-content{
	width: calc(100% - 40px);
	display: flex;
	flex-wrap: wrap;
	/* background-color: green; */
}
.self-chat .chat-time-content{
	justify-content: flex-end;
}
.chat-time{
	width: 100%;
	height: 24px;
	font-size: 12px;
	line-height: 24px;
}
.self-chat .chat-time{
	text-align: right;
}
.chat-substance{
	padding: 6px;
	font-size: 13px;
	border-radius: 6px;
	background-color: #eee;
}
.chat-local-answer{
	padding: 6px;
	border-radius: 6px;
	background-color: #eee;
}
.chat-local-answer p{
	color: #000;
	font-size: 13px;
}
@keyframes answerShow{
	from{
		color: transparent;
	}
	to{
		color: #000;
	}
}

