/*iWebKit css 5.03 by Christopher Plieger*/
html {
	overscroll-behavior-y: contain;  /*disable scroll down refresh*/
}
body {
		overscroll-behavior-y: contain;
	
	  background: #e9ebee;
    color: #1d2129;
    direction: ltr;
    line-height: 1.34;
    margin: 0;
    padding: 0;
    unicode-bidi: embed;
    font-size: 12px;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
}

.body_content{
  /*position: fixed;*/
  top: 73; 
  bottom:0px;
  overflow:auto;
  margin-left:5px;
  margin-right:5px;  
  margin-top:63px;
}

.body_header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 43px;
  z-index: 10;
  background: #4267b2;
  border-bottom: 1px solid #29487d;
  color: #fff;
  text-align:center;
}

.body_menu{
  position: fixed;
  top:43px;
  height:100%;
  width:200px;
  margin:5px;
  background-color: #f6f7f9;
  border:1px solid #dddfe2;
  border-radius:2px 2px 0 0;
  overflow: auto;
	z-index:1;
}

.menu_header{
  background:white;
  border-top:1px solid #dddfe2;
  border-bottom:1px solid #dddfe2;  

  color:black;
  height:38px;

  align-items: center;
  display: flex;  
  flex-direction: row;
  font-size:14px;
  font-weight:bold;
  margin-top:10px;
  padding-left:10px;
}

.menu_icon_header{
  width:30px;
  padding-right:15px;
}

.menu_header:hover{
   background:#e9ebee; 
  cursor: pointer; 
}

.menu_row{
  background:white;
  border-bottom:1px solid #dddfe2;

  color:black;
  height:30px;

  align-items: center;
  display: flex;  
  flex-direction: row;
  font-size:12px;
  padding-left:20px;
}

.menu_icon_row{
  width:22px;
  padding-right:15px;
}

.menu_row:hover{
   background:#e9ebee; 
  cursor: pointer; 
}


.header_avatar{
   border-radius: 50%;
   overflow: hidden;
}

.body_header_sub{
  top:8px;
  position: relative;
  margin-top:0px;
  margin-left:10px;
  margin-right:10px;
}

.body_header_item{
  align-items: center;    
  display: flex;  
  flex-direction: row;
  
  
    font-size: 12px;
    -webkit-font-smoothing: antialiased;
    font-weight: bold;
    height: 27px;
    line-height: 28px;
    padding: 0 1px 1px;
    position: relative;
    text-decoration: none;
    vertical-align: top;
    white-space: nowrap;
}

.center {
	margin: auto;
	display: block;
	text-align: center!important;
}
img {
	border: 0;
}
a:hover .arrow {
	background-position: 0 -13px!important;
}


.title{
	/*background-color: lightgray;*/
	line-height: 150%;
}

.table{
	border-collapse: collapse; 
	width: 100%;
	cellspacing:10px;
	border: 1px solid #f0f5f5;
	font-family:helvetica,sans-serif;
	font-size:14px;
}

td{
  border:1px solid #dee0e4;
}
	

.row0{
	background-color: #f0f5f5;
	border: 1px solid #f0f5f5;
	padding-top: 20px;
	height: 32px;
}

.row1{
	background-color: white;
	border: 1px solid #f0f5f5;
	height: 32px;
}

.row0:hover {
		background-color: #e0e5e5;
}
.row1:hover {
		background-color: #e0e5e5;
}



.row_header{
	background-color: #a3c2c2;
	font-weight: bold;
	line-height: 150%;
	border: 1px solid #f0f5f5;
	text-align: left;
	font-size:14px;

}

.mess1{
	
	vertical-align: center;
	width:100%;
	background: lightblue;
	text-align: center;
	padding-top: 10px;
	padding-bottom: 10px;

}

.mess0{
	
	vertical-align: center;
	width:100%;
	background: #f78484;
	text-align: center;
	padding-top: 10px;
	padding-bottom: 10px;

}

.page {
	vertical-align: right;		
	text-align: right;
	padding-top: 10px;
	padding-bottom: 10px;	
	color:gray;
}

.search {
	vertical-align: right;		
	text-align: right;
	padding-top: 10px;
	padding-bottom: 10px;	
	color:gray;
}

/* unvisited link */
a:link {
    color:#365899;
    text-decoration: none;
}

/* visited link */
a:visited {
    color: #365899;
    text-decoration: none;
}

/* mouse over link */
a:hover {
    color: #cc99ff;
    text-decoration: none;
}

/* selected link */
a:active {
    color:  #365899;
    text-decoration: none;
}


.money{
	color:blue;
	font-size:13px;
	font-weight: bold;
}

.money_negative{
	color:red;
	font-size:13px;
	font-weight: bold;
}

.doc_tien{
	color:blue;
	padding-top: 5px;
	padding-bottom: 5px;
}

td{
	padding: 5px;
}

.page_title{
	color: green;
	font-weight: bold;
	vertical-align: middle;
	padding:8px;
	font-size: 14px;
	align:right;
	border-left: 3px green solid;
	
	background-color: white;
	margin-bottom: 10px;
}

.page_content{
	border: 1px lightgray solid;
	background-color: white;
	font-size: 12px;
  padding:4px;
  overflow-x:auto;
}

/* Add this attribute to the element that needs a tooltip */
[data-tooltip] {
  position: relative;
  z-index: 2;
  cursor: pointer;
}

/* Hide the tooltip content by default */
[data-tooltip]:before,
[data-tooltip]:after {
  visibility: hidden;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  pointer-events: none;
}

/* Position tooltip above the element */
[data-tooltip]:before {
  position: absolute;
  bottom: 150%;
  left: 50%;
  margin-bottom: 5px;
  margin-left: -80px;
  padding: 7px;
  width: 160px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  background-color: #000;
  background-color: hsla(0, 0%, 20%, 0.9);
  color: #fff;
  content: attr(data-tooltip);
  text-align: center;
  font-size: 14px;
  line-height: 1.2;
}

/* Triangle hack to make tooltip look like a speech bubble */
[data-tooltip]:after {
  position: absolute;
  bottom: 150%;
  left: 50%;
  margin-left: -5px;
  width: 0;
  border-top: 5px solid #000;
  border-top: 5px solid hsla(0, 0%, 20%, 0.9);
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  content: " ";
  font-size: 0;
  line-height: 0;
}

/* Show tooltip content on hover */
[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
  visibility: visible;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.img_status{
	width:20px;
}


input[type="text"] {
  max-width: 300px;
	width:100%;
}
input[type="checkbox"] {
  width: 16px;
	height: 16px;
}

textarea{
  max-width: 300px;
	width:100%;
	height:60;
}

.select_option_image {
  /*background: url(mountain.jpg);*/
  background-repeat: no-repeat;
  background-size: 48px 48px;
	height:50px;
}

.div_row0{
	height:34px;
	width:100%;
	display:table;	
	background-color: #f0f5f5;
	border: 1px solid #dee0e4;
	vertical-align:middle;
	font-family:helvetica,sans-serif;
	font-size:14px;
}
.div_row1{
	height:43px;
	width:100%;
	display:table;
	background-color:white;
	border: 1px solid #dee0e4;
	vertical-align:middle;
	font-family:helvetica,sans-serif;
	font-size:14px;
}
.div_row_header{
	height:30px;
	
	display:table;
	background-color:a3c2c2;
	border: 1px solid #dee0e4;
	vertical-align:middle;
	font-weight:bold;
	font-size:14px;
	align:center;
	font-family:helvetica,sans-serif;
	font-size:14px;
}

.div_row0:hover{
	background-color: #e0e5e5;
	cursor: pointer;
}
.div_row1:hover{
	background-color: #e0e5e5;
	cursor: pointer;
}
.div_cell{
	display:table-cell;
	text-align:top;
	float:left;
	padding:5px;
	vertical-align:middle;
	overflow:hidden;z-index
	border-left: 1px solid #dee0e4;
	width:auto;
}


.chat_content{
	overflow:auto;
	position:fixed; 
	top:180px; 
	bottom:40px;
	right:0px;
	left:5px;
	marign-left:5px;
	margin-right:5px;
	border-left:1px solid lightgray;
	border-right:1px solid lightgray;
}

.chat_content_new{
	overflow:auto;
	position:relative; 
	top:0px; 
	bottom:40px;
	right:0px;
	left:0px;
	
  /*marign-left:5px;
	margin-right:5px;
	border-left:1px solid lightgray;
	border-right:1px solid lightgray;*/
}


.chat_avatar{
	
	width:38px;
	padding:4px;
	display:table-cell;
	vertical-align:top;
}

.chat_time{
	color:gray;
	font-size:70%;
	font-style:italic;
}

.chat_mess{
	float:left;
	font-size:110%;
	color:#3578e5;
	display:table-cell;
	
	padding-left:4px;	
	min-height:30px;
}
.chat_mess_page{
	float:left;
	font-size:110%;
	padding:4px;
	min-height:30px;
	display:table-cell;
}


.chat_new_line{
	
	overflow:auto;
	background-color:#e4f6f6;
	font-size:110%;
	display:table;
	vertical-align:middle;
	width:100%;
	
}
.chat_new_line_page{
	clear:both;
	overflow:auto;
	background-color:#eaf1f4;
	font-size:110%;
	display:table;
	vertical-align:middle;
	width:100%;
	
}


.chat_new_line_new{
	
	overflow:auto;
	/*background-color:#e4f6f6;*/
	display:table;
	vertical-align:middle;
	/*width:100%;*/
  margin-bottom:4px;
  margin-bottom:4px;
  font-size:110%;
}
.chat_new_line_page_new{
	clear:both;
	overflow:auto;
	/*background-color:#eaf1f4;*/
	display:table;
	vertical-align:middle;
	width:100%;
  text-align:right;
  
  margin-top:4px;
  margin-bottom:4px;
  font-size:110%;
}

.chat_mess_new{
  border-radius:10px;
	font-size:110%;
	color:#3578e5;
	display:table-cell;
	padding:10px;
	min-height:30px;
  background-color:#e4f6f6;
  max-width:400px;
  text-align:justify;
}
.chat_mess_page_new{
  border-radius:10px;
  font-size:110%;
  float:right;
	padding:10px;
	min-height:30px;
	display:table-cell;
  background-color:#eaf1f4;
  max-width:400px;
  text-align:justify;
}

.chat_avatar_new{
	
	width:38px;
	padding-left:2px;
  padding-right:2px;
  padding-top:2px;
	display:table-cell;
	vertical-align:top;
}


.icon_sub_menu{
	width:44px;
	align:center;
	vertical-align:center;
	float:left;
	padding:4px;
	border:1px solid lightgray;
	background:#e3e3e3;
  border-top-right-radius:7px;
  border-top-left-radius:7px;
}

.icon_sub_menu:hover{
	background:#eaf1f4;
}

.div_chat_input{
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 38px;
	z-index: 10;
	background: #5b80c9;  /*#ecece7;*/
	border-bottom: 1px solid #4b6eb6;
	border-top: 1px solid #4b6eb6;
	color: #fff;
	text-align:left;
	padding:0px;
	display: flex;
  flex-direction: row;
}

.div_chat_input_pc{
	position: fixed;
	bottom: 0px;
	left: 50%;
	right: 0px; /*tránh trường hợp scroll che*/
	height: 38px;
	z-index: 10;
	background: #5b80c9;  /*#ecece7;*/
	border-bottom: 1px solid #4b6eb6;
	border-top: 1px solid #4b6eb6;
	color: #fff;
	text-align:left;
	padding:0px;
	display: flex;
  flex-direction: row;
}

.div_chat_input_mobile{
	position: fixed;
	bottom: 0px;
	left: 0px;
	right: 0px; /*tránh trường hợp scroll che*/
	height: 38px;
	z-index: 10;
	background: #5b80c9;  /*#ecece7;*/
	border-bottom: 1px solid #4b6eb6;
	border-top: 1px solid #4b6eb6;
	color: #fff;
	text-align:left;
	padding:0px;
	display: flex;
  flex-direction: row;
}


.avatar_circle{
	border-radius: 50%;
}
/**/

.lightbox{
	background: rgba(0, 0, 0, 0.8);
	position: fixed; 
	top: 0; left: 0;
	width:100%;
	height:100%;	
	z-index:1000;
}

.img_lightbox{
	position: fixed;
	top: 10%;
	left:10%;
  max-width: 80%;
	max-height:80%;
	min-width:40%;
}


.div_sticker{
	padding:10px;
	border: 1px solid #eaf1f4;
	float:left;
}

.div_sticker:hover{
	background:#eaf1f4;
}

.div_tag{
	 border-radius:4px; padding:3px; margin-right:5px; margin-top:5px; margin-bottom:-3px; font-size:80%;
}

.new_inbox_ajax{
	  background: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
		z-index:20;
}

.data_inbox{
	position: fixed; 
	top:45px; 
	bottom:0px; 
	left:0px;
	right:0px;
	overflow-y:auto;
}

#preview{
	position:absolute;
	border:1px solid #ccc;
	background:#333;
	padding:5px;
	display:none;
	color:#fff;
	}

/*Phần của client chat*/
.last_time {
    font-size:70%; 
    position:absolute; 
    bottom:3px; 
    right:3px; 
    border:1px solid red; 
    border-radius: 3px; padding:2px; 
    background: red; 
    color:white;
  }
  .last_mess_unreply{
   font-size:90%;
   color:red;  
   max-height:60px; 
   overflow:hidden;
  }
  .last_mess_reply{
   font-size:90%;
   color:gray;  
   max-height:60px; 
   overflow:hidden;
  }

 @media screen and (max-width: 1000px) {
    .last_mess_unreply{
      font-size:90%;
      color:red;  
      max-height:60px; 
      overflow:hidden;
      max-width:230px;
    }
    .last_mess_reply{
      font-size:90%;
      color:gray;  
      max-height:60px; 
      overflow:hidden;
      max-width:230px;
    }
 }

@media screen and (max-width: 375px) {
    .last_mess_unreply{
      font-size:90%;
      color:red;  
      max-height:60px; 
      overflow:hidden;
      max-width:200px;
    }
    .last_mess_reply{
      font-size:90%;
      color:gray;  
      max-height:60px; 
      overflow:hidden;
      max-width:200px;
    }
 }


  .td_avatar{
    width:50px; 
    position:relative;
  }
  .td_chat{
    cursor:pointer;
  }

  .td_assign{
    
    
  }

.div_assign_sale{
  
}

  .img_avatar_fb{
    border:3px solid #4267b2; 
    border-radius: 50%;
    height:50px;
    width:50px;
  }

  .img_avatar_insta{
    border:3px solid #c32aa3; 
    border-radius: 50%;
    height:50px;
    width:50px;
  }

  .div_last_time_text_unreply{
    color:red; 
    font-size:80%;
    font-style:italic;
  }
  .div_last_time_text_reply{
    color:gray; 
    font-size:80%;
    font-style:italic;
  }
  .div_lead_tag{
    max-width:200px;
    margin-bottom:5px;
    font-size:80%;
    margin-top:-8px;
    padding:2px;
  }
  .div_list_user_pc{
    position:fixed; 
    top:45px; 
    right:50%; 
    bottom:0px; 
    left:0px;
    overflow-x: hidden; 
    overflow-y:auto;
    border-right:5px solid #4267b2;
    background:white;
  }
  .div_list_user_mobile{
    position:fixed; 
    top:45px; 
    right:0%; 
    left:0px;
    bottom:0px; 
    overflow-x: hidden; 
    overflow-y:auto;
    background:white;
  }
  .div_detail_user_pc{
    position:fixed; 
    top:45px; 
    left:50%; 
    right:0px;
    bottom:0px; 
    overflow-x: hidden; 
    overflow-y:auto;
    background:white;
    z-index:10;
  }
  .div_detail_user_mobile{
    position:fixed; 
    top:0px; 
    right:0px;
    left:0px;
    bottom:0px; 
    overflow-x: hidden; 
    overflow-y:auto;
    background:white;
    z-index:10;
  }

  .div_like_com{
    padding-top:5px;
  }

  .div_detail_user_header{
    padding:5px;
    margin-bottom:10px;
    height:50px;
    width:100%;
  }

  .div_detail_user_header_name{
    font-size:120%;
    font-weight:bold;
    color:#365899;
    max-width:300px;
    max-height:20px;
    overflow:auto;
  }
  .div_detail_user_header_tag{
    /* height:22px; */
    float:left;
    margin-top:-2px;
  }

.div_detail_user_header_sale{
  margin-top:-4px;
}

.div_detail_user_menu{
  padding-left:4px;
  height:34px;
}

.div_detail_user_body_pc{
  padding:4px;
  border:1px solid lightgray;
  position:fixed;
  bottom:1px;
  left:50%;
  right:0px;
  overflow:auto;
  top:148px;
  margin-left:2px;
  margin-right:2px;
}
.div_detail_user_body_mobile{
  padding:4px;
  border:1px solid lightgray;
  position:fixed;
  bottom:1px;
  left:0px;
  right:0%;
  overflow:auto;
  top:104px;
  margin-left:2px;
  margin-right:2px;
}

.noti{
  text-align:center;
  margin-top:100px;
  padding:10px;
  background:rgba(0,0,0,.1);
}
