@font-face {
    font-family: "San Francisco";
    font-weight: 400;
    src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-regular-webfont.woff");
}

body {
    overflow-y: hidden !important; /* Hide scrollbars */
}

/* CSS reset start */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}


/* make sure to set some focus styles for accessibility */

:focus {
    outline: 0;
}


/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
    -webkit-appearance: none;
    -moz-appearance: none;
}

input[type=search] {
    -webkit-appearance: none;
    -moz-appearance: none;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

textarea {
    overflow: auto;
    vertical-align: top;
    resize: vertical;
}


/**
 * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
 */

audio,
canvas,
video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    max-width: 100%;
}


/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
    display: none;
    height: 0;
}


/**
 * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
 * Known issue: no IE 6 support.
 */

[hidden] {
    display: none;
}


/**
 * 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
 *    `em` units.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
    font-size: 100%;
    /* 1 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
    -ms-text-size-adjust: 100%;
    /* 2 */
}


/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */

a:focus {
    outline: thin dotted;
}


/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

a:active,
a:hover {
    outline: 0;
}


/**
 * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
 * 2. Improve image quality when scaled in IE 7.
 */

img {
    border: 0;
    /* 1 */
    -ms-interpolation-mode: bicubic;
    /* 2 */
}


/**
 * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
 */

figure {
    margin: 0;
}


/**
 * Correct margin displayed oddly in IE 6/7.
 */

form {
    margin: 0;
}


/**
 * Define consistent border, margin, and padding.
 */

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}


/**
 * 1. Correct color not being inherited in IE 6/7/8/9.
 * 2. Correct text not wrapping in Firefox 3.
 * 3. Correct alignment displayed oddly in IE 6/7.
 */

legend {
    border: 0;
    /* 1 */
    padding: 0;
    white-space: normal;
    /* 2 */
    *margin-left: -7px;
    /* 3 */
}


/**
 * 1. Correct font size not being inherited in all browsers.
 * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
 *    and Chrome.
 * 3. Improve appearance and consistency in all browsers.
 */

button,
input,
select,
textarea {
    font-size: 100%;
    /* 1 */
    margin: 0;
    /* 2 */
    vertical-align: baseline;
    /* 3 */
    *vertical-align: middle;
    /* 3 */
}


/**
 * Address Firefox 3+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

button,
input {
    line-height: normal;
}


/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */

button,
select {
    text-transform: none;
}


/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
 *    Known issue: inner spacing remains in IE 6.
 */

button,
html input[type="button"],

/* 1 */

input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    /* 2 */
    cursor: pointer;
    /* 3 */
    *overflow: visible;
    /* 4 */
}


/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
    cursor: default;
}


/**
 * 1. Address box sizing set to content-box in IE 8/9.
 * 2. Remove excess padding in IE 8/9.
 * 3. Remove excess padding in IE 7.
 *    Known issue: excess padding remains in IE 6.
 */

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    /* 1 */
    padding: 0;
    /* 2 */
    *height: 13px;
    /* 3 */
    *width: 13px;
    /* 3 */
}


/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
    -webkit-appearance: textfield;
    /* 1 */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    /* 2 */
    box-sizing: content-box;
}


/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}


/**
 * Remove inner padding and border in Firefox 3+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}


/**
 * 1. Remove default vertical scrollbar in IE 6/7/8/9.
 * 2. Improve readability and alignment in all browsers.
 */

textarea {
    overflow: auto;
    /* 1 */
    vertical-align: top;
    /* 2 */
}


/**
 * Remove most spacing between table cells.
 */

table {
    border-collapse: collapse;
    border-spacing: 0;
}

html,
button,
input,
select,
textarea {
    color: #000;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

.form-control:focus {
    outline: 0;
    box-shadow: none;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* CSS reset end */

body {
    width: 100vw;
    font-family: "San Francisco", san-serif;
    color: #000;
}


/* Header styling start */

header {
    background: #ededed;
    padding: 15px 30px;
}

header .brand-logo {
    width: 64px;
}

.cstm-btn {
    padding: 0;
    width: 108px;
    height: 36px;
    line-height: 32px;
    border-radius: 25px;
    font-size: 16px;
}

.blue-btn {
    background: #0AB4FF;
    color: #fff;
}

.green-btn {
    background: #19A298;
    color: #fff;
}

.logout-btn {
    background: #E5454C;
    color: #fff;
}

header .btns .cstm-btn {
    margin-right: 15px;
}

header .btns .cstm-btn:hover {
    color: #fff;
}

header .btns .cstm-btn:last-child {
    margin-right: 0;
}


/* Header styling end */


/* Login box styling start */

.login {
    background: #F6F6F6;
    padding: 30px;
    height: calc(100vh - 66px);
}

.login .welcome h3 {
    font-size: 58px;
}

.login .welcome p {
    font-size: 18px;
    padding-left: 8px;
}

.login .welcome img {
    margin-top: 5%;
    width: 70%;
}

.login .login-box {
    background: #fff;
    border-radius: 36px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(147, 147, 147, 1);
    -moz-box-shadow: 0px 0px 5px 0px rgba(147, 147, 147, 1);
    box-shadow: 0px 0px 5px 0px rgba(147, 147, 147, 1);
    max-width: 600px;
    margin-left: auto;
    height: calc(100vh - 126px);
    position: relative;
}

.login .login-box .logo {
    width: 226px;
    margin: 0 auto;
}

.login .login-box .logo img {
    margin: 7vh 0 9vh;
}

#login-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 0 20px;
}

#login-form .form-group {
    position: relative;
    margin-bottom: 0;
}

#login-form input {
    height: 48px;
    border: 1px solid #707070;
    border-radius: 30px;
    margin: 0 auto;
    padding: 10px 50px;
    color: #000;
}

#login-form #email {
    margin-bottom: 5vh;
}

#login-form #password {
    margin-bottom: 15px;
    padding-right: 80px;
}

#login-form input::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #000;
    opacity: 1;
    /* Firefox */
}

#login-form input:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #000;
}

#login-form input::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #000;
}

.alternate-icon {
    background: url("../icons/alternate_email-24px.svg") no-repeat;
    background-size: contain;
    background-position: center center;
    display: inline-block;
    width: 20px;
    height: 20px;
    position: absolute;
    left: 20px;
    top: 15px;
}

.key-icon {
    background: url("../icons/vpn_key-24px.svg") no-repeat;
    background-size: contain;
    background-position: center center;
    display: inline-block;
    width: 20px;
    height: 20px;
    position: absolute;
    left: 20px;
    top: 15px;
}

.visibility-icon-outter {
    position: absolute;
    right: 0;
    top: 0;
    border-left: 1px solid #707070;
    width: 60px;
    height: 48px;
}

.visibility-icon {
    background: url("../icons/visibility_off-24px.svg") no-repeat;
    background-size: contain;
    background-position: center center;
    display: inline-block;
    width: 20px;
    height: 20px;
    position: relative;
    top: 15px;
    left: 20px;
}

#login-form a {
    font-weight: bold;
    color: #707070;
    text-decoration: underline;
}

#login-form .submit-btn {
    width: 100%;
    height: 48px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 7vh;
    -webkit-box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 0.5);
}

#login-form .submit-btn:hover {
    color: #fff;
}

.login-box .pattern {
    width: 100%;
    z-index: 1;
    position: absolute;
    bottom: 0;
}

.login-box .pattern-img {
    background: url("../images/Mask-Group185.png") no-repeat;
    background-size: cover;
    background-position: center center;
    display: block;
    width: 100%;
    height: 284px;
    border-radius: 0 0 36px 36px;
}

.login-box .right-sec {
    position: relative;
    z-index: 2;
}

.hide-on-desktop {
    display: none;
}

.small-dot {
    height: 11px;
    width: 11px;
    background-color: #ffa000;
    border-radius: 50%;
    /* display: inline-block; */
    /* justify-content: center; */
    /* display: flex; */
    padding: 2px;
    font-size: 0px;
}


/* Login page media queries start */

@media (max-width: 1200px) {
    .login .login-box .logo {
        width: 150px;
    }
    .login .welcome img {
        margin-top: 15vh;
    }
}

@media (max-width: 991.98px) {
    .login .welcome img {
        margin-top: 15vh;
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .show-on-mobile {
        display: block;
    }
    .login {
        height: auto;
        padding: 0;
    }
    .login .row {
        margin: 0;
    }
    .login .row .col-lg-4.col-md-5 {
        padding: 0;
    }
    .hide-on-mobile {
        display: none;
    }
    .login .login-box {
        height: calc(100vh - 66px);
        border-radius: 0;
        border: none;
        box-shadow: none;
        max-width: 100%;
    }
    .login-box .pattern-img {
        background: url("../images/Mask-Group-195-2.png") no-repeat;
        background-size: 100% 100%;
        border-radius: 0;
        height: 150px;
    }
    #login-form {
        max-width: 500px;
    }
    #login-form .form-group label {
        font-weight: bold;
        margin-bottom: 5px;
    }
    /* .alternate-icon,
    .key-icon {
        top: 35px;
    } */
    /* .visibility-icon-outter {
        top: 21px;
    } */
    .login-box .hide-on-desktop.show-on-mobile .text-center img {
        width: 300px;
        margin-bottom: 20px;
    }
    .login .login-box .logo img {
        margin: 3vh 0;
    }
    #login-form #email {
        margin-bottom: 3vh;
    }
    #login-form .submit-btn {
        margin-top: 0vh;
        margin-bottom: 2vh;
    }
}

@media (max-width: 575.98px) {
    header {
        padding: 15px;
    }
    .login .login-box .logo {
        width: 110px;
    }
    .login .login-box .logo img {
        margin: 4vh 0;
    }
    .login-box .hide-on-desktop.show-on-mobile .text-center img {
        width: 260px;
        margin-bottom: 50px;
    }
    #login-form .submit-btn {
        margin-top: 0vh;
        margin-bottom: 2vh;
    }
    .login-box .pattern-img {
        height: 210px;
    }
}


/* Login page media queries end */


/* Login box styling end */


/* ================     Chat page css start     =================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: none;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

#main-container {
    width: 100vw;
    height: calc(100vh - 66px);
}

#chat-list-area .add-btn,.add-btn-whatsapp {
    position: absolute;
    bottom: 20px;
    background: #19A298;
    width: 50px;
    height: 50px;
    right: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#chat-list-area .add-btn:hover,.add-btn-whatsapp:hover {
    text-decoration: none;
}

#chat-list-area .add-btn span,.add-btn-whatsapp span {
    color: #fff;
    font-size: 20px;
}

#navbar {
    background: #19A298;
    padding: 14px 25px;
    border-left: 1px solid #fff;
}

#search-form {
    width: 95%;
    display: flex;
    position: relative;
}

#search-form .fa-search {
    color: #c1c1c1;
    position: absolute;
    top: 11px;
    left: 18px;
}

#search-form input {
    background: #fff;
    border-radius: 25px;
    width: 100%;
    padding: 6px 25px 6px 45px;
    text-align: left;
}

.d-flex.btns .dropdown button {
    background: transparent;
    color: #000;
    border: none;
    padding: 0;
}

.d-flex.btns .dropdown button:focus {
    outline: none;
    box-shadow: none;
}

.d-flex.btns .dropdown button:active {
    color: inherit;
    background-color: transparent;
    border-color: transparent;
    box-shadow: none;
}

.btn-secondary:not(:disabled):not(.disabled):active:focus,
.show>.btn-secondary.dropdown-toggle:focus {
    box-shadow: none;
}

.d-flex.btns .dropdown button img {
    width: 36px;
    margin-right: 10px;
}

#navbar .dropdown-toggle {
    padding: 0;
}

#navbar .dropdown-toggle::after {
    display: none;
}

.chat-messages {
    padding-top: 20px;
}

.chat-messages .nav-pills-outter {
    padding: 0 15px 0 10px;
}

.chat-messages ul {
    /* background: #ededed; */
    border-radius: 25px;
    height: 40px;
    margin-bottom: 25px;
}

.chat-messages ul li a.nav-link {
    color: #707070;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 40px;
    text-align: center;
}

.chat-messages .nav-pills .nav-link.active,
.chat-messages .nav-pills .show>.nav-link {
    background: #19A298;
    border-radius: 25px;
    height: 50px;
    position: relative;
    top: -5px;
    -webkit-box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 0.5);
}

.chat-messages ul li a.nav-link:focus {
    outline: none;
}

.chat-list-box {
    overflow-x: hidden;
    overflow-y: scroll;
    height: calc(100vh - 305px);
    width: 100%;
}

.chat-list-item {
    background: white;
    cursor: pointer;
    align-items: center;
    padding: 0 20px 0 25px;
    height: 82px;
}

.chat-list-item.active,
.chat-list-item:hover {
    background: #ededed;
}

.chat-list-item .profile-pic {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-right: 15px;
}

.chat-list-item .item-right {
    border-top: 1px solid #c9c9c9;
    width: 100%;
    display: flex;
    align-items: center;
    height: 82px;
}

.chat-list-item .name {
    font-weight: bold;
    text-transform: capitalize;
}

.chat-list-item .last-message .seen {
    margin-right: 5px;
}

.chat-list-item .chat-details {
    width: 60%;
}

.chat-list-item.unread .name,
.chat-list-item.unread .last-message {
    font-weight: bold;
}

.chat-list-item .time {
    margin-bottom: 7px;
    font-size: 13px;
}

.chat-list-item .cstm-badge {
    width: 22px;
    height: 22px;
    padding: 0;
    border-radius: 50%;
    line-height: 22px;
    background: #19A298;
}

.chat-list-item .last-message,
#message-area #navbar #details {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 7px;
    font-size: 14px;
}

#messages .msg-date {
    background: #0AB4FF;
    padding: 8px 0;
    margin: 30px auto 15px;
    width: 90px;
    text-align: center;
}

#message-area {
    height: calc(100vh - 70px);
    overflow-y: scroll;
}

#message-area .overlay {
    background: #f6f6f6;
}

#input-area {
    background: hsl(0, 0%, 95%);
}

#input-area a,
#input-area a:hover {
    text-decoration: none;
}

#input-area a.position-absolute {
    right: 90px;
}

#input-area a .fa-smile {
    font-size: 1.5rem;
}

#input-area #input {
    outline: none;
    padding: 12px 20px 12px 20px;
    border-radius: 25px;
    margin-right: 15px;
}

#input-area .fa-paperclip,
#input-area .fa-microphone {
    color: #b5b5b5;
}

#input-area .btn-send {
    background: url("../icons/button-send.svg") no-repeat;
    background-position: center center;
    background-size: contain;
    width: 20px;
    height: 20px;
}

.message-item {
    position: relative;
    max-width: 50%;
    word-break: break-word;
    padding: 10px;
    border-radius: 15px;
    margin-bottom: 10px;
}


/*#messages .message-item:last-child {*/
/*    margin-bottom: 50px;*/
/*}*/

.read,.seen {
    background: url("../icons/seen-tick.svg") no-repeat;
    background-size: contain;
    background-position: center center;
    width: 18px;
    height: 10px;
    display: inline-block;
}

.unseen {
    background: url("../icons/unseen-tick.svg") no-repeat;
    background-size: contain;
    background-position: center center;
    width: 18px;
    height: 10px;
    display: inline-block;
}

.sent
{
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='64' height='64'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M10 15.172l9.192-9.193 1.415 1.414L10 18l-6.364-6.364 1.414-1.414z' fill='rgba(180,179,179,1)'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    width: 25px;
    height: 18px;
    display: inline-block;
}

.failed
{
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='36' height='36'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16zm-1-5h2v2h-2v-2zm0-8h2v6h-2V7z' fill='rgba(240,73,73,1)'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    width: 25px;
    height: 18px;
    display: inline-block;
}

.message-item.self {
    background: #19A298 !important;
    color: #fff;
}

#messages .time {
    margin-right: 10px;
}

#messages .receive .time {
    color: #b5b5b5;
}

#messages .send .time {
    color: #fff;
}

.all-msgs{
    height: 70vh;
    overflow: auto;
    scrollbar-color: #19A298 #e0e0e0;
    scrollbar-width: none;
}

.all-msgs::-webkit-scrollbar {
    width: 0px !important;
    scrollbar-width: 0px !important;
    scrollbar-width: none;
}

 .all-msgs::-webkit-scrollbar-track {
    background-color: #e0e0e0;
}

 .all-msgs::-webkit-scrollbar-thumb {
    background: #19A298;
}

#messages{
    overflow: hidden !important;
}

.receive .all-msgs .message-item:first-child::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #fff;
    position: absolute;
    left: -15px;
    top: 0;
}

.send .all-msgs .message-item:first-child::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #19A298;
    position: absolute;
    right: -15px;
    top: 0;
}

.message-item .number {
    color: #1f7aec !important;
}

.message-item .options {
    position: absolute;
    top: 0;
    right: -3px;
    opacity: 0;
    transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

.message-item:hover .options {
    opacity: 1;
    right: 0;
}

/* #messages {
    flex: 1!important;
    background: #f6f6f6;
    overflow: auto;
    overflow-y: scroll;
    height: calc(100vh - 150px);
    padding: 0 100px;
} */

#messages {
    flex: 1 !important;
    background: #f6f6f6;
    overflow: auto;
    overflow-y: auto;
    height: calc(100vh - 16px);
    padding: 0 40px;
    overflow-x: auto;
    /* max-height: calc(100vh - 162px); */
    max-height: calc(100vh - 185px);
}

.right-navbar a {
    text-decoration: none;
    color: #fff;
}

.right-navbar .fa-arrow-left {
    font-size: 1.5rem;
    cursor: pointer;
}

.right-navbar a img {
    width: 57px;
    height: 50px;
    object-fit: contain;
}

.right-navbar a .name {
    font-size: 16px;
    font-weight: bold;
}

#profile-settings {
    position: absolute;
    top: 0;
    left: -110%;
    background: hsl(0, 0%, 95%);
    transition: all 0.2s ease-in;
    -moz-transition: all .2s ease-in-out;
    -webkit-transition: all .2s ease-in-out;
}

#profile-pic {
    cursor: pointer;
    position: relative;
    width: 200px;
}

.profile-input {
    border-bottom: 2px solid transparent !important;
    outline: none;
}

.profile-input:focus {
    border-bottom-color: hsl(0, 0%, 50%) !important;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
}


/* Chat page media queries start */

@media (max-width: 1500px) {
    .chat-list-item .item-right {
        width: 80%;
    }
    .chat-list-item .item-right .w-75 {
        width: 72% !important;
    }
}

@media (max-width: 1200px) {
    #messages {
        padding: 0 25px;
    }
    .chat-list-item .item-right {
        width: 76%;
    }
    .chat-list-item .item-right .w-75 {
        width: 65% !important;
    }
}

@media (max-width: 1260px) {
    .message-item {
        max-width: 85%;
    }
    .message-item .body.m-1.mr-2 {
        margin-bottom: 10px !important;
    }
    .chat-messages .nav-pills-outter {
        padding: 0;
    }
    .chat-messages ul li a.nav-link {
        font-size: 13px;
        padding: 0 10px;
    }
    .chat-list-item {
        padding: 0 15px;
    }
    .chat-list-item .item-right {
        width: 78%;
    }
    #chat-list-area .add-btn {
        bottom: 20px;
        right: 30px;
    }
    .chat-list-item .name{
        white-space: break-word;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 767.98px) {
    #input-area a .fa-smile {
        padding: 0 5px !important;
    }
    #input-area #input {
        width: 100%;
        margin-right: 10px;
    }
    #input-area a.mr-3,
    #input-area button.mr-3 {
        margin-right: 10px !important;
        padding: 0;
    }
    #input-area a.position-absolute {
        right: 65px;
    }
    .chat-list-item .profile-pic {
        width: 40px;
        height: 40px;
        object-fit: contain;
        margin-right: 10px;
    }
    .chat-list-item .item-right {
        width: 82%;
    }
    .chat-list-item .time {
        font-size: 12px;
    }
}

@media (max-width: 575.98px) {
    .chat-messages ul li a.nav-link {
        font-size: 14px;
    }
    #chat-list-area .add-btn {
        bottom: 20px;
        right: 30px;
    }
    .chat-list-item .item-right {
        width: 100%;
    }
    .logout-btn {
        display: none;
    }
    #main-container .row.h-100 .col-12.col-sm-6.col-md-7.col-lg-8.p-0.h-100 {
        height: auto !important;
    }
}

@media (max-width: 460px) {
    .chat-list-item .item-right {
        width: 85%;
        padding: 0px 10px;
        font-size: 12px;
    }
}

.inapp-chat-list-box, .whatsapp-chat-list-box {
    overflow-x: hidden;
    overflow-y: scroll;
    height: calc(100vh - 320px);
    width: 100%;
}

.contact-list {
    padding: 18px 0 18px 0;
    border-bottom: 1px #b3b7bb54 solid;
}

.contact-list>button {
    color: red;
    padding: 0px;
}

.message-input {
    position: absolute;
    bottom: -25px;
    width: 100%;
}
/* textarea */
textarea{
    resize: none !important;
    height: 43px;
}

/* Chat page media queries start */
@media only screen and (max-width: 520px) {
    /* login */
    .login-buttons{
        display: none;
    }
    .message-input {
        bottom: 0;
    }
}

input, textarea {
-webkit-user-select: text !important;
-khtml-user-select: text !important;
-moz-user-select: text !important;
-ms-user-select: text !important;
user-select: text !important;
}
