.martor-preview * {
    margin: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}


/* HTML5 display-role reset for older browsers */

.msg-body{
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #F8F8F8	;
    height: 100%;
}

.msg-head{
    background-color: #F5F5F5;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1.5;
}

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;
}


/********************************
 Typography Style
******************************** */
.martor-preview h1 {
    font-size: 26px;
}

.martor-preview h2 {
    font-size: 20px;
}

.martor-preview h3 {
    font-size: 18px;
}

.martor-preview h4 {
    font-size: 16px;
}

.martor-preview h5 {
    font-size: 14px;
}

.martor-preview h6 {
    font-size: 12px;
}

.martor-preview p {
    font-size: 15px;
}

.martor-preview a {
    text-decoration: none;
    font-size: 15px;
}


/* *******************************
message-area
******************************** */

.message-area {
    height: 100%;
    overflow: hidden;
    padding: 30px 0;
}

.chat-area {
    position: relative;
    width: 100%;
    background-color: #fff;
    border-radius: 0.3rem;
    height: 93vh;
    overflow: hidden;
    min-height: calc(100% - 1rem);
    padding-top: 10px;
}

.chatlist {
    outline: 0;
    height: 100%;
    overflow: hidden;
    width: 100%;
    float: right;
    padding: 15px;
    padding-right: 4%;
    padding-left: 4%;
    background-color: #112C49;
    color: #FFFFFF;
}

.chatlist a{
    color:#FFFFFF;
}

.circle-img{
    border-radius: 50%;
}

.btn-chatGPT-green{
    background-color: #7CC305;
    color: #222;
    width: 100%;

    height: 30px;
    font-size: small;
    font-weight: bold;
}

.green-text-chat,
.active-chat
{
    color:#7CC305 !important;
}

.btn-chatGPT-green:hover{
    background-color: #67a005;
    color: #222;
    
}

.history-chat{
    max-height: 150px;
    overflow: auto;
}

.chat-area .modal-content {
    border: none;
    border-radius: 0;
    outline: 0;
    height: 100%;
}

.chat-area .modal-dialog-scrollable {
    height: 100% !important;
}

.chatbox {
    width: auto;
    overflow: auto;
    height: 93vh;
    border-left: 1px solid #ccc;
}

.scrollable-div-chat{
    background-color: #F8F8F8;
}

.chatbox .modal-dialog,
.chatlist .modal-dialog {
    max-width: 100%;
    margin: 0;
}

.msg-search {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-area .form-control {
    display: block;
    width: 80%;
    padding: 0.375rem 0.55rem;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #222;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ccc;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.55rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.chat-area .form-control:focus {
    outline: 0;
    box-shadow: inherit;
}

a.add img {
    height: 36px;
}

.chat-area .nav-tabs {
    border-bottom: 1px solid #dee2e6;
    align-items: center;
    justify-content: space-between;
    flex-wrap: inherit;
}

.chat-area .nav-tabs .nav-item {
    width: 100%;
}

.chat-area .nav-tabs .nav-link {
    width: 100%;
    color: #180660;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-transform: capitalize;
    margin-top: 5px;
    margin-bottom: -1px;
    background: 0 0;
    border: 1px solid transparent;
    border-top-left-radius: 0.55rem;
    border-top-right-radius: 0.55rem;
}

.chat-area .nav-tabs .nav-item.show .nav-link,
.chat-area .nav-tabs .nav-link.active {
    color: #222;
    background-color: #fff;
    border-color: transparent transparent #000;
}

.chat-area .nav-tabs .nav-link:focus,
.chat-area .nav-tabs .nav-link:hover {
    border-color: transparent transparent #000;
    isolation: isolate;
}

.chat-list h3 {
    color: #222;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    text-transform: capitalize;
    margin-bottom: 0;
}

.chat-list p {
    color: #343434;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-transform: capitalize;
    margin-bottom: 0;
}

.chat-list a.d-flex {
    margin-bottom: 15px;
    position: relative;
    text-decoration: none;
}

.chat-list .active {
    display: block;
    content: '';
    clear: both;
    position: absolute;
    bottom: 3px;
    right: 34px;
    height: 12px;
    width: 12px;
    background: #00DB75;
    border-radius: 0.55rem;
    border: 2px solid #fff;
}

.msg-head h3 {
    color: #222;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 0;
}

.msg-head p {
    color: #343434;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-transform: capitalize;
    margin-bottom: 0;
}

.msg-head {
    padding: 15px;
    border-bottom: 1px solid #ccc;
}

.moreoption {
    display: flex;
    align-items: center;
    justify-content: end;
}

.moreoption .navbar {
    padding: 0;
}

.moreoption li .nav-link {
    color: #222;
    font-size: 16px;
}

.moreoption .dropdown-toggle::after {
    display: none;
}

.moreoption .dropdown-menu[data-bs-popper] {
    top: 100%;
    left: auto;
    right: 0;
    margin-top: 0.125rem;
}

.msg-body ul {
    overflow: hidden;
    margin-right: -22px;
    margin-left: -10px;
}

.msg-body ul li {
    list-style: none;
    margin: 15px 0;
}

.msg-body ul li.sender {
    display: block;
    width: 100%;
    position: relative;
    left: 0;
    background-color: #7CC305;
    border-radius: 0.55rem;
    padding: 3px;
}

.msg-body ul li.sender p {
    color: #000;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
    padding: 15px;
    display: flex;
    border-bottom-left-radius: 0.55rem;
    border-top-right-radius: 0.55rem;
    border-bottom-right-radius: 0.55rem;
    margin-bottom: 0;
}

.msg-body ul li.sender p b {
    display: block;
    color: #180660;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

.msg-body ul li.repaly {
    display: block;
    width: 100%;
    position: relative;
    left: 0;
    background-color: #112C49;
    border-radius: 0.55rem;
    padding: 3px;
    color: #dee2e6;
}

.msg-body ul li.repaly p {
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
    padding: 15px;
    display: flex;
    align-items: center;
}

.msg-body ul li.repaly p b {
    display: block;
    color: #061061;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

.msg-body ul li.repaly:after {
    display: block;
    content: '';
    clear: both;
}

.time {
    display: block;
    color: #000;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 400;
}

.divider {
    position: relative;
    z-index: 1;
    text-align: center;
}

.msg-body h6 {
    text-align: center;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.5;
    color: #222;
    background: #fff;
    display: inline-block;
    padding: 0 5px;
    margin-bottom: 0;
}

.divider:after {
    display: block;
    content: '';
    clear: both;
    position: absolute;
    top: 12px;
    left: 0;
    border-top: 1px solid #EBEBEB;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.send-box {
    padding: 15px;
    border-top: 1px solid #ccc;
}

.send-box form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.send-box .form-control {
    display: block;
    width: 96%;
    padding: 0.375rem 0.55rem;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #222;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ccc;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.55rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    border-radius: 0px 0.55rem 0.55rem 0px;
}

.send-box button {
    border: none;
    background: #3867d6;
    padding: 0.375rem 5px;
    color: #fff;
    border-radius: 0.55rem;
    font-size: 14px;
    font-weight: 400;
    width: 3%;
    margin-left: 1%;
    border-radius: 0.55rem 0px 0px 0.55rem;
}

.send-box button i {
    margin-right: 5px;
}

.send-btns .button-wrapper {
    position: relative;
    width: 125px;
    height: auto;
    text-align: left;
    margin: 0 auto;
    display: block;
    background: #F6F7FA;
    border-radius: 3px;
    padding: 5px 15px;
    float: left;
    margin-right: 5px;
    margin-bottom: 5px;
    overflow: hidden;
}

.send-btns .button-wrapper span.label {
    position: relative;
    z-index: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    cursor: pointer;
    color: #343945;
    font-weight: 400;
    text-transform: capitalize;
    font-size: 13px;
}

#upload {
    display: inline-block;
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.send-btns .attach .form-control {
    display: inline-block;
    width: 120px;
    height: auto;
    padding: 5px 8px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: #343945;
    background-color: #F6F7FA;
    background-clip: padding-box;
    border: 1px solid #F6F7FA;
    border-radius: 3px;
    margin-bottom: 5px;
}

.send-btns .button-wrapper span.label img {
    margin-right: 5px;
}

.button-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    text-align: center;
    margin: 0 auto;
}

button:focus {
    outline: 0;
}

.add-apoint {
    display: inline-block;
    margin-left: 5px;
}

.add-apoint a {
    text-decoration: none;
    background: #F6F7FA;
    border-radius: 8px;
    padding: 8px 8px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.2;
    color: #343945;
}

.add-apoint a svg {
    margin-right: 5px;
}

.chat-icon {
    display: none;
}

.closess i {
    display: none;
}



@media (max-width: 767px) {
    .chat-icon {
        display: block;
        margin-right: 5px;
    }
   
    .showbox {
        left: 0 !important;
        transition: all 0.5s ease;
    }
    .msg-head h3 {
        font-size: 14px;
    }
    .msg-head p {
        font-size: 12px;
    }
    .msg-head .flex-shrink-0 img {
        height: 30px;
    }
    .send-box button {
        width: 28%;
    }
    .send-box .form-control {
        width: 70%;
    }
    .chat-list h3 {
        font-size: 14px;
    }
    .chat-list p {
        font-size: 12px;
    }
    .msg-body ul li.sender p {
        font-size: 13px;
        padding: 8px;
        border-bottom-left-radius: 6px;
        border-top-right-radius: 6px;
        border-bottom-right-radius: 6px;
    }
    .msg-body ul li.repaly p {
        font-size: 13px;
        padding: 8px;
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
        border-bottom-left-radius: 6px;
    }
}

.send-box button{
    background: #112C49;
    padding: 25px;
}

/* new  */
.ltr {
    direction: ltr !important;
    font-family: system-ui !important;
  }

  .rtl {
    direction: rtl !important;
    ;
  }

  .e-btn-1 {
    padding: 15px 15px;
    border: 1px solid #d9d9e3 !important;
    color: #BEB2B0;
    display: flex;
    border-radius: .5rem;
    font-weight: normal !important;
    transition: .3s ease-in-out;
  }

  .e-btn-2 {
    padding: 13px 15px;
    color: #BEB2B0;
    display: flex;
    border-radius: .5rem;
    font-weight: normal !important;
    transition: .3s ease-in-out;
  }

  .e-btn-2-active {
    background-color: #343541 !important;
  }

  .e-btn-1:hover,
  .e-btn-2:hover {
    color: white;
    transition: .3s ease-in-out;
  }

  .e_search_form {
    align-self: flex-end;
    display: flex;
    width: 100%;
  }

  .right_side {
    background-color: #202123;
    height: 100vh;
  }

  .left_side {
    background-color: #434654;
    display: inline-grid;
    padding-bottom: 20px;
  }

  .chats {
    overflow-y: auto;
    max-height: 90vh;
    /* display: flex; */
    /* flex-direction: column-reverse; */
  }

  @media (max-width:768px) {
    .right_side {
      height: auto !important;
    }

    .chats{
        max-height: 90vh;
        margin-bottom:20px
    }
  }

  #namanyay-search-btn {
    background: #0099ff;
    color: white;
    padding: 12px 20px;
    border-radius: .25rem 0px 0px .25rem;
    -moz-border-radius: .25rem 0px 0px .25rem;
    -webkit-border-radius: .25rem 0px 0px .25rem;
    -o-border-radius: .25rem 0px 0px .25rem;
    border: 0 none;
    font-weight: bold;
  }

  #namanyay-search-box {
    background: #eee;
    padding: 12px;
    border-radius: 0 .25rem .25rem 0;
    -moz-border-radius: 0 .25rem .25rem 0 ;
    -webkit-border-radius:0 .25rem .25rem 0;
    -o-border-radius: 0 .25rem .25rem 0;
    border: none !important;
    width: 160px;
  }

  #namanyay-search-box:focus {
    border: none !important;
    box-shadow: none !important;
  }

  input:focus,
  select:focus,
  textarea:focus,
  button:focus {
    outline: none;
  }

  .bx-send {
    transform: rotate(180deg)
  }

  @media (min-width: 992px) {
    .col-lg-10 {
      flex: 0 0 auto;
      width: 80.33333333% !important;
    }

    .col-lg-2 {
      flex: 0 0 auto;
      width: 19.66666667% !important;
    }
  }