*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
}

@font-face {
  font-family: "Noto Sans Bengali SemBd";
  src: url("../fonts/NotoSansBengali-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Noto Sans Bengali";
  src: url("../fonts/NotoSansBengali-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Noto Sans Bengali";
  src: url("../fonts/NotoSansBengali-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Noto Sans Bengali";
  src: url("../fonts/NotoSansBengali-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
}

.logo {
  height: 35px;
}

.text-center {
  text-align: center;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

.flex,
.header ul,
.friend,
.friend-action,
.search-box,
.filter-section,
.btn-group,
.otp-input,
.otp-link,
.filter-group ul,
.voice-profile ul,
.pick-avatar ul,
.filter-box,
.chatapp-container,
.chatapp-user-list,
.chatapp-user-list ul li,
.chatapp-user-header,
div[data-identifier="_chat-head-box"],
.friend-action a.icon-messenger {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

body {
  margin: 0 auto;
  padding: 0;
  background: #ECF1F2;
  font-family: "Noto Sans Bengali", "Rubik", Arial, sans-serif;
}

.header {
  padding: 10px 15px;
  background: linear-gradient(90deg, rgba(114,39,160,1) 0%, rgba(162,45,172,1) 100%);
  text-align: center;
  position: relative;

}

.header ul {
  padding: 0;
  margin: 0;
  align-items: center;
  justify-content: space-between;
}

.header ul>*:only-child {
  margin: auto;
}

.header ul li,
.header ul li a {
  color: #fff;
}

.header ul li:nth-child(2) {
  font-size: 20px;
  font-weight: 500;
  margin: auto;
}

.header .loud {
  width: 30px;
  height: 40px;
  transition: all 0.3s linear;
  background: url(../images/speaker-white-animate.svg) no-repeat center;
  display: block;
}

.header .mute {
  background: url(../images/speaker-white.svg) no-repeat center 10px;
}

.header .logo {
  height: 40px;
}

.header a img {
  vertical-align: bottom;
}


.search-box {
  padding: 15px 15px 0;
  align-items: center;
}

.chatapp-user-search input,
.search-box input {
  background: url(../images/search-btn.svg) no-repeat 10px center;
  -webkit-background-size: 20px;
  background-size: 20px;
}

.search-box input {
  width: 100%;
  background: url(../images/search-btn.svg) no-repeat 10px center;
  -webkit-background-size: 20px;
  background-size: 20px;
  padding: 12px 10px 12px 30px;
  border: 1px solid #C3CED8;
  border-radius: 4px;
  color: #0e254d;
  font-size: 14px;
  font-family: "Rubik", "Noto Sans Bengali", sans-serif;
  -webkit-transition: all 0.3s linear;
  transition: all 0.3s linear;
}

.search-box input::placeholder {
  color: #0e254d;
}

.search-box input:focus {
  border-color: #ADC0D0;
  outline: 0;
}

.filter-section {
  width: 45px;
  height: 42px;
  background: #702B9A;
  border: 1px solid #702B9A;
  border-radius: 4px;
  margin-left: 15px;
  -webkit-box-shadow: 0 0 5px -3px rgba(88, 138, 221, 0.5);
  box-shadow: 0 0 5px -3px rgba(88, 138, 221, 0.5);
  outline: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.filter-section svg {
  height: 36px;
  width: 28px;
}

.avatar {
  width: 50px;
  height: 50px;
  position: relative;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50px;
}


.play-voice {
  width: 24px;
  height: 24px;
  position: absolute;
  background: #ECF1F2 url(../images/speaker-icon.svg) no-repeat center center;
  -webkit-background-size: 60%;
  background-size: 60%;
  border-radius: 50%;
  right: -12px;
  bottom: 0;
}

.audio-loader {
  background: #ECF1F2 url(../images/audio-loader.svg) no-repeat center center;
  -webkit-background-size: 60%;
  background-size: 60%;
}

.pause-voice {
  background: #DFE5E6 url(../images/speaker-icon-animate.svg) no-repeat center center;
  -webkit-background-size: 60%;
  background-size: 60%;
}


.friends {
  padding: 15px;
  background: #ECF1F2;
}

.friends h3.common-heading {
  margin: 0 0 10px;
  font-size: 20px;
}

.friends p.common-heading {
  margin: 30px 0 0;
}

.friend {
  background: #fff;
  text-align: left;
  border-radius: 4px;
  padding: 10px 10px;
  position: relative;
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.friend:not(:last-child) {
  margin-bottom: 10px;
}

.friend .avatar {
  margin-right: 20px;
}

.friend ul {
  padding: 0;
  margin: 0;
  width: calc(100% - 60px);
}

.friend ul li {
  font-size: 13px;
  color: #6D6D6D;
}

.friend ul li a {
  color: #26292E;
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  max-width: 65%;
}

.friend ul li strong {
  font-weight: 500;
}

.friend ul li svg {
  fill: #2366DB;
  height: 14px;
  width: 14px;
  vertical-align: middle;
}

.friend-action {
  position: absolute;
  height: 100%;
  right: 0;
  z-index: 9;
}

.friend-action a {
  width: 40px;
  height: 100%;
  overflow: hidden;
}

.friend-action a:nth-child(2) {
  margin-left: 10px;
}

/* .friend-action a.icon-messenger {
  background: url(../images/message-icon.svg) no-repeat left center;
  -webkit-background-size: 32px;
  background-size: 32px;
  padding: 0 10px 0 0;
  width: 44px;
} */

.friend-action a.icon-messenger {
  padding: 0 10px 0 0;
  width: 44px;
}

.friend-action a.icon-messenger img {
  margin: auto;
  width: 30px;
  height: 30px;
}

.friend-action a.icon-remove {
  background: url(../images/icon-remove.svg) no-repeat center;
  -webkit-background-size: 36px;
  background-size: 36px;
}

/*----*/

.main-content {
  padding: 2px 0 75px;
  height:100vh;
  overflow:scroll;
}


.inner-content {
  padding: 0 15px;
}


.modal {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: RGBa(236, 241, 242, 0.9);
  z-index: 9999;
}

.no-balance{
  background: rgba(0, 0, 0, 0.85);
  text-align: center;
}

.modal-inner {
  width: 640px;
  padding: 15px;
  background: #fff;
  border-radius: 5px;
  position: absolute;
  top: 20px;
  right: 0;
  left: 0;
  margin: 0 auto;
  -webkit-box-shadow: 0 0 35px -10px rgba(6, 44, 111, 0.2);
  box-shadow: 0 0 35px -10px rgba(6, 44, 111, 0.2);
}

.no-balance .modal-inner {
	width: 480px;
	padding: 30px 15px 20px;
	top: 40%;
	transform: translateY(-40%);
}

.modal-close {
  width: 36px;
  height: 36px;
  position: absolute;
  right: 15px;
  top: 15px;
  background: #263238;
  border-radius: 50px;
  display: flex;
}

.modal-close img {
  margin: auto;
  height: 12px;
}

.confirm-modal h3,
.search-modal h3,
.no-balance h2 {
  font-size: 20px;
  color: #263238;
  font-family: "Noto Sans Bengali SemBd", sans-serif;
  margin: 0 0 5px;
  text-align: center;
  font-weight: 600;
}

.no-balance p {
	color: #26292E;
	line-height: 24px;
	font-size: 16px;
}
.no-balance h2{
  color: #702B9A;
}

body.no-scroll {
  overflow: hidden;
}

.filter-group h4,
.form-group h4,
.voice-profile h4 {
  font-size: 18px;
  color: #263238;
  margin: 0 0 5px;
  font-weight: 500;
}

.filter-group ul {
  padding: 0;
  margin: 0;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap
}

.filter-group ul li {
  width: 48%;
  margin-bottom: 10px;
  list-style: none;
}

.filter-group ul li:nth-child(even) {
  margin-right: 0;
}

.filter-group:not(:last-child) {
  margin-bottom: 10px;
}

.filter-option input {
  display: none;
}


.filter-box {
  padding: 12px 0 8px;
  border-radius: 4px;
  color: #202121;
  background: #ECF1F2;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  -webkit-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
  transition: all 0.3s linear;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.filter-box::before {
  content: "";
  display: block;
  background: #702B9A;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  -webkit-transition: all 600ms cubic-bezier(.31, .36, .21, .75);
  transition: all 600ms cubic-bezier(.31, .36, .21, .75);
  -webkit-transform: translate3d(-140%, 0, 0) skewX(25deg);
  transform: translate3d(-140%, 0, 0) skewX(25deg);
  will-change: transform;
  z-index: -1;
}

.filter-option input:checked+.filter-box::before {
  -webkit-transform: translate3d(0, 0, 0) skewX(0deg);
  transform: translate3d(0, 0, 0) skewX(0deg);
}


.filter-option input:checked+.filter-box {
  color: #fff;
  border-color: #702B9A;
}

.filter-interest .filter-box {
  display: block;
  text-align: center;
  border: none;
  background: #ECF1F2;
}

.filter-box svg {
  transition: all 0.3s linear;

}

.filter-interest .filter-box svg {
  display: block;
  width: 100%;
  height: 20px;
  margin-bottom: 5px;
  fill: #702B9A;
}

.filter-gender .filter-box {
  border: none;
}

.filter-gender .filter-box svg {
  width: 30px;
  height: 30px;
}

.filter-gender ul li:nth-child(1) .filter-box svg {
  fill: #189CD6;
}

.filter-gender ul li:nth-child(2) .filter-box svg {
  fill: #E336A4;
}

.filter-gender ul li input:checked+.filter-box svg,
.filter-interest input:checked+.filter-box svg {
  fill: #fff;
}

.filter-interest input:checked+.filter-box svg {
  color: #fff;
}


.filter-btn,
.buy-btn,
.btn,
.record-btn {
  width: 100%;
  border-radius: 4px;
  font-weight: 500;
  padding: 16px 0px 11px;
  font-size: 17px;
  color: #fff;
  background: #702B9A;
  text-align: center;
  display: block;
  text-decoration: none;
  border: 0;
  font-family: "Rubik", "Noto Sans Bengali", sans-serif;
  transition: all 0.3s linear;
}

.btn svg {
  height: 14px;
  width: 24px;
  -webkit-transform: translateY(-1px);
  transform: translateY(-1px);
}

.btn:disabled {
  background: #cccaca;
  color: #9e9c9c;
  pointer-events: none;
}

.filter-btn {
  margin: 15px 0;
  background: #702B9A;
}

#confirm-modal .modal-inner {
  top: 20vh;
}

.btn-group {
  justify-content: space-between;
}

.btn-group .btn {
  width: 48%;
}

.confirm-modal h3 {
  padding: 10px 25px 0;
}

.confirm-modal .btn-group {
  margin-top: 20px;
}

.confirm-modal .btn-group .btn:first-child {
  background: #4d5153;
}

@media all and (min-width: 800px) {
  .container {
    width: 640px;
    margin: 0 auto;
    background: #f9fbfc;
  }


}

@media all and (max-width: 767px) {
  .modal-inner,.no-balance .modal-inner {
    width: 90%;
  }

}

/*---------*/

.footer {
  position: fixed;
  left: 0;
  bottom: -1px;
  background: #fff;
  width: 100%;
  text-align: center;
  z-index: 999;
  display: flex;
}

.footer a {
  color: #26292E;
  font-weight: 500;
  font-size: 14px;
  width: 50%;
  transition: all 0.3s linear;
  padding: 35px 0px 5px;
  text-decoration: none;
}

.footer a.profile {
  background: url(../images/profile-icons.svg) no-repeat center 10px;
  -webkit-background-size: 22px;
  background-size: 22px;
}

.footer a.inbox {
  background: url(../images/message-icon-black.svg) no-repeat center 10px;
  -webkit-background-size: 22px;
  background-size: 22px;
  position: relative;
}

.footer a.inbox span {
  background: #702B9A;
  width: 18px;
  height: 18px;
  display: block;
  border: 1px solid #fff;
  border-radius: 50%;
  color: #fff;
  text-align: center;
  position: absolute;
  left: 50%;
  -webkit-transform: translate(calc(-50% + 12px), 0);
  transform: translate(calc(-50% + 12px), 0);
  font-size: 9px;
  line-height: 20px;
  top: 6px;
}

.footer a.loud {
  background: url(../images/speaker-icon-animate.svg) no-repeat center 10px;
}

.footer a.mute {
  background: url(../images/speaker-icon.svg) no-repeat center 10px;
}

.form-group:not(:last-child) {
  margin-bottom: 15px;
}

.form-label,
.common-heading {
  font-size: 16px;
  color: #26292E;
  letter-spacing: 0.4px;
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.common-heading {
  font-size: 18px;
}

.common-heading a {
  color: #702B9A;
  text-decoration: underline;
}

.form-control {
  padding: 10px;
  border-radius: 4px;
  resize: none;
  border: 1px solid #adc5ed;
  color: #26292E;
  width: 100%;
  font-size: 14px;
  -webkit-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
  transition: all 0.3s linear;
  outline: 0;
  font-family: "Rubik", "Noto Sans Bengali", sans-serif;
}


.form-control:focus {
  border-color: #8e91aa;
  outline: 0;
}

.inputBox {
  font-size: 18px;
  border: 1px solid #C3CED8;
  font-weight: 500;
}

.form-control+span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: #8e91aa;
}

.otp-input .inputBox {
  text-align: center;
}

.profile-form .form-group,
.profile-form .filter-group,
.profile-form .voice-profile {
  padding: 15px 15px 5px;
  background: #fff;
  border-radius: 4px;
  margin-top: 15px;
}

.profile-form .voice-profile {
  padding: 15px;
}

.profile-form .form-group {
  padding: 15px;
}

.profile-form .form-control {
  font-weight: normal;
}

.profile-form .btn {
  margin-top: 15px;
}

.profile-wrap {
  padding: 15px;
}

.voice-profile ul,
.pick-avatar ul {
  padding: 0;
  margin: 0;
}

.voice-profile ul {
  align-items: center;
}

.voice-profile ul li {
  flex-grow: 1;
}

.voice-profile ul li:not(:nth-child(2)) {
  width: calc(100% - 120px);
  margin-right: 10px;
  ;
}

.voice-profile audio {
  width: 100%;
  border-radius: 0;
  filter: sepia(20%) saturate(70%) grayscale(1) contrast(99%) invert(12%);
  vertical-align: bottom;
}

.voice-profile audio:focus {
  outline: none;
}

.record-btn {
  background: #26292E;
  text-align: center;
}

.record-btn input {
  display: none;
}

.profile-form .pick-avatar {
  padding: 15px 0 15px 15px;
}

.pick-avatar ul {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.pick-avatar ul::-webkit-scrollbar {
  display: none;
  width: 0px;
  background: transparent;
}

.pick-avatar ul li {
  margin-right: 10px;
  width: 30%;

}

.profile-option input {
  display: none;
}

.picture-box .check {
  position: absolute;
  top: 0px;
  right: -5px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #41A55F;
  border: 2px solid #fff;
  opacity: 0;
  -webkit-transform: scale(0);
  transform: scale(0);
  -webkit-transition: all 0.1s linear;
  transition: all 0.1s linear;
}

.picture-box svg {
  width: 12px;
  height: 8px;
}

.picture-box .check-line {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all 1.2s cubic-bezier(.46, .03, .52, .96) 0.5s;
}

.picture-box {
  border-radius: 50%;
  border: 2px solid #fff;
  cursor: pointer;
  transition: all 0.3s linear;
  position: relative;
  width: 72px;
  height: 72px;
  margin: auto;
}

.picture-box img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  vertical-align: bottom;
  object-fit: cover;
}

.profile-option input:checked+.picture-box {
  border-color: #AAB4BC;
}

.profile-option input:checked+.picture-box .check {
  -webkit-transform: scale(1);
  transform: scale(1);
  opacity: 1;
}

.profile-option input:checked+.picture-box .check-line {
  stroke-dashoffset: 0;
}

.success-profile {
  min-height: 80vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px 20px 0;
}

.success-profile .btn {
  align-self: flex-end;
}

.success-profile .common-heading {
  display: block;
  width: 100%;
  font-size: 20px;
}

label.profile-option.avatar-item {
  width: 25%;
  margin-bottom: 10px;
}


/*---splash---*/
.splash {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(236, 241, 242, 0.85);
  z-index: 99999;
  cursor: default;
}

.splash .logo {
  height: 64px;
  height: 10vh;
  margin-bottom: 5vh;
}

.splash .splash-img {
  height: 200px;
  margin: auto;
  display: block;
  height: 30vh;
}

.splash-content {
  position: absolute;
  color: #26292E;
  width: 90%;
  left: 5%;
  top: 50%;
  text-align: center;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.splash-content h3 {
  font-weight: 500;
  font-size: 26px;
  margin: 5vh 0;
}

.otp-content {
  text-align: center;
  margin-bottom: 25px;
}

.otp-content img {
  height: 72px;
  height: 20vh;
  margin: 5vh auto;
  display: block;
}

.otp-content p {
  color: #26292E;
}

.otp-content .error {
  color: #702B9A;
}

.otp-link {
  justify-content: space-between;
  margin: 20px auto 50px;
  margin: 5vh auto 15vh;
}

.otp-link .btn {
  width: 48%;
  color: #26292E;
  background: #fff;
  font-weight: 500;
  font-size: 16px;
  border: 2px solid #26292E;
}

.otp-input {
  padding: 0 40px;
  margin: 0;
  justify-content: space-between;
}

.otp-box {
  width: 23%;
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid #C3CED8;
  border-radius: 4px;
  background: #fff;

}

.otp-box::before {
  content: "";
  display: block;
  background: #C3CED8;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: all 600ms cubic-bezier(.31, .36, .21, .75);
  -webkit-transform: translate3d(-140%, 0, 0) skewX(25deg);
  transform: translate3d(-140%, 0, 0) skewX(25deg);
  will-change: transform;
  z-index: -1;
}

.otp-box.not-empty::before {
  -webkit-transform: translate3d(0, 0, 0) skewX(0deg);
  transform: translate3d(0, 0, 0) skewX(0deg);
}

.otp-box.not-empty input {
  color: #26292E;
}

.otp-input .otp-box input {
  border: none;
  background: none;
  padding: 15px 10px;
}

.search-modal {
  width: 100%;
  top: 0;
  height: 100%;
  border-radius: 0;
  overflow-y: auto;
  background: #fff;
}

.search-modal .modal-close {
  position: fixed;
  z-index: 99;
}

.search-modal .filter-group {
  padding: 15px;
  margin: 0 -15px;
  border-bottom: 1px solid #C3CED8;
}

.illustration {
  margin: 40px auto 0;
  height: 24vh;
  display: block;
  max-width: 320px;
}

.modal-inner .illustration {
  margin: 20px auto 30px;
}

/* Tab */

.tabs {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  overflow: hidden;
}


.tab-nav {
  width: 100%;
  display: -webkit-box;
  display: flex;
  position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid #702B9A;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 15px;

}

.tab-nav .tab {
  width: 50%;
  padding: 15px 0 13px;
  font-size: 16px;
  cursor: pointer;
  color: #26292E;
  font-weight: 500;
  transition: all 0.3s linear;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;

}

.tab-nav .active {
  color: #fff;
  background: none;
}

.indicator {
  width: 50%;
  height: 100%;
  position: absolute;
  bottom: 0;
  background: #702B9A;
  transition: all 600ms cubic-bezier(0.86, 0, 0.07, 1);
  z-index: -1;
}

.tab-container {
  -webkit-box-flex: 1;
  flex: 1;
  width: 200%;
  height: 100%;
}

.tab-body {
  width: 100%;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
  justify-content: space-between;
  -webkit-transition: transform 600ms cubic-bezier(0.86, 0, 0.07, 1);
  transition: transform 600ms cubic-bezier(0.86, 0, 0.07, 1);
  will-change: transform;
}

.tab-item1,
.tab-item2 {
  width: 50%;
}


.tab1.active~.indicator {
  left: 0;
}

.tab2.active~.indicator {
  left: 50%;
}





@media all and (min-width:580px) {

  body,
  .search-modal {
    max-width: 640px;
    margin: 0 auto;
  }

  .splash-content {
    width: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

}

@media all and (max-width:480px) {
  .filter-box {
    padding: 15px 0 12px;
  }

  .inputBox {
    padding: 20px 15px;
  }

  .btn {
    padding: 20px 0px 14px;
  }
}

/*---------*/

.footer {
  position: fixed;
  left: 0;
  bottom: -1px;
  background: #fff;
  width: 100%;
  text-align: center;
  z-index: 999;
  display: flex;
}

.footer a {
  color: #26292E;
  font-weight: 500;
  font-size: 14px;
  width: 50%;
  transition: all 0.3s linear;
  padding: 35px 0px 5px;
  text-decoration: none;
}

.footer a.home {
  background: url(../images/home-icon.svg) no-repeat center 10px;
  -webkit-background-size: 24px;
  background-size: 24px;
}

.footer a.profile {
  background: url(../images/user-profile-icon.svg) no-repeat center 8px;
}



.form-control {
  padding: 10px 10px 10px 40px;
  border-radius: 4px;
  resize: none;
  border: 1px solid #C3CED8;
  color: #3e434d;
  width: 100%;
  font-size: 14px;
  -webkit-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
  transition: all 0.3s linear;
  outline: 0;
  font-family: "Rubik", "Noto Sans Bengali", sans-serif;
  height: 50px;
}

.form-control:focus {
  border-color: #8e91aa;
  outline: 0;
}

.avatar {
  width: 44px;
  height: 44px;
  position: relative;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50px;
}

.user-status,
div[data-identifier="_chat-head-avatar-online"] {
  width: 12px;
  height: 12px;
  border-radius: 20px;
  position: absolute;
  right: 0;
  top: 0;
  background: #c5c5c5;
  border: 2px solid #fff;
}

.status-active,
div[data-identifier="_chat-head-avatar-online"] {
  background: #3CB977;
}

/* Chat */
.chat-box {
  flex: 1;
  position: fixed;
  z-index: 9999;
  width: 100vw;
  height: 100%;
  left: 0;
  top: 0;
  background: white;
  -webkit-transition: all 0.1s cubic-bezier(.52, .18, .27, .92);
  transition: all 0.1s cubic-bezier(.52, .18, .27, .92);
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
}

body.in {
  overflow: hidden;
}

body.in .chat-box {
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

.chatapp-container {
  flex: 1 1 auto;
  height: 100%;
}

.chatapp-user-inner {
  height: calc(100vh - 135px);
  position: relative;
}

.chatapp-user-list {
  flex-direction: column;
  position: relative;
  flex: 0 0 100%;
  border-right: 1px solid #DBE3F0;
  background: #F4F8FF;
}

.chatapp-user-list ul {
  padding: 0;
  margin: 0;
}

.chatapp-user-list ul li {
  padding: 15px;
  align-items: center;
  -webkit-transition: all 0.12s linear;
  -ms-transition: all 0.12s linear;
  transition: all 0.12s linear;
  box-shadow: 0px 0px 0px 0 #2D6CFF inset;
  cursor: pointer;
  background: #fff;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.chatapp-user-list ul li h4 {
  margin: 0;
  white-space: nowrap;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  overflow: hidden;
}

.chatapp-user-list ul li h4 {
  font-size: 15px;
  font-weight: 500;
  color: #26292E;

}

.chatapp-user-list ul li p+span,
.chatapp-user-list ul li p {
  display: inline-block;
  vertical-align: middle;
}

.chatapp-user-list ul li p {
  width: auto;
  font-size: 13px;
  position: relative;
  color: #5B5B5B;
  margin: 0;
}

.chatapp-user-list ul li p.unread {
  color: #26292E;
  font-weight: 500;
}

.chatapp-user-list ul li p span,
.chatapp-user-list ul li p.unread span {
  font-size: 12px;
  color: #8D8D8D;
  font-weight: normal;
}

.chatapp-user-list ul li .avatar {
  margin-right: 15px;
  width: 44px;
  height: 44px;
}

.chatapp-user-list ul li .user-details {
  width: 70%;
  width: calc(100% - 60px);
}

.chatapp-user-list ul li:not(:last-child) {
  border-bottom: 1px solid white;
}


.chatapp-user-header {
  padding: 10px 15px;
  align-items: center;
  background: white;
}

.chatapp-user-header h4 {
  font-size: 18px;
  font-weight: 500;
  margin: 0;
  padding-left: 15px;
}

.chatapp-user-search {
  padding: 15px 15px;
  background: #ECF1F2;
}

div[data-identifier="_chat-head-box"] {
  align-items: center;
  position: relative;
  z-index: 9999;
  background: #fff !important;
}

div[data-identifier="_chat-history-box"] {
  padding: 0 15px;
  opacity: 0;
  -webkit-transition: opacity 1.2s linear 0.1s, transform 500ms cubic-bezier(0.39, 0.575, 0.565, 1) 0.05s;
  transition: opacity 1.2s linear 0.1s, transform 500ms cubic-bezier(0.39, 0.575, 0.565, 1) 0.05s;
  -webkit-transform: translateY(50px);
  transform: translateY(50px);
}

body.in div[data-identifier="_chat-history-box"] {
  -webkit-transform: translateY(0px);
  transform: translateY(0px);
  opacity: 1;
}

div[data-identifier="_chat-outgoing"],
div[data-identifier="_chat-incoming"] {
  margin: 0 0 2px 0;
  padding: 0;
}

div[data-identifier="_chat-text"] {
  line-height: 1.4;
  cursor: default;
  font-family: 'Noto Sans Bengali', 'Rubik', sans-serif;
  font-size: 15px;
}

div[data-identifier="_chat-text-box"] {
  padding: 9px 12px 5px;
}

div[data-identifier="_chat-head-avatar"] {
  border-radius: 50%;
}

div[data-identifier="_chat-head-text"] {
  align-self: center;
  font-family: 'Noto Sans Bengali', 'Rubik', sans-serif;
  font-size: 16px;
  font-weight: 500;
  padding-left: 10px;
}

div[data-identifier="_chat-im-avatar"] {
  border-radius: 50%;
  margin-right: 10px;
  width: 36px !important;
  align-self: flex-end;
  height: 36px !important;
}

div[data-identifier="_chat-im-avatar"]>div,
div[data-identifier="_chat-head-avatar"]>div {
  background-position: center;
  -webkit-background-size: cover;
  background-size: cover;
}

div[data-identifier="_chat-text-im"] {
  position: relative;
}

div[data-identifier="_chat-date-time"] {
  background: none;
  color: #a7afb3;
  padding: 0;
  font-size: 10px;
}

div[data-identifier="_chat-incoming"] div[data-identifier="_chat-date-time"] {
  margin-right: auto;
}

div[data-identifier="_chat-image-box"] {
  padding: 5px;
}

div[data-identifier="_chat-file-box"] {
  padding: 5px;
}

div[data-identifier="_chat-outgoing"] div[data-identifier="_chat-file-image"]>div {
  background: url(../images/file.svg) no-repeat center !important;
  -webkit-background-size: 48px !important;
  background-size: 48px !important;
}

div[data-identifier="_chat-incoming"] div[data-identifier="_chat-file-image"]>div {
  background: url(../images/file-black.svg) no-repeat center !important;
  -webkit-background-size: 48px !important;
  background-size: 48px !important;
}

div[data-identifier="_chat-file-image"]>img {
  display: none;
}

div[data-identifier="_chat-file-image"] {
  height: 64px !important;
  width: 64px !important
}

div[data-identifier="_chat-incoming"] div[data-identifier="_chat-text-im"],
div[data-identifier="_chat-incoming"] div[data-identifier="_chat-image-im"],
div[data-identifier="_chat-incoming"] div[data-identifier="_chat-file-im"] {
  background: none !important;
  border-radius: 0;
}

div[data-identifier="_chat-incoming"] div[data-identifier="_chat-text-box"],
div[data-identifier="_chat-incoming"] div[data-identifier="_chat-image-box"],
div[data-identifier="_chat-incoming"] div[data-identifier="_chat-file-box"] {
  background: #cdcdce94;
  border-radius: 8px 8px 8px 0;
}

div[data-identifier="_chat-outgoing"] div[data-identifier="_chat-text-im"],
div[data-identifier="_chat-outgoing"] div[data-identifier="_chat-image-im"],
div[data-identifier="_chat-outgoing"] div[data-identifier="_chat-file-im"] {
  background: none !important;
  border-radius: 0;
}

div[data-identifier="_chat-outgoing"] div[data-identifier="_chat-text-box"],
div[data-identifier="_chat-outgoing"] div[data-identifier="_chat-image-box"],
div[data-identifier="_chat-outgoing"] div[data-identifier="_chat-file-box"] {
  background: #702B9A;
  border-radius: 8px 8px 0px 8px;
}

div[data-identifier="_chat-outgoing"] div[data-identifier="_chat-image"] {
  border-radius: 5px 5px 0px 5px !important;

}

div[data-identifier="_chat-incoming"] div[data-identifier="_chat-image"] {
  border-radius: 5px 5px 5px 0 !important;
}

div[data-identifier="_chat-outgoing"] div[data-identifier="_chat-text"] {
  color: #fff;
}

div[data-identifier="_chat-incoming"] div[data-identifier="_chat-text"] {
  color: #54565a;
}

div[data-identifier="_chat-outgoing"] div[data-identifier="_chat-im-avatar"] {
  display: none;
}

div[data-identifier="_chat-input-text"] input {
  border-radius: 4px;
  padding: 0 10px;
}

div[data-identifier="_chat-input-emoji-icon"] {
  margin-right: 10px;
}

div[data-identifier="_chat-input-text"] input:focus {
  outline: 0;
}

div[data-identifier="_chat-input-image"],
div[data-identifier="_chat-input-file"],
div[data-identifier="_chat-input-send"] {
  border-radius: 4px;
}

div[data-identifier="_chat-input-send"] {
  background: #702B9A;
}

div[data-identifier="_chat-input-image-icon"]>div {
  background: url(../images/image.svg) no-repeat center !important;
  -webkit-background-size: 20px !important;
  background-size: 20px !important;
}

div[data-identifier="_chat-input-file-icon"]>div {
  background: url(../images/paperclip.svg) no-repeat center !important;
  -webkit-background-size: 20px !important;
  background-size: 20px !important;
}

div[data-identifier="_chat-input-send-icon"]>div {
  background: url(../images/send.svg) no-repeat center !important;
  -webkit-background-size: 20px !important;
  background-size: 20px !important;
}

div[data-identifier="_chat-history-load-more"] {
  padding: 7px 14px !important;
  background: #cdcdce94;
  border-radius: 15px;
  color: #54565a;
  font-weight: 400;
  font-size: 14px;
  margin: 10px auto;
  font-family: "Rubik", Arial, sans-serif;
  text-transform: lowercase;
  text-align: center;
}

div[data-identifier="_chat-history-load-more"]::first-letter {
  text-transform: uppercase;
}

div[data-identifier="_chat-date-header"] {
  font-size: 14px;
  color: #54565a;
  font-family: "Rubik", Arial, sans-serif;
}

div[data-identifier="_chat-input-box"] {
  background: #fff;
  transition: all 0.15s linear;
  position: relative;
  z-index: 99;
}


@media all and (max-width:767px) {
  div[data-identifier="_chat-history-box"]>div::-webkit-scrollbar {
    display: none;
    width: 0px;
    background: transparent;
  }

  .chatapp-container {
    padding-bottom: 110px;
    background: #fff;
  }
}

iframe#pageLoader {
  margin-bottom: 53px;
}

