.chat-group{
	padding: 15px !important;
}	

.chat-group:hover{
	background: #fdfbfb;
	cursor: pointer;
}

.chat-group--active{
	background: #fdefef;		
}

.chat-group--active:hover{
	background: #fdefef;			
}

.empty-subtitle{
	line-height: 24px;
	font-size: 15px;
	max-width: 550px;
	width: 100%;
}
.chat__groups{
	max-height: calc(100vh - 205px);
	overflow-y: scroll;
}

.chat__groups h5{
	position: sticky;
	top: 0;
	background: #fff;
	z-index: 3;
	padding-bottom: 5px !important;
	border-bottom: 1px solid rgba(101,109,119,.16);
	
	
}

.empty svg{
	height: 250px;	
}

.groupitem .avatar{
	margin-right: 10px;
    width: 59px;
    height: 45px;
    font-size: 16px;
}	

.groupitem{
	border-radius: 5px;
	cursor: pointer;
	border: 1px #efefef solid;
}
.groupitem:hover{
	background: #eaf0ff;
}

.groupitem.active{
	background: #eaf0ff;	
}

.groupitem a{
	text-decoration: none;
}

.groupitem h5{
	font-weight: 700;
	font-size: 13px;
}
.groupitem a:hover{
	text-decoration: none;
}	
.conversation-list{
	list-style: none;
	display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 15px 0 0 0;
    margin: 0;
}

.group-list, .search-list{
	padding: 0 15px;
	height: calc(100vh - 230px);
	overflow: hidden; 
	overflow-y: scroll;
}
.chatitem{
	display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: flex-end;
    justify-content: space-around;
}

.conversation-list{
	overflow: hidden; 
	overflow-y: scroll;
	max-height: 100%;
	height: 100%;
}
.chatitem .avatar{
	--tblr-avatar-size: 3em;
}

.chatitem .conversation-text{
	margin: 0 auto 0 0;
	text-align: left;
}

.groupitem .font-12{
	font-size: 14px;
	font-weight: 100;
}

.icon-tabler-dots-vertical{
	margin: 0 !important;
}

.chatitem i{
	font-weight: 600;
    font-style: normal;
    color: #1365ff;
}

.autocomplete{
	position: absolute;
	width: 100%;
	left: 0;
	background: #fff;
	padding: 30px;
}

.chatitem{

}

.chatitem p{
	margin: 0;
	padding-right: 15px;
}

.chatitem .created{
	position: absolute;
	right: 55px;
	top: 0px;
	opacity: .7;
	font-size: 13px;
	z-index: 9;
}

.chatitem .conversation-actions{
	right: 15px;
    font-size: 12px;
    opacity: 1;
    position: absolute;
}

.chatitem .conversation-actions .dropdown-menu{
	border-radius: 10px;
	padding: 0;
}

.chatitem .conversation-actions .dropdown-menu .dropdown-item{
	padding: 6px 10px;
	font-size: 14px;
}
.chatitem .conversation-actions .dropdown-menu .dropdown-item svg{
	margin-right: 5px;
}		
.chatitem .conversation-actions .btn{
    margin: 0 10px;
    padding: 0;
}

.type-admin i{
	color: #d63939;
}

.type-admin .avatar{
	background: #d63939;
	color: #fff;
}

.type-leader i{
	color: #2fb344;
}

.type-leader .avatar{
	background: #2fb344;
	color: #fff;
}

.tab-pane{
	padding: 0;
}
#chat-form{
	margin: 0;
}

#chat-form textarea{  
  display: block;
  box-sizing: padding-box;
  overflow: hidden;

  padding: 10px;
  width: 100%;
  font-size: 14px;
  border-radius: 6px;
  box-shadow: 2px 2px 8px rgba(black, .3);
  border: 0;
  
}

#chat-form textarea:focus{
    border: none;
    outline: none;
  }

.app-search{
	padding: 0 15px;
	width: 100%;
}

.groupitem[data-typevalue="hard"]{
	background: #f7dc6d;
}

.groupitem[data-typevalue="news"]{
	background: #6da7f8;
}

.emojionearea .emojionearea-editor{
	min-height: 2.6em !important; 
}

.emojionearea .emojionearea-button{
	top: 6px !important;
}

.replymessage{
	border-left: 2px #007eff solid;
	margin-bottom: 10px;
	margin-left: 5px;
	display: none;
}

.conversation-reply{
	font-size: 12px;
}

.conversation-reply i{
	color: #007eff;
}

.conversation-reply{
	border-left: 2px #007eff solid;
	margin-bottom: 0px;
	margin-left: 0px;	
	padding-left: 8px;
}

.replymessage .chatitem{
	margin-bottom: 0;
}

.chatlisting .card-body{
	display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.chatlisting .card-body{
	padding-top: 0;
	max-height: calc(100vh - 219px);
}

.chatlisting .card{
	height: calc(100vh - 163px);
}

.fileupload{
	position: absolute;
	z-index: 9;
	top: 8px;
    right: 39px;
    cursor: pointer;
}

.canned-response{
	position: absolute;
	z-index: 9;
	top: 8px;
    right: 65px;
}

.canned-response .icon{
	color: #adadad;;
}

.chatinputparent{
	position: relative;
}

.fileupload .icon{
	color: #adadad;;
}

.filelink{
    text-decoration: underline;
    font-size: 11px;
}

.chatitem .badge{
	margin-left: 5px;
	padding: 0 3px;
	margin-top: -2px;
	line-height: 10px;
	font-size: 10px;
}

.group-text{
	background: rgba(247,103,7,.1)!important;
	color: #f76707!important;
	padding: 15px !important; 
	font-size: 13px; 
	display: none;
}

.chat-center .group-messages{
	position: relative;
	height: calc(100vh - 195px);
	padding: 0;
    display: flex;
	flex-direction: column;
}

.chatitem{
	padding: 5px 15px;
	position: relative;
}

.chatitem p{
	padding-right: 30px;
}

.chat-empty{
	height: calc(100vh - 200px;);
}

.chat-empty > div{
	height: 100%;
}

.chat-empty-search{
	height: calc(100vh - 200px;);
}

.chat-empty-search > div{
	height: 100%;
}

.btn-back-sidebar{
	display: none;
}

.chat-loader{
	text-align: center;
	padding: 30px 0;
}

.chat-search p strong{
	text-decoration: underline;
	color: #780202;
}

@media (max-width: 569px) {
	.chatitem .chat-avatar{
		display: none;
	}
	.chatitem p{
		font-size: 13px;
	}
	.container-xl{
		padding: 0;
	}
	.page-body.mt-2{
		margin-top: -1px !important;
	}
	.chat__groups{
		max-height: calc(100vh - 125px)
	}
	
	.chat-center .group-messages{
		height: calc(100vh - 116px);
	}
	.chat__sidebar{
		margin: 0;
		padding: 0;
	}
	.chat-center{
		margin: 0;
		padding: 0;
	}
}  

.chat-search .card-body{
	padding: 0;
}

.chatitem .conversation-text i, .chatitem .chat-avatar .avatar{
    cursor: pointer;
}

.chat-scrolldown{
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    bottom: 100px;
    z-index: 19;
    display: none;
}

.chat-scrolldown .btn{
    border-radius: 40px;
}

.lastmessage{
    width: 100%;
    padding: 15px 0;
    position: relative;
}
.lastmessage span{
    z-index: 9;
    position: absolute;
    padding: 0 10px;
    background: #fff;
    left: 50%;
    transform: translatex(-50%);
    top: 0;
    text-transform: uppercase;
	font-size: 12px;
	font-weight: 900;
}
.lastmessage:after{
    width: 100%;
    height: 2px;
    background: #1265ff;
    content: "";
    position: absolute;
    top: 8px;
}

.chat-search .chatitem{
    padding: 10px 15px;
    cursor: pointer;
}    

.chat-search .chatitem:hover{
    background: #ccc;
}

.chat-search .chatitem .created{
    top: 10px;
    right: 15px;
}

.chatitem--search{
	animation: blinkingBackground 2s infinite;
}

@keyframes blinkingBackground{
	0%		{ background-color: #c5d6ff;}
	50%	        { background-color: #fff;}
	100%		{ background-color: #c5d6ff;}		
}

.filelink{
	text-decoration: none;
	margin-top: 10px;		
}

.filelink .avatar{
	background: #b3b3b3 !important;
}

.filelink .text-muted span{
	color: #0a57bd;
	text-decoration: underline;
}

.badge-chatcount svg, .badge-qa svg, .badge-work svg{
	position: absolute;
	left: 0;
	height: 15px;
	width: 15px;
}

.badge-chatcount, .badge-qa, .badge-work{
	padding-left: 19px !important;
	position: relative;
}

.divide-y>:not(template)~:not(template).chat-group--child{
	padding-left: 55px !important;
	position: relative;
	border-top: 0 !important;
	border: none !important;
}

.chat-group--child:before{
	content: "";
	width: 1px;
	height: 100%;
	background: rgba(101,109,119,.16);	
	position: absolute;
	left: 33px;
	top: -26px;
}

.chat-group .avatar{
	position: relative;
	z-index: 2;
}

.chat-group--child:after{
	content: "";
    position: absolute;
    left: 33px;
    z-index: 0;
	bottom: 26px;
	width: 22px;
	height: 1px;
    background: rgba(101,109,119,.16);
}	

.chat-group--child .chat-group-title{
	font-size: 14px;
}	
.chat-group--child .text-muted{
	font-size: 12px;
}	


.conversation-actions .dropend:hover .dropdown-menu{
	display: block;
}

.pickanswer{
	background: #fff;
	border-radius: 10px;
	width: 100%;
	margin-bottom: 10px;
	cursor: pointer;
	padding: 10px;
}

.pickanswer:hover{
	background: #e2fbff;
	border-radius: 10px;
	width: 100%;
	margin-bottom: 10px;
	cursor: pointer;
	padding: 10px;
}

.box_upload{
	position: absolute;
	width: 100%;
	height: 100%;
	background: #dedede;
	z-index: 15;
	display: none;
}

.box_upload:after{
	content: "";
	position: absolute;
	width: calc(100% - 60px);
	height: calc(100% - 60px);
	z-index: 15;
	margin: 30px;
	border: 2px dashed #ccc;
}

.box_upload__center{
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 333;
	transform: translate(-50%,-50%);
	text-align: center;
}

.box_upload__center span{
	font-size: 25px;
	padding-top: 30px;
}

.box_upload__center svg{
	width: 70px;
	height: 70px;
}

.box_upload.is-dragover{
	background: #ffffff;
}

.chat-group{
	padding: 15px !important;
}	

.chat-group:hover{
	background: #fdfbfb;
	cursor: pointer;
}

.chat-group--active{
	background: #fdefef;		
}

.chat-group--active:hover{
	background: #fdefef;			
}

.empty-subtitle{
	line-height: 24px;
	font-size: 15px;
	max-width: 550px;
	width: 100%;
}
.chat__groups{
	max-height: calc(100vh - 205px);
	overflow-y: scroll;
}

.chat__groups h5{
	position: sticky;
	top: 0;
	background: #fff;
	z-index: 3;
	padding-bottom: 5px !important;
	border-bottom: 1px solid rgba(101,109,119,.16);
}

.empty svg{
	height: 250px;	
}

.groupitem .avatar{
	margin-right: 10px;
    width: 59px;
    height: 45px;
    font-size: 16px;
}	

.groupitem{
	border-radius: 5px;
	cursor: pointer;
	border: 1px #efefef solid;
}
.groupitem:hover{
	background: #eaf0ff;
}

.groupitem.active{
	background: #eaf0ff;	
}

.groupitem a{
	text-decoration: none;
}

.groupitem h5{
	font-weight: 700;
	font-size: 13px;
}
.groupitem a:hover{
	text-decoration: none;
}	
.conversation-list{
	list-style: none;
	display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 15px 0 0 0;
    margin: 0;
}

.group-list, .search-list{
	padding: 0 15px;
	height: calc(100vh - 230px);
	overflow: hidden; 
	overflow-y: scroll;
}
.chatitem{
	display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: flex-end;
    justify-content: space-around;
}

.conversation-list{
	overflow: hidden; 
	overflow-y: scroll;
	max-height: 100%;
	height: 100%;
}
.chatitem .avatar{
	--tblr-avatar-size: 3em;
}

.chatitem .conversation-text{
	margin: 0 auto 0 0;
	text-align: left;
}

.groupitem .font-12{
	font-size: 14px;
	font-weight: 100;
}

.icon-tabler-dots-vertical{
	margin: 0 !important;
}

.chatitem i[data-id]{
	font-weight: 600;
    font-style: normal;
    color: #1365ff;
}

.autocomplete{
	position: absolute;
	width: 100%;
	left: 0;
	background: #fff;
	padding: 30px;
}

.chatitem{

}

.chatitem p{
	margin: 0;
	padding-right: 15px;
}

.chatitem .created{
	position: absolute;
	right: 55px;
	top: 6px;
	opacity: .7;
	font-size: 13px;
	z-index: 9;
}

.chatitem .conversation-actions{
	right: 15px;
    font-size: 12px;
    opacity: 1;
    position: absolute;
}

.chatitem .conversation-actions .dropdown-menu{
	border-radius: 10px;
	padding: 0;
}

.chatitem .conversation-actions .dropdown-menu .dropdown-item{
	padding: 6px 10px;
	font-size: 14px;
}
.chatitem .conversation-actions .dropdown-menu .dropdown-item svg{
	margin-right: 5px;
}		
.chatitem .conversation-actions .btn{
    margin: 0 10px;
    padding: 0;
}

.type-admin .conversation-text > .ctext-wrap i[data-id]{
	color: #d63939 !important;
}

.type-admin .chat-avatar .avatar{
	background: #d63939;
	color: #fff;
}

.type-leader .conversation-text > .ctext-wrap i[data-id]{
	color: #2fb344 !important;
}

.type-leader .chat-avatar .avatar{
	background: #2fb344;
	color: #fff;
}

.tab-pane{
	padding: 0;
}
#chat-form{
	margin: 0;
}

#chat-form textarea{  
  display: block;
  box-sizing: padding-box;
  overflow: hidden;

  padding: 10px;
  width: 100%;
  font-size: 14px;
  border-radius: 6px;
  box-shadow: 2px 2px 8px rgba(black, .3);
  border: 0;
  
}

#chat-form textarea:focus{
    border: none;
    outline: none;
  }

.app-search{
	padding: 0 15px;
	width: 100%;
}

.groupitem[data-typevalue="hard"]{
	background: #f7dc6d;
}

.groupitem[data-typevalue="news"]{
	background: #6da7f8;
}

.emojionearea .emojionearea-editor{
	min-height: 2.6em !important;
	padding-right: 90px !important; 
}

.emojionearea .emojionearea-button{
	top: 6px !important;
}

.replymessage{
	border-left: 2px #007eff solid;
	margin-bottom: 10px;
	margin-left: 5px;
	display: none;
}

.conversation-reply{
	font-size: 12px;
}

.conversation-reply i{
	color: #007eff;
}

.conversation-reply{
	border-left: 2px #007eff solid;
	margin-bottom: 0px;
	margin-left: 0px;	
	padding-left: 8px;
}

.replymessage .chatitem{
	margin-bottom: 0;
}

.chatlisting .card-body{
	display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.chatlisting .card-body{
	padding-top: 0;
	max-height: calc(100vh - 219px);
}

.chatlisting .card{
	height: calc(100vh - 163px);
}

.fileupload{
	position: absolute;
	z-index: 9;
	top: 8px;
    right: 39px;
    cursor: pointer;
}

.canned-response{
	position: absolute;
	z-index: 9;
	top: 8px;
    right: 65px;
}

.giphy-search{
	position: absolute;
	z-index: 9;
	top: 10px;
    right: 90px;			
}

.giphy-search svg{
	fill: #adadad;
}
.canned-response .icon{
	color: #adadad;;
}

.chatinputparent{
	position: relative;
}

.fileupload .icon{
	color: #adadad;;
}

.filelink{
    text-decoration: underline;
    font-size: 11px;
}

.chatitem .badge{
	margin-left: 5px;
	padding: 0 3px;
	margin-top: -2px;
	line-height: 10px;
	font-size: 10px;
}

.group-text{
	background: rgba(247,103,7,.1)!important;
	color: #f76707!important;
	padding: 15px !important; 
	font-size: 13px; 
	display: none;
}

.chat-center .group-messages{
	position: relative;
	height: calc(100vh - 195px);
	padding: 0;
    display: flex;
	flex-direction: column;
}

.chatitem{
	padding: 5px 15px;
	position: relative;
}

.chatitem p{
	padding-right: 30px;
}

.chat-empty{
	height: calc(100vh - 200px;);
}

.chat-empty > div{
	height: 100%;
}

.chat-empty-search{
	height: calc(100vh - 200px;);
}

.chat-empty-search > div{
	height: 100%;
}

.btn-back-sidebar{
	display: none;
}

.chat-loader{
	text-align: center;
	padding: 30px 0;
}

.chat-search p strong{
	text-decoration: underline;
	color: #780202;
}

@media (max-width: 569px) {
	.chatitem .chat-avatar{
		display: none;
	}
	.chatitem p{
		font-size: 13px;
	}
	.container-xl{
		padding: 0;
	}
	.page-body.mt-2{
		margin-top: -1px !important;
	}
	.chat__groups{
		max-height: calc(100vh - 125px)
	}
	
	.chat-center .group-messages{
		height: calc(100vh - 116px);
	}
	.chat__sidebar{
		margin: 0;
		padding: 0;
	}
	.chat-center{
		margin: 0;
		padding: 0;
	}
	
	.mute-off span, .mute-on span, .conversation-edit span{
		display: none;
	}
	
	.mute-off svg, .mute-on svg, .conversation-edit svg{
		margin: 0 !important;
	}
	
	.mute-off, .mute-on, .conversation-edit{
		padding: 7px 10px;
	}
	
	.conversation-subchat{
		display: none;
	}
	
	.chatitem i[data-id]{
		width: 100%;
		display: inline-block;
	}
	
	.chatitem .bg-orange-lt{
		margin-left: 0;
	}
}  

.chat-center .conversation-title{
    white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	padding: 0 12px 0 0;
}
.chat-search .card-body{
	padding: 0;
}

.chatitem .conversation-text i[data-id], .chatitem .chat-avatar .avatar{
    cursor: pointer;
}

.chat-scrolldown{
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    bottom: 100px;
    z-index: 19;
    display: none;
}

.chat-scrolldown .btn{
    border-radius: 40px;
}

.lastmessage{
    width: 100%;
    padding: 15px 0;
    position: relative;
}
.lastmessage span{
    z-index: 9;
    position: absolute;
    padding: 0 10px;
    background: #fff;
    left: 50%;
    transform: translatex(-50%);
    top: 0;
    text-transform: uppercase;
	font-size: 12px;
	font-weight: 900;
}
.lastmessage:after{
    width: 100%;
    height: 2px;
    background: #1265ff;
    content: "";
    position: absolute;
    top: 8px;
}

.chat-search .chatitem{
    padding: 10px 15px;
    cursor: pointer;
}    

.chat-search .chatitem:hover{
    background: #ccc;
}

.chat-search .chatitem .created{
    top: 10px;
    right: 15px;
}

.chatitem--search{
	animation: blinkingBackground 2s infinite;
}

@keyframes blinkingBackground{
	0%		{ background-color: #c5d6ff;}
	50%	        { background-color: #fff;}
	100%		{ background-color: #c5d6ff;}		
}

.filelink{
	text-decoration: none;
	margin-top: 10px;		
}

.filelink .avatar{
	background: #b3b3b3 !important;
}

.filelink .text-muted span{
	color: #0a57bd;
	text-decoration: underline;
}

.badge-chatcount svg, .badge-qa svg, .badge-work svg{
	position: absolute;
	left: 0;
	height: 15px;
	width: 15px;
}

.badge-chatcount, .badge-qa, .badge-work{
	padding-left: 19px !important;
	position: relative;
}

.divide-y>:not(template)~:not(template).chat-group--child{
	padding-left: 55px !important;
	position: relative;
	border-top: 0 !important;
	border: none !important;
}

.chat-group--child:before{
	content: "";
	width: 1px;
	height: 100%;
	background: rgba(101,109,119,.16);	
	position: absolute;
	left: 33px;
	top: -26px;
}

.chat-group .avatar{
	position: relative;
	z-index: 2;
}

.chat-group--child:after{
	content: "";
    position: absolute;
    left: 33px;
    z-index: 0;
	bottom: 26px;
	width: 22px;
	height: 1px;
    background: rgba(101,109,119,.16);
}	

.chat-group--child .chat-group-title{
	font-size: 14px;
}	
.chat-group--child .text-muted{
	font-size: 12px;
}	


.conversation-actions .dropend:hover .dropdown-menu{
	display: block;
}

.pickanswer{
	background: #fff;
	border-radius: 10px;
	width: 100%;
	margin-bottom: 10px;
	cursor: pointer;
	padding: 10px;
}

.pickanswer:hover{
	background: #e2fbff;
	border-radius: 10px;
	width: 100%;
	margin-bottom: 10px;
	cursor: pointer;
	padding: 10px;
}
.giphy-modal{
	box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
	position: absolute;
	right: 30px;
	bottom: 95px;
	width: 50%;
	background: #fff;
	height: 50%;
	overflow: scroll;
	overflow-x: hidden;
	z-index: 9;
	display: none;
}
.giphy-modal img{
	width: auto;
	height: 100px;
}

.giphy-gifs__inside{
	width: 25%;
	overflow: hidden;
	text-align: center;
	object-fit: cover;
}
.giphy-gifs{
	display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.giphy-gifs img{
	object-fit: cover;
	width: 100%;
}

.giphy-modal__search{
	padding: 10px;
}

.group-text .col-md{
	display: flex;
	align-items: center;
}

.typing{
	display: none;
    padding: 5px 15px;
    font-size: 13px;
    border-radius: 0;
}

.question{
	display: none;
	position: absolute;
	width: 100%;
	position: absolute;
    width: 100%;
    left: 0;
    bottom: 52px;
    z-index: 999;
    border-radius: 0;
}

.chatitem p{
	word-break: break-word;
}

.card-header .conversation-options .dropdown-menu .dropdown-item svg {
	margin-right: 5px;
}

.card-header .conversation-options .dropdown-menu .dropdown-item {
	padding: 6px 10px;
	font-size: 14px;
}

.dropdown-item .avatar{
	width: 15px !important;
	height: 15px !important;
	margin-right: -3px !important;
	margin-bottom: 0 !important;
	font-size: 8px !important;
}

.dropdown-item .avatar-list{
	margin: 0 0 0 auto !important;
}