
html { min-height: 100%; }

body {
  margin: 0;
  min-height: inherit;
}
 [im-sidebar] {
 display: none;
 position: fixed;
 height: 100%;
 width: 370px;
 z-index: 502;
 right: 0;
 background-color: #fff;
 border: 1px solid #ccc;
 box-shadow: 0 3px 25px rgba(0,0,0,0.3);
 z-index: 502;
}
 [im-sidebar-overlay] {
 display: none;
 position: fixed;
 top: 0;
 left: 0;
 opacity: 0;
 width: 2px;
 height: 2px;
 min-height: inherit;
}
 [im-sidebar]  a {
 text-decoration:none;
}


.im-wrapper {
	height: 100%;
	background: #f6f6f6;
}

.im-header {
	background-color: #00a499;
	height: 65px;
	width: 100%;
	border-bottom: 2px solid #f2c301;
}

.im-listing-header {
	background-color: #00a499;
	height: 65px;
	width: 100%;
	border-bottom: 2px solid #f2c301;
}

.im-header-icon-menu {
	position: relative;
	width: 40px;
	height: 100%;
	float: left;
	background-image: url("/images/icon_menu.png");
	background-repeat: no-repeat;
	background-position: 50% 50%;
}

.im-header-icon-close {
	position: relative;
	width: 40px;
	height: 100%;
	float: right;
	background-image: url("/images/icon_close.png");
	background-size: 60%;
	background-repeat: no-repeat;
	background-position: 50% 50%;
}

.im-header-icon-info {
	position: relative;
	width: 40px;
	height: 100%;
	float: right;
	background-image: url("/images/icon_more.png");
	background-repeat: no-repeat;
	background-position: 50% 50%;
}

.im-header-title {
    position: absolute;
    color: #fff;
    padding: 10px;
    display: block;
    text-align: center;
    width: 100%;
	margin-top: 2px;
}

.im-header-title-listing {
    position: absolute;
    font-size: 15px;
    display: block;
    text-align: center;
    width: 100%;
	line-height: 45px;
	margin-top: 0px;
}

.im-header-title-merchant {
    position: relative;
    font-size: 15px;
    display: block;
    text-align: center;
    width: 100%;
	overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.im-header-title-status {
    position: relative;
    font-size: 12px;
    padding: 3px;
    display: block;
    text-align: center;
    width: 100%;
}

.im-pd {
	width: 100%;
    padding: 10px;
    background: #fff;
    border-bottom: 1px solid #ebebeb;
	height: 125px;
}

.im-pd-icon {
	width: 100px;
    height: 100px;
    float: left;
    margin-right: 10px;
	position: relative;
}

.im-pd-img {
	border: 1px solid #ababab;
    float: left;
    margin-right: 10px;
	position: absolute;
}

.im-pd-referralled {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 5px;
}

.im-pd-title a{
	font-size: 18px;
    font-weight: bold;
    color: #000;
    padding: 2px 0 0 0;
}

.im-pd-title a:hover {
	color: #00a499;
	text-decoration: underline;
}

.im-pd p {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.im-pd-describ {
	margin-bottom: 5px !important;
	font-size: 13px !important;
}

.im-pd-price {
    color: #e02152;
    font-size: 16px;
    font-weight: bold;
}

.im-pd-price .product-prop img {
    padding-left: 5px;
    margin-top: -4px;
}

.im-popup-price-2 {
    color: #5F5F5F;
    font-size: 12px;
    font-weight: normal;
    margin-left: 10px;
	overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
	line-height: 13px;
}

.im-chat-container {
    padding: 10px 15px 10px 15px;
    margin: 0 auto;
    background: #f6f6f6;
    overflow-y: scroll;
    width: 100%;
    position: absolute;
    top: 135px;
    bottom: 85px;
    right: 0;
    max-height: 100%;
}

.im-list-container {
    margin: 0 auto;
    background: #fff;
    overflow-y: scroll;
    width: 100%;
    position: absolute;
    top: 110px;
    bottom: 0;
	
}

.im-datestamp {
    display: block;
    text-align: center;
    font-weight: bold;
    margin-bottom: 8px;
    color: #8b91a0;
    text-shadow: 1px 1px 0 rgba(255,255,255,0.6);
	font-size: 11px;
}

.im-bubble {
    box-sizing: border-box;
    float: left;
    width: auto;
    max-width: 80%;
    position: relative;
    clear: both;
    border-radius: 5px;
    margin-bottom: 26px;
    padding: 6px 10px;
    color: #000;
    word-wrap: break-word;
    background: #fff;
    font-size:15px;
    -webkit-box-shadow: 1px 1px 1px 0px rgba(232,232,232,1);
    -moz-box-shadow: 1px 1px 1px 0px rgba(232,232,232,1);
    box-shadow: 1px 1px 1px 0px rgba(232,232,232,1);
}

.im-bubble p{margin:0;}

.im-bubble:before {
	content: '';
    position: absolute;
    bottom: 3px;
    width: 12px;
    height: 19px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: contain;
	background-image: url('/images/im-in.png');
    top: 0px;
    left: -7px;
}

.im-bubble-time {
    font-size: 12px;
    position: absolute;
    bottom: -22px;
    left: 10px;
    color: #7C7C7C;
    min-width: 95px;
    
}

.im-bubble-alt {
    background: #ECECEC;
    -webkit-box-shadow: 1px 1px 1px 0px rgba(220,220,220,1);
    -moz-box-shadow: 1px 1px 1px 0px rgba(220,220,220,1);
    box-shadow: 1px 1px 1px 0px rgba(220,220,220,1);
	float: right;
}

.im-bubble-alt:before {
    background-image: url('/images/im-out.png');
	top: 0px;
    left: inherit;
    right: -7px;
}

.im-bubble-alt-time {
    font-size: 12px;
    position: absolute;
    bottom: -22px;
    right: 10px;
    color: #7C7C7C;
    min-width: 105px;
    text-align: right;
}

.im-input-wrapper {
    height: 85px;
    padding: 5px;
    display: block;
    background: #Ececec;
    width: 100%;
    position: fixed;
    bottom: 0;
    width: 370px;	/*max-width:760px; for msite*/
    transition:.2s;
}

.im-inputtext-container {
    width: 100%;
    padding-right: 110px;
    position: relative;
}

.im-inputtext {
    padding: 6px 35px 6px 5px;
    height: 34px;
    line-height: 34px;
    width: 99%;
    border: 1px solid #ccc;
}

.im-input-send {
    width: 65px;
    height: 34px;
    position: absolute;
    right: 0px;
    background: #00a499;
    border-radius: 4px;
    border: none;
    color: #fff;
}

.im-btn-buy {
    width: 100%;
    background: #00a499;
    border-radius: 4px;
    border: none;
    color: #fff;
    height: 34px;
    margin-top: 5px;
}

.im-input-send:hover, .im-btn-buy:hover {
	background: #116b65;
}

.im-listing-item, .im-list-trade-item {
    padding: 10px;
    border-bottom: 1px solid #ebebeb;
	overflow: auto;
}

.im-listing-item p {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size:15px;
}

.im-listing-pd-icon {
	width: 75px;
    height: 75px;
    float: left;
    margin-right: 10px;
	position: relative;
}

.im-listing-pd-img {
    float: left;
    border: 1px solid #ebebeb;
    margin-right: 10px;
	position: absolute;
}

.im-referralled {
	position: absolute;
	right: 0;
	bottom: 0;
	padding:5px;
	max-width: 60px;
}

.im-listing-pd-title {
    font-size: 15px;
    font-weight: bold;
    color: #000;
    margin: 5px 0 0 0 !important;
}

.im-listing-pd-merchant {
    font-size: 13px;
    color: #ababab;
    margin: 0 0 2px 0 !important;
    position: relative;
    padding: 0 55px 0 0;
}

.im-listing-pd-text {
    position: relative;
	color: #5F5F5F;	
}

.im-listing-time {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 12px;
    color: #ababab;
    font-weight: normal;
}

.im-listing-item:hover {
	background-color: #ececec;
}

.im-referral-price {
	height: 100%;
	width: 400px;
	position: absolute;
	top: 0;
}

.im-referral-overlay {
	background-color: rgba(0,0,0,0.3);
	width: 100%;
	height: 100%;
	position:absolute;
}

.im-referral-box {
	width: 300px;
	height: 200px;
	position: relative;
	margin: auto;
	display: block;
	background-color: #fff;
	margin-top: 50%;
	border-radius: 4px;
}

.im-referral-title {
	font-size: 18px;
	color: #5F5F5F;
	font-weight: bold;
	padding: 10px 20px;
}

.im-referral-pd-price {
	color: #e02152;
    font-size: 18px;
    font-weight: bold;
	padding: 0 10px;
}

.im-referral-price-option {
	padding: 10px;
	background-color: #eeeeee;
	margin: 0 20px 10px;
}

.im-referral-price-option:hover {
	background-color: #ececec;
}

.hong_20, .water_20 {
	padding: 0 5px;
}

.im-list-tab {
	width:100%;
	height: 45px;
	background: #fff;
}

.im-tab-all, .im-tab-enquiry, .im-tab-referral, .im-tab-trade{
	height: 45px;
	width: 50%;
	border-bottom: 1px solid #ebebeb;
	background-color: #fff;
    display: block;
    float: left;
	font-size: 15px;
	color: #5F5F5F;
	text-align: center;
    line-height: 45px;
}

.im-tab-all:hover, .im-tab-enquiry:hover, .im-tab-referral:hover, .im-tab-trade:hover {
	background-color: #ececec;
}

.im-tab-active {
	border-bottom: 3px solid #f2c301;
}

.im-input-referraled {
	height: 55px;
}

.im-chat-referraled {
	bottom: 54px;
}

.im-info-option {
    position: fixed;
    top: 50px;
    right: 40px;
    width: 130px;
    height: 100px;
}

.im-info-arrow {
	background-image: url("/images/info_box_arrow.png");
	float: right;
	clear:both;
	height: 10px;
    width: 20px;
    margin-right: 14px;
}

.im-info-box {
	margin-top: 9px;
	height: 86px;
	width: 130px;
	background-color: #fff;
	border: 1px solid rgba(0,0,0,.15);
	border-radius: 1px;
}

.im-info-port {
	margin: 5px;
    font-size: 15px;
	padding: 5px;
	color: #444444;
	text-align: center;
}

.im-info-port:hover {
	background: #ececec;
}

.im-info-line {
	height: 1px;
	width: 110px;
	background: #cccccc;
	margin: auto;
}

.im-tips{
	position:absolute;
	left:175px;
	height:75px;
	width:172px;
	background:#fff;
	top:40px;
	border-radius:10px;
	padding: 13px 10px 10px 21px;
	background:url('/images/im-tips-bg.png')
}

.im-tips p{
	font-size:12px;
	line-height:18px;
	color:#777777;
	margin:0;
	text-align:center;
}

.im-unread{
	position:absolute;
	right:0;
	top:2px;
	color:#fff;
	text-align:center;
	line-height:16px;
	background:#f13200;
	border-radius:10px;
	display:block;
	padding:0 4px;
	font-size:13px;
}

.im-delete {
	height: 100%;
	width: 400px;
	position: absolute;
	top: 0;
}

.im-delete-title {
	float:left;
	font-size: 24px;
	color: #666666;
	font-weight: bold;
	padding: 10px 20px;
}

.im-delete-text {
	margin: 0 auto;
	text-align: center;
 	font-size: 14px;
	color: #333;
	font-weight: bold;
	padding: 5px 20px;
	margin-bottom:5px;
}

.im-delete-firm {
		font-size: 18px;
    width: 180px;
    height: 34px;
    background: #00a499;
    border-radius: 4px;
    border: none;
    color: #fff;
    margin-right:5px;
}
.im-delete-header {
	width: 100%;
}

.im-delete-overlay {
	left:0px;
	top:0px;
	background-color: rgba(0,0,0,0.3);
	width: 100%;
	height: 100%;
	position:absolute;
}
.im-delete-box {
	width: 420px;
	height: 220px;
	position: fixed;
	margin: auto;
	display: block;
	background-color: #fff;
	margin-top: 50%;
	border-radius: 4px;
	text-align:center;
	z-index: 1200;
	
}
.im-delete-closebtn
{
	position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    background-image: url('/images/dialog-close.png');
    cursor: pointer;
    z-index: 1103;
    display: none;
    background-position: center;
    background-repeat: no-repeat;
}
.im-toggle-icon {
	width: 173px;
	height: 65px;
	position: fixed;
	right: -116px;
	top: 140px;
	cursor: pointer;
	z-index:501;
}
.im-toggle-unread {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #f35328;
    border-radius: 50% 50%;
    top: 19px;
    left: 36px;
    color: #fff;
    font-size: 10px;
    text-align: center;
    line-height: 17px;
	z-index: 99999;
}
.im-system-msg {
	position: relative;
	clear: both;
	border-top: 1px solid #8b91a0;
	border-bottom: 1px solid #8b91a0;
	margin: 20px 5px;
	padding: 8px 0;
	box-sizing: border-box;
    word-wrap: break-word;
}

.im-system-msg p{
	color: #8b91a0;
	font-size: 13px;
	text-align: center;
	margin: 0;
	font-weight: bold;
	line-height: 18px;
}

.im-merchant-online-time {
	color: #333;
	clear: both;
	font-size: 13px;
	font-weight: bold;
	text-align: center;
	display: block;
}

.im-send-img, .im-send-img-icon input[type="file"] {
	display: none;
}

.im-send-img-icon {
	width: 24px;
	height: 18px;
	position: absolute;
	top: 8px;
	right: 77px;
	cursor: pointer;
}

.im-send-img-icon-img {
	background: url("/images/icon_send_img_s.png") no-repeat;
	background-size:100%;
	width: 24px;
    height: 18px;
    position: absolute;
    cursor: pointer;
}

.im-inputtext-container {
    width: 100%;
    padding-right: 0;
    position: relative;
}

.im-inputtext {
    width: 291px;
}

.im-input-send {
    float: right;
}

.im-datestamp {
	font-size: 11px !important;
}

.im-image
{
		height: 150px;
    width: 150px;
    background-size: cover;
    background-position: center;
   }



.im-delete-title {
    float: left;
    font-size: 24px;
    color: #666666;
    padding: 10px 20px;
}

.hr {
	margin-bottom: 10px;
}

.im-delete-text {
    margin: 0 auto;
    text-align: center;
    font-size: 14px;
    color: #666666;
    /* font-weight: bold; */
    padding: 5px 20px;
    margin-bottom: 5px;
}

#inputemail {
    font-family: inherit;
    font-size: inherit;
    line-height: 30px;
    padding: 5px;
}


.im-delete-firm {
    font-size: 18px;
    width: 180px;
    height: 43px;
    margin: 10px;
}

.im-menu-icon-noti {
	width: 10px;
	height: 10px;
	background: #f35328;
	border-radius: 50%;
	position: absolute;
	top: 20px;
	left: 25px;
}



/*20160106*/
.im-empty-wrapper {
	width: 100%;
    vertical-align: middle;
    position: absolute;
    margin-top: 50%;
}

.im-empty {
	display: block;
	margin: auto;
	clear: both;
	margin-bottom: 10px;
	width: 84px;
	height: 126px;	
}

.im-empty-wrapper p{
	color: #CBCBCB;
	font-size: 15px;
	text-align: center;
}

/*20160108 kenny*/

.im-empty {
    width:auto;
	height:auto;
}

.im-empty-wrapper {
    margin-top: 14%;
}

.im-empty-wrapper p.im-empty-title{
	color:#212121;
	font-size:16px;
	margin-top: 16px;
}

.im-empty-wrapper p.im-empty-dsc{
	color: #b9b9b9;
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 0px;
}

/*20160114*/
 [im-sidebar] {
	 height: 490px;
	 bottom: 0;
 }
 
 .im-info-option {
	 bottom: 340px;
	 top: auto;
 }
 
 .im-system-msg {
    border-top: 1px solid #d1d1d1;
    border-bottom: 1px solid #d1d1d1;
 }
 
 .im-system-msg p {
    color: #8e8e93;
 }
  
 /*20160122*/
 .im-warning-icon {
	 width: 20px;
	 height: 20px;
	 float: left;
	 position: absolute;
	 left: -25px;
	 top: 7px;
 }
 
 /* 20160517 trade*/
.im-filter{
	width:100%;
	height:40px;
	background:#f6f6f6;
	text-align:center;
	font-size:14px;
	line-height:40px;
	position:relative;
}

.im-filter a{color:#00a499;}
.im-filter a:hover{opacity:0.8; color:#008a82;}
.im-filter-label img {vertical-align:middle; height:40px;}
.im-filter-label{
	z-index: 2;
    position: absolute;
    top: 0;
    width: 100%;
    background: #f6f6f6;
}

.im-filter-select{
	position:absolute;
	top:-150px;
	left:0;
	background:#f6f6f6;
	width: 78%;
	height:auto;
	z-index:1;
	transition:0.5s;
	padding-bottom: 5px;
    border-right: 1px solid #f5f5f5;
    border-bottom: 1px solid #ccc;
    box-shadow: 2px 1px 2px 0 rgba(0,0,0,0.1);
}
.im-filter-select.full{
	top:-120px;
	width:100%;
}

.im-filter-select .im-filter-option.for_ref:nth-child(3), .im-filter-select .im-filter-option.for_trade:last-child {
    border-bottom: 0;
}

.im-filter-select-active{top:40px !important; transition:0.5s !important;}

.im-filter-option{
	height: 40px;
    line-height: 40px;
    font-size: 14px;
    color: #00a499;
    border-bottom: 1px solid #ddd;
    margin: 0 10px;
}

.im-filter-option:hover{background:#ddd; cursor:pointer;}

.im-list-trade-item{position:relative;}

.im-list-trade-pd{
    width: 75px;
    height: 75px;
    margin-right: 10px;
	position:absolute;
}

.im-list-trade-pd img{
	border: 1px solid #ebebeb;
	height:75px;
	width:75px;
}

.im-list-trade-user{
	float: left;
    height: 45px;
    width: 100%;
    padding-left: 85px;
    position: relative;
}

.im-list-trade-pic{
	height: 43px;
    width: 43px;
    border-radius: 40px;
    overflow: hidden;
    border: 2px solid #fff;
    position: absolute;
    top: 50px;
    left: 50px;
	margin-right: 5px;
}

.im-list-trade-pic img{
	width:43px;
	height:43px;
}

.im-list-trade-username, .im-list-trade-offer{
	overflow: hidden;
    text-overflow: ellipsis;
    height: 22px;
	line-height:24px;
	font-size:13px;
	color:#000;
    white-space: nowrap;
    margin: 0;
}
.im-list-trade-username{font-weight:bold;}

.im-list-trade-username{padding-right:65px;}
.im-list-trade-offer{color:#000;}
.im-list-trade-offer-price{color:#00a499; font-size:15px;}
/*.im-list-trade-offer-price:before{
	content:"HK$";
	font-size:11px;
	margin-right:2px;
}*/

.im-list-trade-text{
	float: left;
    height: 30px;
    line-height: 30px;
    width: 100%;
    padding-left: 85px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
	color:#5F5F5F;
	position:relative;
	margin-right: 5px;
}

.im-list-trade-item:hover{opacity:0.8;}

.im-list-trade-offer-label-sold,
.im-list-trade-offer-label-expired,
.im-list-trade-offer-label-deleted{
	background:#8e8e93;
	padding:1px 2px;
	margin-right:5px;
	color:#fff !important;
	font-size:12px;
}
.im-list-trade-offer-none{color:#ababab !important;}
.im-list-trade-offer-label-succeed{
	color:#5c5c5c !important;
	background:#ffc821;
	padding:1px 2px;
	margin-right:5px;
	font-size:12px;
}

.im-trade-pd-price{color:#00a499; font-size:16px; line-height:20px !important;}


.im-input-send-trade {
    width: 65px;
    height: 34px;
    position: absolute;
    right: 0px;
    background: #ffc821;
    border-radius: 4px;
    border: none;
    color: #555555;
}

.im-input-send-trade:hover{background:#f1c400;}
.im-input-send-trade:focus{outline:none;}

.im-trade-btn{
	width: 100%;
	background: #ffc821;
	border-radius: 4px;
	border: none;
	color: #555555;
	height: 34px;
	margin-top: 5px;
}

.im-trade-btn:hover{background:#f1c400;}
.im-trade-btn:focus{outline:none;}
.im-trade-btn-50{width:calc(50% - 5px);}
.im-trade-btn-50:last-of-type{margin-left:5px;}
.im-trade-btn-outline{
	background:none;
	border:1px solid #ffc821;
}

.im-trade-btn-outline:hover{
	background:rgba(255,255,255,0.3);
}

.im-trade-input-offer-label{
	width:40px;
	float:left;
	line-height: 34px;
    color: #555;
    text-align: center;
}
.im-trade-input-offer {
	float:left;
    padding: 6px 12px;
    height: 34px;
    line-height: 34px;
	width:calc(100% - 40px);
}

.im-trade-system-offer{
	clear:both;
	padding:10px 10px 10px 80px;
	border-radius:5px;
	box-shadow: 0px 1px 1px 0px rgba(220,220,220,1);
	margin-bottom:30px;
	position:relative;
	min-height:60px;
	word-break: break-all;
	font-size:15px;
}

.im-trade-system-offer .im-trade-offer-price{color:#00a499; font-size:16px;}
.im-trade-system-offer .im-trade-offer-price:before{
	content:"HK$";
	font-size:12px;
	margin-right:2px;
}

.im-trade-system-offer-buyer{background:url(/images/trade-offer-buyer.png) no-repeat #fff 15px 10px;    background-size: 50px 40px;}
.im-trade-system-offer-seller{background:url(/images/trade-offer-seller.png) no-repeat #fff 15px 10px;    background-size: 50px 40px;}
.im-trade-system-offer-buyer-fail{background:url(/images/trade-offer-buyer-fail.png) no-repeat #fff 15px 10px;    background-size: 50px 40px;}
.im-trade-system-offer-seller-fail{background:url(/images/trade-offer-seller-fail.png) no-repeat #fff 15px 10px;    background-size: 50px 40px;}
.im-trade-system-alert{background:url(/images/trade-system-alert.png) no-repeat #fff 15px 10px;    background-size: 50px 40px;}

.im-trade-system-offer p{
	line-height:20px;
	margin:0;
}

.im-trade-system-offer-time{
	position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    text-align: center;
	color: #7C7C7C;
	font-size:11px;
}

.im-input-hide{
	transition:.5s;
	bottom:-95px;
}

.im-trade-disable{
	width: 100%;
    border: none;
    color: #555555;
    height: 34px;
    margin-top: 10px;
	line-height:34px;
	text-align:center;
}

.im-input-chatonly {
    height: 45px;
}

.im-input-buttononly {
    height: 45px;
    padding-top: 0;
}

.im-chat-container-chatonly{ bottom:43px;}

.im-pd-icon-trade-status{
	background: rgba(142,142,147,0.8);
    color: #fff;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    z-index: 1;
    position: absolute;
    width: 100%;
    bottom: 0;
}

  /*20160428*/
.im-pd-icon{width: 50px;height: 50px;}
.im-referralled{padding:0; opacity:0.8}
.im-pd{height:70px;}
.im-datestamp{ color:#8e8e93; font-size:12px !important;}
.im-datestamp span{margin:0 5px;}

.im-system-msg{margin:15px 5px;}

.im-alert-msg{
	clear:both;
	background:#ffdd87;
	margin: 15px 5px;
	padding: 8px 0;
	box-sizing: border-box;
    word-wrap: break-word;
}

.im-alert-msg p{
	margin:0;
	text-align:center;
	color:#8a6d3b;
	font-size:13px;
}

.product-prop img {
    padding-left: 5px;
    margin-top: -4px;
}

.im-bubble-alt-time{font-size:11px;}
.im-pd-price{font-weight:normal;}

.im-pd p{line-height:26px;}

/*20160505*/

.im-chat-container{transition:2s;}

.im-quote-msg{
	width: 100%;
    height: 30px;
    line-height: 30px;
    background: #d4d4d4;
    text-align: center;
	position:absolute;
	top:105px;
	z-index: -1;
	transition:2s;
}

.im-quote-msg img{
	width:20px;
	height:20px;
	vertical-align:text-bottom;
	margin-right:5px;
}

.im-quote-msg-yes .im-quote-msg{top:125px; transition:2s;}
.im-quote-msg-yes .im-chat-container{top:155px; transition:2s;}

/*20160518 avg reply time*/
.im-avg-reply{margin:5px 0 0 0;}
.im-avg-reply img{margin-right:5px;    vertical-align: middle;}
.im-avg-reply span{color:#00a499;}

/*20160524 style update*/
.im-quote-msg{font-size:13px;}
.im-bubble-alt-time{right:0px;}
.im-bubble-time{left:0px;}
.im-system-msg p{font-size:12px; font-weight:normal;}
.im-quote-msg img {width: 16px;height: 16px;}

.im-inputtext-container-trade{ padding-left:38px; position:relative;}
.im-inputtext-container-trade .im-inputtext{width:253px;}
.im-trade-msg-trigger{
	border:1px solid #ccc;
	position:absolute;
	width:34px;
	height:34px;
	left:0;
	cursor:pointer;
	background:url(/images/trade-msg-trigger.png) center no-repeat;
	background-size:15px;
}

.im-trade-msg-trigger:hover{background:url(/images/trade-msg-trigger-hover.png) center no-repeat #ccc;background-size:15px;}
.im-trade-msg-trigger-on{background:url(/images/trade-msg-trigger-alt.png) center no-repeat #ccc; background-size:15px;}
.im-trade-msg-trigger-on:hover{background:url(/images/trade-msg-trigger-alt.png) center no-repeat #ccc; background-size:15px;}

.im-trade-msg-container{
	position:absolute;
	bottom:40px;
	left:0;
}

.im-trade-msg-container p{margin: 10px 0;}

.im-trade-msg-container span{
	border: 1px solid #ccc;
    border-radius: 15px;
    background: #fff;
    font-size: 13px;
    padding: 5px 10px;
    cursor: pointer;
}

.im-trade-msg-container span:hover{background:#f6f6f6;}

p.im-trade-system-offer-tips{
	font-size: 13px;
    margin-left: -70px;
    margin-top: 10px;
    border-top: 1px solid #ececec;
    padding-top: 10px;
}

/*20160614 rate*/
.im-header-title-rate{font-size: 18px;line-height: 45px;}
.im-pd-title{font-size:18px; font-weight:bold;}
.im-trade-rate-container{padding:0 10px; }
.im-trade-rating-wrapper{display:table; margin: 0px auto 15px;}
.im-trade-rate-container p{margin:10px 0; font-size:15px;}
.im-trade-rating{
    float: left;
    line-height: 25px;
    font-size: 16px;
	background-size:25px 25px;
	margin-right:10px;
	padding:5px 10px;
	border-radius:4px;
	position:relative;
}
.im-trade-rating:hover{
	background-color:#e7e7e7;
	cursor:pointer;
}

.im-trade-rate-container img {width:25px; height:25px; vertical-align:bottom; margin-right:2px;}



.im-trade-rating-arrow:after{
	content: "";
    position: absolute;
    bottom: -16px;
    left: 25px;
    background: url(/images/trade-rating-arrow.png);
    background-size: contain;
    height: 13px;
    width: 25px;
}

.im-trade-rate-comment{
	width: 100%;
    border: none;
    height: 100px;
    border-radius: 4px;
	padding:10px;
	resize:vertical;
	border: 1px solid #ddd;
}
.im-trade-rate-comment:focus{ outline:none;}

/*20160628 offer msg UI changes*/

.im-bubble-alt{background-color:#cde7e5;}

.im-trade-system-offer-buyer{background: url(/images/trade-offer-buyer.png) no-repeat #fff 10px 6px;}
.im-trade-system-offer-seller {background: url(/images/trade-offer-seller.png) no-repeat #fff 10px 6px;}
.im-trade-system-offer-buyer-fail {background: url(/images/trade-offer-buyer-fail.png) no-repeat #fff 10px 6px;}
.im-trade-system-offer-seller-fail {background: url(/images/trade-offer-seller-fail.png) no-repeat #fff 10px 6px;}

.im-trade-system-offer-buyer, .im-trade-system-offer-seller, .im-trade-system-offer-buyer-fail, .im-trade-system-offer-seller-fail{
    background-size: 30px 30px;
    padding: 10px 15px 10px 45px;
    font-size: 16px;
}

.im-trade-system-offer-seller.im-bubble-alt, .im-trade-system-offer-buyer.im-bubble-alt, .im-trade-system-offer-buyer-fail.im-bubble-alt, .im-trade-system-offer-seller-fail.im-bubble-alt{background-color:#cde7e5; color:#000;}

.im-trade-system-offer-buyer span:before, .im-trade-system-offer-seller span:before, .im-trade-system-offer-buyer-fail span:before, .im-trade-system-offer-seller-fail span:before{
	content:"HK$";
	font-size:13px;
	margin-left:2px;
}

.im-trade-tips{
	position: relative;
    clear: both;
	box-sizing: border-box;
    word-wrap: break-word;
	background:#fff;
	border-radius:5px;
	padding: 10px;
    text-align: center;
    margin: 0 0 15px 0;
}

.im-trade-tips p{margin:0; color:#8e8e93; font-size:12px;}

/*20160629 rate msg*/
.trade-rate-msg{
	width: auto;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
}

.trade-rate-msg p{
    border: 1px solid #ccc;
    border-radius: 15px;
    background: #fff;
    font-size: 13px;
    padding: 2px 8px;
    cursor: pointer;
    margin: 0 5px;
    display: inline-block;
}
.trade-rate-msg p:hover{background: #f6f6f6;}

.im-trade-rating-arrow:after{z-index:1;}

/*20160630*/
#moreroom{
	font-size: 15px;
    line-height: 30px;
    padding: 0 30px;
    background: #fff;
    color: #00a499;
    border-radius: 20px;
    border: 1px solid #00a499;
    margin: 20px 0;
}
#moreroom:hover{opacity:0.8;}

/*20160705*/
.im-header-title-listing{width:calc(100% - 20px); padding: 0 30px; white-space: nowrap; overflow:hidden; text-overflow:ellipsis;}
.im-list-trade-container{top:64px;}
.im-list-trade-container .im-list-trade-pic{
	height:75px;
	width:75px;
	border-radius: 75px;
    overflow: hidden;
    border: 2px solid #fff;
	top:10px;
	left:10px;
}
.im-list-trade-container .im-list-trade-pic img{width:75px; height:75px;}
.im-list-trade-offer-label-succeed{padding: 2px 4px;}
.im-list-trade-offer-label-decline{
	color: #fff ;
    background: #f13200;
    padding: 2px 4px;
    margin-right: 5px;
    font-size: 12px;
}

.im-tab-notification{
	background:#F13200;
	height:10px;
	width:10px;
	display:inline-block;
	margin-left:2px;
	border-radius:10px;
}

/*20160719*/
.im-trade-btn-sold{
	width: 100%;
	background: #8e8e93;
    border-radius: 4px;
    border: none;
    color: #fff;
    height: 34px;
	line-height:34px;
    margin-top: 5px;
	text-align:center;
}
/*20160719 resend image button*/
.im-resend-btn {
    display: block;
    background-color: rgba(0,0,0,0.4);
    width: 125px;
    height: 45px;
    border-radius: 4px;
    color: #fff;
    line-height: 45px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
	padding: 0 20px;
}

.im-resend-btn img {
	width: 17px;
	height: 17px;
	margin-right: 5px;
	margin-top: -5px;
}

/*20160722 tim*/
.im-empty {width: 100px;}

/*20160728 fix im 30days*/
.im-pd{position:relative; z-index:1}
.im-quote-msg{z-index: inherit;}
.im-info-option{z-index: 2;}

.im-pd-price{font-weight: bold;font-size: 18px;}
/*.im-pd-price:before{
    content: "HK$";
    font-size: 14px;
    margin-right: 1px;
}*/

/*im guest*/
.im-chatting-guest-name{
    position: absolute;
    background: #eee;
    width: 100%;
    z-index: 99;
    height: calc(100% - 125px);
    bottom: 0;
}
.im-chatting-guest-name form{
    margin-top: 90px;
}
.im-chatting-guest-name form input{
    display: block;
    width: 250px;
    margin: 0 auto;
    height: 40px;
    line-height: 40px;
    padding: 0 10px;
    font-size: 15px;
}
.im-chatting-guest-name form .im-chatting-guest-name-btn{
    display: block;
    width: 250px;
    margin: 0 auto;
    height: 40px;
    line-height: 40px;
    font-size: 15px;
    padding: 0;
    margin-top: 10px;
}
.im-chatting-guest-name form p{
    text-align: center;
    margin-top: 10px;
}
.im-guest-close-wrapper {
    height: calc(100% - 65px);
    width: 100%;
    position: absolute;
    top: 65px;
    z-index: 99;
}
.im-guest-close-overlay {
    background-color: rgba(0,0,0,0.7);
    width: 100%;
    height: 100%;
    position: absolute;
}
.im-guest-close-box {
    width: 300px;
    height: 260px;
    position: relative;
    margin: auto;
    display: block;
    background-color: #fff;
    margin-top: 90px;
    border-radius: 4px;
}

.im-header-icon-close-guest {
    position: relative;
    width: 40px;
    height: 100%;
    float: right;
    background-image: url(images/icon_close.png);
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.im-guest-close-box form input{
    display: block;
    width: 250px;
    margin: 0 auto;
    height: 40px;
    line-height: 40px;
    padding: 0 10px;
    font-size: 15px;
}
.im-guest-close-box form .im-chatting-guest-name-btn{
    display: block;
    width: 250px;
    margin: 0 auto;
    height: 40px;
    line-height: 40px;
    font-size: 15px;
    padding: 0;
    margin-top: 5px;
}
.im-guest-close-box p{
        font-size: 17px;
    text-align: center;
    padding-top: 25px;
    padding-bottom: 5px;
}

.im-bubble{font-size: 14px;}

.im-bubble-rb{
    background-color:#ffdd87;
    padding: 8px 15px;
}
.im-bubble-rb-content {
    color: #7d5227;
}
.im-bubble-rb-content a{
    border-top:1px solid #e8c878;
    padding-top: 3px;
    margin-top: 3px;
    display: block;
    cursor: pointer;
    color: #00a499;
}
.im-bubble-rb-content a:hover{color:#116b65;}

.im-bubble-rb:before{
    background-image: url(/images/im-out-yellow.png);
}
.im-guest-close-box{position: relative;}
.im-guest-close-btn{
    position: absolute;
    top: -10px;
    right: -10px;
    width: 25px;
    height: 25px;
    background: url('/images/im-close-mini.png');
}

/*for web only*/
.im-pd{
    height: 60px;
    padding: 5px;
}
.im-chat-container{padding: 5px 10px;}
.im-input-wrapper{height: 43px;}
.im-btn-buy{width: 75px;margin-top: 0;height: 33px;}
.im-inputtext{width: 245px;margin-left: 35px;}
.im-chat-container{
    top: 125px;
    bottom: 40px;
}
.im-datestamp{
    font-weight: normal;
    margin-bottom: 0;
}
.im-system-msg{margin: 5px;}
.im-send-img-icon{
    width: 34px;
    height: 34px;
    top: 0;
    left: 0;
    right: inherit;
    border: 1px solid #ccc;
}
.im-send-img-icon-img{
    width: 34px;
    height: 34px;
}
.im-send-icon{
    width: 34px;
    height: 34px;
    position: absolute;
    right: 83px;
    top: 0;
    background: url('../images/im-send-icon.png') 0px 0px;
}
.im-send-icon:hover{
    background:url('../images/im-send-icon.png') 34px 0px;
}
.im-send-img-icon:hover{
    background: #fff;
}

/*trade fix*/
.im-input-wrapper.im-input-trade{height: 85px;}
.im-input-wrapper.im-input-trade.im-input-buttononly{height: 43px;}
.im-inputtext-container-trade .im-inputtext{margin-left: -5px;}
.im-input-wrapper.im-input-trade .im-send-img-icon{background: #eee;}
.im-inputtext-container-trade .im-inputtext{width: 257px;}

/*20170711 error msg*/
.im-chatting-guest-name-btn-disable{opacity: 0.4;}
.im-chatting-guest-name-btn-disable:hover{background: #00a499;color:#fff;cursor: not-allowed;}

/*20170713 hide list tab*/
.im-guest-sidebar .im-list-tab{display:none;}
.im-guest-sidebar .im-list-container{top:65px;height:423px;}
.im-guest-sidebar #moreroomdiv{display:none !important;}

/*20170713 hide btn*/
.im-input-wrapper-nobtn .im-btn-buy{display: none;}
.im-input-wrapper-nobtn .im-inputtext{width: 325px;}
.im-input-wrapper-nobtn .im-send-icon{right: 3px;}

/*20170714 demofix*/
.im-chatting-guest-name p a{color:#00a499;cursor:pointer;}
.im-pd .im-pd-price{font-weight: normal;}
.im-header-title-merchant{
    width: calc(100% - 120px);
    margin: auto;
}
.im-avg-reply{text-align: center;}
.im-system-msg{padding: 0 0 5px 0;}
.im-system-msg p{display: inline;}
.im-system-msg p:first-child{margin-right: 5px;}
.im-avg-reply span{color:#111;}

.im-popup-msg{
    position: absolute;
    top: 260px;
    left: 50%;
    display: block;
    background-color: rgba(0,0,0,0.7);
    border-radius: 4px;
    color: #fff;
    line-height: 30px;
    padding: 0 10px;
    -ms-transform: translate(-50%,0);
    -webkit-transform: translate(-50%,0);
    transform: translate(-50%,0);
    transition: 0.2s;
    opacity: 1;
}
.im-popup-msg p{margin: 0;}
.im-popup-msg-hide{
    opacity: 0;
    transition: 0.2s
}

.im-guest-close-box-success{
    height: 70px;
    margin-top: 160px;
    transition: 0.2s;
}
.im-chatting-guest-name-btn .img-loading{height: 20px;width: 20px;}

/*20170718*/
.im-open-hour{
    text-align: center;
}
.im-open-hour p{
    display: block;
    margin: 0;
}
.im-avg-reply{margin: 0;}
.im-inputtext{margin-left: 33px;}
.im-bubble-rb-content a{text-align: center;}

/*20170718*/
.im-avg-reply{margin: 0;}
.im-inputtext{margin-left: 33px;}
.im-bubble-rb-content a{text-align: center;}

.im-system-msg {padding: 5px 0;}
.im-system-msg p{display:block}
.im-avg-reply p{display:inline}

/*20170808*/
.im-guest-blocking-overlay{
    background-color: rgba(0,0,0,0.7);
    width: 100%;
    height: 100%;
    position: absolute;
}
.im-guest-blocking-box{
    width: 300px;
    height: 180px;
    position: relative;
    margin: auto;
    display: block;
    background-color: #fff;
    margin-top: 110px;
    border-radius: 4px;
}
.im-guest-blocking-box .btn{
    display: block;
    width: 250px;
    margin: 0 auto;
    height: 40px;
    line-height: 40px;
    font-size: 15px;
    padding: 0;
    margin-top: 5px;
}
.im-guest-blocking-box p{
    padding: 0 20px;
    text-align: center;
    color: #8e8e93;
}
.im-guest-blocking-box p.header{
    font-size: 17px;
    text-align: center;
    padding-top: 25px;
    padding-bottom: 5px;
    color: #515151;
}

.im-guest-blocking-box a.im-guest-blocking-box-reg{
    text-align: center;
    display: block;
    margin: 15px 0;
    color: #00a499;
    font-size: 14px;
    cursor: pointer;
}
.im-guest-blocking-box-reg span{color: #8e8e93;margin-right: 5px;}

/*20170817*/
p.im-guest-input-error{
    font-size: 12px;
    padding: 0;
    color: #da4453;
    text-align: left;
    padding-left: 35px;
    margin: 2px 0 -8px 0;
}

.im-chat-container-2ndhand{bottom: 80px;}

/*20170825*/
.im-loading-page{
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -25px;
    margin-top: -20px;
}
.im-wrapper input:focus{outline: none;}

/*20170828 dialog*/
.im-dialog-wrapper{
    height: calc(100% - 65px);
    width: 100%;
    position: absolute;
    top: 65px;
    z-index: 3;
}
.im-dialog-close-overlay{
    background-color: rgba(0,0,0,0.7);
    width: 100%;
    height: 100%;
    position: absolute;
}
.im-dialog-close-box{
    width: 300px;
    padding: 20px;
    text-align: center;
    position: relative;
    margin: auto;
    display: block;
    background-color: #fff;
    border-radius: 4px;
    top: 50%;
    transform: translatey(-60%);
}
.im-dialog-close-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 25px;
    height: 25px;
    background: url(/images/im-close-mini.png);
}
.im-dialog-wrapper .im-dialog-header{
    font-size: 17px;
    margin-bottom: 5px;
}
.im-dialog-content{
    font-size: 14px;
    margin-bottom: 10px;
}
.im-dialog-btn{
    margin-bottom: -10px;
}
.im-dialog-btn-delete{
    width: calc(50% - 5px);
    display: inline-block;
    color: #E02152;
    height: 40px;
    line-height: 40px;
    cursor: pointer;
    border-radius: 4px;
    margin: 0 2px;
}
.im-dialog-btn-delete:hover, .im-dialog-btn-delete:focus, .im-dialog-btn-delete:visited{
    background: #edeeef;
    color: #E02152;
}
.im-dialog-btn-secondary{
    width: calc(50% - 5px);
    display: inline-block;
    color: #8e8e93;
    height: 40px;
    line-height: 40px;
    cursor: pointer;
    float: left;
    border-radius: 4px;
    margin: 0 2px;
}
.im-dialog-btn-secondary:hover, .im-dialog-btn-secondary:focus, .im-dialog-btn-secondary:visited{
    background: #edeeef;
    color: #8e8e93;
}
.im-error-msg{
	margin: 0 auto;
	padding: 10px;
	text-align:center;
	background-color: rgba(0,0,0,0.7);
	border-radius: 4px;
	color: #fff;
	position: relative;
	top: 120px;
	width: 65%;
	display: block;
	z-index : 1;
}
/*20170906 2nd-hand delete*/
.im-input-wrapper.im-input-trade-deleted{
    height: 45px;
}
.im-input-trade-deleted .im-inputtext-container{display: none;}
.im-trade-btn-deleted {
    width: 100%;
    background: #8e8e93;
    border-radius: 4px;
    border: none;
    color: #fff;
    height: 34px;
    line-height: 34px;
    text-align: center;
}
.im-dialog-wrapper input {
    display: block;
    width: 100%;
    margin: 0 auto;
    height: 40px;
    line-height: 40px;
    padding: 0 10px;
    font-size: 15px;
    margin-bottom: 10px;
	border: 1px solid #bbb;
}
.im-dialog-btn-primary{
    width: calc(50% - 5px);
    display: inline-block;
    color: #00a499;
    height: 40px;
    line-height: 40px;
    cursor: pointer;
    border-radius: 4px;
    margin: 0 2px;
}
.im-dialog-btn-primary:hover{
    background: #edeeef;
    color: #00a499;
}


/*18877 batch delete chatroom*/

.im-list-tab {
    box-shadow: 0 2px 6px 0 rgba(0,0,0,0.15);
    position: relative;
    z-index: 3;
}

.im-listing-header {
    border-color: #00a499;
}

.im-filter-label {
    height: 40px;
    font-size: 13px;
}

.im-filter-label > a {
    background-color: #ebebeb;
    height: 30px;
    width: 76%;
    top: 5px;
    position: absolute;
    left: 5px;
    line-height: 30px;
    padding-right: 20px;
    border-radius: 4px;
}
.im-filter-label.full > a {width: 97%;}

.im-filter-label > a img {
    margin-top: -4px;
    vertical-align: top;
}

.im-filter-label > a img:last-child {
    margin-left: 10px;
}

.im-delete-btn > .btn-delete {
    position: absolute;
    top: 5px;
    right: 5px;
    /* background-color: #ebebeb; */
    height: 30px;
    width: 20%;
    border-radius: 3px;
    color: #aaa;
    font-size: 13px;
    cursor: pointer;
    z-index: 2;
    line-height: 30px;
    text-align: center;
}

.im-delete-btn > .btn-delete:hover {
    background-color: #ebebeb;
    color: #777;
}

.im-delete-btn > .btn-delete.confirm {
    background-color: #f13200;
    color: #fff;
}

.im-delete-btn > .btn-delete.confirm:hover {
    background-color: #c72900;
}

.im-delete-btn > .btn-delete.confirm.disabled {
    cursor: not-allowed;
    background-color: #c9c9c9;
}

.im-delete-btn > .btn-delete.confirm.disabled:hoveete-btn > .btn-delete.confirm.disabled:hover {
    background-color: #c9c9c9;
}

.im-delete-btn > .btn-cancel {
    position: absolute;
    right: 24%;
    background-color: transparent;
    cursor: pointer;
}

.im-delete-btn > .btn-cancel:hover {color: #126b65;}

.im-delete-wrapper {
    z-index: 2;
    position: absolute;
    top: 0;
    width: 100%;
    background: #f6f6f6;
    height: 40px;
    font-size: 13px;
}

.select-all-wrapper {
    display: inline-block;
    /* width: 75px; */
    height: 40px;
    float: left;
}

.select-all-wrapper .control {
    margin-bottom: 0;
    font-size: 13px;
    color: #00a499;
    font-weight: bold;
}

.select-all-wrapper .control__indicator {
    margin: 10px;
}

.im-filter {
    -webkit-font-smoothing: antialiased;
    font-weight: 600;
}

.im-listing-item .select-wrapper, .im-list-trade-item .select-wrapper {
    width: 20px;
    height: 75px;
    float: left;
    padding-top: 25px;
    margin-right: 10px;
    transition: 0.5s;
}

.im-listing-item.selected, .im-list-trade-item.selected {
    background-color: #fff9e8;
}

/*custome checkbox*/
.control-group {
  display: inline-block;
  vertical-align: top;
  background: #fff;
  text-align: left;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  padding: 30px;
  width: 200px;
  height: 210px;
  margin: 10px;
}
.control {
  display: block;
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  cursor: pointer;
  font-size: 14px;
}
.control input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}
.control__indicator {
  position: absolute;
  top: 2px;
  left: 0;
  height: 18px;
  width: 18px;
  border-radius: 4px;
  background: #e6e6e6;
}
.control--radio .control__indicator {
  border-radius: 50%;
}
.control:hover input ~ .control__indicator,
.control input:focus ~ .control__indicator {
  background: #ccc;
}
.control input:checked ~ .control__indicator {
  background: #00a499;
}
.control:hover input:not([disabled]):checked ~ .control__indicator,
.control input:checked:focus ~ .control__indicator {
  background: #08867d;
}
.control input:disabled ~ .control__indicator {
  background: #e6e6e6;
  opacity: 0.6;
  pointer-events: none;
}
.control__indicator:after {
  content: '';
  position: absolute;
  display: none;
}
.control input:checked ~ .control__indicator:after {
  display: block;
}
.control--checkbox .control__indicator:after {
  left: 7px;
    top: 3px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.control--checkbox input:disabled ~ .control__indicator:after {
  border-color: #7b7b7b;
}

/*end of custom checkbox*/

.notification-wrapper {
    background-color: #373737;
    height: 40px;
    padding: 10px;
    width: 100%;
    position: absolute;
    top: 0;
    color: #fff;
    z-index: 3;
    transition: 1s;
}

.im-listing-pd-img, .im-list-trade-pd img {border: 0;}

.im-list-trade-pd {
    float: left;
    position: relative;
}

.im-list-trade-pic {
    float: left;
    margin-left: -40px;
    position: relative;
    margin-top: 40px;
    top: auto;
    left: auto;
}

.im-list-trade-user {
    position: relative;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    float: none;
    width: auto;
    padding-left: 0;
}

.im-list-trade-text {
    float: none;
    width: auto;
    padding-left: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #5F5F5F;
    position: relative;
}

.im-list-trade-item {
    padding-bottom: 2px;
}

.im-listing-item p {font-size: 14px;}
.im-filter-option:hover {background-color: #ebebeb; margin: 0 3px;}
.im-tab-all:hover, .im-tab-enquiry:hover, .im-tab-referral:hover, .im-tab-trade:hover {background-color: #fafafa;}
.im-listing-item:hover {background-color: #f6f6f6;}

/*end of 18877 batch delete chatroom*/

/* 00274 im countdown message */
.revamp-message [im-sidebar] {
    --h: 50px;
    height:540px;/*calc(490px + var(--h));*/
}
.revamp-message .revamp_countdown {
    height:50px;/*var(--h);*/
    position:absolute;
    background:white;
    color:red;
    text-align: center;
    font-size:13px;
    padding:5px 10px;
    display:flex;justify-content: center;align-items: center;
    z-index:2;
    width:100%;
}
.revamp-message .im-list-container {
    top:160px;/*calc(var(--h) + 65px + 45px);*/
}
.revamp-message.im-guest-sidebar .im-list-container {
    margin-top:50px;/* var(--h);*/
    top:auto;bottom:auto;
}
.revamp-message .im-quote-msg-yes .im-quote-msg,.revamp-message .im-chat-container {
    top:175px;/*calc(var(--h) + 125px);*/
}
.revamp-message .im-quote-msg-yes .im-chat-container {
    top:205px;/*calc(var(--h) + 155px)*/
}
.revamp-message .im-info-option {
    bottom:390px;/*calc(var(--h) + 340px)*/
}
.revamp-message .im-empty-wrapper {
    margin-top:0;/*calc(var(--h) - 20px);*/
}