#chat-frame {
    width: 100%;
	position:relative;
    min-width: 360px;
    max-width: 1320px;
    height: 92vh;
    min-height: 300px;
    max-height: 720px;
    background: #212121;
    margin: auto;
    display: flex;
    box-shadow: 0px 9px 7px rgb(0 0 0 / 35%);
}
div#sidepanel{
	font-size: 16px;
    letter-spacing: 0.1px;
}
#chat-frame p{
	margin-bottom: 0;
}
@media screen and (max-width: 360px) {
  #chat-frame {
    width: 100%;
    height: 100vh;
	      
  }
}
@media screen and (max-width: 450px){
	#chat-frame {
	min-width: 280px;	
	}
}
#chat-frame #sidepanel {
    float: left;
    width: 100%;
    height: 100%;
    background: #212121;
    color: #f5f5f5;
    overflow: hidden;
    position: relative;
    border-right: solid 1px #3a3a3a;
    max-width: 340px;
}
@media screen and (max-width: 735px) {
  #chat-frame #sidepanel {
    width: 58px;
    min-width: 58px;
  }
}
#chat-frame #sidepanel #profile {
    width: 100%;
    padding: 7px 15px 6px;
}
@media screen and (max-width: 735px) {
  #chat-frame #sidepanel #profile {
    width: 100%;
    margin: 0 auto;
    padding: 5px 0 0 0;
    background: #32465a;
  }
}
#chat-frame #sidepanel #profile.expanded .wrap {
  height: 210px;
  line-height: initial;
}
#chat-frame #sidepanel #profile.expanded .wrap p {
  margin-top: 20px;
}
#chat-frame #sidepanel #profile.expanded .wrap i.expand-button {
  -moz-transform: scaleY(-1);
  -o-transform: scaleY(-1);
  -webkit-transform: scaleY(-1);
  transform: scaleY(-1);
  filter: FlipH;
  -ms-filter: "FlipH";
}
#chat-frame #sidepanel #profile .wrap {
  height: 60px;
  line-height: 60px;
  overflow: hidden;
  -moz-transition: 0.3s height ease;
  -o-transition: 0.3s height ease;
  -webkit-transition: 0.3s height ease;
  transition: 0.3s height ease;
}
@media screen and (max-width: 735px) {
	#chat-frame .content .contact-profile{
		    height: 61px !important;
	}
  #chat-frame #sidepanel #profile .wrap {
    height: 55px;
  }
}
#chat-frame #sidepanel #profile .wrap img {
    width: 50px;
	min-width:50px;
    border-radius: 50%;
    padding: 3px;
    border: 2px solid #e74c3c;
    height: 50px;
    float: left;
    cursor: pointer;
    -moz-transition: 0.3s border ease;
    -o-transition: 0.3s border ease;
    -webkit-transition: 0.3s border ease;
    transition: 0.3s border ease;
}
@media screen and (max-width: 735px) {
    #chat-frame #sidepanel #profile .wrap img {
        width: 40px;
        margin-left: 0;
        min-width: 40px;
        height: 40px;
        margin-left: 9px;
    }
}
#chat-frame #sidepanel #profile .wrap img.online {
  border: 2px solid rgb(16 253 239);
}
#chat-frame #sidepanel #profile .wrap img.away {
  border: 2px solid #f1c40f;
}
#chat-frame #sidepanel #profile .wrap img.busy {
  border: 2px solid #e74c3c;
}
#chat-frame #sidepanel #profile .wrap img.offline {
  border: 2px solid #95a5a6;
}
#chat-frame #sidepanel #profile .wrap p {
  float: left;
  margin-left: 15px;
  margin-bottom: 0;
}
@media screen and (max-width: 735px) {
  #chat-frame #sidepanel #profile .wrap p {
    display: none;
  }
}
#chat-frame #sidepanel #profile .wrap i.expand-button {
  float: right;
  margin-top: 23px;
  font-size: 0.8em;
  cursor: pointer;
  color: #435f7a;
}
@media screen and (max-width: 735px) {
  #chat-frame #sidepanel #profile .wrap i.expand-button {
    display: none;
  }
}
#chat-frame #sidepanel #profile .wrap #status-options {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  width: 150px;
  margin: 70px 0 0 0;
  border-radius: 6px;
  z-index: 99;
  line-height: initial;
  background: #435f7a;
  -moz-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
}
@media screen and (max-width: 735px) {
  #chat-frame #sidepanel #profile .wrap #status-options {
    width: 58px;
    margin-top: 57px;
  }
}
#chat-frame #sidepanel #profile .wrap #status-options.active {
  opacity: 1;
  visibility: visible;
  margin: 75px 0 0 0;
}
@media screen and (max-width: 735px) {
	.profile_user_outer .user_details{
		display:none;
	}
  #chat-frame #sidepanel #profile .wrap #status-options.active {
    margin-top: 62px;
  }
}
#chat-frame #sidepanel #profile .wrap #status-options:before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 8px solid #435f7a;
  margin: -8px 0 0 24px;
}
@media screen and (max-width: 735px) {
  #chat-frame #sidepanel #profile .wrap #status-options:before {
    margin-left: 23px;
  }
}
#chat-frame #sidepanel #profile .wrap #status-options ul {
  overflow: hidden;
  border-radius: 6px;
}
#chat-frame #sidepanel #profile .wrap #status-options ul li {
  padding: 15px 0 30px 18px;
  display: block;
  cursor: pointer;
}
@media screen and (max-width: 735px) {
  #chat-frame #sidepanel #profile .wrap #status-options ul li {
    padding: 15px 0 35px 22px;
  }
}
#chat-frame #sidepanel #profile .wrap #status-options ul li:hover {
  background: #496886;
}
#chat-frame #sidepanel #profile .wrap #status-options ul li span.status-circle {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 5px 0 0 0;
}
@media screen and (max-width: 735px) {
  #chat-frame #sidepanel #profile .wrap #status-options ul li span.status-circle {
    width: 14px;
    height: 14px;
  }
}
#chat-frame #sidepanel #profile .wrap #status-options ul li span.status-circle:before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  margin: -3px 0 0 -3px;
  background: transparent;
  border-radius: 50%;
  z-index: 0;
}
@media screen and (max-width: 735px) {
  #chat-frame #sidepanel #profile .wrap #status-options ul li span.status-circle:before {
    height: 18px;
    width: 18px;
  }
}
#chat-frame #sidepanel #profile .wrap #status-options ul li p {
  padding-left: 12px;
}
@media screen and (max-width: 735px) {
  #chat-frame #sidepanel #profile .wrap #status-options ul li p {
    display: none;
  }
}
#chat-frame #sidepanel #profile .wrap #status-options ul li#status-online span.status-circle {
  background: #2ecc71;
}
#chat-frame #sidepanel #profile .wrap #status-options ul li#status-online.active span.status-circle:before {
  border: 1px solid #2ecc71;
}
#chat-frame #sidepanel #profile .wrap #status-options ul li#status-away span.status-circle {
  background: #f1c40f;
}
#chat-frame #sidepanel #profile .wrap #status-options ul li#status-away.active span.status-circle:before {
  border: 1px solid #f1c40f;
}
#chat-frame #sidepanel #profile .wrap #status-options ul li#status-busy span.status-circle {
  background: #e74c3c;
}
#chat-frame #sidepanel #profile .wrap #status-options ul li#status-busy.active span.status-circle:before {
  border: 1px solid #e74c3c;
}
#chat-frame #sidepanel #profile .wrap #status-options ul li#status-offline span.status-circle {
  background: #95a5a6;
}
#chat-frame #sidepanel #profile .wrap #status-options ul li#status-offline.active span.status-circle:before {
  border: 1px solid #95a5a6;
}
#chat-frame #sidepanel #profile .wrap #expanded {
  padding: 100px 0 0 0;
  display: block;
  line-height: initial !important;
}
#chat-frame #sidepanel #profile .wrap #expanded label {
  float: left;
  clear: both;
  margin: 0 8px 5px 0;
  padding: 5px 0;
}
#chat-frame #sidepanel #profile .wrap #expanded input {
  border: none;
  margin-bottom: 6px;
  background: #32465a;
  border-radius: 3px;
  color: #f5f5f5;
  padding: 7px;
  width: calc(100% - 43px);
}
#chat-frame #sidepanel #profile .wrap #expanded input:focus {
  outline: none;
  background: #435f7a;
}
#chat-frame #sidepanel #search {
  border-top: 1px solid #32465a;
  border-bottom: 1px solid #32465a;
  font-weight: 300;
}
@media screen and (max-width: 735px) {
  #chat-frame #sidepanel #search {
    display: none;
  }
}
#chat-frame #sidepanel #search label {
  position: absolute;
  margin: 10px 0 0 20px;
}
#chat-frame #sidepanel #search input {
  font-family: "proxima-nova", "Source Sans Pro", sans-serif;
  padding: 10px 0 10px 46px;
  width: calc(100% - 25px);
  border: none;
  background: #32465a;
  color: #f5f5f5;
}
#chat-frame #sidepanel #search input:focus {
  outline: none;
  background: #435f7a;
}
#chat-frame #sidepanel #search input::-webkit-input-placeholder {
  color: #f5f5f5;
}
#chat-frame #sidepanel #search input::-moz-placeholder {
  color: #f5f5f5;
}
#chat-frame #sidepanel #search input:-ms-input-placeholder {
  color: #f5f5f5;
}
#chat-frame #sidepanel #search input:-moz-placeholder {
  color: #f5f5f5;
}
#chat-frame #sidepanel #contacts {
  height: calc(100% - 177px);
  overflow-y: scroll;
  overflow-x: hidden;
}
@media screen and (max-width: 735px) {
  #chat-frame #sidepanel #contacts {
    height: calc(100% - 149px);
    overflow-y: scroll;
    overflow-x: hidden;
  }
  #chat-frame #sidepanel #contacts::-webkit-scrollbar {
    display: none;
  }
}
#chat-frame #sidepanel #contacts.expanded {
  height: calc(100% - 334px);
}
#chat-frame #sidepanel #contacts::-webkit-scrollbar {
  width: 2px;
  background: #2c3e50;
}
#chat-frame #sidepanel #contacts::-webkit-scrollbar-thumb {
  background-color: #243140;
}
#chat-frame #sidepanel #contacts ul li.contact {
    position: relative;
    padding: 15px 10px;
    font-size: 0.9em;
    cursor: pointer;
    border-radius: 15px;
}
.profile_user_outer .user_details .user_name {
    display: flex;
    margin: 0 0 3px;
}
.profile_user_outer .user_details .user_name span.l-datetime {
    font-size: 12px;
    color: #7f7f7f;
    line-height: normal;
    width: 70px;
    text-align: right;
}
@media screen and (max-width: 735px) {
    #chat-frame #sidepanel #contacts ul li.contact {
        padding: 0;
		        margin-bottom: 12px;
    }
	#chat-frame #sidepanel #contacts ul {
		padding: 10px !important;
	}
}
#chat-frame #sidepanel #contacts ul li.contact:hover {
    background: #313131;
}
#chat-frame #sidepanel #contacts ul {
    padding: 0 10px;
}
#chat-frame #sidepanel #contacts ul li.contact.active span.contact-status {
    position: absolute;
    right: 0;
    bottom: 6px;
    border: none !important;
    height: 10px;
    width: 10px;
    border-radius: 50%;
}
li.contact.active.active-list {
    background: #313131;
}
#chat-frame #sidepanel #contacts ul li.contact .wrap {
  width: 100%;
  position: relative;
}
@media screen and (max-width: 735px) {
  #chat-frame #sidepanel #contacts ul li.contact .wrap {
    width: 100%;
  }
}
.profile_user_outer {
    display: flex;
    align-items: center;
}
.user_details *{
	line-height: normal;
}
.profile_user_outer .user_details {
    width: calc(100% - 50px);
    padding-left: 10px;
}
.profile_user_outer .user_details .user_name p.name {
    font-size: 16px;
    width: calc(100% - 70px);
    padding-right: 5px;
}
.line-1-text {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.user_profile {
    width: 50px;
    height: 50px;
    position: relative;
    min-width: 50px;
}
.user_profile img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
#chat-frame #sidepanel #contacts ul li.contact .wrap span.online {
  background: rgb(16 253 239);
}
#chat-frame #sidepanel #contacts ul li.contact .wrap span.away {
  background: #f1c40f;
}
#chat-frame #sidepanel #contacts ul li.contact .wrap span.busy {
  background: #e74c3c;
}

#chat-frame #sidepanel #bottom-bar {
  position: absolute;
  width: 100%;
  bottom: 0;
}
#chat-frame #sidepanel #bottom-bar button {
  float: left;
  border: none;
  width: 50%;
  padding: 10px 0;
  background: #32465a;
  color: #f5f5f5;
  cursor: pointer;
  font-size: 0.85em;
  font-family: "proxima-nova", "Source Sans Pro", sans-serif;
}
@media screen and (max-width: 735px) {
	.user_profile{
		    width: 35px;
		height: 35px;
		position: relative;
		min-width: 35px;
	}
  #chat-frame #sidepanel #bottom-bar button {
    float: none;
    width: 100%;
    padding: 15px 0;
  }
}
#chat-frame #sidepanel #bottom-bar button:focus {
  outline: none;
}
#chat-frame #sidepanel #bottom-bar button:nth-child(1) {
  border-right: 1px solid #2c3e50;
}
@media screen and (max-width: 735px) {
  #chat-frame #sidepanel #bottom-bar button:nth-child(1) {
    border-right: none;
    border-bottom: 1px solid #2c3e50;
  }
}
#chat-frame #sidepanel #bottom-bar button:hover {
  background: #435f7a;
}
#chat-frame #sidepanel #bottom-bar button i {
  margin-right: 3px;
  font-size: 1em;
}
@media screen and (max-width: 735px) {
  #chat-frame #sidepanel #bottom-bar button i {
    font-size: 1.3em;
  }
}
@media screen and (max-width: 735px) {
  #chat-frame #sidepanel #bottom-bar button span {
    display: none;
  }
}
#chatpop #chat-frame .content {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    z-index: 99;
    left: 0;
    right: 0;
    top: 0;
    background: #212121;
    display: none;
}
#chatpop  #chat-frame #sidepanel{
	    float: unset;
	    max-width: 100%;
}
#chatpop #chat-frame{
	height: 50vh;
}
#chat-frame .content {
  float: right;
  width: 60%;
  height: 100%;
  overflow: hidden;
  position: relative;
}
@media screen and (max-width: 735px) {
  #chat-frame .content {
    width: calc(100% - 58px);
/*     min-width: 300px !important; */
  }
}
@media screen and (min-width: 900px) {
  #chat-frame .content {
    width: calc(100% - 340px);
  }
}
#chat-frame .content .contact-profile {
    width: 100%;
    height: 74px;
    line-height: 60px;
    background: #212121;
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 15px;
    font-size: 16px;
}
#chat-frame .content .contact-profile img {
    width: 40px;
    border-radius: 50%;
    float: left;
    height: 40px;
    margin: 0;
}
#chat-frame .content .contact-profile p {
  float: left;
}
#chat-frame .content .contact-profile .social-media {
  float: right;
}
#chat-frame .content .contact-profile .social-media i {
  margin-left: 14px;
  cursor: pointer;
}
#chat-frame .content .contact-profile .social-media i:nth-last-child(1) {
  margin-right: 20px;
}
#chat-frame .content .contact-profile .social-media i:hover {
  color: #435f7a;
}
#chat-frame .content .messages {
    height: auto;
    min-height: calc(100% - 112px);
    max-height: calc(100% - 112px);
    overflow-y: scroll;
    overflow-x: hidden;
}
.emojionearea {
    border: none;
}
.emojionearea .emojionearea-editor {
    display: block;
    height: auto;
    min-height: 50px;
    max-height: 50px;
    overflow: auto;
    padding: 6px 24px 6px 12px;
    line-height: 1.42857143;
    font-size: inherit;
    color: #fff;
    background-color: #313131;
    border: 0;
    border: none;
    outline: none !important;
    box-shadow: none !important;
    margin-right: 1px;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
@media screen and (max-width: 735px) {
  #chat-frame .content .messages {
    max-height: calc(100% - 105px);
  }
	.emojionearea-editor{
		font-size:12px;
		padding:15px 7px !important;
	}
}
#chat-frame .content .messages::-webkit-scrollbar {
  width: 8px;
  background: rgba(0, 0, 0, 0);
}
#chat-frame .content .messages::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
}
#chat-frame .content .messages ul li {
    display: inline-block;
    clear: both;
    float: left;
    margin: 15px 15px 5px 15px;
    font-size: 0.9em;
}
#chat-frame .content .messages ul li:nth-last-child(1) {
  margin-bottom: 20px;
}
/* #chat-frame .content .messages ul li.sent img {
  margin: 6px 8px 0 0;
} */
.emojionearea .emojionearea-button{
	right: 10px !important;
    top: 12px !important;
}
/* .emojionearea .emojionearea-editor:empty:before{
	    top: 10px;
    position: relative;
} */
.emojionearea-editor {
    display: flex !important;
    align-items: center;
	flex-wrap:wrap;
	    padding: 15px 15px !important;
}
#chat-frame .content .messages ul li.sent img {
    object-fit: cover;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.5));
}
#chat-frame .content .messages ul li.sent p {
    background: #1a71d0;
    color: #f5f5f5;
    line-height: normal;
    max-width: 540px;
    font-size: 14px;
}
#chat-frame .content .messages ul li.replies {
    float: right;
}
#chat-frame .content .messages ul li.replies img {
  margin: 6px 0 0 8px;
}
#chat-frame .content .messages ul li.replies p {
  background: #363636;
  float: right;
  font-size: 14px;
}
#chat-frame .content .messages ul li img {
  width: 22px;
  border-radius: 50%;
}
#chat-frame .content .messages ul li p {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 20px;
  line-height: 130%;
}

#chat-frame .content .message-input {
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 99;
}
#chat-frame .content .message-input .wrap {
  position: relative;
}
#chat-frame .content .message-input .wrap input {
  font-family: "proxima-nova", "Source Sans Pro", sans-serif;
  float: left;
  border: none;
  width: calc(100% - 90px);
  padding: 11px 32px 10px 8px;
  font-size: 0.8em;
  color: #32465a;
}

#chat-frame .content .messages ul li.chatheaderrow {
    width: calc(100% - 30px);
    max-width: unset;
}
#chat-frame .content .messages ul li.chatheaderrow p.msg-text {
    width: 100%;
    border: 1px solid #10fdef;
    font-size: 16px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    font-weight: 500;
    background: #363636;
    max-width: unset;
}
.chatheaderrow span.msginfo > span {
    display: none;
}
.chatheaderrow span.msginfo {
    display: block !important;
    width: 100%;
    text-align: right;
}

@media screen and (max-width: 735px) {
  #chat-frame .content .message-input .wrap input {
    padding: 15px 32px 16px 8px;
  }
}
#chat-frame .content .message-input .wrap input:focus {
  outline: none;
}
#chat-frame .content .message-input .wrap .attachment {
  position: absolute;
  right: 60px;
  z-index: 4;
  margin-top: 10px;
  font-size: 1.1em;
  color: #435f7a;
  opacity: 0.5;
  cursor: pointer;
}
@media screen and (max-width: 735px) {
  #chat-frame .content .message-input .wrap .attachment {
    margin-top: 17px;
    right: 65px;
  }
}
#chat-frame .content .message-input .wrap .attachment:hover {
  opacity: 1;
}
#chat-frame .content .message-input .wrap button {
  float: right;
  border: none;
  width: 50px;
  padding: 12px 0;
  cursor: pointer;
  background: #363636;
  color: #f5f5f5;
}
@media screen and (max-width: 735px) {
  #chat-frame .content .message-input .wrap button {
    padding: 10px 0;
  }
	#chatpop #chat-frame #sidepanel #contacts ul li.contact{
		        padding: 10px;
		        margin-bottom: 5px;
	}
	#chatpop #chat-frame #sidepanel{
		width: 100%;
    	min-width: 100%;
	}
	#chatpop .profile_user_outer .user_details .user_name p.name{
		font-size: 12px;
	}
	#chatpop #chat-frame #sidepanel #profile .wrap p {
        display: block;
        font-size: 14px;
    }
	#chatpop .profile_user_outer .user_details{
		display:block;
		
	}
}
#chat-frame .content .message-input .wrap button:hover {
  background: #6d4eec;
}
#chat-frame .content .message-input .wrap button:focus {
  outline: none;
}

.demo-section {
    margin: auto;
    width: 100%;
    height: 100%;
    padding: auto;
    text-align: center;
    margin-top: 0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.demo-section svg {
    width: 200px;
    height: auto;
    margin: 0 0 30px;
    opacity: 0.3;
}
p.startconversation {
    text-align: center;
    margin-top: 20px;
    color: #fff;
}
li.contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.row:after, .row:before {
content: " ";
display: table;
clear: both;
}
.span6 {
float: left;
width: 48%;
padding: 1%;
}

.emojionearea-standalone {
	float: right;
}
.emojionearea .emojionearea-picker.emojionearea-picker-position-right{
	margin-right: 100px !important;
}
.emojionearea .emojionearea-picker{
	top: -230px !important;
}

.divOutside {
	height: 20px;
	width: 20px;
	background-position: -1px -26px;
	background-repeat: no-repeat;
	background-image: url(data:image/png;base64,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);
}
.emojionearea-button{
	opacity:1 !important;
}
.chat-content-section {
	height: 100%;
}
.message-input .wrap{
	display: flex;
}
ul.submessages {
	overflow: hidden;
	overflow-y: auto;
	height: calc(100% - 110px);
}
.emojionearea, .emojionearea.form-control{
	height: 50px !important;
}
div#image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    background: #333;
    align-items: center;
}
div#image-preview img.preview-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
}
img.attachments {
    width: 85px !important;
    height: 100px !important;
    border-radius: unset !important;
}
#message-content-section img.attachments {
    width: 150px !important;
    height: auto !important;
    border-radius: 5px !important;
}
div#profile .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
div#contacts {
    border-top: 1px solid #3a3a3a;
    padding-top: 5px;
} 

.submessages li{
	display: inline-flex !important;
    flex-direction: column;
    align-items: flex-start;
}
.submessages li.replies{
    align-items: end;
}
span.msginfo {
    color: #7b7b7b;
    font-size: 11px;
}
li.contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
span.unseen-new {
    background: #10fdef;
    padding: 0;
    border-radius: 50%;
    color: #000;
    font-weight: 500;
    height: 20px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
.last-massage {
    display: flex;
}
.last-massage span.l-message {
    width: calc(100% - 20px);
    padding-right: 10px;
    font-size: 12px;
    color: #7f7f7f;
    line-height: normal;
}
.lastmessage {
    width: 100%;
    text-align: right;
    padding-right: 10px;
}
#image-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.file-preview {
  position: relative;
  display: inline-block;
  width: 120px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f4f4f4;
}

.preview-image, .default-file-icon {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.file-name {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 5px 10px;
  font-size: 12px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.default-file-icon {
  width: 85px;
  height: 100px;
}

.attc {
  display: inline-block;
  margin: 5px;
}

.attc a {
  display: block;
  margin-top: 5px;
  color: #6d4eec !important;
  text-decoration: none;
  word-wrap: break-word;
}

.attc a:hover{
  text-decoration: underline;
}

.chat-loader-section {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #00000061;
}

/********** Chat Tab css *************/
/* Chat Button */
.footer-chat-section #footer-chat-button {
  position: fixed;
  bottom: 20px;
  right: 0;
/*  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
	z-index:9;
}

.footer-chat-section #footer-chat-button img {
  width: 30px;
  height: 30px;
}

/* Chat Modal */
.footer-chat-section #footer-chat-modal-tab-section {
	position: fixed;
    bottom: 70px;
    right: 20px;
    max-width: 500px;
    max-height: 1000px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 999;
    width: 100%;
/* 	height: calc(100vh - 130px); */
}

.footer-chat-section .chat-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background-color: #6d4eec;
  color: #ffffff;
  font-weight: bold;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.footer-chat-section #chat-close-button {
  cursor: pointer;
  font-size: 25px;
  color: #fff;
  font-weight: 600;
}

.footer-chat-section .chat-modal-content {
  padding: 10px;
  overflow-y: auto;
  height: calc(100% - 40px); /* Adjust content height based on header */
}
button#open-chat-model-btn {
    border: none;
    /*background-color: #6d4eec;*/
    background-color: transparent;
    padding: 6px;
/*    border-radius: 50%;*/
    cursor: pointer;
    /*width: 70px;
    height: 70px;*/
}
div#footer-chat-modal-tab-section .footer-chat-inner-tab-content .chat-system section.chat-section {
  padding: 0px 0px 0px 0px !important;
}
#chat-frame .content .messages ul li{
  max-width: 500px;
}
.contact-profile-with-back {
    display: flex;
    align-items: center;
    border-bottom: solid 1px #3a3a3a;
}
button.backbtn {
    background: transparent;
    border: 0;
    padding: 0;
    width: 50px;
}
button.backbtn svg {
    width: 22px;
    height: 22px;
}
#chatpop #tvadi-user-messages-section.show {
    display: block;
}
/* #open-chat-model-btn .cross{
	display:none;
} */
/* #open-chat-model-btn.active .chaticon-img {
    display: none;
}
#open-chat-model-btn.active .cross {
    display: block;
} */
@media (max-width:1024px){
	.footer-chat-section #footer-chat-modal-tab-section {
/*         left: 20px; */
        width: auto;
    }
}