#messages-button{

    height:  42.2px;
    line-height: 2.0em;
    cursor: pointer;
    color: #ff6f61;
    font-weight: bold;
    font-size: 1.0em;
    text-align: left;
      margin-left: 30px;
   }
   #store_name {
      color: #424242;
      font-family: HelveticaNeue-Medium;
      text-align: left;
      font-size: 0.9em;
   }
   #unread-text {
    /* display: none */
   }
   #chat-scroll li:hover {
    background-color: #eef5f6;

   }
   .message-form{
    display: -webkit-box;
      display: -ms-flexbox;
      display: flex;


      -webkit-box-pack: justify;
      -ms-flex-pack: justify;
      justify-content: space-between;
      -webkit-box-align: center;
      -ms-flex-align: center;
      align-items: center;
      -ms-flex-negative: 0;
      flex-shrink: 0;

      -webkit-box-sizing: border-box;
      box-sizing: border-box;
   }
   .message-input-border {
    -webkit-box-flex: 1;
      -ms-flex-positive: 1;
      flex-grow: 1;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      background: #fff;
      padding: 2px 6px 2px 22px;
      -webkit-box-align: center;
      -ms-flex-align: center;
      align-items: center;
      border: 1px solid #cdced2;
      border-radius: 20px;
      position: relative;
      margin-left: 11px;
   }
   .chat-disabled-message {
      margin-top: 200px;
      text-align: center;
      color: #767676;
   }
    #image-placeholder{
      display: none;
    }

    .has-file-selected{
       background-color: green;
    }

    .selected-store {
     background-color: #eff5f6;

    }

    #messages-header-text {
      display: none;
      color: #757575;
      font-family: HelveticaNeue-Medium;
      text-align: left;
      margin-left: 10px;
      line-height: 2em;
    }
    .hide-chat-button{
      display: none;
    }
    .hide-chat-button a:link {
      color: #efefef;
    }
     .hide-chat-button a:visited {
      color: #efefef;
    }
     .hide-chat-button a:active {
      color: #efefef;
    }
    #message_input{
      font-size:0.8em;
      border:  none;
      outline:none;
      color:  #212121!important;
      width: 96.99%;
      border: none;
      line-height: 18px;
      padding: 10px 3px 0 4px;
      margin-right: 4px;
      resize: none;
      -webkit-box-flex: 1;
      -ms-flex-positive: 1;
      flex-grow: 1;
    }
    #chat-body{
      display: none;
    }
    #chat-body-header{
     /* display: none;*/
    }
   .main-section{

      box-sizing: border-box;
      border-radius: 2px 2px 0 0;
     -webkit-box-shadow: 0 0 7px 0 #999;
      box-shadow: 0 0 7px 0 #999;
      position: fixed;
      bottom: 0;
      right: 50px;
      z-index: 1000000;
   }

  .main-section small{
  font-size: 12px!important;
  }
  .main-section h3, .main-section h5{
  margin: 0px;
  }
  .main-section{
  width: 215px;
  background-color: #ffffff;

  margin: auto;
  }
  .head-section{
  border-bottom:1px solid #E6E6E6;
  clear: both;
  overflow: hidden;
  width: 100%;
  }
  .headLeft-section{
  width: 225px;
  float: left;
  border-right:1px solid #E6E6E6;
  height: 42.2px;
  }
  .headLeft-sub{
  padding: 0px;
  text-align: center;
  }
  .headLeft-sub input{
  width: 60%;
  border-radius: 0px;
  border:1px solid #E6E6E6;
  padding: 7px;
  }
  .headLeft-sub button{
  background: #009EF7;
  color: #fff;
  border:1px solid #E6E6E6;
  padding: 7px 15px;
  }


.message ul li.msg-middle{
  float: left;
  }
  .message ul li.msg-middle img{
  position: absolute;
  width: 40px;
  bottom: 30px;
  }
  .message ul li.msg-middle .msg-desc{
  margin-left: 70px;
  font-size: 0.6em;
  background: #e8c244;
  padding:5px 10px;
  border-radius: 5px 5px 5px 0px;
  position: relative;
  overflow-wrap: break-word;
  }

.message ul li.msg-middle small{
float: right;
color: #525252;
}


.headRight-section{
    /*width: 70%;*/
    display:none;
    width: 0px;
    float: left;
    }

  .headRight-sub{
  padding: 10px 15px 0px 15px;
  }
  .body-section{
  clear: both;
  overflow: hidden;
  width: 100%;
  }
  .left-section{
  width: 225px;
  float: left;
  height: 460px;
  border-right:1px solid #E6E6E6;
  background-color: #FFF;
  z-index: 1;
  position: relative;
  }
  .left-section ul{
  padding: 0px;
  margin: 0px;
  list-style: none;
  }
  .left-section ul li{
  padding: 15px 0px;
  cursor: pointer;
  }
  .left-section ul li.active{
  background: #009EF7;
  color: #fff;
  position: relative;
  }
  .mCustomScrollBox, .mCSB_container{
  overflow: unset !important;
  }
  .left-section ul li.active .desc .time{
  color: #fff;
  }
  .left-section ul li.active:before{
  position: absolute;
  content: '';
  right: -10px;
  border:5px solid #009EF7;
  top: 0px;
  bottom: 0px;
  border-radius: 0px 3px 3px 0px;
  }
  .left-section ul li.active:after{
  position: absolute;
  content: "";
  bottom: 0px;
  right: 0px;
  left: auto;
  width: 100%;
  top: 0px;
  -webkit-box-shadow: -8px 4px 10px #a1a1a1;
  -moz-box-shadow: -8px 4px 10px #a1a1a1;
  box-shadow: -8px 4px 10px #a1a1a1;
  }
  .left-section .chatList{
  overflow: hidden;
  }
  .left-section .chatList .img{
  width: 60px;
  float: left;
  text-align: center;
  position: relative;
  }
  .left-section .chatList .img img{
  width: 30px;
  border-radius: 50%;
  }
  .left-section .chatList .img i{
  position: absolute;
  font-size: 10px!important;
  color: #52E2A7;
  border:1px solid #fff;
  border-radius: 50%;
  left: 10px;
  }
  .left-section .chatList .desc{
  width: calc(100% - 60px);
  float: left;
  position: relative;
  }
  .left-section .chatList .desc h5{

  margin-top: 6px;
  line-height: 5px;
  font-size: 0.7em;
  }
  .left-section .chatList .desc .time{
  position: absolute;
  right: 15px;
  color: #111;
  }
  .right-section{
  /*width: 70%;*/
  width: 0px;
  float: left;
  height: 460px;
  background-color: #F6F6F6;
  position: relative;
  }
  .message{
  height: calc(100% - 68px);
  font-family: sans-serif;
  }
  .message ul{
  padding: 0px;
  list-style: none;
  margin: 0px auto;
  width: 90%;
  overflow:hidden;
  }
  .message ul li{
  position: relative;
  width: 80%;
  padding: 15px 0px;
  clear: both;
  }
  .message ul li.msg-left{
  float: left;
  }
  .message ul li.msg-left img{
  position: absolute;
  width: 40px;
  bottom: 30px;
  }
  .message ul li.msg-left .msg-desc{
  margin-left: 70px;
  font-size: 0.6em;
  background: #E8E8E8;
  padding:5px 10px;
  border-radius: 5px 5px 5px 0px;
  position: relative;
  overflow-wrap: break-word;
  }
  .message ul li.msg-left .msg-desc:before{
  position: absolute;
  content: '';
  border:10px solid transparent;
  border-bottom-color: #E8E8E8;
  bottom: 0px;
  left: -10px;
  }
  .message ul li.msg-left small{
  float: right;
  color: #525252;
  }
  .message ul li.msg-right{
  float: right;
  }
  .message ul li.msg-right img{
  position: absolute;
  width: 40px;
  right: 0px;
  bottom: 30px;
  }
  .message ul li.msg-right .msg-desc{
  margin-right: 15px;
  font-size: 0.6em;
  background: #a3e79c;
  color: #303030;
  padding:5px 10px;
  border-radius: 5px 5px 5px 0px;
  position: relative;
  overflow-wrap: break-word;

  }
  .message ul li.msg-right .msg-desc:before{
  position: absolute;
  content: '';
  border:10px solid transparent;
  border-bottom-color: #a3e79c;
  bottom: 0px;
  right: -10px;
  }
  .message ul li.msg-right small{
  float: right;
  color: #525252;
  margin-right: 15px;
  }
  .message ul li.msg-day{
  border-top:1px solid #EBEBEB;
  width: 100%;
  padding: 0px;
  margin: 15px 0px;
  }
  .message ul li.msg-day small{
  position: absolute;
  top: -10px;
  background: #F6F6F6;
  color: #c1c1c1;
  padding: 3px 10px;
  left: 50%;
  transform: translateX(-50%);
  }
  .right-section-bottom{
  display: none;
  background:#fff;
  width: 100%;
  padding: 15px;
  position: absolute;
  bottom: 0px;
  border-top:1px solid #E6E6E6;
  text-align: center;
  z-index: 99999
  }
  .right-section-bottom input{
  border:0px;
  padding:8px 5px;
  width:calc(100% - 150px);
  }
  .right-section-bottom .btn-send{
  border:0px;
  padding: 8px 10px;
  float: right;
  margin-right: 30px;
  color: #009EF7;
  font-size: 18px;
  background: #fff;
  cursor: pointer;
  }
  .upload-btn{
  position: relative;
  overflow: hidden;
  display: inline-block;
  float: left;
  }
  .upload-btn .btn{
  border:0px;
  padding: 8px 10px;
  color: #009EF7;
  font-size: 18px;
  background: #fff;
  cursor: pointer;
  }
  .upload-btn input[type=file] {
  font-size: 100px;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  }

  .mobile-hide-chat-button{
    display: none;
  }

  @media  screen and (max-width: 810px) {
    .main-section {
      right: 0px!important;
    }
    .headRight-section{
     display: none;
     width: 100%!important;

    }
    .headRight-sub {
     display: none;

    }
    .right-section{
      display: none;
      width: 100%!important;

    }

    .main-section{
      width: 100%!important;
    }

    #hide-chat-button{
     /*display: none;*/
    }

    .headLeft-section{
      width: 100%;
    }

    .left-section {
      width: 100%;
    }

    .mobile-hide-chat-button {
      display: block;
      padding-right: 10px;
    }

  }
