.loader-full .site-loader.message {
    width: 100%;
    text-align: center;
    left: 0;
    right: 0;
    margin: 0 auto !important;
    z-index: 9999;
    position: fixed;
    height: 100%;
    top: 0;
	background: #fff;
	display: none;
}
.spinner-border {
	position: absolute;
    top: 40%;
	border-right-color: #3d66db;
}

.loader {
	border: 16px solid #f3f3f3;
	border-radius: 50%;
	border-top: 16px solid #3d66db;
	border-bottom: 16px solid #3d66db;
	width: 40px;
    height: 40px;
	-webkit-animation: spin 2s linear infinite;
	animation: spin 2s linear infinite;
	margin: 0 auto;
}

@-webkit-keyframes spin {
	0% {
		-webkit-transform: rotate(0deg);
	}

	100% {
		-webkit-transform: rotate(360deg);
	}
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.all-chats_full .card {
	background: #fff;
	transition: .5s;
	border: 0;
	margin-bottom: 30px;
	border-radius: .55rem;
	position: relative;
	width: 100%;
	box-shadow: 0 1px 2px 0 rgb(0 0 0 / 10%);
	border: 1px solid #eaeaea;
	/*overflow: hidden; */
	height: 425px;
}

.all-chats_full .chat-app .people-list {
	width: 280px;
	position: absolute;
	left: 0;
	top: 0;
	padding: 15px;
	z-index: 7;
	background: #5479bd30;
	/*Remove*/
	height: 425px;
	overflow-y: scroll;
	border-radius: 6px 0px 0px 6px;
}

.all-chats_full h6 {
	margin: 0;
}

.all-chats_full .chat-app .chat {
	margin-left: 280px;
	border-left: 1px solid #eaeaea;
}

.all-chats_full .people-list {
	-moz-transition: .5s;
	-o-transition: .5s;
	-webkit-transition: .5s;
	transition: .5s
}

.all-chats_full .people-list .chat-list li {
	padding: 5px 5px;
	list-style: none;
	border-radius: 3px;
	margin-bottom: 5px;
}

.card.chat-app .list-unstyled {
	padding-bottom: 20px;
}

.all-chats_full .card.chat-app .people-list .dropdown-menu.show {
	left: -34px !important;
}

.chat-header.clearfix ul.nav_prof {
	margin-bottom: 0 !important;
}

.all-chats_full .people-list .chat-list li:hover {
	background: #efefef;
	cursor: pointer
}

.all-chats_full .people-list .chat-list li.active {
	background: #efefef
}

.all-chats_full .people-list .chat-list li .name {
	font-size: 15px
}

.all-chats_full .people-list .chat-list img {
	width: 60px;
	height: 3.8rem;
	border-radius: 50%;
	object-fit: cover;
}
.people-list .chat-list .unread .clearfix {
    background: #efefef;
	box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}

.all-chats_full .people-list img {
	float: left;
	border-radius: 50%
}

.all-chats_full .people-list .about {
	float: left;
	padding-left: 8px
}

.all-chats_full .people-list .status {
	color: #999;
	font-size: 13px
}

.all-chats_full .chat .chat-header {
	padding: 15px 20px;
	border-bottom: 2px solid #f4f7f6
}

.all-chats_full .chat .chat-header img {
	float: left;
	border-radius: 40px;
	width: 44px;
    height: 45px;
}

.all-chats_full .chat .chat-header .chat-about {
	float: left;
	padding-left: 10px
}

.all-chats_full .chat .chat-history {
	padding: 20px;
	border-bottom: 2px solid #fff;
	height: 290px;
	overflow-y: scroll;
}

.all-chats_full .chat .chat-history ul {
	padding: 0
}

.all-chats_full .chat .chat-history ul li {
	list-style: none;
	margin-bottom: 30px
}

.all-chats_full .chat .chat-history ul li:last-child {
	margin-bottom: 0px
}

.all-chats_full .chat .chat-history .message-data {
	margin-bottom: 5px
}

.all-chats_full .chat .chat-history .message-data img {
	border-radius: 50px;
    width: 30px;
    border: 0.1px solid lightgray;
    object-fit: contain;
}

.all-chats_full .chat .chat-history .message-data-time {
	color: #434651;
	padding-left: 6px
}

.all-chats_full .chat .chat-history .message {
	color: #444;
	padding: 5px 20px;
	line-height: 20px;
    font-size: 14px;
	border-radius: 7px;
	display: inline-block;
	position: relative
}

.message img {
	height: 100%;
}

/* .all-chats_full .chat .chat-history .message:after {
	bottom: 100%;
	left: 7%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-bottom-color: #fff;
	border-width: 10px;
	margin-left: -10px
} */
.all-chats_full .chat .chat-history .other-message:after {
	content: '';
    border: solid transparent;
    border-bottom-color: #e8f1f3;
    bottom: -17px;
    right: 3px;
    transform: rotateZ(180deg);
    height: 0;
    width: 0;
    position: absolute;
    border-width: 10px;
}
.all-chats_full .chat .chat-history .my-message:after {
	bottom: 100%;
	left: 30px;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-bottom-color: #fff;
	border-width: 8px;
    margin-left: -25px;
    transform: rotateZ(-1deg);
}
.user-message .message-data {
    padding-right: 5px;
}

.chat-message.clearfix textarea {
    font-size: 12px;
    line-height: 14px;
    /* padding: 4.8px 6px; */
	min-height: calc(3em + (0.75rem + 2px));
}

/* .all-chats_full .chat .chat-history .other-message {
	text-align: right
} */

.chat-history li.clearfix.my-message .my-message {
    background: #efefef;
}

/* .chat-history li.clearfix .my-message {
    width: 100%;
} */
.chat-history .other-message.float-right {
    width: fit-content;
    max-width: 100%;
    box-shadow: 0 0 2rem rgba(0, 0, 0, 0.075), 0rem 1rem 1rem -1rem rgba(0, 0, 0, 0.1);
}
.chat-history .message.my-message {
	width: fit-content;
    max-width: 100%;
    box-shadow: 0 0 2rem rgba(0, 0, 0, 0.075), 0rem 1rem 1rem -1rem rgba(0, 0, 0, 0.1);
}

.chat-history li.clearfix .other-message {
    background: #e8f1f3;
}

.message>img {
	width: 350px;
}


.all-chats_full .chat .chat-message {
	padding: 9px 10px 4px;
	width: 100%;
	float: left;

}

.all-chats_full .online,
.all-chats_full .offline,
.all-chats_full .me {
	margin-right: 2px;
	font-size: 8px;
	vertical-align: middle
}

.all-chats_full .online {
	color: #86c541
}

.all-chats_full .offline {
	color: #e47297
}

.all-chats_full .me {
	color: #1d8ecd
}

.all-chats_full .float-right {
	float: right
}

.all-chats_full .clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0
}

.all-chats_full {
	float: left;
	width: 100%;
}

.all-chats_full .chat-app .chat .hidden-sm.text-right {
	display: flex;
	justify-content: end;
	align-items: center;
}

.all-chats_full .hidden-sm.text-right a {
	margin: 0px 3px;
}

@media only screen and (max-width: 767px) {
	.all-chats_full .chat-app .people-list {
		height: 465px;
		width: 100%;
		overflow-x: auto;
		background: #fff;
		left: -400px;
		display: none;
		z-index: 99;
	}

	.all-chats_full .chat-app .people-list.open {
		left: 0
	}

	.all-chats_full .chat-app .chat {
		margin: 0
	}

	.all-chats_full .chat-app .chat .chat-header {
		border-radius: 0.55rem 0.55rem 0 0
	}

	.all-chats_full .chat-app .chat-history {
		height: 300px;
		overflow-x: auto
	}
}

@media only screen and (min-width: 768px) and (max-width: 992px) {
	.all-chats_full .chat-app .chat-list {
		height: 650px;
		overflow-x: auto
	}

	.all-chats_full .chat-app .chat-history {
		overflow-x: auto
	}
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) {
	.all-chats_full .chat-app .chat-list {
		height: 480px;
		overflow-x: auto
	}

	.all-chats_full .chat-app .chat-history {
		/* height: calc(100vh - 350px); */
		overflow-x: auto
	}
}



#imgViewer::-webkit-scrollbar {
    -webkit-appearance: none;
    height: 10px;
}
#imgViewer::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: rgba(0,0,0,.5);
    box-shadow: 0 0 1px rgba(255,255,255,.5);
}
.message .chat-pop-img img {
    width: 100%;
    height: 160px;
}
.modal-body div#imgViewer img {
    width: 100%;
    min-height: 300px;
    max-height: 400px;
    object-fit: contain;
}
span.message-data-time {
    display: none;
}
.image-modal-pop {
	top: 95px;
}
.image-modal-pop .modal-header {
    position: absolute;
    right: 0;
    z-index: 9;
	border: none;
}
.image-modal-pop .modal-header button.close {
    padding: 0px 0 0 0;
    font-size: 30px;
    line-height: normal;
    margin-top: -25px;
}
.image-modal-pop .modal-lg {
    max-width: 500px;
}
.user_chat-head {
    align-items: center;
}
button.chat_clear {
    border: none;
    font-size: 16px;
    color: #fff;
    background: #3d66db;
    padding: 6px 10px;
    border-radius: 4px;
    font-family: 'latoregular';
}
