@import "reset.css";
.mask{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color:rgba(0,0,0,0.4);
    z-index:10;
}
.im {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 520px;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    border: 1px solid #D9D9D9;
    z-index: 10;
}

.chat-list {
	position: absolute;
	top: 0;
	left: 0;
	width: 200px;
	height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
	background: #D9D9D9;
}

.chat-list li {
	position: relative;
	margin: 5px;
	padding: 5px 30px 5px 5px;
	line-height: 40px;
	height: 40px;
	cursor: pointer;
	border-radius: 3px;
}
.chat-list li:hover{
	background: #E2E2E2;
}
.chat-list li.active {
	background: #F3F3F3;
}

.chat-list img {
	width: 40px;
	height: 40px;
	border-radius: 100%;
}

.chat-list span {
	display: inline-block;
	width: 100px;
	padding-left: 10px;
	font-size: 14px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.chat-list li:hover .close{
	position: absolute;
	top: 14px;
	right: 5px;
	width: 22px;
	height: 22px;
	background: url(../image/new/list-close.png) center no-repeat;
	background-size: 18px;
}
.chat-list li .count{
	position: absolute;
	top: 19px;
	right: 5px;
	min-width: 12px;
	height: 12px;
	line-height: 12px;
	text-align: center;
	font-size: 12px;
	color: #fff;
	padding: 1px;
	font-style: normal;
	border-radius: 11px;
	background: #F22C40;
}
.chat-content {
	margin-left: 200px;
    background:#fff;
}

.chat-title {
	position: relative;
	height: 42px;
	line-height: 42px;
	font-size: 18px;
	color: #444;
	padding-left: 15px;
	background: #E2E2E2;
}

.chat-title .close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 16px;
	height: 16px;
	background: url(../image/new/icon_im_close.png) center no-repeat;
	background-size: 13px;
	cursor: pointer;
}
    .chat-title .s-min{
        position:absolute;
        top: 12px;
        right: 40px;
        width: 16px;
        height: 16px;
        background:url(../image/new/icon_min.png) center no-repeat;
        background-size: 12px 2px;
        cursor:pointer;
    }

    .chat-main {
        height: 300px;
        padding: 15px 15px 5px;
        overflow-x: hidden;
        overflow-y: auto;
    }

.chat-main li {
	position: relative;
	font-size: 0;
	margin-bottom: 10px;
	padding-left: 60px;
	min-height: 68px;
}

.chat-main .user {
	position: absolute;
	left: 3px;
}
.chat-main .mine{
	    text-align: right;
    padding-left: 0;
    padding-right: 60px;
}
.chat-main .mine .user {
	left: auto;
	right: 3px;
}

.chat-main .user img {
	width: 40px;
	height: 40px;
	border-radius: 100%;
}

.chat-main cite {
	position: absolute;
	left: 60px;
	top: -2px;
	width: 500px;
	line-height: 24px;
	font-size: 12px;
	white-space: nowrap;
	color: #999;
	text-align: left;
	font-style: normal;
}

.chat-main .mine cite {
	left: auto;
	right: 60px;
	text-align: right;
}
    .chat-main .user cite .name{
        font-style:normal;
    }
    .chat-main .user cite .time {
        padding-left: 15px;
        font-style: normal;
    }

.chat-main .mine .user cite .time {
	padding-left: 0;
	padding-right: 15px;
}
    .chat-main .mine .user cite .name{
        float:right;
    }

    .chat-main .text {
        position: relative;
        line-height: 22px;
        margin-top: 25px;
        padding: 8px 15px;
        background-color: #e2e2e2;
        border-radius: 3px;
        color: #333;
        word-break: break-all;
        margin-right: 220px;
    }

.chat-main .text:after {
	content: '';
	position: absolute;
	left: -10px;
	top: 13px;
	width: 0;
	height: 0;
	border-style: solid dashed dashed;
	border-color: #e2e2e2 transparent transparent;
	overflow: hidden;
	border-width: 10px;
}

.chat-main .mine .text {
	margin-left: 0;
	text-align: left;
	background-color: #13BA81;
	color: #fff;
	margin-left: 220px;
	margin-right: 0;
}
    .chat-main .mine .text.p{
        border: 1px solid #ccc;
        background-color: #fff;
    }
        .chat-main .mine .text.p:after {
            top:3px;
            right: -9px;
            border-top-color:transparent;
            background: url(../image/new/icon-im-a.png) left top no-repeat;
        }
        .chat-main .text img {
            display: block;
            margin: 0 -5px;
            max-width: 80px;
            max-height: 80px;
            cursor: pointer;
        }

.chat-main .text .r-product img{
	float: left;
	margin: 0;
    width:60px;
    height:60px;
}
.chat-main .text .r-product .p-info{
	margin-left: 70px;
}
.chat-main .text .r-product .p-name{
	height: 40px;
	line-height: 20px;
	color: #444;
	font-weight: bold;
}
.chat-main .text .r-product .p-price{
	color: #ff5959;
}
.chat-main .mine .text:after {
	left: auto;
	right: -10px;
	border-top-color: #13BA81;
}

.chat-main .user,
.chat-main .text {
	display: inline-block;
	*display: inline;
	*zoom: 1;
	vertical-align: top;
	font-size: 14px;
}
.chat-footer{
	border-top: 1px solid #F1F1F1;
}
.chat-tools{
	padding-left: 15px;
	height: 38px;
}
.chat-tools span{
	display: inline-block;
	cursor: pointer;
}
.chat-tools .image{
	width: 26px;
	height: 38px;
	background: url(../image/new/icon_pic.png) center no-repeat;
}
    .chat-tools input{
        opacity:0;
    }
    .chat-textarea {
        margin-left: 10px;
    }
.chat-textarea textarea{
	display: block;
    width: 100%;
    padding: 5px 0 0;
    height: 68px;
    line-height: 20px;
    border: none;
    overflow: auto;
    resize: none;
    background: 0 0;
	outline: none;
}
.chat-bottom{
	    position: relative;
    height: 46px;
}
.chat-send{
	position: absolute;
    right: 15px;
    top: 3px;
    height: 32px;
    line-height: 32px;
    font-size: 0;
    cursor: pointer;
}
.chat-send span{
	display: inline-block;
    *display: inline;
    *zoom: 1;
    vertical-align: top;
    font-size: 14px;
    line-height: 32px;
    margin-left: 5px;
    padding: 0 20px;
    background-color: #13BA81;
    color: #fff;
    border-radius: 3px;
}
.chat-send .send-close{
	color: #444;
	background-color: #F4F4F4;
}
.prevImg{
	position: fixed;
	top: 50%;
	left: 50%;
	width: 680px;
	height: 680px;
	background: rgba(0,0,0,0.6);
	transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
    z-index:20;
}
.prevImg img{
	position: absolute;
	top: 50%;
	left: 50%;
	max-width: 100%;
	max-height: 100%;
	transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
}
.prevImg .close{
	position: absolute;
	top: 0;
	right: 0;
	width: 40px;
	height: 40px;
	cursor: pointer;
	background: #000 url(../image/new/img_close.png) center no-repeat;
}
.prevImg .close:hover{
	background: #f00 url(../image/new/img_close.png) center no-repeat;
}
*.no, input.no {
    display: none;
}
.product-wrap {
    padding: 0 108px;
}

    .product-wrap .product {
        position: relative;
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
        border-radius: 10px;
        margin-bottom: 10px;
        border:1px solid #ccc;
    }

    .product-wrap .product .p-img {
        float: left;
        width: 75px;
        height: 75px;
        padding:0;
        border-radius: 5px;
        overflow: hidden;
    }

        .product-wrap .product .p-img img {
            width: 100%;
            height: 100%;
        }

    .product-wrap .product .p-info {
        width: 100%;
        height: 75px;
        padding-left: 90px;
        box-sizing: border-box;
    }

        .product-wrap .product .p-info .p-name {
            height:40px;
            line-height:20px;
            font-size: 14px;
            margin-bottom:8px;
            overflow:hidden;

        }

        .product-wrap .product .p-info .p-price {
            font-size: 10px;
            color: #ff5959;
        }

            .product-wrap .product .p-info .p-price .num {
                font-size: 16px;
            }

    .product-wrap .product .btn-send {
        position: absolute;
        bottom: 15px;
        right: 15px;
        height: 14px;
        line-height: 14px;
        color: #fff;
        padding: 2px 6px;
        font-size: 12px;
        border-radius: 14px;
        background: #ff5959;
        cursor:pointer;
    }
.btn-im {
    width: 72px;
    font-size: 14px;
    line-height: 26px;
    color: #fff;
    text-align: center;
    background: #E9394E;
    cursor: pointer;
}

body .signal-class .layui-layer-content {
    position: relative;
    display: block;
    width: 300px;
    min-height: 60px;
    border: 10px solid #F8F8F8;
    border-top-width: 10px;
    padding: 10px;
    line-height: 20px;
    overflow: auto;
    background-color: #3F3F3F;
    color: #eee;
    font-size: 16px;
    font-family: Courier New;
    overflow: auto;
}
.chat-main .IMmore {
    font-size: 12px;
    line-height: 36px;
    color: #6ac3ea;
    text-align:center;
    cursor:pointer;
}
    .chat-main .more:hover {
        text-decoration: underline;
    }
    .min{
        position:fixed;
        bottom:0;
        right:0;
        width:180px;
        height: 50px;
        line-height:50px;
        overflow:hidden;
        padding: 0 8px;
        background:#f4f4f4 url(../image/new/icon_avartar.png) 8px center no-repeat;
        background-size:30px;
        cursor:pointer;
        z-index:10;
    }
        .min .name {
            display:block;
            padding-left: 40px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            font-size:18px;
        }
.service-feedback {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 400px;
    padding: 0 15px 15px;
    z-index:10;
    border:1px solid #ddd;
    transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    background:#fff;
}
    .service-feedback .ctn{
        padding-top:10px;
    }
    .service-feedback .title {
        line-height: 32px;
        font-size: 16px;
        font-weight: bold;
        color: #666;
        background: #f7f7f7;
        margin: 0 -15px;
        padding-left: 15px;
    }
    .service-feedback .type, .service-feedback .remark{
        position:relative;
    }
        .service-feedback .type{
            margin-bottom:15px;
        }
        .service-feedback label {
            position: absolute;
            top: 0;
            left: 0;
        }
    .service-feedback .type label {
        font-size: 14px;
        line-height: 34px;
    }
    .service-feedback .r-ctn {
        padding-left: 60px;
    }
    .service-feedback .btn-type {
        display: inline-block;
        width: 80px;
        height: 32px;
        line-height: 32px;
        border: 1px solid #13BA81;
        font-size: 14px;
        text-align: center;
        color: #13BA81;
        border-radius: 6px;
        cursor:pointer;
        margin-right:15px;
        margin-bottom:10px;
    }
        .service-feedback .btn-type.active {
            color:#fff;
            background: #13BA81;
        }
    .service-feedback textarea {
        width: 100%;
        height: 80px;
        padding: 8px;
        outline: none;
        resize: none;
        color:#666;
        border: 1px solid #13BA81;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        margin-bottom: 28px;
    }
    .service-feedback .service-btn{
        padding-left:30px;
        overflow:hidden;
    }
    .service-feedback .s-btn {
        float: left;
        width: 160px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        color: #fff;
        cursor: pointer;
    }
    .service-feedback .btn-cancel {
        color: #444;
        background-color: #ddd;
    }
    .service-feedback .btn-confirm {
        background: #13BA81;
        margin-left:20px;
    }