@charset "utf-8";

/* ================================ */
/* 触屏版消息聊天样式类型				*/
/* Author:			Hanbing 		*/
/* Copyright:		www.shopnc.net	*/
/* Create Date:		Jun-08-2015		*/
/* Retrofit Date:	Aug-04-2015		*/
/* ================================ */

.nctouch-message-list { background-color: #FFF;}
.nctouch-message-list li { position: relative; z-index: 1; height: 3rem; border-bottom: solid 0.05rem #EEE; margin: 0 1.5rem 0 3.2rem;}
.nctouch-message-list li .avatar { position: absolute; z-index: 1; top: 0.4rem; bottom: 0.4rem; left: -2.7rem; display: block; width: 2.2rem; height: 2.2rem; background-color: #EEE; border-radius: 100%;}
.nctouch-message-list li .avatar img { width: 100%; height: 100%; border-radius: 100%;}
.nctouch-message-list li .avatar sup { position: absolute; z-index: 1; top: 0; right: 0; width: 0.4rem; height: 0.4rem; background-color: #F23030; border-radius: 100%;}
.nctouch-message-list li dl { display: block; padding: 0.4rem 0;}
.nctouch-message-list li dl dd a img.showPictrue{
	max-width: 28px!important;
	max-height: 28px!important;
}
.nctouch-message-list li dt { display: block; height: 1.2rem; font-size: 0.6rem; line-height: 1.2rem; color: #232326;}
.nctouch-message-list li dd { display: block; height: 1.2rem; font-size: 0.6rem; line-height: 1rem; color: #666; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;}
.nctouch-message-list li time { position: absolute; z-index: 1; top: 0.4rem; right: 0.4rem; font-size: 0.55rem; line-height: 0.9rem; color: #BBB;}

.nctouch-message-list li .msg-list-del { position: absolute; z-index: 1; top: 1rem; right: -1rem; width: 1rem; height: 1rem; background-image: url(../images/del_b.png); background-repeat: no-repeat; background-position: 50% 50%; background-size: 60%; opacity: 0.5;}
.nctouch-chat-layout { position: absolute; z-index: auto; top: 0; left: 0; right: 0; bottom: 0; background-color: #EFEFEF;}

.margin-heigh { display: block; width: 100%; height: 4.8rem;}

.nctouch-chat-product { width: 93%; margin: 0.5rem auto; padding: 0.5rem 0; border: solid 0.05rem #DDD; background-color: #FFF; position: relative; z-index: 1;}
.nctouch-chat-product .goods-pic { width: 2.5rem; height: 2.5rem; position: absolute; z-index: 1; top: 0.5rem; left: 0.5rem;}
.nctouch-chat-product .goods-pic img { width: 100%;}
.nctouch-chat-product .goods-info { margin: 0 0.5rem 0 3.5rem;}
.nctouch-chat-product .goods-name { font-size: 0.6rem; line-height: 0.7rem; height: 1.4rem; overflow: hidden; margin-bottom: 0.3rem; color: #232326;}
.nctouch-chat-product .goods-price { font-size: 0.6rem; line-height: 0.9rem; height: 0.9rem; color: #F23030; font-weight: 600;}

.nctouch-chat-con { position: absolute; z-index: auto; max-height: 100%; left: 0; right: 0; bottom: 2rem; overflow-x: hidden;  overflow-y: auto;}
.nctouch-chat-con dl { position: relative; min-height: 2.2rem; padding: 0.2rem 0; margin-bottom: 0.2rem; overflow: hidden;}
.nctouch-chat-con dl.msg-other { animation: optionMsgLeft 0.5s ease-in-out; -webkit-animation:optionMsgLeft 0.5s ease-in-out;}
@keyframes optionMsgLeft
{
from { opacity: 0.5; left: -100%; right:100%;}
to { opacity: 1; left: 0; right:0;}
}
@-webkit-keyframes optionMsgLeft
{
from { opacity: 0.5; left: -100%; right:100%;}
to { opacity: 1; left: 0; right:0;}
}
.nctouch-chat-con dl.msg-me {animation: optionMsgRight 0.5s ease-in-out; -webkit-animation:optionMsgRight 0.5s ease-in-out;}
@keyframes optionMsgRight
{
from { opacity: 0.5; left: 100%; right:-100%;}
to { opacity: 1; left: 0; right:0;}
}
@-webkit-keyframes optionMsgRight
{
from { opacity: 0.5; left: 100%; right:-100%;}
to { opacity: 1; left: 0; right:0;}
}
.nctouch-chat-con dl dt { width: 2rem; height: 2rem; position: absolute; z-index: 1; top: 0.3rem;}
.nctouch-chat-con dl dt i { width: 0.5rem; height: 0.5rem; position: absolute; z-index: 1; top: 0.5rem; background-repeat: no-repeat; background-position: 50% 50%; background-size: 100%;}
.nctouch-chat-con dl dt img { width: 2rem; height: 2rem; border-radius: 100%;}
.nctouch-chat-con dl.msg-other dt { left: 0.4rem;}
.nctouch-chat-con dl.msg-other dt i { left: 2.3rem; background-image: url(../images/msg_other.png);}
.nctouch-chat-con dl.msg-me dt { right: 0.4rem;}
.nctouch-chat-con dl.msg-me dt i { right: 2.3rem; background-image: url(../images/msg_me.png);}
.nctouch-chat-con dl dd { display: block; max-width: 10rem; padding: 0.4rem 0.6rem; border-radius: 0.4rem; min-height: 0.9rem; font-size: 0.6rem; line-height: 0.9rem; color: #232326; word-wrap: break-word;}
.nctouch-chat-con dl dd img {  max-width: 8rem; max-height: 8rem; padding: 0.2rem; border-radius: 0.3rem; vertical-align: text-bottom; margin: 0 0.2rem;}
.nctouch-chat-con dl.msg-other dd { margin-left: 3rem; float: left; background-color: #FFF;}
.nctouch-chat-con dl.msg-me dd { margin-right: 3rem; float: right; background-color: #FFD779;}

.nctouch-chat-bottom { position: absolute; z-index: 99; left: 0; right: 0; bottom: 0;}
.nctouch-chat-bottom .nctouch-chat-bottom-error{text-align: center;font-size: 0.6rem;background: #fff ;display: none;}


.chat-input-layout { position: relative; z-index: 1; display: block; height: 2rem; background-color: rgba(255,255,255,0.90)}
.chat-input-layout .open-smile { display: block; width: 1.5rem; height: 1.5rem; padding: 0.25rem 0 ;float: left;}
.chat-input-layout .open-smile a { display: block; width: 1.5rem; height: 1.5rem; background-image: url(../images/smile_b.png); background-repeat: no-repeat; background-position: 50% 50%; background-size: 65%; opacity: 0.75;}
.chat-input-layout .input-box { position: absolute; z-index: 1; top: 0.24rem; right: 0.4rem; bottom: 0.24rem; left: 3rem; background: #F5F5F5; border: solid 0.05rem #EEE; border-radius: 0.2rem;}
.chat-input-layout .input-box input[type="text"] { background-color: transparent; border: none; width: 82%; height: 1.2rem; padding: 0.15rem 17% 0 1%; font-size: 0.6rem; line-height: 1.2rem;}
.chat-input-layout .input-box .submit { position: absolute; z-index: 1; top: 0; right:0; display: block; width: 1.8rem; height: 1.4rem; background-color: #4B89DC; background-image: url(../images/enter_w.png); background-repeat: no-repeat; background-position: 50% 50%; background-size: 55%; border: none; border-radius: 0.15rem;}
/*bycj*/
.chat-input-layout .open-upload { display: block; width: 1.5rem; height: 1.5rem; padding: 0.25rem 0;float: left;}
.chat-input-layout .open-upload a { display: block; width: 1.5rem; height: 1.5rem; background-image: url(../images/upload_blue.png); background-repeat: no-repeat; background-position: 50% 50%; background-size: 65%; opacity: 0.75;}
.chat-input-layout .open-upload input[type="file"]{ width: 1.5rem; height: 1.5rem; background-color: transparent; opacity: 0}
.chat-input-layout .input-box .submit.ban{ background-color: #ccc;}
.chat-smile-layout { display: block; width: 100%; height: 4.2rem; background-color: #FAFAFA; border-top: solid 0.05rem #DDD;}
.chat-smile-layout ul { font-size: 0;}
.chat-smile-layout ul li { display: inline-block; width: 12.5%; height: 1rem; padding: 0.3rem 0 0 0; text-align: center;  vertical-align: middle;}
.chat-smile-layout ul li img { display: inline-block; height: 100%; vertical-align: middle;}
/*Copyright: www.bizpower.com*/
/*bycj*/

.nctouch-chat-con dl dd {
	display: block;
	max-width: 12rem;
	padding: 0.4rem 0.6rem;
	border-radius: 0.4rem;
	min-height: 0.9rem;
	font-size: 0.6rem;
	line-height: 0.9rem;
	color: #232326;
	word-wrap: break-word;
}
.msg-goods-url img{
	float:left;
}
.msg-goods-url .msg-goods-url-goods-name{
	display: inline-block;
	max-width: 8rem;
	max-height: 1.6rem;
	overflow:hidden;
	text-overflow:ellipsis;
	-o-text-overflow:ellipsis;
	white-space:nowrap;

}
.msg-goods-url .msg-goods-url-price{
	display: block;
	color: red;
}

/*系统消息列表*/
.system-list{ background: #fff; margin-bottom: 0.4rem; }
.system-list .system-item{position: relative; border-bottom: 0.05rem solid #eee;margin-left: 0.4rem; padding:0.4rem 0.4rem 0.4rem 0;}
.system-list .system-item .system-img{position: absolute; top:0.4rem; left: 0}
.system-list .system-item .system-img i{display: block; width: 2rem; height: 2rem; }
.system-list .system-item .system-img sup{position: absolute; top:0; left: 1.55rem; background:#f23030; color: #fff;display: block; width: 0.7rem; height: 0.7rem; font-size: 0.48rem; text-align: center; line-height: 0.7rem; border-radius: 100%}
.system-list .system-item .system-img sup sub{font-size: 0.4rem}
.system-list .system-item .system-img sup.big-sup{width: 0.9rem; border-radius: 10rem; left: 1.5rem}
.system-list .system-item .system-img i.ico-1001{background: url(../images/trade.png) no-repeat; background-size: cover; background-position: 50% 50%}
.system-list .system-item .system-img i.ico-1002{background: url(../images/return.png) no-repeat; background-size: cover; background-position: 50% 50%}
.system-list .system-item .system-img i.ico-1003{background: url(../images/logistics.png) no-repeat; background-size: cover; background-position: 50% 50%}
.system-list .system-item .system-img i.ico-1004{background: url(../images/assets.png) no-repeat; background-size: cover; background-position: 50% 50%}
.system-list .system-item .system-img i.ico-1005{background: url(../images/extension.png) no-repeat; background-size: cover; background-position: 50% 50%}
.system-list .system-item .system-content{display: block; margin-left: 2.7rem;}
.system-list .system-item .system-content .system-theme{overflow: hidden; height: 0.8rem; line-height: 0.8rem; margin:0.1rem 0 0.3rem 0;}
.system-list .system-item .system-content .system-theme span{display: block; float: left; max-width: 65%; height: 0.8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; word-break: break-all; word-wrap: break-word; font-size: 0.56rem; color: #212121}
.system-list .system-item .system-content .system-theme time{ color: #999; font-size: 0.52rem; display:block; width: 35%; height: 0.8rem; float: right; text-align: right; }
.system-list .system-item .system-content p{ display: block; width: 100%; height: 0.8rem; font-size: 0.52rem; color: #999; overflow: hidden;text-overflow: ellipsis; white-space: nowrap; word-break: break-all; word-wrap: break-word; }

/*系统消息*/
.system-container{position: absolute; top:2rem;left: 0;right:0; bottom: 0; padding:0 0.8rem;}
.sys-info-content{overflow: hidden;}
.sys-info-content .sys-items{ display: block; width: 100%; padding:0.4rem 0 0; margin-bottom: 0.3rem}
.sys-info-content .sys-items .sys-times{display: block; width: 100%; height: 0.8rem; font-size: 0.52rem; color: #999;line-height: 0.8rem; text-align: center; padding:0.2rem 0 0;}
.sys-info-content .sys-items .sys-content{display: block; width: 100%; height: auto; box-sizing: border-box; border:0.05rem solid #ccc; background:#fff; border-radius: 0.2rem;margin:0.3rem 0 0;}
.sys-info-content .sys-items .sys-content p{font-size: 0.52rem; color: #666;line-height: 0.8rem;padding:0.4rem; word-break: break-all; word-wrap: break-word; }








