/*========================================================
        DARK LAYOUT
=========================================================*/
.chat-toggle-icon {
    display: none;
}
.chat-application .content-area-wrapper .content-right .content-wrapper {
    padding: 0;
}

.chat-application .content-area-wrapper {
    /* border: 1px solid #DAE1E7; */
    /* border-radius: 0.25rem; */
    border-top: 1px solid #c3c4c5;
    border-right: 1px solid #c3c4c5;
    border-bottom: 1px solid #c3c4c5;
}

.chat-users-list-wrapper li {
    border-left: 1px solid #c3c4c5;
}

.search_chat {
    margin-left: -44px;
    margin-top: -1px;
    position: absolute;
    top: 0;
    bottom: 0;
    background-color: #2eac9d;
    width: 40px;
    height: 40px;
}

.user_service_toggle {
    background-color: #2eac9d !important;
}

.chat-application .chat-profile-sidebar {
    border-right: 1px solid #e4e7ed;
    height: calc(100vh - 13rem);
    height: calc(var(--vh, 1vh) * 100 - 13rem);
    width: 400px;
    border-radius: 0.25rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    margin: 0;
    background-color: #ffffff;
    position: fixed;
    -webkit-transform: translateX(-110%);
    -ms-transform: translateX(-110%);
    transform: translateX(-110%);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 6;
}

.chat-application .chat-profile-sidebar.show {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.chat-application .chat-profile-sidebar .chat-profile-header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.chat-application .chat-profile-sidebar .chat-profile-header .header-profile-sidebar {
    margin: 2rem auto 0.5rem;
}

.chat-application .chat-profile-sidebar .chat-profile-header .avatar {
    margin-bottom: 1.25rem;
}

.chat-application .chat-profile-sidebar .chat-profile-header .close-icon {
    position: absolute;
    top: 14px;
    right: 13px;
    font-size: 1.75rem;
    cursor: pointer;
}

.chat-application .chat-profile-sidebar .profile-sidebar-area .scroll-area {
    padding: 2rem;
    height: calc(100vh - 25.25rem);
    height: calc(var(--vh, 1vh) * 100 - 25.25rem);
    position: relative;
}

/*.chat-application .sidebar-content {*/
/*  !* border-right : 1px solid #E4E7ED; *!*/
/*  !* height                    : calc(100vh - 14rem);*/
/*  height                    : calc(var(--vh, 1vh) * 100 - 14rem); *!*/
/*  height                       : 100vh;*/
/*  !* overflow-y                : scroll; *!*/
/*  width                        : 400px;*/
/*  border-radius                : 0.25rem;*/
/*  border-top-right-radius      : 0;*/
/*  border-bottom-right-radius   : 0;*/
/*  margin                       : 0;*/
/*  box-shadow                   : none;*/
/*}*/

.avatar_active .media-object {
    width: 45px;
    height: 45px;
}

.active_chat_status {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 14px;
}

.chat-application .sidebar-content .sidebar-close-icon {
    position: absolute;
    right: 0.25rem;
    top: 0.25rem;
    font-size: 1.25rem;
    z-index: 1;
    cursor: pointer;
    visibility: hidden;
}

.chat-application .sidebar-content .chat-fixed-search {
    /* position        : fixed; */
    width: 400px;
    border-bottom: 1px solid #e4e7ed;
    padding: 1.22rem;
    background-color: #f5f5f5;
    border-left: 1px solid #c3c4c5;
}

.chat-application .sidebar-content .chat-fixed-search .sidebar-profile-toggle .avatar {
    display: inline-table;
    width: calc(32px + 8px);
}

.chat-application .sidebar-content .chat-fixed-search input.form-control {
    padding: 0.9rem 1rem 0.9rem 2rem;
    height: calc(1.25em + 1.9rem + 4px);
}

.chat-application .sidebar-content .chat-fixed-search .form-control-position {
    top: 5px;
}

.chat-application .sidebar-content .chat-fixed-search .form-control-position i {
    /* left: 9px; */
    /* position : absolute;
  left     : 0;
  right    : 0; */
    /* bottom: 0; */
    /* top      : 37% !important;
  margin   : auto; */
}

.chat-application .sidebar-content .chat-user-list {
    /* height       : calc(100% - 5rem); */
    /* margin-top: 5rem; */
    height: 100vh;
    width: 400px;
}

.img_chat_gal {
    right: 16px;
    /* top: -3px; */
    margin: auto;
    width: 45px;
    height: 45px;
}

.form_chat_message {
    display: grid;
    place-items: center;
}

.form_chat_message input {
    width: 97% !important;
}

.avatar.user-profile-toggle {
    background: none !important;
}

.avatar.user-profile-toggle img {
    background: none !important;
    border-radius: unset !important;
}

.chat-application .sidebar-content .chat-user-list ul {
    padding-left: 0;
    margin-bottom: 0;
}

.chat-application .sidebar-content .chat-user-list li {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 2.422rem 0.85rem;
    margin-right: 1px;
    background-color: #f5f5f5;
    gap: 16px;
}

.time_chat span {
    color: #b7b7b7;
}

.chat-application .sidebar-content .chat-user-list li:not(:first-child) {
    border-top: 1px solid #e4e7ed;
}

.chat-application .sidebar-content .chat-user-list li .user-chat-info {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    overflow: hidden;
}

.chat-application .sidebar-content .chat-user-list li .contact-info {
    width: calc(100vw - (100vw - 100%) - 1rem - 50px);
    margin-top: 0.3rem;
}

.chat-application .sidebar-content .chat-user-list li .contact-info .truncate {
    margin: 0;
}

.chat-application .sidebar-content .chat-user-list li:hover {
    cursor: pointer;
    background: #eeeeee;
}

.chat-application .sidebar-content .chat-user-list li.active {
    background-color: #ffffff;
    border-left: unset;
    color: #6c6c6c;
    position: relative;
}

.chat-application .sidebar-content .chat-user-list li.active::before {
    position: absolute;
    content: '';
    width: 4px;
    height: 48px;
    background-color: #2e86ac;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

.chat-application .sidebar-content .chat-user-list li.active h1,
.chat-application .sidebar-content .chat-user-list li.active h2,
.chat-application .sidebar-content .chat-user-list li.active h3,
.chat-application .sidebar-content .chat-user-list li.active h4,
/* .chat-application .sidebar-content .chat-user-list li.active h5, */
.chat-application .sidebar-content .chat-user-list li.active h6 {
    color: #ffffff;
}

.badge_chat {
    color: #ffffff;
    background-color: #7367f0;
    font-weight: 400;
}

.badge_chat {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
}

.chat-application .sidebar-content .chat-user-list li img {
    /* border: 2px solid #FFFFFF; */
}

.chat-application .sidebar-content .card {
    margin-bottom: 0;
}

.chat-application .chat-overlay {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    display: block;
    z-index: 2;
    visibility: hidden;
    border-radius: 0.25rem;
}

.chat-application .chat-overlay.show {
    visibility: visible;
    /* background-color: rgba(0, 0, 0, 0.2); */
    border: none !important;
}

.chat-application .chat-app-window .favorite,
.chat-application .chat-app-window .sidebar-toggle {
    cursor: pointer;
}

.chat-application .chat-app-window .user-chats {
    padding: 20px 30px;
    position: relative;
    text-align: center;
    height: calc(100vh - 24rem);
    /* height    : calc(var(--vh, 1vh) * 100 - 23rem); */
    height: calc(var(--vh, 1vh) * 100 - 10rem) !important;
}

.chat-application .chat-app-window .start-chat-area,
.chat-application .chat-app-window .user-chats {
    background-color: #ffffff;
}

.chat-application .chat-app-window .start-chat-area {
    /* height                 : calc(100vh - 13rem); */
    /* height                 : calc(var(--vh, 1vh) * 100 - 13rem); */
    height: 100vh;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.chat-application .chat-app-window .start-chat-area .start-chat-text {
    border-radius: calc(0.5rem * 4);
    cursor: pointer;
    color: #c9c9c9;
    font-weight: 400;
}

.chat-application .chat-app-window .start-chat-area .start-chat-icon {
    width: 50px;
    font-size: 4rem;
}

.chat-application .chat-app-window .start-chat-area .start-chat-icon img {
    width: 50px;
}

.chat-application .chat-app-form {
    padding: 20px 10px;
    background-color: white;
    bottom: -5px;
    width: 100%;
    left: 0;
    z-index: 1;

    /* position        : absolute; */
}

.chat-application .chats {
    padding: 0;
}

.chat-application .chats .chat-body {
    display: block;
    margin: 5px 30px 5px 0;
    overflow: hidden;
}

.chat-application .chats .chat-body .chat-content {
    position: relative;
    display: block;
    float: right;
    padding: 0.75rem 1rem;
    margin: 3px 20px 5px 0;
    clear: both;
    color: #ffffff;
    background-color: #2eac9d !important;
    border-radius: 0.5rem;
    box-shadow:
        0 4px 8px 0 rgba(0, 0, 0, 0.12),
        0 2px 4px 0 rgba(0, 0, 0, 0.08);
}

.chat_time_right {
    display: block;
    float: right;
    text-align: left;
}

.chat_time_left {
    display: block;
    float: left;
    text-align: left;
}

.chat_time_left .time_chat {
    padding-left: 31px;
}

.chat-application .chat_right .chat-body .chat-content::after {
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    border-left: 23px solid #2eac9d;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    right: -17px;
    top: 0;
    bottom: 0;
    margin: auto;
}

.chat-application .chats .chat-body .chat-content p {
    margin: 0;
}

.chat-application .chat-left .chat-body .chat-content {
    position: relative;
    text-align: right;
    display: block;
    float: right;
    padding: 0.75rem 1rem;
    margin: 0 20px 10px 0;
    clear: both;
    color: #ffffff;
    /* background-color: #2EAC9D !important; */
    background: #d9d9d9 !important;
    border-radius: 0.5rem;
    box-shadow:
        0 4px 8px 0 rgba(0, 0, 0, 0.12),
        0 2px 4px 0 rgba(0, 0, 0, 0.08);
}

.chat-application .chat-left .chat-body .chat-content::before {
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    border-top: 11px solid transparent;
    border-right: 23px solid #d9d9d9;
    border-bottom: 11px solid transparent;
    left: -21px;
    top: 0;
    bottom: 0;
    margin: auto;
    /* border-radius: 12px; */
}

.chat-application .chat-left .chat-body .chat-content p {
    margin: 0;
}

.chat-application .chats .chat-avatar {
    float: right;
}

.chat-application .chats .chat-left .chat-avatar {
    float: left;
}

.chat-application .chats .chat-left .chat-body {
    margin-right: 0;
    margin-left: 30px;
}

.chat-application .chats .chat-left .chat-content {
    text-align: left;
    float: left;
    margin: 0 0 10px 29px;
    color: #626262;
    background: none;
    background-color: white;
}

.chat-application .user-profile-sidebar {
    border-right: 1px solid #e4e7ed;
    height: calc(100vh - 13rem);
    height: calc(var(--vh, 1vh) * 100 - 13rem);
    width: 400px;
    border-radius: 0.25rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin: 0;
    background-color: #ffffff;
    position: fixed;
    -webkit-transform: translateX(110%);
    -ms-transform: translateX(110%);
    transform: translateX(110%);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 6;
    right: 4.2rem;
    bottom: 5.25rem;
    opacity: 0;
}

.chat-application .user-profile-sidebar.show {
    opacity: 1;
    -webkit-transform: translateX(7%);
    -ms-transform: translateX(7%);
    transform: translateX(7%);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.chat-application .user-profile-sidebar .user-profile-header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.chat-application .user-profile-sidebar .user-profile-header .header-profile-sidebar {
    margin: 2rem auto 0.5rem;
}

.chat-application .user-profile-sidebar .user-profile-header .avatar {
    margin-bottom: 1.25rem;
}

.chat-application .user-profile-sidebar .user-profile-header .close-icon {
    position: absolute;
    top: 14px;
    right: 13px;
    font-size: 1.75rem;
    cursor: pointer;
}

.chat-application .user-profile-sidebar .user-profile-sidebar-area {
    height: calc(100vh - 24.25rem);
    height: calc(var(--vh, 1vh) * 100 - 24.25rem);
    position: relative;
}

/*  chat popup modal */
.chat_header_popup {
    background-color: #2eac9d;
    border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
}

.modal-content-chat {
    border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
    border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
}

.model_innter {
    color: #686868;
    font-weight: 400;
}

.model_innter img {
    width: 65px;
}

/* about service content start*/
.about_service_content span {
    font-weight: 500;
}

/* about service content end*/
@media (max-width: 767.98px) {
    .chat-application .chat-app-window {
        /* height: calc(100% - 132px); */
    }

    /*.chat-application .sidebar-content {*/
    /*  -webkit-transform    : translateX(-110%);*/
    /*  -ms-transform        : translateX(-110%);*/
    /*  transform            : translateX(-110%);*/
    /*  -webkit-transition   : all 0.3s ease-in-out;*/
    /*  transition           : all 0.3s ease-in-out;*/
    /*  left                 : 0;*/
    /*  position             : relative;*/
    /*  z-index              : 5;*/
    /*  left                 : -2px;*/
    /*  bottom               : 0;*/
    /*  !* top               : 0; *!*/
    /*  top                  : 160px !important;*/
    /*  margin               : auto;*/
    /*  width                : 75%;*/

    /*}*/

    .chat-application .sidebar-content .chat-fixed-search,
    .chat-application .sidebar-content .chat-user-list {
        /* width: 260px; */
        width: 100%;
    }

    /*.chat-application .sidebar-content.show {*/
    /*  -webkit-transform : translateX(17%);*/
    /*  -ms-transform     : translateX(17%);*/
    /*  transform         : translateX(17%);*/
    /*  -webkit-transition: all 0.3s ease;*/
    /*  transition        : all 0.3s ease;*/
    /*  display           : block;*/
    /*}*/

    .chat-application .sidebar-content .sidebar-close-icon {
        visibility: visible;
    }

    .start-chat-area {
        display: none !important;
    }
}

@media (min-width: 300px) and (max-width: 575px) {
    .app-content {
        padding: 0 20px !important;
    }
    .chat-application .sidebar-content {
        /* width: 260px; */
        width: 100%;
        /* left : -4px !important; */
        /*top     : 417px !important;*/
    }
    .chat-application .chats .chat-body .chat-content {
        text-align: center;
        padding: 0.75rem 7px;
    }
    .chat-application .chats .chat-body {
        display: block;
        margin: 10px 11px 0 0;
        overflow: hidden;
    }
    .chat-application .chats .chat-left .chat-content {
        margin: 0 0 10px 19px;
    }
    .d_column_sm {
        flex-direction: column;
    }
    .chat-application .sidebar-content.show {
        -webkit-transform: translateX(0%);
        -ms-transform: translateX(0%);
        transform: translateX(0%);
    }

    .chat-application .sidebar-content .chat-fixed-search,
    .chat-application .sidebar-content .chat-user-list {
        /* width: 260px; */
        width: 100%;
    }

    .chat-application .chat-profile-sidebar {
        /* width: 260px; */
        width: 100%;
    }

    .chat-application .user-profile-sidebar {
        /* width: 260px; */
        width: 100%;
        right: 2.35rem;
    }

    /*.chat-application .sidebar-content {*/
    /*  top: 138px !important;*/
    /*}*/
}

@media (max-width: 991.98px) {
    .content-right {
        width: 100%;
    }

    .chat-application .sidebar-content {
        position: absolute;
        z-index: 5;
        left: 0;
        top: 0;
        right: 0;
        width: 100%;
    }

    .chat-application .sidebar-content.show {
        /* -webkit-transform : translateX(8.5%);
    -ms-transform     : translateX(8.5%);
    transform         : translateX(8.5%);
    -webkit-transition: all 0.3s ease;
    transition        : all 0.3s ease; */
        display: block;
    }
}

@media (max-width: 349.98px) {
    .chat-application .sidebar-content.show {
        -webkit-transform: translateX(0%);
        -ms-transform: translateX(0%);
        transform: translateX(0%);
        -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;
        display: block;
    }

    .chat-application .sidebar-content {
        width: 100%;
        left: -2px !important;
    }

    .chat-application .sidebar-content .chat-fixed-search,
    .chat-application .sidebar-content .chat-user-list {
        width: 100%;
    }

    .chat-application .chat-profile-sidebar {
        width: 230px;
    }

    .chat-application .user-profile-sidebar {
        width: 230px;
    }
}
