
/* 聊天室样式 */
.chatRoom-box {
	display: none;
	position: relative;
	margin: auto;
	width: 290px;
	height: 580px;
}

.chatRoom-header {
	width: 100%;
	height: 65px;
	line-height: 65px;
}

.current-chatRoom-icon {
	float: right;
	margin-right: 30px;
}

.icon {
	border-radius: 20px;
	width: 24px;
	height: 24px;
}

.current-chatRoom-name {
	padding-left: 30px;
	text-align: center;
	color: #D02129;
}

/* 聊天内容 */
.chatRoom-content-box {
	position: absolute;
	top: 60px;
	width: 100%;
	height: calc(100% - 125px);
	overflow-y: scroll; background-color:#F5F7FA;
}

/* 定义滚动条样式 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  background-color: rgba(240, 240, 240, 1);
}
  
/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 0px rgba(240, 240, 240, .5);
  border-radius: 10px;
  background-color: rgba(240, 240, 240, .5);
}
  
/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  box-shadow: inset 0 0 0px #C1C1C1;
  background-color: #C1C1C1;
}

.online-box {
	display: flex;
	align-items: center;
	margin-bottom: 10px;
	padding: 0px 36px 0px 17px;
}

.online-message {
	border-radius: 100px;
	padding: 9px 15px;
	height: 18px;
	line-height: 18px;
	font-size: 14px;
	font-weight: normal;
	background: rgba(255, 255, 255, 1);
	color: #9a9ca8;
}

.user-name {
	font-weight: normal;
	font-size: 14px;
	line-height: 18px;
	color: #9a9ca8;
}

.user-notice {
	font-weight: normal;
	font-size: 14px;
	line-height: 18px;
	color: #333333;
}

.current-chatRoom-person {
	display: flex;
	margin-bottom: 10px;
	padding: 0px 36px 0px 17px;
	font-size: 14px;
	font-weight: normal;
}


.current-person-self-name {
	display: inline-block;
	float: right;
	margin-bottom: 8px;

	font-size: 14px;
	font-weight: normal;

	line-height: 18px;
	color: #FFC700;
}

.current-person-words {
	border-radius: 100px;
	padding: 9px 15px;
	line-height: 18px;
	font-size: 14px;
	font-weight: normal;
	background: #FFF;
}

.current-person-name {
	font-weight: normal;
	font-size: 14px;
	line-height: 18px;
	color: #707173;
}

.current-person-message {
	font-weight: normal;
	font-size: 14px;
	line-height: 18px;
	color: #1D3254;
}

.self-person-color {
	color: #D02129;
}

.current-online-num-box {
	display: flex;
	flex-direction: row-reverse;
	padding-right: 30px;
}

.current-icon {
	width: 40px;
	height: 40px;
}

.current-num {
	border-radius: 50%;
	width: 40px;
	height: 40px;

	font-size: 14px;
	font-weight: normal;

	line-height: 40px;
	text-align: center;
	background: rgba(51, 51, 51, 0.3);
	color: rgba(255, 255, 255, 0.8);
}


.current-online-icon {
	display: flex;
	position: absolute;
	right: 70px;
}


/* 底部输入框 */
.chatRoom-footer {
	display: flex;
	align-items: center;
	position:absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 10px 15px;
	background-color:#FFF;
	height:45px;
	z-index:999;
}

/* 输入框 */
.input-box {
	width: 100%;
	height: 35px;
}
.input-box input {
	border: none;
	width: 100%; height:35px;
	outline: none;
	font-size: 14px;
	color: #555;
	background-color:#F6F6F6;border-radius: 18px; text-indent:10px;
}

/* 发送按钮 */
.button-box {  margin-left:10px;
	width: 66px;
	height: 35px;
}
.button-box .btnsend{ display:block;background-color:#229bff; width:66px; height:35px; line-height:35px;text-align:center; color:#FFF;border:none;border-radius: 18px; font-size:14px;cursor: pointer; }


.heart-btn {
	min-width: 40px;
	min-height: 40px;
}


.upload-icon {
	width: 14px;
	height: 14px;
}

.input-btn-box {
	border-radius: 100px;
	width: 75px;
	height: 46px;
	font-size: 14px;
	font-weight: normal;
	line-height: 46px;
	text-align: center;
	background: linear-gradient(225.79deg, #B83AF3 9.83%, #6950FB 105.7%), #FFFFFF;
	color: #FFFFFF;
}


/* 火箭与比心 */
.rocket {
	position: absolute;
	bottom: 55px;
	left: 50%;
	right: 50%;
	margin-left: -20px;
}

.heart {
	position: absolute;
	bottom: 160px;
	width: 40px;
	right: 50%;
	left: 50%;
	z-index: 10000;
	margin-left: -20px;
}

.heart-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	padding-left: 8px;
}

.heart-btn-icon {
	width: 40px;
	height: 40px;
}

.heart-icon {
	display: none;
	width: 48px;
	height: 39px;
}

.rocket {
	display: none;
	position: absolute;
	bottom: 60px;
	left: 50%;
	right: 50%;
	z-index: 10000;
	margin-left: -40px;

	width: 80px;
	height: 80px;
	cursor: pointer;
	text-align: center;
}

/* 小火箭悬停特效 */
.rocket:hover {
	animation: rubberBand 1s;
}

.rocket-btn {
	display: flex;
	align-items: center;
	justify-content: center;
}

.rocket-btn-icon {
	padding: 0px 10px;
	width: 20px;
	height: 40px;
}

.rocket-icon {
	display: none;
	width: 80px;
}

.toast{
	position: fixed;
	left:50%;
	top:50%;
	width:200px;
	height:100px;
	background: #f0f0f0;
	margin:-50px -100px;
	color:red;
	display: none;
	font-size:16px;
	text-align: center;
	padding:10px;
	box-sizing: border-box;
}

@keyframes rubberBand {
	from {
		transform: scale3d(1, 1, 1);
	}

	30% {
		transform: scale3d(1.25, 0.75, 1);
	}

	40% {
		transform: scale3d(0.75, 1.25, 1);
	}

	50% {
		transform: scale3d(1.15, 0.85, 1);
	}

	65% {
		transform: scale3d(.95, 1.05, 1);
	}

	75% {
		transform: scale3d(1.05, .95, 1);
	}

	to {
		transform: scale3d(1, 1, 1);
	}
}

.error-info {
	display: none;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	height: 32px;
	padding: 0 10px;
	border-radius: 5px;
	line-height: 32px;
	font-size: 14px;
	font-weight: normal;
	background: rgba(17,17,17,.7);
}
