@CHARSET "UTF-8";
/* emulate chat 1 — 常见问题聊天气泡样式 */

/* 容器：960px 居中 */
.echat1 {
	margin:18px auto; padding:0px; width:960px; list-style-type:none;
}

/* 默认气泡（偶数项）：绿色，左对齐，女性图标 */
.echat1 li {
	margin:60px 0px; padding:16px; width:500px;
	background-color:#6ec884; border-color:#ff8a01; color:#ffffff;
	border-radius:10px; border-style:solid; border-width:2px;
	box-sizing:content-box; /* 抵消本地 psnav.css 的 *{box-sizing:border-box}，还原旧版 width:500px 不含 padding */
}
.echat1 .question {
	padding:9px 0px 0px 36px; height:30px;
	font:bold 16px/19px "Verdana", "Tahoma", "Arial";
	background-image:url(res/female-msn.gif); background-repeat:no-repeat;
	box-sizing:content-box;
}
.echat1 .answer {
	text-indent:40px; line-height:18px; /* 旧站 body 行高 18px，本地为 1.8，显式指定以还原 */
}

/* 奇数项气泡：红色，右推 424px，男性图标 */
/* 旧版 HTML 未给 li 加 .odd 类，这里用 :nth-child(odd) 让交替效果自动生效 */
.echat1 .odd,
.echat1 li:nth-child(odd) {
	margin:22px 0px 22px 424px; padding:16px; width:500px;
	background-color:#ff4401; border-color:#61e004;
	box-sizing:content-box;
}
.echat1 .odd .question,
.echat1 li:nth-child(odd) .question {
	padding:9px 0px 0px 36px; height:30px;
	font:bold 16px/19px "Verdana", "Tahoma", "Arial";
	background-image:url(res/male-msn.gif); background-repeat:no-repeat;
	box-sizing:content-box;
}

/* ========== 平板端适配（769px ~ 999px） ========== */
@media (max-width: 999px) and (min-width: 769px) {
	.echat1 {
		width:100%; padding:0px 20px; box-sizing:border-box;
	}
	.echat1 li {
		width:420px; margin:40px 0px;
	}
	.echat1 .odd,
	.echat1 li:nth-child(odd) {
		margin:22px 0px 22px auto; width:420px;
	}
}

/* ========== 移动端适配（≤768px）：气泡全宽、取消左右错位 ========== */
@media (max-width: 768px) {
	.echat1 {
		width:100%; padding:0px 12px; box-sizing:border-box;
	}
	.echat1 li {
		width:auto; margin:16px 0px; padding:14px;
	}
	.echat1 .odd,
	.echat1 li:nth-child(odd) {
		margin:16px 0px; width:auto;
	}
	.echat1 .question {
		height:auto !important; min-height:30px; padding:6px 0px 6px 36px !important;
		font-size:15px !important; line-height:20px !important;
	}
	.echat1 .answer {
		font-size:14px; line-height:20px; text-indent:2em;
	}
}

/* ========== 小屏手机（≤480px） ========== */
@media (max-width: 480px) {
	.echat1 {
		padding:0px 8px;
	}
	.echat1 li {
		padding:12px; margin:12px 0px;
	}
	.echat1 .question {
		font-size:14px !important; line-height:19px !important; padding-left:32px !important;
		background-size:26px auto;
	}
	.echat1 .answer {
		font-size:13px; line-height:19px;
	}
}
