/* 等待窗口的样式 */
#loading {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 9999;
	background-color: rgba(255, 255, 255, 0.8);
	display: none; /* 初始状态下隐藏 */
	justify-content: center;
	align-items: center;
}

/* 加载动画的样式 */
.spinner {
	border: 8px solid #f3f3f3; /* 外圈颜色 */
	border-top: 8px solid #3498db; /* 主颜色 */
	border-radius: 50%;
	width: 60px;
	height: 60px;
	animation: spin 1.5s linear infinite;
}

/* 加载动画的关键帧 */
@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* 页面内容 */
#content {
	text-align: center;
	padding: 20px;
}

/* 调整字体大小 */
#dialog {
	font-size: 14px; /* 调整整个弹窗的字体大小 */
}

/* 让表格宽度充满整个弹窗 */
#list {
	width: 100%; /* 表格宽度占满 */
	border-collapse: collapse; /* 合并表格边框，去掉多余的间隙 */
}

/* 表头和单元格边框 */
#list th, #list td {
	border: 1px solid #ccc; /* 添加边框 */
	padding: 8px; /* 添加单元格内边距 */
	text-align: left; /* 左对齐表格内容 */
}

/* 表头的样式 */
#list th {
	background-color: #f2f2f2; /* 设置表头背景色 */
	font-weight: bold; /* 表头字体加粗 */
}

/* 去掉对话框关闭按钮的蓝色边框 */
.ui-dialog-titlebar-close {
	outline: none;           /* 去掉蓝色边框 */
}

/* 还可以进一步设置 hover 和 focus 样式 */
.ui-dialog-titlebar-close:focus {
	outline: none;           /* 去掉 focus 事件的边框 */
}

h5{
	margin: 0;
}
img{
	max-width: 100%;
    vertical-align: middle
}
input{
	outline: none;
}
body{
    max-width: 720px;
    margin: 0 auto;
    background: #f1f1f1;
    color:#333;
    font-size: 0.26rem;
}
.header{
    border-bottom: 1px solid #dfdfdf;
    padding:0 0.2rem;
    height: 1rem;
    line-height: 1rem;
    background: #fff;
    position: fixed;
    width: 100%;
    max-width: 720px;
    box-sizing: border-box;
    z-index: 100;
}
.back{
    position: absolute;
	top: 0;
	left: 0.3rem;
	background:url(./../images/left.png) no-repeat;
    width: 0.2rem;
    height:0.4rem;
    margin-top: 0.34rem;
    background-size: 0.2rem 0.4rem;
}
.header .tit{
	font-size: 0.32rem;
	vertical-align: middle;
    text-align: center;
    height: 1rem;
    line-height: 1rem;
    font-weight: normal;
}
.header .right{
	position: absolute;
	right: 0.3rem;
	top: 0;
	float: none;
	font-size: 0.30rem;
	line-height: 1.2rem;
}
#message{
    background-color: #f1f1f1;
	padding: 1.2rem 0.3rem 1rem 0.3rem;
}
.time{
    font-size:0.24rem;
    color:#999;
    margin-bottom: 0.3rem;
    text-align: center;
}

#footer{
	position: fixed;
	bottom: 0;
    height:1rem;
    background-color:#fff;
    line-height:1rem;
    width: 100%;
    max-width: 720px;
    border-top: 1px solid #ddd;
}
#footer img{
    margin-left:0.2rem;
    width: 0.5rem;
}
#footer input{
    margin-left:0.3rem;
    width:3.96rem;
    height:0.64rem;
    border-radius: 0.1rem;
    border:0.01rem solid #ddd;
    padding : 0 0.15rem;
	font-size: 20px;
}
#footer p{
   width:1.2rem;
    height:0.68rem;
    font-size:0.3rem;
    color:#fff;
    line-height:0.68rem;
    text-align:center;
    background-color:#ddd;
    border-radius: 0.1rem;
    float:right;
    margin-top:0.2rem;
    margin-right:0.2rem;
	cursor: pointer;
}
.reply:after,.ask:after,.msg:after{
	content: "";
	clear: both;
	display: table;
}
.msg{
	position: relative;
}
.reply .msg .name{
	position: absolute;
	font-size: .24rem;
	color: #999;
	top: -.1rem;
	left: .9rem;
}
.msg>img{
	width: 0.8rem;
	float: left;
}
.reply .msg>p{
	top: .3rem;
}
.msg>p{
	float: left;
	margin:0  0.4rem;
	padding: 0.25rem;
	background: #fff;
	font-size: 0.3rem;
	position: relative;
	border-radius: 0.2rem;
	max-width:5rem ;
	min-height: .8rem;
	box-sizing: border-box;
	word-wrap: break-word;
}

.msg_output{
	position: absolute;
	/* background: url(./../images/msg-output.png) no-repeat; */
	background-size: 0.31rem auto;
	width: 0.31rem;
	height: 0.51rem;
	left: -0.31rem;
	top: 0.25rem;
}
.msg_input{
	position: absolute;
	/* background: url(./../images/msg-input.png) no-repeat; */
	background-size: 0.31rem auto;
	width: 0.31rem;
	height: 0.51rem;
	left: -0.31rem;
	top: 0.25rem;
}

.ask .msg img,.ask .msg p,.ask .msg{
	float: right;
}


.ask .msg_input{
	left: auto;
	right: -0.2rem;
	transform:rotate(0deg);
	-ms-transform:rotate(0deg); 	/* IE 9 */
	-moz-transform:rotate(0deg); 	/* Firefox */
	-webkit-transform:rotate(0deg); /* Safari 和 Chrome */
	-o-transform:rotate(0deg); 	/* Opera */
}
.reply,.ask{
	padding-bottom: 0.7rem;
}
.alert_novip,.flower_num,.give_flower{
	display: none;
	padding: 0.3rem 0.5rem;
	font-size: 0.28rem;
}
.alert_novip p,.flower_num  p {
	margin-bottom: 0.45rem;
}
.layui-layer-wrap button{
	font-size: 0.28rem;
	padding: 0.2rem 0.3rem;
	margin-top: 0.1rem;
	background: #f8f8f8;
	border-radius: 10px;
}
.flower_num button{
	padding: 0.2rem 0.5rem;
	border-radius: 10px;
}
.layui-layer-wrap button:first-child{
	float: left;
}
.layui-layer-wrap button:last-child{
	float: right;
	background: #FF7171;
	color: #fff;
}
.alert_novip button{
	padding: 0.2rem 0.3rem;
    border-radius: 10px
}
.flower{
	width: 0.8rem;
	margin: 0 auto;
}
.give_flower{
	text-align: center;
}
.give_flower p{
	text-align: center;
	line-height: 1.5;
}
.give_flower input{
	width: 1rem;
	margin-right: 0.1rem;
	margin-top: 0.2rem;
}
.give_flower button{
	display: block;
	width: 3rem;
	font-size: 0.28rem;
	margin: 0 auto;
	margin-top: 0.6rem;
	float: none!important;
	line-height: 0.65rem;
	border-radius: 10px;
}
