textarea{
  width: 500px;
  min-height: 50px;
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: #444;
  padding: 5px;
}
.noscroll{
  overflow: hidden;
  resize: none;
}
.hiddendiv{
  display: none;
  white-space: pre-wrap;
  width: 500px;
  min-height: 50px;
  font-family: Arial, sans-serif;
  font-size: 13px;
  padding: 5px;
  word-wrap: break-word;
}
.lbr {
  line-height: 3px;
}
.spcldiv {
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%), 0 1px 2px rgb(0 0 0 / 23%);background: #1a1a2f!important;position: absolute;top: 0;width: 100%;height: 60px;
}
.shiny-options-group {
    justify-content: space-around;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px;
    padding-bottom: 25px;
}
.radio-inline.checked {
        background: #242443;
    border-radius: 2%!important;
    display: block;
    padding: 0px;
}
.shiny-options-group .label31 {
    display: inline-block;
    width: auto;
    background-color: #fff;
    color: #161619;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    padding: 2px 2px;
    cursor: pointer;
    border: 1px solid #fff;
    border-radius: 2px;
    margin: 0 0px 0 0;
}
.shiny-options-group label {
        display: block!important;
}
.shiny-options-group input {
    display: none;
}
.radio-inline.checked span {
    color: #fff!important;
}
label input[type=radio]:checked~span {
    color: #fff;
}
.radio-inline+.radio-inline {
    margin-left: 0px;
}
.radio-inline span {
    color:#fff!important;
}
.forwardmsg {
    position: fixed;top: 3%;right: 4%;
}
.forwardchatmodal .tick {
background: #7352f9;width: 25px;height: 25px;border-radius: 50%;
}
.forwardchatmodal .radio-inline.checked {
    background:transparent;
}
.uploadimg {
         margin: auto;
    max-height: 350px;
    max-width: 350px
}
.sendbtn.active {
    background: #7352f9;
}
.sendbtn {
    width: 50px;
    height: 50px;
    margin-left: 3px;
}

/* Users List CSS Start */
.users{
  padding: 25px 30px;
}
.users header,
.users-list a{
  display: flex;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: none;
  justify-content: space-between;
}
.wrapper img{
  object-fit: cover;
  border-radius: 50%;
}
.users header img{
  height: 50px;
  width: 50px;
}
:is(.users, .users-list) .content{
  display: flex;
  align-items: center;
}
:is(.users, .users-list) .content .details{
  color: #fff;
  margin-left: 0;
}
:is(.users, .users-list) .details span{
  font-size: 16px;
  font-weight: 400;
  text-align:left;
}
:is(.users, .users-list) .details p{
    font-size: 13px;
}
.users header .logout{
  display: block;
  background: #333;
  color: #fff;
  outline: none;
  border: none;
  padding: 7px 15px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 17px;
}
.users .search{
  margin: 20px 0;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
}
.users .search .text{
  font-size: 18px;
}
.users .search input{
  position: absolute;
  height: 42px;
  width: calc(100% - 50px);
  font-size: 16px;
  padding: 0 13px;
  border: 1px solid #e6e6e6;
  outline: none;
  border-radius: 5px 0 0 5px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
}
.users .search input.show{
  opacity: 1;
  pointer-events: auto;
}
.users .search button{
  position: relative;
  z-index: 1;
  width: 47px;
  height: 42px;
  font-size: 17px;
  cursor: pointer;
  border: none;
  background: #fff;
  color: #333;
  outline: none;
  border-radius: 0 5px 5px 0;
  transition: all 0.2s ease;
}
.users .search button.active{
  background: #333;
  color: #fff;
}
.search button.active i::before{
  content: '\f00d';
}
.users-list{
  /*overflow-y: auto;*/
  padding-bottom: 20px;
}
:is(.users-list, .chat-box)::-webkit-scrollbar{
  width: 4px;
    height: 8px;
    background-color: #4b008224;
}
.users-list a{
  padding-bottom: 10px;
  margin-bottom: 15px;
  padding-right: 15px;
  border-bottom:none;
}
.users-list a:last-child{
  margin-bottom: 0px;
  border-bottom: none;
}
.users-list a img{
  height: 40px;
  width: 40px;
}
.users-list a .details p{
  color: #67676a;
}
.users-list a .status-dot{
  font-size: 10px;
  color: #468669;
  padding-left: 10px;
      padding-right: 10px;
}
.users-list a .status-dot.offline{
  color: #ccc;
}

/* Chat Area CSS Start */
.chat-area header{
  display: flex;
  align-items: center;
  padding: 18px 30px;
}
.chat-area header .back-icon{
  color: #fff;
  font-size: 18px;
}
.chat-area header img{
  height: 45px;
  width: 45px;
  margin: 0 15px 0 25px;
}
.chat-area header .details {
    color:#fff;
}
.chat-area header .details span{
  font-size: 16px;
}
/*header {*/
/*    padding: 15px 1%;*/
/*    display: -webkit-box;*/
/*    display: -ms-flexbox;*/
/*    display: flex;*/
/*    -webkit-box-align: center;*/
/*    -ms-flex-align: center;*/
/*    align-items: center;*/
/*    padding: 15px;*/
/*    position: fixed;*/
/*    left: 0;*/
/*    top: -1px;*/
/*    width: 57%;*/
/*    background-color: #4b0082;*/
/*    z-index: 3;*/
/*}*/
.chat-box{
        position: fixed;
    left: 21.5%;
    min-height: 83.5vh;
    max-height: 83.5vh;
    width: 57%;
    margin: 50px auto 0;
    overflow-y: auto;
    padding: 10px 0px 20px 0px;
    background: #ebe3f1;
    box-shadow: inset 0 32px 32px -32px rgb(0 0 0 / 5%), inset 0 -32px 32px -32px rgb(0 0 0 / 5%);
}
.chat-box .text{
  position: absolute;
  top: 45%;
  left: 50%;
  width: calc(100% - 50px);
  text-align: center;
  transform: translate(-50%, -50%);
}
.chat-box .chat{
  margin: 3px 0 0;
}
.chat-box .chat p{
  word-wrap: break-word;
  padding: 10px 15px;
  box-shadow: 0 0 32px rgb(0 0 0 / 8%),
              0rem 16px 16px -16px rgb(0 0 0 / 10%);
}
.chat-box .outgoing{
  display: flex;
}
.chat-box .outgoing .details{
  margin-left: auto;
  max-width: 100%;
}
.outgoing .details p{
  background: rgb(116 83 249 / 70%);
  color: #fff;
  border-radius: 18px 18px 0 18px;
}
.chat-box .incoming{
  display: flex;
  align-items: flex-end;
}
.chat-box .incoming img{
  height: 35px;
  width: 35px;
}
.chat-box .incoming .details{
  margin-right: auto;
  margin-left: 0;
  max-width: 100%;
}
.incoming .details p{
  background: #373052;
  color: #fff;;
  border-radius: 18px 18px 18px 0;
}
.typing-area{
display: flex;
    position: fixed;
    width: 57%;
    bottom: 0;
    left: 21.5%;
    padding: 5px;
    background: #fff;
}
.typing-area input,.typing-area textarea{
  height: 45px;
    width: 90%;
    font-size: 16px;
    padding: 8px 13px;
    border: 1px solid #262336;
    outline: none;
    border-radius: 18px;
    background: #262336;
    color: #fff;
}
.typing-area button{
  color: #fff;
  width: 55px;
  border: none;
  outline: none;
  background: #4b0082;
  font-size: 19px;
  cursor: pointer;
  opacity: 1;
  pointer-events: none;
  border-radius: 50px;
  transition: all 0.3s ease;
}
.typing-area button.active{
  opacity: 1;
  pointer-events: auto;
}

/* Responive media query */
@media screen and (max-width: 360px) {
    
}
@media screen and (max-width: 767px) {
    header {
        width:100%;
    }
    .chat-box {
    position: fixed;
    left: 0%;
    }
    .typing-area {
    display: flex;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0%;
    padding: 5px;
}
  .form, .users{
    padding: 20px;
  }
  .form header{
    text-align: left;
  }
  .form form .name-details{
    flex-direction: column;
  }
  .form .name-details .field:first-child{
    margin-right: 0px;
  }
  .form .name-details .field:last-child{
    margin-left: 0px;
  }

  .users header img{
    height: 45px;
    width: 45px;
  }
  .users header .logout{
    padding: 6px 10px;
    font-size: 16px;
  }
  :is(.users, .users-list) .content .details{
    margin-left: 15px;
  }

  .users-list a{
    padding-right: 0px;
  }

  .chat-area header{
    padding: 8px 20px;
    background: #1a1a2f;
  }
  .chat-box{
    padding: 10px 15px 45px 15px;
    margin-top: 50px;
    width: 100%;
  }
  .chat-box .chat p{
    font-size: 12px;
    line-height:18px;
  }
  .chat-box .outogoing .details{
    max-width: 230px;
  }
  .outgoing .details .viewimg {
      height: 160px;
    width: 30px;
  }
  .incoming .details .viewimg {
      height: 160px;
    width: 30px;
  }
  .chat-area form{
    padding: 10px;
  }
  .chat-area form input, .chat-area form textarea {
    height: 43px;
    width: calc(100% - 48px);
  }
  .chat-area form button{
    width: 45px;
    height: 45px;
  }
}

.floating-btn1 {
border: none !important;
    background-color: #7352f9 !important;
    padding: 10px;
    border-radius: 50%;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9;
    width: 50px;
    box-shadow: 0 0px 4px 4px rgba(0,0,0,0.20);
}
.chattitle {
    font-size: 45px;
    color: #7352f9;
    font-weight: 400;
    position: fixed;
    left: 21.5%;
    top: 0%;
    width: 57%;
    overflow-y: auto;
    padding: 10px 30px 20px 20px;
    background: #ebe3f1;
    box-shadow: none;
}
.chatbox {
          min-height: 65vh;
    max-height: 65vh;
    width: 100%;
    margin: 13px auto 0;
    overflow-y: auto;
    padding: 0;
    background: #ebe3f1;
    box-shadow: inset 0 32px 32px -32px rgb(0 0 0 / 5%), inset 0 -32px 32px -32px rgb(0 0 0 / 5%);
}
.chatbox .shiny-options-group {
    justify-content: space-around;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px;
}
.chatbox .shiny-options-group input {
    display: none;
}
.chatbox .shiny-options-group label {
border-bottom: 2px solid #ddd;
cursor:pointer;
}
.chatbox a img {
    height: 40px;
    width: 40px;
    object-fit: cover;
    border-radius: 50%;
}
.chatbox .content {
    display: flex;
    align-items: center;
}
.chatbox .content .details {
    margin-left: 15px;
}
.chatbox .details span {
    font-size: 16px;
    font-weight: 400;
    text-align: left;
}
.chatbox a .details p {
    color: #67676a;
    font-size: 13px;
}
.chatbox a .status-dot {
    font-size: 10px;
    color: #468669;
    padding-left: 10px;
    padding-right: 10px;
}
.chat-box h1{
    padding-left: 5px;
    padding-top: 5px;
}
.chat-box .usertitle {
    text-align: left;color: #fff;line-height: 37px;padding-left: 14px;font-size: 15px;margin: 0;font-weight: 600;position: absolute;background: #4b0082;width: 100%;left: 0;top: 0;height: 42px;z-index: 999;
}
.chat-box .usertitle i {
    color: #fff;
    font-size: 20px;
    margin-right: 10px;
    vertical-align: text-top;
        cursor: pointer;
}
.chatstay {
    position: relative;
    min-height: 60vh;
    max-height: 60vh;
    overflow-y: auto;
}
.chat-box {
    position: fixed;
    right: 6.5%;
    left: auto;
    bottom: 14%;
    z-index: 9;
    min-height: 71.5vh;
    max-height: 71.5vh;
    width: 37%;
    margin: 0;
    overflow-y: auto;
    padding: 10px 15px 20px 15px;
    border-radius: 10px;
    background: #ebe3f1;
    box-shadow: inset 0 32px 32px -32px rgb(0 0 0 / 5%), inset 0 -32px 32px -32px rgb(0 0 0 / 5%);
}
.chat-icon-float {
    position: fixed;
    bottom: 5%;
    right: 2.5%;
    background: #4b0082;
    width: 65px;
    height: 65px;
    border-radius: 50%;
}
.chat-icon-float i {
    vertical-align: middle;
    cursor: pointer;
    text-align: center;
    color: #fff;
    position: absolute;
    right: 18.5%;
    bottom: 19.7%;
    font-size: 40px;
}

.typing-area {
    display: flex;
    width: 94%;
    padding: 0;
    background: none;
    position: absolute;
    bottom: 13px;
    left: auto;
}
