﻿body, html {
	margin: 0;
	padding: 0;
	font-family: Arial, sans-serif;
	background-color: #f0f0f0;
	display: flex;
	justify-content: center;
	align-items: center;
	-webkit-text-size-adjust: none;
	width: 100%;
	height: 100%;
	border: 0;
	font-size: 62.5%;
	-webkit-text-size-adjust: none;
}
*{ padding:0px; margin:0px; border:0px;
    -webkit-touch-callout:none;
    -moz-touch-callout:none;
    -ms-touch-callout:none;
      touch-callout:none;
}
::placeholder {
	color: #888585;
	opacity: 1;
}

:-ms-input-placeholder {
	color: #888585;
}

::-ms-input-placeholder {
	color: #888585;
}
html , body , .page_box{ width:100%; position:relative; }
a {color:#666;text-decoration:none;}
a:hover {color:#93a900;text-decoration:none;}
.clear{ clear:both;}
.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: "";
	clear: both;
	height: 0;
}
img{ border:0px;width:100%; display:block;}
.error_massage{ color:Red;}
li{list-style-type:none;}

button,input,select,textarea{font-size:100%; border: 0;outline:none;}
input[type="button"], input[type="submit"], input[type="reset"],input[type="text"]{ -webkit-appearance: none;border-radius: 0;}
.center{position:relative;width:100%;}
.kaishi {
	position: absolute;
	left: 10%;
	width: 80%;
	bottom: 10%;
	border-radius: 2.4rem;
	height: 4.8rem;
	background-color: #d20000;
	 color:#fff; text-align:center; line-height:4.8rem; font-weight:bold; font-size:1.4rem;
}

.container {
	width: 100%;
	height: 100%;
	display: flex;
	background: #fff url(../images/bg.jpg) no-repeat top center;
	background-size: 100% auto;
	flex-direction: column;
	overflow: hidden;
}
.header {
	background-color: #d20000;
	color: #fff;
	padding: 10px;
	text-align: center;
	font-size: 16px;
}

.message-area {
	flex: 1;
	width: 95%;
	margin: 0 auto;
	overflow-y: auto;
	color: #242222;
	padding: 2px;
	font-size: 1.3rem;
}

.message {
	display: flex;
	align-items: flex-start;
	line-height: 1.4;
}

.message-content {
	display: flex;
	flex-direction: column;
}

.my-message {
	margin-top: 2em;
	justify-content: flex-end;
	align-self: flex-end;
	padding-right: 0px;
	position: relative;
	word-wrap: break-word;
}

	.my-message .about {
		margin: 5px;
		margin-right: 16px;
		position: relative;
		padding: 12px;
		border: 3px solid #ebeaeb;
		box-shadow: 0px 0px 8px #ebeaeb;
		font-size: 1.3rem;
		border-radius: 16px;
		background: #d20000;
		color: white;
	}

	.my-message .sender-badge {
		width: 40px;
		height: 40px;
		border-radius: 50%;
		display: none;
		justify-content: center;
		align-items: center;
		font-size: 14px;
		color: white;
		position: absolute;
		right: 5px;
		top: 30px;
		transform: translateY(-50%);
	}

	.my-message .jiantou { width:10px;
		position: absolute;
		right: 9px;
		top: 20px;
	}

		.my-message .jiantou img {
			width: 100%
		}

.other-message {
	margin-top: 2rem;
	justify-content: flex-start;
	align-self: flex-start;
	padding-left: 0px;
	position: relative;
	word-wrap: break-word;
}
.message-content{position:relative}
.other-message .about {
	position: relative;
	margin: 5px; margin-left:16px;
	padding: 12px;
	border: 3px solid #ebeaeb;
	box-shadow: 0px 0px 8px #ebeaeb;
	font-size: 1.3rem;
	border-radius: 16px;
	background: white;
}
.other-message .jiantou {
	position: absolute;
	left: 9px;
	top: 20px;
	width: 10px;
}
		.other-message .jiantou img{ width:100%}
		.other-message .sender-badge {
			width: 40px;
			height: 40px;
			border-radius: 50%;
			display: none;
			justify-content: center;
			align-items: center;
			font-size: 14px;
			color: white;
			position: absolute;
			left: 5px;
			top: 30px;
			transform: translateY(-50%);
		}

.footer {
	position: relative;
	display: flex;
	align-items: center;
	padding: 10px;
	border-top: 0px solid #ccc;
}

textarea {
	flex: 1;
	padding: 10px;
	padding-right: 40px;
	border: 2px solid #ebeaeb;
	border-radius: 15px;
	resize: none;
	margin-left: 40px;
	color: #888585;
	font-size: 1.3rem;
	overflow-y: hidden;
	box-sizing: border-box;
	height: 40px;
	box-shadow: 0px 0px 8px #ebeaeb;
}
.sentbutton {
	width:30px;
	position:absolute;
	right:20px;
	bottom:15px;
	padding: 0px;
	color: white;
	border: none;
	cursor: pointer;
}
.typing {
	width: 25px;
	position: absolute;
	left: 15px;
	bottom: 18px;

	color: white;
	border: none;
	cursor: pointer;
}
.recordButton {
	flex: 1; margin-left:40px; text-align:center;
	padding: 10px;
	border: 2px solid #ebeaeb;
	border-radius: 6px;letter-spacing:6px;
	resize: none;
	color: #888585;
	font-size: 1.3rem;
	overflow-y: hidden;
	box-sizing: border-box;
	height: 40px;
	box-shadow: 0px 0px 4px #ebeaeb;
}
.recordButton:active {
	background-color: gray;
	color: white;
	transform: scale(1.1);
}

.head{ width:100%; text-align:center}
.notice {
	font-size: 8px;
	text-align:center;
	position: relative;
	align-items: center;
	padding: 0px 10px 10px;
	color: #a8a8a8;
}
.head img{ width:50%;display:inline-block}
.m1 {
	margin-top: 3rem;
	border: 0px solid #ebeaeb;
	background-color: #f6f6f6;
	border-radius: 15px;
	padding: 20px;
	width: 80%;
	box-shadow: 5px 5px 8px #d1d0d1;
	animation: fadeIn 1s ease forwards;
	z-index: 100;
}
.m2 {
	margin-top: 2rem;
	justify-content: flex-start;
	align-self: flex-start;
	padding-left: 0px;
	position: relative;
	word-wrap: break-word;
	visibility: hidden;

}

	.m2 .about {
		margin: 0px;
		padding: 12px;
		border: 2px solid #ebeaeb;
		box-shadow: 0px 0px 8px #ebeaeb;
		font-size: 1.3rem;
		border-radius: 16px;
	}
.m3 {
	margin-top: 2rem;
	justify-content: flex-start;
	align-self: flex-start;
	padding-left: 0px;
	position: relative;
	word-wrap: break-word;
	visibility: hidden;
	animation: fadeIn 2s 0.5s ease forwards;

}

	.m3 .about {
		margin: 0px;
		padding: 12px;
		border: 2px solid #ebeaeb;
		box-shadow: 0px 0px 8px #ebeaeb;
		font-size: 1.3rem;
		border-radius: 16px;
	}

.jiazai {
	position: absolute;
	right: 60px;
	bottom: 3rem;
	display: none;
}
.jiazai2 {
	 display:inline-table;
}

.demo1 {
	width: 4px;
	height: 4px;
	border-radius: 2px;
	background: #d20000;
	float: left;
	margin: 0 3px;
	animation: demo1 linear 1s infinite;
	-webkit-animation: demo1 linear 1s infinite;
}

	.demo1:nth-child(1) {
		animation-delay: 0s;
	}

	.demo1:nth-child(2) {
		animation-delay: 0.15s;
	}

	.demo1:nth-child(3) {
		animation-delay: 0.3s;
	}

	.demo1:nth-child(4) {
		animation-delay: 0.45s;
	}

	.demo1:nth-child(5) {
		animation-delay: 0.6s;
	}

@keyframes demo1 {
	0%,60%,100% {
		transform: scale(1);
	}

	30% {
		transform: scale(2.5);
	}
}

@-webkit-keyframes demo1 {
	0%,60%,100% {
		transform: scale(1);
	}

	30% {
		transform: scale(2.5);
	}
}

@media (max-width: 992px) {
}

pre {
	white-space: pre-wrap;
	white-space: -moz-pre-wrap;
	white-space: -o-pre-wrap;
	word-wrap: break-word;
}

@keyframes fadeIn {
	0% {
		opacity: 0;
		visibility: hidden;
	}

	100% {
		opacity: 1;
		visibility: visible;
	}
}
#recordingIndicator {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 120px;
	height: 120px;
	background: rgba(0, 0, 0, 0.7);
	border-radius: 15px;
	align-items: center;
	justify-content: center;
	color: white;
	z-index: 999;
}

#speak {
	display: none;
}

#messageArea2{display:none}

#top-prompt {
	position: fixed;
	top: 0;
	width: 100%;
	height: 15px;
	background-color: rgba(0, 0, 0, 0.5);
	color: white;
	text-align: center;
	line-height: 15px;
	display: none;
}